diff --git a/java-accessapproval/README.md b/java-accessapproval/README.md index cfcfb129f8c3..e88c68677d15 100644 --- a/java-accessapproval/README.md +++ b/java-accessapproval/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-accessapproval - 2.97.0 + 2.98.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-accessapproval' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-accessapproval:2.97.0' +implementation 'com.google.cloud:google-cloud-accessapproval:2.98.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-accessapproval" % "2.97.0" +libraryDependencies += "com.google.cloud" % "google-cloud-accessapproval" % "2.98.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-accessapproval/latest/overview [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-accessapproval.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/2.97.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/2.98.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-accesscontextmanager/README.md b/java-accesscontextmanager/README.md index b3239eb139f4..abdc3ae08306 100644 --- a/java-accesscontextmanager/README.md +++ b/java-accesscontextmanager/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-identity-accesscontextmanager - 1.97.0 + 1.98.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-identity-accesscontextmanager' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-identity-accesscontextmanager:1.97.0' +implementation 'com.google.cloud:google-identity-accesscontextmanager:1.98.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-identity-accesscontextmanager" % "1.97.0" +libraryDependencies += "com.google.cloud" % "google-identity-accesscontextmanager" % "1.98.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-identity-accesscontextmanager/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-identity-accesscontextmanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/1.97.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/1.98.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-admanager/README.md b/java-admanager/README.md index 6ede143bbee9..1cd7596d189d 100644 --- a/java-admanager/README.md +++ b/java-admanager/README.md @@ -21,20 +21,20 @@ If you are using Maven, add this to your pom.xml file: com.google.api-ads ad-manager - 0.55.0 + 0.56.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.api-ads:ad-manager:0.55.0' +implementation 'com.google.api-ads:ad-manager:0.56.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.api-ads" % "ad-manager" % "0.55.0" +libraryDependencies += "com.google.api-ads" % "ad-manager" % "0.56.0" ``` ## Authentication @@ -155,7 +155,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/ad-manager/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.api-ads/ad-manager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.api-ads/ad-manager/0.55.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.api-ads/ad-manager/0.56.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-advisorynotifications/README.md b/java-advisorynotifications/README.md index 76573961ed41..778752a8d694 100644 --- a/java-advisorynotifications/README.md +++ b/java-advisorynotifications/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-advisorynotifications - 0.85.0 + 0.86.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-advisorynotifications' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-advisorynotifications:0.85.0' +implementation 'com.google.cloud:google-cloud-advisorynotifications:0.86.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-advisorynotifications" % "0.85.0" +libraryDependencies += "com.google.cloud" % "google-cloud-advisorynotifications" % "0.86.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-advisorynotifications/latest/overview [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-advisorynotifications.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-advisorynotifications/0.85.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-advisorynotifications/0.86.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-agentidentity/README.md b/java-agentidentity/README.md index d818303111e4..230e2d9c8e26 100644 --- a/java-agentidentity/README.md +++ b/java-agentidentity/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-agentidentity - 0.2.0 + 0.3.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-agentidentity' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-agentidentity:0.2.0' +implementation 'com.google.cloud:google-cloud-agentidentity:0.3.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-agentidentity" % "0.2.0" +libraryDependencies += "com.google.cloud" % "google-cloud-agentidentity" % "0.3.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-agentidentity/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-agentidentity.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-agentidentity/0.2.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-agentidentity/0.3.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-agentregistry/README.md b/java-agentregistry/README.md index 7a37012deee6..5c2b614eef1b 100644 --- a/java-agentregistry/README.md +++ b/java-agentregistry/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-agentregistry - 0.3.0 + 0.4.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-agentregistry' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-agentregistry:0.3.0' +implementation 'com.google.cloud:google-cloud-agentregistry:0.4.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-agentregistry" % "0.3.0" +libraryDependencies += "com.google.cloud" % "google-cloud-agentregistry" % "0.4.0" ``` ## Authentication @@ -188,7 +188,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-agentregistry/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-agentregistry.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-agentregistry/0.3.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-agentregistry/0.4.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/README.md b/java-aiplatform/README.md index fb5920a73775..e840b9b6ce3c 100644 --- a/java-aiplatform/README.md +++ b/java-aiplatform/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-aiplatform - 3.97.0 + 3.98.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-aiplatform' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-aiplatform:3.97.0' +implementation 'com.google.cloud:google-cloud-aiplatform:3.98.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "3.97.0" +libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "3.98.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-aiplatform/latest/overview [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.97.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-aiplatform/3.98.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-alloydb-connectors/README.md b/java-alloydb-connectors/README.md index f86f14192ec0..141310b9c6cf 100644 --- a/java-alloydb-connectors/README.md +++ b/java-alloydb-connectors/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-alloydb-connectors - 0.74.0 + 0.75.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-alloydb-connectors' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-alloydb-connectors:0.74.0' +implementation 'com.google.cloud:google-cloud-alloydb-connectors:0.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-alloydb-connectors" % "0.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-alloydb-connectors" % "0.75.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-alloydb-connectors/latest/overview [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-alloydb-connectors.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb-connectors/0.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb-connectors/0.75.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-alloydb/README.md b/java-alloydb/README.md index 77edd774555a..d721c2f93957 100644 --- a/java-alloydb/README.md +++ b/java-alloydb/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-alloydb - 0.85.0 + 0.86.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-alloydb' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-alloydb:0.85.0' +implementation 'com.google.cloud:google-cloud-alloydb:0.86.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-alloydb" % "0.85.0" +libraryDependencies += "com.google.cloud" % "google-cloud-alloydb" % "0.86.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-alloydb/latest/overview [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-alloydb.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb/0.85.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb/0.86.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-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Cluster.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Cluster.java index 581e6d1de4b7..49c57200c75c 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Cluster.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Cluster.java @@ -6635,7 +6635,7 @@ public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig getNetworkConfig() * * * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=686 + * google/cloud/alloydb/v1alpha/resources.proto;l=689 * @return The network. */ @java.lang.Override @@ -6668,7 +6668,7 @@ public java.lang.String getNetwork() { * * * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=686 + * google/cloud/alloydb/v1alpha/resources.proto;l=689 * @return The bytes for network. */ @java.lang.Override @@ -7024,7 +7024,7 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy getAutomatedBackup * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=721 + * google/cloud/alloydb/v1alpha/resources.proto;l=724 * @return Whether the sslConfig field is set. */ @java.lang.Override @@ -7043,7 +7043,7 @@ public boolean hasSslConfig() { * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=721 + * google/cloud/alloydb/v1alpha/resources.proto;l=724 * @return The sslConfig. */ @java.lang.Override @@ -7677,7 +7677,7 @@ public com.google.cloud.alloydb.v1alpha.MaintenanceSchedule getMaintenanceSchedu * * * @deprecated google.cloud.alloydb.v1alpha.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=771 + * google/cloud/alloydb/v1alpha/resources.proto;l=774 * @return Whether the geminiConfig field is set. */ @java.lang.Override @@ -7699,7 +7699,7 @@ public boolean hasGeminiConfig() { * * * @deprecated google.cloud.alloydb.v1alpha.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=771 + * google/cloud/alloydb/v1alpha/resources.proto;l=774 * @return The geminiConfig. */ @java.lang.Override @@ -12066,7 +12066,7 @@ public Builder clearNetworkConfig() { * * * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=686 + * google/cloud/alloydb/v1alpha/resources.proto;l=689 * @return The network. */ @java.lang.Deprecated @@ -12098,7 +12098,7 @@ public java.lang.String getNetwork() { * * * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=686 + * google/cloud/alloydb/v1alpha/resources.proto;l=689 * @return The bytes for network. */ @java.lang.Deprecated @@ -12130,7 +12130,7 @@ public com.google.protobuf.ByteString getNetworkBytes() { * * * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=686 + * google/cloud/alloydb/v1alpha/resources.proto;l=689 * @param value The network to set. * @return This builder for chaining. */ @@ -12161,7 +12161,7 @@ public Builder setNetwork(java.lang.String value) { * * * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=686 + * google/cloud/alloydb/v1alpha/resources.proto;l=689 * @return This builder for chaining. */ @java.lang.Deprecated @@ -12188,7 +12188,7 @@ public Builder clearNetwork() { * * * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=686 + * google/cloud/alloydb/v1alpha/resources.proto;l=689 * @param value The bytes for network to set. * @return This builder for chaining. */ @@ -13074,7 +13074,7 @@ public Builder clearAutomatedBackupPolicy() { * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=721 + * google/cloud/alloydb/v1alpha/resources.proto;l=724 * @return Whether the sslConfig field is set. */ @java.lang.Deprecated @@ -13092,7 +13092,7 @@ public boolean hasSslConfig() { * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=721 + * google/cloud/alloydb/v1alpha/resources.proto;l=724 * @return The sslConfig. */ @java.lang.Deprecated @@ -15391,7 +15391,7 @@ public Builder clearMaintenanceSchedule() { * * * @deprecated google.cloud.alloydb.v1alpha.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=771 + * google/cloud/alloydb/v1alpha/resources.proto;l=774 * @return Whether the geminiConfig field is set. */ @java.lang.Deprecated @@ -15412,7 +15412,7 @@ public boolean hasGeminiConfig() { * * * @deprecated google.cloud.alloydb.v1alpha.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=771 + * google/cloud/alloydb/v1alpha/resources.proto;l=774 * @return The geminiConfig. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterOrBuilder.java index df8dafffa1e4..6f13ce23c768 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterOrBuilder.java @@ -572,7 +572,7 @@ java.lang.String getLabelsOrDefault( * * * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=686 + * google/cloud/alloydb/v1alpha/resources.proto;l=689 * @return The network. */ @java.lang.Deprecated @@ -594,7 +594,7 @@ java.lang.String getLabelsOrDefault( * * * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=686 + * google/cloud/alloydb/v1alpha/resources.proto;l=689 * @return The bytes for network. */ @java.lang.Deprecated @@ -828,7 +828,7 @@ java.lang.String getAnnotationsOrDefault( * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=721 + * google/cloud/alloydb/v1alpha/resources.proto;l=724 * @return Whether the sslConfig field is set. */ @java.lang.Deprecated @@ -844,7 +844,7 @@ java.lang.String getAnnotationsOrDefault( * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=721 + * google/cloud/alloydb/v1alpha/resources.proto;l=724 * @return The sslConfig. */ @java.lang.Deprecated @@ -1305,7 +1305,7 @@ java.lang.String getAnnotationsOrDefault( * * * @deprecated google.cloud.alloydb.v1alpha.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=771 + * google/cloud/alloydb/v1alpha/resources.proto;l=774 * @return Whether the geminiConfig field is set. */ @java.lang.Deprecated @@ -1324,7 +1324,7 @@ java.lang.String getAnnotationsOrDefault( * * * @deprecated google.cloud.alloydb.v1alpha.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=771 + * google/cloud/alloydb/v1alpha/resources.proto;l=774 * @return The geminiConfig. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfo.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfo.java index 147eb9a3967b..a97d6cfc8a37 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfo.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfo.java @@ -271,7 +271,7 @@ public com.google.protobuf.ByteString getPublicIpAddressBytes() { * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1453 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1456 * @return A list containing the pemCertificateChain. */ @java.lang.Deprecated @@ -292,7 +292,7 @@ public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1453 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1456 * @return The count of pemCertificateChain. */ @java.lang.Deprecated @@ -313,7 +313,7 @@ public int getPemCertificateChainCount() { * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1453 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1456 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -335,7 +335,7 @@ public java.lang.String getPemCertificateChain(int index) { * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1453 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1456 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ @@ -1370,7 +1370,7 @@ private void ensurePemCertificateChainIsMutable() { * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1453 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1456 * @return A list containing the pemCertificateChain. */ @java.lang.Deprecated @@ -1392,7 +1392,7 @@ public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1453 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1456 * @return The count of pemCertificateChain. */ @java.lang.Deprecated @@ -1413,7 +1413,7 @@ public int getPemCertificateChainCount() { * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1453 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1456 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -1435,7 +1435,7 @@ public java.lang.String getPemCertificateChain(int index) { * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1453 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1456 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ @@ -1457,7 +1457,7 @@ public com.google.protobuf.ByteString getPemCertificateChainBytes(int index) { * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1453 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1456 * @param index The index to set the value at. * @param value The pemCertificateChain to set. * @return This builder for chaining. @@ -1487,7 +1487,7 @@ public Builder setPemCertificateChain(int index, java.lang.String value) { * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1453 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1456 * @param value The pemCertificateChain to add. * @return This builder for chaining. */ @@ -1516,7 +1516,7 @@ public Builder addPemCertificateChain(java.lang.String value) { * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1453 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1456 * @param values The pemCertificateChain to add. * @return This builder for chaining. */ @@ -1542,7 +1542,7 @@ public Builder addAllPemCertificateChain(java.lang.Iterable va * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1453 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1456 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1567,7 +1567,7 @@ public Builder clearPemCertificateChain() { * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1453 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1456 * @param value The bytes of the pemCertificateChain to add. * @return This builder for chaining. */ diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfoOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfoOrBuilder.java index f3186ea526aa..982ba6faa34f 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfoOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfoOrBuilder.java @@ -133,7 +133,7 @@ public interface ConnectionInfoOrBuilder * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1453 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1456 * @return A list containing the pemCertificateChain. */ @java.lang.Deprecated @@ -152,7 +152,7 @@ public interface ConnectionInfoOrBuilder * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1453 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1456 * @return The count of pemCertificateChain. */ @java.lang.Deprecated @@ -171,7 +171,7 @@ public interface ConnectionInfoOrBuilder * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1453 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1456 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -191,7 +191,7 @@ public interface ConnectionInfoOrBuilder * * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=1453 + * See google/cloud/alloydb/v1alpha/resources.proto;l=1456 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Database.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Database.java index bf4815517448..7e04903bcc1a 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Database.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Database.java @@ -327,7 +327,7 @@ public com.google.protobuf.ByteString getCharacterTypeBytes() { * bool is_template = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.alloydb.v1alpha.Database.is_template is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=1850 + * google/cloud/alloydb/v1alpha/resources.proto;l=1853 * @return The isTemplate. */ @java.lang.Override @@ -1410,7 +1410,7 @@ public Builder setCharacterTypeBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.cloud.alloydb.v1alpha.Database.is_template is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=1850 + * google/cloud/alloydb/v1alpha/resources.proto;l=1853 * @return The isTemplate. */ @java.lang.Override @@ -1431,7 +1431,7 @@ public boolean getIsTemplate() { * * * @deprecated google.cloud.alloydb.v1alpha.Database.is_template is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=1850 + * google/cloud/alloydb/v1alpha/resources.proto;l=1853 * @param value The isTemplate to set. * @return This builder for chaining. */ @@ -1456,7 +1456,7 @@ public Builder setIsTemplate(boolean value) { * * * @deprecated google.cloud.alloydb.v1alpha.Database.is_template is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=1850 + * google/cloud/alloydb/v1alpha/resources.proto;l=1853 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseOrBuilder.java index 33405bc3bff3..a0373e183f7d 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseOrBuilder.java @@ -167,7 +167,7 @@ public interface DatabaseOrBuilder * bool is_template = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.alloydb.v1alpha.Database.is_template is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=1850 + * google/cloud/alloydb/v1alpha/resources.proto;l=1853 * @return The isTemplate. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseVersion.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseVersion.java index fe91978c6909..a38dffa312c3 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseVersion.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseVersion.java @@ -102,6 +102,16 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { * POSTGRES_18 = 6; */ POSTGRES_18(6), + /** + * + * + *
+   * The database version is Postgres 19.
+   * 
+ * + * POSTGRES_19 = 7; + */ + POSTGRES_19(7), UNRECOGNIZED(-1), ; @@ -192,6 +202,17 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POSTGRES_18_VALUE = 6; + /** + * + * + *
+   * The database version is Postgres 19.
+   * 
+ * + * POSTGRES_19 = 7; + */ + public static final int POSTGRES_19_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -230,6 +251,8 @@ public static DatabaseVersion forNumber(int value) { return POSTGRES_17; case 6: return POSTGRES_18; + case 7: + return POSTGRES_19; default: return null; } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Instance.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Instance.java index a06045ba4436..4d27c2620fd5 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Instance.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Instance.java @@ -20873,7 +20873,7 @@ public com.google.cloud.alloydb.v1alpha.Instance.InstanceNetworkConfig getNetwor * * * @deprecated google.cloud.alloydb.v1alpha.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=1396 + * google/cloud/alloydb/v1alpha/resources.proto;l=1399 * @return Whether the geminiConfig field is set. */ @java.lang.Override @@ -20895,7 +20895,7 @@ public boolean hasGeminiConfig() { * * * @deprecated google.cloud.alloydb.v1alpha.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=1396 + * google/cloud/alloydb/v1alpha/resources.proto;l=1399 * @return The geminiConfig. */ @java.lang.Override @@ -27950,7 +27950,7 @@ public Builder clearNetworkConfig() { * * * @deprecated google.cloud.alloydb.v1alpha.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=1396 + * google/cloud/alloydb/v1alpha/resources.proto;l=1399 * @return Whether the geminiConfig field is set. */ @java.lang.Deprecated @@ -27971,7 +27971,7 @@ public boolean hasGeminiConfig() { * * * @deprecated google.cloud.alloydb.v1alpha.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=1396 + * google/cloud/alloydb/v1alpha/resources.proto;l=1399 * @return The geminiConfig. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceOrBuilder.java index 684b6efbe0d1..ed79dbc22b00 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceOrBuilder.java @@ -1304,7 +1304,7 @@ java.lang.String getAnnotationsOrDefault( * * * @deprecated google.cloud.alloydb.v1alpha.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=1396 + * google/cloud/alloydb/v1alpha/resources.proto;l=1399 * @return Whether the geminiConfig field is set. */ @java.lang.Deprecated @@ -1323,7 +1323,7 @@ java.lang.String getAnnotationsOrDefault( * * * @deprecated google.cloud.alloydb.v1alpha.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=1396 + * google/cloud/alloydb/v1alpha/resources.proto;l=1399 * @return The geminiConfig. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java index b35bd26ac62a..b153392295d4 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java @@ -855,7 +855,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013ClusterView\022\034\n" + "\030CLUSTER_VIEW_UNSPECIFIED\020\000\022\026\n" + "\022CLUSTER_VIEW_BASIC\020\001\022\"\n" - + "\036CLUSTER_VIEW_CONTINUOUS_BACKUP\020\002*\235\001\n" + + "\036CLUSTER_VIEW_CONTINUOUS_BACKUP\020\002*\256\001\n" + "\017DatabaseVersion\022 \n" + "\034DATABASE_VERSION_UNSPECIFIED\020\000\022\023\n" + "\013POSTGRES_13\020\001\032\002\010\001\022\017\n" @@ -863,25 +863,25 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013POSTGRES_15\020\003\022\017\n" + "\013POSTGRES_16\020\004\022\017\n" + "\013POSTGRES_17\020\005\022\017\n" - + "\013POSTGRES_18\020\006*N\n" + + "\013POSTGRES_18\020\006\022\017\n" + + "\013POSTGRES_19\020\007*N\n" + "\020SubscriptionType\022!\n" + "\035SUBSCRIPTION_TYPE_UNSPECIFIED\020\000\022\014\n" + "\010STANDARD\020\001\022\t\n" + "\005TRIAL\020\002B\300\005\n" - + " com.google.cloud.alloydb.v1alphaB\016ResourcesPro" - + "toP\001Z:cloud.google.com/go/alloydb/apiv1a" - + "lpha/alloydbpb;alloydbpb\252\002\034Google.Cloud." - + "AlloyDb.V1Alpha\312\002\034Google\\Cloud\\AlloyDb\\V" - + "1alpha\352\002\037Google::Cloud::AlloyDB::V1alpha\352A\246\001\n" - + "(cloudkms.googleapis.com/CryptoKeyVersion\022zprojects/{project}/locations/{lo" - + "cation}/keyRings/{key_ring}/cryptoKeys/{" - + "crypto_key}/cryptoKeyVersions/{crypto_key_version}\352AN\n" - + "\036compute.googleapis.com/Ne" - + "twork\022,projects/{project}/global/networks/{network}\352Ax\n" - + "!cloudkms.googleapis.com/CryptoKey\022Sprojects/{project}/locations/" - + "{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\352Aw\n" - + "(compute.googleapis.com/ServiceAttachment\022Kprojects/{project}/" - + "regions/{region}/serviceAttachments/{service_attachment}b\006proto3" + + " com.google.cloud.alloydb.v1alphaB\016ResourcesProtoP\001Z:cloud.google.com/" + + "go/alloydb/apiv1alpha/alloydbpb;alloydbp" + + "b\252\002\034Google.Cloud.AlloyDb.V1Alpha\312\002\034Googl" + + "e\\Cloud\\AlloyDb\\V1alpha\352\002\037Google::Cloud::AlloyDB::V1alpha\352A\246\001\n" + + "(cloudkms.googleapis.com/CryptoKeyVersion\022zprojects/{proje" + + "ct}/locations/{location}/keyRings/{key_r" + + "ing}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}\352AN\n" + + "\036compute." + + "googleapis.com/Network\022,projects/{project}/global/networks/{network}\352Ax\n" + + "!cloudkms.googleapis.com/CryptoKey\022Sprojects/{pr" + + "oject}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\352Aw\n" + + "(compute.googleapis.com/ServiceAttachment\022Kpr" + + "ojects/{project}/regions/{region}/serviceAttachments/{service_attachment}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/resources.proto b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/resources.proto index 19d20e43b097..e315ef47b6d2 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/resources.proto +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/resources.proto @@ -107,6 +107,9 @@ enum DatabaseVersion { // The database version is Postgres 18. POSTGRES_18 = 6; + + // The database version is Postgres 19. + POSTGRES_19 = 7; } // Subscription_type added to distinguish between Standard and Trial diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Cluster.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Cluster.java index 6062575c0e8a..18714ddc7a8e 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Cluster.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Cluster.java @@ -6635,7 +6635,7 @@ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig getNetworkConfig() * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=686 + * google/cloud/alloydb/v1beta/resources.proto;l=689 * @return The network. */ @java.lang.Override @@ -6668,7 +6668,7 @@ public java.lang.String getNetwork() { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=686 + * google/cloud/alloydb/v1beta/resources.proto;l=689 * @return The bytes for network. */ @java.lang.Override @@ -7024,7 +7024,7 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy getAutomatedBackupP * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=721 + * google/cloud/alloydb/v1beta/resources.proto;l=724 * @return Whether the sslConfig field is set. */ @java.lang.Override @@ -7043,7 +7043,7 @@ public boolean hasSslConfig() { * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=721 + * google/cloud/alloydb/v1beta/resources.proto;l=724 * @return The sslConfig. */ @java.lang.Override @@ -7658,7 +7658,7 @@ public com.google.cloud.alloydb.v1beta.MaintenanceSchedule getMaintenanceSchedul * * * @deprecated google.cloud.alloydb.v1beta.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=768 + * google/cloud/alloydb/v1beta/resources.proto;l=771 * @return Whether the geminiConfig field is set. */ @java.lang.Override @@ -7680,7 +7680,7 @@ public boolean hasGeminiConfig() { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=768 + * google/cloud/alloydb/v1beta/resources.proto;l=771 * @return The geminiConfig. */ @java.lang.Override @@ -12021,7 +12021,7 @@ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder getNetworkC * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=686 + * google/cloud/alloydb/v1beta/resources.proto;l=689 * @return The network. */ @java.lang.Deprecated @@ -12053,7 +12053,7 @@ public java.lang.String getNetwork() { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=686 + * google/cloud/alloydb/v1beta/resources.proto;l=689 * @return The bytes for network. */ @java.lang.Deprecated @@ -12085,7 +12085,7 @@ public com.google.protobuf.ByteString getNetworkBytes() { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=686 + * google/cloud/alloydb/v1beta/resources.proto;l=689 * @param value The network to set. * @return This builder for chaining. */ @@ -12116,7 +12116,7 @@ public Builder setNetwork(java.lang.String value) { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=686 + * google/cloud/alloydb/v1beta/resources.proto;l=689 * @return This builder for chaining. */ @java.lang.Deprecated @@ -12143,7 +12143,7 @@ public Builder clearNetwork() { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=686 + * google/cloud/alloydb/v1beta/resources.proto;l=689 * @param value The bytes for network to set. * @return This builder for chaining. */ @@ -13020,7 +13020,7 @@ public Builder clearAutomatedBackupPolicy() { * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=721 + * google/cloud/alloydb/v1beta/resources.proto;l=724 * @return Whether the sslConfig field is set. */ @java.lang.Deprecated @@ -13038,7 +13038,7 @@ public boolean hasSslConfig() { * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=721 + * google/cloud/alloydb/v1beta/resources.proto;l=724 * @return The sslConfig. */ @java.lang.Deprecated @@ -15278,7 +15278,7 @@ public Builder clearMaintenanceSchedule() { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=768 + * google/cloud/alloydb/v1beta/resources.proto;l=771 * @return Whether the geminiConfig field is set. */ @java.lang.Deprecated @@ -15299,7 +15299,7 @@ public boolean hasGeminiConfig() { * * * @deprecated google.cloud.alloydb.v1beta.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=768 + * google/cloud/alloydb/v1beta/resources.proto;l=771 * @return The geminiConfig. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterOrBuilder.java index a179906507bd..a5375faf6a98 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterOrBuilder.java @@ -572,7 +572,7 @@ java.lang.String getLabelsOrDefault( * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=686 + * google/cloud/alloydb/v1beta/resources.proto;l=689 * @return The network. */ @java.lang.Deprecated @@ -594,7 +594,7 @@ java.lang.String getLabelsOrDefault( * * * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=686 + * google/cloud/alloydb/v1beta/resources.proto;l=689 * @return The bytes for network. */ @java.lang.Deprecated @@ -828,7 +828,7 @@ java.lang.String getAnnotationsOrDefault( * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=721 + * google/cloud/alloydb/v1beta/resources.proto;l=724 * @return Whether the sslConfig field is set. */ @java.lang.Deprecated @@ -844,7 +844,7 @@ java.lang.String getAnnotationsOrDefault( * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; * * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=721 + * google/cloud/alloydb/v1beta/resources.proto;l=724 * @return The sslConfig. */ @java.lang.Deprecated @@ -1292,7 +1292,7 @@ java.lang.String getAnnotationsOrDefault( * * * @deprecated google.cloud.alloydb.v1beta.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=768 + * google/cloud/alloydb/v1beta/resources.proto;l=771 * @return Whether the geminiConfig field is set. */ @java.lang.Deprecated @@ -1311,7 +1311,7 @@ java.lang.String getAnnotationsOrDefault( * * * @deprecated google.cloud.alloydb.v1beta.Cluster.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=768 + * google/cloud/alloydb/v1beta/resources.proto;l=771 * @return The geminiConfig. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfo.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfo.java index e4a9755a7447..3444631b4d67 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfo.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfo.java @@ -271,7 +271,7 @@ public com.google.protobuf.ByteString getPublicIpAddressBytes() { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1447 + * google/cloud/alloydb/v1beta/resources.proto;l=1450 * @return A list containing the pemCertificateChain. */ @java.lang.Deprecated @@ -292,7 +292,7 @@ public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1447 + * google/cloud/alloydb/v1beta/resources.proto;l=1450 * @return The count of pemCertificateChain. */ @java.lang.Deprecated @@ -313,7 +313,7 @@ public int getPemCertificateChainCount() { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1447 + * google/cloud/alloydb/v1beta/resources.proto;l=1450 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -335,7 +335,7 @@ public java.lang.String getPemCertificateChain(int index) { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1447 + * google/cloud/alloydb/v1beta/resources.proto;l=1450 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ @@ -1369,7 +1369,7 @@ private void ensurePemCertificateChainIsMutable() { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1447 + * See google/cloud/alloydb/v1beta/resources.proto;l=1450 * @return A list containing the pemCertificateChain. */ @java.lang.Deprecated @@ -1391,7 +1391,7 @@ public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1447 + * See google/cloud/alloydb/v1beta/resources.proto;l=1450 * @return The count of pemCertificateChain. */ @java.lang.Deprecated @@ -1412,7 +1412,7 @@ public int getPemCertificateChainCount() { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1447 + * See google/cloud/alloydb/v1beta/resources.proto;l=1450 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -1434,7 +1434,7 @@ public java.lang.String getPemCertificateChain(int index) { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1447 + * See google/cloud/alloydb/v1beta/resources.proto;l=1450 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ @@ -1456,7 +1456,7 @@ public com.google.protobuf.ByteString getPemCertificateChainBytes(int index) { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1447 + * See google/cloud/alloydb/v1beta/resources.proto;l=1450 * @param index The index to set the value at. * @param value The pemCertificateChain to set. * @return This builder for chaining. @@ -1486,7 +1486,7 @@ public Builder setPemCertificateChain(int index, java.lang.String value) { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1447 + * See google/cloud/alloydb/v1beta/resources.proto;l=1450 * @param value The pemCertificateChain to add. * @return This builder for chaining. */ @@ -1515,7 +1515,7 @@ public Builder addPemCertificateChain(java.lang.String value) { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1447 + * See google/cloud/alloydb/v1beta/resources.proto;l=1450 * @param values The pemCertificateChain to add. * @return This builder for chaining. */ @@ -1541,7 +1541,7 @@ public Builder addAllPemCertificateChain(java.lang.Iterable va * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1447 + * See google/cloud/alloydb/v1beta/resources.proto;l=1450 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1566,7 +1566,7 @@ public Builder clearPemCertificateChain() { * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=1447 + * See google/cloud/alloydb/v1beta/resources.proto;l=1450 * @param value The bytes of the pemCertificateChain to add. * @return This builder for chaining. */ diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfoOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfoOrBuilder.java index b3b0546704fa..d8137949889c 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfoOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfoOrBuilder.java @@ -133,7 +133,7 @@ public interface ConnectionInfoOrBuilder * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1447 + * google/cloud/alloydb/v1beta/resources.proto;l=1450 * @return A list containing the pemCertificateChain. */ @java.lang.Deprecated @@ -152,7 +152,7 @@ public interface ConnectionInfoOrBuilder * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1447 + * google/cloud/alloydb/v1beta/resources.proto;l=1450 * @return The count of pemCertificateChain. */ @java.lang.Deprecated @@ -171,7 +171,7 @@ public interface ConnectionInfoOrBuilder * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1447 + * google/cloud/alloydb/v1beta/resources.proto;l=1450 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -191,7 +191,7 @@ public interface ConnectionInfoOrBuilder * * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1447 + * google/cloud/alloydb/v1beta/resources.proto;l=1450 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Database.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Database.java index 6a3b79985f44..c70d3134f8ed 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Database.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Database.java @@ -327,7 +327,7 @@ public com.google.protobuf.ByteString getCharacterTypeBytes() { * bool is_template = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.alloydb.v1beta.Database.is_template is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1841 + * google/cloud/alloydb/v1beta/resources.proto;l=1844 * @return The isTemplate. */ @java.lang.Override @@ -1409,7 +1409,7 @@ public Builder setCharacterTypeBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.cloud.alloydb.v1beta.Database.is_template is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1841 + * google/cloud/alloydb/v1beta/resources.proto;l=1844 * @return The isTemplate. */ @java.lang.Override @@ -1430,7 +1430,7 @@ public boolean getIsTemplate() { * * * @deprecated google.cloud.alloydb.v1beta.Database.is_template is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1841 + * google/cloud/alloydb/v1beta/resources.proto;l=1844 * @param value The isTemplate to set. * @return This builder for chaining. */ @@ -1455,7 +1455,7 @@ public Builder setIsTemplate(boolean value) { * * * @deprecated google.cloud.alloydb.v1beta.Database.is_template is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1841 + * google/cloud/alloydb/v1beta/resources.proto;l=1844 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseOrBuilder.java index a8e704e8c202..e6e062a0c89b 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseOrBuilder.java @@ -167,7 +167,7 @@ public interface DatabaseOrBuilder * bool is_template = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.alloydb.v1beta.Database.is_template is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1841 + * google/cloud/alloydb/v1beta/resources.proto;l=1844 * @return The isTemplate. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseVersion.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseVersion.java index 3c9f2506fa03..01eea23c45af 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseVersion.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseVersion.java @@ -102,6 +102,16 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { * POSTGRES_18 = 6; */ POSTGRES_18(6), + /** + * + * + *
+   * The database version is Postgres 19.
+   * 
+ * + * POSTGRES_19 = 7; + */ + POSTGRES_19(7), UNRECOGNIZED(-1), ; @@ -192,6 +202,17 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POSTGRES_18_VALUE = 6; + /** + * + * + *
+   * The database version is Postgres 19.
+   * 
+ * + * POSTGRES_19 = 7; + */ + public static final int POSTGRES_19_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -230,6 +251,8 @@ public static DatabaseVersion forNumber(int value) { return POSTGRES_17; case 6: return POSTGRES_18; + case 7: + return POSTGRES_19; default: return null; } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Instance.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Instance.java index 58cbb5e48678..f818f1cb6200 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Instance.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Instance.java @@ -20820,7 +20820,7 @@ public com.google.cloud.alloydb.v1beta.Instance.InstanceNetworkConfig getNetwork * * * @deprecated google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1390 + * google/cloud/alloydb/v1beta/resources.proto;l=1393 * @return Whether the geminiConfig field is set. */ @java.lang.Override @@ -20842,7 +20842,7 @@ public boolean hasGeminiConfig() { * * * @deprecated google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1390 + * google/cloud/alloydb/v1beta/resources.proto;l=1393 * @return The geminiConfig. */ @java.lang.Override @@ -27816,7 +27816,7 @@ public Builder clearNetworkConfig() { * * * @deprecated google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1390 + * google/cloud/alloydb/v1beta/resources.proto;l=1393 * @return Whether the geminiConfig field is set. */ @java.lang.Deprecated @@ -27837,7 +27837,7 @@ public boolean hasGeminiConfig() { * * * @deprecated google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1390 + * google/cloud/alloydb/v1beta/resources.proto;l=1393 * @return The geminiConfig. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceOrBuilder.java index fafdceaf22a4..2180c542d45f 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceOrBuilder.java @@ -1291,7 +1291,7 @@ java.lang.String getAnnotationsOrDefault( * * * @deprecated google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1390 + * google/cloud/alloydb/v1beta/resources.proto;l=1393 * @return Whether the geminiConfig field is set. */ @java.lang.Deprecated @@ -1310,7 +1310,7 @@ java.lang.String getAnnotationsOrDefault( * * * @deprecated google.cloud.alloydb.v1beta.Instance.gemini_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=1390 + * google/cloud/alloydb/v1beta/resources.proto;l=1393 * @return The geminiConfig. */ @java.lang.Deprecated diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java index 85ff547cd0dc..0e99b0e985ba 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java @@ -852,7 +852,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013ClusterView\022\034\n" + "\030CLUSTER_VIEW_UNSPECIFIED\020\000\022\026\n" + "\022CLUSTER_VIEW_BASIC\020\001\022\"\n" - + "\036CLUSTER_VIEW_CONTINUOUS_BACKUP\020\002*\235\001\n" + + "\036CLUSTER_VIEW_CONTINUOUS_BACKUP\020\002*\256\001\n" + "\017DatabaseVersion\022 \n" + "\034DATABASE_VERSION_UNSPECIFIED\020\000\022\023\n" + "\013POSTGRES_13\020\001\032\002\010\001\022\017\n" @@ -860,24 +860,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013POSTGRES_15\020\003\022\017\n" + "\013POSTGRES_16\020\004\022\017\n" + "\013POSTGRES_17\020\005\022\017\n" - + "\013POSTGRES_18\020\006*N\n" + + "\013POSTGRES_18\020\006\022\017\n" + + "\013POSTGRES_19\020\007*N\n" + "\020SubscriptionType\022!\n" + "\035SUBSCRIPTION_TYPE_UNSPECIFIED\020\000\022\014\n" + "\010STANDARD\020\001\022\t\n" + "\005TRIAL\020\002B\273\005\n" - + "\037com.google.cloud.alloydb.v1betaB\016ResourcesProtoP\001Z9cloud." - + "google.com/go/alloydb/apiv1beta/alloydbp" - + "b;alloydbpb\252\002\033Google.Cloud.AlloyDb.V1Bet" - + "a\312\002\033Google\\Cloud\\AlloyDb\\V1beta\352\002\036Google::Cloud::AlloyDB::V1beta\352A\246\001\n" - + "(cloudkms.googleapis.com/CryptoKeyVersion\022zprojects" - + "/{project}/locations/{location}/keyRings" - + "/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}\352AN\n" - + "\036c" - + "ompute.googleapis.com/Network\022,projects/{project}/global/networks/{network}\352Ax\n" - + "!cloudkms.googleapis.com/CryptoKey\022Sprojects/{project}/locations/{location}/keyRi" - + "ngs/{key_ring}/cryptoKeys/{crypto_key}\352Aw\n" - + "(compute.googleapis.com/ServiceAttachment\022Kprojects/{project}/regions/{region}" - + "/serviceAttachments/{service_attachment}b\006proto3" + + "\037com.google.cloud.alloydb.v1betaB\016Resourc" + + "esProtoP\001Z9cloud.google.com/go/alloydb/a" + + "piv1beta/alloydbpb;alloydbpb\252\002\033Google.Cl" + + "oud.AlloyDb.V1Beta\312\002\033Google\\Cloud\\AlloyD" + + "b\\V1beta\352\002\036Google::Cloud::AlloyDB::V1beta\352A\246\001\n" + + "(cloudkms.googleapis.com/CryptoKeyVersion\022zprojects/{project}/locations/{l" + + "ocation}/keyRings/{key_ring}/cryptoKeys/" + + "{crypto_key}/cryptoKeyVersions/{crypto_key_version}\352AN\n" + + "\036compute.googleapis.com/N" + + "etwork\022,projects/{project}/global/networks/{network}\352Ax\n" + + "!cloudkms.googleapis.com/CryptoKey\022Sprojects/{project}/locations" + + "/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\352Aw\n" + + "(compute.googleapis.com/ServiceAttachment\022Kprojects/{project}" + + "/regions/{region}/serviceAttachments/{service_attachment}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/resources.proto b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/resources.proto index 31cbb902f9ab..d9e11384472d 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/resources.proto +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/resources.proto @@ -107,6 +107,9 @@ enum DatabaseVersion { // The database version is Postgres 18. POSTGRES_18 = 6; + + // The database version is Postgres 19. + POSTGRES_19 = 7; } // Subscription_type added to distinguish between Standard and Trial diff --git a/java-analytics-admin/README.md b/java-analytics-admin/README.md index bdc4b15d8247..5f1a17eb9973 100644 --- a/java-analytics-admin/README.md +++ b/java-analytics-admin/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.analytics google-analytics-admin - 0.106.0 + 0.107.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.analytics:google-analytics-admin' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.analytics:google-analytics-admin:0.106.0' +implementation 'com.google.analytics:google-analytics-admin:0.107.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.106.0" +libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.107.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-analytics-admin/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.analytics/google-analytics-admin.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-admin/0.106.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-admin/0.107.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-analytics-data/README.md b/java-analytics-data/README.md index db18e779dab2..cf3b8777652a 100644 --- a/java-analytics-data/README.md +++ b/java-analytics-data/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.analytics google-analytics-data - 0.107.0 + 0.108.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.analytics:google-analytics-data' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.analytics:google-analytics-data:0.107.0' +implementation 'com.google.analytics:google-analytics-data:0.108.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.analytics" % "google-analytics-data" % "0.107.0" +libraryDependencies += "com.google.analytics" % "google-analytics-data" % "0.108.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-analytics-data/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.analytics/google-analytics-data.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-data/0.107.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-data/0.108.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-analyticshub/README.md b/java-analyticshub/README.md index a4c49913fa15..cb8d3e0daa9b 100644 --- a/java-analyticshub/README.md +++ b/java-analyticshub/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-analyticshub - 0.93.0 + 0.94.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-analyticshub' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-analyticshub:0.93.0' +implementation 'com.google.cloud:google-cloud-analyticshub:0.94.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-analyticshub" % "0.93.0" +libraryDependencies += "com.google.cloud" % "google-cloud-analyticshub" % "0.94.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-analyticshub/latest/overview [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-analyticshub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-analyticshub/0.93.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-analyticshub/0.94.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-api-gateway/README.md b/java-api-gateway/README.md index 03f159ef9026..b809ae04ec7c 100644 --- a/java-api-gateway/README.md +++ b/java-api-gateway/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-api-gateway - 2.96.0 + 2.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-api-gateway' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-api-gateway:2.96.0' +implementation 'com.google.cloud:google-cloud-api-gateway:2.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-api-gateway" % "2.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-api-gateway" % "2.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-api-gateway/latest/overview [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-api-gateway.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-api-gateway/2.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-api-gateway/2.97.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-apigee-connect/README.md b/java-apigee-connect/README.md index b87c729883c3..a01b369da05e 100644 --- a/java-apigee-connect/README.md +++ b/java-apigee-connect/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-apigee-connect - 2.96.0 + 2.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-apigee-connect' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-apigee-connect:2.96.0' +implementation 'com.google.cloud:google-cloud-apigee-connect:2.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-apigee-connect" % "2.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-apigee-connect" % "2.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-apigee-connect/latest/overview [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-apigee-connect.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apigee-connect/2.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apigee-connect/2.97.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-apihub/README.md b/java-apihub/README.md index 236737886f66..386d169222c1 100644 --- a/java-apihub/README.md +++ b/java-apihub/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-apihub - 0.49.0 + 0.50.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-apihub' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-apihub:0.49.0' +implementation 'com.google.cloud:google-cloud-apihub:0.50.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-apihub" % "0.49.0" +libraryDependencies += "com.google.cloud" % "google-cloud-apihub" % "0.50.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-apihub/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-apihub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apihub/0.49.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apihub/0.50.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-apikeys/README.md b/java-apikeys/README.md index b4711f285bf9..ab2f99d04fe5 100644 --- a/java-apikeys/README.md +++ b/java-apikeys/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-apikeys - 0.94.0 + 0.95.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-apikeys' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-apikeys:0.94.0' +implementation 'com.google.cloud:google-cloud-apikeys:0.95.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-apikeys" % "0.94.0" +libraryDependencies += "com.google.cloud" % "google-cloud-apikeys" % "0.95.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-apikeys/latest/overview [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-apikeys.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apikeys/0.94.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apikeys/0.95.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-appengine-admin/README.md b/java-appengine-admin/README.md index 8437300e764f..8d02fcf9fdd1 100644 --- a/java-appengine-admin/README.md +++ b/java-appengine-admin/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-appengine-admin - 2.96.0 + 2.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-appengine-admin' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-appengine-admin:2.96.0' +implementation 'com.google.cloud:google-cloud-appengine-admin:2.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-appengine-admin" % "2.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-appengine-admin" % "2.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-appengine-admin/latest/overview [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-appengine-admin.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-appengine-admin/2.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-appengine-admin/2.97.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-apphub/README.md b/java-apphub/README.md index 8dc0608b5d07..b68ac05c5b34 100644 --- a/java-apphub/README.md +++ b/java-apphub/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-apphub - 0.60.0 + 0.61.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-apphub' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-apphub:0.60.0' +implementation 'com.google.cloud:google-cloud-apphub:0.61.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-apphub" % "0.60.0" +libraryDependencies += "com.google.cloud" % "google-cloud-apphub" % "0.61.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-apphub/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-apphub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apphub/0.60.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apphub/0.61.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-appoptimize/README.md b/java-appoptimize/README.md index 7a4aec1b5321..8a83fecb7dad 100644 --- a/java-appoptimize/README.md +++ b/java-appoptimize/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-appoptimize - 0.6.0 + 0.7.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-appoptimize' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-appoptimize:0.6.0' +implementation 'com.google.cloud:google-cloud-appoptimize:0.7.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-appoptimize" % "0.6.0" +libraryDependencies += "com.google.cloud" % "google-cloud-appoptimize" % "0.7.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-appoptimize/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-appoptimize.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-appoptimize/0.6.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-appoptimize/0.7.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-apptopology/README.md b/java-apptopology/README.md index 54e4acc9cb7c..6aa80f1ac6d2 100644 --- a/java-apptopology/README.md +++ b/java-apptopology/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-apptopology - 0.0.0 + 0.1.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-apptopology' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-apptopology:0.0.0' +implementation 'com.google.cloud:google-cloud-apptopology:0.1.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-apptopology" % "0.0.0" +libraryDependencies += "com.google.cloud" % "google-cloud-apptopology" % "0.1.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-apptopology/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-apptopology.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apptopology/0.0.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apptopology/0.1.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-area120-tables/README.md b/java-area120-tables/README.md index b3936be9487a..678698d45efd 100644 --- a/java-area120-tables/README.md +++ b/java-area120-tables/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.area120 google-area120-tables - 0.100.0 + 0.101.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.area120:google-area120-tables' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.area120:google-area120-tables:0.100.0' +implementation 'com.google.area120:google-area120-tables:0.101.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.area120" % "google-area120-tables" % "0.100.0" +libraryDependencies += "com.google.area120" % "google-area120-tables" % "0.101.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-area120-tables/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.area120/google-area120-tables.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.area120/google-area120-tables/0.100.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.area120/google-area120-tables/0.101.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-artifact-registry/README.md b/java-artifact-registry/README.md index 33d22188d0ab..647a454deda4 100644 --- a/java-artifact-registry/README.md +++ b/java-artifact-registry/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-artifact-registry - 1.95.0 + 1.96.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-artifact-registry' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-artifact-registry:1.95.0' +implementation 'com.google.cloud:google-cloud-artifact-registry:1.96.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-artifact-registry" % "1.95.0" +libraryDependencies += "com.google.cloud" % "google-cloud-artifact-registry" % "1.96.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-artifact-registry/latest/overview [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-artifact-registry.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-artifact-registry/1.95.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-artifact-registry/1.96.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-asset/README.md b/java-asset/README.md index 81891813d671..562c9926e192 100644 --- a/java-asset/README.md +++ b/java-asset/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-asset - 3.100.0 + 3.101.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-asset' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-asset:3.100.0' +implementation 'com.google.cloud:google-cloud-asset:3.101.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-asset" % "3.100.0" +libraryDependencies += "com.google.cloud" % "google-cloud-asset" % "3.101.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-asset/latest/overview [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-asset.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-asset/3.100.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-asset/3.101.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-assured-workloads/README.md b/java-assured-workloads/README.md index d99e5594bf05..7de86e84df18 100644 --- a/java-assured-workloads/README.md +++ b/java-assured-workloads/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-assured-workloads - 2.96.0 + 2.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-assured-workloads' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-assured-workloads:2.96.0' +implementation 'com.google.cloud:google-cloud-assured-workloads:2.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-assured-workloads" % "2.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-assured-workloads" % "2.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-assured-workloads/latest/overview [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-assured-workloads.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-assured-workloads/2.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-assured-workloads/2.97.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-auditmanager/README.md b/java-auditmanager/README.md index 6282db7b116f..0e1c00fdba93 100644 --- a/java-auditmanager/README.md +++ b/java-auditmanager/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-auditmanager - 0.14.0 + 0.15.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-auditmanager' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-auditmanager:0.14.0' +implementation 'com.google.cloud:google-cloud-auditmanager:0.15.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-auditmanager" % "0.14.0" +libraryDependencies += "com.google.cloud" % "google-cloud-auditmanager" % "0.15.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-auditmanager/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-auditmanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-auditmanager/0.14.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-auditmanager/0.15.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-automl/README.md b/java-automl/README.md index 8264176b2ae4..99ba705c86af 100644 --- a/java-automl/README.md +++ b/java-automl/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-automl - 2.96.0 + 2.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-automl' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-automl:2.96.0' +implementation 'com.google.cloud:google-cloud-automl:2.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-automl" % "2.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-automl" % "2.97.0" ``` ## Authentication @@ -192,7 +192,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-automl/latest/overview [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-automl.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-automl/2.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-automl/2.97.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-backstory/README.md b/java-backstory/README.md index 3f8070437f55..ae8cdc4d0c1c 100644 --- a/java-backstory/README.md +++ b/java-backstory/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-backstory - 0.4.0 + 0.5.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-backstory' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-backstory:0.4.0' +implementation 'com.google.cloud:google-cloud-backstory:0.5.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-backstory" % "0.4.0" +libraryDependencies += "com.google.cloud" % "google-cloud-backstory" % "0.5.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-backstory/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-backstory.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-backstory/0.4.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-backstory/0.5.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-backupdr/README.md b/java-backupdr/README.md index 9aac6bd67f2b..6f7f4c52ab3a 100644 --- a/java-backupdr/README.md +++ b/java-backupdr/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-backupdr - 0.55.0 + 0.56.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-backupdr' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-backupdr:0.55.0' +implementation 'com.google.cloud:google-cloud-backupdr:0.56.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-backupdr" % "0.55.0" +libraryDependencies += "com.google.cloud" % "google-cloud-backupdr" % "0.56.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-backupdr/latest/overview [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-backupdr.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-backupdr/0.55.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-backupdr/0.56.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-bare-metal-solution/README.md b/java-bare-metal-solution/README.md index da0eb84032cb..86f5666d1f83 100644 --- a/java-bare-metal-solution/README.md +++ b/java-bare-metal-solution/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bare-metal-solution - 0.96.0 + 0.97.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-bare-metal-solution' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bare-metal-solution:0.96.0' +implementation 'com.google.cloud:google-cloud-bare-metal-solution:0.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bare-metal-solution" % "0.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bare-metal-solution" % "0.97.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-bare-metal-solution/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bare-metal-solution.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bare-metal-solution/0.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bare-metal-solution/0.97.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-batch/README.md b/java-batch/README.md index ef3c265c533a..913267eace25 100644 --- a/java-batch/README.md +++ b/java-batch/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-batch - 0.96.0 + 0.97.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-batch' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-batch:0.96.0' +implementation 'com.google.cloud:google-cloud-batch:0.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-batch" % "0.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-batch" % "0.97.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-batch/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-batch.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-batch/0.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-batch/0.97.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-beyondcorp-appconnections/README.md b/java-beyondcorp-appconnections/README.md index b4a6b846f6f4..0e7855d0aa31 100644 --- a/java-beyondcorp-appconnections/README.md +++ b/java-beyondcorp-appconnections/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-beyondcorp-appconnections - 0.94.0 + 0.95.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-beyondcorp-appconnections' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-beyondcorp-appconnections:0.94.0' +implementation 'com.google.cloud:google-cloud-beyondcorp-appconnections:0.95.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appconnections" % "0.94.0" +libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appconnections" % "0.95.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-beyondcorp-appconnections/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-beyondcorp-appconnections.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnections/0.94.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnections/0.95.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-beyondcorp-appconnectors/README.md b/java-beyondcorp-appconnectors/README.md index 8c4ad54b9ed3..2210f5f20838 100644 --- a/java-beyondcorp-appconnectors/README.md +++ b/java-beyondcorp-appconnectors/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-beyondcorp-appconnectors - 0.94.0 + 0.95.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-beyondcorp-appconnectors' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-beyondcorp-appconnectors:0.94.0' +implementation 'com.google.cloud:google-cloud-beyondcorp-appconnectors:0.95.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appconnectors" % "0.94.0" +libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appconnectors" % "0.95.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-beyondcorp-appconnectors/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-beyondcorp-appconnectors.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnectors/0.94.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnectors/0.95.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-beyondcorp-appgateways/README.md b/java-beyondcorp-appgateways/README.md index dc0bebe27281..b0f712e78b49 100644 --- a/java-beyondcorp-appgateways/README.md +++ b/java-beyondcorp-appgateways/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-beyondcorp-appgateways - 0.94.0 + 0.95.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-beyondcorp-appgateways' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-beyondcorp-appgateways:0.94.0' +implementation 'com.google.cloud:google-cloud-beyondcorp-appgateways:0.95.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appgateways" % "0.94.0" +libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appgateways" % "0.95.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-beyondcorp-appgateways/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-beyondcorp-appgateways.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appgateways/0.94.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appgateways/0.95.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-beyondcorp-clientconnectorservices/README.md b/java-beyondcorp-clientconnectorservices/README.md index 5bb6b127ecb9..3e85f0604489 100644 --- a/java-beyondcorp-clientconnectorservices/README.md +++ b/java-beyondcorp-clientconnectorservices/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-beyondcorp-clientconnectorservices - 0.94.0 + 0.95.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-beyondcorp-clientconnectorservices If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-beyondcorp-clientconnectorservices:0.94.0' +implementation 'com.google.cloud:google-cloud-beyondcorp-clientconnectorservices:0.95.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-clientconnectorservices" % "0.94.0" +libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-clientconnectorservices" % "0.95.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-beyondcorp-clientconnectorservices/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-beyondcorp-clientconnectorservices.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-clientconnectorservices/0.94.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-clientconnectorservices/0.95.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-beyondcorp-clientgateways/README.md b/java-beyondcorp-clientgateways/README.md index d9babfc57383..7ff662140c14 100644 --- a/java-beyondcorp-clientgateways/README.md +++ b/java-beyondcorp-clientgateways/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-beyondcorp-clientgateways - 0.94.0 + 0.95.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-beyondcorp-clientgateways' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-beyondcorp-clientgateways:0.94.0' +implementation 'com.google.cloud:google-cloud-beyondcorp-clientgateways:0.95.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-clientgateways" % "0.94.0" +libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-clientgateways" % "0.95.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-beyondcorp-clientgateways/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-beyondcorp-clientgateways.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-clientgateways/0.94.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-clientgateways/0.95.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-biglake-hive/README.md b/java-biglake-hive/README.md index 10bc7bed1fc2..b846aee077a1 100644 --- a/java-biglake-hive/README.md +++ b/java-biglake-hive/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-biglake-hive - 0.1.0 + 0.2.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-biglake-hive' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-biglake-hive:0.1.0' +implementation 'com.google.cloud:google-cloud-biglake-hive:0.2.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-biglake-hive" % "0.1.0" +libraryDependencies += "com.google.cloud" % "google-cloud-biglake-hive" % "0.2.0" ``` ## Authentication @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-biglake-hive/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-biglake-hive.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-biglake-hive/0.1.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-biglake-hive/0.2.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-biglake/README.md b/java-biglake/README.md index 99dbdefe5763..7bf6dcd447c2 100644 --- a/java-biglake/README.md +++ b/java-biglake/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-biglake - 0.84.0 + 0.85.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-biglake' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-biglake:0.84.0' +implementation 'com.google.cloud:google-cloud-biglake:0.85.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-biglake" % "0.84.0" +libraryDependencies += "com.google.cloud" % "google-cloud-biglake" % "0.85.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-biglake/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-biglake.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-biglake/0.84.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-biglake/0.85.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-bigquery-data-exchange/README.md b/java-bigquery-data-exchange/README.md index bdcfafcd71f6..c41f1c06cdeb 100644 --- a/java-bigquery-data-exchange/README.md +++ b/java-bigquery-data-exchange/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigquery-data-exchange - 2.91.0 + 2.92.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-bigquery-data-exchange' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigquery-data-exchange:2.91.0' +implementation 'com.google.cloud:google-cloud-bigquery-data-exchange:2.92.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquery-data-exchange" % "2.91.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquery-data-exchange" % "2.92.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-bigquery-data-exchange/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigquery-data-exchange.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquery-data-exchange/2.91.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquery-data-exchange/2.92.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-bigqueryconnection/README.md b/java-bigqueryconnection/README.md index fefd934ff27c..6dba3f399695 100644 --- a/java-bigqueryconnection/README.md +++ b/java-bigqueryconnection/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigqueryconnection - 2.98.0 + 2.99.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-bigqueryconnection' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigqueryconnection:2.98.0' +implementation 'com.google.cloud:google-cloud-bigqueryconnection:2.99.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "2.98.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "2.99.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1beta1 [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-bigqueryconnection.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigqueryconnection/2.98.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigqueryconnection/2.99.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-bigquerydatapolicy/README.md b/java-bigquerydatapolicy/README.md index df134d318a18..ccca35885b1d 100644 --- a/java-bigquerydatapolicy/README.md +++ b/java-bigquerydatapolicy/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigquerydatapolicy - 0.93.0 + 0.94.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-bigquerydatapolicy' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigquerydatapolicy:0.93.0' +implementation 'com.google.cloud:google-cloud-bigquerydatapolicy:0.94.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatapolicy" % "0.93.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatapolicy" % "0.94.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-bigquerydatapolicy/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigquerydatapolicy.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerydatapolicy/0.93.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerydatapolicy/0.94.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-bigquerydatatransfer/README.md b/java-bigquerydatatransfer/README.md index fe6aea50063a..f579950f8ecb 100644 --- a/java-bigquerydatatransfer/README.md +++ b/java-bigquerydatatransfer/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigquerydatatransfer - 2.96.0 + 2.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-bigquerydatatransfer' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigquerydatatransfer:2.96.0' +implementation 'com.google.cloud:google-cloud-bigquerydatatransfer:2.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "2.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "2.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-bigquerydatatransfer/latest/overview [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-bigquerydatatransfer.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerydatatransfer/2.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerydatatransfer/2.97.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-bigquerymigration/README.md b/java-bigquerymigration/README.md index 9aee63700716..633e227818db 100644 --- a/java-bigquerymigration/README.md +++ b/java-bigquerymigration/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigquerymigration - 0.99.0 + 0.100.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-bigquerymigration' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigquerymigration:0.99.0' +implementation 'com.google.cloud:google-cloud-bigquerymigration:0.100.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerymigration" % "0.99.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerymigration" % "0.100.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-bigquerymigration/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigquerymigration.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerymigration/0.99.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerymigration/0.100.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-bigqueryreservation/README.md b/java-bigqueryreservation/README.md index 29c94b4b27d1..2da6a5b533f8 100644 --- a/java-bigqueryreservation/README.md +++ b/java-bigqueryreservation/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigqueryreservation - 2.97.0 + 2.98.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-bigqueryreservation' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigqueryreservation:2.97.0' +implementation 'com.google.cloud:google-cloud-bigqueryreservation:2.98.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryreservation" % "2.97.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryreservation" % "2.98.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-bigqueryreservation/latest/overview [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-bigqueryreservation.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigqueryreservation/2.97.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigqueryreservation/2.98.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-bigquerystorage/README.md b/java-bigquerystorage/README.md index a2410d03bed3..5847ebe8ca07 100644 --- a/java-bigquerystorage/README.md +++ b/java-bigquerystorage/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigquerystorage - 3.32.0 + 3.33.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-bigquerystorage' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigquerystorage:3.32.0' +implementation 'com.google.cloud:google-cloud-bigquerystorage:3.33.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerystorage" % "3.32.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerystorage" % "3.33.0" ``` ## Authentication @@ -233,7 +233,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-bigquerystorage/latest/history [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-bigquerystorage.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerystorage/3.32.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerystorage/3.33.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-bigtable/README.md b/java-bigtable/README.md index a3041be6a46a..9acc5ca70743 100644 --- a/java-bigtable/README.md +++ b/java-bigtable/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigtable - 2.82.0 + 2.83.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-bigtable' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigtable:2.82.0' +implementation 'com.google.cloud:google-cloud-bigtable:2.83.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "2.82.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "2.83.0" ``` ## Authentication @@ -450,7 +450,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-bigtable/latest/history [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-bigtable.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigtable/2.82.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigtable/2.83.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-billing/README.md b/java-billing/README.md index 9a692dc3b03a..ac97f6db07fe 100644 --- a/java-billing/README.md +++ b/java-billing/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-billing - 2.96.0 + 2.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-billing' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-billing:2.96.0' +implementation 'com.google.cloud:google-cloud-billing:2.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-billing" % "2.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-billing" % "2.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-billing/latest/overview [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-billing.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billing/2.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billing/2.97.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-billingbudgets/README.md b/java-billingbudgets/README.md index bb3f89df8f89..934b35c5aebf 100644 --- a/java-billingbudgets/README.md +++ b/java-billingbudgets/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-billingbudgets - 2.96.0 + 2.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-billingbudgets' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-billingbudgets:2.96.0' +implementation 'com.google.cloud:google-cloud-billingbudgets:2.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-billingbudgets" % "2.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-billingbudgets" % "2.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-billingbudgets/latest/overview [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-billingbudgets.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billingbudgets/2.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billingbudgets/2.97.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-binary-authorization/README.md b/java-binary-authorization/README.md index 8fbf66f1ca0d..cd47eeaa2852 100644 --- a/java-binary-authorization/README.md +++ b/java-binary-authorization/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-binary-authorization - 1.95.0 + 1.96.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-binary-authorization' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-binary-authorization:1.95.0' +implementation 'com.google.cloud:google-cloud-binary-authorization:1.96.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-binary-authorization" % "1.95.0" +libraryDependencies += "com.google.cloud" % "google-cloud-binary-authorization" % "1.96.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/overview [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-binary-authorization.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-binary-authorization/1.95.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-binary-authorization/1.96.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-capacityplanner/README.md b/java-capacityplanner/README.md index 162195375be1..49e2f1d4f0b0 100644 --- a/java-capacityplanner/README.md +++ b/java-capacityplanner/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-capacityplanner - 0.19.0 + 0.20.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-capacityplanner' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-capacityplanner:0.19.0' +implementation 'com.google.cloud:google-cloud-capacityplanner:0.20.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-capacityplanner" % "0.19.0" +libraryDependencies += "com.google.cloud" % "google-cloud-capacityplanner" % "0.20.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-capacityplanner/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-capacityplanner.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-capacityplanner/0.19.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-capacityplanner/0.20.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-certificate-manager/README.md b/java-certificate-manager/README.md index 6ca1e024bcc8..92031f1ddabf 100644 --- a/java-certificate-manager/README.md +++ b/java-certificate-manager/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-certificate-manager - 0.99.0 + 0.100.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-certificate-manager' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-certificate-manager:0.99.0' +implementation 'com.google.cloud:google-cloud-certificate-manager:0.100.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-certificate-manager" % "0.99.0" +libraryDependencies += "com.google.cloud" % "google-cloud-certificate-manager" % "0.100.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-certificate-manager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-certificate-manager/0.99.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-certificate-manager/0.100.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-ces/README.md b/java-ces/README.md index 84b774b18307..bbf4d9f23bf4 100644 --- a/java-ces/README.md +++ b/java-ces/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-ces - 0.12.0 + 0.13.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-ces' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-ces:0.12.0' +implementation 'com.google.cloud:google-cloud-ces:0.13.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-ces" % "0.12.0" +libraryDependencies += "com.google.cloud" % "google-cloud-ces" % "0.13.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-ces/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-ces.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-ces/0.12.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-ces/0.13.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-channel/README.md b/java-channel/README.md index 3b2ca15a0c3c..ef10d0dbd5a7 100644 --- a/java-channel/README.md +++ b/java-channel/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-channel - 3.100.0 + 3.101.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-channel' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-channel:3.100.0' +implementation 'com.google.cloud:google-cloud-channel:3.101.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-channel" % "3.100.0" +libraryDependencies += "com.google.cloud" % "google-cloud-channel" % "3.101.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-channel/latest/overview [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-channel.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-channel/3.100.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-channel/3.101.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-chat/README.md b/java-chat/README.md index 5e627550c44b..6fdb9f9622a7 100644 --- a/java-chat/README.md +++ b/java-chat/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-chat - 0.60.0 + 0.61.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-chat' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-chat:0.60.0' +implementation 'com.google.cloud:google-cloud-chat:0.61.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-chat" % "0.60.0" +libraryDependencies += "com.google.cloud" % "google-cloud-chat" % "0.61.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-chat/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-chat.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-chat/0.60.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-chat/0.61.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-chronicle/README.md b/java-chronicle/README.md index 6ce012e73886..2720b7081b20 100644 --- a/java-chronicle/README.md +++ b/java-chronicle/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-chronicle - 0.34.0 + 0.35.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-chronicle' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-chronicle:0.34.0' +implementation 'com.google.cloud:google-cloud-chronicle:0.35.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-chronicle" % "0.34.0" +libraryDependencies += "com.google.cloud" % "google-cloud-chronicle" % "0.35.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-chronicle/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-chronicle.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-chronicle/0.34.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-chronicle/0.35.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-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/FeedsServiceClient.java b/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/FeedsServiceClient.java new file mode 100644 index 000000000000..c0a3fd499031 --- /dev/null +++ b/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/FeedsServiceClient.java @@ -0,0 +1,2602 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1; + +import com.google.api.HttpBody; +import com.google.api.core.ApiFuture; +import com.google.api.core.ApiFutures; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.paging.AbstractFixedSizeCollection; +import com.google.api.gax.paging.AbstractPage; +import com.google.api.gax.paging.AbstractPagedListResponse; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.chronicle.v1.stub.FeedsServiceStub; +import com.google.cloud.chronicle.v1.stub.FeedsServiceStubSettings; +import com.google.common.util.concurrent.MoreExecutors; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import java.io.IOException; +import java.util.List; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; +import org.jspecify.annotations.NullMarked; +import org.jspecify.annotations.Nullable; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Service Description: FeedsService contains procedures for managing Chronicle third-party feeds. + * + *

This class provides the ability to make remote calls to the backing service through method + * calls that map to API methods. Sample code to get started: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ *   InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
+ *   FeedServiceAccount response = feedsServiceClient.fetchServiceAccountForCustomer(parent);
+ * }
+ * }
+ * + *

Note: close() needs to be called on the FeedsServiceClient object to clean up resources such + * as threads. In the example above, try-with-resources is used, which automatically calls close(). + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Methods
MethodDescriptionMethod Variants

FetchServiceAccountForCustomer

Fetch Chronicle's service account used for ingesting data from Cloud Storage buckets.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • fetchServiceAccountForCustomer(FetchServiceAccountForCustomerRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • fetchServiceAccountForCustomer(InstanceName parent) + *

  • fetchServiceAccountForCustomer(String parent) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • fetchServiceAccountForCustomerCallable() + *

+ *

CreateFeed

Creates a feed.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • createFeed(CreateFeedRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • createFeed(InstanceName parent, Feed feed) + *

  • createFeed(String parent, Feed feed) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • createFeedCallable() + *

+ *

GetFeed

Gets a feed.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • getFeed(GetFeedRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • getFeed(FeedName name) + *

  • getFeed(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • getFeedCallable() + *

+ *

DeleteFeed

Deletes a feed.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • deleteFeed(DeleteFeedRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • deleteFeed(FeedName name) + *

  • deleteFeed(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • deleteFeedCallable() + *

+ *

EnableFeed

Enable feed for ingestion.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • enableFeed(EnableFeedRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • enableFeed(FeedName name) + *

  • enableFeed(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • enableFeedCallable() + *

+ *

DisableFeed

Disable feed for ingestion. Make FeedState ARCHIVED.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • disableFeed(DisableFeedRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • disableFeed(FeedName name) + *

  • disableFeed(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • disableFeedCallable() + *

+ *

ListFeeds

Lists all feeds for the customer.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • listFeeds(ListFeedsRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • listFeeds(InstanceName parent) + *

  • listFeeds(String parent) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • listFeedsPagedCallable() + *

  • listFeedsCallable() + *

+ *

ListFeedPacks

Lists Packs for which feeds can be configured.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • listFeedPacks(ListFeedPacksRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • listFeedPacks(InstanceName parent) + *

  • listFeedPacks(String parent) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • listFeedPacksPagedCallable() + *

  • listFeedPacksCallable() + *

+ *

GetFeedPack

Gets a feed pack.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • getFeedPack(GetFeedPackRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • getFeedPack(FeedPackName name) + *

  • getFeedPack(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • getFeedPackCallable() + *

+ *

UpdateFeed

Updates the full feed.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • updateFeed(UpdateFeedRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • updateFeed(Feed feed, FieldMask updateMask) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • updateFeedCallable() + *

+ *

ListFeedSourceTypeSchemas

List all FeedSourceTypeSchemas.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • listFeedSourceTypeSchemas(ListFeedSourceTypeSchemasRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • listFeedSourceTypeSchemas(InstanceName parent) + *

  • listFeedSourceTypeSchemas(String parent) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • listFeedSourceTypeSchemasPagedCallable() + *

  • listFeedSourceTypeSchemasCallable() + *

+ *

ListLogTypeSchemas

List all LogTypeSchemas compatible with a given FeedSourceType.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • listLogTypeSchemas(ListLogTypeSchemasRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • listLogTypeSchemas(FeedSourceTypeSchemaName parent) + *

  • listLogTypeSchemas(String parent) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • listLogTypeSchemasPagedCallable() + *

  • listLogTypeSchemasCallable() + *

+ *

ImportPushLogs

Import logs coming from https push feeds. All log entries must be valid UTF-8. A single invalid event will cause the entire request to be rejected.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • importPushLogs(ImportPushLogsRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • importPushLogs(FeedName parent) + *

  • importPushLogs(String parent) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • importPushLogsCallable() + *

+ *

GenerateSecret

Generates a new secret for https push feeds which do not support jwt tokens. Secrets once generated should be copied and stored in safe place to be used while configuring https push feeds.Please note that you can always generate a new secret again for a feed using this API but it will invalidate the previously generated secret for the feed.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • generateSecret(GenerateSecretRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • generateSecret(FeedName name) + *

  • generateSecret(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • generateSecretCallable() + *

+ *
+ * + *

See the individual methods for example code. + * + *

Many parameters require resource names to be formatted in a particular way. To assist with + * these names, this class includes a format method for each type of name, and additionally a parse + * method to extract the individual identifiers contained within names that are returned. + * + *

This class can be customized by passing in a custom instance of FeedsServiceSettings to + * create(). For example: + * + *

To customize credentials: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * FeedsServiceSettings feedsServiceSettings =
+ *     FeedsServiceSettings.newBuilder()
+ *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ *         .build();
+ * FeedsServiceClient feedsServiceClient = FeedsServiceClient.create(feedsServiceSettings);
+ * }
+ * + *

To customize the endpoint: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * FeedsServiceSettings feedsServiceSettings =
+ *     FeedsServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * FeedsServiceClient feedsServiceClient = FeedsServiceClient.create(feedsServiceSettings);
+ * }
+ * + *

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over + * the wire: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * FeedsServiceSettings feedsServiceSettings = FeedsServiceSettings.newHttpJsonBuilder().build();
+ * FeedsServiceClient feedsServiceClient = FeedsServiceClient.create(feedsServiceSettings);
+ * }
+ * + *

Please refer to the GitHub repository's samples for more quickstart code snippets. + */ +@NullMarked +@Generated("by gapic-generator-java") +public class FeedsServiceClient implements BackgroundResource { + private final @Nullable FeedsServiceSettings settings; + private final FeedsServiceStub stub; + + /** Constructs an instance of FeedsServiceClient with default settings. */ + public static final FeedsServiceClient create() throws IOException { + return create(FeedsServiceSettings.newBuilder().build()); + } + + /** + * Constructs an instance of FeedsServiceClient, using the given settings. The channels are + * created based on the settings passed in, or defaults for any settings that are not set. + */ + public static final FeedsServiceClient create(FeedsServiceSettings settings) throws IOException { + return new FeedsServiceClient(settings); + } + + /** + * Constructs an instance of FeedsServiceClient, using the given stub for making calls. This is + * for advanced usage - prefer using create(FeedsServiceSettings). + */ + public static final FeedsServiceClient create(FeedsServiceStub stub) { + return new FeedsServiceClient(stub); + } + + /** + * Constructs an instance of FeedsServiceClient, using the given settings. This is protected so + * that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected FeedsServiceClient(FeedsServiceSettings settings) throws IOException { + this.settings = settings; + this.stub = ((FeedsServiceStubSettings) settings.getStubSettings()).createStub(); + } + + protected FeedsServiceClient(FeedsServiceStub stub) { + this.settings = null; + this.stub = stub; + } + + public final @Nullable FeedsServiceSettings getSettings() { + return settings; + } + + public FeedsServiceStub getStub() { + return stub; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetch Chronicle's service account used for ingesting data from Cloud Storage buckets. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
+   *   FeedServiceAccount response = feedsServiceClient.fetchServiceAccountForCustomer(parent);
+   * }
+   * }
+ * + * @param parent Required. The parent resource where this FeedServiceAccount will be created. + * Format: projects/{project}/locations/{location}/instances/{instance} + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final FeedServiceAccount fetchServiceAccountForCustomer(@Nullable InstanceName parent) { + FetchServiceAccountForCustomerRequest request = + FetchServiceAccountForCustomerRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return fetchServiceAccountForCustomer(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetch Chronicle's service account used for ingesting data from Cloud Storage buckets. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   String parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
+   *   FeedServiceAccount response = feedsServiceClient.fetchServiceAccountForCustomer(parent);
+   * }
+   * }
+ * + * @param parent Required. The parent resource where this FeedServiceAccount will be created. + * Format: projects/{project}/locations/{location}/instances/{instance} + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final FeedServiceAccount fetchServiceAccountForCustomer(String parent) { + FetchServiceAccountForCustomerRequest request = + FetchServiceAccountForCustomerRequest.newBuilder().setParent(parent).build(); + return fetchServiceAccountForCustomer(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetch Chronicle's service account used for ingesting data from Cloud Storage buckets. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   FetchServiceAccountForCustomerRequest request =
+   *       FetchServiceAccountForCustomerRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+   *           .build();
+   *   FeedServiceAccount response = feedsServiceClient.fetchServiceAccountForCustomer(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final FeedServiceAccount fetchServiceAccountForCustomer( + FetchServiceAccountForCustomerRequest request) { + return fetchServiceAccountForCustomerCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetch Chronicle's service account used for ingesting data from Cloud Storage buckets. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   FetchServiceAccountForCustomerRequest request =
+   *       FetchServiceAccountForCustomerRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       feedsServiceClient.fetchServiceAccountForCustomerCallable().futureCall(request);
+   *   // Do something.
+   *   FeedServiceAccount response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + fetchServiceAccountForCustomerCallable() { + return stub.fetchServiceAccountForCustomerCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a feed. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
+   *   Feed feed = Feed.newBuilder().build();
+   *   Feed response = feedsServiceClient.createFeed(parent, feed);
+   * }
+   * }
+ * + * @param parent Required. The parent resource where this Feed will be created. Format: + * projects/{project}/locations/{location}/instances/{instance} + * @param feed Required. Feed to create. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Feed createFeed(@Nullable InstanceName parent, Feed feed) { + CreateFeedRequest request = + CreateFeedRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setFeed(feed) + .build(); + return createFeed(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a feed. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   String parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
+   *   Feed feed = Feed.newBuilder().build();
+   *   Feed response = feedsServiceClient.createFeed(parent, feed);
+   * }
+   * }
+ * + * @param parent Required. The parent resource where this Feed will be created. Format: + * projects/{project}/locations/{location}/instances/{instance} + * @param feed Required. Feed to create. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Feed createFeed(String parent, Feed feed) { + CreateFeedRequest request = + CreateFeedRequest.newBuilder().setParent(parent).setFeed(feed).build(); + return createFeed(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a feed. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   CreateFeedRequest request =
+   *       CreateFeedRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+   *           .setFeed(Feed.newBuilder().build())
+   *           .build();
+   *   Feed response = feedsServiceClient.createFeed(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Feed createFeed(CreateFeedRequest request) { + return createFeedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a feed. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   CreateFeedRequest request =
+   *       CreateFeedRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+   *           .setFeed(Feed.newBuilder().build())
+   *           .build();
+   *   ApiFuture future = feedsServiceClient.createFeedCallable().futureCall(request);
+   *   // Do something.
+   *   Feed response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable createFeedCallable() { + return stub.createFeedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a feed. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]");
+   *   Feed response = feedsServiceClient.getFeed(name);
+   * }
+   * }
+ * + * @param name Required. The ID of the feed to retrieve. Format: + * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed} + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Feed getFeed(@Nullable FeedName name) { + GetFeedRequest request = + GetFeedRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getFeed(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a feed. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   String name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString();
+   *   Feed response = feedsServiceClient.getFeed(name);
+   * }
+   * }
+ * + * @param name Required. The ID of the feed to retrieve. Format: + * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed} + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Feed getFeed(String name) { + GetFeedRequest request = GetFeedRequest.newBuilder().setName(name).build(); + return getFeed(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a feed. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   GetFeedRequest request =
+   *       GetFeedRequest.newBuilder()
+   *           .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString())
+   *           .build();
+   *   Feed response = feedsServiceClient.getFeed(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Feed getFeed(GetFeedRequest request) { + return getFeedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a feed. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   GetFeedRequest request =
+   *       GetFeedRequest.newBuilder()
+   *           .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString())
+   *           .build();
+   *   ApiFuture future = feedsServiceClient.getFeedCallable().futureCall(request);
+   *   // Do something.
+   *   Feed response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getFeedCallable() { + return stub.getFeedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a feed. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]");
+   *   feedsServiceClient.deleteFeed(name);
+   * }
+   * }
+ * + * @param name Required. The ID of the feed to retrieve. Format: + * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed} + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteFeed(@Nullable FeedName name) { + DeleteFeedRequest request = + DeleteFeedRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteFeed(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a feed. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   String name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString();
+   *   feedsServiceClient.deleteFeed(name);
+   * }
+   * }
+ * + * @param name Required. The ID of the feed to retrieve. Format: + * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed} + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteFeed(String name) { + DeleteFeedRequest request = DeleteFeedRequest.newBuilder().setName(name).build(); + deleteFeed(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a feed. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   DeleteFeedRequest request =
+   *       DeleteFeedRequest.newBuilder()
+   *           .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString())
+   *           .setDeleteBacklog(true)
+   *           .build();
+   *   feedsServiceClient.deleteFeed(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteFeed(DeleteFeedRequest request) { + deleteFeedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a feed. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   DeleteFeedRequest request =
+   *       DeleteFeedRequest.newBuilder()
+   *           .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString())
+   *           .setDeleteBacklog(true)
+   *           .build();
+   *   ApiFuture future = feedsServiceClient.deleteFeedCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteFeedCallable() { + return stub.deleteFeedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Enable feed for ingestion. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]");
+   *   Feed response = feedsServiceClient.enableFeed(name);
+   * }
+   * }
+ * + * @param name Required. The name of the feed to enable. Format: + * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed} + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Feed enableFeed(@Nullable FeedName name) { + EnableFeedRequest request = + EnableFeedRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return enableFeed(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Enable feed for ingestion. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   String name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString();
+   *   Feed response = feedsServiceClient.enableFeed(name);
+   * }
+   * }
+ * + * @param name Required. The name of the feed to enable. Format: + * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed} + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Feed enableFeed(String name) { + EnableFeedRequest request = EnableFeedRequest.newBuilder().setName(name).build(); + return enableFeed(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Enable feed for ingestion. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   EnableFeedRequest request =
+   *       EnableFeedRequest.newBuilder()
+   *           .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString())
+   *           .build();
+   *   Feed response = feedsServiceClient.enableFeed(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Feed enableFeed(EnableFeedRequest request) { + return enableFeedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Enable feed for ingestion. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   EnableFeedRequest request =
+   *       EnableFeedRequest.newBuilder()
+   *           .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString())
+   *           .build();
+   *   ApiFuture future = feedsServiceClient.enableFeedCallable().futureCall(request);
+   *   // Do something.
+   *   Feed response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable enableFeedCallable() { + return stub.enableFeedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Disable feed for ingestion. Make FeedState ARCHIVED. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]");
+   *   Feed response = feedsServiceClient.disableFeed(name);
+   * }
+   * }
+ * + * @param name Required. The name of the feed to disable. Format: + * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed} + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Feed disableFeed(@Nullable FeedName name) { + DisableFeedRequest request = + DisableFeedRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return disableFeed(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Disable feed for ingestion. Make FeedState ARCHIVED. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   String name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString();
+   *   Feed response = feedsServiceClient.disableFeed(name);
+   * }
+   * }
+ * + * @param name Required. The name of the feed to disable. Format: + * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed} + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Feed disableFeed(String name) { + DisableFeedRequest request = DisableFeedRequest.newBuilder().setName(name).build(); + return disableFeed(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Disable feed for ingestion. Make FeedState ARCHIVED. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   DisableFeedRequest request =
+   *       DisableFeedRequest.newBuilder()
+   *           .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString())
+   *           .build();
+   *   Feed response = feedsServiceClient.disableFeed(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Feed disableFeed(DisableFeedRequest request) { + return disableFeedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Disable feed for ingestion. Make FeedState ARCHIVED. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   DisableFeedRequest request =
+   *       DisableFeedRequest.newBuilder()
+   *           .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString())
+   *           .build();
+   *   ApiFuture future = feedsServiceClient.disableFeedCallable().futureCall(request);
+   *   // Do something.
+   *   Feed response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable disableFeedCallable() { + return stub.disableFeedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all feeds for the customer. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
+   *   for (Feed element : feedsServiceClient.listFeeds(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The parent resource where this Feed will be created. Format: + * projects/{project}/locations/{location}/instances/{instance} + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListFeedsPagedResponse listFeeds(@Nullable InstanceName parent) { + ListFeedsRequest request = + ListFeedsRequest.newBuilder().setParent(parent == null ? null : parent.toString()).build(); + return listFeeds(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all feeds for the customer. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   String parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
+   *   for (Feed element : feedsServiceClient.listFeeds(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The parent resource where this Feed will be created. Format: + * projects/{project}/locations/{location}/instances/{instance} + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListFeedsPagedResponse listFeeds(String parent) { + ListFeedsRequest request = ListFeedsRequest.newBuilder().setParent(parent).build(); + return listFeeds(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all feeds for the customer. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   ListFeedsRequest request =
+   *       ListFeedsRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (Feed element : feedsServiceClient.listFeeds(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListFeedsPagedResponse listFeeds(ListFeedsRequest request) { + return listFeedsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all feeds for the customer. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   ListFeedsRequest request =
+   *       ListFeedsRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future = feedsServiceClient.listFeedsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (Feed element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable listFeedsPagedCallable() { + return stub.listFeedsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all feeds for the customer. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   ListFeedsRequest request =
+   *       ListFeedsRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListFeedsResponse response = feedsServiceClient.listFeedsCallable().call(request);
+   *     for (Feed element : response.getFeedsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable listFeedsCallable() { + return stub.listFeedsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Packs for which feeds can be configured. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
+   *   for (FeedPack element : feedsServiceClient.listFeedPacks(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The parent resource where this content pack will be created. Format: + * projects/{project}/locations/{location}/instances/{instance} + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListFeedPacksPagedResponse listFeedPacks(@Nullable InstanceName parent) { + ListFeedPacksRequest request = + ListFeedPacksRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listFeedPacks(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Packs for which feeds can be configured. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   String parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
+   *   for (FeedPack element : feedsServiceClient.listFeedPacks(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The parent resource where this content pack will be created. Format: + * projects/{project}/locations/{location}/instances/{instance} + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListFeedPacksPagedResponse listFeedPacks(String parent) { + ListFeedPacksRequest request = ListFeedPacksRequest.newBuilder().setParent(parent).build(); + return listFeedPacks(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Packs for which feeds can be configured. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   ListFeedPacksRequest request =
+   *       ListFeedPacksRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (FeedPack element : feedsServiceClient.listFeedPacks(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListFeedPacksPagedResponse listFeedPacks(ListFeedPacksRequest request) { + return listFeedPacksPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Packs for which feeds can be configured. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   ListFeedPacksRequest request =
+   *       ListFeedPacksRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       feedsServiceClient.listFeedPacksPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (FeedPack element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listFeedPacksPagedCallable() { + return stub.listFeedPacksPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Packs for which feeds can be configured. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   ListFeedPacksRequest request =
+   *       ListFeedPacksRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListFeedPacksResponse response = feedsServiceClient.listFeedPacksCallable().call(request);
+   *     for (FeedPack element : response.getFeedPacksList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable listFeedPacksCallable() { + return stub.listFeedPacksCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a feed pack. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   FeedPackName name = FeedPackName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_PACK]");
+   *   FeedPack response = feedsServiceClient.getFeedPack(name);
+   * }
+   * }
+ * + * @param name Required. The ID of the feed pack to retrieve. Format: + * projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feedPack} + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final FeedPack getFeedPack(@Nullable FeedPackName name) { + GetFeedPackRequest request = + GetFeedPackRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getFeedPack(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a feed pack. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   String name =
+   *       FeedPackName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_PACK]").toString();
+   *   FeedPack response = feedsServiceClient.getFeedPack(name);
+   * }
+   * }
+ * + * @param name Required. The ID of the feed pack to retrieve. Format: + * projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feedPack} + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final FeedPack getFeedPack(String name) { + GetFeedPackRequest request = GetFeedPackRequest.newBuilder().setName(name).build(); + return getFeedPack(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a feed pack. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   GetFeedPackRequest request =
+   *       GetFeedPackRequest.newBuilder()
+   *           .setName(
+   *               FeedPackName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_PACK]")
+   *                   .toString())
+   *           .build();
+   *   FeedPack response = feedsServiceClient.getFeedPack(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final FeedPack getFeedPack(GetFeedPackRequest request) { + return getFeedPackCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a feed pack. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   GetFeedPackRequest request =
+   *       GetFeedPackRequest.newBuilder()
+   *           .setName(
+   *               FeedPackName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_PACK]")
+   *                   .toString())
+   *           .build();
+   *   ApiFuture future = feedsServiceClient.getFeedPackCallable().futureCall(request);
+   *   // Do something.
+   *   FeedPack response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getFeedPackCallable() { + return stub.getFeedPackCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates the full feed. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   Feed feed = Feed.newBuilder().build();
+   *   FieldMask updateMask = FieldMask.newBuilder().build();
+   *   Feed response = feedsServiceClient.updateFeed(feed, updateMask);
+   * }
+   * }
+ * + * @param feed Required. Feed to update. Updates full feed object. + * @param updateMask Optional. Specifies which fields to update. If empty, update the full feed. + * To update the display name, pass only `displayName` and no other fields. To update other + * fields, pass a comma-separated list of fields to update and omit `displayName`. The update + * fails if an existing `displayName` is sent in the update request. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Feed updateFeed(Feed feed, FieldMask updateMask) { + UpdateFeedRequest request = + UpdateFeedRequest.newBuilder().setFeed(feed).setUpdateMask(updateMask).build(); + return updateFeed(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates the full feed. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   UpdateFeedRequest request =
+   *       UpdateFeedRequest.newBuilder()
+   *           .setFeed(Feed.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   Feed response = feedsServiceClient.updateFeed(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Feed updateFeed(UpdateFeedRequest request) { + return updateFeedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates the full feed. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   UpdateFeedRequest request =
+   *       UpdateFeedRequest.newBuilder()
+   *           .setFeed(Feed.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   ApiFuture future = feedsServiceClient.updateFeedCallable().futureCall(request);
+   *   // Do something.
+   *   Feed response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable updateFeedCallable() { + return stub.updateFeedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List all FeedSourceTypeSchemas. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
+   *   for (FeedSourceTypeSchema element :
+   *       feedsServiceClient.listFeedSourceTypeSchemas(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The parent, which owns this collection of FeedSourceTypeSchemas. + * Format: projects/{project}/locations/{location}/instances/{instance} + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListFeedSourceTypeSchemasPagedResponse listFeedSourceTypeSchemas( + @Nullable InstanceName parent) { + ListFeedSourceTypeSchemasRequest request = + ListFeedSourceTypeSchemasRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listFeedSourceTypeSchemas(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List all FeedSourceTypeSchemas. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   String parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString();
+   *   for (FeedSourceTypeSchema element :
+   *       feedsServiceClient.listFeedSourceTypeSchemas(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The parent, which owns this collection of FeedSourceTypeSchemas. + * Format: projects/{project}/locations/{location}/instances/{instance} + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListFeedSourceTypeSchemasPagedResponse listFeedSourceTypeSchemas(String parent) { + ListFeedSourceTypeSchemasRequest request = + ListFeedSourceTypeSchemasRequest.newBuilder().setParent(parent).build(); + return listFeedSourceTypeSchemas(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List all FeedSourceTypeSchemas. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   ListFeedSourceTypeSchemasRequest request =
+   *       ListFeedSourceTypeSchemasRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (FeedSourceTypeSchema element :
+   *       feedsServiceClient.listFeedSourceTypeSchemas(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListFeedSourceTypeSchemasPagedResponse listFeedSourceTypeSchemas( + ListFeedSourceTypeSchemasRequest request) { + return listFeedSourceTypeSchemasPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List all FeedSourceTypeSchemas. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   ListFeedSourceTypeSchemasRequest request =
+   *       ListFeedSourceTypeSchemasRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       feedsServiceClient.listFeedSourceTypeSchemasPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (FeedSourceTypeSchema element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable< + ListFeedSourceTypeSchemasRequest, ListFeedSourceTypeSchemasPagedResponse> + listFeedSourceTypeSchemasPagedCallable() { + return stub.listFeedSourceTypeSchemasPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List all FeedSourceTypeSchemas. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   ListFeedSourceTypeSchemasRequest request =
+   *       ListFeedSourceTypeSchemasRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListFeedSourceTypeSchemasResponse response =
+   *         feedsServiceClient.listFeedSourceTypeSchemasCallable().call(request);
+   *     for (FeedSourceTypeSchema element : response.getFeedSourceTypeSchemasList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listFeedSourceTypeSchemasCallable() { + return stub.listFeedSourceTypeSchemasCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List all LogTypeSchemas compatible with a given FeedSourceType. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   FeedSourceTypeSchemaName parent =
+   *       FeedSourceTypeSchemaName.of(
+   *           "[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_SOURCE_TYPE]");
+   *   for (LogTypeSchema element : feedsServiceClient.listLogTypeSchemas(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The parent, which owns this collection of LogTypeSchemas. Format: + * Format: + * projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type} + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListLogTypeSchemasPagedResponse listLogTypeSchemas( + @Nullable FeedSourceTypeSchemaName parent) { + ListLogTypeSchemasRequest request = + ListLogTypeSchemasRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listLogTypeSchemas(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List all LogTypeSchemas compatible with a given FeedSourceType. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   String parent =
+   *       FeedSourceTypeSchemaName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_SOURCE_TYPE]")
+   *           .toString();
+   *   for (LogTypeSchema element : feedsServiceClient.listLogTypeSchemas(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The parent, which owns this collection of LogTypeSchemas. Format: + * Format: + * projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type} + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListLogTypeSchemasPagedResponse listLogTypeSchemas(String parent) { + ListLogTypeSchemasRequest request = + ListLogTypeSchemasRequest.newBuilder().setParent(parent).build(); + return listLogTypeSchemas(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List all LogTypeSchemas compatible with a given FeedSourceType. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   ListLogTypeSchemasRequest request =
+   *       ListLogTypeSchemasRequest.newBuilder()
+   *           .setParent(
+   *               FeedSourceTypeSchemaName.of(
+   *                       "[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_SOURCE_TYPE]")
+   *                   .toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (LogTypeSchema element : feedsServiceClient.listLogTypeSchemas(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListLogTypeSchemasPagedResponse listLogTypeSchemas( + ListLogTypeSchemasRequest request) { + return listLogTypeSchemasPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List all LogTypeSchemas compatible with a given FeedSourceType. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   ListLogTypeSchemasRequest request =
+   *       ListLogTypeSchemasRequest.newBuilder()
+   *           .setParent(
+   *               FeedSourceTypeSchemaName.of(
+   *                       "[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_SOURCE_TYPE]")
+   *                   .toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       feedsServiceClient.listLogTypeSchemasPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (LogTypeSchema element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listLogTypeSchemasPagedCallable() { + return stub.listLogTypeSchemasPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List all LogTypeSchemas compatible with a given FeedSourceType. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   ListLogTypeSchemasRequest request =
+   *       ListLogTypeSchemasRequest.newBuilder()
+   *           .setParent(
+   *               FeedSourceTypeSchemaName.of(
+   *                       "[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_SOURCE_TYPE]")
+   *                   .toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListLogTypeSchemasResponse response =
+   *         feedsServiceClient.listLogTypeSchemasCallable().call(request);
+   *     for (LogTypeSchema element : response.getLogTypeSchemasList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listLogTypeSchemasCallable() { + return stub.listLogTypeSchemasCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Import logs coming from https push feeds. All log entries must be valid UTF-8. A single invalid + * event will cause the entire request to be rejected. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   FeedName parent = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]");
+   *   HttpBody response = feedsServiceClient.importPushLogs(parent);
+   * }
+   * }
+ * + * @param parent Required. The parent, which owns this collection of logs. Format: + * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed} + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final HttpBody importPushLogs(@Nullable FeedName parent) { + ImportPushLogsRequest request = + ImportPushLogsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return importPushLogs(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Import logs coming from https push feeds. All log entries must be valid UTF-8. A single invalid + * event will cause the entire request to be rejected. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   String parent = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString();
+   *   HttpBody response = feedsServiceClient.importPushLogs(parent);
+   * }
+   * }
+ * + * @param parent Required. The parent, which owns this collection of logs. Format: + * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed} + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final HttpBody importPushLogs(String parent) { + ImportPushLogsRequest request = ImportPushLogsRequest.newBuilder().setParent(parent).build(); + return importPushLogs(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Import logs coming from https push feeds. All log entries must be valid UTF-8. A single invalid + * event will cause the entire request to be rejected. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   ImportPushLogsRequest request =
+   *       ImportPushLogsRequest.newBuilder()
+   *           .setParent(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString())
+   *           .setHttpBody(HttpBody.newBuilder().build())
+   *           .setSecret("secret-906277200")
+   *           .build();
+   *   HttpBody response = feedsServiceClient.importPushLogs(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final HttpBody importPushLogs(ImportPushLogsRequest request) { + return importPushLogsCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Import logs coming from https push feeds. All log entries must be valid UTF-8. A single invalid + * event will cause the entire request to be rejected. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   ImportPushLogsRequest request =
+   *       ImportPushLogsRequest.newBuilder()
+   *           .setParent(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString())
+   *           .setHttpBody(HttpBody.newBuilder().build())
+   *           .setSecret("secret-906277200")
+   *           .build();
+   *   ApiFuture future = feedsServiceClient.importPushLogsCallable().futureCall(request);
+   *   // Do something.
+   *   HttpBody response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable importPushLogsCallable() { + return stub.importPushLogsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Generates a new secret for https push feeds which do not support jwt tokens. Secrets once + * generated should be copied and stored in safe place to be used while configuring https push + * feeds.Please note that you can always generate a new secret again for a feed using this API but + * it will invalidate the previously generated secret for the feed. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]");
+   *   GenerateSecretResponse response = feedsServiceClient.generateSecret(name);
+   * }
+   * }
+ * + * @param name Required. The name of the feed to for which to generate secret. Format: + * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed} + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final GenerateSecretResponse generateSecret(@Nullable FeedName name) { + GenerateSecretRequest request = + GenerateSecretRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return generateSecret(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Generates a new secret for https push feeds which do not support jwt tokens. Secrets once + * generated should be copied and stored in safe place to be used while configuring https push + * feeds.Please note that you can always generate a new secret again for a feed using this API but + * it will invalidate the previously generated secret for the feed. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   String name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString();
+   *   GenerateSecretResponse response = feedsServiceClient.generateSecret(name);
+   * }
+   * }
+ * + * @param name Required. The name of the feed to for which to generate secret. Format: + * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed} + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final GenerateSecretResponse generateSecret(String name) { + GenerateSecretRequest request = GenerateSecretRequest.newBuilder().setName(name).build(); + return generateSecret(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Generates a new secret for https push feeds which do not support jwt tokens. Secrets once + * generated should be copied and stored in safe place to be used while configuring https push + * feeds.Please note that you can always generate a new secret again for a feed using this API but + * it will invalidate the previously generated secret for the feed. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   GenerateSecretRequest request =
+   *       GenerateSecretRequest.newBuilder()
+   *           .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString())
+   *           .build();
+   *   GenerateSecretResponse response = feedsServiceClient.generateSecret(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final GenerateSecretResponse generateSecret(GenerateSecretRequest request) { + return generateSecretCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Generates a new secret for https push feeds which do not support jwt tokens. Secrets once + * generated should be copied and stored in safe place to be used while configuring https push + * feeds.Please note that you can always generate a new secret again for a feed using this API but + * it will invalidate the previously generated secret for the feed. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+   *   GenerateSecretRequest request =
+   *       GenerateSecretRequest.newBuilder()
+   *           .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       feedsServiceClient.generateSecretCallable().futureCall(request);
+   *   // Do something.
+   *   GenerateSecretResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + generateSecretCallable() { + return stub.generateSecretCallable(); + } + + @Override + public final void close() { + stub.close(); + } + + @Override + public void shutdown() { + stub.shutdown(); + } + + @Override + public boolean isShutdown() { + return stub.isShutdown(); + } + + @Override + public boolean isTerminated() { + return stub.isTerminated(); + } + + @Override + public void shutdownNow() { + stub.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return stub.awaitTermination(duration, unit); + } + + public static class ListFeedsPagedResponse + extends AbstractPagedListResponse< + ListFeedsRequest, ListFeedsResponse, Feed, ListFeedsPage, ListFeedsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListFeedsPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, input -> new ListFeedsPagedResponse(input), MoreExecutors.directExecutor()); + } + + private ListFeedsPagedResponse(ListFeedsPage page) { + super(page, ListFeedsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListFeedsPage + extends AbstractPage { + + private ListFeedsPage( + @Nullable PageContext context, + @Nullable ListFeedsResponse response) { + super(context, response); + } + + private static ListFeedsPage createEmptyPage() { + return new ListFeedsPage(null, null); + } + + @Override + protected ListFeedsPage createPage( + @Nullable PageContext context, + @Nullable ListFeedsResponse response) { + return new ListFeedsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + @Nullable PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListFeedsFixedSizeCollection + extends AbstractFixedSizeCollection< + ListFeedsRequest, ListFeedsResponse, Feed, ListFeedsPage, ListFeedsFixedSizeCollection> { + + private ListFeedsFixedSizeCollection(@Nullable List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListFeedsFixedSizeCollection createEmptyCollection() { + return new ListFeedsFixedSizeCollection(null, 0); + } + + @Override + protected ListFeedsFixedSizeCollection createCollection( + @Nullable List pages, int collectionSize) { + return new ListFeedsFixedSizeCollection(pages, collectionSize); + } + } + + public static class ListFeedPacksPagedResponse + extends AbstractPagedListResponse< + ListFeedPacksRequest, + ListFeedPacksResponse, + FeedPack, + ListFeedPacksPage, + ListFeedPacksFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListFeedPacksPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListFeedPacksPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListFeedPacksPagedResponse(ListFeedPacksPage page) { + super(page, ListFeedPacksFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListFeedPacksPage + extends AbstractPage< + ListFeedPacksRequest, ListFeedPacksResponse, FeedPack, ListFeedPacksPage> { + + private ListFeedPacksPage( + @Nullable PageContext context, + @Nullable ListFeedPacksResponse response) { + super(context, response); + } + + private static ListFeedPacksPage createEmptyPage() { + return new ListFeedPacksPage(null, null); + } + + @Override + protected ListFeedPacksPage createPage( + @Nullable PageContext context, + @Nullable ListFeedPacksResponse response) { + return new ListFeedPacksPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + @Nullable PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListFeedPacksFixedSizeCollection + extends AbstractFixedSizeCollection< + ListFeedPacksRequest, + ListFeedPacksResponse, + FeedPack, + ListFeedPacksPage, + ListFeedPacksFixedSizeCollection> { + + private ListFeedPacksFixedSizeCollection( + @Nullable List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListFeedPacksFixedSizeCollection createEmptyCollection() { + return new ListFeedPacksFixedSizeCollection(null, 0); + } + + @Override + protected ListFeedPacksFixedSizeCollection createCollection( + @Nullable List pages, int collectionSize) { + return new ListFeedPacksFixedSizeCollection(pages, collectionSize); + } + } + + public static class ListFeedSourceTypeSchemasPagedResponse + extends AbstractPagedListResponse< + ListFeedSourceTypeSchemasRequest, + ListFeedSourceTypeSchemasResponse, + FeedSourceTypeSchema, + ListFeedSourceTypeSchemasPage, + ListFeedSourceTypeSchemasFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext< + ListFeedSourceTypeSchemasRequest, + ListFeedSourceTypeSchemasResponse, + FeedSourceTypeSchema> + context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListFeedSourceTypeSchemasPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListFeedSourceTypeSchemasPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListFeedSourceTypeSchemasPagedResponse(ListFeedSourceTypeSchemasPage page) { + super(page, ListFeedSourceTypeSchemasFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListFeedSourceTypeSchemasPage + extends AbstractPage< + ListFeedSourceTypeSchemasRequest, + ListFeedSourceTypeSchemasResponse, + FeedSourceTypeSchema, + ListFeedSourceTypeSchemasPage> { + + private ListFeedSourceTypeSchemasPage( + @Nullable + PageContext< + ListFeedSourceTypeSchemasRequest, + ListFeedSourceTypeSchemasResponse, + FeedSourceTypeSchema> + context, + @Nullable ListFeedSourceTypeSchemasResponse response) { + super(context, response); + } + + private static ListFeedSourceTypeSchemasPage createEmptyPage() { + return new ListFeedSourceTypeSchemasPage(null, null); + } + + @Override + protected ListFeedSourceTypeSchemasPage createPage( + @Nullable + PageContext< + ListFeedSourceTypeSchemasRequest, + ListFeedSourceTypeSchemasResponse, + FeedSourceTypeSchema> + context, + @Nullable ListFeedSourceTypeSchemasResponse response) { + return new ListFeedSourceTypeSchemasPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + @Nullable + PageContext< + ListFeedSourceTypeSchemasRequest, + ListFeedSourceTypeSchemasResponse, + FeedSourceTypeSchema> + context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListFeedSourceTypeSchemasFixedSizeCollection + extends AbstractFixedSizeCollection< + ListFeedSourceTypeSchemasRequest, + ListFeedSourceTypeSchemasResponse, + FeedSourceTypeSchema, + ListFeedSourceTypeSchemasPage, + ListFeedSourceTypeSchemasFixedSizeCollection> { + + private ListFeedSourceTypeSchemasFixedSizeCollection( + @Nullable List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListFeedSourceTypeSchemasFixedSizeCollection createEmptyCollection() { + return new ListFeedSourceTypeSchemasFixedSizeCollection(null, 0); + } + + @Override + protected ListFeedSourceTypeSchemasFixedSizeCollection createCollection( + @Nullable List pages, int collectionSize) { + return new ListFeedSourceTypeSchemasFixedSizeCollection(pages, collectionSize); + } + } + + public static class ListLogTypeSchemasPagedResponse + extends AbstractPagedListResponse< + ListLogTypeSchemasRequest, + ListLogTypeSchemasResponse, + LogTypeSchema, + ListLogTypeSchemasPage, + ListLogTypeSchemasFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListLogTypeSchemasPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListLogTypeSchemasPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListLogTypeSchemasPagedResponse(ListLogTypeSchemasPage page) { + super(page, ListLogTypeSchemasFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListLogTypeSchemasPage + extends AbstractPage< + ListLogTypeSchemasRequest, + ListLogTypeSchemasResponse, + LogTypeSchema, + ListLogTypeSchemasPage> { + + private ListLogTypeSchemasPage( + @Nullable PageContext + context, + @Nullable ListLogTypeSchemasResponse response) { + super(context, response); + } + + private static ListLogTypeSchemasPage createEmptyPage() { + return new ListLogTypeSchemasPage(null, null); + } + + @Override + protected ListLogTypeSchemasPage createPage( + @Nullable PageContext + context, + @Nullable ListLogTypeSchemasResponse response) { + return new ListLogTypeSchemasPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + @Nullable PageContext + context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListLogTypeSchemasFixedSizeCollection + extends AbstractFixedSizeCollection< + ListLogTypeSchemasRequest, + ListLogTypeSchemasResponse, + LogTypeSchema, + ListLogTypeSchemasPage, + ListLogTypeSchemasFixedSizeCollection> { + + private ListLogTypeSchemasFixedSizeCollection( + @Nullable List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListLogTypeSchemasFixedSizeCollection createEmptyCollection() { + return new ListLogTypeSchemasFixedSizeCollection(null, 0); + } + + @Override + protected ListLogTypeSchemasFixedSizeCollection createCollection( + @Nullable List pages, int collectionSize) { + return new ListLogTypeSchemasFixedSizeCollection(pages, collectionSize); + } + } +} diff --git a/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/FeedsServiceSettings.java b/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/FeedsServiceSettings.java new file mode 100644 index 000000000000..a0d165682234 --- /dev/null +++ b/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/FeedsServiceSettings.java @@ -0,0 +1,375 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1; + +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListFeedPacksPagedResponse; +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListFeedSourceTypeSchemasPagedResponse; +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListFeedsPagedResponse; +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListLogTypeSchemasPagedResponse; + +import com.google.api.HttpBody; +import com.google.api.core.ApiFunction; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.cloud.chronicle.v1.stub.FeedsServiceStubSettings; +import com.google.protobuf.Empty; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; +import org.jspecify.annotations.NullMarked; +import org.jspecify.annotations.Nullable; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link FeedsServiceClient}. + * + *

The default instance has everything set to sensible defaults: + * + *

    + *
  • The default service address (chronicle.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
+ * + *

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

For example, to set the + * [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings) + * of fetchServiceAccountForCustomer: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * FeedsServiceSettings.Builder feedsServiceSettingsBuilder = FeedsServiceSettings.newBuilder();
+ * feedsServiceSettingsBuilder
+ *     .fetchServiceAccountForCustomerSettings()
+ *     .setRetrySettings(
+ *         feedsServiceSettingsBuilder
+ *             .fetchServiceAccountForCustomerSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setInitialRetryDelayDuration(Duration.ofSeconds(1))
+ *             .setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
+ *             .setMaxAttempts(5)
+ *             .setMaxRetryDelayDuration(Duration.ofSeconds(30))
+ *             .setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
+ *             .setRetryDelayMultiplier(1.3)
+ *             .setRpcTimeoutMultiplier(1.5)
+ *             .setTotalTimeoutDuration(Duration.ofSeconds(300))
+ *             .build());
+ * FeedsServiceSettings feedsServiceSettings = feedsServiceSettingsBuilder.build();
+ * }
+ * + * Please refer to the [Client Side Retry + * Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting + * retries. + */ +@NullMarked +@Generated("by gapic-generator-java") +public class FeedsServiceSettings extends ClientSettings { + + /** Returns the object with the settings used for calls to fetchServiceAccountForCustomer. */ + public UnaryCallSettings + fetchServiceAccountForCustomerSettings() { + return ((FeedsServiceStubSettings) getStubSettings()).fetchServiceAccountForCustomerSettings(); + } + + /** Returns the object with the settings used for calls to createFeed. */ + public UnaryCallSettings createFeedSettings() { + return ((FeedsServiceStubSettings) getStubSettings()).createFeedSettings(); + } + + /** Returns the object with the settings used for calls to getFeed. */ + public UnaryCallSettings getFeedSettings() { + return ((FeedsServiceStubSettings) getStubSettings()).getFeedSettings(); + } + + /** Returns the object with the settings used for calls to deleteFeed. */ + public UnaryCallSettings deleteFeedSettings() { + return ((FeedsServiceStubSettings) getStubSettings()).deleteFeedSettings(); + } + + /** Returns the object with the settings used for calls to enableFeed. */ + public UnaryCallSettings enableFeedSettings() { + return ((FeedsServiceStubSettings) getStubSettings()).enableFeedSettings(); + } + + /** Returns the object with the settings used for calls to disableFeed. */ + public UnaryCallSettings disableFeedSettings() { + return ((FeedsServiceStubSettings) getStubSettings()).disableFeedSettings(); + } + + /** Returns the object with the settings used for calls to listFeeds. */ + public PagedCallSettings + listFeedsSettings() { + return ((FeedsServiceStubSettings) getStubSettings()).listFeedsSettings(); + } + + /** Returns the object with the settings used for calls to listFeedPacks. */ + public PagedCallSettings + listFeedPacksSettings() { + return ((FeedsServiceStubSettings) getStubSettings()).listFeedPacksSettings(); + } + + /** Returns the object with the settings used for calls to getFeedPack. */ + public UnaryCallSettings getFeedPackSettings() { + return ((FeedsServiceStubSettings) getStubSettings()).getFeedPackSettings(); + } + + /** Returns the object with the settings used for calls to updateFeed. */ + public UnaryCallSettings updateFeedSettings() { + return ((FeedsServiceStubSettings) getStubSettings()).updateFeedSettings(); + } + + /** Returns the object with the settings used for calls to listFeedSourceTypeSchemas. */ + public PagedCallSettings< + ListFeedSourceTypeSchemasRequest, + ListFeedSourceTypeSchemasResponse, + ListFeedSourceTypeSchemasPagedResponse> + listFeedSourceTypeSchemasSettings() { + return ((FeedsServiceStubSettings) getStubSettings()).listFeedSourceTypeSchemasSettings(); + } + + /** Returns the object with the settings used for calls to listLogTypeSchemas. */ + public PagedCallSettings< + ListLogTypeSchemasRequest, ListLogTypeSchemasResponse, ListLogTypeSchemasPagedResponse> + listLogTypeSchemasSettings() { + return ((FeedsServiceStubSettings) getStubSettings()).listLogTypeSchemasSettings(); + } + + /** Returns the object with the settings used for calls to importPushLogs. */ + public UnaryCallSettings importPushLogsSettings() { + return ((FeedsServiceStubSettings) getStubSettings()).importPushLogsSettings(); + } + + /** Returns the object with the settings used for calls to generateSecret. */ + public UnaryCallSettings generateSecretSettings() { + return ((FeedsServiceStubSettings) getStubSettings()).generateSecretSettings(); + } + + public static final FeedsServiceSettings create(FeedsServiceStubSettings stub) + throws IOException { + return new FeedsServiceSettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return FeedsServiceStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return FeedsServiceStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return FeedsServiceStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return FeedsServiceStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default gRPC ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return FeedsServiceStubSettings.defaultGrpcTransportProviderBuilder(); + } + + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return FeedsServiceStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return FeedsServiceStubSettings.defaultTransportChannelProvider(); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return FeedsServiceStubSettings.defaultApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new REST builder for this class. */ + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(@Nullable ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected FeedsServiceSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for FeedsServiceSettings. */ + public static class Builder extends ClientSettings.Builder { + + protected Builder() throws IOException { + this(((ClientContext) null)); + } + + protected Builder(@Nullable ClientContext clientContext) { + super(FeedsServiceStubSettings.newBuilder(clientContext)); + } + + protected Builder(FeedsServiceSettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(FeedsServiceStubSettings.Builder stubSettings) { + super(stubSettings); + } + + private static Builder createDefault() { + return new Builder(FeedsServiceStubSettings.newBuilder()); + } + + private static Builder createHttpJsonDefault() { + return new Builder(FeedsServiceStubSettings.newHttpJsonBuilder()); + } + + public FeedsServiceStubSettings.Builder getStubSettingsBuilder() { + return ((FeedsServiceStubSettings.Builder) getStubSettings()); + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods( + getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); + return this; + } + + /** Returns the builder for the settings used for calls to fetchServiceAccountForCustomer. */ + public UnaryCallSettings.Builder + fetchServiceAccountForCustomerSettings() { + return getStubSettingsBuilder().fetchServiceAccountForCustomerSettings(); + } + + /** Returns the builder for the settings used for calls to createFeed. */ + public UnaryCallSettings.Builder createFeedSettings() { + return getStubSettingsBuilder().createFeedSettings(); + } + + /** Returns the builder for the settings used for calls to getFeed. */ + public UnaryCallSettings.Builder getFeedSettings() { + return getStubSettingsBuilder().getFeedSettings(); + } + + /** Returns the builder for the settings used for calls to deleteFeed. */ + public UnaryCallSettings.Builder deleteFeedSettings() { + return getStubSettingsBuilder().deleteFeedSettings(); + } + + /** Returns the builder for the settings used for calls to enableFeed. */ + public UnaryCallSettings.Builder enableFeedSettings() { + return getStubSettingsBuilder().enableFeedSettings(); + } + + /** Returns the builder for the settings used for calls to disableFeed. */ + public UnaryCallSettings.Builder disableFeedSettings() { + return getStubSettingsBuilder().disableFeedSettings(); + } + + /** Returns the builder for the settings used for calls to listFeeds. */ + public PagedCallSettings.Builder + listFeedsSettings() { + return getStubSettingsBuilder().listFeedsSettings(); + } + + /** Returns the builder for the settings used for calls to listFeedPacks. */ + public PagedCallSettings.Builder< + ListFeedPacksRequest, ListFeedPacksResponse, ListFeedPacksPagedResponse> + listFeedPacksSettings() { + return getStubSettingsBuilder().listFeedPacksSettings(); + } + + /** Returns the builder for the settings used for calls to getFeedPack. */ + public UnaryCallSettings.Builder getFeedPackSettings() { + return getStubSettingsBuilder().getFeedPackSettings(); + } + + /** Returns the builder for the settings used for calls to updateFeed. */ + public UnaryCallSettings.Builder updateFeedSettings() { + return getStubSettingsBuilder().updateFeedSettings(); + } + + /** Returns the builder for the settings used for calls to listFeedSourceTypeSchemas. */ + public PagedCallSettings.Builder< + ListFeedSourceTypeSchemasRequest, + ListFeedSourceTypeSchemasResponse, + ListFeedSourceTypeSchemasPagedResponse> + listFeedSourceTypeSchemasSettings() { + return getStubSettingsBuilder().listFeedSourceTypeSchemasSettings(); + } + + /** Returns the builder for the settings used for calls to listLogTypeSchemas. */ + public PagedCallSettings.Builder< + ListLogTypeSchemasRequest, ListLogTypeSchemasResponse, ListLogTypeSchemasPagedResponse> + listLogTypeSchemasSettings() { + return getStubSettingsBuilder().listLogTypeSchemasSettings(); + } + + /** Returns the builder for the settings used for calls to importPushLogs. */ + public UnaryCallSettings.Builder importPushLogsSettings() { + return getStubSettingsBuilder().importPushLogsSettings(); + } + + /** Returns the builder for the settings used for calls to generateSecret. */ + public UnaryCallSettings.Builder + generateSecretSettings() { + return getStubSettingsBuilder().generateSecretSettings(); + } + + @Override + public FeedsServiceSettings build() throws IOException { + return new FeedsServiceSettings(this); + } + } +} diff --git a/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/gapic_metadata.json b/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/gapic_metadata.json index a23886e96562..176ba083e168 100644 --- a/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/gapic_metadata.json +++ b/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/gapic_metadata.json @@ -188,6 +188,57 @@ } } }, + "FeedsService": { + "clients": { + "grpc": { + "libraryClient": "FeedsServiceClient", + "rpcs": { + "CreateFeed": { + "methods": ["createFeed", "createFeed", "createFeed", "createFeedCallable"] + }, + "DeleteFeed": { + "methods": ["deleteFeed", "deleteFeed", "deleteFeed", "deleteFeedCallable"] + }, + "DisableFeed": { + "methods": ["disableFeed", "disableFeed", "disableFeed", "disableFeedCallable"] + }, + "EnableFeed": { + "methods": ["enableFeed", "enableFeed", "enableFeed", "enableFeedCallable"] + }, + "FetchServiceAccountForCustomer": { + "methods": ["fetchServiceAccountForCustomer", "fetchServiceAccountForCustomer", "fetchServiceAccountForCustomer", "fetchServiceAccountForCustomerCallable"] + }, + "GenerateSecret": { + "methods": ["generateSecret", "generateSecret", "generateSecret", "generateSecretCallable"] + }, + "GetFeed": { + "methods": ["getFeed", "getFeed", "getFeed", "getFeedCallable"] + }, + "GetFeedPack": { + "methods": ["getFeedPack", "getFeedPack", "getFeedPack", "getFeedPackCallable"] + }, + "ImportPushLogs": { + "methods": ["importPushLogs", "importPushLogs", "importPushLogs", "importPushLogsCallable"] + }, + "ListFeedPacks": { + "methods": ["listFeedPacks", "listFeedPacks", "listFeedPacks", "listFeedPacksPagedCallable", "listFeedPacksCallable"] + }, + "ListFeedSourceTypeSchemas": { + "methods": ["listFeedSourceTypeSchemas", "listFeedSourceTypeSchemas", "listFeedSourceTypeSchemas", "listFeedSourceTypeSchemasPagedCallable", "listFeedSourceTypeSchemasCallable"] + }, + "ListFeeds": { + "methods": ["listFeeds", "listFeeds", "listFeeds", "listFeedsPagedCallable", "listFeedsCallable"] + }, + "ListLogTypeSchemas": { + "methods": ["listLogTypeSchemas", "listLogTypeSchemas", "listLogTypeSchemas", "listLogTypeSchemasPagedCallable", "listLogTypeSchemasCallable"] + }, + "UpdateFeed": { + "methods": ["updateFeed", "updateFeed", "updateFeedCallable"] + } + } + } + } + }, "FindingsRefinementService": { "clients": { "grpc": { diff --git a/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/package-info.java b/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/package-info.java index 743761d9fb51..1b5cd357fed0 100644 --- a/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/package-info.java +++ b/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/package-info.java @@ -164,6 +164,25 @@ * } * } * + *

======================= FeedsServiceClient ======================= + * + *

Service Description: FeedsService contains procedures for managing Chronicle third-party + * feeds. + * + *

Sample for FeedsServiceClient: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) {
+ *   InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
+ *   FeedServiceAccount response = feedsServiceClient.fetchServiceAccountForCustomer(parent);
+ * }
+ * }
+ * *

======================= FindingsRefinementServiceClient ======================= * *

Service Description: FindingsRefinementService provides an interface for filtering out diff --git a/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/stub/FeedsServiceStub.java b/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/stub/FeedsServiceStub.java new file mode 100644 index 000000000000..e4b8c4469558 --- /dev/null +++ b/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/stub/FeedsServiceStub.java @@ -0,0 +1,145 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.stub; + +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListFeedPacksPagedResponse; +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListFeedSourceTypeSchemasPagedResponse; +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListFeedsPagedResponse; +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListLogTypeSchemasPagedResponse; + +import com.google.api.HttpBody; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.chronicle.v1.CreateFeedRequest; +import com.google.cloud.chronicle.v1.DeleteFeedRequest; +import com.google.cloud.chronicle.v1.DisableFeedRequest; +import com.google.cloud.chronicle.v1.EnableFeedRequest; +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedPack; +import com.google.cloud.chronicle.v1.FeedServiceAccount; +import com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest; +import com.google.cloud.chronicle.v1.GenerateSecretRequest; +import com.google.cloud.chronicle.v1.GenerateSecretResponse; +import com.google.cloud.chronicle.v1.GetFeedPackRequest; +import com.google.cloud.chronicle.v1.GetFeedRequest; +import com.google.cloud.chronicle.v1.ImportPushLogsRequest; +import com.google.cloud.chronicle.v1.ListFeedPacksRequest; +import com.google.cloud.chronicle.v1.ListFeedPacksResponse; +import com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest; +import com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse; +import com.google.cloud.chronicle.v1.ListFeedsRequest; +import com.google.cloud.chronicle.v1.ListFeedsResponse; +import com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest; +import com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse; +import com.google.cloud.chronicle.v1.UpdateFeedRequest; +import com.google.protobuf.Empty; +import javax.annotation.Generated; +import org.jspecify.annotations.NullMarked; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Base stub class for the FeedsService service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@NullMarked +@Generated("by gapic-generator-java") +public abstract class FeedsServiceStub implements BackgroundResource { + + public UnaryCallable + fetchServiceAccountForCustomerCallable() { + throw new UnsupportedOperationException( + "Not implemented: fetchServiceAccountForCustomerCallable()"); + } + + public UnaryCallable createFeedCallable() { + throw new UnsupportedOperationException("Not implemented: createFeedCallable()"); + } + + public UnaryCallable getFeedCallable() { + throw new UnsupportedOperationException("Not implemented: getFeedCallable()"); + } + + public UnaryCallable deleteFeedCallable() { + throw new UnsupportedOperationException("Not implemented: deleteFeedCallable()"); + } + + public UnaryCallable enableFeedCallable() { + throw new UnsupportedOperationException("Not implemented: enableFeedCallable()"); + } + + public UnaryCallable disableFeedCallable() { + throw new UnsupportedOperationException("Not implemented: disableFeedCallable()"); + } + + public UnaryCallable listFeedsPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listFeedsPagedCallable()"); + } + + public UnaryCallable listFeedsCallable() { + throw new UnsupportedOperationException("Not implemented: listFeedsCallable()"); + } + + public UnaryCallable + listFeedPacksPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listFeedPacksPagedCallable()"); + } + + public UnaryCallable listFeedPacksCallable() { + throw new UnsupportedOperationException("Not implemented: listFeedPacksCallable()"); + } + + public UnaryCallable getFeedPackCallable() { + throw new UnsupportedOperationException("Not implemented: getFeedPackCallable()"); + } + + public UnaryCallable updateFeedCallable() { + throw new UnsupportedOperationException("Not implemented: updateFeedCallable()"); + } + + public UnaryCallable + listFeedSourceTypeSchemasPagedCallable() { + throw new UnsupportedOperationException( + "Not implemented: listFeedSourceTypeSchemasPagedCallable()"); + } + + public UnaryCallable + listFeedSourceTypeSchemasCallable() { + throw new UnsupportedOperationException("Not implemented: listFeedSourceTypeSchemasCallable()"); + } + + public UnaryCallable + listLogTypeSchemasPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listLogTypeSchemasPagedCallable()"); + } + + public UnaryCallable + listLogTypeSchemasCallable() { + throw new UnsupportedOperationException("Not implemented: listLogTypeSchemasCallable()"); + } + + public UnaryCallable importPushLogsCallable() { + throw new UnsupportedOperationException("Not implemented: importPushLogsCallable()"); + } + + public UnaryCallable generateSecretCallable() { + throw new UnsupportedOperationException("Not implemented: generateSecretCallable()"); + } + + @Override + public abstract void close(); +} diff --git a/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/stub/FeedsServiceStubSettings.java b/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/stub/FeedsServiceStubSettings.java new file mode 100644 index 000000000000..69c6005e1775 --- /dev/null +++ b/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/stub/FeedsServiceStubSettings.java @@ -0,0 +1,1024 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.stub; + +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListFeedPacksPagedResponse; +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListFeedSourceTypeSchemasPagedResponse; +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListFeedsPagedResponse; +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListLogTypeSchemasPagedResponse; + +import com.google.api.HttpBody; +import com.google.api.core.ApiFunction; +import com.google.api.core.ApiFuture; +import com.google.api.core.BetaApi; +import com.google.api.core.ObsoleteApi; +import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.GrpcTransportChannel; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; +import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.ApiCallContext; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.LibraryMetadata; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.PagedListDescriptor; +import com.google.api.gax.rpc.PagedListResponseFactory; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.chronicle.v1.CreateFeedRequest; +import com.google.cloud.chronicle.v1.DeleteFeedRequest; +import com.google.cloud.chronicle.v1.DisableFeedRequest; +import com.google.cloud.chronicle.v1.EnableFeedRequest; +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedPack; +import com.google.cloud.chronicle.v1.FeedServiceAccount; +import com.google.cloud.chronicle.v1.FeedSourceTypeSchema; +import com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest; +import com.google.cloud.chronicle.v1.GenerateSecretRequest; +import com.google.cloud.chronicle.v1.GenerateSecretResponse; +import com.google.cloud.chronicle.v1.GetFeedPackRequest; +import com.google.cloud.chronicle.v1.GetFeedRequest; +import com.google.cloud.chronicle.v1.ImportPushLogsRequest; +import com.google.cloud.chronicle.v1.ListFeedPacksRequest; +import com.google.cloud.chronicle.v1.ListFeedPacksResponse; +import com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest; +import com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse; +import com.google.cloud.chronicle.v1.ListFeedsRequest; +import com.google.cloud.chronicle.v1.ListFeedsResponse; +import com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest; +import com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse; +import com.google.cloud.chronicle.v1.LogTypeSchema; +import com.google.cloud.chronicle.v1.UpdateFeedRequest; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Lists; +import com.google.protobuf.Empty; +import java.io.IOException; +import java.time.Duration; +import java.util.List; +import javax.annotation.Generated; +import org.jspecify.annotations.NullMarked; +import org.jspecify.annotations.Nullable; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link FeedsServiceStub}. + * + *

The default instance has everything set to sensible defaults: + * + *

    + *
  • The default service address (chronicle.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
+ * + *

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

For example, to set the + * [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings) + * of fetchServiceAccountForCustomer: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * FeedsServiceStubSettings.Builder feedsServiceSettingsBuilder =
+ *     FeedsServiceStubSettings.newBuilder();
+ * feedsServiceSettingsBuilder
+ *     .fetchServiceAccountForCustomerSettings()
+ *     .setRetrySettings(
+ *         feedsServiceSettingsBuilder
+ *             .fetchServiceAccountForCustomerSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setInitialRetryDelayDuration(Duration.ofSeconds(1))
+ *             .setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
+ *             .setMaxAttempts(5)
+ *             .setMaxRetryDelayDuration(Duration.ofSeconds(30))
+ *             .setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
+ *             .setRetryDelayMultiplier(1.3)
+ *             .setRpcTimeoutMultiplier(1.5)
+ *             .setTotalTimeoutDuration(Duration.ofSeconds(300))
+ *             .build());
+ * FeedsServiceStubSettings feedsServiceSettings = feedsServiceSettingsBuilder.build();
+ * }
+ * + * Please refer to the [Client Side Retry + * Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting + * retries. + */ +@NullMarked +@Generated("by gapic-generator-java") +@SuppressWarnings("CanonicalDuration") +public class FeedsServiceStubSettings extends StubSettings { + /** The default scopes of the service. */ + private static final ImmutableList DEFAULT_SERVICE_SCOPES = + ImmutableList.builder() + .add("https://www.googleapis.com/auth/chronicle") + .add("https://www.googleapis.com/auth/chronicle.readonly") + .add("https://www.googleapis.com/auth/cloud-platform") + .build(); + + private final UnaryCallSettings + fetchServiceAccountForCustomerSettings; + private final UnaryCallSettings createFeedSettings; + private final UnaryCallSettings getFeedSettings; + private final UnaryCallSettings deleteFeedSettings; + private final UnaryCallSettings enableFeedSettings; + private final UnaryCallSettings disableFeedSettings; + private final PagedCallSettings + listFeedsSettings; + private final PagedCallSettings< + ListFeedPacksRequest, ListFeedPacksResponse, ListFeedPacksPagedResponse> + listFeedPacksSettings; + private final UnaryCallSettings getFeedPackSettings; + private final UnaryCallSettings updateFeedSettings; + private final PagedCallSettings< + ListFeedSourceTypeSchemasRequest, + ListFeedSourceTypeSchemasResponse, + ListFeedSourceTypeSchemasPagedResponse> + listFeedSourceTypeSchemasSettings; + private final PagedCallSettings< + ListLogTypeSchemasRequest, ListLogTypeSchemasResponse, ListLogTypeSchemasPagedResponse> + listLogTypeSchemasSettings; + private final UnaryCallSettings importPushLogsSettings; + private final UnaryCallSettings + generateSecretSettings; + + private static final PagedListDescriptor + LIST_FEEDS_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListFeedsRequest injectToken(ListFeedsRequest payload, String token) { + return ListFeedsRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListFeedsRequest injectPageSize(ListFeedsRequest payload, int pageSize) { + return ListFeedsRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListFeedsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListFeedsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListFeedsResponse payload) { + return payload.getFeedsList(); + } + }; + + private static final PagedListDescriptor + LIST_FEED_PACKS_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListFeedPacksRequest injectToken(ListFeedPacksRequest payload, String token) { + return ListFeedPacksRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListFeedPacksRequest injectPageSize(ListFeedPacksRequest payload, int pageSize) { + return ListFeedPacksRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListFeedPacksRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListFeedPacksResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListFeedPacksResponse payload) { + return payload.getFeedPacksList(); + } + }; + + private static final PagedListDescriptor< + ListFeedSourceTypeSchemasRequest, ListFeedSourceTypeSchemasResponse, FeedSourceTypeSchema> + LIST_FEED_SOURCE_TYPE_SCHEMAS_PAGE_STR_DESC = + new PagedListDescriptor< + ListFeedSourceTypeSchemasRequest, + ListFeedSourceTypeSchemasResponse, + FeedSourceTypeSchema>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListFeedSourceTypeSchemasRequest injectToken( + ListFeedSourceTypeSchemasRequest payload, String token) { + return ListFeedSourceTypeSchemasRequest.newBuilder(payload) + .setPageToken(token) + .build(); + } + + @Override + public ListFeedSourceTypeSchemasRequest injectPageSize( + ListFeedSourceTypeSchemasRequest payload, int pageSize) { + return ListFeedSourceTypeSchemasRequest.newBuilder(payload) + .setPageSize(pageSize) + .build(); + } + + @Override + public Integer extractPageSize(ListFeedSourceTypeSchemasRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListFeedSourceTypeSchemasResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources( + ListFeedSourceTypeSchemasResponse payload) { + return payload.getFeedSourceTypeSchemasList(); + } + }; + + private static final PagedListDescriptor< + ListLogTypeSchemasRequest, ListLogTypeSchemasResponse, LogTypeSchema> + LIST_LOG_TYPE_SCHEMAS_PAGE_STR_DESC = + new PagedListDescriptor< + ListLogTypeSchemasRequest, ListLogTypeSchemasResponse, LogTypeSchema>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListLogTypeSchemasRequest injectToken( + ListLogTypeSchemasRequest payload, String token) { + return ListLogTypeSchemasRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListLogTypeSchemasRequest injectPageSize( + ListLogTypeSchemasRequest payload, int pageSize) { + return ListLogTypeSchemasRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListLogTypeSchemasRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListLogTypeSchemasResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListLogTypeSchemasResponse payload) { + return payload.getLogTypeSchemasList(); + } + }; + + private static final PagedListResponseFactory< + ListFeedsRequest, ListFeedsResponse, ListFeedsPagedResponse> + LIST_FEEDS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListFeedsRequest, ListFeedsResponse, ListFeedsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListFeedsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, LIST_FEEDS_PAGE_STR_DESC, request, context); + return ListFeedsPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + private static final PagedListResponseFactory< + ListFeedPacksRequest, ListFeedPacksResponse, ListFeedPacksPagedResponse> + LIST_FEED_PACKS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListFeedPacksRequest, ListFeedPacksResponse, ListFeedPacksPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListFeedPacksRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, LIST_FEED_PACKS_PAGE_STR_DESC, request, context); + return ListFeedPacksPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + private static final PagedListResponseFactory< + ListFeedSourceTypeSchemasRequest, + ListFeedSourceTypeSchemasResponse, + ListFeedSourceTypeSchemasPagedResponse> + LIST_FEED_SOURCE_TYPE_SCHEMAS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListFeedSourceTypeSchemasRequest, + ListFeedSourceTypeSchemasResponse, + ListFeedSourceTypeSchemasPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable + callable, + ListFeedSourceTypeSchemasRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext< + ListFeedSourceTypeSchemasRequest, + ListFeedSourceTypeSchemasResponse, + FeedSourceTypeSchema> + pageContext = + PageContext.create( + callable, LIST_FEED_SOURCE_TYPE_SCHEMAS_PAGE_STR_DESC, request, context); + return ListFeedSourceTypeSchemasPagedResponse.createAsync( + pageContext, futureResponse); + } + }; + + private static final PagedListResponseFactory< + ListLogTypeSchemasRequest, ListLogTypeSchemasResponse, ListLogTypeSchemasPagedResponse> + LIST_LOG_TYPE_SCHEMAS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListLogTypeSchemasRequest, + ListLogTypeSchemasResponse, + ListLogTypeSchemasPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListLogTypeSchemasRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext + pageContext = + PageContext.create( + callable, LIST_LOG_TYPE_SCHEMAS_PAGE_STR_DESC, request, context); + return ListLogTypeSchemasPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + /** Returns the object with the settings used for calls to fetchServiceAccountForCustomer. */ + public UnaryCallSettings + fetchServiceAccountForCustomerSettings() { + return fetchServiceAccountForCustomerSettings; + } + + /** Returns the object with the settings used for calls to createFeed. */ + public UnaryCallSettings createFeedSettings() { + return createFeedSettings; + } + + /** Returns the object with the settings used for calls to getFeed. */ + public UnaryCallSettings getFeedSettings() { + return getFeedSettings; + } + + /** Returns the object with the settings used for calls to deleteFeed. */ + public UnaryCallSettings deleteFeedSettings() { + return deleteFeedSettings; + } + + /** Returns the object with the settings used for calls to enableFeed. */ + public UnaryCallSettings enableFeedSettings() { + return enableFeedSettings; + } + + /** Returns the object with the settings used for calls to disableFeed. */ + public UnaryCallSettings disableFeedSettings() { + return disableFeedSettings; + } + + /** Returns the object with the settings used for calls to listFeeds. */ + public PagedCallSettings + listFeedsSettings() { + return listFeedsSettings; + } + + /** Returns the object with the settings used for calls to listFeedPacks. */ + public PagedCallSettings + listFeedPacksSettings() { + return listFeedPacksSettings; + } + + /** Returns the object with the settings used for calls to getFeedPack. */ + public UnaryCallSettings getFeedPackSettings() { + return getFeedPackSettings; + } + + /** Returns the object with the settings used for calls to updateFeed. */ + public UnaryCallSettings updateFeedSettings() { + return updateFeedSettings; + } + + /** Returns the object with the settings used for calls to listFeedSourceTypeSchemas. */ + public PagedCallSettings< + ListFeedSourceTypeSchemasRequest, + ListFeedSourceTypeSchemasResponse, + ListFeedSourceTypeSchemasPagedResponse> + listFeedSourceTypeSchemasSettings() { + return listFeedSourceTypeSchemasSettings; + } + + /** Returns the object with the settings used for calls to listLogTypeSchemas. */ + public PagedCallSettings< + ListLogTypeSchemasRequest, ListLogTypeSchemasResponse, ListLogTypeSchemasPagedResponse> + listLogTypeSchemasSettings() { + return listLogTypeSchemasSettings; + } + + /** Returns the object with the settings used for calls to importPushLogs. */ + public UnaryCallSettings importPushLogsSettings() { + return importPushLogsSettings; + } + + /** Returns the object with the settings used for calls to generateSecret. */ + public UnaryCallSettings generateSecretSettings() { + return generateSecretSettings; + } + + public FeedsServiceStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(GrpcTransportChannel.getGrpcTransportName())) { + return GrpcFeedsServiceStub.create(this); + } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonFeedsServiceStub.create(this); + } + throw new UnsupportedOperationException( + String.format( + "Transport not supported: %s", getTransportChannelProvider().getTransportName())); + } + + /** Returns the default service name. */ + @Override + public String getServiceName() { + return "chronicle"; + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return InstantiatingExecutorProvider.newBuilder(); + } + + /** Returns the default service endpoint. */ + @ObsoleteApi("Use getEndpoint() instead") + public static String getDefaultEndpoint() { + return "chronicle.googleapis.com:443"; + } + + /** Returns the default mTLS service endpoint. */ + public static String getDefaultMtlsEndpoint() { + return "chronicle.mtls.googleapis.com:443"; + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return DEFAULT_SERVICE_SCOPES; + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return GoogleCredentialsProvider.newBuilder() + .setScopesToApply(DEFAULT_SERVICE_SCOPES) + .setUseJwtAccessWithScope(true); + } + + /** Returns a builder for the default gRPC ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return InstantiatingGrpcChannelProvider.newBuilder() + .setMaxInboundMessageSize(Integer.MAX_VALUE); + } + + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstantiatingHttpJsonChannelProvider.newBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return defaultGrpcTransportProviderBuilder().build(); + } + + public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(FeedsServiceStubSettings.class)) + .setTransportToken( + GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(FeedsServiceStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return FeedsServiceStubSettings.defaultGrpcApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new REST builder for this class. */ + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(@Nullable ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected FeedsServiceStubSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + + fetchServiceAccountForCustomerSettings = + settingsBuilder.fetchServiceAccountForCustomerSettings().build(); + createFeedSettings = settingsBuilder.createFeedSettings().build(); + getFeedSettings = settingsBuilder.getFeedSettings().build(); + deleteFeedSettings = settingsBuilder.deleteFeedSettings().build(); + enableFeedSettings = settingsBuilder.enableFeedSettings().build(); + disableFeedSettings = settingsBuilder.disableFeedSettings().build(); + listFeedsSettings = settingsBuilder.listFeedsSettings().build(); + listFeedPacksSettings = settingsBuilder.listFeedPacksSettings().build(); + getFeedPackSettings = settingsBuilder.getFeedPackSettings().build(); + updateFeedSettings = settingsBuilder.updateFeedSettings().build(); + listFeedSourceTypeSchemasSettings = settingsBuilder.listFeedSourceTypeSchemasSettings().build(); + listLogTypeSchemasSettings = settingsBuilder.listLogTypeSchemasSettings().build(); + importPushLogsSettings = settingsBuilder.importPushLogsSettings().build(); + generateSecretSettings = settingsBuilder.generateSecretSettings().build(); + } + + @Override + protected LibraryMetadata getLibraryMetadata() { + return LibraryMetadata.newBuilder() + .setArtifactName("com.google.cloud:google-cloud-chronicle") + .setRepository("googleapis/google-cloud-java") + .setVersion(Version.VERSION) + .build(); + } + + /** Builder for FeedsServiceStubSettings. */ + public static class Builder extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + private final UnaryCallSettings.Builder< + FetchServiceAccountForCustomerRequest, FeedServiceAccount> + fetchServiceAccountForCustomerSettings; + private final UnaryCallSettings.Builder createFeedSettings; + private final UnaryCallSettings.Builder getFeedSettings; + private final UnaryCallSettings.Builder deleteFeedSettings; + private final UnaryCallSettings.Builder enableFeedSettings; + private final UnaryCallSettings.Builder disableFeedSettings; + private final PagedCallSettings.Builder< + ListFeedsRequest, ListFeedsResponse, ListFeedsPagedResponse> + listFeedsSettings; + private final PagedCallSettings.Builder< + ListFeedPacksRequest, ListFeedPacksResponse, ListFeedPacksPagedResponse> + listFeedPacksSettings; + private final UnaryCallSettings.Builder getFeedPackSettings; + private final UnaryCallSettings.Builder updateFeedSettings; + private final PagedCallSettings.Builder< + ListFeedSourceTypeSchemasRequest, + ListFeedSourceTypeSchemasResponse, + ListFeedSourceTypeSchemasPagedResponse> + listFeedSourceTypeSchemasSettings; + private final PagedCallSettings.Builder< + ListLogTypeSchemasRequest, ListLogTypeSchemasResponse, ListLogTypeSchemasPagedResponse> + listLogTypeSchemasSettings; + private final UnaryCallSettings.Builder importPushLogsSettings; + private final UnaryCallSettings.Builder + generateSecretSettings; + private static final ImmutableMap> + RETRYABLE_CODE_DEFINITIONS; + + static { + ImmutableMap.Builder> definitions = + ImmutableMap.builder(); + definitions.put( + "retry_policy_16_codes", + ImmutableSet.copyOf(Lists.newArrayList(StatusCode.Code.UNAVAILABLE))); + definitions.put( + "no_retry_18_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put( + "retry_policy_15_codes", + ImmutableSet.copyOf(Lists.newArrayList(StatusCode.Code.UNAVAILABLE))); + definitions.put( + "retry_policy_17_codes", + ImmutableSet.copyOf(Lists.newArrayList(StatusCode.Code.UNAVAILABLE))); + definitions.put( + "no_retry_19_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put( + "no_retry_20_codes", ImmutableSet.copyOf(Lists.newArrayList())); + RETRYABLE_CODE_DEFINITIONS = definitions.build(); + } + + private static final ImmutableMap RETRY_PARAM_DEFINITIONS; + + static { + ImmutableMap.Builder definitions = ImmutableMap.builder(); + RetrySettings settings = null; + settings = + RetrySettings.newBuilder() + .setInitialRetryDelayDuration(Duration.ofMillis(1000L)) + .setRetryDelayMultiplier(1.3) + .setMaxRetryDelayDuration(Duration.ofMillis(60000L)) + .setInitialRpcTimeoutDuration(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeoutDuration(Duration.ofMillis(60000L)) + .setTotalTimeoutDuration(Duration.ofMillis(60000L)) + .build(); + definitions.put("retry_policy_16_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeoutDuration(Duration.ofMillis(300000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeoutDuration(Duration.ofMillis(300000L)) + .setTotalTimeoutDuration(Duration.ofMillis(300000L)) + .build(); + definitions.put("no_retry_18_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRetryDelayDuration(Duration.ofMillis(1000L)) + .setRetryDelayMultiplier(1.3) + .setMaxRetryDelayDuration(Duration.ofMillis(30000L)) + .setInitialRpcTimeoutDuration(Duration.ofMillis(30000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeoutDuration(Duration.ofMillis(30000L)) + .setTotalTimeoutDuration(Duration.ofMillis(30000L)) + .build(); + definitions.put("retry_policy_15_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRetryDelayDuration(Duration.ofMillis(1000L)) + .setRetryDelayMultiplier(1.3) + .setMaxRetryDelayDuration(Duration.ofMillis(300000L)) + .setInitialRpcTimeoutDuration(Duration.ofMillis(300000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeoutDuration(Duration.ofMillis(300000L)) + .setTotalTimeoutDuration(Duration.ofMillis(300000L)) + .build(); + definitions.put("retry_policy_17_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeoutDuration(Duration.ofMillis(120000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeoutDuration(Duration.ofMillis(120000L)) + .setTotalTimeoutDuration(Duration.ofMillis(120000L)) + .build(); + definitions.put("no_retry_19_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeoutDuration(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeoutDuration(Duration.ofMillis(60000L)) + .setTotalTimeoutDuration(Duration.ofMillis(60000L)) + .build(); + definitions.put("no_retry_20_params", settings); + RETRY_PARAM_DEFINITIONS = definitions.build(); + } + + protected Builder() { + this(((ClientContext) null)); + } + + protected Builder(@Nullable ClientContext clientContext) { + super(clientContext); + + fetchServiceAccountForCustomerSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createFeedSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + getFeedSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + deleteFeedSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + enableFeedSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + disableFeedSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + listFeedsSettings = PagedCallSettings.newBuilder(LIST_FEEDS_PAGE_STR_FACT); + listFeedPacksSettings = PagedCallSettings.newBuilder(LIST_FEED_PACKS_PAGE_STR_FACT); + getFeedPackSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + updateFeedSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + listFeedSourceTypeSchemasSettings = + PagedCallSettings.newBuilder(LIST_FEED_SOURCE_TYPE_SCHEMAS_PAGE_STR_FACT); + listLogTypeSchemasSettings = + PagedCallSettings.newBuilder(LIST_LOG_TYPE_SCHEMAS_PAGE_STR_FACT); + importPushLogsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + generateSecretSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + fetchServiceAccountForCustomerSettings, + createFeedSettings, + getFeedSettings, + deleteFeedSettings, + enableFeedSettings, + disableFeedSettings, + listFeedsSettings, + listFeedPacksSettings, + getFeedPackSettings, + updateFeedSettings, + listFeedSourceTypeSchemasSettings, + listLogTypeSchemasSettings, + importPushLogsSettings, + generateSecretSettings); + initDefaults(this); + } + + protected Builder(FeedsServiceStubSettings settings) { + super(settings); + + fetchServiceAccountForCustomerSettings = + settings.fetchServiceAccountForCustomerSettings.toBuilder(); + createFeedSettings = settings.createFeedSettings.toBuilder(); + getFeedSettings = settings.getFeedSettings.toBuilder(); + deleteFeedSettings = settings.deleteFeedSettings.toBuilder(); + enableFeedSettings = settings.enableFeedSettings.toBuilder(); + disableFeedSettings = settings.disableFeedSettings.toBuilder(); + listFeedsSettings = settings.listFeedsSettings.toBuilder(); + listFeedPacksSettings = settings.listFeedPacksSettings.toBuilder(); + getFeedPackSettings = settings.getFeedPackSettings.toBuilder(); + updateFeedSettings = settings.updateFeedSettings.toBuilder(); + listFeedSourceTypeSchemasSettings = settings.listFeedSourceTypeSchemasSettings.toBuilder(); + listLogTypeSchemasSettings = settings.listLogTypeSchemasSettings.toBuilder(); + importPushLogsSettings = settings.importPushLogsSettings.toBuilder(); + generateSecretSettings = settings.generateSecretSettings.toBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + fetchServiceAccountForCustomerSettings, + createFeedSettings, + getFeedSettings, + deleteFeedSettings, + enableFeedSettings, + disableFeedSettings, + listFeedsSettings, + listFeedPacksSettings, + getFeedPackSettings, + updateFeedSettings, + listFeedSourceTypeSchemasSettings, + listLogTypeSchemasSettings, + importPushLogsSettings, + generateSecretSettings); + } + + private static Builder createDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder createHttpJsonDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder initDefaults(Builder builder) { + builder + .fetchServiceAccountForCustomerSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_16_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_16_params")); + + builder + .createFeedSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_18_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_18_params")); + + builder + .getFeedSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_15_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_15_params")); + + builder + .deleteFeedSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_18_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_18_params")); + + builder + .enableFeedSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_18_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_18_params")); + + builder + .disableFeedSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_18_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_18_params")); + + builder + .listFeedsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_17_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_17_params")); + + builder + .listFeedPacksSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_16_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_16_params")); + + builder + .getFeedPackSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_15_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_15_params")); + + builder + .updateFeedSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_18_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_18_params")); + + builder + .listFeedSourceTypeSchemasSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_16_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_16_params")); + + builder + .listLogTypeSchemasSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_16_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_16_params")); + + builder + .importPushLogsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_19_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_19_params")); + + builder + .generateSecretSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_20_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_20_params")); + + return builder; + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); + return this; + } + + public ImmutableList> unaryMethodSettingsBuilders() { + return unaryMethodSettingsBuilders; + } + + /** Returns the builder for the settings used for calls to fetchServiceAccountForCustomer. */ + public UnaryCallSettings.Builder + fetchServiceAccountForCustomerSettings() { + return fetchServiceAccountForCustomerSettings; + } + + /** Returns the builder for the settings used for calls to createFeed. */ + public UnaryCallSettings.Builder createFeedSettings() { + return createFeedSettings; + } + + /** Returns the builder for the settings used for calls to getFeed. */ + public UnaryCallSettings.Builder getFeedSettings() { + return getFeedSettings; + } + + /** Returns the builder for the settings used for calls to deleteFeed. */ + public UnaryCallSettings.Builder deleteFeedSettings() { + return deleteFeedSettings; + } + + /** Returns the builder for the settings used for calls to enableFeed. */ + public UnaryCallSettings.Builder enableFeedSettings() { + return enableFeedSettings; + } + + /** Returns the builder for the settings used for calls to disableFeed. */ + public UnaryCallSettings.Builder disableFeedSettings() { + return disableFeedSettings; + } + + /** Returns the builder for the settings used for calls to listFeeds. */ + public PagedCallSettings.Builder + listFeedsSettings() { + return listFeedsSettings; + } + + /** Returns the builder for the settings used for calls to listFeedPacks. */ + public PagedCallSettings.Builder< + ListFeedPacksRequest, ListFeedPacksResponse, ListFeedPacksPagedResponse> + listFeedPacksSettings() { + return listFeedPacksSettings; + } + + /** Returns the builder for the settings used for calls to getFeedPack. */ + public UnaryCallSettings.Builder getFeedPackSettings() { + return getFeedPackSettings; + } + + /** Returns the builder for the settings used for calls to updateFeed. */ + public UnaryCallSettings.Builder updateFeedSettings() { + return updateFeedSettings; + } + + /** Returns the builder for the settings used for calls to listFeedSourceTypeSchemas. */ + public PagedCallSettings.Builder< + ListFeedSourceTypeSchemasRequest, + ListFeedSourceTypeSchemasResponse, + ListFeedSourceTypeSchemasPagedResponse> + listFeedSourceTypeSchemasSettings() { + return listFeedSourceTypeSchemasSettings; + } + + /** Returns the builder for the settings used for calls to listLogTypeSchemas. */ + public PagedCallSettings.Builder< + ListLogTypeSchemasRequest, ListLogTypeSchemasResponse, ListLogTypeSchemasPagedResponse> + listLogTypeSchemasSettings() { + return listLogTypeSchemasSettings; + } + + /** Returns the builder for the settings used for calls to importPushLogs. */ + public UnaryCallSettings.Builder importPushLogsSettings() { + return importPushLogsSettings; + } + + /** Returns the builder for the settings used for calls to generateSecret. */ + public UnaryCallSettings.Builder + generateSecretSettings() { + return generateSecretSettings; + } + + @Override + public FeedsServiceStubSettings build() throws IOException { + return new FeedsServiceStubSettings(this); + } + } +} diff --git a/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/stub/GrpcFeedsServiceCallableFactory.java b/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/stub/GrpcFeedsServiceCallableFactory.java new file mode 100644 index 000000000000..8c9023c2c69d --- /dev/null +++ b/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/stub/GrpcFeedsServiceCallableFactory.java @@ -0,0 +1,115 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.stub; + +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcCallableFactory; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.BidiStreamingCallable; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientStreamingCallable; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.StreamingCallSettings; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.OperationsStub; +import javax.annotation.Generated; +import org.jspecify.annotations.NullMarked; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC callable factory implementation for the FeedsService service API. + * + *

This class is for advanced usage. + */ +@NullMarked +@Generated("by gapic-generator-java") +public class GrpcFeedsServiceCallableFactory implements GrpcStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + GrpcCallSettings grpcCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createUnaryCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + GrpcCallSettings grpcCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createPagedCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + GrpcCallSettings grpcCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBatchingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + OperationCallable createOperationCallable( + GrpcCallSettings grpcCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + return GrpcCallableFactory.createOperationCallable( + grpcCallSettings, callSettings, clientContext, operationsStub); + } + + @Override + public + BidiStreamingCallable createBidiStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBidiStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + GrpcCallSettings grpcCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createServerStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ClientStreamingCallable createClientStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createClientStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } +} diff --git a/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/stub/GrpcFeedsServiceStub.java b/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/stub/GrpcFeedsServiceStub.java new file mode 100644 index 000000000000..67f7dff07881 --- /dev/null +++ b/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/stub/GrpcFeedsServiceStub.java @@ -0,0 +1,649 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.stub; + +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListFeedPacksPagedResponse; +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListFeedSourceTypeSchemasPagedResponse; +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListFeedsPagedResponse; +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListLogTypeSchemasPagedResponse; + +import com.google.api.HttpBody; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsBuilder; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.chronicle.v1.CreateFeedRequest; +import com.google.cloud.chronicle.v1.DeleteFeedRequest; +import com.google.cloud.chronicle.v1.DisableFeedRequest; +import com.google.cloud.chronicle.v1.EnableFeedRequest; +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedPack; +import com.google.cloud.chronicle.v1.FeedServiceAccount; +import com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest; +import com.google.cloud.chronicle.v1.GenerateSecretRequest; +import com.google.cloud.chronicle.v1.GenerateSecretResponse; +import com.google.cloud.chronicle.v1.GetFeedPackRequest; +import com.google.cloud.chronicle.v1.GetFeedRequest; +import com.google.cloud.chronicle.v1.ImportPushLogsRequest; +import com.google.cloud.chronicle.v1.ListFeedPacksRequest; +import com.google.cloud.chronicle.v1.ListFeedPacksResponse; +import com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest; +import com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse; +import com.google.cloud.chronicle.v1.ListFeedsRequest; +import com.google.cloud.chronicle.v1.ListFeedsResponse; +import com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest; +import com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse; +import com.google.cloud.chronicle.v1.UpdateFeedRequest; +import com.google.longrunning.stub.GrpcOperationsStub; +import com.google.protobuf.Empty; +import io.grpc.MethodDescriptor; +import io.grpc.protobuf.ProtoUtils; +import java.io.IOException; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; +import org.jspecify.annotations.NullMarked; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC stub implementation for the FeedsService service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@NullMarked +@Generated("by gapic-generator-java") +public class GrpcFeedsServiceStub extends FeedsServiceStub { + private static final MethodDescriptor + fetchServiceAccountForCustomerMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.cloud.chronicle.v1.FeedsService/FetchServiceAccountForCustomer") + .setRequestMarshaller( + ProtoUtils.marshaller(FetchServiceAccountForCustomerRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(FeedServiceAccount.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + + private static final MethodDescriptor createFeedMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.chronicle.v1.FeedsService/CreateFeed") + .setRequestMarshaller(ProtoUtils.marshaller(CreateFeedRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Feed.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + + private static final MethodDescriptor getFeedMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.chronicle.v1.FeedsService/GetFeed") + .setRequestMarshaller(ProtoUtils.marshaller(GetFeedRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Feed.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + + private static final MethodDescriptor deleteFeedMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.chronicle.v1.FeedsService/DeleteFeed") + .setRequestMarshaller(ProtoUtils.marshaller(DeleteFeedRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + + private static final MethodDescriptor enableFeedMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.chronicle.v1.FeedsService/EnableFeed") + .setRequestMarshaller(ProtoUtils.marshaller(EnableFeedRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Feed.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + + private static final MethodDescriptor disableFeedMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.chronicle.v1.FeedsService/DisableFeed") + .setRequestMarshaller(ProtoUtils.marshaller(DisableFeedRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Feed.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + + private static final MethodDescriptor + listFeedsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.chronicle.v1.FeedsService/ListFeeds") + .setRequestMarshaller(ProtoUtils.marshaller(ListFeedsRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(ListFeedsResponse.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + + private static final MethodDescriptor + listFeedPacksMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.chronicle.v1.FeedsService/ListFeedPacks") + .setRequestMarshaller( + ProtoUtils.marshaller(ListFeedPacksRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListFeedPacksResponse.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + + private static final MethodDescriptor getFeedPackMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.chronicle.v1.FeedsService/GetFeedPack") + .setRequestMarshaller(ProtoUtils.marshaller(GetFeedPackRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(FeedPack.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + + private static final MethodDescriptor updateFeedMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.chronicle.v1.FeedsService/UpdateFeed") + .setRequestMarshaller(ProtoUtils.marshaller(UpdateFeedRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Feed.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + + private static final MethodDescriptor< + ListFeedSourceTypeSchemasRequest, ListFeedSourceTypeSchemasResponse> + listFeedSourceTypeSchemasMethodDescriptor = + MethodDescriptor + .newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.chronicle.v1.FeedsService/ListFeedSourceTypeSchemas") + .setRequestMarshaller( + ProtoUtils.marshaller(ListFeedSourceTypeSchemasRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListFeedSourceTypeSchemasResponse.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + + private static final MethodDescriptor + listLogTypeSchemasMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.chronicle.v1.FeedsService/ListLogTypeSchemas") + .setRequestMarshaller( + ProtoUtils.marshaller(ListLogTypeSchemasRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListLogTypeSchemasResponse.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + + private static final MethodDescriptor + importPushLogsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.chronicle.v1.FeedsService/ImportPushLogs") + .setRequestMarshaller( + ProtoUtils.marshaller(ImportPushLogsRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(HttpBody.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + + private static final MethodDescriptor + generateSecretMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.chronicle.v1.FeedsService/GenerateSecret") + .setRequestMarshaller( + ProtoUtils.marshaller(GenerateSecretRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(GenerateSecretResponse.getDefaultInstance())) + .setSampledToLocalTracing(true) + .build(); + + private final UnaryCallable + fetchServiceAccountForCustomerCallable; + private final UnaryCallable createFeedCallable; + private final UnaryCallable getFeedCallable; + private final UnaryCallable deleteFeedCallable; + private final UnaryCallable enableFeedCallable; + private final UnaryCallable disableFeedCallable; + private final UnaryCallable listFeedsCallable; + private final UnaryCallable listFeedsPagedCallable; + private final UnaryCallable listFeedPacksCallable; + private final UnaryCallable + listFeedPacksPagedCallable; + private final UnaryCallable getFeedPackCallable; + private final UnaryCallable updateFeedCallable; + private final UnaryCallable + listFeedSourceTypeSchemasCallable; + private final UnaryCallable< + ListFeedSourceTypeSchemasRequest, ListFeedSourceTypeSchemasPagedResponse> + listFeedSourceTypeSchemasPagedCallable; + private final UnaryCallable + listLogTypeSchemasCallable; + private final UnaryCallable + listLogTypeSchemasPagedCallable; + private final UnaryCallable importPushLogsCallable; + private final UnaryCallable generateSecretCallable; + + private final BackgroundResource backgroundResources; + private final GrpcOperationsStub operationsStub; + private final GrpcStubCallableFactory callableFactory; + + public static final GrpcFeedsServiceStub create(FeedsServiceStubSettings settings) + throws IOException { + return new GrpcFeedsServiceStub(settings, ClientContext.create(settings)); + } + + public static final GrpcFeedsServiceStub create(ClientContext clientContext) throws IOException { + return new GrpcFeedsServiceStub(FeedsServiceStubSettings.newBuilder().build(), clientContext); + } + + public static final GrpcFeedsServiceStub create( + ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { + return new GrpcFeedsServiceStub( + FeedsServiceStubSettings.newBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of GrpcFeedsServiceStub, using the given settings. This is protected so + * that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected GrpcFeedsServiceStub(FeedsServiceStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new GrpcFeedsServiceCallableFactory()); + } + + /** + * Constructs an instance of GrpcFeedsServiceStub, using the given settings. This is protected so + * that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected GrpcFeedsServiceStub( + FeedsServiceStubSettings settings, + ClientContext clientContext, + GrpcStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory); + + GrpcCallSettings + fetchServiceAccountForCustomerTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(fetchServiceAccountForCustomerMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getParent()) + .build(); + GrpcCallSettings createFeedTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createFeedMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getParent()) + .build(); + GrpcCallSettings getFeedTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getFeedMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getName()) + .build(); + GrpcCallSettings deleteFeedTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteFeedMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getName()) + .build(); + GrpcCallSettings enableFeedTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(enableFeedMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getName()) + .build(); + GrpcCallSettings disableFeedTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(disableFeedMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getName()) + .build(); + GrpcCallSettings listFeedsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listFeedsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getParent()) + .build(); + GrpcCallSettings listFeedPacksTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listFeedPacksMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getParent()) + .build(); + GrpcCallSettings getFeedPackTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getFeedPackMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getName()) + .build(); + GrpcCallSettings updateFeedTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updateFeedMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("feed.name", String.valueOf(request.getFeed().getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings + listFeedSourceTypeSchemasTransportSettings = + GrpcCallSettings + .newBuilder() + .setMethodDescriptor(listFeedSourceTypeSchemasMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getParent()) + .build(); + GrpcCallSettings + listLogTypeSchemasTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listLogTypeSchemasMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getParent()) + .build(); + GrpcCallSettings importPushLogsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(importPushLogsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getParent()) + .build(); + GrpcCallSettings + generateSecretTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(generateSecretMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getName()) + .build(); + + this.fetchServiceAccountForCustomerCallable = + callableFactory.createUnaryCallable( + fetchServiceAccountForCustomerTransportSettings, + settings.fetchServiceAccountForCustomerSettings(), + clientContext); + this.createFeedCallable = + callableFactory.createUnaryCallable( + createFeedTransportSettings, settings.createFeedSettings(), clientContext); + this.getFeedCallable = + callableFactory.createUnaryCallable( + getFeedTransportSettings, settings.getFeedSettings(), clientContext); + this.deleteFeedCallable = + callableFactory.createUnaryCallable( + deleteFeedTransportSettings, settings.deleteFeedSettings(), clientContext); + this.enableFeedCallable = + callableFactory.createUnaryCallable( + enableFeedTransportSettings, settings.enableFeedSettings(), clientContext); + this.disableFeedCallable = + callableFactory.createUnaryCallable( + disableFeedTransportSettings, settings.disableFeedSettings(), clientContext); + this.listFeedsCallable = + callableFactory.createUnaryCallable( + listFeedsTransportSettings, settings.listFeedsSettings(), clientContext); + this.listFeedsPagedCallable = + callableFactory.createPagedCallable( + listFeedsTransportSettings, settings.listFeedsSettings(), clientContext); + this.listFeedPacksCallable = + callableFactory.createUnaryCallable( + listFeedPacksTransportSettings, settings.listFeedPacksSettings(), clientContext); + this.listFeedPacksPagedCallable = + callableFactory.createPagedCallable( + listFeedPacksTransportSettings, settings.listFeedPacksSettings(), clientContext); + this.getFeedPackCallable = + callableFactory.createUnaryCallable( + getFeedPackTransportSettings, settings.getFeedPackSettings(), clientContext); + this.updateFeedCallable = + callableFactory.createUnaryCallable( + updateFeedTransportSettings, settings.updateFeedSettings(), clientContext); + this.listFeedSourceTypeSchemasCallable = + callableFactory.createUnaryCallable( + listFeedSourceTypeSchemasTransportSettings, + settings.listFeedSourceTypeSchemasSettings(), + clientContext); + this.listFeedSourceTypeSchemasPagedCallable = + callableFactory.createPagedCallable( + listFeedSourceTypeSchemasTransportSettings, + settings.listFeedSourceTypeSchemasSettings(), + clientContext); + this.listLogTypeSchemasCallable = + callableFactory.createUnaryCallable( + listLogTypeSchemasTransportSettings, + settings.listLogTypeSchemasSettings(), + clientContext); + this.listLogTypeSchemasPagedCallable = + callableFactory.createPagedCallable( + listLogTypeSchemasTransportSettings, + settings.listLogTypeSchemasSettings(), + clientContext); + this.importPushLogsCallable = + callableFactory.createUnaryCallable( + importPushLogsTransportSettings, settings.importPushLogsSettings(), clientContext); + this.generateSecretCallable = + callableFactory.createUnaryCallable( + generateSecretTransportSettings, settings.generateSecretSettings(), clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + public GrpcOperationsStub getOperationsStub() { + return operationsStub; + } + + @Override + public UnaryCallable + fetchServiceAccountForCustomerCallable() { + return fetchServiceAccountForCustomerCallable; + } + + @Override + public UnaryCallable createFeedCallable() { + return createFeedCallable; + } + + @Override + public UnaryCallable getFeedCallable() { + return getFeedCallable; + } + + @Override + public UnaryCallable deleteFeedCallable() { + return deleteFeedCallable; + } + + @Override + public UnaryCallable enableFeedCallable() { + return enableFeedCallable; + } + + @Override + public UnaryCallable disableFeedCallable() { + return disableFeedCallable; + } + + @Override + public UnaryCallable listFeedsCallable() { + return listFeedsCallable; + } + + @Override + public UnaryCallable listFeedsPagedCallable() { + return listFeedsPagedCallable; + } + + @Override + public UnaryCallable listFeedPacksCallable() { + return listFeedPacksCallable; + } + + @Override + public UnaryCallable + listFeedPacksPagedCallable() { + return listFeedPacksPagedCallable; + } + + @Override + public UnaryCallable getFeedPackCallable() { + return getFeedPackCallable; + } + + @Override + public UnaryCallable updateFeedCallable() { + return updateFeedCallable; + } + + @Override + public UnaryCallable + listFeedSourceTypeSchemasCallable() { + return listFeedSourceTypeSchemasCallable; + } + + @Override + public UnaryCallable + listFeedSourceTypeSchemasPagedCallable() { + return listFeedSourceTypeSchemasPagedCallable; + } + + @Override + public UnaryCallable + listLogTypeSchemasCallable() { + return listLogTypeSchemasCallable; + } + + @Override + public UnaryCallable + listLogTypeSchemasPagedCallable() { + return listLogTypeSchemasPagedCallable; + } + + @Override + public UnaryCallable importPushLogsCallable() { + return importPushLogsCallable; + } + + @Override + public UnaryCallable generateSecretCallable() { + return generateSecretCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/stub/HttpJsonFeedsServiceCallableFactory.java b/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/stub/HttpJsonFeedsServiceCallableFactory.java new file mode 100644 index 000000000000..ab45f5d0f38a --- /dev/null +++ b/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/stub/HttpJsonFeedsServiceCallableFactory.java @@ -0,0 +1,103 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.stub; + +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonCallableFactory; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.longrunning.stub.OperationsStub; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import javax.annotation.Generated; +import org.jspecify.annotations.NullMarked; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST callable factory implementation for the FeedsService service API. + * + *

This class is for advanced usage. + */ +@NullMarked +@Generated("by gapic-generator-java") +public class HttpJsonFeedsServiceCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + UnaryCallable innerCallable = + HttpJsonCallableFactory.createBaseUnaryCallable( + httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); + HttpJsonOperationSnapshotCallable initialCallable = + new HttpJsonOperationSnapshotCallable( + innerCallable, + httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); + return HttpJsonCallableFactory.createOperationCallable( + callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + HttpJsonCallSettings httpJsonCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createServerStreamingCallable( + httpJsonCallSettings, callSettings, clientContext); + } +} diff --git a/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/stub/HttpJsonFeedsServiceStub.java b/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/stub/HttpJsonFeedsServiceStub.java new file mode 100644 index 000000000000..c4ece746f0c1 --- /dev/null +++ b/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/stub/HttpJsonFeedsServiceStub.java @@ -0,0 +1,1046 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.stub; + +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListFeedPacksPagedResponse; +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListFeedSourceTypeSchemasPagedResponse; +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListFeedsPagedResponse; +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListLogTypeSchemasPagedResponse; + +import com.google.api.HttpBody; +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +import com.google.api.gax.httpjson.ProtoMessageResponseParser; +import com.google.api.gax.httpjson.ProtoRestSerializer; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsBuilder; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.chronicle.v1.CreateFeedRequest; +import com.google.cloud.chronicle.v1.DeleteFeedRequest; +import com.google.cloud.chronicle.v1.DisableFeedRequest; +import com.google.cloud.chronicle.v1.EnableFeedRequest; +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedPack; +import com.google.cloud.chronicle.v1.FeedServiceAccount; +import com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest; +import com.google.cloud.chronicle.v1.GenerateSecretRequest; +import com.google.cloud.chronicle.v1.GenerateSecretResponse; +import com.google.cloud.chronicle.v1.GetFeedPackRequest; +import com.google.cloud.chronicle.v1.GetFeedRequest; +import com.google.cloud.chronicle.v1.ImportPushLogsRequest; +import com.google.cloud.chronicle.v1.ListFeedPacksRequest; +import com.google.cloud.chronicle.v1.ListFeedPacksResponse; +import com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest; +import com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse; +import com.google.cloud.chronicle.v1.ListFeedsRequest; +import com.google.cloud.chronicle.v1.ListFeedsResponse; +import com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest; +import com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse; +import com.google.cloud.chronicle.v1.UpdateFeedRequest; +import com.google.protobuf.Empty; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; +import org.jspecify.annotations.NullMarked; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the FeedsService service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@NullMarked +@Generated("by gapic-generator-java") +public class HttpJsonFeedsServiceStub extends FeedsServiceStub { + private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build(); + + private static final ApiMethodDescriptor< + FetchServiceAccountForCustomerRequest, FeedServiceAccount> + fetchServiceAccountForCustomerMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName( + "google.cloud.chronicle.v1.FeedsService/FetchServiceAccountForCustomer") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*/instances/*}/feedServiceAccounts:fetchServiceAccountForCustomer", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(FeedServiceAccount.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor createFeedMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.chronicle.v1.FeedsService/CreateFeed") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*/instances/*}/feeds", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create().toBody("feed", request.getFeed(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Feed.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor getFeedMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.chronicle.v1.FeedsService/GetFeed") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/instances/*/feeds/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Feed.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor deleteFeedMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.chronicle.v1.FeedsService/DeleteFeed") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/instances/*/feeds/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam( + fields, "deleteBacklog", request.getDeleteBacklog()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor enableFeedMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.chronicle.v1.FeedsService/EnableFeed") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/instances/*/feeds/*}:enable", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Feed.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor disableFeedMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.chronicle.v1.FeedsService/DisableFeed") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/instances/*/feeds/*}:disable", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Feed.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listFeedsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.chronicle.v1.FeedsService/ListFeeds") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*/instances/*}/feeds", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListFeedsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listFeedPacksMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.chronicle.v1.FeedsService/ListFeedPacks") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*/instances/*}/feedPacks", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListFeedPacksResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getFeedPackMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.chronicle.v1.FeedsService/GetFeedPack") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/instances/*/feedPacks/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(FeedPack.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor updateFeedMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.chronicle.v1.FeedsService/UpdateFeed") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{feed.name=projects/*/locations/*/instances/*/feeds/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "feed.name", request.getFeed().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create().toBody("feed", request.getFeed(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Feed.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor< + ListFeedSourceTypeSchemasRequest, ListFeedSourceTypeSchemasResponse> + listFeedSourceTypeSchemasMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName("google.cloud.chronicle.v1.FeedsService/ListFeedSourceTypeSchemas") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*/instances/*}/feedSourceTypeSchemas", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListFeedSourceTypeSchemasResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listLogTypeSchemasMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.chronicle.v1.FeedsService/ListLogTypeSchemas") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*/instances/*/feedSourceTypeSchemas/*}/logTypeSchemas", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListLogTypeSchemasResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + importPushLogsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.chronicle.v1.FeedsService/ImportPushLogs") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*/instances/*/feeds/*}:importPushLogs", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearParent().build(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(HttpBody.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + generateSecretMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.chronicle.v1.FeedsService/GenerateSecret") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/instances/*/feeds/*}:generateSecret", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(GenerateSecretResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private final UnaryCallable + fetchServiceAccountForCustomerCallable; + private final UnaryCallable createFeedCallable; + private final UnaryCallable getFeedCallable; + private final UnaryCallable deleteFeedCallable; + private final UnaryCallable enableFeedCallable; + private final UnaryCallable disableFeedCallable; + private final UnaryCallable listFeedsCallable; + private final UnaryCallable listFeedsPagedCallable; + private final UnaryCallable listFeedPacksCallable; + private final UnaryCallable + listFeedPacksPagedCallable; + private final UnaryCallable getFeedPackCallable; + private final UnaryCallable updateFeedCallable; + private final UnaryCallable + listFeedSourceTypeSchemasCallable; + private final UnaryCallable< + ListFeedSourceTypeSchemasRequest, ListFeedSourceTypeSchemasPagedResponse> + listFeedSourceTypeSchemasPagedCallable; + private final UnaryCallable + listLogTypeSchemasCallable; + private final UnaryCallable + listLogTypeSchemasPagedCallable; + private final UnaryCallable importPushLogsCallable; + private final UnaryCallable generateSecretCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonFeedsServiceStub create(FeedsServiceStubSettings settings) + throws IOException { + return new HttpJsonFeedsServiceStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonFeedsServiceStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonFeedsServiceStub( + FeedsServiceStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonFeedsServiceStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonFeedsServiceStub( + FeedsServiceStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonFeedsServiceStub, using the given settings. This is protected + * so that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonFeedsServiceStub(FeedsServiceStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonFeedsServiceCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonFeedsServiceStub, using the given settings. This is protected + * so that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonFeedsServiceStub( + FeedsServiceStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + + HttpJsonCallSettings + fetchServiceAccountForCustomerTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(fetchServiceAccountForCustomerMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getParent()) + .build(); + HttpJsonCallSettings createFeedTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createFeedMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getParent()) + .build(); + HttpJsonCallSettings getFeedTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getFeedMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getName()) + .build(); + HttpJsonCallSettings deleteFeedTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteFeedMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getName()) + .build(); + HttpJsonCallSettings enableFeedTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(enableFeedMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getName()) + .build(); + HttpJsonCallSettings disableFeedTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(disableFeedMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getName()) + .build(); + HttpJsonCallSettings listFeedsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listFeedsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getParent()) + .build(); + HttpJsonCallSettings + listFeedPacksTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listFeedPacksMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getParent()) + .build(); + HttpJsonCallSettings getFeedPackTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getFeedPackMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getName()) + .build(); + HttpJsonCallSettings updateFeedTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updateFeedMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("feed.name", String.valueOf(request.getFeed().getName())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings + listFeedSourceTypeSchemasTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(listFeedSourceTypeSchemasMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getParent()) + .build(); + HttpJsonCallSettings + listLogTypeSchemasTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listLogTypeSchemasMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getParent()) + .build(); + HttpJsonCallSettings importPushLogsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(importPushLogsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getParent()) + .build(); + HttpJsonCallSettings + generateSecretTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(generateSecretMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .setResourceNameExtractor(request -> request.getName()) + .build(); + + this.fetchServiceAccountForCustomerCallable = + callableFactory.createUnaryCallable( + fetchServiceAccountForCustomerTransportSettings, + settings.fetchServiceAccountForCustomerSettings(), + clientContext); + this.createFeedCallable = + callableFactory.createUnaryCallable( + createFeedTransportSettings, settings.createFeedSettings(), clientContext); + this.getFeedCallable = + callableFactory.createUnaryCallable( + getFeedTransportSettings, settings.getFeedSettings(), clientContext); + this.deleteFeedCallable = + callableFactory.createUnaryCallable( + deleteFeedTransportSettings, settings.deleteFeedSettings(), clientContext); + this.enableFeedCallable = + callableFactory.createUnaryCallable( + enableFeedTransportSettings, settings.enableFeedSettings(), clientContext); + this.disableFeedCallable = + callableFactory.createUnaryCallable( + disableFeedTransportSettings, settings.disableFeedSettings(), clientContext); + this.listFeedsCallable = + callableFactory.createUnaryCallable( + listFeedsTransportSettings, settings.listFeedsSettings(), clientContext); + this.listFeedsPagedCallable = + callableFactory.createPagedCallable( + listFeedsTransportSettings, settings.listFeedsSettings(), clientContext); + this.listFeedPacksCallable = + callableFactory.createUnaryCallable( + listFeedPacksTransportSettings, settings.listFeedPacksSettings(), clientContext); + this.listFeedPacksPagedCallable = + callableFactory.createPagedCallable( + listFeedPacksTransportSettings, settings.listFeedPacksSettings(), clientContext); + this.getFeedPackCallable = + callableFactory.createUnaryCallable( + getFeedPackTransportSettings, settings.getFeedPackSettings(), clientContext); + this.updateFeedCallable = + callableFactory.createUnaryCallable( + updateFeedTransportSettings, settings.updateFeedSettings(), clientContext); + this.listFeedSourceTypeSchemasCallable = + callableFactory.createUnaryCallable( + listFeedSourceTypeSchemasTransportSettings, + settings.listFeedSourceTypeSchemasSettings(), + clientContext); + this.listFeedSourceTypeSchemasPagedCallable = + callableFactory.createPagedCallable( + listFeedSourceTypeSchemasTransportSettings, + settings.listFeedSourceTypeSchemasSettings(), + clientContext); + this.listLogTypeSchemasCallable = + callableFactory.createUnaryCallable( + listLogTypeSchemasTransportSettings, + settings.listLogTypeSchemasSettings(), + clientContext); + this.listLogTypeSchemasPagedCallable = + callableFactory.createPagedCallable( + listLogTypeSchemasTransportSettings, + settings.listLogTypeSchemasSettings(), + clientContext); + this.importPushLogsCallable = + callableFactory.createUnaryCallable( + importPushLogsTransportSettings, settings.importPushLogsSettings(), clientContext); + this.generateSecretCallable = + callableFactory.createUnaryCallable( + generateSecretTransportSettings, settings.generateSecretSettings(), clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(fetchServiceAccountForCustomerMethodDescriptor); + methodDescriptors.add(createFeedMethodDescriptor); + methodDescriptors.add(getFeedMethodDescriptor); + methodDescriptors.add(deleteFeedMethodDescriptor); + methodDescriptors.add(enableFeedMethodDescriptor); + methodDescriptors.add(disableFeedMethodDescriptor); + methodDescriptors.add(listFeedsMethodDescriptor); + methodDescriptors.add(listFeedPacksMethodDescriptor); + methodDescriptors.add(getFeedPackMethodDescriptor); + methodDescriptors.add(updateFeedMethodDescriptor); + methodDescriptors.add(listFeedSourceTypeSchemasMethodDescriptor); + methodDescriptors.add(listLogTypeSchemasMethodDescriptor); + methodDescriptors.add(importPushLogsMethodDescriptor); + methodDescriptors.add(generateSecretMethodDescriptor); + return methodDescriptors; + } + + @Override + public UnaryCallable + fetchServiceAccountForCustomerCallable() { + return fetchServiceAccountForCustomerCallable; + } + + @Override + public UnaryCallable createFeedCallable() { + return createFeedCallable; + } + + @Override + public UnaryCallable getFeedCallable() { + return getFeedCallable; + } + + @Override + public UnaryCallable deleteFeedCallable() { + return deleteFeedCallable; + } + + @Override + public UnaryCallable enableFeedCallable() { + return enableFeedCallable; + } + + @Override + public UnaryCallable disableFeedCallable() { + return disableFeedCallable; + } + + @Override + public UnaryCallable listFeedsCallable() { + return listFeedsCallable; + } + + @Override + public UnaryCallable listFeedsPagedCallable() { + return listFeedsPagedCallable; + } + + @Override + public UnaryCallable listFeedPacksCallable() { + return listFeedPacksCallable; + } + + @Override + public UnaryCallable + listFeedPacksPagedCallable() { + return listFeedPacksPagedCallable; + } + + @Override + public UnaryCallable getFeedPackCallable() { + return getFeedPackCallable; + } + + @Override + public UnaryCallable updateFeedCallable() { + return updateFeedCallable; + } + + @Override + public UnaryCallable + listFeedSourceTypeSchemasCallable() { + return listFeedSourceTypeSchemasCallable; + } + + @Override + public UnaryCallable + listFeedSourceTypeSchemasPagedCallable() { + return listFeedSourceTypeSchemasPagedCallable; + } + + @Override + public UnaryCallable + listLogTypeSchemasCallable() { + return listLogTypeSchemasCallable; + } + + @Override + public UnaryCallable + listLogTypeSchemasPagedCallable() { + return listLogTypeSchemasPagedCallable; + } + + @Override + public UnaryCallable importPushLogsCallable() { + return importPushLogsCallable; + } + + @Override + public UnaryCallable generateSecretCallable() { + return generateSecretCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/java-chronicle/google-cloud-chronicle/src/main/resources/META-INF/native-image/com.google.cloud.chronicle.v1/reflect-config.json b/java-chronicle/google-cloud-chronicle/src/main/resources/META-INF/native-image/com.google.cloud.chronicle.v1/reflect-config.json index 3ff6f480d102..2ed2af035823 100644 --- a/java-chronicle/google-cloud-chronicle/src/main/resources/META-INF/native-image/com.google.cloud.chronicle.v1/reflect-config.json +++ b/java-chronicle/google-cloud-chronicle/src/main/resources/META-INF/native-image/com.google.cloud.chronicle.v1/reflect-config.json @@ -170,6 +170,33 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.api.FieldInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.FieldInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.FieldInfo$Format", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.api.FlowControlLimitExceededBehaviorProto", "queryAllDeclaredConstructors": true, @@ -215,6 +242,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.api.HttpBody", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.HttpBody$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.api.HttpRule", "queryAllDeclaredConstructors": true, @@ -477,7 +522,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.AddChartRequest", + "name": "com.google.api.TypeReference", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -486,7 +531,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.AddChartRequest$Builder", + "name": "com.google.api.TypeReference$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -495,7 +540,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.AddChartResponse", + "name": "com.google.cloud.chronicle.v1.AWSEC2HostsSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -504,7 +549,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.AddChartResponse$Builder", + "name": "com.google.cloud.chronicle.v1.AWSEC2HostsSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -513,7 +558,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.AdvancedFilterConfig", + "name": "com.google.cloud.chronicle.v1.AWSEC2InstancesSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -522,7 +567,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.AdvancedFilterConfig$Builder", + "name": "com.google.cloud.chronicle.v1.AWSEC2InstancesSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -531,7 +576,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.AdvancedFilterConfig$ManualOptions", + "name": "com.google.cloud.chronicle.v1.AWSEC2VpcsSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -540,7 +585,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.AdvancedFilterConfig$ManualOptions$Builder", + "name": "com.google.cloud.chronicle.v1.AWSEC2VpcsSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -549,7 +594,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.AdvancedFilterConfig$QueryOptions", + "name": "com.google.cloud.chronicle.v1.AWSIAMSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -558,7 +603,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.AdvancedFilterConfig$QueryOptions$Builder", + "name": "com.google.cloud.chronicle.v1.AWSIAMSettings$ApiType", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -567,7 +612,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.AdvancedFilterConfig$ValueSource", + "name": "com.google.cloud.chronicle.v1.AWSIAMSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -576,7 +621,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.AdvancedFilterConfig$ValueSource$Builder", + "name": "com.google.cloud.chronicle.v1.AddChartRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -585,7 +630,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.AxisType", + "name": "com.google.cloud.chronicle.v1.AddChartRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -594,7 +639,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.BatchGetDashboardChartsRequest", + "name": "com.google.cloud.chronicle.v1.AddChartResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -603,7 +648,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.BatchGetDashboardChartsRequest$Builder", + "name": "com.google.cloud.chronicle.v1.AddChartResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -612,7 +657,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.BatchGetDashboardChartsResponse", + "name": "com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -621,7 +666,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.BatchGetDashboardChartsResponse$Builder", + "name": "com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -630,7 +675,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.BigQueryExport", + "name": "com.google.cloud.chronicle.v1.AdvancedFilterConfig", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -639,7 +684,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.BigQueryExport$Builder", + "name": "com.google.cloud.chronicle.v1.AdvancedFilterConfig$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -648,7 +693,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.BigQueryExportPackage", + "name": "com.google.cloud.chronicle.v1.AdvancedFilterConfig$ManualOptions", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -657,7 +702,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.BulkCreateDataTableRowsRequest", + "name": "com.google.cloud.chronicle.v1.AdvancedFilterConfig$ManualOptions$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -666,7 +711,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.BulkCreateDataTableRowsRequest$Builder", + "name": "com.google.cloud.chronicle.v1.AdvancedFilterConfig$QueryOptions", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -675,7 +720,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.BulkCreateDataTableRowsResponse", + "name": "com.google.cloud.chronicle.v1.AdvancedFilterConfig$QueryOptions$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -684,7 +729,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.BulkCreateDataTableRowsResponse$Builder", + "name": "com.google.cloud.chronicle.v1.AdvancedFilterConfig$ValueSource", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -693,7 +738,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.BulkGetDataTableRowsRequest", + "name": "com.google.cloud.chronicle.v1.AdvancedFilterConfig$ValueSource$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -702,7 +747,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.BulkGetDataTableRowsRequest$Builder", + "name": "com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -711,7 +756,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.BulkGetDataTableRowsResponse", + "name": "com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -720,7 +765,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.BulkGetDataTableRowsResponse$Builder", + "name": "com.google.cloud.chronicle.v1.AmazonS3Settings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -729,7 +774,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.BulkReplaceDataTableRowsRequest", + "name": "com.google.cloud.chronicle.v1.AmazonS3Settings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -738,7 +783,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.BulkReplaceDataTableRowsRequest$Builder", + "name": "com.google.cloud.chronicle.v1.AmazonS3V2Settings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -747,7 +792,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.BulkReplaceDataTableRowsResponse", + "name": "com.google.cloud.chronicle.v1.AmazonS3V2Settings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -756,7 +801,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.BulkReplaceDataTableRowsResponse$Builder", + "name": "com.google.cloud.chronicle.v1.AmazonSQSSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -765,7 +810,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.BulkUpdateDataTableRowsRequest", + "name": "com.google.cloud.chronicle.v1.AmazonSQSSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -774,7 +819,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.BulkUpdateDataTableRowsRequest$Builder", + "name": "com.google.cloud.chronicle.v1.AmazonSQSV2Settings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -783,7 +828,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.BulkUpdateDataTableRowsResponse", + "name": "com.google.cloud.chronicle.v1.AmazonSQSV2Settings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -792,7 +837,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.BulkUpdateDataTableRowsResponse$Builder", + "name": "com.google.cloud.chronicle.v1.AnomaliIocSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -801,7 +846,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.Button", + "name": "com.google.cloud.chronicle.v1.AnomaliIocSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -810,7 +855,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.Button$Builder", + "name": "com.google.cloud.chronicle.v1.AxisType", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -819,7 +864,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.Button$Properties", + "name": "com.google.cloud.chronicle.v1.AzureADAuditSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -828,7 +873,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.Button$Properties$Builder", + "name": "com.google.cloud.chronicle.v1.AzureADAuditSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -837,7 +882,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ButtonStyle", + "name": "com.google.cloud.chronicle.v1.AzureADContextSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -846,7 +891,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ColumnMetadata", + "name": "com.google.cloud.chronicle.v1.AzureADContextSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -855,7 +900,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ColumnMetadata$Builder", + "name": "com.google.cloud.chronicle.v1.AzureADSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -864,7 +909,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.CompilationDiagnostic", + "name": "com.google.cloud.chronicle.v1.AzureADSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -873,7 +918,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.CompilationDiagnostic$Builder", + "name": "com.google.cloud.chronicle.v1.AzureAuth", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -882,7 +927,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.CompilationDiagnostic$Severity", + "name": "com.google.cloud.chronicle.v1.AzureAuth$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -891,7 +936,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.CompilationPosition", + "name": "com.google.cloud.chronicle.v1.AzureAuthV2", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -900,7 +945,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.CompilationPosition$Builder", + "name": "com.google.cloud.chronicle.v1.AzureAuthV2$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -909,7 +954,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ComputeAllFindingsRefinementActivitiesRequest", + "name": "com.google.cloud.chronicle.v1.AzureBlobStoreSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -918,7 +963,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ComputeAllFindingsRefinementActivitiesRequest$Builder", + "name": "com.google.cloud.chronicle.v1.AzureBlobStoreSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -927,7 +972,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ComputeAllFindingsRefinementActivitiesResponse", + "name": "com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -936,7 +981,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ComputeAllFindingsRefinementActivitiesResponse$Builder", + "name": "com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -945,7 +990,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ComputeFindingsRefinementActivityRequest", + "name": "com.google.cloud.chronicle.v1.AzureEventHubSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -954,7 +999,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ComputeFindingsRefinementActivityRequest$Builder", + "name": "com.google.cloud.chronicle.v1.AzureEventHubSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -963,7 +1008,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ComputeFindingsRefinementActivityResponse", + "name": "com.google.cloud.chronicle.v1.AzureMDMIntuneSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -972,7 +1017,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ComputeFindingsRefinementActivityResponse$Builder", + "name": "com.google.cloud.chronicle.v1.AzureMDMIntuneSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -981,7 +1026,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.CreateDataAccessLabelRequest", + "name": "com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -990,7 +1035,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.CreateDataAccessLabelRequest$Builder", + "name": "com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -999,7 +1044,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.CreateDataAccessScopeRequest", + "name": "com.google.cloud.chronicle.v1.BatchGetDashboardChartsRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1008,7 +1053,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.CreateDataAccessScopeRequest$Builder", + "name": "com.google.cloud.chronicle.v1.BatchGetDashboardChartsRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1017,7 +1062,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.CreateDataTableRequest", + "name": "com.google.cloud.chronicle.v1.BatchGetDashboardChartsResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1026,7 +1071,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.CreateDataTableRequest$Builder", + "name": "com.google.cloud.chronicle.v1.BatchGetDashboardChartsResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1035,7 +1080,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.CreateDataTableRowRequest", + "name": "com.google.cloud.chronicle.v1.BigQueryExport", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1044,7 +1089,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.CreateDataTableRowRequest$Builder", + "name": "com.google.cloud.chronicle.v1.BigQueryExport$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1053,7 +1098,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.CreateFindingsRefinementRequest", + "name": "com.google.cloud.chronicle.v1.BigQueryExportPackage", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1062,7 +1107,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.CreateFindingsRefinementRequest$Builder", + "name": "com.google.cloud.chronicle.v1.BulkCreateDataTableRowsRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1071,7 +1116,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.CreateNativeDashboardRequest", + "name": "com.google.cloud.chronicle.v1.BulkCreateDataTableRowsRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1080,7 +1125,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.CreateNativeDashboardRequest$Builder", + "name": "com.google.cloud.chronicle.v1.BulkCreateDataTableRowsResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1089,7 +1134,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.CreateReferenceListRequest", + "name": "com.google.cloud.chronicle.v1.BulkCreateDataTableRowsResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1098,7 +1143,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.CreateReferenceListRequest$Builder", + "name": "com.google.cloud.chronicle.v1.BulkGetDataTableRowsRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1107,7 +1152,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.CreateRetrohuntRequest", + "name": "com.google.cloud.chronicle.v1.BulkGetDataTableRowsRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1116,7 +1161,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.CreateRetrohuntRequest$Builder", + "name": "com.google.cloud.chronicle.v1.BulkGetDataTableRowsResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1125,7 +1170,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.CreateRuleRequest", + "name": "com.google.cloud.chronicle.v1.BulkGetDataTableRowsResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1134,7 +1179,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.CreateRuleRequest$Builder", + "name": "com.google.cloud.chronicle.v1.BulkReplaceDataTableRowsRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1143,7 +1188,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.CreateWatchlistRequest", + "name": "com.google.cloud.chronicle.v1.BulkReplaceDataTableRowsRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1152,7 +1197,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.CreateWatchlistRequest$Builder", + "name": "com.google.cloud.chronicle.v1.BulkReplaceDataTableRowsResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1161,7 +1206,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardAccess", + "name": "com.google.cloud.chronicle.v1.BulkReplaceDataTableRowsResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1170,7 +1215,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart", + "name": "com.google.cloud.chronicle.v1.BulkUpdateDataTableRowsRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1179,7 +1224,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Builder", + "name": "com.google.cloud.chronicle.v1.BulkUpdateDataTableRowsRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1188,7 +1233,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$ChartDatasource", + "name": "com.google.cloud.chronicle.v1.BulkUpdateDataTableRowsResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1197,7 +1242,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$ChartDatasource$Builder", + "name": "com.google.cloud.chronicle.v1.BulkUpdateDataTableRowsResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1206,7 +1251,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig", + "name": "com.google.cloud.chronicle.v1.Button", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1215,7 +1260,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$Builder", + "name": "com.google.cloud.chronicle.v1.Button$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1224,7 +1269,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown", + "name": "com.google.cloud.chronicle.v1.Button$Properties", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1233,7 +1278,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown$Builder", + "name": "com.google.cloud.chronicle.v1.Button$Properties$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1242,7 +1287,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown$CustomDrillDownSettings", + "name": "com.google.cloud.chronicle.v1.ButtonStyle", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1251,7 +1296,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown$CustomDrillDownSettings$Builder", + "name": "com.google.cloud.chronicle.v1.Claims", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1260,7 +1305,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown$CustomDrillDownSettings$DrillDownExternalLink", + "name": "com.google.cloud.chronicle.v1.Claims$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1269,7 +1314,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown$CustomDrillDownSettings$DrillDownExternalLink$Builder", + "name": "com.google.cloud.chronicle.v1.CloudPassageSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1278,7 +1323,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown$CustomDrillDownSettings$DrillDownFilter", + "name": "com.google.cloud.chronicle.v1.CloudPassageSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1287,7 +1332,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown$CustomDrillDownSettings$DrillDownFilter$Builder", + "name": "com.google.cloud.chronicle.v1.ColumnMetadata", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1296,7 +1341,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown$CustomDrillDownSettings$DrillDownFilter$DrillDownDashboardFilter", + "name": "com.google.cloud.chronicle.v1.ColumnMetadata$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1305,7 +1350,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown$CustomDrillDownSettings$DrillDownFilter$DrillDownDashboardFilter$Builder", + "name": "com.google.cloud.chronicle.v1.CompilationDiagnostic", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1314,7 +1359,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown$CustomDrillDownSettings$DrillDownQuery", + "name": "com.google.cloud.chronicle.v1.CompilationDiagnostic$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1323,7 +1368,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown$CustomDrillDownSettings$DrillDownQuery$Builder", + "name": "com.google.cloud.chronicle.v1.CompilationDiagnostic$Severity", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1332,7 +1377,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown$DefaultDrillDownSettings", + "name": "com.google.cloud.chronicle.v1.CompilationPosition", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1341,7 +1386,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown$DefaultDrillDownSettings$Builder", + "name": "com.google.cloud.chronicle.v1.CompilationPosition$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1350,7 +1395,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization", + "name": "com.google.cloud.chronicle.v1.ComputeAllFindingsRefinementActivitiesRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1359,7 +1404,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Axis", + "name": "com.google.cloud.chronicle.v1.ComputeAllFindingsRefinementActivitiesRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1368,7 +1413,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Axis$Builder", + "name": "com.google.cloud.chronicle.v1.ComputeAllFindingsRefinementActivitiesResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1377,7 +1422,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Builder", + "name": "com.google.cloud.chronicle.v1.ComputeAllFindingsRefinementActivitiesResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1386,7 +1431,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$ColumnDef", + "name": "com.google.cloud.chronicle.v1.ComputeFindingsRefinementActivityRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1395,7 +1440,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$ColumnDef$Builder", + "name": "com.google.cloud.chronicle.v1.ComputeFindingsRefinementActivityRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1404,7 +1449,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$ColumnRenderTypeSettings", + "name": "com.google.cloud.chronicle.v1.ComputeFindingsRefinementActivityResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1413,7 +1458,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$ColumnRenderTypeSettings$Builder", + "name": "com.google.cloud.chronicle.v1.ComputeFindingsRefinementActivityResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1422,7 +1467,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$ColumnTooltipSettings", + "name": "com.google.cloud.chronicle.v1.CortexXDRSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1431,7 +1476,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$ColumnTooltipSettings$Builder", + "name": "com.google.cloud.chronicle.v1.CortexXDRSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1440,7 +1485,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$GoogleMapsConfig", + "name": "com.google.cloud.chronicle.v1.CreateDataAccessLabelRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1449,7 +1494,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$GoogleMapsConfig$Builder", + "name": "com.google.cloud.chronicle.v1.CreateDataAccessLabelRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1458,7 +1503,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$GoogleMapsConfig$DataSettings", + "name": "com.google.cloud.chronicle.v1.CreateDataAccessScopeRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1467,7 +1512,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$GoogleMapsConfig$DataSettings$Builder", + "name": "com.google.cloud.chronicle.v1.CreateDataAccessScopeRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1476,7 +1521,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$GoogleMapsConfig$MapPosition", + "name": "com.google.cloud.chronicle.v1.CreateDataTableRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1485,7 +1530,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$GoogleMapsConfig$MapPosition$Builder", + "name": "com.google.cloud.chronicle.v1.CreateDataTableRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1494,7 +1539,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$GoogleMapsConfig$PointSettings", + "name": "com.google.cloud.chronicle.v1.CreateDataTableRowRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1503,7 +1548,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$GoogleMapsConfig$PointSettings$Builder", + "name": "com.google.cloud.chronicle.v1.CreateDataTableRowRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1512,7 +1557,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Legend", + "name": "com.google.cloud.chronicle.v1.CreateFeedRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1521,7 +1566,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Legend$Builder", + "name": "com.google.cloud.chronicle.v1.CreateFeedRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1530,7 +1575,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series", + "name": "com.google.cloud.chronicle.v1.CreateFindingsRefinementRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1539,7 +1584,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$AreaStyle", + "name": "com.google.cloud.chronicle.v1.CreateFindingsRefinementRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1548,7 +1593,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$AreaStyle$Builder", + "name": "com.google.cloud.chronicle.v1.CreateNativeDashboardRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1557,7 +1602,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$Builder", + "name": "com.google.cloud.chronicle.v1.CreateNativeDashboardRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1566,7 +1611,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$ChartSliceColor", + "name": "com.google.cloud.chronicle.v1.CreateReferenceListRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1575,7 +1620,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$ChartSliceColor$Builder", + "name": "com.google.cloud.chronicle.v1.CreateReferenceListRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1584,7 +1629,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$DataLabel", + "name": "com.google.cloud.chronicle.v1.CreateRetrohuntRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1593,7 +1638,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$DataLabel$Builder", + "name": "com.google.cloud.chronicle.v1.CreateRetrohuntRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1602,7 +1647,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$Encode", + "name": "com.google.cloud.chronicle.v1.CreateRuleRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1611,7 +1656,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$Encode$Builder", + "name": "com.google.cloud.chronicle.v1.CreateRuleRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1620,7 +1665,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$GaugeConfig", + "name": "com.google.cloud.chronicle.v1.CreateWatchlistRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1629,7 +1674,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$GaugeConfig$Builder", + "name": "com.google.cloud.chronicle.v1.CreateWatchlistRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1638,7 +1683,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$GaugeValue", + "name": "com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1647,7 +1692,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$GaugeValue$Builder", + "name": "com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1656,7 +1701,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$ItemColors", + "name": "com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings$IngestionType", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1665,7 +1710,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$ItemColors$Builder", + "name": "com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1674,7 +1719,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$ItemStyle", + "name": "com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1683,7 +1728,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$ItemStyle$Builder", + "name": "com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings$IngestionType", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1692,7 +1737,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$MetricTrendConfig", + "name": "com.google.cloud.chronicle.v1.CustomAPICheckpointConfig", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1701,7 +1746,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$MetricTrendConfig$Builder", + "name": "com.google.cloud.chronicle.v1.CustomAPICheckpointConfig$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1710,7 +1755,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$UserSelectedValues", + "name": "com.google.cloud.chronicle.v1.CustomAPICheckpointConfig$IteratorStrategy", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1719,7 +1764,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$UserSelectedValues$Builder", + "name": "com.google.cloud.chronicle.v1.CustomAPICheckpointConfig$IteratorStrategy$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1728,7 +1773,925 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$TableConfig", + "name": "com.google.cloud.chronicle.v1.CustomAPICheckpointConfig$LatestRecordStrategy", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPICheckpointConfig$LatestRecordStrategy$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPICheckpointConfig$LatestTimestampStrategy", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPICheckpointConfig$LatestTimestampStrategy$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPICheckpointConfig$NoneStrategy", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPICheckpointConfig$NoneStrategy$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPIHeaderAuth", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPIHeaderAuth$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPINoAuth", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPINoAuth$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPIPagination", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPIPagination$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPIPagination$LinkPagination", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPIPagination$LinkPagination$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPIPagination$NonePagination", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPIPagination$NonePagination$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPIPagination$OffsetPagination", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPIPagination$OffsetPagination$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPIPagination$PageNumberPagination", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPIPagination$PageNumberPagination$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPIPagination$TokenPagination", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPIPagination$TokenPagination$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPIQueryAuth", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPIQueryAuth$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPIRequestConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPIRequestConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPIRequestConfig$HttpMethod", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPIResponseConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPIResponseConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPISettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPISettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPITransferNode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.CustomAPITransferNode$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardAccess", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$ChartDatasource", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$ChartDatasource$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown$CustomDrillDownSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown$CustomDrillDownSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown$CustomDrillDownSettings$DrillDownExternalLink", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown$CustomDrillDownSettings$DrillDownExternalLink$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown$CustomDrillDownSettings$DrillDownFilter", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown$CustomDrillDownSettings$DrillDownFilter$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown$CustomDrillDownSettings$DrillDownFilter$DrillDownDashboardFilter", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown$CustomDrillDownSettings$DrillDownFilter$DrillDownDashboardFilter$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown$CustomDrillDownSettings$DrillDownQuery", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown$CustomDrillDownSettings$DrillDownQuery$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown$DefaultDrillDownSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$DrillDownConfig$DrillDown$DefaultDrillDownSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Axis", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Axis$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$ColumnDef", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$ColumnDef$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$ColumnRenderTypeSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$ColumnRenderTypeSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$ColumnTooltipSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$ColumnTooltipSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$GoogleMapsConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$GoogleMapsConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$GoogleMapsConfig$DataSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$GoogleMapsConfig$DataSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$GoogleMapsConfig$MapPosition", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$GoogleMapsConfig$MapPosition$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$GoogleMapsConfig$PointSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$GoogleMapsConfig$PointSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Legend", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Legend$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$AreaStyle", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$AreaStyle$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$ChartSliceColor", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$ChartSliceColor$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$DataLabel", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$DataLabel$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$Encode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$Encode$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$GaugeConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$GaugeConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$GaugeValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$GaugeValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$ItemColors", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$ItemColors$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$ItemStyle", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$ItemStyle$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$MetricTrendConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$MetricTrendConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$UserSelectedValues", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Series$UserSelectedValues$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$TableConfig", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1746,7 +2709,2113 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Tooltip", + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Tooltip", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Tooltip$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$VisualMap", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$VisualMap$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$VisualMap$VisualMapPiece", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$VisualMap$VisualMapPiece$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardDefinition", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardDefinition$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardDefinition$ChartConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardDefinition$ChartConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardDefinition$ChartConfig$ChartLayout", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardDefinition$ChartConfig$ChartLayout$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardFilter", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardFilter$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardQuery", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardQuery$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardQuery$Input", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardQuery$Input$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardQuery$Input$RelativeTime", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardQuery$Input$RelativeTime$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardUserData", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DashboardUserData$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DataAccessLabel", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DataAccessLabel$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DataAccessLabelReference", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DataAccessLabelReference$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DataAccessScope", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DataAccessScope$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DataSource", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DataSourceExportSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DataSourceExportSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DataTable", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DataTable$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DataTableColumnInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DataTableColumnInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DataTableColumnInfo$DataTableColumnType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DataTableOperationErrors", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DataTableOperationErrors$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DataTableRow", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DataTableRow$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DataTableScopeInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DataTableScopeInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DataTableUpdateSource", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DeleteDataAccessLabelRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DeleteDataAccessLabelRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DeleteDataAccessScopeRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DeleteDataAccessScopeRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DeleteDataTableRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DeleteDataTableRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DeleteDataTableRowRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DeleteDataTableRowRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DeleteFeedRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DeleteFeedRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DeleteNativeDashboardRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DeleteNativeDashboardRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DeleteRuleRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DeleteRuleRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DeleteWatchlistRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DeleteWatchlistRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DetectionExclusionActivity", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DetectionExclusionActivity$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DetectionExclusionActivity$DetectionExclusionDetectorActivity", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DetectionExclusionActivity$DetectionExclusionDetectorActivity$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DetectionExclusionApplication", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DetectionExclusionApplication$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DisableFeedRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DisableFeedRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DummyLogTypeSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DummyLogTypeSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DuoAuthSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DuoAuthSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DuoUserContextSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DuoUserContextSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DuplicateChartRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DuplicateChartRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DuplicateChartResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DuplicateChartResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DuplicateNativeDashboardRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.DuplicateNativeDashboardRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.EditChartRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.EditChartRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.EditChartResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.EditChartResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.EnableFeedRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.EnableFeedRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse$ColumnData", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse$ColumnData$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse$ColumnType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse$ColumnType$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse$ColumnType$List", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse$ColumnType$List$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse$ColumnValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse$ColumnValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse$ColumnValue$ValueMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse$ColumnValue$ValueMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ExportNativeDashboardsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ExportNativeDashboardsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ExportNativeDashboardsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ExportNativeDashboardsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FeaturedContentMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FeaturedContentMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FeaturedContentMetadata$ContentSourceType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FeaturedContentNativeDashboard", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FeaturedContentNativeDashboard$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.Feed", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.Feed$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.Feed$State", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FeedDetails", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FeedDetails$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FeedDetails$FeedSourceType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FeedDetails$STSMigrationReadiness", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FeedFailureDetails", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FeedFailureDetails$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FeedPack", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FeedPack$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FeedPack$PackType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FeedServiceAccount", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FeedServiceAccount$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FeedSourceTypeSchema", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FeedSourceTypeSchema$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FilterOperator", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FilterOperatorAndValues", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FilterOperatorAndValues$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FindingsRefinement", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FindingsRefinement$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FindingsRefinementActivity", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FindingsRefinementActivity$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FindingsRefinementDeployment", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FindingsRefinementDeployment$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FindingsRefinementType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FoxITStixSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.FoxITStixSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GenerateSecretRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GenerateSecretRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GenerateSecretResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GenerateSecretResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetBigQueryExportRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetBigQueryExportRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetDashboardChartRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetDashboardChartRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetDashboardQueryRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetDashboardQueryRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetDataAccessLabelRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetDataAccessLabelRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetDataAccessScopeRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetDataAccessScopeRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetDataTableOperationErrorsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetDataTableOperationErrorsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetDataTableRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetDataTableRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetDataTableRowRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetDataTableRowRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetFeaturedContentNativeDashboardRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetFeaturedContentNativeDashboardRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetFeedPackRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetFeedPackRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetFeedRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetFeedRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetFindingsRefinementDeploymentRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetFindingsRefinementDeploymentRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetFindingsRefinementRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetFindingsRefinementRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetInstanceRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetInstanceRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetNativeDashboardRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetNativeDashboardRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetReferenceListRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetReferenceListRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetRetrohuntRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetRetrohuntRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetRuleDeploymentRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetRuleDeploymentRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetRuleRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetRuleRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetWatchlistRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GetWatchlistRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GoogleCloudStorageSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GoogleCloudStorageSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.HeaderKeyValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.HeaderKeyValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.HttpHeaderAuth", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.HttpHeaderAuth$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.HttpSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.HttpSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.HttpsPushWebhookSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.HttpsPushWebhookSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ImpervaWAFSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ImpervaWAFSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ImportExportStatus", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ImportExportStatus$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ImportNativeDashboardsInlineSource", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ImportNativeDashboardsInlineSource$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ImportNativeDashboardsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ImportNativeDashboardsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ImportNativeDashboardsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ImportNativeDashboardsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ImportPushLogsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.ImportPushLogsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.InAppLink", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.InAppLink$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.IngestionLabel", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.IngestionLabel$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.InlineDestination", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.InlineDestination$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.InputsUsed", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.InputsUsed$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.InstallFeaturedContentNativeDashboardRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.InstallFeaturedContentNativeDashboardRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.InstallFeaturedContentNativeDashboardResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.InstallFeaturedContentNativeDashboardResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.Instance", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.Instance$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.LanguageFeature", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.LatestExportJobState", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.LegendAlign", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.chronicle.v1.LegendOrient", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1755,7 +4824,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$Tooltip$Builder", + "name": "com.google.cloud.chronicle.v1.ListAllFindingsRefinementDeploymentsRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1764,7 +4833,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$VisualMap", + "name": "com.google.cloud.chronicle.v1.ListAllFindingsRefinementDeploymentsRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1773,7 +4842,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$VisualMap$Builder", + "name": "com.google.cloud.chronicle.v1.ListAllFindingsRefinementDeploymentsResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1782,7 +4851,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$VisualMap$VisualMapPiece", + "name": "com.google.cloud.chronicle.v1.ListAllFindingsRefinementDeploymentsResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1791,7 +4860,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardChart$Visualization$VisualMap$VisualMapPiece$Builder", + "name": "com.google.cloud.chronicle.v1.ListDataAccessLabelsRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1800,7 +4869,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardDefinition", + "name": "com.google.cloud.chronicle.v1.ListDataAccessLabelsRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1809,7 +4878,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardDefinition$Builder", + "name": "com.google.cloud.chronicle.v1.ListDataAccessLabelsResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1818,7 +4887,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardDefinition$ChartConfig", + "name": "com.google.cloud.chronicle.v1.ListDataAccessLabelsResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1827,7 +4896,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardDefinition$ChartConfig$Builder", + "name": "com.google.cloud.chronicle.v1.ListDataAccessScopesRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1836,7 +4905,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardDefinition$ChartConfig$ChartLayout", + "name": "com.google.cloud.chronicle.v1.ListDataAccessScopesRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1845,7 +4914,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardDefinition$ChartConfig$ChartLayout$Builder", + "name": "com.google.cloud.chronicle.v1.ListDataAccessScopesResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1854,7 +4923,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardFilter", + "name": "com.google.cloud.chronicle.v1.ListDataAccessScopesResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1863,7 +4932,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardFilter$Builder", + "name": "com.google.cloud.chronicle.v1.ListDataTableRowsRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1872,7 +4941,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardQuery", + "name": "com.google.cloud.chronicle.v1.ListDataTableRowsRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1881,7 +4950,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardQuery$Builder", + "name": "com.google.cloud.chronicle.v1.ListDataTableRowsResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1890,7 +4959,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardQuery$Input", + "name": "com.google.cloud.chronicle.v1.ListDataTableRowsResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1899,7 +4968,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardQuery$Input$Builder", + "name": "com.google.cloud.chronicle.v1.ListDataTablesRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1908,7 +4977,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardQuery$Input$RelativeTime", + "name": "com.google.cloud.chronicle.v1.ListDataTablesRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1917,7 +4986,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardQuery$Input$RelativeTime$Builder", + "name": "com.google.cloud.chronicle.v1.ListDataTablesResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1926,7 +4995,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardType", + "name": "com.google.cloud.chronicle.v1.ListDataTablesResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1935,7 +5004,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardUserData", + "name": "com.google.cloud.chronicle.v1.ListFeaturedContentNativeDashboardsRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1944,7 +5013,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DashboardUserData$Builder", + "name": "com.google.cloud.chronicle.v1.ListFeaturedContentNativeDashboardsRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1953,7 +5022,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DataAccessLabel", + "name": "com.google.cloud.chronicle.v1.ListFeaturedContentNativeDashboardsResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1962,7 +5031,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DataAccessLabel$Builder", + "name": "com.google.cloud.chronicle.v1.ListFeaturedContentNativeDashboardsResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1971,7 +5040,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DataAccessLabelReference", + "name": "com.google.cloud.chronicle.v1.ListFeedPacksRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1980,7 +5049,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DataAccessLabelReference$Builder", + "name": "com.google.cloud.chronicle.v1.ListFeedPacksRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1989,7 +5058,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DataAccessScope", + "name": "com.google.cloud.chronicle.v1.ListFeedPacksResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -1998,7 +5067,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DataAccessScope$Builder", + "name": "com.google.cloud.chronicle.v1.ListFeedPacksResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2007,7 +5076,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DataSource", + "name": "com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2016,7 +5085,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DataSourceExportSettings", + "name": "com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2025,7 +5094,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DataSourceExportSettings$Builder", + "name": "com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2034,7 +5103,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DataTable", + "name": "com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2043,7 +5112,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DataTable$Builder", + "name": "com.google.cloud.chronicle.v1.ListFeedsRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2052,7 +5121,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DataTableColumnInfo", + "name": "com.google.cloud.chronicle.v1.ListFeedsRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2061,7 +5130,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DataTableColumnInfo$Builder", + "name": "com.google.cloud.chronicle.v1.ListFeedsResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2070,7 +5139,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DataTableColumnInfo$DataTableColumnType", + "name": "com.google.cloud.chronicle.v1.ListFeedsResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2079,7 +5148,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DataTableOperationErrors", + "name": "com.google.cloud.chronicle.v1.ListFindingsRefinementsRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2088,7 +5157,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DataTableOperationErrors$Builder", + "name": "com.google.cloud.chronicle.v1.ListFindingsRefinementsRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2097,7 +5166,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DataTableRow", + "name": "com.google.cloud.chronicle.v1.ListFindingsRefinementsResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2106,7 +5175,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DataTableRow$Builder", + "name": "com.google.cloud.chronicle.v1.ListFindingsRefinementsResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2115,7 +5184,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DataTableScopeInfo", + "name": "com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2124,7 +5193,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DataTableScopeInfo$Builder", + "name": "com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2133,7 +5202,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DataTableUpdateSource", + "name": "com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2142,7 +5211,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DeleteDataAccessLabelRequest", + "name": "com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2151,7 +5220,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DeleteDataAccessLabelRequest$Builder", + "name": "com.google.cloud.chronicle.v1.ListNativeDashboardsRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2160,7 +5229,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DeleteDataAccessScopeRequest", + "name": "com.google.cloud.chronicle.v1.ListNativeDashboardsRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2169,7 +5238,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DeleteDataAccessScopeRequest$Builder", + "name": "com.google.cloud.chronicle.v1.ListNativeDashboardsResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2178,7 +5247,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DeleteDataTableRequest", + "name": "com.google.cloud.chronicle.v1.ListNativeDashboardsResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2187,7 +5256,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DeleteDataTableRequest$Builder", + "name": "com.google.cloud.chronicle.v1.ListReferenceListsRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2196,7 +5265,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DeleteDataTableRowRequest", + "name": "com.google.cloud.chronicle.v1.ListReferenceListsRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2205,7 +5274,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DeleteDataTableRowRequest$Builder", + "name": "com.google.cloud.chronicle.v1.ListReferenceListsResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2214,7 +5283,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DeleteNativeDashboardRequest", + "name": "com.google.cloud.chronicle.v1.ListReferenceListsResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2223,7 +5292,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DeleteNativeDashboardRequest$Builder", + "name": "com.google.cloud.chronicle.v1.ListRetrohuntsRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2232,7 +5301,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DeleteRuleRequest", + "name": "com.google.cloud.chronicle.v1.ListRetrohuntsRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2241,7 +5310,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DeleteRuleRequest$Builder", + "name": "com.google.cloud.chronicle.v1.ListRetrohuntsResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2250,7 +5319,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DeleteWatchlistRequest", + "name": "com.google.cloud.chronicle.v1.ListRetrohuntsResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2259,7 +5328,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DeleteWatchlistRequest$Builder", + "name": "com.google.cloud.chronicle.v1.ListRuleDeploymentsRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2268,7 +5337,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DetectionExclusionActivity", + "name": "com.google.cloud.chronicle.v1.ListRuleDeploymentsRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2277,7 +5346,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DetectionExclusionActivity$Builder", + "name": "com.google.cloud.chronicle.v1.ListRuleDeploymentsResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2286,7 +5355,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DetectionExclusionActivity$DetectionExclusionDetectorActivity", + "name": "com.google.cloud.chronicle.v1.ListRuleDeploymentsResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2295,7 +5364,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DetectionExclusionActivity$DetectionExclusionDetectorActivity$Builder", + "name": "com.google.cloud.chronicle.v1.ListRuleExecutionErrorsRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2304,7 +5373,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DetectionExclusionApplication", + "name": "com.google.cloud.chronicle.v1.ListRuleExecutionErrorsRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2313,7 +5382,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DetectionExclusionApplication$Builder", + "name": "com.google.cloud.chronicle.v1.ListRuleExecutionErrorsResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2322,7 +5391,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DuplicateChartRequest", + "name": "com.google.cloud.chronicle.v1.ListRuleExecutionErrorsResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2331,7 +5400,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DuplicateChartRequest$Builder", + "name": "com.google.cloud.chronicle.v1.ListRuleRevisionsRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2340,7 +5409,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DuplicateChartResponse", + "name": "com.google.cloud.chronicle.v1.ListRuleRevisionsRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2349,7 +5418,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DuplicateChartResponse$Builder", + "name": "com.google.cloud.chronicle.v1.ListRuleRevisionsResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2358,7 +5427,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DuplicateNativeDashboardRequest", + "name": "com.google.cloud.chronicle.v1.ListRuleRevisionsResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2367,7 +5436,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.DuplicateNativeDashboardRequest$Builder", + "name": "com.google.cloud.chronicle.v1.ListRulesRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2376,7 +5445,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.EditChartRequest", + "name": "com.google.cloud.chronicle.v1.ListRulesRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2385,7 +5454,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.EditChartRequest$Builder", + "name": "com.google.cloud.chronicle.v1.ListRulesResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2394,7 +5463,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.EditChartResponse", + "name": "com.google.cloud.chronicle.v1.ListRulesResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2403,7 +5472,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.EditChartResponse$Builder", + "name": "com.google.cloud.chronicle.v1.ListWatchlistsRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2412,7 +5481,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryRequest", + "name": "com.google.cloud.chronicle.v1.ListWatchlistsRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2421,7 +5490,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryRequest$Builder", + "name": "com.google.cloud.chronicle.v1.ListWatchlistsResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2430,7 +5499,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse", + "name": "com.google.cloud.chronicle.v1.ListWatchlistsResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2439,7 +5508,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse$Builder", + "name": "com.google.cloud.chronicle.v1.LogTypeSchema", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2448,7 +5517,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse$ColumnData", + "name": "com.google.cloud.chronicle.v1.LogTypeSchema$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2457,7 +5526,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse$ColumnData$Builder", + "name": "com.google.cloud.chronicle.v1.LogTypeSchema$DetailsFieldSchema", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2466,7 +5535,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse$ColumnType", + "name": "com.google.cloud.chronicle.v1.LogTypeSchema$DetailsFieldSchema$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2475,7 +5544,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse$ColumnType$Builder", + "name": "com.google.cloud.chronicle.v1.LogTypeSchema$DetailsFieldSchemaAlternative", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2484,7 +5553,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse$ColumnType$List", + "name": "com.google.cloud.chronicle.v1.LogTypeSchema$DetailsFieldSchemaAlternative$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2493,7 +5562,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse$ColumnType$List$Builder", + "name": "com.google.cloud.chronicle.v1.LogTypeSchema$DetailsFieldSchemaSet", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2502,7 +5571,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse$ColumnValue", + "name": "com.google.cloud.chronicle.v1.LogTypeSchema$DetailsFieldSchemaSet$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2511,7 +5580,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse$ColumnValue$Builder", + "name": "com.google.cloud.chronicle.v1.LogTypeSchema$EnumFieldSchema", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2520,7 +5589,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse$ColumnValue$ValueMetadata", + "name": "com.google.cloud.chronicle.v1.LogTypeSchema$EnumFieldSchema$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2529,7 +5598,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse$ColumnValue$ValueMetadata$Builder", + "name": "com.google.cloud.chronicle.v1.MandiantIoCSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2538,7 +5607,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ExportNativeDashboardsRequest", + "name": "com.google.cloud.chronicle.v1.MandiantIoCSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2547,7 +5616,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ExportNativeDashboardsRequest$Builder", + "name": "com.google.cloud.chronicle.v1.Markdown", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2556,7 +5625,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ExportNativeDashboardsResponse", + "name": "com.google.cloud.chronicle.v1.Markdown$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2565,7 +5634,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ExportNativeDashboardsResponse$Builder", + "name": "com.google.cloud.chronicle.v1.Markdown$MarkdownProperties", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2574,7 +5643,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.FeaturedContentMetadata", + "name": "com.google.cloud.chronicle.v1.Markdown$MarkdownProperties$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2583,7 +5652,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.FeaturedContentMetadata$Builder", + "name": "com.google.cloud.chronicle.v1.MetricDisplayTrend", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2592,7 +5661,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.FeaturedContentMetadata$ContentSourceType", + "name": "com.google.cloud.chronicle.v1.MetricFormat", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2601,7 +5670,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.FeaturedContentNativeDashboard", + "name": "com.google.cloud.chronicle.v1.MetricTrendType", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2610,7 +5679,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.FeaturedContentNativeDashboard$Builder", + "name": "com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2619,7 +5688,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.FilterOperator", + "name": "com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2628,7 +5697,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.FilterOperatorAndValues", + "name": "com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2637,7 +5706,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.FilterOperatorAndValues$Builder", + "name": "com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2646,7 +5715,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.FindingsRefinement", + "name": "com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2655,7 +5724,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.FindingsRefinement$Builder", + "name": "com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2664,7 +5733,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.FindingsRefinementActivity", + "name": "com.google.cloud.chronicle.v1.MimecastMailSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2673,7 +5742,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.FindingsRefinementActivity$Builder", + "name": "com.google.cloud.chronicle.v1.MimecastMailSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2682,7 +5751,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.FindingsRefinementDeployment", + "name": "com.google.cloud.chronicle.v1.MimecastMailV2Settings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2691,7 +5760,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.FindingsRefinementDeployment$Builder", + "name": "com.google.cloud.chronicle.v1.MimecastMailV2Settings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2700,7 +5769,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.FindingsRefinementType", + "name": "com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2709,7 +5778,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetBigQueryExportRequest", + "name": "com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2718,7 +5787,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetBigQueryExportRequest$Builder", + "name": "com.google.cloud.chronicle.v1.MssoAuthentication", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2727,7 +5796,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetDashboardChartRequest", + "name": "com.google.cloud.chronicle.v1.MssoAuthentication$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2736,7 +5805,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetDashboardChartRequest$Builder", + "name": "com.google.cloud.chronicle.v1.NativeDashboard", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2745,7 +5814,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetDashboardQueryRequest", + "name": "com.google.cloud.chronicle.v1.NativeDashboard$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2754,7 +5823,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetDashboardQueryRequest$Builder", + "name": "com.google.cloud.chronicle.v1.NativeDashboardView", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2763,7 +5832,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetDataAccessLabelRequest", + "name": "com.google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2772,7 +5841,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetDataAccessLabelRequest$Builder", + "name": "com.google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2781,7 +5850,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetDataAccessScopeRequest", + "name": "com.google.cloud.chronicle.v1.NetskopeAlertSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2790,7 +5859,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetDataAccessScopeRequest$Builder", + "name": "com.google.cloud.chronicle.v1.NetskopeAlertSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2799,7 +5868,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetDataTableOperationErrorsRequest", + "name": "com.google.cloud.chronicle.v1.NetskopeAlertV2Settings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2808,7 +5877,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetDataTableOperationErrorsRequest$Builder", + "name": "com.google.cloud.chronicle.v1.NetskopeAlertV2Settings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2817,7 +5886,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetDataTableRequest", + "name": "com.google.cloud.chronicle.v1.OAuthClientCredentials", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2826,7 +5895,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetDataTableRequest$Builder", + "name": "com.google.cloud.chronicle.v1.OAuthClientCredentials$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2835,7 +5904,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetDataTableRowRequest", + "name": "com.google.cloud.chronicle.v1.OAuthJWTCredentials", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2844,7 +5913,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetDataTableRowRequest$Builder", + "name": "com.google.cloud.chronicle.v1.OAuthJWTCredentials$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2853,7 +5922,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetFeaturedContentNativeDashboardRequest", + "name": "com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2862,7 +5931,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetFeaturedContentNativeDashboardRequest$Builder", + "name": "com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2871,7 +5940,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetFindingsRefinementDeploymentRequest", + "name": "com.google.cloud.chronicle.v1.OAuthRefreshToken", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2880,7 +5949,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetFindingsRefinementDeploymentRequest$Builder", + "name": "com.google.cloud.chronicle.v1.OAuthRefreshToken$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2889,7 +5958,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetFindingsRefinementRequest", + "name": "com.google.cloud.chronicle.v1.Office365Settings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2898,7 +5967,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetFindingsRefinementRequest$Builder", + "name": "com.google.cloud.chronicle.v1.Office365Settings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2907,7 +5976,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetInstanceRequest", + "name": "com.google.cloud.chronicle.v1.Office365Settings$ContentType", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2916,7 +5985,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetInstanceRequest$Builder", + "name": "com.google.cloud.chronicle.v1.OktaSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2925,7 +5994,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetNativeDashboardRequest", + "name": "com.google.cloud.chronicle.v1.OktaSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2934,7 +6003,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetNativeDashboardRequest$Builder", + "name": "com.google.cloud.chronicle.v1.OktaUserContextSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2943,7 +6012,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetReferenceListRequest", + "name": "com.google.cloud.chronicle.v1.OktaUserContextSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2952,7 +6021,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetReferenceListRequest$Builder", + "name": "com.google.cloud.chronicle.v1.OutcomeFilter", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2961,7 +6030,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetRetrohuntRequest", + "name": "com.google.cloud.chronicle.v1.OutcomeFilter$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2970,7 +6039,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetRetrohuntRequest$Builder", + "name": "com.google.cloud.chronicle.v1.OutcomeFilter$Operator", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2979,7 +6048,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetRuleDeploymentRequest", + "name": "com.google.cloud.chronicle.v1.PackLogType", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2988,7 +6057,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetRuleDeploymentRequest$Builder", + "name": "com.google.cloud.chronicle.v1.PackLogType$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -2997,7 +6066,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetRuleRequest", + "name": "com.google.cloud.chronicle.v1.PanIocSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3006,7 +6075,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetRuleRequest$Builder", + "name": "com.google.cloud.chronicle.v1.PanIocSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3015,7 +6084,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetWatchlistRequest", + "name": "com.google.cloud.chronicle.v1.PanPrismaAuth", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3024,7 +6093,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.GetWatchlistRequest$Builder", + "name": "com.google.cloud.chronicle.v1.PanPrismaAuth$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3033,7 +6102,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ImportExportStatus", + "name": "com.google.cloud.chronicle.v1.PanPrismaCloudSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3042,7 +6111,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ImportExportStatus$Builder", + "name": "com.google.cloud.chronicle.v1.PanPrismaCloudSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3051,7 +6120,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ImportNativeDashboardsInlineSource", + "name": "com.google.cloud.chronicle.v1.PlotMode", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3060,7 +6129,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ImportNativeDashboardsInlineSource$Builder", + "name": "com.google.cloud.chronicle.v1.PointSizeType", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3069,7 +6138,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ImportNativeDashboardsRequest", + "name": "com.google.cloud.chronicle.v1.ProofpointMailSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3078,7 +6147,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ImportNativeDashboardsRequest$Builder", + "name": "com.google.cloud.chronicle.v1.ProofpointMailSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3087,7 +6156,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ImportNativeDashboardsResponse", + "name": "com.google.cloud.chronicle.v1.ProofpointOnDemandSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3096,7 +6165,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ImportNativeDashboardsResponse$Builder", + "name": "com.google.cloud.chronicle.v1.ProofpointOnDemandSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3105,7 +6174,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.InAppLink", + "name": "com.google.cloud.chronicle.v1.ProvisionBigQueryExportRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3114,7 +6183,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.InAppLink$Builder", + "name": "com.google.cloud.chronicle.v1.ProvisionBigQueryExportRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3123,7 +6192,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.IngestionLabel", + "name": "com.google.cloud.chronicle.v1.PubsubSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3132,7 +6201,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.IngestionLabel$Builder", + "name": "com.google.cloud.chronicle.v1.PubsubSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3141,7 +6210,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.InlineDestination", + "name": "com.google.cloud.chronicle.v1.QualysScanSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3150,7 +6219,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.InlineDestination$Builder", + "name": "com.google.cloud.chronicle.v1.QualysScanSettings$ApiType", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3159,7 +6228,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.InputsUsed", + "name": "com.google.cloud.chronicle.v1.QualysScanSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3168,7 +6237,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.InputsUsed$Builder", + "name": "com.google.cloud.chronicle.v1.QualysVMSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3177,7 +6246,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.InstallFeaturedContentNativeDashboardRequest", + "name": "com.google.cloud.chronicle.v1.QualysVMSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3186,7 +6255,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.InstallFeaturedContentNativeDashboardRequest$Builder", + "name": "com.google.cloud.chronicle.v1.QueryRuntimeError", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3195,7 +6264,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.InstallFeaturedContentNativeDashboardResponse", + "name": "com.google.cloud.chronicle.v1.QueryRuntimeError$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3204,7 +6273,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.InstallFeaturedContentNativeDashboardResponse$Builder", + "name": "com.google.cloud.chronicle.v1.QueryRuntimeError$ErrorSeverity", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3213,7 +6282,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.Instance", + "name": "com.google.cloud.chronicle.v1.QueryRuntimeError$MetadataKey", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3222,7 +6291,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.Instance$Builder", + "name": "com.google.cloud.chronicle.v1.QueryRuntimeError$QueryRuntimeErrorMetadata", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3231,7 +6300,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.LanguageFeature", + "name": "com.google.cloud.chronicle.v1.QueryRuntimeError$QueryRuntimeErrorMetadata$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3240,7 +6309,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.LatestExportJobState", + "name": "com.google.cloud.chronicle.v1.QueryRuntimeError$WarningReason", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3249,7 +6318,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.LegendAlign", + "name": "com.google.cloud.chronicle.v1.RHIsacIocSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3258,7 +6327,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.LegendOrient", + "name": "com.google.cloud.chronicle.v1.RHIsacIocSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3267,7 +6336,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListAllFindingsRefinementDeploymentsRequest", + "name": "com.google.cloud.chronicle.v1.RSCredentials", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3276,7 +6345,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListAllFindingsRefinementDeploymentsRequest$Builder", + "name": "com.google.cloud.chronicle.v1.RSCredentials$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3285,7 +6354,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListAllFindingsRefinementDeploymentsResponse", + "name": "com.google.cloud.chronicle.v1.Rapid7InsightSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3294,7 +6363,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListAllFindingsRefinementDeploymentsResponse$Builder", + "name": "com.google.cloud.chronicle.v1.Rapid7InsightSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3303,7 +6372,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListDataAccessLabelsRequest", + "name": "com.google.cloud.chronicle.v1.RecordedFutureIocSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3312,7 +6381,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListDataAccessLabelsRequest$Builder", + "name": "com.google.cloud.chronicle.v1.RecordedFutureIocSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3321,7 +6390,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListDataAccessLabelsResponse", + "name": "com.google.cloud.chronicle.v1.ReferenceList", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3330,7 +6399,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListDataAccessLabelsResponse$Builder", + "name": "com.google.cloud.chronicle.v1.ReferenceList$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3339,7 +6408,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListDataAccessScopesRequest", + "name": "com.google.cloud.chronicle.v1.ReferenceListEntry", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3348,7 +6417,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListDataAccessScopesRequest$Builder", + "name": "com.google.cloud.chronicle.v1.ReferenceListEntry$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3357,7 +6426,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListDataAccessScopesResponse", + "name": "com.google.cloud.chronicle.v1.ReferenceListError", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3366,7 +6435,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListDataAccessScopesResponse$Builder", + "name": "com.google.cloud.chronicle.v1.ReferenceListError$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3375,7 +6444,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListDataTableRowsRequest", + "name": "com.google.cloud.chronicle.v1.ReferenceListScope", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3384,7 +6453,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListDataTableRowsRequest$Builder", + "name": "com.google.cloud.chronicle.v1.ReferenceListScope$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3393,7 +6462,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListDataTableRowsResponse", + "name": "com.google.cloud.chronicle.v1.ReferenceListSyntaxType", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3402,7 +6471,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListDataTableRowsResponse$Builder", + "name": "com.google.cloud.chronicle.v1.ReferenceListView", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3411,7 +6480,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListDataTablesRequest", + "name": "com.google.cloud.chronicle.v1.RemoveChartRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3420,7 +6489,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListDataTablesRequest$Builder", + "name": "com.google.cloud.chronicle.v1.RemoveChartRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3429,7 +6498,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListDataTablesResponse", + "name": "com.google.cloud.chronicle.v1.RenderType", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3438,7 +6507,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListDataTablesResponse$Builder", + "name": "com.google.cloud.chronicle.v1.Retrohunt", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3447,7 +6516,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListFeaturedContentNativeDashboardsRequest", + "name": "com.google.cloud.chronicle.v1.Retrohunt$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3456,7 +6525,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListFeaturedContentNativeDashboardsRequest$Builder", + "name": "com.google.cloud.chronicle.v1.Retrohunt$State", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3465,7 +6534,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListFeaturedContentNativeDashboardsResponse", + "name": "com.google.cloud.chronicle.v1.RetrohuntMetadata", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3474,7 +6543,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListFeaturedContentNativeDashboardsResponse$Builder", + "name": "com.google.cloud.chronicle.v1.RetrohuntMetadata$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3483,7 +6552,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListFindingsRefinementsRequest", + "name": "com.google.cloud.chronicle.v1.Rule", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3492,7 +6561,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListFindingsRefinementsRequest$Builder", + "name": "com.google.cloud.chronicle.v1.Rule$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3501,7 +6570,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListFindingsRefinementsResponse", + "name": "com.google.cloud.chronicle.v1.Rule$CompilationState", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3510,7 +6579,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListFindingsRefinementsResponse$Builder", + "name": "com.google.cloud.chronicle.v1.RuleDeployment", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3519,7 +6588,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListNativeDashboardsRequest", + "name": "com.google.cloud.chronicle.v1.RuleDeployment$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3528,7 +6597,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListNativeDashboardsRequest$Builder", + "name": "com.google.cloud.chronicle.v1.RuleDeployment$ExecutionState", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3537,7 +6606,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListNativeDashboardsResponse", + "name": "com.google.cloud.chronicle.v1.RuleExecutionError", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3546,7 +6615,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListNativeDashboardsResponse$Builder", + "name": "com.google.cloud.chronicle.v1.RuleExecutionError$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3555,7 +6624,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListReferenceListsRequest", + "name": "com.google.cloud.chronicle.v1.RuleType", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3564,7 +6633,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListReferenceListsRequest$Builder", + "name": "com.google.cloud.chronicle.v1.RuleView", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3573,7 +6642,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListReferenceListsResponse", + "name": "com.google.cloud.chronicle.v1.RunFrequency", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3582,7 +6651,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListReferenceListsResponse$Builder", + "name": "com.google.cloud.chronicle.v1.S3Auth", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3591,7 +6660,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListRetrohuntsRequest", + "name": "com.google.cloud.chronicle.v1.S3Auth$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3600,7 +6669,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListRetrohuntsRequest$Builder", + "name": "com.google.cloud.chronicle.v1.S3AuthV2", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3609,7 +6678,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListRetrohuntsResponse", + "name": "com.google.cloud.chronicle.v1.S3AuthV2$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3618,7 +6687,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListRetrohuntsResponse$Builder", + "name": "com.google.cloud.chronicle.v1.S3Region", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3627,7 +6696,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListRuleDeploymentsRequest", + "name": "com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3636,7 +6705,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListRuleDeploymentsRequest$Builder", + "name": "com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3645,7 +6714,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListRuleDeploymentsResponse", + "name": "com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3654,7 +6723,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListRuleDeploymentsResponse$Builder", + "name": "com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3663,7 +6732,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListRuleExecutionErrorsRequest", + "name": "com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3672,7 +6741,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListRuleExecutionErrorsRequest$Builder", + "name": "com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3681,7 +6750,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListRuleExecutionErrorsResponse", + "name": "com.google.cloud.chronicle.v1.SQSAuth", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3690,7 +6759,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListRuleExecutionErrorsResponse$Builder", + "name": "com.google.cloud.chronicle.v1.SQSAuth$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3699,7 +6768,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListRuleRevisionsRequest", + "name": "com.google.cloud.chronicle.v1.SQSAuthV2", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3708,7 +6777,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListRuleRevisionsRequest$Builder", + "name": "com.google.cloud.chronicle.v1.SQSAuthV2$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3717,7 +6786,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListRuleRevisionsResponse", + "name": "com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3726,7 +6795,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListRuleRevisionsResponse$Builder", + "name": "com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3735,7 +6804,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListRulesRequest", + "name": "com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3744,7 +6813,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListRulesRequest$Builder", + "name": "com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3753,7 +6822,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListRulesResponse", + "name": "com.google.cloud.chronicle.v1.SSLClientKeypair", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3762,7 +6831,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListRulesResponse$Builder", + "name": "com.google.cloud.chronicle.v1.SSLClientKeypair$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3771,7 +6840,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListWatchlistsRequest", + "name": "com.google.cloud.chronicle.v1.SalesforceSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3780,7 +6849,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListWatchlistsRequest$Builder", + "name": "com.google.cloud.chronicle.v1.SalesforceSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3789,7 +6858,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListWatchlistsResponse", + "name": "com.google.cloud.chronicle.v1.ScopeInfo", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3798,7 +6867,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ListWatchlistsResponse$Builder", + "name": "com.google.cloud.chronicle.v1.ScopeInfo$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3807,7 +6876,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.Markdown", + "name": "com.google.cloud.chronicle.v1.SemanticType", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3816,7 +6885,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.Markdown$Builder", + "name": "com.google.cloud.chronicle.v1.SentineloneAlertSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3825,7 +6894,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.Markdown$MarkdownProperties", + "name": "com.google.cloud.chronicle.v1.SentineloneAlertSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3834,7 +6903,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.Markdown$MarkdownProperties$Builder", + "name": "com.google.cloud.chronicle.v1.SeriesStackStrategy", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3843,7 +6912,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.MetricDisplayTrend", + "name": "com.google.cloud.chronicle.v1.SeriesType", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3852,7 +6921,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.MetricFormat", + "name": "com.google.cloud.chronicle.v1.ServiceNowCMDBSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3861,7 +6930,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.MetricTrendType", + "name": "com.google.cloud.chronicle.v1.ServiceNowCMDBSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3870,7 +6939,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.NativeDashboard", + "name": "com.google.cloud.chronicle.v1.Severity", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3879,7 +6948,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.NativeDashboard$Builder", + "name": "com.google.cloud.chronicle.v1.Severity$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3888,7 +6957,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.NativeDashboardView", + "name": "com.google.cloud.chronicle.v1.SftpAuth", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3897,7 +6966,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries", + "name": "com.google.cloud.chronicle.v1.SftpAuth$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3906,7 +6975,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueries$Builder", + "name": "com.google.cloud.chronicle.v1.SftpSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3915,7 +6984,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.OutcomeFilter", + "name": "com.google.cloud.chronicle.v1.SftpSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3924,7 +6993,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.OutcomeFilter$Builder", + "name": "com.google.cloud.chronicle.v1.SourceDeletionOption", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3933,7 +7002,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.OutcomeFilter$Operator", + "name": "com.google.cloud.chronicle.v1.SourceDeletionOptionV2", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3942,7 +7011,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.PlotMode", + "name": "com.google.cloud.chronicle.v1.SymantecEventExportSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3951,7 +7020,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.PointSizeType", + "name": "com.google.cloud.chronicle.v1.SymantecEventExportSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3960,7 +7029,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ProvisionBigQueryExportRequest", + "name": "com.google.cloud.chronicle.v1.ThinkstCanarySettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3969,7 +7038,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ProvisionBigQueryExportRequest$Builder", + "name": "com.google.cloud.chronicle.v1.ThinkstCanarySettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3978,7 +7047,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.QueryRuntimeError", + "name": "com.google.cloud.chronicle.v1.ThreatConnectIoCSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3987,7 +7056,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.QueryRuntimeError$Builder", + "name": "com.google.cloud.chronicle.v1.ThreatConnectIoCSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -3996,7 +7065,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.QueryRuntimeError$ErrorSeverity", + "name": "com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4005,7 +7074,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.QueryRuntimeError$MetadataKey", + "name": "com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4014,7 +7083,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.QueryRuntimeError$QueryRuntimeErrorMetadata", + "name": "com.google.cloud.chronicle.v1.TileType", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4023,7 +7092,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.QueryRuntimeError$QueryRuntimeErrorMetadata$Builder", + "name": "com.google.cloud.chronicle.v1.TimeUnit", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4032,7 +7101,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.QueryRuntimeError$WarningReason", + "name": "com.google.cloud.chronicle.v1.TimestampMetadata", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4041,7 +7110,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ReferenceList", + "name": "com.google.cloud.chronicle.v1.TimestampMetadata$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4050,7 +7119,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ReferenceList$Builder", + "name": "com.google.cloud.chronicle.v1.ToolTipTrigger", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4059,7 +7128,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ReferenceListEntry", + "name": "com.google.cloud.chronicle.v1.TrellixHxAlertsSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4068,7 +7137,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ReferenceListEntry$Builder", + "name": "com.google.cloud.chronicle.v1.TrellixHxAlertsSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4077,7 +7146,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ReferenceListError", + "name": "com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4086,7 +7155,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ReferenceListError$Builder", + "name": "com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4095,7 +7164,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ReferenceListScope", + "name": "com.google.cloud.chronicle.v1.TrellixHxHostsSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4104,7 +7173,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ReferenceListScope$Builder", + "name": "com.google.cloud.chronicle.v1.TrellixHxHostsSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4113,7 +7182,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ReferenceListSyntaxType", + "name": "com.google.cloud.chronicle.v1.TrellixIAMAuthentication", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4122,7 +7191,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ReferenceListView", + "name": "com.google.cloud.chronicle.v1.TrellixIAMAuthentication$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4131,7 +7200,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.RemoveChartRequest", + "name": "com.google.cloud.chronicle.v1.TrellixLocalAuthentication", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4140,7 +7209,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.RemoveChartRequest$Builder", + "name": "com.google.cloud.chronicle.v1.TrellixLocalAuthentication$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4149,7 +7218,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.RenderType", + "name": "com.google.cloud.chronicle.v1.TrellixStarXAuthentication", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4158,7 +7227,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.Retrohunt", + "name": "com.google.cloud.chronicle.v1.TrellixStarXAuthentication$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4167,7 +7236,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.Retrohunt$Builder", + "name": "com.google.cloud.chronicle.v1.URISourceType", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4176,7 +7245,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.Retrohunt$State", + "name": "com.google.cloud.chronicle.v1.UpdateBigQueryExportRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4185,7 +7254,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.RetrohuntMetadata", + "name": "com.google.cloud.chronicle.v1.UpdateBigQueryExportRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4194,7 +7263,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.RetrohuntMetadata$Builder", + "name": "com.google.cloud.chronicle.v1.UpdateDataAccessLabelRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4203,7 +7272,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.Rule", + "name": "com.google.cloud.chronicle.v1.UpdateDataAccessLabelRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4212,7 +7281,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.Rule$Builder", + "name": "com.google.cloud.chronicle.v1.UpdateDataAccessScopeRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4221,7 +7290,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.Rule$CompilationState", + "name": "com.google.cloud.chronicle.v1.UpdateDataAccessScopeRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4230,7 +7299,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.RuleDeployment", + "name": "com.google.cloud.chronicle.v1.UpdateDataTableRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4239,7 +7308,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.RuleDeployment$Builder", + "name": "com.google.cloud.chronicle.v1.UpdateDataTableRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4248,7 +7317,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.RuleDeployment$ExecutionState", + "name": "com.google.cloud.chronicle.v1.UpdateDataTableRowRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4257,7 +7326,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.RuleExecutionError", + "name": "com.google.cloud.chronicle.v1.UpdateDataTableRowRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4266,7 +7335,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.RuleExecutionError$Builder", + "name": "com.google.cloud.chronicle.v1.UpdateFeedRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4275,7 +7344,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.RuleType", + "name": "com.google.cloud.chronicle.v1.UpdateFeedRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4284,7 +7353,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.RuleView", + "name": "com.google.cloud.chronicle.v1.UpdateFindingsRefinementDeploymentRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4293,7 +7362,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.RunFrequency", + "name": "com.google.cloud.chronicle.v1.UpdateFindingsRefinementDeploymentRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4302,7 +7371,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ScopeInfo", + "name": "com.google.cloud.chronicle.v1.UpdateFindingsRefinementRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4311,7 +7380,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ScopeInfo$Builder", + "name": "com.google.cloud.chronicle.v1.UpdateFindingsRefinementRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4320,7 +7389,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.SeriesStackStrategy", + "name": "com.google.cloud.chronicle.v1.UpdateNativeDashboardRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4329,7 +7398,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.SeriesType", + "name": "com.google.cloud.chronicle.v1.UpdateNativeDashboardRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4338,7 +7407,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.Severity", + "name": "com.google.cloud.chronicle.v1.UpdateReferenceListRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4347,7 +7416,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.Severity$Builder", + "name": "com.google.cloud.chronicle.v1.UpdateReferenceListRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4356,7 +7425,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.TileType", + "name": "com.google.cloud.chronicle.v1.UpdateRuleDeploymentRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4365,7 +7434,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.TimeUnit", + "name": "com.google.cloud.chronicle.v1.UpdateRuleDeploymentRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4374,7 +7443,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.TimestampMetadata", + "name": "com.google.cloud.chronicle.v1.UpdateRuleRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4383,7 +7452,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.TimestampMetadata$Builder", + "name": "com.google.cloud.chronicle.v1.UpdateRuleRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4392,7 +7461,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.ToolTipTrigger", + "name": "com.google.cloud.chronicle.v1.UpdateWatchlistRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4401,7 +7470,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.UpdateBigQueryExportRequest", + "name": "com.google.cloud.chronicle.v1.UpdateWatchlistRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4410,7 +7479,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.UpdateBigQueryExportRequest$Builder", + "name": "com.google.cloud.chronicle.v1.UsernameSecretAuth", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4419,7 +7488,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.UpdateDataAccessLabelRequest", + "name": "com.google.cloud.chronicle.v1.UsernameSecretAuth$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4428,7 +7497,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.UpdateDataAccessLabelRequest$Builder", + "name": "com.google.cloud.chronicle.v1.VerifyReferenceListRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4437,7 +7506,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.UpdateDataAccessScopeRequest", + "name": "com.google.cloud.chronicle.v1.VerifyReferenceListRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4446,7 +7515,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.UpdateDataAccessScopeRequest$Builder", + "name": "com.google.cloud.chronicle.v1.VerifyReferenceListResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4455,7 +7524,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.UpdateDataTableRequest", + "name": "com.google.cloud.chronicle.v1.VerifyReferenceListResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4464,7 +7533,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.UpdateDataTableRequest$Builder", + "name": "com.google.cloud.chronicle.v1.VerifyRuleTextRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4473,7 +7542,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.UpdateDataTableRowRequest", + "name": "com.google.cloud.chronicle.v1.VerifyRuleTextRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4482,7 +7551,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.UpdateDataTableRowRequest$Builder", + "name": "com.google.cloud.chronicle.v1.VerifyRuleTextResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4491,7 +7560,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.UpdateFindingsRefinementDeploymentRequest", + "name": "com.google.cloud.chronicle.v1.VerifyRuleTextResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4500,7 +7569,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.UpdateFindingsRefinementDeploymentRequest$Builder", + "name": "com.google.cloud.chronicle.v1.VisualMapType", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4509,7 +7578,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.UpdateFindingsRefinementRequest", + "name": "com.google.cloud.chronicle.v1.Watchlist", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4518,7 +7587,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.UpdateFindingsRefinementRequest$Builder", + "name": "com.google.cloud.chronicle.v1.Watchlist$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4527,7 +7596,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.UpdateNativeDashboardRequest", + "name": "com.google.cloud.chronicle.v1.Watchlist$EntityCount", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4536,7 +7605,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.UpdateNativeDashboardRequest$Builder", + "name": "com.google.cloud.chronicle.v1.Watchlist$EntityCount$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4545,7 +7614,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.UpdateReferenceListRequest", + "name": "com.google.cloud.chronicle.v1.Watchlist$EntityPopulationMechanism", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4554,7 +7623,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.UpdateReferenceListRequest$Builder", + "name": "com.google.cloud.chronicle.v1.Watchlist$EntityPopulationMechanism$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4563,7 +7632,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.UpdateRuleDeploymentRequest", + "name": "com.google.cloud.chronicle.v1.Watchlist$EntityPopulationMechanism$Manual", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4572,7 +7641,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.UpdateRuleDeploymentRequest$Builder", + "name": "com.google.cloud.chronicle.v1.Watchlist$EntityPopulationMechanism$Manual$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4581,7 +7650,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.UpdateRuleRequest", + "name": "com.google.cloud.chronicle.v1.WatchlistUserPreferences", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4590,7 +7659,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.UpdateRuleRequest$Builder", + "name": "com.google.cloud.chronicle.v1.WatchlistUserPreferences$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4599,7 +7668,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.UpdateWatchlistRequest", + "name": "com.google.cloud.chronicle.v1.WebhookSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4608,7 +7677,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.UpdateWatchlistRequest$Builder", + "name": "com.google.cloud.chronicle.v1.WebhookSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4617,7 +7686,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.VerifyReferenceListRequest", + "name": "com.google.cloud.chronicle.v1.WorkdayAuth", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4626,7 +7695,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.VerifyReferenceListRequest$Builder", + "name": "com.google.cloud.chronicle.v1.WorkdayAuth$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4635,7 +7704,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.VerifyReferenceListResponse", + "name": "com.google.cloud.chronicle.v1.WorkdaySettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4644,7 +7713,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.VerifyReferenceListResponse$Builder", + "name": "com.google.cloud.chronicle.v1.WorkdaySettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4653,7 +7722,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.VerifyRuleTextRequest", + "name": "com.google.cloud.chronicle.v1.WorkspaceActivitySettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4662,7 +7731,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.VerifyRuleTextRequest$Builder", + "name": "com.google.cloud.chronicle.v1.WorkspaceActivitySettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4671,7 +7740,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.VerifyRuleTextResponse", + "name": "com.google.cloud.chronicle.v1.WorkspaceAlertsSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4680,7 +7749,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.VerifyRuleTextResponse$Builder", + "name": "com.google.cloud.chronicle.v1.WorkspaceAlertsSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4689,7 +7758,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.VisualMapType", + "name": "com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4698,7 +7767,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.Watchlist", + "name": "com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4707,7 +7776,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.Watchlist$Builder", + "name": "com.google.cloud.chronicle.v1.WorkspaceGroupsSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4716,7 +7785,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.Watchlist$EntityCount", + "name": "com.google.cloud.chronicle.v1.WorkspaceGroupsSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4725,7 +7794,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.Watchlist$EntityCount$Builder", + "name": "com.google.cloud.chronicle.v1.WorkspaceMobileSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4734,7 +7803,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.Watchlist$EntityPopulationMechanism", + "name": "com.google.cloud.chronicle.v1.WorkspaceMobileSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4743,7 +7812,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.Watchlist$EntityPopulationMechanism$Builder", + "name": "com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4752,7 +7821,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.Watchlist$EntityPopulationMechanism$Manual", + "name": "com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4761,7 +7830,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.Watchlist$EntityPopulationMechanism$Manual$Builder", + "name": "com.google.cloud.chronicle.v1.WorkspaceUsersSettings", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4770,7 +7839,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.WatchlistUserPreferences", + "name": "com.google.cloud.chronicle.v1.WorkspaceUsersSettings$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -4779,7 +7848,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.chronicle.v1.WatchlistUserPreferences$Builder", + "name": "com.google.cloud.chronicle.v1.WorkspaceUsersSettings$ProjectionType", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, diff --git a/java-chronicle/google-cloud-chronicle/src/test/java/com/google/cloud/chronicle/v1/FeedsServiceClientHttpJsonTest.java b/java-chronicle/google-cloud-chronicle/src/test/java/com/google/cloud/chronicle/v1/FeedsServiceClientHttpJsonTest.java new file mode 100644 index 000000000000..f7e29f6c73b5 --- /dev/null +++ b/java-chronicle/google-cloud-chronicle/src/test/java/com/google/cloud/chronicle/v1/FeedsServiceClientHttpJsonTest.java @@ -0,0 +1,1460 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1; + +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListFeedPacksPagedResponse; +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListFeedSourceTypeSchemasPagedResponse; +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListFeedsPagedResponse; +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListLogTypeSchemasPagedResponse; + +import com.google.api.HttpBody; +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.chronicle.v1.stub.HttpJsonFeedsServiceStub; +import com.google.common.collect.Lists; +import com.google.protobuf.Any; +import com.google.protobuf.ByteString; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import com.google.protobuf.Timestamp; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class FeedsServiceClientHttpJsonTest { + private static MockHttpService mockService; + private static FeedsServiceClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonFeedsServiceStub.getMethodDescriptors(), + FeedsServiceSettings.getDefaultEndpoint()); + FeedsServiceSettings settings = + FeedsServiceSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + FeedsServiceSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = FeedsServiceClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void fetchServiceAccountForCustomerTest() throws Exception { + FeedServiceAccount expectedResponse = + FeedServiceAccount.newBuilder() + .setName( + FeedServiceAccountName.of( + "[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_SERVICE_ACCOUNT]") + .toString()) + .setSubjectId("subjectId258589543") + .build(); + mockService.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]"); + + FeedServiceAccount actualResponse = client.fetchServiceAccountForCustomer(parent); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void fetchServiceAccountForCustomerExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]"); + client.fetchServiceAccountForCustomer(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void fetchServiceAccountForCustomerTest2() throws Exception { + FeedServiceAccount expectedResponse = + FeedServiceAccount.newBuilder() + .setName( + FeedServiceAccountName.of( + "[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_SERVICE_ACCOUNT]") + .toString()) + .setSubjectId("subjectId258589543") + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5197/locations/location-5197/instances/instance-5197"; + + FeedServiceAccount actualResponse = client.fetchServiceAccountForCustomer(parent); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void fetchServiceAccountForCustomerExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5197/locations/location-5197/instances/instance-5197"; + client.fetchServiceAccountForCustomer(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createFeedTest() throws Exception { + Feed expectedResponse = + Feed.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .setUid("uid115792") + .setDisplayName("displayName1714148973") + .setDetails(FeedDetails.newBuilder().build()) + .setFailureMsg("failureMsg1036654999") + .setReadOnly(true) + .setLastFeedInitiationTime(Timestamp.newBuilder().build()) + .setFailureDetails(FeedFailureDetails.newBuilder().build()) + .setReferenceId("referenceId-16211514") + .build(); + mockService.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]"); + Feed feed = Feed.newBuilder().build(); + + Feed actualResponse = client.createFeed(parent, feed); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createFeedExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]"); + Feed feed = Feed.newBuilder().build(); + client.createFeed(parent, feed); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createFeedTest2() throws Exception { + Feed expectedResponse = + Feed.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .setUid("uid115792") + .setDisplayName("displayName1714148973") + .setDetails(FeedDetails.newBuilder().build()) + .setFailureMsg("failureMsg1036654999") + .setReadOnly(true) + .setLastFeedInitiationTime(Timestamp.newBuilder().build()) + .setFailureDetails(FeedFailureDetails.newBuilder().build()) + .setReferenceId("referenceId-16211514") + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5197/locations/location-5197/instances/instance-5197"; + Feed feed = Feed.newBuilder().build(); + + Feed actualResponse = client.createFeed(parent, feed); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createFeedExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5197/locations/location-5197/instances/instance-5197"; + Feed feed = Feed.newBuilder().build(); + client.createFeed(parent, feed); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getFeedTest() throws Exception { + Feed expectedResponse = + Feed.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .setUid("uid115792") + .setDisplayName("displayName1714148973") + .setDetails(FeedDetails.newBuilder().build()) + .setFailureMsg("failureMsg1036654999") + .setReadOnly(true) + .setLastFeedInitiationTime(Timestamp.newBuilder().build()) + .setFailureDetails(FeedFailureDetails.newBuilder().build()) + .setReferenceId("referenceId-16211514") + .build(); + mockService.addResponse(expectedResponse); + + FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + + Feed actualResponse = client.getFeed(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getFeedExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + client.getFeed(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getFeedTest2() throws Exception { + Feed expectedResponse = + Feed.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .setUid("uid115792") + .setDisplayName("displayName1714148973") + .setDetails(FeedDetails.newBuilder().build()) + .setFailureMsg("failureMsg1036654999") + .setReadOnly(true) + .setLastFeedInitiationTime(Timestamp.newBuilder().build()) + .setFailureDetails(FeedFailureDetails.newBuilder().build()) + .setReferenceId("referenceId-16211514") + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-5653/locations/location-5653/instances/instance-5653/feeds/feed-5653"; + + Feed actualResponse = client.getFeed(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getFeedExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-5653/locations/location-5653/instances/instance-5653/feeds/feed-5653"; + client.getFeed(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteFeedTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + + client.deleteFeed(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteFeedExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + client.deleteFeed(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteFeedTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-5653/locations/location-5653/instances/instance-5653/feeds/feed-5653"; + + client.deleteFeed(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteFeedExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-5653/locations/location-5653/instances/instance-5653/feeds/feed-5653"; + client.deleteFeed(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void enableFeedTest() throws Exception { + Feed expectedResponse = + Feed.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .setUid("uid115792") + .setDisplayName("displayName1714148973") + .setDetails(FeedDetails.newBuilder().build()) + .setFailureMsg("failureMsg1036654999") + .setReadOnly(true) + .setLastFeedInitiationTime(Timestamp.newBuilder().build()) + .setFailureDetails(FeedFailureDetails.newBuilder().build()) + .setReferenceId("referenceId-16211514") + .build(); + mockService.addResponse(expectedResponse); + + FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + + Feed actualResponse = client.enableFeed(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void enableFeedExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + client.enableFeed(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void enableFeedTest2() throws Exception { + Feed expectedResponse = + Feed.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .setUid("uid115792") + .setDisplayName("displayName1714148973") + .setDetails(FeedDetails.newBuilder().build()) + .setFailureMsg("failureMsg1036654999") + .setReadOnly(true) + .setLastFeedInitiationTime(Timestamp.newBuilder().build()) + .setFailureDetails(FeedFailureDetails.newBuilder().build()) + .setReferenceId("referenceId-16211514") + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-5653/locations/location-5653/instances/instance-5653/feeds/feed-5653"; + + Feed actualResponse = client.enableFeed(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void enableFeedExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-5653/locations/location-5653/instances/instance-5653/feeds/feed-5653"; + client.enableFeed(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void disableFeedTest() throws Exception { + Feed expectedResponse = + Feed.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .setUid("uid115792") + .setDisplayName("displayName1714148973") + .setDetails(FeedDetails.newBuilder().build()) + .setFailureMsg("failureMsg1036654999") + .setReadOnly(true) + .setLastFeedInitiationTime(Timestamp.newBuilder().build()) + .setFailureDetails(FeedFailureDetails.newBuilder().build()) + .setReferenceId("referenceId-16211514") + .build(); + mockService.addResponse(expectedResponse); + + FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + + Feed actualResponse = client.disableFeed(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void disableFeedExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + client.disableFeed(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void disableFeedTest2() throws Exception { + Feed expectedResponse = + Feed.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .setUid("uid115792") + .setDisplayName("displayName1714148973") + .setDetails(FeedDetails.newBuilder().build()) + .setFailureMsg("failureMsg1036654999") + .setReadOnly(true) + .setLastFeedInitiationTime(Timestamp.newBuilder().build()) + .setFailureDetails(FeedFailureDetails.newBuilder().build()) + .setReferenceId("referenceId-16211514") + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-5653/locations/location-5653/instances/instance-5653/feeds/feed-5653"; + + Feed actualResponse = client.disableFeed(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void disableFeedExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-5653/locations/location-5653/instances/instance-5653/feeds/feed-5653"; + client.disableFeed(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listFeedsTest() throws Exception { + Feed responsesElement = Feed.newBuilder().build(); + ListFeedsResponse expectedResponse = + ListFeedsResponse.newBuilder() + .setNextPageToken("") + .addAllFeeds(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]"); + + ListFeedsPagedResponse pagedListResponse = client.listFeeds(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getFeedsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listFeedsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]"); + client.listFeeds(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listFeedsTest2() throws Exception { + Feed responsesElement = Feed.newBuilder().build(); + ListFeedsResponse expectedResponse = + ListFeedsResponse.newBuilder() + .setNextPageToken("") + .addAllFeeds(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5197/locations/location-5197/instances/instance-5197"; + + ListFeedsPagedResponse pagedListResponse = client.listFeeds(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getFeedsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listFeedsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5197/locations/location-5197/instances/instance-5197"; + client.listFeeds(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listFeedPacksTest() throws Exception { + FeedPack responsesElement = FeedPack.newBuilder().build(); + ListFeedPacksResponse expectedResponse = + ListFeedPacksResponse.newBuilder() + .setNextPageToken("") + .addAllFeedPacks(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]"); + + ListFeedPacksPagedResponse pagedListResponse = client.listFeedPacks(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getFeedPacksList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listFeedPacksExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]"); + client.listFeedPacks(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listFeedPacksTest2() throws Exception { + FeedPack responsesElement = FeedPack.newBuilder().build(); + ListFeedPacksResponse expectedResponse = + ListFeedPacksResponse.newBuilder() + .setNextPageToken("") + .addAllFeedPacks(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5197/locations/location-5197/instances/instance-5197"; + + ListFeedPacksPagedResponse pagedListResponse = client.listFeedPacks(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getFeedPacksList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listFeedPacksExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5197/locations/location-5197/instances/instance-5197"; + client.listFeedPacks(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getFeedPackTest() throws Exception { + FeedPack expectedResponse = + FeedPack.newBuilder() + .setName( + FeedPackName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_PACK]").toString()) + .setDisplayName("displayName1714148973") + .setDescription("description-1724546052") + .setIcon(ByteString.EMPTY) + .addAllCategories(new ArrayList()) + .addAllPackLogTypes(new ArrayList()) + .setHidden(true) + .setPackDocumentation("packDocumentation2019598625") + .build(); + mockService.addResponse(expectedResponse); + + FeedPackName name = FeedPackName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_PACK]"); + + FeedPack actualResponse = client.getFeedPack(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getFeedPackExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + FeedPackName name = FeedPackName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_PACK]"); + client.getFeedPack(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getFeedPackTest2() throws Exception { + FeedPack expectedResponse = + FeedPack.newBuilder() + .setName( + FeedPackName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_PACK]").toString()) + .setDisplayName("displayName1714148973") + .setDescription("description-1724546052") + .setIcon(ByteString.EMPTY) + .addAllCategories(new ArrayList()) + .addAllPackLogTypes(new ArrayList()) + .setHidden(true) + .setPackDocumentation("packDocumentation2019598625") + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-52/locations/location-52/instances/instance-52/feedPacks/feedPack-52"; + + FeedPack actualResponse = client.getFeedPack(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getFeedPackExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-52/locations/location-52/instances/instance-52/feedPacks/feedPack-52"; + client.getFeedPack(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateFeedTest() throws Exception { + Feed expectedResponse = + Feed.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .setUid("uid115792") + .setDisplayName("displayName1714148973") + .setDetails(FeedDetails.newBuilder().build()) + .setFailureMsg("failureMsg1036654999") + .setReadOnly(true) + .setLastFeedInitiationTime(Timestamp.newBuilder().build()) + .setFailureDetails(FeedFailureDetails.newBuilder().build()) + .setReferenceId("referenceId-16211514") + .build(); + mockService.addResponse(expectedResponse); + + Feed feed = + Feed.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .setUid("uid115792") + .setDisplayName("displayName1714148973") + .setDetails(FeedDetails.newBuilder().build()) + .setFailureMsg("failureMsg1036654999") + .setReadOnly(true) + .setLastFeedInitiationTime(Timestamp.newBuilder().build()) + .setFailureDetails(FeedFailureDetails.newBuilder().build()) + .setReferenceId("referenceId-16211514") + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Feed actualResponse = client.updateFeed(feed, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateFeedExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + Feed feed = + Feed.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .setUid("uid115792") + .setDisplayName("displayName1714148973") + .setDetails(FeedDetails.newBuilder().build()) + .setFailureMsg("failureMsg1036654999") + .setReadOnly(true) + .setLastFeedInitiationTime(Timestamp.newBuilder().build()) + .setFailureDetails(FeedFailureDetails.newBuilder().build()) + .setReferenceId("referenceId-16211514") + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateFeed(feed, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listFeedSourceTypeSchemasTest() throws Exception { + FeedSourceTypeSchema responsesElement = FeedSourceTypeSchema.newBuilder().build(); + ListFeedSourceTypeSchemasResponse expectedResponse = + ListFeedSourceTypeSchemasResponse.newBuilder() + .setNextPageToken("") + .addAllFeedSourceTypeSchemas(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]"); + + ListFeedSourceTypeSchemasPagedResponse pagedListResponse = + client.listFeedSourceTypeSchemas(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getFeedSourceTypeSchemasList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listFeedSourceTypeSchemasExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]"); + client.listFeedSourceTypeSchemas(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listFeedSourceTypeSchemasTest2() throws Exception { + FeedSourceTypeSchema responsesElement = FeedSourceTypeSchema.newBuilder().build(); + ListFeedSourceTypeSchemasResponse expectedResponse = + ListFeedSourceTypeSchemasResponse.newBuilder() + .setNextPageToken("") + .addAllFeedSourceTypeSchemas(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5197/locations/location-5197/instances/instance-5197"; + + ListFeedSourceTypeSchemasPagedResponse pagedListResponse = + client.listFeedSourceTypeSchemas(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getFeedSourceTypeSchemasList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listFeedSourceTypeSchemasExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5197/locations/location-5197/instances/instance-5197"; + client.listFeedSourceTypeSchemas(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listLogTypeSchemasTest() throws Exception { + LogTypeSchema responsesElement = LogTypeSchema.newBuilder().build(); + ListLogTypeSchemasResponse expectedResponse = + ListLogTypeSchemasResponse.newBuilder() + .setNextPageToken("") + .addAllLogTypeSchemas(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + FeedSourceTypeSchemaName parent = + FeedSourceTypeSchemaName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_SOURCE_TYPE]"); + + ListLogTypeSchemasPagedResponse pagedListResponse = client.listLogTypeSchemas(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getLogTypeSchemasList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listLogTypeSchemasExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + FeedSourceTypeSchemaName parent = + FeedSourceTypeSchemaName.of( + "[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_SOURCE_TYPE]"); + client.listLogTypeSchemas(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listLogTypeSchemasTest2() throws Exception { + LogTypeSchema responsesElement = LogTypeSchema.newBuilder().build(); + ListLogTypeSchemasResponse expectedResponse = + ListLogTypeSchemasResponse.newBuilder() + .setNextPageToken("") + .addAllLogTypeSchemas(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = + "projects/project-4130/locations/location-4130/instances/instance-4130/feedSourceTypeSchemas/feedSourceTypeSchema-4130"; + + ListLogTypeSchemasPagedResponse pagedListResponse = client.listLogTypeSchemas(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getLogTypeSchemasList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listLogTypeSchemasExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = + "projects/project-4130/locations/location-4130/instances/instance-4130/feedSourceTypeSchemas/feedSourceTypeSchema-4130"; + client.listLogTypeSchemas(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void importPushLogsTest() throws Exception { + HttpBody expectedResponse = + HttpBody.newBuilder() + .setContentType("contentType-389131437") + .setData(ByteString.EMPTY) + .addAllExtensions(new ArrayList()) + .build(); + mockService.addResponse(expectedResponse); + + FeedName parent = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + + HttpBody actualResponse = client.importPushLogs(parent); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void importPushLogsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + FeedName parent = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + client.importPushLogs(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void importPushLogsTest2() throws Exception { + HttpBody expectedResponse = + HttpBody.newBuilder() + .setContentType("contentType-389131437") + .setData(ByteString.EMPTY) + .addAllExtensions(new ArrayList()) + .build(); + mockService.addResponse(expectedResponse); + + String parent = + "projects/project-8708/locations/location-8708/instances/instance-8708/feeds/feed-8708"; + + HttpBody actualResponse = client.importPushLogs(parent); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void importPushLogsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = + "projects/project-8708/locations/location-8708/instances/instance-8708/feeds/feed-8708"; + client.importPushLogs(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void generateSecretTest() throws Exception { + GenerateSecretResponse expectedResponse = + GenerateSecretResponse.newBuilder().setSecret("secret-906277200").build(); + mockService.addResponse(expectedResponse); + + FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + + GenerateSecretResponse actualResponse = client.generateSecret(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void generateSecretExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + client.generateSecret(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void generateSecretTest2() throws Exception { + GenerateSecretResponse expectedResponse = + GenerateSecretResponse.newBuilder().setSecret("secret-906277200").build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-5653/locations/location-5653/instances/instance-5653/feeds/feed-5653"; + + GenerateSecretResponse actualResponse = client.generateSecret(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void generateSecretExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-5653/locations/location-5653/instances/instance-5653/feeds/feed-5653"; + client.generateSecret(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/java-chronicle/google-cloud-chronicle/src/test/java/com/google/cloud/chronicle/v1/FeedsServiceClientTest.java b/java-chronicle/google-cloud-chronicle/src/test/java/com/google/cloud/chronicle/v1/FeedsServiceClientTest.java new file mode 100644 index 000000000000..89868f8ab0db --- /dev/null +++ b/java-chronicle/google-cloud-chronicle/src/test/java/com/google/cloud/chronicle/v1/FeedsServiceClientTest.java @@ -0,0 +1,1270 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1; + +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListFeedPacksPagedResponse; +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListFeedSourceTypeSchemasPagedResponse; +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListFeedsPagedResponse; +import static com.google.cloud.chronicle.v1.FeedsServiceClient.ListLogTypeSchemasPagedResponse; + +import com.google.api.HttpBody; +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.testing.LocalChannelProvider; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.api.gax.grpc.testing.MockServiceHelper; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.common.collect.Lists; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Any; +import com.google.protobuf.ByteString; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import com.google.protobuf.Timestamp; +import io.grpc.StatusRuntimeException; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.UUID; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class FeedsServiceClientTest { + private static MockFeedsService mockFeedsService; + private static MockServiceHelper mockServiceHelper; + private LocalChannelProvider channelProvider; + private FeedsServiceClient client; + + @BeforeClass + public static void startStaticServer() { + mockFeedsService = new MockFeedsService(); + mockServiceHelper = + new MockServiceHelper( + UUID.randomUUID().toString(), Arrays.asList(mockFeedsService)); + mockServiceHelper.start(); + } + + @AfterClass + public static void stopServer() { + mockServiceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + mockServiceHelper.reset(); + channelProvider = mockServiceHelper.createChannelProvider(); + FeedsServiceSettings settings = + FeedsServiceSettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = FeedsServiceClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + public void fetchServiceAccountForCustomerTest() throws Exception { + FeedServiceAccount expectedResponse = + FeedServiceAccount.newBuilder() + .setName( + FeedServiceAccountName.of( + "[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_SERVICE_ACCOUNT]") + .toString()) + .setSubjectId("subjectId258589543") + .build(); + mockFeedsService.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]"); + + FeedServiceAccount actualResponse = client.fetchServiceAccountForCustomer(parent); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockFeedsService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + FetchServiceAccountForCustomerRequest actualRequest = + ((FetchServiceAccountForCustomerRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void fetchServiceAccountForCustomerExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeedsService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]"); + client.fetchServiceAccountForCustomer(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void fetchServiceAccountForCustomerTest2() throws Exception { + FeedServiceAccount expectedResponse = + FeedServiceAccount.newBuilder() + .setName( + FeedServiceAccountName.of( + "[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_SERVICE_ACCOUNT]") + .toString()) + .setSubjectId("subjectId258589543") + .build(); + mockFeedsService.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + FeedServiceAccount actualResponse = client.fetchServiceAccountForCustomer(parent); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockFeedsService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + FetchServiceAccountForCustomerRequest actualRequest = + ((FetchServiceAccountForCustomerRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void fetchServiceAccountForCustomerExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeedsService.addException(exception); + + try { + String parent = "parent-995424086"; + client.fetchServiceAccountForCustomer(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createFeedTest() throws Exception { + Feed expectedResponse = + Feed.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .setUid("uid115792") + .setDisplayName("displayName1714148973") + .setDetails(FeedDetails.newBuilder().build()) + .setFailureMsg("failureMsg1036654999") + .setReadOnly(true) + .setLastFeedInitiationTime(Timestamp.newBuilder().build()) + .setFailureDetails(FeedFailureDetails.newBuilder().build()) + .setReferenceId("referenceId-16211514") + .build(); + mockFeedsService.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]"); + Feed feed = Feed.newBuilder().build(); + + Feed actualResponse = client.createFeed(parent, feed); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockFeedsService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateFeedRequest actualRequest = ((CreateFeedRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(feed, actualRequest.getFeed()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createFeedExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeedsService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]"); + Feed feed = Feed.newBuilder().build(); + client.createFeed(parent, feed); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createFeedTest2() throws Exception { + Feed expectedResponse = + Feed.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .setUid("uid115792") + .setDisplayName("displayName1714148973") + .setDetails(FeedDetails.newBuilder().build()) + .setFailureMsg("failureMsg1036654999") + .setReadOnly(true) + .setLastFeedInitiationTime(Timestamp.newBuilder().build()) + .setFailureDetails(FeedFailureDetails.newBuilder().build()) + .setReferenceId("referenceId-16211514") + .build(); + mockFeedsService.addResponse(expectedResponse); + + String parent = "parent-995424086"; + Feed feed = Feed.newBuilder().build(); + + Feed actualResponse = client.createFeed(parent, feed); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockFeedsService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateFeedRequest actualRequest = ((CreateFeedRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(feed, actualRequest.getFeed()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createFeedExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeedsService.addException(exception); + + try { + String parent = "parent-995424086"; + Feed feed = Feed.newBuilder().build(); + client.createFeed(parent, feed); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getFeedTest() throws Exception { + Feed expectedResponse = + Feed.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .setUid("uid115792") + .setDisplayName("displayName1714148973") + .setDetails(FeedDetails.newBuilder().build()) + .setFailureMsg("failureMsg1036654999") + .setReadOnly(true) + .setLastFeedInitiationTime(Timestamp.newBuilder().build()) + .setFailureDetails(FeedFailureDetails.newBuilder().build()) + .setReferenceId("referenceId-16211514") + .build(); + mockFeedsService.addResponse(expectedResponse); + + FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + + Feed actualResponse = client.getFeed(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockFeedsService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetFeedRequest actualRequest = ((GetFeedRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getFeedExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeedsService.addException(exception); + + try { + FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + client.getFeed(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getFeedTest2() throws Exception { + Feed expectedResponse = + Feed.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .setUid("uid115792") + .setDisplayName("displayName1714148973") + .setDetails(FeedDetails.newBuilder().build()) + .setFailureMsg("failureMsg1036654999") + .setReadOnly(true) + .setLastFeedInitiationTime(Timestamp.newBuilder().build()) + .setFailureDetails(FeedFailureDetails.newBuilder().build()) + .setReferenceId("referenceId-16211514") + .build(); + mockFeedsService.addResponse(expectedResponse); + + String name = "name3373707"; + + Feed actualResponse = client.getFeed(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockFeedsService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetFeedRequest actualRequest = ((GetFeedRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getFeedExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeedsService.addException(exception); + + try { + String name = "name3373707"; + client.getFeed(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteFeedTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockFeedsService.addResponse(expectedResponse); + + FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + + client.deleteFeed(name); + + List actualRequests = mockFeedsService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteFeedRequest actualRequest = ((DeleteFeedRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteFeedExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeedsService.addException(exception); + + try { + FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + client.deleteFeed(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteFeedTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockFeedsService.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteFeed(name); + + List actualRequests = mockFeedsService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteFeedRequest actualRequest = ((DeleteFeedRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteFeedExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeedsService.addException(exception); + + try { + String name = "name3373707"; + client.deleteFeed(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void enableFeedTest() throws Exception { + Feed expectedResponse = + Feed.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .setUid("uid115792") + .setDisplayName("displayName1714148973") + .setDetails(FeedDetails.newBuilder().build()) + .setFailureMsg("failureMsg1036654999") + .setReadOnly(true) + .setLastFeedInitiationTime(Timestamp.newBuilder().build()) + .setFailureDetails(FeedFailureDetails.newBuilder().build()) + .setReferenceId("referenceId-16211514") + .build(); + mockFeedsService.addResponse(expectedResponse); + + FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + + Feed actualResponse = client.enableFeed(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockFeedsService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + EnableFeedRequest actualRequest = ((EnableFeedRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void enableFeedExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeedsService.addException(exception); + + try { + FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + client.enableFeed(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void enableFeedTest2() throws Exception { + Feed expectedResponse = + Feed.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .setUid("uid115792") + .setDisplayName("displayName1714148973") + .setDetails(FeedDetails.newBuilder().build()) + .setFailureMsg("failureMsg1036654999") + .setReadOnly(true) + .setLastFeedInitiationTime(Timestamp.newBuilder().build()) + .setFailureDetails(FeedFailureDetails.newBuilder().build()) + .setReferenceId("referenceId-16211514") + .build(); + mockFeedsService.addResponse(expectedResponse); + + String name = "name3373707"; + + Feed actualResponse = client.enableFeed(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockFeedsService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + EnableFeedRequest actualRequest = ((EnableFeedRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void enableFeedExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeedsService.addException(exception); + + try { + String name = "name3373707"; + client.enableFeed(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void disableFeedTest() throws Exception { + Feed expectedResponse = + Feed.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .setUid("uid115792") + .setDisplayName("displayName1714148973") + .setDetails(FeedDetails.newBuilder().build()) + .setFailureMsg("failureMsg1036654999") + .setReadOnly(true) + .setLastFeedInitiationTime(Timestamp.newBuilder().build()) + .setFailureDetails(FeedFailureDetails.newBuilder().build()) + .setReferenceId("referenceId-16211514") + .build(); + mockFeedsService.addResponse(expectedResponse); + + FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + + Feed actualResponse = client.disableFeed(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockFeedsService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DisableFeedRequest actualRequest = ((DisableFeedRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void disableFeedExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeedsService.addException(exception); + + try { + FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + client.disableFeed(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void disableFeedTest2() throws Exception { + Feed expectedResponse = + Feed.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .setUid("uid115792") + .setDisplayName("displayName1714148973") + .setDetails(FeedDetails.newBuilder().build()) + .setFailureMsg("failureMsg1036654999") + .setReadOnly(true) + .setLastFeedInitiationTime(Timestamp.newBuilder().build()) + .setFailureDetails(FeedFailureDetails.newBuilder().build()) + .setReferenceId("referenceId-16211514") + .build(); + mockFeedsService.addResponse(expectedResponse); + + String name = "name3373707"; + + Feed actualResponse = client.disableFeed(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockFeedsService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DisableFeedRequest actualRequest = ((DisableFeedRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void disableFeedExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeedsService.addException(exception); + + try { + String name = "name3373707"; + client.disableFeed(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listFeedsTest() throws Exception { + Feed responsesElement = Feed.newBuilder().build(); + ListFeedsResponse expectedResponse = + ListFeedsResponse.newBuilder() + .setNextPageToken("") + .addAllFeeds(Arrays.asList(responsesElement)) + .build(); + mockFeedsService.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]"); + + ListFeedsPagedResponse pagedListResponse = client.listFeeds(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getFeedsList().get(0), resources.get(0)); + + List actualRequests = mockFeedsService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListFeedsRequest actualRequest = ((ListFeedsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listFeedsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeedsService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]"); + client.listFeeds(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listFeedsTest2() throws Exception { + Feed responsesElement = Feed.newBuilder().build(); + ListFeedsResponse expectedResponse = + ListFeedsResponse.newBuilder() + .setNextPageToken("") + .addAllFeeds(Arrays.asList(responsesElement)) + .build(); + mockFeedsService.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListFeedsPagedResponse pagedListResponse = client.listFeeds(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getFeedsList().get(0), resources.get(0)); + + List actualRequests = mockFeedsService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListFeedsRequest actualRequest = ((ListFeedsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listFeedsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeedsService.addException(exception); + + try { + String parent = "parent-995424086"; + client.listFeeds(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listFeedPacksTest() throws Exception { + FeedPack responsesElement = FeedPack.newBuilder().build(); + ListFeedPacksResponse expectedResponse = + ListFeedPacksResponse.newBuilder() + .setNextPageToken("") + .addAllFeedPacks(Arrays.asList(responsesElement)) + .build(); + mockFeedsService.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]"); + + ListFeedPacksPagedResponse pagedListResponse = client.listFeedPacks(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getFeedPacksList().get(0), resources.get(0)); + + List actualRequests = mockFeedsService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListFeedPacksRequest actualRequest = ((ListFeedPacksRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listFeedPacksExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeedsService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]"); + client.listFeedPacks(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listFeedPacksTest2() throws Exception { + FeedPack responsesElement = FeedPack.newBuilder().build(); + ListFeedPacksResponse expectedResponse = + ListFeedPacksResponse.newBuilder() + .setNextPageToken("") + .addAllFeedPacks(Arrays.asList(responsesElement)) + .build(); + mockFeedsService.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListFeedPacksPagedResponse pagedListResponse = client.listFeedPacks(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getFeedPacksList().get(0), resources.get(0)); + + List actualRequests = mockFeedsService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListFeedPacksRequest actualRequest = ((ListFeedPacksRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listFeedPacksExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeedsService.addException(exception); + + try { + String parent = "parent-995424086"; + client.listFeedPacks(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getFeedPackTest() throws Exception { + FeedPack expectedResponse = + FeedPack.newBuilder() + .setName( + FeedPackName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_PACK]").toString()) + .setDisplayName("displayName1714148973") + .setDescription("description-1724546052") + .setIcon(ByteString.EMPTY) + .addAllCategories(new ArrayList()) + .addAllPackLogTypes(new ArrayList()) + .setHidden(true) + .setPackDocumentation("packDocumentation2019598625") + .build(); + mockFeedsService.addResponse(expectedResponse); + + FeedPackName name = FeedPackName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_PACK]"); + + FeedPack actualResponse = client.getFeedPack(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockFeedsService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetFeedPackRequest actualRequest = ((GetFeedPackRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getFeedPackExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeedsService.addException(exception); + + try { + FeedPackName name = FeedPackName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_PACK]"); + client.getFeedPack(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getFeedPackTest2() throws Exception { + FeedPack expectedResponse = + FeedPack.newBuilder() + .setName( + FeedPackName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_PACK]").toString()) + .setDisplayName("displayName1714148973") + .setDescription("description-1724546052") + .setIcon(ByteString.EMPTY) + .addAllCategories(new ArrayList()) + .addAllPackLogTypes(new ArrayList()) + .setHidden(true) + .setPackDocumentation("packDocumentation2019598625") + .build(); + mockFeedsService.addResponse(expectedResponse); + + String name = "name3373707"; + + FeedPack actualResponse = client.getFeedPack(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockFeedsService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetFeedPackRequest actualRequest = ((GetFeedPackRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getFeedPackExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeedsService.addException(exception); + + try { + String name = "name3373707"; + client.getFeedPack(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateFeedTest() throws Exception { + Feed expectedResponse = + Feed.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .setUid("uid115792") + .setDisplayName("displayName1714148973") + .setDetails(FeedDetails.newBuilder().build()) + .setFailureMsg("failureMsg1036654999") + .setReadOnly(true) + .setLastFeedInitiationTime(Timestamp.newBuilder().build()) + .setFailureDetails(FeedFailureDetails.newBuilder().build()) + .setReferenceId("referenceId-16211514") + .build(); + mockFeedsService.addResponse(expectedResponse); + + Feed feed = Feed.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Feed actualResponse = client.updateFeed(feed, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockFeedsService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateFeedRequest actualRequest = ((UpdateFeedRequest) actualRequests.get(0)); + + Assert.assertEquals(feed, actualRequest.getFeed()); + Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateFeedExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeedsService.addException(exception); + + try { + Feed feed = Feed.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateFeed(feed, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listFeedSourceTypeSchemasTest() throws Exception { + FeedSourceTypeSchema responsesElement = FeedSourceTypeSchema.newBuilder().build(); + ListFeedSourceTypeSchemasResponse expectedResponse = + ListFeedSourceTypeSchemasResponse.newBuilder() + .setNextPageToken("") + .addAllFeedSourceTypeSchemas(Arrays.asList(responsesElement)) + .build(); + mockFeedsService.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]"); + + ListFeedSourceTypeSchemasPagedResponse pagedListResponse = + client.listFeedSourceTypeSchemas(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getFeedSourceTypeSchemasList().get(0), resources.get(0)); + + List actualRequests = mockFeedsService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListFeedSourceTypeSchemasRequest actualRequest = + ((ListFeedSourceTypeSchemasRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listFeedSourceTypeSchemasExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeedsService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]"); + client.listFeedSourceTypeSchemas(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listFeedSourceTypeSchemasTest2() throws Exception { + FeedSourceTypeSchema responsesElement = FeedSourceTypeSchema.newBuilder().build(); + ListFeedSourceTypeSchemasResponse expectedResponse = + ListFeedSourceTypeSchemasResponse.newBuilder() + .setNextPageToken("") + .addAllFeedSourceTypeSchemas(Arrays.asList(responsesElement)) + .build(); + mockFeedsService.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListFeedSourceTypeSchemasPagedResponse pagedListResponse = + client.listFeedSourceTypeSchemas(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getFeedSourceTypeSchemasList().get(0), resources.get(0)); + + List actualRequests = mockFeedsService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListFeedSourceTypeSchemasRequest actualRequest = + ((ListFeedSourceTypeSchemasRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listFeedSourceTypeSchemasExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeedsService.addException(exception); + + try { + String parent = "parent-995424086"; + client.listFeedSourceTypeSchemas(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listLogTypeSchemasTest() throws Exception { + LogTypeSchema responsesElement = LogTypeSchema.newBuilder().build(); + ListLogTypeSchemasResponse expectedResponse = + ListLogTypeSchemasResponse.newBuilder() + .setNextPageToken("") + .addAllLogTypeSchemas(Arrays.asList(responsesElement)) + .build(); + mockFeedsService.addResponse(expectedResponse); + + FeedSourceTypeSchemaName parent = + FeedSourceTypeSchemaName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_SOURCE_TYPE]"); + + ListLogTypeSchemasPagedResponse pagedListResponse = client.listLogTypeSchemas(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getLogTypeSchemasList().get(0), resources.get(0)); + + List actualRequests = mockFeedsService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListLogTypeSchemasRequest actualRequest = ((ListLogTypeSchemasRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listLogTypeSchemasExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeedsService.addException(exception); + + try { + FeedSourceTypeSchemaName parent = + FeedSourceTypeSchemaName.of( + "[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_SOURCE_TYPE]"); + client.listLogTypeSchemas(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listLogTypeSchemasTest2() throws Exception { + LogTypeSchema responsesElement = LogTypeSchema.newBuilder().build(); + ListLogTypeSchemasResponse expectedResponse = + ListLogTypeSchemasResponse.newBuilder() + .setNextPageToken("") + .addAllLogTypeSchemas(Arrays.asList(responsesElement)) + .build(); + mockFeedsService.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListLogTypeSchemasPagedResponse pagedListResponse = client.listLogTypeSchemas(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getLogTypeSchemasList().get(0), resources.get(0)); + + List actualRequests = mockFeedsService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListLogTypeSchemasRequest actualRequest = ((ListLogTypeSchemasRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listLogTypeSchemasExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeedsService.addException(exception); + + try { + String parent = "parent-995424086"; + client.listLogTypeSchemas(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void importPushLogsTest() throws Exception { + HttpBody expectedResponse = + HttpBody.newBuilder() + .setContentType("contentType-389131437") + .setData(ByteString.EMPTY) + .addAllExtensions(new ArrayList()) + .build(); + mockFeedsService.addResponse(expectedResponse); + + FeedName parent = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + + HttpBody actualResponse = client.importPushLogs(parent); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockFeedsService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ImportPushLogsRequest actualRequest = ((ImportPushLogsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void importPushLogsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeedsService.addException(exception); + + try { + FeedName parent = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + client.importPushLogs(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void importPushLogsTest2() throws Exception { + HttpBody expectedResponse = + HttpBody.newBuilder() + .setContentType("contentType-389131437") + .setData(ByteString.EMPTY) + .addAllExtensions(new ArrayList()) + .build(); + mockFeedsService.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + HttpBody actualResponse = client.importPushLogs(parent); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockFeedsService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ImportPushLogsRequest actualRequest = ((ImportPushLogsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void importPushLogsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeedsService.addException(exception); + + try { + String parent = "parent-995424086"; + client.importPushLogs(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void generateSecretTest() throws Exception { + GenerateSecretResponse expectedResponse = + GenerateSecretResponse.newBuilder().setSecret("secret-906277200").build(); + mockFeedsService.addResponse(expectedResponse); + + FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + + GenerateSecretResponse actualResponse = client.generateSecret(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockFeedsService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GenerateSecretRequest actualRequest = ((GenerateSecretRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void generateSecretExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeedsService.addException(exception); + + try { + FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + client.generateSecret(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void generateSecretTest2() throws Exception { + GenerateSecretResponse expectedResponse = + GenerateSecretResponse.newBuilder().setSecret("secret-906277200").build(); + mockFeedsService.addResponse(expectedResponse); + + String name = "name3373707"; + + GenerateSecretResponse actualResponse = client.generateSecret(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockFeedsService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GenerateSecretRequest actualRequest = ((GenerateSecretRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void generateSecretExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeedsService.addException(exception); + + try { + String name = "name3373707"; + client.generateSecret(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/java-chronicle/google-cloud-chronicle/src/test/java/com/google/cloud/chronicle/v1/MockFeedsService.java b/java-chronicle/google-cloud-chronicle/src/test/java/com/google/cloud/chronicle/v1/MockFeedsService.java new file mode 100644 index 000000000000..df77cc1915c1 --- /dev/null +++ b/java-chronicle/google-cloud-chronicle/src/test/java/com/google/cloud/chronicle/v1/MockFeedsService.java @@ -0,0 +1,59 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockFeedsService implements MockGrpcService { + private final MockFeedsServiceImpl serviceImpl; + + public MockFeedsService() { + serviceImpl = new MockFeedsServiceImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/java-chronicle/google-cloud-chronicle/src/test/java/com/google/cloud/chronicle/v1/MockFeedsServiceImpl.java b/java-chronicle/google-cloud-chronicle/src/test/java/com/google/cloud/chronicle/v1/MockFeedsServiceImpl.java new file mode 100644 index 000000000000..a82b981bd3e5 --- /dev/null +++ b/java-chronicle/google-cloud-chronicle/src/test/java/com/google/cloud/chronicle/v1/MockFeedsServiceImpl.java @@ -0,0 +1,354 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1; + +import com.google.api.HttpBody; +import com.google.api.core.BetaApi; +import com.google.cloud.chronicle.v1.FeedsServiceGrpc.FeedsServiceImplBase; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Empty; +import io.grpc.stub.StreamObserver; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockFeedsServiceImpl extends FeedsServiceImplBase { + private List requests; + private Queue responses; + + public MockFeedsServiceImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + @Override + public void fetchServiceAccountForCustomer( + FetchServiceAccountForCustomerRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof FeedServiceAccount) { + requests.add(request); + responseObserver.onNext(((FeedServiceAccount) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method FetchServiceAccountForCustomer," + + " expected %s or %s", + response == null ? "null" : response.getClass().getName(), + FeedServiceAccount.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createFeed(CreateFeedRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Feed) { + requests.add(request); + responseObserver.onNext(((Feed) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateFeed, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Feed.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getFeed(GetFeedRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Feed) { + requests.add(request); + responseObserver.onNext(((Feed) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetFeed, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Feed.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteFeed(DeleteFeedRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteFeed, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void enableFeed(EnableFeedRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Feed) { + requests.add(request); + responseObserver.onNext(((Feed) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method EnableFeed, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Feed.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void disableFeed(DisableFeedRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Feed) { + requests.add(request); + responseObserver.onNext(((Feed) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DisableFeed, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Feed.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listFeeds( + ListFeedsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListFeedsResponse) { + requests.add(request); + responseObserver.onNext(((ListFeedsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListFeeds, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListFeedsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listFeedPacks( + ListFeedPacksRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListFeedPacksResponse) { + requests.add(request); + responseObserver.onNext(((ListFeedPacksResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListFeedPacks, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListFeedPacksResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getFeedPack(GetFeedPackRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof FeedPack) { + requests.add(request); + responseObserver.onNext(((FeedPack) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetFeedPack, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + FeedPack.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updateFeed(UpdateFeedRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Feed) { + requests.add(request); + responseObserver.onNext(((Feed) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UpdateFeed, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Feed.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listFeedSourceTypeSchemas( + ListFeedSourceTypeSchemasRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListFeedSourceTypeSchemasResponse) { + requests.add(request); + responseObserver.onNext(((ListFeedSourceTypeSchemasResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListFeedSourceTypeSchemas, expected %s" + + " or %s", + response == null ? "null" : response.getClass().getName(), + ListFeedSourceTypeSchemasResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listLogTypeSchemas( + ListLogTypeSchemasRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListLogTypeSchemasResponse) { + requests.add(request); + responseObserver.onNext(((ListLogTypeSchemasResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListLogTypeSchemas, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListLogTypeSchemasResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void importPushLogs( + ImportPushLogsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof HttpBody) { + requests.add(request); + responseObserver.onNext(((HttpBody) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ImportPushLogs, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + HttpBody.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void generateSecret( + GenerateSecretRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof GenerateSecretResponse) { + requests.add(request); + responseObserver.onNext(((GenerateSecretResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GenerateSecret, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + GenerateSecretResponse.class.getName(), + Exception.class.getName()))); + } + } +} diff --git a/java-chronicle/grpc-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedsServiceGrpc.java b/java-chronicle/grpc-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedsServiceGrpc.java new file mode 100644 index 000000000000..39c331718b3a --- /dev/null +++ b/java-chronicle/grpc-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedsServiceGrpc.java @@ -0,0 +1,2121 @@ +/* + * Copyright 2026 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. + */ +package com.google.cloud.chronicle.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * FeedsService contains procedures for managing Chronicle third-party feeds.
+ * 
+ */ +@io.grpc.stub.annotations.GrpcGenerated +public final class FeedsServiceGrpc { + + private FeedsServiceGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.chronicle.v1.FeedsService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest, + com.google.cloud.chronicle.v1.FeedServiceAccount> + getFetchServiceAccountForCustomerMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FetchServiceAccountForCustomer", + requestType = com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest.class, + responseType = com.google.cloud.chronicle.v1.FeedServiceAccount.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest, + com.google.cloud.chronicle.v1.FeedServiceAccount> + getFetchServiceAccountForCustomerMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest, + com.google.cloud.chronicle.v1.FeedServiceAccount> + getFetchServiceAccountForCustomerMethod; + if ((getFetchServiceAccountForCustomerMethod = + FeedsServiceGrpc.getFetchServiceAccountForCustomerMethod) + == null) { + synchronized (FeedsServiceGrpc.class) { + if ((getFetchServiceAccountForCustomerMethod = + FeedsServiceGrpc.getFetchServiceAccountForCustomerMethod) + == null) { + FeedsServiceGrpc.getFetchServiceAccountForCustomerMethod = + getFetchServiceAccountForCustomerMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "FetchServiceAccountForCustomer")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.chronicle.v1.FeedServiceAccount + .getDefaultInstance())) + .setSchemaDescriptor( + new FeedsServiceMethodDescriptorSupplier( + "FetchServiceAccountForCustomer")) + .build(); + } + } + } + return getFetchServiceAccountForCustomerMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.CreateFeedRequest, com.google.cloud.chronicle.v1.Feed> + getCreateFeedMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateFeed", + requestType = com.google.cloud.chronicle.v1.CreateFeedRequest.class, + responseType = com.google.cloud.chronicle.v1.Feed.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.CreateFeedRequest, com.google.cloud.chronicle.v1.Feed> + getCreateFeedMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.CreateFeedRequest, com.google.cloud.chronicle.v1.Feed> + getCreateFeedMethod; + if ((getCreateFeedMethod = FeedsServiceGrpc.getCreateFeedMethod) == null) { + synchronized (FeedsServiceGrpc.class) { + if ((getCreateFeedMethod = FeedsServiceGrpc.getCreateFeedMethod) == null) { + FeedsServiceGrpc.getCreateFeedMethod = + getCreateFeedMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateFeed")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.chronicle.v1.CreateFeedRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.chronicle.v1.Feed.getDefaultInstance())) + .setSchemaDescriptor(new FeedsServiceMethodDescriptorSupplier("CreateFeed")) + .build(); + } + } + } + return getCreateFeedMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.GetFeedRequest, com.google.cloud.chronicle.v1.Feed> + getGetFeedMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetFeed", + requestType = com.google.cloud.chronicle.v1.GetFeedRequest.class, + responseType = com.google.cloud.chronicle.v1.Feed.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.GetFeedRequest, com.google.cloud.chronicle.v1.Feed> + getGetFeedMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.GetFeedRequest, com.google.cloud.chronicle.v1.Feed> + getGetFeedMethod; + if ((getGetFeedMethod = FeedsServiceGrpc.getGetFeedMethod) == null) { + synchronized (FeedsServiceGrpc.class) { + if ((getGetFeedMethod = FeedsServiceGrpc.getGetFeedMethod) == null) { + FeedsServiceGrpc.getGetFeedMethod = + getGetFeedMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFeed")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.chronicle.v1.GetFeedRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.chronicle.v1.Feed.getDefaultInstance())) + .setSchemaDescriptor(new FeedsServiceMethodDescriptorSupplier("GetFeed")) + .build(); + } + } + } + return getGetFeedMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.DeleteFeedRequest, com.google.protobuf.Empty> + getDeleteFeedMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteFeed", + requestType = com.google.cloud.chronicle.v1.DeleteFeedRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.DeleteFeedRequest, com.google.protobuf.Empty> + getDeleteFeedMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.DeleteFeedRequest, com.google.protobuf.Empty> + getDeleteFeedMethod; + if ((getDeleteFeedMethod = FeedsServiceGrpc.getDeleteFeedMethod) == null) { + synchronized (FeedsServiceGrpc.class) { + if ((getDeleteFeedMethod = FeedsServiceGrpc.getDeleteFeedMethod) == null) { + FeedsServiceGrpc.getDeleteFeedMethod = + getDeleteFeedMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteFeed")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.chronicle.v1.DeleteFeedRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new FeedsServiceMethodDescriptorSupplier("DeleteFeed")) + .build(); + } + } + } + return getDeleteFeedMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.EnableFeedRequest, com.google.cloud.chronicle.v1.Feed> + getEnableFeedMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "EnableFeed", + requestType = com.google.cloud.chronicle.v1.EnableFeedRequest.class, + responseType = com.google.cloud.chronicle.v1.Feed.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.EnableFeedRequest, com.google.cloud.chronicle.v1.Feed> + getEnableFeedMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.EnableFeedRequest, com.google.cloud.chronicle.v1.Feed> + getEnableFeedMethod; + if ((getEnableFeedMethod = FeedsServiceGrpc.getEnableFeedMethod) == null) { + synchronized (FeedsServiceGrpc.class) { + if ((getEnableFeedMethod = FeedsServiceGrpc.getEnableFeedMethod) == null) { + FeedsServiceGrpc.getEnableFeedMethod = + getEnableFeedMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "EnableFeed")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.chronicle.v1.EnableFeedRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.chronicle.v1.Feed.getDefaultInstance())) + .setSchemaDescriptor(new FeedsServiceMethodDescriptorSupplier("EnableFeed")) + .build(); + } + } + } + return getEnableFeedMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.DisableFeedRequest, com.google.cloud.chronicle.v1.Feed> + getDisableFeedMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DisableFeed", + requestType = com.google.cloud.chronicle.v1.DisableFeedRequest.class, + responseType = com.google.cloud.chronicle.v1.Feed.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.DisableFeedRequest, com.google.cloud.chronicle.v1.Feed> + getDisableFeedMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.DisableFeedRequest, com.google.cloud.chronicle.v1.Feed> + getDisableFeedMethod; + if ((getDisableFeedMethod = FeedsServiceGrpc.getDisableFeedMethod) == null) { + synchronized (FeedsServiceGrpc.class) { + if ((getDisableFeedMethod = FeedsServiceGrpc.getDisableFeedMethod) == null) { + FeedsServiceGrpc.getDisableFeedMethod = + getDisableFeedMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DisableFeed")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.chronicle.v1.DisableFeedRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.chronicle.v1.Feed.getDefaultInstance())) + .setSchemaDescriptor(new FeedsServiceMethodDescriptorSupplier("DisableFeed")) + .build(); + } + } + } + return getDisableFeedMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.ListFeedsRequest, + com.google.cloud.chronicle.v1.ListFeedsResponse> + getListFeedsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFeeds", + requestType = com.google.cloud.chronicle.v1.ListFeedsRequest.class, + responseType = com.google.cloud.chronicle.v1.ListFeedsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.ListFeedsRequest, + com.google.cloud.chronicle.v1.ListFeedsResponse> + getListFeedsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.ListFeedsRequest, + com.google.cloud.chronicle.v1.ListFeedsResponse> + getListFeedsMethod; + if ((getListFeedsMethod = FeedsServiceGrpc.getListFeedsMethod) == null) { + synchronized (FeedsServiceGrpc.class) { + if ((getListFeedsMethod = FeedsServiceGrpc.getListFeedsMethod) == null) { + FeedsServiceGrpc.getListFeedsMethod = + getListFeedsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFeeds")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.chronicle.v1.ListFeedsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.chronicle.v1.ListFeedsResponse.getDefaultInstance())) + .setSchemaDescriptor(new FeedsServiceMethodDescriptorSupplier("ListFeeds")) + .build(); + } + } + } + return getListFeedsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.ListFeedPacksRequest, + com.google.cloud.chronicle.v1.ListFeedPacksResponse> + getListFeedPacksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFeedPacks", + requestType = com.google.cloud.chronicle.v1.ListFeedPacksRequest.class, + responseType = com.google.cloud.chronicle.v1.ListFeedPacksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.ListFeedPacksRequest, + com.google.cloud.chronicle.v1.ListFeedPacksResponse> + getListFeedPacksMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.ListFeedPacksRequest, + com.google.cloud.chronicle.v1.ListFeedPacksResponse> + getListFeedPacksMethod; + if ((getListFeedPacksMethod = FeedsServiceGrpc.getListFeedPacksMethod) == null) { + synchronized (FeedsServiceGrpc.class) { + if ((getListFeedPacksMethod = FeedsServiceGrpc.getListFeedPacksMethod) == null) { + FeedsServiceGrpc.getListFeedPacksMethod = + getListFeedPacksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFeedPacks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.chronicle.v1.ListFeedPacksRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.chronicle.v1.ListFeedPacksResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new FeedsServiceMethodDescriptorSupplier("ListFeedPacks")) + .build(); + } + } + } + return getListFeedPacksMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.GetFeedPackRequest, com.google.cloud.chronicle.v1.FeedPack> + getGetFeedPackMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetFeedPack", + requestType = com.google.cloud.chronicle.v1.GetFeedPackRequest.class, + responseType = com.google.cloud.chronicle.v1.FeedPack.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.GetFeedPackRequest, com.google.cloud.chronicle.v1.FeedPack> + getGetFeedPackMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.GetFeedPackRequest, + com.google.cloud.chronicle.v1.FeedPack> + getGetFeedPackMethod; + if ((getGetFeedPackMethod = FeedsServiceGrpc.getGetFeedPackMethod) == null) { + synchronized (FeedsServiceGrpc.class) { + if ((getGetFeedPackMethod = FeedsServiceGrpc.getGetFeedPackMethod) == null) { + FeedsServiceGrpc.getGetFeedPackMethod = + getGetFeedPackMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFeedPack")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.chronicle.v1.GetFeedPackRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.chronicle.v1.FeedPack.getDefaultInstance())) + .setSchemaDescriptor(new FeedsServiceMethodDescriptorSupplier("GetFeedPack")) + .build(); + } + } + } + return getGetFeedPackMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.UpdateFeedRequest, com.google.cloud.chronicle.v1.Feed> + getUpdateFeedMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateFeed", + requestType = com.google.cloud.chronicle.v1.UpdateFeedRequest.class, + responseType = com.google.cloud.chronicle.v1.Feed.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.UpdateFeedRequest, com.google.cloud.chronicle.v1.Feed> + getUpdateFeedMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.UpdateFeedRequest, com.google.cloud.chronicle.v1.Feed> + getUpdateFeedMethod; + if ((getUpdateFeedMethod = FeedsServiceGrpc.getUpdateFeedMethod) == null) { + synchronized (FeedsServiceGrpc.class) { + if ((getUpdateFeedMethod = FeedsServiceGrpc.getUpdateFeedMethod) == null) { + FeedsServiceGrpc.getUpdateFeedMethod = + getUpdateFeedMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateFeed")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.chronicle.v1.UpdateFeedRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.chronicle.v1.Feed.getDefaultInstance())) + .setSchemaDescriptor(new FeedsServiceMethodDescriptorSupplier("UpdateFeed")) + .build(); + } + } + } + return getUpdateFeedMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest, + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse> + getListFeedSourceTypeSchemasMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFeedSourceTypeSchemas", + requestType = com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest.class, + responseType = com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest, + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse> + getListFeedSourceTypeSchemasMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest, + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse> + getListFeedSourceTypeSchemasMethod; + if ((getListFeedSourceTypeSchemasMethod = FeedsServiceGrpc.getListFeedSourceTypeSchemasMethod) + == null) { + synchronized (FeedsServiceGrpc.class) { + if ((getListFeedSourceTypeSchemasMethod = + FeedsServiceGrpc.getListFeedSourceTypeSchemasMethod) + == null) { + FeedsServiceGrpc.getListFeedSourceTypeSchemasMethod = + getListFeedSourceTypeSchemasMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListFeedSourceTypeSchemas")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new FeedsServiceMethodDescriptorSupplier("ListFeedSourceTypeSchemas")) + .build(); + } + } + } + return getListFeedSourceTypeSchemasMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest, + com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse> + getListLogTypeSchemasMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListLogTypeSchemas", + requestType = com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest.class, + responseType = com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest, + com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse> + getListLogTypeSchemasMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest, + com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse> + getListLogTypeSchemasMethod; + if ((getListLogTypeSchemasMethod = FeedsServiceGrpc.getListLogTypeSchemasMethod) == null) { + synchronized (FeedsServiceGrpc.class) { + if ((getListLogTypeSchemasMethod = FeedsServiceGrpc.getListLogTypeSchemasMethod) == null) { + FeedsServiceGrpc.getListLogTypeSchemasMethod = + getListLogTypeSchemasMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListLogTypeSchemas")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new FeedsServiceMethodDescriptorSupplier("ListLogTypeSchemas")) + .build(); + } + } + } + return getListLogTypeSchemasMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.ImportPushLogsRequest, com.google.api.HttpBody> + getImportPushLogsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportPushLogs", + requestType = com.google.cloud.chronicle.v1.ImportPushLogsRequest.class, + responseType = com.google.api.HttpBody.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.ImportPushLogsRequest, com.google.api.HttpBody> + getImportPushLogsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.ImportPushLogsRequest, com.google.api.HttpBody> + getImportPushLogsMethod; + if ((getImportPushLogsMethod = FeedsServiceGrpc.getImportPushLogsMethod) == null) { + synchronized (FeedsServiceGrpc.class) { + if ((getImportPushLogsMethod = FeedsServiceGrpc.getImportPushLogsMethod) == null) { + FeedsServiceGrpc.getImportPushLogsMethod = + getImportPushLogsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportPushLogs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.chronicle.v1.ImportPushLogsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.api.HttpBody.getDefaultInstance())) + .setSchemaDescriptor( + new FeedsServiceMethodDescriptorSupplier("ImportPushLogs")) + .build(); + } + } + } + return getImportPushLogsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.GenerateSecretRequest, + com.google.cloud.chronicle.v1.GenerateSecretResponse> + getGenerateSecretMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GenerateSecret", + requestType = com.google.cloud.chronicle.v1.GenerateSecretRequest.class, + responseType = com.google.cloud.chronicle.v1.GenerateSecretResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.GenerateSecretRequest, + com.google.cloud.chronicle.v1.GenerateSecretResponse> + getGenerateSecretMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.chronicle.v1.GenerateSecretRequest, + com.google.cloud.chronicle.v1.GenerateSecretResponse> + getGenerateSecretMethod; + if ((getGenerateSecretMethod = FeedsServiceGrpc.getGenerateSecretMethod) == null) { + synchronized (FeedsServiceGrpc.class) { + if ((getGenerateSecretMethod = FeedsServiceGrpc.getGenerateSecretMethod) == null) { + FeedsServiceGrpc.getGenerateSecretMethod = + getGenerateSecretMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateSecret")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.chronicle.v1.GenerateSecretRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.chronicle.v1.GenerateSecretResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new FeedsServiceMethodDescriptorSupplier("GenerateSecret")) + .build(); + } + } + } + return getGenerateSecretMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static FeedsServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public FeedsServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FeedsServiceStub(channel, callOptions); + } + }; + return FeedsServiceStub.newStub(factory, channel); + } + + /** Creates a new blocking-style stub that supports all types of calls on the service */ + public static FeedsServiceBlockingV2Stub newBlockingV2Stub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public FeedsServiceBlockingV2Stub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FeedsServiceBlockingV2Stub(channel, callOptions); + } + }; + return FeedsServiceBlockingV2Stub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static FeedsServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public FeedsServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FeedsServiceBlockingStub(channel, callOptions); + } + }; + return FeedsServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static FeedsServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public FeedsServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FeedsServiceFutureStub(channel, callOptions); + } + }; + return FeedsServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * FeedsService contains procedures for managing Chronicle third-party feeds.
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Fetch Chronicle's service account used for ingesting data from Cloud
+     * Storage buckets.
+     * 
+ */ + default void fetchServiceAccountForCustomer( + com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getFetchServiceAccountForCustomerMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a feed.
+     * 
+ */ + default void createFeed( + com.google.cloud.chronicle.v1.CreateFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateFeedMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a feed.
+     * 
+ */ + default void getFeed( + com.google.cloud.chronicle.v1.GetFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFeedMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a feed.
+     * 
+ */ + default void deleteFeed( + com.google.cloud.chronicle.v1.DeleteFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteFeedMethod(), responseObserver); + } + + /** + * + * + *
+     * Enable feed for ingestion.
+     * 
+ */ + default void enableFeed( + com.google.cloud.chronicle.v1.EnableFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getEnableFeedMethod(), responseObserver); + } + + /** + * + * + *
+     * Disable feed for ingestion. Make FeedState ARCHIVED.
+     * 
+ */ + default void disableFeed( + com.google.cloud.chronicle.v1.DisableFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDisableFeedMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all feeds for the customer.
+     * 
+ */ + default void listFeeds( + com.google.cloud.chronicle.v1.ListFeedsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFeedsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Packs for which feeds can be configured.
+     * 
+ */ + default void listFeedPacks( + com.google.cloud.chronicle.v1.ListFeedPacksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListFeedPacksMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a feed pack.
+     * 
+ */ + default void getFeedPack( + com.google.cloud.chronicle.v1.GetFeedPackRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetFeedPackMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the full feed.
+     * 
+ */ + default void updateFeed( + com.google.cloud.chronicle.v1.UpdateFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateFeedMethod(), responseObserver); + } + + /** + * + * + *
+     * List all FeedSourceTypeSchemas.
+     * 
+ */ + default void listFeedSourceTypeSchemas( + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListFeedSourceTypeSchemasMethod(), responseObserver); + } + + /** + * + * + *
+     * List all LogTypeSchemas compatible with a given
+     * FeedSourceType.
+     * 
+ */ + default void listLogTypeSchemas( + com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListLogTypeSchemasMethod(), responseObserver); + } + + /** + * + * + *
+     * Import logs coming from https push feeds.
+     * All log entries must be valid UTF-8. A single invalid event will cause the
+     * entire request to be rejected.
+     * 
+ */ + default void importPushLogs( + com.google.cloud.chronicle.v1.ImportPushLogsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportPushLogsMethod(), responseObserver); + } + + /** + * + * + *
+     * Generates a new secret for https push feeds which do not support jwt
+     * tokens. Secrets once generated should be copied and stored in safe place
+     * to be used while configuring https push feeds.Please note that you can
+     * always generate a new secret again for a feed using this API but it will
+     * invalidate the previously generated secret for the feed.
+     * 
+ */ + default void generateSecret( + com.google.cloud.chronicle.v1.GenerateSecretRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGenerateSecretMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service FeedsService. + * + *
+   * FeedsService contains procedures for managing Chronicle third-party feeds.
+   * 
+ */ + public abstract static class FeedsServiceImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return FeedsServiceGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service FeedsService. + * + *
+   * FeedsService contains procedures for managing Chronicle third-party feeds.
+   * 
+ */ + public static final class FeedsServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private FeedsServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected FeedsServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FeedsServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Fetch Chronicle's service account used for ingesting data from Cloud
+     * Storage buckets.
+     * 
+ */ + public void fetchServiceAccountForCustomer( + com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFetchServiceAccountForCustomerMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a feed.
+     * 
+ */ + public void createFeed( + com.google.cloud.chronicle.v1.CreateFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateFeedMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Gets a feed.
+     * 
+ */ + public void getFeed( + com.google.cloud.chronicle.v1.GetFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetFeedMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a feed.
+     * 
+ */ + public void deleteFeed( + com.google.cloud.chronicle.v1.DeleteFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteFeedMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Enable feed for ingestion.
+     * 
+ */ + public void enableFeed( + com.google.cloud.chronicle.v1.EnableFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getEnableFeedMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Disable feed for ingestion. Make FeedState ARCHIVED.
+     * 
+ */ + public void disableFeed( + com.google.cloud.chronicle.v1.DisableFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDisableFeedMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all feeds for the customer.
+     * 
+ */ + public void listFeeds( + com.google.cloud.chronicle.v1.ListFeedsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFeedsMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists Packs for which feeds can be configured.
+     * 
+ */ + public void listFeedPacks( + com.google.cloud.chronicle.v1.ListFeedPacksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFeedPacksMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a feed pack.
+     * 
+ */ + public void getFeedPack( + com.google.cloud.chronicle.v1.GetFeedPackRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetFeedPackMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the full feed.
+     * 
+ */ + public void updateFeed( + com.google.cloud.chronicle.v1.UpdateFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateFeedMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * List all FeedSourceTypeSchemas.
+     * 
+ */ + public void listFeedSourceTypeSchemas( + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFeedSourceTypeSchemasMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * List all LogTypeSchemas compatible with a given
+     * FeedSourceType.
+     * 
+ */ + public void listLogTypeSchemas( + com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListLogTypeSchemasMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Import logs coming from https push feeds.
+     * All log entries must be valid UTF-8. A single invalid event will cause the
+     * entire request to be rejected.
+     * 
+ */ + public void importPushLogs( + com.google.cloud.chronicle.v1.ImportPushLogsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportPushLogsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Generates a new secret for https push feeds which do not support jwt
+     * tokens. Secrets once generated should be copied and stored in safe place
+     * to be used while configuring https push feeds.Please note that you can
+     * always generate a new secret again for a feed using this API but it will
+     * invalidate the previously generated secret for the feed.
+     * 
+ */ + public void generateSecret( + com.google.cloud.chronicle.v1.GenerateSecretRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGenerateSecretMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service FeedsService. + * + *
+   * FeedsService contains procedures for managing Chronicle third-party feeds.
+   * 
+ */ + public static final class FeedsServiceBlockingV2Stub + extends io.grpc.stub.AbstractBlockingStub { + private FeedsServiceBlockingV2Stub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected FeedsServiceBlockingV2Stub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FeedsServiceBlockingV2Stub(channel, callOptions); + } + + /** + * + * + *
+     * Fetch Chronicle's service account used for ingesting data from Cloud
+     * Storage buckets.
+     * 
+ */ + public com.google.cloud.chronicle.v1.FeedServiceAccount fetchServiceAccountForCustomer( + com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getFetchServiceAccountForCustomerMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a feed.
+     * 
+ */ + public com.google.cloud.chronicle.v1.Feed createFeed( + com.google.cloud.chronicle.v1.CreateFeedRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getCreateFeedMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a feed.
+     * 
+ */ + public com.google.cloud.chronicle.v1.Feed getFeed( + com.google.cloud.chronicle.v1.GetFeedRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getGetFeedMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a feed.
+     * 
+ */ + public com.google.protobuf.Empty deleteFeed( + com.google.cloud.chronicle.v1.DeleteFeedRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getDeleteFeedMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Enable feed for ingestion.
+     * 
+ */ + public com.google.cloud.chronicle.v1.Feed enableFeed( + com.google.cloud.chronicle.v1.EnableFeedRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getEnableFeedMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Disable feed for ingestion. Make FeedState ARCHIVED.
+     * 
+ */ + public com.google.cloud.chronicle.v1.Feed disableFeed( + com.google.cloud.chronicle.v1.DisableFeedRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getDisableFeedMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all feeds for the customer.
+     * 
+ */ + public com.google.cloud.chronicle.v1.ListFeedsResponse listFeeds( + com.google.cloud.chronicle.v1.ListFeedsRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getListFeedsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists Packs for which feeds can be configured.
+     * 
+ */ + public com.google.cloud.chronicle.v1.ListFeedPacksResponse listFeedPacks( + com.google.cloud.chronicle.v1.ListFeedPacksRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getListFeedPacksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a feed pack.
+     * 
+ */ + public com.google.cloud.chronicle.v1.FeedPack getFeedPack( + com.google.cloud.chronicle.v1.GetFeedPackRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getGetFeedPackMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the full feed.
+     * 
+ */ + public com.google.cloud.chronicle.v1.Feed updateFeed( + com.google.cloud.chronicle.v1.UpdateFeedRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getUpdateFeedMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * List all FeedSourceTypeSchemas.
+     * 
+ */ + public com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse + listFeedSourceTypeSchemas( + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getListFeedSourceTypeSchemasMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * List all LogTypeSchemas compatible with a given
+     * FeedSourceType.
+     * 
+ */ + public com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse listLogTypeSchemas( + com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getListLogTypeSchemasMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Import logs coming from https push feeds.
+     * All log entries must be valid UTF-8. A single invalid event will cause the
+     * entire request to be rejected.
+     * 
+ */ + public com.google.api.HttpBody importPushLogs( + com.google.cloud.chronicle.v1.ImportPushLogsRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getImportPushLogsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Generates a new secret for https push feeds which do not support jwt
+     * tokens. Secrets once generated should be copied and stored in safe place
+     * to be used while configuring https push feeds.Please note that you can
+     * always generate a new secret again for a feed using this API but it will
+     * invalidate the previously generated secret for the feed.
+     * 
+ */ + public com.google.cloud.chronicle.v1.GenerateSecretResponse generateSecret( + com.google.cloud.chronicle.v1.GenerateSecretRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getGenerateSecretMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do limited synchronous rpc calls to service FeedsService. + * + *
+   * FeedsService contains procedures for managing Chronicle third-party feeds.
+   * 
+ */ + public static final class FeedsServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private FeedsServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected FeedsServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FeedsServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Fetch Chronicle's service account used for ingesting data from Cloud
+     * Storage buckets.
+     * 
+ */ + public com.google.cloud.chronicle.v1.FeedServiceAccount fetchServiceAccountForCustomer( + com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFetchServiceAccountForCustomerMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a feed.
+     * 
+ */ + public com.google.cloud.chronicle.v1.Feed createFeed( + com.google.cloud.chronicle.v1.CreateFeedRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateFeedMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a feed.
+     * 
+ */ + public com.google.cloud.chronicle.v1.Feed getFeed( + com.google.cloud.chronicle.v1.GetFeedRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetFeedMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a feed.
+     * 
+ */ + public com.google.protobuf.Empty deleteFeed( + com.google.cloud.chronicle.v1.DeleteFeedRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteFeedMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Enable feed for ingestion.
+     * 
+ */ + public com.google.cloud.chronicle.v1.Feed enableFeed( + com.google.cloud.chronicle.v1.EnableFeedRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getEnableFeedMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Disable feed for ingestion. Make FeedState ARCHIVED.
+     * 
+ */ + public com.google.cloud.chronicle.v1.Feed disableFeed( + com.google.cloud.chronicle.v1.DisableFeedRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDisableFeedMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all feeds for the customer.
+     * 
+ */ + public com.google.cloud.chronicle.v1.ListFeedsResponse listFeeds( + com.google.cloud.chronicle.v1.ListFeedsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFeedsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists Packs for which feeds can be configured.
+     * 
+ */ + public com.google.cloud.chronicle.v1.ListFeedPacksResponse listFeedPacks( + com.google.cloud.chronicle.v1.ListFeedPacksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFeedPacksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a feed pack.
+     * 
+ */ + public com.google.cloud.chronicle.v1.FeedPack getFeedPack( + com.google.cloud.chronicle.v1.GetFeedPackRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetFeedPackMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the full feed.
+     * 
+ */ + public com.google.cloud.chronicle.v1.Feed updateFeed( + com.google.cloud.chronicle.v1.UpdateFeedRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateFeedMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * List all FeedSourceTypeSchemas.
+     * 
+ */ + public com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse + listFeedSourceTypeSchemas( + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFeedSourceTypeSchemasMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * List all LogTypeSchemas compatible with a given
+     * FeedSourceType.
+     * 
+ */ + public com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse listLogTypeSchemas( + com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListLogTypeSchemasMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Import logs coming from https push feeds.
+     * All log entries must be valid UTF-8. A single invalid event will cause the
+     * entire request to be rejected.
+     * 
+ */ + public com.google.api.HttpBody importPushLogs( + com.google.cloud.chronicle.v1.ImportPushLogsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportPushLogsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Generates a new secret for https push feeds which do not support jwt
+     * tokens. Secrets once generated should be copied and stored in safe place
+     * to be used while configuring https push feeds.Please note that you can
+     * always generate a new secret again for a feed using this API but it will
+     * invalidate the previously generated secret for the feed.
+     * 
+ */ + public com.google.cloud.chronicle.v1.GenerateSecretResponse generateSecret( + com.google.cloud.chronicle.v1.GenerateSecretRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGenerateSecretMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service FeedsService. + * + *
+   * FeedsService contains procedures for managing Chronicle third-party feeds.
+   * 
+ */ + public static final class FeedsServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private FeedsServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected FeedsServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FeedsServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Fetch Chronicle's service account used for ingesting data from Cloud
+     * Storage buckets.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.chronicle.v1.FeedServiceAccount> + fetchServiceAccountForCustomer( + com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFetchServiceAccountForCustomerMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Creates a feed.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createFeed(com.google.cloud.chronicle.v1.CreateFeedRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateFeedMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a feed.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getFeed(com.google.cloud.chronicle.v1.GetFeedRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetFeedMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a feed.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteFeed( + com.google.cloud.chronicle.v1.DeleteFeedRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteFeedMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Enable feed for ingestion.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + enableFeed(com.google.cloud.chronicle.v1.EnableFeedRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getEnableFeedMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Disable feed for ingestion. Make FeedState ARCHIVED.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + disableFeed(com.google.cloud.chronicle.v1.DisableFeedRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDisableFeedMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all feeds for the customer.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.chronicle.v1.ListFeedsResponse> + listFeeds(com.google.cloud.chronicle.v1.ListFeedsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFeedsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists Packs for which feeds can be configured.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.chronicle.v1.ListFeedPacksResponse> + listFeedPacks(com.google.cloud.chronicle.v1.ListFeedPacksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFeedPacksMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a feed pack.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.chronicle.v1.FeedPack> + getFeedPack(com.google.cloud.chronicle.v1.GetFeedPackRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetFeedPackMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the full feed.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateFeed(com.google.cloud.chronicle.v1.UpdateFeedRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateFeedMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * List all FeedSourceTypeSchemas.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse> + listFeedSourceTypeSchemas( + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFeedSourceTypeSchemasMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * List all LogTypeSchemas compatible with a given
+     * FeedSourceType.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse> + listLogTypeSchemas(com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListLogTypeSchemasMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Import logs coming from https push feeds.
+     * All log entries must be valid UTF-8. A single invalid event will cause the
+     * entire request to be rejected.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + importPushLogs(com.google.cloud.chronicle.v1.ImportPushLogsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportPushLogsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Generates a new secret for https push feeds which do not support jwt
+     * tokens. Secrets once generated should be copied and stored in safe place
+     * to be used while configuring https push feeds.Please note that you can
+     * always generate a new secret again for a feed using this API but it will
+     * invalidate the previously generated secret for the feed.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.chronicle.v1.GenerateSecretResponse> + generateSecret(com.google.cloud.chronicle.v1.GenerateSecretRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGenerateSecretMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_FETCH_SERVICE_ACCOUNT_FOR_CUSTOMER = 0; + private static final int METHODID_CREATE_FEED = 1; + private static final int METHODID_GET_FEED = 2; + private static final int METHODID_DELETE_FEED = 3; + private static final int METHODID_ENABLE_FEED = 4; + private static final int METHODID_DISABLE_FEED = 5; + private static final int METHODID_LIST_FEEDS = 6; + private static final int METHODID_LIST_FEED_PACKS = 7; + private static final int METHODID_GET_FEED_PACK = 8; + private static final int METHODID_UPDATE_FEED = 9; + private static final int METHODID_LIST_FEED_SOURCE_TYPE_SCHEMAS = 10; + private static final int METHODID_LIST_LOG_TYPE_SCHEMAS = 11; + private static final int METHODID_IMPORT_PUSH_LOGS = 12; + private static final int METHODID_GENERATE_SECRET = 13; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_FETCH_SERVICE_ACCOUNT_FOR_CUSTOMER: + serviceImpl.fetchServiceAccountForCustomer( + (com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_FEED: + serviceImpl.createFeed( + (com.google.cloud.chronicle.v1.CreateFeedRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_FEED: + serviceImpl.getFeed( + (com.google.cloud.chronicle.v1.GetFeedRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_FEED: + serviceImpl.deleteFeed( + (com.google.cloud.chronicle.v1.DeleteFeedRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ENABLE_FEED: + serviceImpl.enableFeed( + (com.google.cloud.chronicle.v1.EnableFeedRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DISABLE_FEED: + serviceImpl.disableFeed( + (com.google.cloud.chronicle.v1.DisableFeedRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FEEDS: + serviceImpl.listFeeds( + (com.google.cloud.chronicle.v1.ListFeedsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_FEED_PACKS: + serviceImpl.listFeedPacks( + (com.google.cloud.chronicle.v1.ListFeedPacksRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_FEED_PACK: + serviceImpl.getFeedPack( + (com.google.cloud.chronicle.v1.GetFeedPackRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_FEED: + serviceImpl.updateFeed( + (com.google.cloud.chronicle.v1.UpdateFeedRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FEED_SOURCE_TYPE_SCHEMAS: + serviceImpl.listFeedSourceTypeSchemas( + (com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse>) + responseObserver); + break; + case METHODID_LIST_LOG_TYPE_SCHEMAS: + serviceImpl.listLogTypeSchemas( + (com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse>) + responseObserver); + break; + case METHODID_IMPORT_PUSH_LOGS: + serviceImpl.importPushLogs( + (com.google.cloud.chronicle.v1.ImportPushLogsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GENERATE_SECRET: + serviceImpl.generateSecret( + (com.google.cloud.chronicle.v1.GenerateSecretRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getFetchServiceAccountForCustomerMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest, + com.google.cloud.chronicle.v1.FeedServiceAccount>( + service, METHODID_FETCH_SERVICE_ACCOUNT_FOR_CUSTOMER))) + .addMethod( + getCreateFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.chronicle.v1.CreateFeedRequest, + com.google.cloud.chronicle.v1.Feed>(service, METHODID_CREATE_FEED))) + .addMethod( + getGetFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.chronicle.v1.GetFeedRequest, + com.google.cloud.chronicle.v1.Feed>(service, METHODID_GET_FEED))) + .addMethod( + getDeleteFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.chronicle.v1.DeleteFeedRequest, com.google.protobuf.Empty>( + service, METHODID_DELETE_FEED))) + .addMethod( + getEnableFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.chronicle.v1.EnableFeedRequest, + com.google.cloud.chronicle.v1.Feed>(service, METHODID_ENABLE_FEED))) + .addMethod( + getDisableFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.chronicle.v1.DisableFeedRequest, + com.google.cloud.chronicle.v1.Feed>(service, METHODID_DISABLE_FEED))) + .addMethod( + getListFeedsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.chronicle.v1.ListFeedsRequest, + com.google.cloud.chronicle.v1.ListFeedsResponse>(service, METHODID_LIST_FEEDS))) + .addMethod( + getListFeedPacksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.chronicle.v1.ListFeedPacksRequest, + com.google.cloud.chronicle.v1.ListFeedPacksResponse>( + service, METHODID_LIST_FEED_PACKS))) + .addMethod( + getGetFeedPackMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.chronicle.v1.GetFeedPackRequest, + com.google.cloud.chronicle.v1.FeedPack>(service, METHODID_GET_FEED_PACK))) + .addMethod( + getUpdateFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.chronicle.v1.UpdateFeedRequest, + com.google.cloud.chronicle.v1.Feed>(service, METHODID_UPDATE_FEED))) + .addMethod( + getListFeedSourceTypeSchemasMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest, + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse>( + service, METHODID_LIST_FEED_SOURCE_TYPE_SCHEMAS))) + .addMethod( + getListLogTypeSchemasMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest, + com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse>( + service, METHODID_LIST_LOG_TYPE_SCHEMAS))) + .addMethod( + getImportPushLogsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.chronicle.v1.ImportPushLogsRequest, com.google.api.HttpBody>( + service, METHODID_IMPORT_PUSH_LOGS))) + .addMethod( + getGenerateSecretMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.chronicle.v1.GenerateSecretRequest, + com.google.cloud.chronicle.v1.GenerateSecretResponse>( + service, METHODID_GENERATE_SECRET))) + .build(); + } + + private abstract static class FeedsServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + FeedsServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("FeedsService"); + } + } + + private static final class FeedsServiceFileDescriptorSupplier + extends FeedsServiceBaseDescriptorSupplier { + FeedsServiceFileDescriptorSupplier() {} + } + + private static final class FeedsServiceMethodDescriptorSupplier + extends FeedsServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + FeedsServiceMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (FeedsServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new FeedsServiceFileDescriptorSupplier()) + .addMethod(getFetchServiceAccountForCustomerMethod()) + .addMethod(getCreateFeedMethod()) + .addMethod(getGetFeedMethod()) + .addMethod(getDeleteFeedMethod()) + .addMethod(getEnableFeedMethod()) + .addMethod(getDisableFeedMethod()) + .addMethod(getListFeedsMethod()) + .addMethod(getListFeedPacksMethod()) + .addMethod(getGetFeedPackMethod()) + .addMethod(getUpdateFeedMethod()) + .addMethod(getListFeedSourceTypeSchemasMethod()) + .addMethod(getListLogTypeSchemasMethod()) + .addMethod(getImportPushLogsMethod()) + .addMethod(getGenerateSecretMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AWSEC2HostsSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AWSEC2HostsSettings.java new file mode 100644 index 000000000000..92df214edc15 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AWSEC2HostsSettings.java @@ -0,0 +1,725 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * AWS EC2 Hosts Settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AWSEC2HostsSettings} + */ +@com.google.protobuf.Generated +public final class AWSEC2HostsSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.AWSEC2HostsSettings) + AWSEC2HostsSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "AWSEC2HostsSettings"); + } + + // Use AWSEC2HostsSettings.newBuilder() to construct. + private AWSEC2HostsSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private AWSEC2HostsSettings() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AWSEC2HostsSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AWSEC2HostsSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AWSEC2HostsSettings.class, + com.google.cloud.chronicle.v1.AWSEC2HostsSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + + /** + * + * + *
+   * Input only. UsernameSecretAuth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. UsernameSecretAuth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. UsernameSecretAuth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + 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.cloud.chronicle.v1.AWSEC2HostsSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.AWSEC2HostsSettings other = + (com.google.cloud.chronicle.v1.AWSEC2HostsSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.AWSEC2HostsSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AWSEC2HostsSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AWSEC2HostsSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AWSEC2HostsSettings 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.cloud.chronicle.v1.AWSEC2HostsSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AWSEC2HostsSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AWSEC2HostsSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AWSEC2HostsSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AWSEC2HostsSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AWSEC2HostsSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AWSEC2HostsSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AWSEC2HostsSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.AWSEC2HostsSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * AWS EC2 Hosts Settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AWSEC2HostsSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.AWSEC2HostsSettings) + com.google.cloud.chronicle.v1.AWSEC2HostsSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AWSEC2HostsSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AWSEC2HostsSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AWSEC2HostsSettings.class, + com.google.cloud.chronicle.v1.AWSEC2HostsSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.AWSEC2HostsSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AWSEC2HostsSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSEC2HostsSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.AWSEC2HostsSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSEC2HostsSettings build() { + com.google.cloud.chronicle.v1.AWSEC2HostsSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSEC2HostsSettings buildPartial() { + com.google.cloud.chronicle.v1.AWSEC2HostsSettings result = + new com.google.cloud.chronicle.v1.AWSEC2HostsSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.AWSEC2HostsSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.AWSEC2HostsSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.AWSEC2HostsSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.AWSEC2HostsSettings other) { + if (other == com.google.cloud.chronicle.v1.AWSEC2HostsSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.AWSEC2HostsSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.AWSEC2HostsSettings) + private static final com.google.cloud.chronicle.v1.AWSEC2HostsSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.AWSEC2HostsSettings(); + } + + public static com.google.cloud.chronicle.v1.AWSEC2HostsSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AWSEC2HostsSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSEC2HostsSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AWSEC2HostsSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AWSEC2HostsSettingsOrBuilder.java new file mode 100644 index 000000000000..deb0db25a4ba --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AWSEC2HostsSettingsOrBuilder.java @@ -0,0 +1,71 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface AWSEC2HostsSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.AWSEC2HostsSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. UsernameSecretAuth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. UsernameSecretAuth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication(); + + /** + * + * + *
+   * Input only. UsernameSecretAuth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AWSEC2InstancesSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AWSEC2InstancesSettings.java new file mode 100644 index 000000000000..3e7797d71203 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AWSEC2InstancesSettings.java @@ -0,0 +1,726 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * AWS EC2 Instances Settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AWSEC2InstancesSettings} + */ +@com.google.protobuf.Generated +public final class AWSEC2InstancesSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.AWSEC2InstancesSettings) + AWSEC2InstancesSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "AWSEC2InstancesSettings"); + } + + // Use AWSEC2InstancesSettings.newBuilder() to construct. + private AWSEC2InstancesSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private AWSEC2InstancesSettings() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AWSEC2InstancesSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AWSEC2InstancesSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AWSEC2InstancesSettings.class, + com.google.cloud.chronicle.v1.AWSEC2InstancesSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + + /** + * + * + *
+   * Input only. UsernameSecretAuth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. UsernameSecretAuth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. UsernameSecretAuth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + 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.cloud.chronicle.v1.AWSEC2InstancesSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.AWSEC2InstancesSettings other = + (com.google.cloud.chronicle.v1.AWSEC2InstancesSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.AWSEC2InstancesSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AWSEC2InstancesSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AWSEC2InstancesSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AWSEC2InstancesSettings 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.cloud.chronicle.v1.AWSEC2InstancesSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AWSEC2InstancesSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AWSEC2InstancesSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AWSEC2InstancesSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AWSEC2InstancesSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AWSEC2InstancesSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AWSEC2InstancesSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AWSEC2InstancesSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.AWSEC2InstancesSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * AWS EC2 Instances Settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AWSEC2InstancesSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.AWSEC2InstancesSettings) + com.google.cloud.chronicle.v1.AWSEC2InstancesSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AWSEC2InstancesSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AWSEC2InstancesSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AWSEC2InstancesSettings.class, + com.google.cloud.chronicle.v1.AWSEC2InstancesSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.AWSEC2InstancesSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AWSEC2InstancesSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSEC2InstancesSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.AWSEC2InstancesSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSEC2InstancesSettings build() { + com.google.cloud.chronicle.v1.AWSEC2InstancesSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSEC2InstancesSettings buildPartial() { + com.google.cloud.chronicle.v1.AWSEC2InstancesSettings result = + new com.google.cloud.chronicle.v1.AWSEC2InstancesSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.AWSEC2InstancesSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.AWSEC2InstancesSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.AWSEC2InstancesSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.AWSEC2InstancesSettings other) { + if (other == com.google.cloud.chronicle.v1.AWSEC2InstancesSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.AWSEC2InstancesSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.AWSEC2InstancesSettings) + private static final com.google.cloud.chronicle.v1.AWSEC2InstancesSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.AWSEC2InstancesSettings(); + } + + public static com.google.cloud.chronicle.v1.AWSEC2InstancesSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AWSEC2InstancesSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSEC2InstancesSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AWSEC2InstancesSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AWSEC2InstancesSettingsOrBuilder.java new file mode 100644 index 000000000000..938086a6a54f --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AWSEC2InstancesSettingsOrBuilder.java @@ -0,0 +1,71 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface AWSEC2InstancesSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.AWSEC2InstancesSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. UsernameSecretAuth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. UsernameSecretAuth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication(); + + /** + * + * + *
+   * Input only. UsernameSecretAuth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AWSEC2VpcsSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AWSEC2VpcsSettings.java new file mode 100644 index 000000000000..549e767a731b --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AWSEC2VpcsSettings.java @@ -0,0 +1,725 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * AWS EC2 Vpcs Settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AWSEC2VpcsSettings} + */ +@com.google.protobuf.Generated +public final class AWSEC2VpcsSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.AWSEC2VpcsSettings) + AWSEC2VpcsSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "AWSEC2VpcsSettings"); + } + + // Use AWSEC2VpcsSettings.newBuilder() to construct. + private AWSEC2VpcsSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private AWSEC2VpcsSettings() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AWSEC2VpcsSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AWSEC2VpcsSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AWSEC2VpcsSettings.class, + com.google.cloud.chronicle.v1.AWSEC2VpcsSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + + /** + * + * + *
+   * Input only. UsernameSecretAuth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. UsernameSecretAuth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. UsernameSecretAuth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + 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.cloud.chronicle.v1.AWSEC2VpcsSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.AWSEC2VpcsSettings other = + (com.google.cloud.chronicle.v1.AWSEC2VpcsSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.AWSEC2VpcsSettings parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AWSEC2VpcsSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AWSEC2VpcsSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AWSEC2VpcsSettings 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.cloud.chronicle.v1.AWSEC2VpcsSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AWSEC2VpcsSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AWSEC2VpcsSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AWSEC2VpcsSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AWSEC2VpcsSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AWSEC2VpcsSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AWSEC2VpcsSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AWSEC2VpcsSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.AWSEC2VpcsSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * AWS EC2 Vpcs Settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AWSEC2VpcsSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.AWSEC2VpcsSettings) + com.google.cloud.chronicle.v1.AWSEC2VpcsSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AWSEC2VpcsSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AWSEC2VpcsSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AWSEC2VpcsSettings.class, + com.google.cloud.chronicle.v1.AWSEC2VpcsSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.AWSEC2VpcsSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AWSEC2VpcsSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSEC2VpcsSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.AWSEC2VpcsSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSEC2VpcsSettings build() { + com.google.cloud.chronicle.v1.AWSEC2VpcsSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSEC2VpcsSettings buildPartial() { + com.google.cloud.chronicle.v1.AWSEC2VpcsSettings result = + new com.google.cloud.chronicle.v1.AWSEC2VpcsSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.AWSEC2VpcsSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.AWSEC2VpcsSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.AWSEC2VpcsSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.AWSEC2VpcsSettings other) { + if (other == com.google.cloud.chronicle.v1.AWSEC2VpcsSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.AWSEC2VpcsSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.AWSEC2VpcsSettings) + private static final com.google.cloud.chronicle.v1.AWSEC2VpcsSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.AWSEC2VpcsSettings(); + } + + public static com.google.cloud.chronicle.v1.AWSEC2VpcsSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AWSEC2VpcsSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSEC2VpcsSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AWSEC2VpcsSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AWSEC2VpcsSettingsOrBuilder.java new file mode 100644 index 000000000000..8d46c153729e --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AWSEC2VpcsSettingsOrBuilder.java @@ -0,0 +1,71 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface AWSEC2VpcsSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.AWSEC2VpcsSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. UsernameSecretAuth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. UsernameSecretAuth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication(); + + /** + * + * + *
+   * Input only. UsernameSecretAuth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AWSIAMSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AWSIAMSettings.java new file mode 100644 index 000000000000..2e98799c0cc9 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AWSIAMSettings.java @@ -0,0 +1,1078 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * AWSIAMSettings contains details needed for creating an AWS IAM feed.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AWSIAMSettings} + */ +@com.google.protobuf.Generated +public final class AWSIAMSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.AWSIAMSettings) + AWSIAMSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "AWSIAMSettings"); + } + + // Use AWSIAMSettings.newBuilder() to construct. + private AWSIAMSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private AWSIAMSettings() { + apiType_ = 0; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AWSIAMSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AWSIAMSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AWSIAMSettings.class, + com.google.cloud.chronicle.v1.AWSIAMSettings.Builder.class); + } + + /** + * + * + *
+   * API Type
+   * 
+ * + * Protobuf enum {@code google.cloud.chronicle.v1.AWSIAMSettings.ApiType} + */ + public enum ApiType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * API Type Unspecified
+     * 
+ * + * API_TYPE_UNSPECIFIED = 0; + */ + API_TYPE_UNSPECIFIED(0), + /** + * + * + *
+     * Users.
+     * 
+ * + * USERS = 1; + */ + USERS(1), + /** + * + * + *
+     * Roles.
+     * 
+ * + * ROLES = 2; + */ + ROLES(2), + /** + * + * + *
+     * Groups.
+     * 
+ * + * GROUPS = 3; + */ + GROUPS(3), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "ApiType"); + } + + /** + * + * + *
+     * API Type Unspecified
+     * 
+ * + * API_TYPE_UNSPECIFIED = 0; + */ + public static final int API_TYPE_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
+     * Users.
+     * 
+ * + * USERS = 1; + */ + public static final int USERS_VALUE = 1; + + /** + * + * + *
+     * Roles.
+     * 
+ * + * ROLES = 2; + */ + public static final int ROLES_VALUE = 2; + + /** + * + * + *
+     * Groups.
+     * 
+ * + * GROUPS = 3; + */ + public static final int GROUPS_VALUE = 3; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ApiType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ApiType forNumber(int value) { + switch (value) { + case 0: + return API_TYPE_UNSPECIFIED; + case 1: + return USERS; + case 2: + return ROLES; + case 3: + return GROUPS; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ApiType findValueByNumber(int number) { + return ApiType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.chronicle.v1.AWSIAMSettings.getDescriptor().getEnumTypes().get(0); + } + + private static final ApiType[] VALUES = values(); + + public static ApiType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ApiType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.chronicle.v1.AWSIAMSettings.ApiType) + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 2; + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + public static final int API_TYPE_FIELD_NUMBER = 3; + private int apiType_ = 0; + + /** + * + * + *
+   * Supported AWS IAM api type.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSIAMSettings.ApiType api_type = 3; + * + * @return The enum numeric value on the wire for apiType. + */ + @java.lang.Override + public int getApiTypeValue() { + return apiType_; + } + + /** + * + * + *
+   * Supported AWS IAM api type.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSIAMSettings.ApiType api_type = 3; + * + * @return The apiType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSIAMSettings.ApiType getApiType() { + com.google.cloud.chronicle.v1.AWSIAMSettings.ApiType result = + com.google.cloud.chronicle.v1.AWSIAMSettings.ApiType.forNumber(apiType_); + return result == null + ? com.google.cloud.chronicle.v1.AWSIAMSettings.ApiType.UNRECOGNIZED + : result; + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(2, getAuthentication()); + } + if (apiType_ + != com.google.cloud.chronicle.v1.AWSIAMSettings.ApiType.API_TYPE_UNSPECIFIED.getNumber()) { + output.writeEnum(3, apiType_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAuthentication()); + } + if (apiType_ + != com.google.cloud.chronicle.v1.AWSIAMSettings.ApiType.API_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, apiType_); + } + 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.cloud.chronicle.v1.AWSIAMSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.AWSIAMSettings other = + (com.google.cloud.chronicle.v1.AWSIAMSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (apiType_ != other.apiType_) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + API_TYPE_FIELD_NUMBER; + hash = (53 * hash) + apiType_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.AWSIAMSettings parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AWSIAMSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AWSIAMSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AWSIAMSettings 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.cloud.chronicle.v1.AWSIAMSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AWSIAMSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AWSIAMSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AWSIAMSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AWSIAMSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AWSIAMSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AWSIAMSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AWSIAMSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.AWSIAMSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * AWSIAMSettings contains details needed for creating an AWS IAM feed.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AWSIAMSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.AWSIAMSettings) + com.google.cloud.chronicle.v1.AWSIAMSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AWSIAMSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AWSIAMSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AWSIAMSettings.class, + com.google.cloud.chronicle.v1.AWSIAMSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.AWSIAMSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + apiType_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AWSIAMSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSIAMSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.AWSIAMSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSIAMSettings build() { + com.google.cloud.chronicle.v1.AWSIAMSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSIAMSettings buildPartial() { + com.google.cloud.chronicle.v1.AWSIAMSettings result = + new com.google.cloud.chronicle.v1.AWSIAMSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.AWSIAMSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.apiType_ = apiType_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.AWSIAMSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.AWSIAMSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.AWSIAMSettings other) { + if (other == com.google.cloud.chronicle.v1.AWSIAMSettings.getDefaultInstance()) return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (other.apiType_ != 0) { + setApiTypeValue(other.getApiTypeValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 18: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 18 + case 24: + { + apiType_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private int apiType_ = 0; + + /** + * + * + *
+     * Supported AWS IAM api type.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSIAMSettings.ApiType api_type = 3; + * + * @return The enum numeric value on the wire for apiType. + */ + @java.lang.Override + public int getApiTypeValue() { + return apiType_; + } + + /** + * + * + *
+     * Supported AWS IAM api type.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSIAMSettings.ApiType api_type = 3; + * + * @param value The enum numeric value on the wire for apiType to set. + * @return This builder for chaining. + */ + public Builder setApiTypeValue(int value) { + apiType_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Supported AWS IAM api type.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSIAMSettings.ApiType api_type = 3; + * + * @return The apiType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSIAMSettings.ApiType getApiType() { + com.google.cloud.chronicle.v1.AWSIAMSettings.ApiType result = + com.google.cloud.chronicle.v1.AWSIAMSettings.ApiType.forNumber(apiType_); + return result == null + ? com.google.cloud.chronicle.v1.AWSIAMSettings.ApiType.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * Supported AWS IAM api type.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSIAMSettings.ApiType api_type = 3; + * + * @param value The apiType to set. + * @return This builder for chaining. + */ + public Builder setApiType(com.google.cloud.chronicle.v1.AWSIAMSettings.ApiType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + apiType_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Supported AWS IAM api type.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSIAMSettings.ApiType api_type = 3; + * + * @return This builder for chaining. + */ + public Builder clearApiType() { + bitField0_ = (bitField0_ & ~0x00000002); + apiType_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.AWSIAMSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.AWSIAMSettings) + private static final com.google.cloud.chronicle.v1.AWSIAMSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.AWSIAMSettings(); + } + + public static com.google.cloud.chronicle.v1.AWSIAMSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AWSIAMSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSIAMSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AWSIAMSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AWSIAMSettingsOrBuilder.java new file mode 100644 index 000000000000..4ec414526dc3 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AWSIAMSettingsOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface AWSIAMSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.AWSIAMSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Supported AWS IAM api type.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSIAMSettings.ApiType api_type = 3; + * + * @return The enum numeric value on the wire for apiType. + */ + int getApiTypeValue(); + + /** + * + * + *
+   * Supported AWS IAM api type.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSIAMSettings.ApiType api_type = 3; + * + * @return The apiType. + */ + com.google.cloud.chronicle.v1.AWSIAMSettings.ApiType getApiType(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AdditionalS3AccessKeySecretAuth.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AdditionalS3AccessKeySecretAuth.java new file mode 100644 index 000000000000..991ee6d5ed2d --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AdditionalS3AccessKeySecretAuth.java @@ -0,0 +1,790 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Additional S3 access key secret auth.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth} + */ +@com.google.protobuf.Generated +public final class AdditionalS3AccessKeySecretAuth extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth) + AdditionalS3AccessKeySecretAuthOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "AdditionalS3AccessKeySecretAuth"); + } + + // Use AdditionalS3AccessKeySecretAuth.newBuilder() to construct. + private AdditionalS3AccessKeySecretAuth(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private AdditionalS3AccessKeySecretAuth() { + accessKeyId_ = ""; + secretAccessKey_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AdditionalS3AccessKeySecretAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AdditionalS3AccessKeySecretAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth.class, + com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth.Builder.class); + } + + public static final int ACCESS_KEY_ID_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object accessKeyId_ = ""; + + /** + * + * + *
+   * Access key ID.
+   * 
+ * + * string access_key_id = 1; + * + * @return The accessKeyId. + */ + @java.lang.Override + public java.lang.String getAccessKeyId() { + java.lang.Object ref = accessKeyId_; + 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(); + accessKeyId_ = s; + return s; + } + } + + /** + * + * + *
+   * Access key ID.
+   * 
+ * + * string access_key_id = 1; + * + * @return The bytes for accessKeyId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAccessKeyIdBytes() { + java.lang.Object ref = accessKeyId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + accessKeyId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SECRET_ACCESS_KEY_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object secretAccessKey_ = ""; + + /** + * + * + *
+   * Secret access key.
+   * 
+ * + * string secret_access_key = 2; + * + * @return The secretAccessKey. + */ + @java.lang.Override + public java.lang.String getSecretAccessKey() { + java.lang.Object ref = secretAccessKey_; + 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(); + secretAccessKey_ = s; + return s; + } + } + + /** + * + * + *
+   * Secret access key.
+   * 
+ * + * string secret_access_key = 2; + * + * @return The bytes for secretAccessKey. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSecretAccessKeyBytes() { + java.lang.Object ref = secretAccessKey_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + secretAccessKey_ = 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.GeneratedMessage.isStringEmpty(accessKeyId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, accessKeyId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(secretAccessKey_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, secretAccessKey_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(accessKeyId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, accessKeyId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(secretAccessKey_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, secretAccessKey_); + } + 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.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth other = + (com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth) obj; + + if (!getAccessKeyId().equals(other.getAccessKeyId())) return false; + if (!getSecretAccessKey().equals(other.getSecretAccessKey())) 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) + ACCESS_KEY_ID_FIELD_NUMBER; + hash = (53 * hash) + getAccessKeyId().hashCode(); + hash = (37 * hash) + SECRET_ACCESS_KEY_FIELD_NUMBER; + hash = (53 * hash) + getSecretAccessKey().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth 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.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Additional S3 access key secret auth.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth) + com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuthOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AdditionalS3AccessKeySecretAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AdditionalS3AccessKeySecretAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth.class, + com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + accessKeyId_ = ""; + secretAccessKey_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AdditionalS3AccessKeySecretAuth_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth + getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth build() { + com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth buildPartial() { + com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth result = + new com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.accessKeyId_ = accessKeyId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.secretAccessKey_ = secretAccessKey_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth) { + return mergeFrom((com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth other) { + if (other + == com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth.getDefaultInstance()) + return this; + if (!other.getAccessKeyId().isEmpty()) { + accessKeyId_ = other.accessKeyId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSecretAccessKey().isEmpty()) { + secretAccessKey_ = other.secretAccessKey_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + accessKeyId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + secretAccessKey_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object accessKeyId_ = ""; + + /** + * + * + *
+     * Access key ID.
+     * 
+ * + * string access_key_id = 1; + * + * @return The accessKeyId. + */ + public java.lang.String getAccessKeyId() { + java.lang.Object ref = accessKeyId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + accessKeyId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Access key ID.
+     * 
+ * + * string access_key_id = 1; + * + * @return The bytes for accessKeyId. + */ + public com.google.protobuf.ByteString getAccessKeyIdBytes() { + java.lang.Object ref = accessKeyId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + accessKeyId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Access key ID.
+     * 
+ * + * string access_key_id = 1; + * + * @param value The accessKeyId to set. + * @return This builder for chaining. + */ + public Builder setAccessKeyId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + accessKeyId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Access key ID.
+     * 
+ * + * string access_key_id = 1; + * + * @return This builder for chaining. + */ + public Builder clearAccessKeyId() { + accessKeyId_ = getDefaultInstance().getAccessKeyId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Access key ID.
+     * 
+ * + * string access_key_id = 1; + * + * @param value The bytes for accessKeyId to set. + * @return This builder for chaining. + */ + public Builder setAccessKeyIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + accessKeyId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object secretAccessKey_ = ""; + + /** + * + * + *
+     * Secret access key.
+     * 
+ * + * string secret_access_key = 2; + * + * @return The secretAccessKey. + */ + public java.lang.String getSecretAccessKey() { + java.lang.Object ref = secretAccessKey_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + secretAccessKey_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Secret access key.
+     * 
+ * + * string secret_access_key = 2; + * + * @return The bytes for secretAccessKey. + */ + public com.google.protobuf.ByteString getSecretAccessKeyBytes() { + java.lang.Object ref = secretAccessKey_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + secretAccessKey_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Secret access key.
+     * 
+ * + * string secret_access_key = 2; + * + * @param value The secretAccessKey to set. + * @return This builder for chaining. + */ + public Builder setSecretAccessKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + secretAccessKey_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Secret access key.
+     * 
+ * + * string secret_access_key = 2; + * + * @return This builder for chaining. + */ + public Builder clearSecretAccessKey() { + secretAccessKey_ = getDefaultInstance().getSecretAccessKey(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Secret access key.
+     * 
+ * + * string secret_access_key = 2; + * + * @param value The bytes for secretAccessKey to set. + * @return This builder for chaining. + */ + public Builder setSecretAccessKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + secretAccessKey_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth) + private static final com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth(); + } + + public static com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdditionalS3AccessKeySecretAuth parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AdditionalS3AccessKeySecretAuthOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AdditionalS3AccessKeySecretAuthOrBuilder.java new file mode 100644 index 000000000000..1ff6abc2d5d0 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AdditionalS3AccessKeySecretAuthOrBuilder.java @@ -0,0 +1,80 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface AdditionalS3AccessKeySecretAuthOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Access key ID.
+   * 
+ * + * string access_key_id = 1; + * + * @return The accessKeyId. + */ + java.lang.String getAccessKeyId(); + + /** + * + * + *
+   * Access key ID.
+   * 
+ * + * string access_key_id = 1; + * + * @return The bytes for accessKeyId. + */ + com.google.protobuf.ByteString getAccessKeyIdBytes(); + + /** + * + * + *
+   * Secret access key.
+   * 
+ * + * string secret_access_key = 2; + * + * @return The secretAccessKey. + */ + java.lang.String getSecretAccessKey(); + + /** + * + * + *
+   * Secret access key.
+   * 
+ * + * string secret_access_key = 2; + * + * @return The bytes for secretAccessKey. + */ + com.google.protobuf.ByteString getSecretAccessKeyBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonKinesisFirehoseSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonKinesisFirehoseSettings.java new file mode 100644 index 000000000000..ffab018025f3 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonKinesisFirehoseSettings.java @@ -0,0 +1,397 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Settings required by Amazon Kinesis Firehose Feeds(HTTP-Push).
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings} + */ +@com.google.protobuf.Generated +public final class AmazonKinesisFirehoseSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings) + AmazonKinesisFirehoseSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "AmazonKinesisFirehoseSettings"); + } + + // Use AmazonKinesisFirehoseSettings.newBuilder() to construct. + private AmazonKinesisFirehoseSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private AmazonKinesisFirehoseSettings() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AmazonKinesisFirehoseSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AmazonKinesisFirehoseSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings.class, + com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings.Builder.class); + } + + 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 { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + 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.cloud.chronicle.v1.AmazonKinesisFirehoseSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings other = + (com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings) obj; + + 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 = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings 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.cloud.chronicle.v1.AmazonKinesisFirehoseSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.AmazonKinesisFirehoseSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Settings required by Amazon Kinesis Firehose Feeds(HTTP-Push).
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings) + com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AmazonKinesisFirehoseSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AmazonKinesisFirehoseSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings.class, + com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AmazonKinesisFirehoseSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings build() { + com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings buildPartial() { + com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings result = + new com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings other) { + if (other == com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings.getDefaultInstance()) + return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings) + private static final com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings(); + } + + public static com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AmazonKinesisFirehoseSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonKinesisFirehoseSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonKinesisFirehoseSettingsOrBuilder.java new file mode 100644 index 000000000000..59a565250285 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonKinesisFirehoseSettingsOrBuilder.java @@ -0,0 +1,27 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface AmazonKinesisFirehoseSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings) + com.google.protobuf.MessageOrBuilder {} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonS3Settings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonS3Settings.java new file mode 100644 index 000000000000..f17f17f393c3 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonS3Settings.java @@ -0,0 +1,1233 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Amazon S3 settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AmazonS3Settings} + */ +@com.google.protobuf.Generated +public final class AmazonS3Settings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.AmazonS3Settings) + AmazonS3SettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "AmazonS3Settings"); + } + + // Use AmazonS3Settings.newBuilder() to construct. + private AmazonS3Settings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private AmazonS3Settings() { + s3Uri_ = ""; + sourceType_ = 0; + sourceDeletionOption_ = 0; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AmazonS3Settings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AmazonS3Settings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AmazonS3Settings.class, + com.google.cloud.chronicle.v1.AmazonS3Settings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.S3Auth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.S3Auth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.S3Auth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.S3Auth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.S3Auth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.S3Auth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.S3AuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.S3Auth.getDefaultInstance() + : authentication_; + } + + public static final int S3_URI_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object s3Uri_ = ""; + + /** + * + * + *
+   * S3 URI.
+   * 
+ * + * string s3_uri = 2; + * + * @return The s3Uri. + */ + @java.lang.Override + public java.lang.String getS3Uri() { + java.lang.Object ref = s3Uri_; + 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(); + s3Uri_ = s; + return s; + } + } + + /** + * + * + *
+   * S3 URI.
+   * 
+ * + * string s3_uri = 2; + * + * @return The bytes for s3Uri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getS3UriBytes() { + java.lang.Object ref = s3Uri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + s3Uri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SOURCE_TYPE_FIELD_NUMBER = 3; + private int sourceType_ = 0; + + /** + * + * + *
+   * The URI source type.
+   * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 3; + * + * @return The enum numeric value on the wire for sourceType. + */ + @java.lang.Override + public int getSourceTypeValue() { + return sourceType_; + } + + /** + * + * + *
+   * The URI source type.
+   * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 3; + * + * @return The sourceType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.URISourceType getSourceType() { + com.google.cloud.chronicle.v1.URISourceType result = + com.google.cloud.chronicle.v1.URISourceType.forNumber(sourceType_); + return result == null ? com.google.cloud.chronicle.v1.URISourceType.UNRECOGNIZED : result; + } + + public static final int SOURCE_DELETION_OPTION_FIELD_NUMBER = 4; + private int sourceDeletionOption_ = 0; + + /** + * + * + *
+   * Source deletion option.
+   * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 4; + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + @java.lang.Override + public int getSourceDeletionOptionValue() { + return sourceDeletionOption_; + } + + /** + * + * + *
+   * Source deletion option.
+   * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 4; + * + * @return The sourceDeletionOption. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SourceDeletionOption getSourceDeletionOption() { + com.google.cloud.chronicle.v1.SourceDeletionOption result = + com.google.cloud.chronicle.v1.SourceDeletionOption.forNumber(sourceDeletionOption_); + return result == null + ? com.google.cloud.chronicle.v1.SourceDeletionOption.UNRECOGNIZED + : result; + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(s3Uri_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, s3Uri_); + } + if (sourceType_ + != com.google.cloud.chronicle.v1.URISourceType.URI_SOURCE_TYPE_UNSPECIFIED.getNumber()) { + output.writeEnum(3, sourceType_); + } + if (sourceDeletionOption_ + != com.google.cloud.chronicle.v1.SourceDeletionOption.SOURCE_DELETION_OPTION_UNSPECIFIED + .getNumber()) { + output.writeEnum(4, sourceDeletionOption_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(s3Uri_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, s3Uri_); + } + if (sourceType_ + != com.google.cloud.chronicle.v1.URISourceType.URI_SOURCE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, sourceType_); + } + if (sourceDeletionOption_ + != com.google.cloud.chronicle.v1.SourceDeletionOption.SOURCE_DELETION_OPTION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, sourceDeletionOption_); + } + 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.cloud.chronicle.v1.AmazonS3Settings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.AmazonS3Settings other = + (com.google.cloud.chronicle.v1.AmazonS3Settings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getS3Uri().equals(other.getS3Uri())) return false; + if (sourceType_ != other.sourceType_) return false; + if (sourceDeletionOption_ != other.sourceDeletionOption_) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + S3_URI_FIELD_NUMBER; + hash = (53 * hash) + getS3Uri().hashCode(); + hash = (37 * hash) + SOURCE_TYPE_FIELD_NUMBER; + hash = (53 * hash) + sourceType_; + hash = (37 * hash) + SOURCE_DELETION_OPTION_FIELD_NUMBER; + hash = (53 * hash) + sourceDeletionOption_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.AmazonS3Settings parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AmazonS3Settings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AmazonS3Settings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AmazonS3Settings 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.cloud.chronicle.v1.AmazonS3Settings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AmazonS3Settings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AmazonS3Settings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AmazonS3Settings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AmazonS3Settings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AmazonS3Settings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AmazonS3Settings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AmazonS3Settings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.AmazonS3Settings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Amazon S3 settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AmazonS3Settings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.AmazonS3Settings) + com.google.cloud.chronicle.v1.AmazonS3SettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AmazonS3Settings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AmazonS3Settings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AmazonS3Settings.class, + com.google.cloud.chronicle.v1.AmazonS3Settings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.AmazonS3Settings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + s3Uri_ = ""; + sourceType_ = 0; + sourceDeletionOption_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AmazonS3Settings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonS3Settings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.AmazonS3Settings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonS3Settings build() { + com.google.cloud.chronicle.v1.AmazonS3Settings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonS3Settings buildPartial() { + com.google.cloud.chronicle.v1.AmazonS3Settings result = + new com.google.cloud.chronicle.v1.AmazonS3Settings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.AmazonS3Settings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.s3Uri_ = s3Uri_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.sourceType_ = sourceType_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.sourceDeletionOption_ = sourceDeletionOption_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.AmazonS3Settings) { + return mergeFrom((com.google.cloud.chronicle.v1.AmazonS3Settings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.AmazonS3Settings other) { + if (other == com.google.cloud.chronicle.v1.AmazonS3Settings.getDefaultInstance()) return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getS3Uri().isEmpty()) { + s3Uri_ = other.s3Uri_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.sourceType_ != 0) { + setSourceTypeValue(other.getSourceTypeValue()); + } + if (other.sourceDeletionOption_ != 0) { + setSourceDeletionOptionValue(other.getSourceDeletionOptionValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + s3Uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + sourceType_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + sourceDeletionOption_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.S3Auth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.S3Auth, + com.google.cloud.chronicle.v1.S3Auth.Builder, + com.google.cloud.chronicle.v1.S3AuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.S3Auth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.S3Auth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.S3Auth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.S3Auth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.S3Auth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.S3Auth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.S3Auth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.S3Auth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.S3Auth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.S3Auth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ != com.google.cloud.chronicle.v1.S3Auth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.S3Auth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.S3Auth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.S3Auth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.S3Auth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.S3AuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.S3Auth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.S3Auth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.S3Auth, + com.google.cloud.chronicle.v1.S3Auth.Builder, + com.google.cloud.chronicle.v1.S3AuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.S3Auth, + com.google.cloud.chronicle.v1.S3Auth.Builder, + com.google.cloud.chronicle.v1.S3AuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object s3Uri_ = ""; + + /** + * + * + *
+     * S3 URI.
+     * 
+ * + * string s3_uri = 2; + * + * @return The s3Uri. + */ + public java.lang.String getS3Uri() { + java.lang.Object ref = s3Uri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + s3Uri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * S3 URI.
+     * 
+ * + * string s3_uri = 2; + * + * @return The bytes for s3Uri. + */ + public com.google.protobuf.ByteString getS3UriBytes() { + java.lang.Object ref = s3Uri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + s3Uri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * S3 URI.
+     * 
+ * + * string s3_uri = 2; + * + * @param value The s3Uri to set. + * @return This builder for chaining. + */ + public Builder setS3Uri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + s3Uri_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * S3 URI.
+     * 
+ * + * string s3_uri = 2; + * + * @return This builder for chaining. + */ + public Builder clearS3Uri() { + s3Uri_ = getDefaultInstance().getS3Uri(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * S3 URI.
+     * 
+ * + * string s3_uri = 2; + * + * @param value The bytes for s3Uri to set. + * @return This builder for chaining. + */ + public Builder setS3UriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + s3Uri_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int sourceType_ = 0; + + /** + * + * + *
+     * The URI source type.
+     * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 3; + * + * @return The enum numeric value on the wire for sourceType. + */ + @java.lang.Override + public int getSourceTypeValue() { + return sourceType_; + } + + /** + * + * + *
+     * The URI source type.
+     * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 3; + * + * @param value The enum numeric value on the wire for sourceType to set. + * @return This builder for chaining. + */ + public Builder setSourceTypeValue(int value) { + sourceType_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * The URI source type.
+     * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 3; + * + * @return The sourceType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.URISourceType getSourceType() { + com.google.cloud.chronicle.v1.URISourceType result = + com.google.cloud.chronicle.v1.URISourceType.forNumber(sourceType_); + return result == null ? com.google.cloud.chronicle.v1.URISourceType.UNRECOGNIZED : result; + } + + /** + * + * + *
+     * The URI source type.
+     * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 3; + * + * @param value The sourceType to set. + * @return This builder for chaining. + */ + public Builder setSourceType(com.google.cloud.chronicle.v1.URISourceType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + sourceType_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * The URI source type.
+     * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 3; + * + * @return This builder for chaining. + */ + public Builder clearSourceType() { + bitField0_ = (bitField0_ & ~0x00000004); + sourceType_ = 0; + onChanged(); + return this; + } + + private int sourceDeletionOption_ = 0; + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 4; + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + @java.lang.Override + public int getSourceDeletionOptionValue() { + return sourceDeletionOption_; + } + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 4; + * + * @param value The enum numeric value on the wire for sourceDeletionOption to set. + * @return This builder for chaining. + */ + public Builder setSourceDeletionOptionValue(int value) { + sourceDeletionOption_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 4; + * + * @return The sourceDeletionOption. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SourceDeletionOption getSourceDeletionOption() { + com.google.cloud.chronicle.v1.SourceDeletionOption result = + com.google.cloud.chronicle.v1.SourceDeletionOption.forNumber(sourceDeletionOption_); + return result == null + ? com.google.cloud.chronicle.v1.SourceDeletionOption.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 4; + * + * @param value The sourceDeletionOption to set. + * @return This builder for chaining. + */ + public Builder setSourceDeletionOption( + com.google.cloud.chronicle.v1.SourceDeletionOption value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + sourceDeletionOption_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 4; + * + * @return This builder for chaining. + */ + public Builder clearSourceDeletionOption() { + bitField0_ = (bitField0_ & ~0x00000008); + sourceDeletionOption_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.AmazonS3Settings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.AmazonS3Settings) + private static final com.google.cloud.chronicle.v1.AmazonS3Settings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.AmazonS3Settings(); + } + + public static com.google.cloud.chronicle.v1.AmazonS3Settings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AmazonS3Settings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonS3Settings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonS3SettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonS3SettingsOrBuilder.java new file mode 100644 index 000000000000..3577715e6303 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonS3SettingsOrBuilder.java @@ -0,0 +1,149 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface AmazonS3SettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.AmazonS3Settings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.S3Auth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.S3Auth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.S3Auth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.S3Auth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.S3AuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * S3 URI.
+   * 
+ * + * string s3_uri = 2; + * + * @return The s3Uri. + */ + java.lang.String getS3Uri(); + + /** + * + * + *
+   * S3 URI.
+   * 
+ * + * string s3_uri = 2; + * + * @return The bytes for s3Uri. + */ + com.google.protobuf.ByteString getS3UriBytes(); + + /** + * + * + *
+   * The URI source type.
+   * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 3; + * + * @return The enum numeric value on the wire for sourceType. + */ + int getSourceTypeValue(); + + /** + * + * + *
+   * The URI source type.
+   * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 3; + * + * @return The sourceType. + */ + com.google.cloud.chronicle.v1.URISourceType getSourceType(); + + /** + * + * + *
+   * Source deletion option.
+   * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 4; + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + int getSourceDeletionOptionValue(); + + /** + * + * + *
+   * Source deletion option.
+   * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 4; + * + * @return The sourceDeletionOption. + */ + com.google.cloud.chronicle.v1.SourceDeletionOption getSourceDeletionOption(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonS3V2Settings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonS3V2Settings.java new file mode 100644 index 000000000000..fc7133a2ccc2 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonS3V2Settings.java @@ -0,0 +1,1682 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * AmazonS3V2Settings is the settings proto for Omniflow S3 feeds.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AmazonS3V2Settings} + */ +@com.google.protobuf.Generated +public final class AmazonS3V2Settings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.AmazonS3V2Settings) + AmazonS3V2SettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "AmazonS3V2Settings"); + } + + // Use AmazonS3V2Settings.newBuilder() to construct. + private AmazonS3V2Settings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private AmazonS3V2Settings() { + s3Uri_ = ""; + sourceDeletionOption_ = 0; + chronicleServiceAccount_ = ""; + includePrefixes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AmazonS3V2Settings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AmazonS3V2Settings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AmazonS3V2Settings.class, + com.google.cloud.chronicle.v1.AmazonS3V2Settings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.S3AuthV2 authentication_; + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.S3AuthV2 authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.S3AuthV2 authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.S3AuthV2 getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.S3AuthV2.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.S3AuthV2 authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.S3AuthV2OrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.S3AuthV2.getDefaultInstance() + : authentication_; + } + + public static final int S3_URI_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object s3Uri_ = ""; + + /** + * + * + *
+   * Required. S3 URI.
+   * 
+ * + * string s3_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The s3Uri. + */ + @java.lang.Override + public java.lang.String getS3Uri() { + java.lang.Object ref = s3Uri_; + 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(); + s3Uri_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. S3 URI.
+   * 
+ * + * string s3_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for s3Uri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getS3UriBytes() { + java.lang.Object ref = s3Uri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + s3Uri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SOURCE_DELETION_OPTION_FIELD_NUMBER = 3; + private int sourceDeletionOption_ = 0; + + /** + * + * + *
+   * Optional. Source deletion option.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + @java.lang.Override + public int getSourceDeletionOptionValue() { + return sourceDeletionOption_; + } + + /** + * + * + *
+   * Optional. Source deletion option.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The sourceDeletionOption. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SourceDeletionOptionV2 getSourceDeletionOption() { + com.google.cloud.chronicle.v1.SourceDeletionOptionV2 result = + com.google.cloud.chronicle.v1.SourceDeletionOptionV2.forNumber(sourceDeletionOption_); + return result == null + ? com.google.cloud.chronicle.v1.SourceDeletionOptionV2.UNRECOGNIZED + : result; + } + + public static final int MAX_LOOKBACK_DAYS_FIELD_NUMBER = 4; + private int maxLookbackDays_ = 0; + + /** + * + * + *
+   * Optional. Maximum File Age to ingest in days.
+   * 
+ * + * int32 max_lookback_days = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxLookbackDays. + */ + @java.lang.Override + public int getMaxLookbackDays() { + return maxLookbackDays_; + } + + public static final int CHRONICLE_SERVICE_ACCOUNT_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private volatile java.lang.Object chronicleServiceAccount_ = ""; + + /** + * + * + *
+   * Output only. SA that will read data, this is Storage Transfer Service SA of
+   * Customer's Tenancy Project.
+   * 
+ * + * string chronicle_service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The chronicleServiceAccount. + */ + @java.lang.Override + public java.lang.String getChronicleServiceAccount() { + java.lang.Object ref = chronicleServiceAccount_; + 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(); + chronicleServiceAccount_ = s; + return s; + } + } + + /** + * + * + *
+   * Output only. SA that will read data, this is Storage Transfer Service SA of
+   * Customer's Tenancy Project.
+   * 
+ * + * string chronicle_service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for chronicleServiceAccount. + */ + @java.lang.Override + public com.google.protobuf.ByteString getChronicleServiceAccountBytes() { + java.lang.Object ref = chronicleServiceAccount_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + chronicleServiceAccount_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INCLUDE_PREFIXES_FIELD_NUMBER = 6; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList includePrefixes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the includePrefixes. + */ + public com.google.protobuf.ProtocolStringList getIncludePrefixesList() { + return includePrefixes_; + } + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of includePrefixes. + */ + public int getIncludePrefixesCount() { + return includePrefixes_.size(); + } + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The includePrefixes at the given index. + */ + public java.lang.String getIncludePrefixes(int index) { + return includePrefixes_.get(index); + } + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the includePrefixes at the given index. + */ + public com.google.protobuf.ByteString getIncludePrefixesBytes(int index) { + return includePrefixes_.getByteString(index); + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(s3Uri_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, s3Uri_); + } + if (sourceDeletionOption_ + != com.google.cloud.chronicle.v1.SourceDeletionOptionV2 + .SOURCE_DELETION_OPTION_V2_UNSPECIFIED + .getNumber()) { + output.writeEnum(3, sourceDeletionOption_); + } + if (maxLookbackDays_ != 0) { + output.writeInt32(4, maxLookbackDays_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(chronicleServiceAccount_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, chronicleServiceAccount_); + } + for (int i = 0; i < includePrefixes_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 6, includePrefixes_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(s3Uri_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, s3Uri_); + } + if (sourceDeletionOption_ + != com.google.cloud.chronicle.v1.SourceDeletionOptionV2 + .SOURCE_DELETION_OPTION_V2_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, sourceDeletionOption_); + } + if (maxLookbackDays_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, maxLookbackDays_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(chronicleServiceAccount_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, chronicleServiceAccount_); + } + { + int dataSize = 0; + for (int i = 0; i < includePrefixes_.size(); i++) { + dataSize += computeStringSizeNoTag(includePrefixes_.getRaw(i)); + } + size += dataSize; + size += 1 * getIncludePrefixesList().size(); + } + 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.cloud.chronicle.v1.AmazonS3V2Settings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.AmazonS3V2Settings other = + (com.google.cloud.chronicle.v1.AmazonS3V2Settings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getS3Uri().equals(other.getS3Uri())) return false; + if (sourceDeletionOption_ != other.sourceDeletionOption_) return false; + if (getMaxLookbackDays() != other.getMaxLookbackDays()) return false; + if (!getChronicleServiceAccount().equals(other.getChronicleServiceAccount())) return false; + if (!getIncludePrefixesList().equals(other.getIncludePrefixesList())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + S3_URI_FIELD_NUMBER; + hash = (53 * hash) + getS3Uri().hashCode(); + hash = (37 * hash) + SOURCE_DELETION_OPTION_FIELD_NUMBER; + hash = (53 * hash) + sourceDeletionOption_; + hash = (37 * hash) + MAX_LOOKBACK_DAYS_FIELD_NUMBER; + hash = (53 * hash) + getMaxLookbackDays(); + hash = (37 * hash) + CHRONICLE_SERVICE_ACCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getChronicleServiceAccount().hashCode(); + if (getIncludePrefixesCount() > 0) { + hash = (37 * hash) + INCLUDE_PREFIXES_FIELD_NUMBER; + hash = (53 * hash) + getIncludePrefixesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.AmazonS3V2Settings parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AmazonS3V2Settings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AmazonS3V2Settings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AmazonS3V2Settings 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.cloud.chronicle.v1.AmazonS3V2Settings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AmazonS3V2Settings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AmazonS3V2Settings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AmazonS3V2Settings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AmazonS3V2Settings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AmazonS3V2Settings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AmazonS3V2Settings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AmazonS3V2Settings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.AmazonS3V2Settings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * AmazonS3V2Settings is the settings proto for Omniflow S3 feeds.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AmazonS3V2Settings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.AmazonS3V2Settings) + com.google.cloud.chronicle.v1.AmazonS3V2SettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AmazonS3V2Settings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AmazonS3V2Settings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AmazonS3V2Settings.class, + com.google.cloud.chronicle.v1.AmazonS3V2Settings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.AmazonS3V2Settings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + s3Uri_ = ""; + sourceDeletionOption_ = 0; + maxLookbackDays_ = 0; + chronicleServiceAccount_ = ""; + includePrefixes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AmazonS3V2Settings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonS3V2Settings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.AmazonS3V2Settings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonS3V2Settings build() { + com.google.cloud.chronicle.v1.AmazonS3V2Settings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonS3V2Settings buildPartial() { + com.google.cloud.chronicle.v1.AmazonS3V2Settings result = + new com.google.cloud.chronicle.v1.AmazonS3V2Settings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.AmazonS3V2Settings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.s3Uri_ = s3Uri_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.sourceDeletionOption_ = sourceDeletionOption_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.maxLookbackDays_ = maxLookbackDays_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.chronicleServiceAccount_ = chronicleServiceAccount_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + includePrefixes_.makeImmutable(); + result.includePrefixes_ = includePrefixes_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.AmazonS3V2Settings) { + return mergeFrom((com.google.cloud.chronicle.v1.AmazonS3V2Settings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.AmazonS3V2Settings other) { + if (other == com.google.cloud.chronicle.v1.AmazonS3V2Settings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getS3Uri().isEmpty()) { + s3Uri_ = other.s3Uri_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.sourceDeletionOption_ != 0) { + setSourceDeletionOptionValue(other.getSourceDeletionOptionValue()); + } + if (other.getMaxLookbackDays() != 0) { + setMaxLookbackDays(other.getMaxLookbackDays()); + } + if (!other.getChronicleServiceAccount().isEmpty()) { + chronicleServiceAccount_ = other.chronicleServiceAccount_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.includePrefixes_.isEmpty()) { + if (includePrefixes_.isEmpty()) { + includePrefixes_ = other.includePrefixes_; + bitField0_ |= 0x00000020; + } else { + ensureIncludePrefixesIsMutable(); + includePrefixes_.addAll(other.includePrefixes_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + s3Uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + sourceDeletionOption_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + maxLookbackDays_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + chronicleServiceAccount_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureIncludePrefixesIsMutable(); + includePrefixes_.add(s); + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.S3AuthV2 authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.S3AuthV2, + com.google.cloud.chronicle.v1.S3AuthV2.Builder, + com.google.cloud.chronicle.v1.S3AuthV2OrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.S3AuthV2 authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.S3AuthV2 authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.S3AuthV2 getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.S3AuthV2.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.S3AuthV2 authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.S3AuthV2 value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.S3AuthV2 authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.S3AuthV2.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.S3AuthV2 authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.S3AuthV2 value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ != com.google.cloud.chronicle.v1.S3AuthV2.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.S3AuthV2 authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.S3AuthV2 authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.S3AuthV2.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.S3AuthV2 authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.S3AuthV2OrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.S3AuthV2.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.S3AuthV2 authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.S3AuthV2, + com.google.cloud.chronicle.v1.S3AuthV2.Builder, + com.google.cloud.chronicle.v1.S3AuthV2OrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.S3AuthV2, + com.google.cloud.chronicle.v1.S3AuthV2.Builder, + com.google.cloud.chronicle.v1.S3AuthV2OrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object s3Uri_ = ""; + + /** + * + * + *
+     * Required. S3 URI.
+     * 
+ * + * string s3_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The s3Uri. + */ + public java.lang.String getS3Uri() { + java.lang.Object ref = s3Uri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + s3Uri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. S3 URI.
+     * 
+ * + * string s3_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for s3Uri. + */ + public com.google.protobuf.ByteString getS3UriBytes() { + java.lang.Object ref = s3Uri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + s3Uri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. S3 URI.
+     * 
+ * + * string s3_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The s3Uri to set. + * @return This builder for chaining. + */ + public Builder setS3Uri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + s3Uri_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. S3 URI.
+     * 
+ * + * string s3_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearS3Uri() { + s3Uri_ = getDefaultInstance().getS3Uri(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. S3 URI.
+     * 
+ * + * string s3_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for s3Uri to set. + * @return This builder for chaining. + */ + public Builder setS3UriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + s3Uri_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int sourceDeletionOption_ = 0; + + /** + * + * + *
+     * Optional. Source deletion option.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + @java.lang.Override + public int getSourceDeletionOptionValue() { + return sourceDeletionOption_; + } + + /** + * + * + *
+     * Optional. Source deletion option.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The enum numeric value on the wire for sourceDeletionOption to set. + * @return This builder for chaining. + */ + public Builder setSourceDeletionOptionValue(int value) { + sourceDeletionOption_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Source deletion option.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The sourceDeletionOption. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SourceDeletionOptionV2 getSourceDeletionOption() { + com.google.cloud.chronicle.v1.SourceDeletionOptionV2 result = + com.google.cloud.chronicle.v1.SourceDeletionOptionV2.forNumber(sourceDeletionOption_); + return result == null + ? com.google.cloud.chronicle.v1.SourceDeletionOptionV2.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * Optional. Source deletion option.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The sourceDeletionOption to set. + * @return This builder for chaining. + */ + public Builder setSourceDeletionOption( + com.google.cloud.chronicle.v1.SourceDeletionOptionV2 value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + sourceDeletionOption_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Source deletion option.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearSourceDeletionOption() { + bitField0_ = (bitField0_ & ~0x00000004); + sourceDeletionOption_ = 0; + onChanged(); + return this; + } + + private int maxLookbackDays_; + + /** + * + * + *
+     * Optional. Maximum File Age to ingest in days.
+     * 
+ * + * int32 max_lookback_days = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxLookbackDays. + */ + @java.lang.Override + public int getMaxLookbackDays() { + return maxLookbackDays_; + } + + /** + * + * + *
+     * Optional. Maximum File Age to ingest in days.
+     * 
+ * + * int32 max_lookback_days = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The maxLookbackDays to set. + * @return This builder for chaining. + */ + public Builder setMaxLookbackDays(int value) { + + maxLookbackDays_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Maximum File Age to ingest in days.
+     * 
+ * + * int32 max_lookback_days = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearMaxLookbackDays() { + bitField0_ = (bitField0_ & ~0x00000008); + maxLookbackDays_ = 0; + onChanged(); + return this; + } + + private java.lang.Object chronicleServiceAccount_ = ""; + + /** + * + * + *
+     * Output only. SA that will read data, this is Storage Transfer Service SA of
+     * Customer's Tenancy Project.
+     * 
+ * + * string chronicle_service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The chronicleServiceAccount. + */ + public java.lang.String getChronicleServiceAccount() { + java.lang.Object ref = chronicleServiceAccount_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + chronicleServiceAccount_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Output only. SA that will read data, this is Storage Transfer Service SA of
+     * Customer's Tenancy Project.
+     * 
+ * + * string chronicle_service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The bytes for chronicleServiceAccount. + */ + public com.google.protobuf.ByteString getChronicleServiceAccountBytes() { + java.lang.Object ref = chronicleServiceAccount_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + chronicleServiceAccount_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Output only. SA that will read data, this is Storage Transfer Service SA of
+     * Customer's Tenancy Project.
+     * 
+ * + * string chronicle_service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The chronicleServiceAccount to set. + * @return This builder for chaining. + */ + public Builder setChronicleServiceAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + chronicleServiceAccount_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. SA that will read data, this is Storage Transfer Service SA of
+     * Customer's Tenancy Project.
+     * 
+ * + * string chronicle_service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearChronicleServiceAccount() { + chronicleServiceAccount_ = getDefaultInstance().getChronicleServiceAccount(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. SA that will read data, this is Storage Transfer Service SA of
+     * Customer's Tenancy Project.
+     * 
+ * + * string chronicle_service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The bytes for chronicleServiceAccount to set. + * @return This builder for chaining. + */ + public Builder setChronicleServiceAccountBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + chronicleServiceAccount_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList includePrefixes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureIncludePrefixesIsMutable() { + if (!includePrefixes_.isModifiable()) { + includePrefixes_ = new com.google.protobuf.LazyStringArrayList(includePrefixes_); + } + bitField0_ |= 0x00000020; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the includePrefixes. + */ + public com.google.protobuf.ProtocolStringList getIncludePrefixesList() { + includePrefixes_.makeImmutable(); + return includePrefixes_; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of includePrefixes. + */ + public int getIncludePrefixesCount() { + return includePrefixes_.size(); + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The includePrefixes at the given index. + */ + public java.lang.String getIncludePrefixes(int index) { + return includePrefixes_.get(index); + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the includePrefixes at the given index. + */ + public com.google.protobuf.ByteString getIncludePrefixesBytes(int index) { + return includePrefixes_.getByteString(index); + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The includePrefixes to set. + * @return This builder for chaining. + */ + public Builder setIncludePrefixes(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureIncludePrefixesIsMutable(); + includePrefixes_.set(index, value); + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The includePrefixes to add. + * @return This builder for chaining. + */ + public Builder addIncludePrefixes(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureIncludePrefixesIsMutable(); + includePrefixes_.add(value); + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The includePrefixes to add. + * @return This builder for chaining. + */ + public Builder addAllIncludePrefixes(java.lang.Iterable values) { + ensureIncludePrefixesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includePrefixes_); + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearIncludePrefixes() { + includePrefixes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + ; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the includePrefixes to add. + * @return This builder for chaining. + */ + public Builder addIncludePrefixesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureIncludePrefixesIsMutable(); + includePrefixes_.add(value); + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.AmazonS3V2Settings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.AmazonS3V2Settings) + private static final com.google.cloud.chronicle.v1.AmazonS3V2Settings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.AmazonS3V2Settings(); + } + + public static com.google.cloud.chronicle.v1.AmazonS3V2Settings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AmazonS3V2Settings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonS3V2Settings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonS3V2SettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonS3V2SettingsOrBuilder.java new file mode 100644 index 000000000000..145bba0a2572 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonS3V2SettingsOrBuilder.java @@ -0,0 +1,222 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface AmazonS3V2SettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.AmazonS3V2Settings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.S3AuthV2 authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.S3AuthV2 authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.S3AuthV2 getAuthentication(); + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.S3AuthV2 authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.chronicle.v1.S3AuthV2OrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Required. S3 URI.
+   * 
+ * + * string s3_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The s3Uri. + */ + java.lang.String getS3Uri(); + + /** + * + * + *
+   * Required. S3 URI.
+   * 
+ * + * string s3_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for s3Uri. + */ + com.google.protobuf.ByteString getS3UriBytes(); + + /** + * + * + *
+   * Optional. Source deletion option.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + int getSourceDeletionOptionValue(); + + /** + * + * + *
+   * Optional. Source deletion option.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The sourceDeletionOption. + */ + com.google.cloud.chronicle.v1.SourceDeletionOptionV2 getSourceDeletionOption(); + + /** + * + * + *
+   * Optional. Maximum File Age to ingest in days.
+   * 
+ * + * int32 max_lookback_days = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxLookbackDays. + */ + int getMaxLookbackDays(); + + /** + * + * + *
+   * Output only. SA that will read data, this is Storage Transfer Service SA of
+   * Customer's Tenancy Project.
+   * 
+ * + * string chronicle_service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The chronicleServiceAccount. + */ + java.lang.String getChronicleServiceAccount(); + + /** + * + * + *
+   * Output only. SA that will read data, this is Storage Transfer Service SA of
+   * Customer's Tenancy Project.
+   * 
+ * + * string chronicle_service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for chronicleServiceAccount. + */ + com.google.protobuf.ByteString getChronicleServiceAccountBytes(); + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the includePrefixes. + */ + java.util.List getIncludePrefixesList(); + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of includePrefixes. + */ + int getIncludePrefixesCount(); + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The includePrefixes at the given index. + */ + java.lang.String getIncludePrefixes(int index); + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the includePrefixes at the given index. + */ + com.google.protobuf.ByteString getIncludePrefixesBytes(int index); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonSQSSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonSQSSettings.java new file mode 100644 index 000000000000..2d987ec11f9a --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonSQSSettings.java @@ -0,0 +1,1422 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Amazon SQS settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AmazonSQSSettings} + */ +@com.google.protobuf.Generated +public final class AmazonSQSSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.AmazonSQSSettings) + AmazonSQSSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "AmazonSQSSettings"); + } + + // Use AmazonSQSSettings.newBuilder() to construct. + private AmazonSQSSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private AmazonSQSSettings() { + region_ = 0; + queue_ = ""; + accountNumber_ = ""; + sourceDeletionOption_ = 0; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AmazonSQSSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AmazonSQSSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AmazonSQSSettings.class, + com.google.cloud.chronicle.v1.AmazonSQSSettings.Builder.class); + } + + private int bitField0_; + public static final int REGION_FIELD_NUMBER = 1; + private int region_ = 0; + + /** + * + * + *
+   * S3 Region.
+   * 
+ * + * .google.cloud.chronicle.v1.S3Region region = 1; + * + * @return The enum numeric value on the wire for region. + */ + @java.lang.Override + public int getRegionValue() { + return region_; + } + + /** + * + * + *
+   * S3 Region.
+   * 
+ * + * .google.cloud.chronicle.v1.S3Region region = 1; + * + * @return The region. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.S3Region getRegion() { + com.google.cloud.chronicle.v1.S3Region result = + com.google.cloud.chronicle.v1.S3Region.forNumber(region_); + return result == null ? com.google.cloud.chronicle.v1.S3Region.UNRECOGNIZED : result; + } + + public static final int QUEUE_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object queue_ = ""; + + /** + * + * + *
+   * Name of the queue.
+   * 
+ * + * string queue = 2; + * + * @return The queue. + */ + @java.lang.Override + public java.lang.String getQueue() { + java.lang.Object ref = queue_; + 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(); + queue_ = s; + return s; + } + } + + /** + * + * + *
+   * Name of the queue.
+   * 
+ * + * string queue = 2; + * + * @return The bytes for queue. + */ + @java.lang.Override + public com.google.protobuf.ByteString getQueueBytes() { + java.lang.Object ref = queue_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + queue_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ACCOUNT_NUMBER_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object accountNumber_ = ""; + + /** + * + * + *
+   * Account number of the owner of the queue.
+   * 
+ * + * string account_number = 3; + * + * @return The accountNumber. + */ + @java.lang.Override + public java.lang.String getAccountNumber() { + java.lang.Object ref = accountNumber_; + 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(); + accountNumber_ = s; + return s; + } + } + + /** + * + * + *
+   * Account number of the owner of the queue.
+   * 
+ * + * string account_number = 3; + * + * @return The bytes for accountNumber. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAccountNumberBytes() { + java.lang.Object ref = accountNumber_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + accountNumber_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AUTHENTICATION_FIELD_NUMBER = 4; + private com.google.cloud.chronicle.v1.SQSAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuth authentication = 4 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuth authentication = 4 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.SQSAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuth authentication = 4 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.SQSAuth.getDefaultInstance() + : authentication_; + } + + public static final int SOURCE_DELETION_OPTION_FIELD_NUMBER = 5; + private int sourceDeletionOption_ = 0; + + /** + * + * + *
+   * Source deletion option.
+   * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 5; + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + @java.lang.Override + public int getSourceDeletionOptionValue() { + return sourceDeletionOption_; + } + + /** + * + * + *
+   * Source deletion option.
+   * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 5; + * + * @return The sourceDeletionOption. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SourceDeletionOption getSourceDeletionOption() { + com.google.cloud.chronicle.v1.SourceDeletionOption result = + com.google.cloud.chronicle.v1.SourceDeletionOption.forNumber(sourceDeletionOption_); + return result == null + ? com.google.cloud.chronicle.v1.SourceDeletionOption.UNRECOGNIZED + : result; + } + + 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 (region_ != com.google.cloud.chronicle.v1.S3Region.S3_REGION_UNSPECIFIED.getNumber()) { + output.writeEnum(1, region_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(queue_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, queue_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(accountNumber_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, accountNumber_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(4, getAuthentication()); + } + if (sourceDeletionOption_ + != com.google.cloud.chronicle.v1.SourceDeletionOption.SOURCE_DELETION_OPTION_UNSPECIFIED + .getNumber()) { + output.writeEnum(5, sourceDeletionOption_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (region_ != com.google.cloud.chronicle.v1.S3Region.S3_REGION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, region_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(queue_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, queue_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(accountNumber_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, accountNumber_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAuthentication()); + } + if (sourceDeletionOption_ + != com.google.cloud.chronicle.v1.SourceDeletionOption.SOURCE_DELETION_OPTION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, sourceDeletionOption_); + } + 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.cloud.chronicle.v1.AmazonSQSSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.AmazonSQSSettings other = + (com.google.cloud.chronicle.v1.AmazonSQSSettings) obj; + + if (region_ != other.region_) return false; + if (!getQueue().equals(other.getQueue())) return false; + if (!getAccountNumber().equals(other.getAccountNumber())) return false; + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (sourceDeletionOption_ != other.sourceDeletionOption_) 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) + REGION_FIELD_NUMBER; + hash = (53 * hash) + region_; + hash = (37 * hash) + QUEUE_FIELD_NUMBER; + hash = (53 * hash) + getQueue().hashCode(); + hash = (37 * hash) + ACCOUNT_NUMBER_FIELD_NUMBER; + hash = (53 * hash) + getAccountNumber().hashCode(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + SOURCE_DELETION_OPTION_FIELD_NUMBER; + hash = (53 * hash) + sourceDeletionOption_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.AmazonSQSSettings parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AmazonSQSSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AmazonSQSSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AmazonSQSSettings 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.cloud.chronicle.v1.AmazonSQSSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AmazonSQSSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AmazonSQSSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AmazonSQSSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AmazonSQSSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AmazonSQSSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AmazonSQSSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AmazonSQSSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.AmazonSQSSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Amazon SQS settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AmazonSQSSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.AmazonSQSSettings) + com.google.cloud.chronicle.v1.AmazonSQSSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AmazonSQSSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AmazonSQSSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AmazonSQSSettings.class, + com.google.cloud.chronicle.v1.AmazonSQSSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.AmazonSQSSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + region_ = 0; + queue_ = ""; + accountNumber_ = ""; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + sourceDeletionOption_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AmazonSQSSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonSQSSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.AmazonSQSSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonSQSSettings build() { + com.google.cloud.chronicle.v1.AmazonSQSSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonSQSSettings buildPartial() { + com.google.cloud.chronicle.v1.AmazonSQSSettings result = + new com.google.cloud.chronicle.v1.AmazonSQSSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.AmazonSQSSettings result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.region_ = region_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.queue_ = queue_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.accountNumber_ = accountNumber_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000008) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.sourceDeletionOption_ = sourceDeletionOption_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.AmazonSQSSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.AmazonSQSSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.AmazonSQSSettings other) { + if (other == com.google.cloud.chronicle.v1.AmazonSQSSettings.getDefaultInstance()) + return this; + if (other.region_ != 0) { + setRegionValue(other.getRegionValue()); + } + if (!other.getQueue().isEmpty()) { + queue_ = other.queue_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getAccountNumber().isEmpty()) { + accountNumber_ = other.accountNumber_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (other.sourceDeletionOption_ != 0) { + setSourceDeletionOptionValue(other.getSourceDeletionOptionValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + region_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + queue_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + accountNumber_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + sourceDeletionOption_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private int region_ = 0; + + /** + * + * + *
+     * S3 Region.
+     * 
+ * + * .google.cloud.chronicle.v1.S3Region region = 1; + * + * @return The enum numeric value on the wire for region. + */ + @java.lang.Override + public int getRegionValue() { + return region_; + } + + /** + * + * + *
+     * S3 Region.
+     * 
+ * + * .google.cloud.chronicle.v1.S3Region region = 1; + * + * @param value The enum numeric value on the wire for region to set. + * @return This builder for chaining. + */ + public Builder setRegionValue(int value) { + region_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * S3 Region.
+     * 
+ * + * .google.cloud.chronicle.v1.S3Region region = 1; + * + * @return The region. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.S3Region getRegion() { + com.google.cloud.chronicle.v1.S3Region result = + com.google.cloud.chronicle.v1.S3Region.forNumber(region_); + return result == null ? com.google.cloud.chronicle.v1.S3Region.UNRECOGNIZED : result; + } + + /** + * + * + *
+     * S3 Region.
+     * 
+ * + * .google.cloud.chronicle.v1.S3Region region = 1; + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(com.google.cloud.chronicle.v1.S3Region value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + region_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * S3 Region.
+     * 
+ * + * .google.cloud.chronicle.v1.S3Region region = 1; + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + bitField0_ = (bitField0_ & ~0x00000001); + region_ = 0; + onChanged(); + return this; + } + + private java.lang.Object queue_ = ""; + + /** + * + * + *
+     * Name of the queue.
+     * 
+ * + * string queue = 2; + * + * @return The queue. + */ + public java.lang.String getQueue() { + java.lang.Object ref = queue_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + queue_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Name of the queue.
+     * 
+ * + * string queue = 2; + * + * @return The bytes for queue. + */ + public com.google.protobuf.ByteString getQueueBytes() { + java.lang.Object ref = queue_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + queue_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Name of the queue.
+     * 
+ * + * string queue = 2; + * + * @param value The queue to set. + * @return This builder for chaining. + */ + public Builder setQueue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + queue_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Name of the queue.
+     * 
+ * + * string queue = 2; + * + * @return This builder for chaining. + */ + public Builder clearQueue() { + queue_ = getDefaultInstance().getQueue(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Name of the queue.
+     * 
+ * + * string queue = 2; + * + * @param value The bytes for queue to set. + * @return This builder for chaining. + */ + public Builder setQueueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queue_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object accountNumber_ = ""; + + /** + * + * + *
+     * Account number of the owner of the queue.
+     * 
+ * + * string account_number = 3; + * + * @return The accountNumber. + */ + public java.lang.String getAccountNumber() { + java.lang.Object ref = accountNumber_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + accountNumber_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Account number of the owner of the queue.
+     * 
+ * + * string account_number = 3; + * + * @return The bytes for accountNumber. + */ + public com.google.protobuf.ByteString getAccountNumberBytes() { + java.lang.Object ref = accountNumber_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + accountNumber_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Account number of the owner of the queue.
+     * 
+ * + * string account_number = 3; + * + * @param value The accountNumber to set. + * @return This builder for chaining. + */ + public Builder setAccountNumber(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + accountNumber_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Account number of the owner of the queue.
+     * 
+ * + * string account_number = 3; + * + * @return This builder for chaining. + */ + public Builder clearAccountNumber() { + accountNumber_ = getDefaultInstance().getAccountNumber(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Account number of the owner of the queue.
+     * 
+ * + * string account_number = 3; + * + * @param value The bytes for accountNumber to set. + * @return This builder for chaining. + */ + public Builder setAccountNumberBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + accountNumber_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private com.google.cloud.chronicle.v1.SQSAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SQSAuth, + com.google.cloud.chronicle.v1.SQSAuth.Builder, + com.google.cloud.chronicle.v1.SQSAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuth authentication = 4 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuth authentication = 4 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.SQSAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.SQSAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuth authentication = 4 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.SQSAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuth authentication = 4 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.SQSAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuth authentication = 4 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.SQSAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && authentication_ != null + && authentication_ != com.google.cloud.chronicle.v1.SQSAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuth authentication = 4 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000008); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuth authentication = 4 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.SQSAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuth authentication = 4 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.SQSAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.SQSAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuth authentication = 4 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SQSAuth, + com.google.cloud.chronicle.v1.SQSAuth.Builder, + com.google.cloud.chronicle.v1.SQSAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SQSAuth, + com.google.cloud.chronicle.v1.SQSAuth.Builder, + com.google.cloud.chronicle.v1.SQSAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private int sourceDeletionOption_ = 0; + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 5; + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + @java.lang.Override + public int getSourceDeletionOptionValue() { + return sourceDeletionOption_; + } + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 5; + * + * @param value The enum numeric value on the wire for sourceDeletionOption to set. + * @return This builder for chaining. + */ + public Builder setSourceDeletionOptionValue(int value) { + sourceDeletionOption_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 5; + * + * @return The sourceDeletionOption. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SourceDeletionOption getSourceDeletionOption() { + com.google.cloud.chronicle.v1.SourceDeletionOption result = + com.google.cloud.chronicle.v1.SourceDeletionOption.forNumber(sourceDeletionOption_); + return result == null + ? com.google.cloud.chronicle.v1.SourceDeletionOption.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 5; + * + * @param value The sourceDeletionOption to set. + * @return This builder for chaining. + */ + public Builder setSourceDeletionOption( + com.google.cloud.chronicle.v1.SourceDeletionOption value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + sourceDeletionOption_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 5; + * + * @return This builder for chaining. + */ + public Builder clearSourceDeletionOption() { + bitField0_ = (bitField0_ & ~0x00000010); + sourceDeletionOption_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.AmazonSQSSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.AmazonSQSSettings) + private static final com.google.cloud.chronicle.v1.AmazonSQSSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.AmazonSQSSettings(); + } + + public static com.google.cloud.chronicle.v1.AmazonSQSSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AmazonSQSSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonSQSSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonSQSSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonSQSSettingsOrBuilder.java new file mode 100644 index 000000000000..48618d757b55 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonSQSSettingsOrBuilder.java @@ -0,0 +1,175 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface AmazonSQSSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.AmazonSQSSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * S3 Region.
+   * 
+ * + * .google.cloud.chronicle.v1.S3Region region = 1; + * + * @return The enum numeric value on the wire for region. + */ + int getRegionValue(); + + /** + * + * + *
+   * S3 Region.
+   * 
+ * + * .google.cloud.chronicle.v1.S3Region region = 1; + * + * @return The region. + */ + com.google.cloud.chronicle.v1.S3Region getRegion(); + + /** + * + * + *
+   * Name of the queue.
+   * 
+ * + * string queue = 2; + * + * @return The queue. + */ + java.lang.String getQueue(); + + /** + * + * + *
+   * Name of the queue.
+   * 
+ * + * string queue = 2; + * + * @return The bytes for queue. + */ + com.google.protobuf.ByteString getQueueBytes(); + + /** + * + * + *
+   * Account number of the owner of the queue.
+   * 
+ * + * string account_number = 3; + * + * @return The accountNumber. + */ + java.lang.String getAccountNumber(); + + /** + * + * + *
+   * Account number of the owner of the queue.
+   * 
+ * + * string account_number = 3; + * + * @return The bytes for accountNumber. + */ + com.google.protobuf.ByteString getAccountNumberBytes(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuth authentication = 4 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuth authentication = 4 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.SQSAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuth authentication = 4 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.SQSAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Source deletion option.
+   * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 5; + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + int getSourceDeletionOptionValue(); + + /** + * + * + *
+   * Source deletion option.
+   * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 5; + * + * @return The sourceDeletionOption. + */ + com.google.cloud.chronicle.v1.SourceDeletionOption getSourceDeletionOption(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonSQSV2Settings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonSQSV2Settings.java new file mode 100644 index 000000000000..29138d01b19e --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonSQSV2Settings.java @@ -0,0 +1,1871 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * AmazonSQSV2Settings is the settings proto for Omniflow SQS feeds.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AmazonSQSV2Settings} + */ +@com.google.protobuf.Generated +public final class AmazonSQSV2Settings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.AmazonSQSV2Settings) + AmazonSQSV2SettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "AmazonSQSV2Settings"); + } + + // Use AmazonSQSV2Settings.newBuilder() to construct. + private AmazonSQSV2Settings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private AmazonSQSV2Settings() { + queue_ = ""; + s3Uri_ = ""; + sourceDeletionOption_ = 0; + chronicleServiceAccount_ = ""; + includePrefixes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AmazonSQSV2Settings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AmazonSQSV2Settings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AmazonSQSV2Settings.class, + com.google.cloud.chronicle.v1.AmazonSQSV2Settings.Builder.class); + } + + private int bitField0_; + public static final int QUEUE_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object queue_ = ""; + + /** + * + * + *
+   * Required. Amazon Resource Name(ARN) of the queue.
+   * 
+ * + * string queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The queue. + */ + @java.lang.Override + public java.lang.String getQueue() { + java.lang.Object ref = queue_; + 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(); + queue_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Amazon Resource Name(ARN) of the queue.
+   * 
+ * + * string queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for queue. + */ + @java.lang.Override + public com.google.protobuf.ByteString getQueueBytes() { + java.lang.Object ref = queue_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + queue_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int S3_URI_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object s3Uri_ = ""; + + /** + * + * + *
+   * Required. S3 URI.
+   * 
+ * + * string s3_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The s3Uri. + */ + @java.lang.Override + public java.lang.String getS3Uri() { + java.lang.Object ref = s3Uri_; + 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(); + s3Uri_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. S3 URI.
+   * 
+ * + * string s3_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for s3Uri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getS3UriBytes() { + java.lang.Object ref = s3Uri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + s3Uri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AUTHENTICATION_FIELD_NUMBER = 3; + private com.google.cloud.chronicle.v1.SQSAuthV2 authentication_; + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSAuthV2 getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.SQSAuthV2.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSAuthV2OrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.SQSAuthV2.getDefaultInstance() + : authentication_; + } + + public static final int SOURCE_DELETION_OPTION_FIELD_NUMBER = 4; + private int sourceDeletionOption_ = 0; + + /** + * + * + *
+   * Optional. Source deletion option.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + @java.lang.Override + public int getSourceDeletionOptionValue() { + return sourceDeletionOption_; + } + + /** + * + * + *
+   * Optional. Source deletion option.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The sourceDeletionOption. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SourceDeletionOptionV2 getSourceDeletionOption() { + com.google.cloud.chronicle.v1.SourceDeletionOptionV2 result = + com.google.cloud.chronicle.v1.SourceDeletionOptionV2.forNumber(sourceDeletionOption_); + return result == null + ? com.google.cloud.chronicle.v1.SourceDeletionOptionV2.UNRECOGNIZED + : result; + } + + public static final int MAX_LOOKBACK_DAYS_FIELD_NUMBER = 5; + private int maxLookbackDays_ = 0; + + /** + * + * + *
+   * Optional. Maximum File Age to ingest in days.
+   * 
+ * + * int32 max_lookback_days = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxLookbackDays. + */ + @java.lang.Override + public int getMaxLookbackDays() { + return maxLookbackDays_; + } + + public static final int CHRONICLE_SERVICE_ACCOUNT_FIELD_NUMBER = 6; + + @SuppressWarnings("serial") + private volatile java.lang.Object chronicleServiceAccount_ = ""; + + /** + * + * + *
+   * Output only. SA that will read data, this is Storage Transfer Service SA of
+   * Customer's Tenancy Project.
+   * 
+ * + * string chronicle_service_account = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The chronicleServiceAccount. + */ + @java.lang.Override + public java.lang.String getChronicleServiceAccount() { + java.lang.Object ref = chronicleServiceAccount_; + 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(); + chronicleServiceAccount_ = s; + return s; + } + } + + /** + * + * + *
+   * Output only. SA that will read data, this is Storage Transfer Service SA of
+   * Customer's Tenancy Project.
+   * 
+ * + * string chronicle_service_account = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for chronicleServiceAccount. + */ + @java.lang.Override + public com.google.protobuf.ByteString getChronicleServiceAccountBytes() { + java.lang.Object ref = chronicleServiceAccount_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + chronicleServiceAccount_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INCLUDE_PREFIXES_FIELD_NUMBER = 7; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList includePrefixes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the includePrefixes. + */ + public com.google.protobuf.ProtocolStringList getIncludePrefixesList() { + return includePrefixes_; + } + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of includePrefixes. + */ + public int getIncludePrefixesCount() { + return includePrefixes_.size(); + } + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The includePrefixes at the given index. + */ + public java.lang.String getIncludePrefixes(int index) { + return includePrefixes_.get(index); + } + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the includePrefixes at the given index. + */ + public com.google.protobuf.ByteString getIncludePrefixesBytes(int index) { + return includePrefixes_.getByteString(index); + } + + 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.GeneratedMessage.isStringEmpty(queue_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, queue_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(s3Uri_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, s3Uri_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(3, getAuthentication()); + } + if (sourceDeletionOption_ + != com.google.cloud.chronicle.v1.SourceDeletionOptionV2 + .SOURCE_DELETION_OPTION_V2_UNSPECIFIED + .getNumber()) { + output.writeEnum(4, sourceDeletionOption_); + } + if (maxLookbackDays_ != 0) { + output.writeInt32(5, maxLookbackDays_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(chronicleServiceAccount_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 6, chronicleServiceAccount_); + } + for (int i = 0; i < includePrefixes_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 7, includePrefixes_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(queue_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, queue_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(s3Uri_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, s3Uri_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAuthentication()); + } + if (sourceDeletionOption_ + != com.google.cloud.chronicle.v1.SourceDeletionOptionV2 + .SOURCE_DELETION_OPTION_V2_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, sourceDeletionOption_); + } + if (maxLookbackDays_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, maxLookbackDays_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(chronicleServiceAccount_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(6, chronicleServiceAccount_); + } + { + int dataSize = 0; + for (int i = 0; i < includePrefixes_.size(); i++) { + dataSize += computeStringSizeNoTag(includePrefixes_.getRaw(i)); + } + size += dataSize; + size += 1 * getIncludePrefixesList().size(); + } + 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.cloud.chronicle.v1.AmazonSQSV2Settings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.AmazonSQSV2Settings other = + (com.google.cloud.chronicle.v1.AmazonSQSV2Settings) obj; + + if (!getQueue().equals(other.getQueue())) return false; + if (!getS3Uri().equals(other.getS3Uri())) return false; + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (sourceDeletionOption_ != other.sourceDeletionOption_) return false; + if (getMaxLookbackDays() != other.getMaxLookbackDays()) return false; + if (!getChronicleServiceAccount().equals(other.getChronicleServiceAccount())) return false; + if (!getIncludePrefixesList().equals(other.getIncludePrefixesList())) 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) + QUEUE_FIELD_NUMBER; + hash = (53 * hash) + getQueue().hashCode(); + hash = (37 * hash) + S3_URI_FIELD_NUMBER; + hash = (53 * hash) + getS3Uri().hashCode(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + SOURCE_DELETION_OPTION_FIELD_NUMBER; + hash = (53 * hash) + sourceDeletionOption_; + hash = (37 * hash) + MAX_LOOKBACK_DAYS_FIELD_NUMBER; + hash = (53 * hash) + getMaxLookbackDays(); + hash = (37 * hash) + CHRONICLE_SERVICE_ACCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getChronicleServiceAccount().hashCode(); + if (getIncludePrefixesCount() > 0) { + hash = (37 * hash) + INCLUDE_PREFIXES_FIELD_NUMBER; + hash = (53 * hash) + getIncludePrefixesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.AmazonSQSV2Settings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AmazonSQSV2Settings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AmazonSQSV2Settings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AmazonSQSV2Settings 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.cloud.chronicle.v1.AmazonSQSV2Settings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AmazonSQSV2Settings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AmazonSQSV2Settings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AmazonSQSV2Settings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AmazonSQSV2Settings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AmazonSQSV2Settings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AmazonSQSV2Settings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AmazonSQSV2Settings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.AmazonSQSV2Settings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * AmazonSQSV2Settings is the settings proto for Omniflow SQS feeds.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AmazonSQSV2Settings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.AmazonSQSV2Settings) + com.google.cloud.chronicle.v1.AmazonSQSV2SettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AmazonSQSV2Settings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AmazonSQSV2Settings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AmazonSQSV2Settings.class, + com.google.cloud.chronicle.v1.AmazonSQSV2Settings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.AmazonSQSV2Settings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + queue_ = ""; + s3Uri_ = ""; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + sourceDeletionOption_ = 0; + maxLookbackDays_ = 0; + chronicleServiceAccount_ = ""; + includePrefixes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AmazonSQSV2Settings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonSQSV2Settings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.AmazonSQSV2Settings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonSQSV2Settings build() { + com.google.cloud.chronicle.v1.AmazonSQSV2Settings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonSQSV2Settings buildPartial() { + com.google.cloud.chronicle.v1.AmazonSQSV2Settings result = + new com.google.cloud.chronicle.v1.AmazonSQSV2Settings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.AmazonSQSV2Settings result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.queue_ = queue_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.s3Uri_ = s3Uri_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.sourceDeletionOption_ = sourceDeletionOption_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.maxLookbackDays_ = maxLookbackDays_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.chronicleServiceAccount_ = chronicleServiceAccount_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + includePrefixes_.makeImmutable(); + result.includePrefixes_ = includePrefixes_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.AmazonSQSV2Settings) { + return mergeFrom((com.google.cloud.chronicle.v1.AmazonSQSV2Settings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.AmazonSQSV2Settings other) { + if (other == com.google.cloud.chronicle.v1.AmazonSQSV2Settings.getDefaultInstance()) + return this; + if (!other.getQueue().isEmpty()) { + queue_ = other.queue_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getS3Uri().isEmpty()) { + s3Uri_ = other.s3Uri_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (other.sourceDeletionOption_ != 0) { + setSourceDeletionOptionValue(other.getSourceDeletionOptionValue()); + } + if (other.getMaxLookbackDays() != 0) { + setMaxLookbackDays(other.getMaxLookbackDays()); + } + if (!other.getChronicleServiceAccount().isEmpty()) { + chronicleServiceAccount_ = other.chronicleServiceAccount_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (!other.includePrefixes_.isEmpty()) { + if (includePrefixes_.isEmpty()) { + includePrefixes_ = other.includePrefixes_; + bitField0_ |= 0x00000040; + } else { + ensureIncludePrefixesIsMutable(); + includePrefixes_.addAll(other.includePrefixes_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + queue_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + s3Uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + sourceDeletionOption_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + maxLookbackDays_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: + { + chronicleServiceAccount_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureIncludePrefixesIsMutable(); + includePrefixes_.add(s); + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object queue_ = ""; + + /** + * + * + *
+     * Required. Amazon Resource Name(ARN) of the queue.
+     * 
+ * + * string queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The queue. + */ + public java.lang.String getQueue() { + java.lang.Object ref = queue_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + queue_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Amazon Resource Name(ARN) of the queue.
+     * 
+ * + * string queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for queue. + */ + public com.google.protobuf.ByteString getQueueBytes() { + java.lang.Object ref = queue_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + queue_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Amazon Resource Name(ARN) of the queue.
+     * 
+ * + * string queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The queue to set. + * @return This builder for chaining. + */ + public Builder setQueue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + queue_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Amazon Resource Name(ARN) of the queue.
+     * 
+ * + * string queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearQueue() { + queue_ = getDefaultInstance().getQueue(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Amazon Resource Name(ARN) of the queue.
+     * 
+ * + * string queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for queue to set. + * @return This builder for chaining. + */ + public Builder setQueueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queue_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object s3Uri_ = ""; + + /** + * + * + *
+     * Required. S3 URI.
+     * 
+ * + * string s3_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The s3Uri. + */ + public java.lang.String getS3Uri() { + java.lang.Object ref = s3Uri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + s3Uri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. S3 URI.
+     * 
+ * + * string s3_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for s3Uri. + */ + public com.google.protobuf.ByteString getS3UriBytes() { + java.lang.Object ref = s3Uri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + s3Uri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. S3 URI.
+     * 
+ * + * string s3_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The s3Uri to set. + * @return This builder for chaining. + */ + public Builder setS3Uri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + s3Uri_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. S3 URI.
+     * 
+ * + * string s3_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearS3Uri() { + s3Uri_ = getDefaultInstance().getS3Uri(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. S3 URI.
+     * 
+ * + * string s3_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for s3Uri to set. + * @return This builder for chaining. + */ + public Builder setS3UriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + s3Uri_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.cloud.chronicle.v1.SQSAuthV2 authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SQSAuthV2, + com.google.cloud.chronicle.v1.SQSAuthV2.Builder, + com.google.cloud.chronicle.v1.SQSAuthV2OrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.SQSAuthV2 getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.SQSAuthV2.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.SQSAuthV2 value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.SQSAuthV2.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.SQSAuthV2 value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && authentication_ != null + && authentication_ != com.google.cloud.chronicle.v1.SQSAuthV2.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000004); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.SQSAuthV2.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.SQSAuthV2OrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.SQSAuthV2.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SQSAuthV2, + com.google.cloud.chronicle.v1.SQSAuthV2.Builder, + com.google.cloud.chronicle.v1.SQSAuthV2OrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SQSAuthV2, + com.google.cloud.chronicle.v1.SQSAuthV2.Builder, + com.google.cloud.chronicle.v1.SQSAuthV2OrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private int sourceDeletionOption_ = 0; + + /** + * + * + *
+     * Optional. Source deletion option.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + @java.lang.Override + public int getSourceDeletionOptionValue() { + return sourceDeletionOption_; + } + + /** + * + * + *
+     * Optional. Source deletion option.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The enum numeric value on the wire for sourceDeletionOption to set. + * @return This builder for chaining. + */ + public Builder setSourceDeletionOptionValue(int value) { + sourceDeletionOption_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Source deletion option.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The sourceDeletionOption. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SourceDeletionOptionV2 getSourceDeletionOption() { + com.google.cloud.chronicle.v1.SourceDeletionOptionV2 result = + com.google.cloud.chronicle.v1.SourceDeletionOptionV2.forNumber(sourceDeletionOption_); + return result == null + ? com.google.cloud.chronicle.v1.SourceDeletionOptionV2.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * Optional. Source deletion option.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The sourceDeletionOption to set. + * @return This builder for chaining. + */ + public Builder setSourceDeletionOption( + com.google.cloud.chronicle.v1.SourceDeletionOptionV2 value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + sourceDeletionOption_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Source deletion option.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearSourceDeletionOption() { + bitField0_ = (bitField0_ & ~0x00000008); + sourceDeletionOption_ = 0; + onChanged(); + return this; + } + + private int maxLookbackDays_; + + /** + * + * + *
+     * Optional. Maximum File Age to ingest in days.
+     * 
+ * + * int32 max_lookback_days = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxLookbackDays. + */ + @java.lang.Override + public int getMaxLookbackDays() { + return maxLookbackDays_; + } + + /** + * + * + *
+     * Optional. Maximum File Age to ingest in days.
+     * 
+ * + * int32 max_lookback_days = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The maxLookbackDays to set. + * @return This builder for chaining. + */ + public Builder setMaxLookbackDays(int value) { + + maxLookbackDays_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Maximum File Age to ingest in days.
+     * 
+ * + * int32 max_lookback_days = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearMaxLookbackDays() { + bitField0_ = (bitField0_ & ~0x00000010); + maxLookbackDays_ = 0; + onChanged(); + return this; + } + + private java.lang.Object chronicleServiceAccount_ = ""; + + /** + * + * + *
+     * Output only. SA that will read data, this is Storage Transfer Service SA of
+     * Customer's Tenancy Project.
+     * 
+ * + * string chronicle_service_account = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The chronicleServiceAccount. + */ + public java.lang.String getChronicleServiceAccount() { + java.lang.Object ref = chronicleServiceAccount_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + chronicleServiceAccount_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Output only. SA that will read data, this is Storage Transfer Service SA of
+     * Customer's Tenancy Project.
+     * 
+ * + * string chronicle_service_account = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The bytes for chronicleServiceAccount. + */ + public com.google.protobuf.ByteString getChronicleServiceAccountBytes() { + java.lang.Object ref = chronicleServiceAccount_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + chronicleServiceAccount_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Output only. SA that will read data, this is Storage Transfer Service SA of
+     * Customer's Tenancy Project.
+     * 
+ * + * string chronicle_service_account = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The chronicleServiceAccount to set. + * @return This builder for chaining. + */ + public Builder setChronicleServiceAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + chronicleServiceAccount_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. SA that will read data, this is Storage Transfer Service SA of
+     * Customer's Tenancy Project.
+     * 
+ * + * string chronicle_service_account = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearChronicleServiceAccount() { + chronicleServiceAccount_ = getDefaultInstance().getChronicleServiceAccount(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. SA that will read data, this is Storage Transfer Service SA of
+     * Customer's Tenancy Project.
+     * 
+ * + * string chronicle_service_account = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The bytes for chronicleServiceAccount to set. + * @return This builder for chaining. + */ + public Builder setChronicleServiceAccountBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + chronicleServiceAccount_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList includePrefixes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureIncludePrefixesIsMutable() { + if (!includePrefixes_.isModifiable()) { + includePrefixes_ = new com.google.protobuf.LazyStringArrayList(includePrefixes_); + } + bitField0_ |= 0x00000040; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the includePrefixes. + */ + public com.google.protobuf.ProtocolStringList getIncludePrefixesList() { + includePrefixes_.makeImmutable(); + return includePrefixes_; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of includePrefixes. + */ + public int getIncludePrefixesCount() { + return includePrefixes_.size(); + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The includePrefixes at the given index. + */ + public java.lang.String getIncludePrefixes(int index) { + return includePrefixes_.get(index); + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the includePrefixes at the given index. + */ + public com.google.protobuf.ByteString getIncludePrefixesBytes(int index) { + return includePrefixes_.getByteString(index); + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The includePrefixes to set. + * @return This builder for chaining. + */ + public Builder setIncludePrefixes(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureIncludePrefixesIsMutable(); + includePrefixes_.set(index, value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The includePrefixes to add. + * @return This builder for chaining. + */ + public Builder addIncludePrefixes(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureIncludePrefixesIsMutable(); + includePrefixes_.add(value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The includePrefixes to add. + * @return This builder for chaining. + */ + public Builder addAllIncludePrefixes(java.lang.Iterable values) { + ensureIncludePrefixesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includePrefixes_); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearIncludePrefixes() { + includePrefixes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040); + ; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the includePrefixes to add. + * @return This builder for chaining. + */ + public Builder addIncludePrefixesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureIncludePrefixesIsMutable(); + includePrefixes_.add(value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.AmazonSQSV2Settings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.AmazonSQSV2Settings) + private static final com.google.cloud.chronicle.v1.AmazonSQSV2Settings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.AmazonSQSV2Settings(); + } + + public static com.google.cloud.chronicle.v1.AmazonSQSV2Settings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AmazonSQSV2Settings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonSQSV2Settings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonSQSV2SettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonSQSV2SettingsOrBuilder.java new file mode 100644 index 000000000000..5fe30f267642 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AmazonSQSV2SettingsOrBuilder.java @@ -0,0 +1,248 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface AmazonSQSV2SettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.AmazonSQSV2Settings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Amazon Resource Name(ARN) of the queue.
+   * 
+ * + * string queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The queue. + */ + java.lang.String getQueue(); + + /** + * + * + *
+   * Required. Amazon Resource Name(ARN) of the queue.
+   * 
+ * + * string queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for queue. + */ + com.google.protobuf.ByteString getQueueBytes(); + + /** + * + * + *
+   * Required. S3 URI.
+   * 
+ * + * string s3_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The s3Uri. + */ + java.lang.String getS3Uri(); + + /** + * + * + *
+   * Required. S3 URI.
+   * 
+ * + * string s3_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for s3Uri. + */ + com.google.protobuf.ByteString getS3UriBytes(); + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.SQSAuthV2 getAuthentication(); + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SQSAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.chronicle.v1.SQSAuthV2OrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Optional. Source deletion option.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + int getSourceDeletionOptionValue(); + + /** + * + * + *
+   * Optional. Source deletion option.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The sourceDeletionOption. + */ + com.google.cloud.chronicle.v1.SourceDeletionOptionV2 getSourceDeletionOption(); + + /** + * + * + *
+   * Optional. Maximum File Age to ingest in days.
+   * 
+ * + * int32 max_lookback_days = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxLookbackDays. + */ + int getMaxLookbackDays(); + + /** + * + * + *
+   * Output only. SA that will read data, this is Storage Transfer Service SA of
+   * Customer's Tenancy Project.
+   * 
+ * + * string chronicle_service_account = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The chronicleServiceAccount. + */ + java.lang.String getChronicleServiceAccount(); + + /** + * + * + *
+   * Output only. SA that will read data, this is Storage Transfer Service SA of
+   * Customer's Tenancy Project.
+   * 
+ * + * string chronicle_service_account = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for chronicleServiceAccount. + */ + com.google.protobuf.ByteString getChronicleServiceAccountBytes(); + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the includePrefixes. + */ + java.util.List getIncludePrefixesList(); + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of includePrefixes. + */ + int getIncludePrefixesCount(); + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The includePrefixes at the given index. + */ + java.lang.String getIncludePrefixes(int index); + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the includePrefixes at the given index. + */ + com.google.protobuf.ByteString getIncludePrefixesBytes(int index); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AnomaliIocSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AnomaliIocSettings.java new file mode 100644 index 000000000000..b4459dd8c920 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AnomaliIocSettings.java @@ -0,0 +1,915 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Anomali IOC settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AnomaliIocSettings} + */ +@com.google.protobuf.Generated +public final class AnomaliIocSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.AnomaliIocSettings) + AnomaliIocSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "AnomaliIocSettings"); + } + + // Use AnomaliIocSettings.newBuilder() to construct. + private AnomaliIocSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private AnomaliIocSettings() { + hostname_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AnomaliIocSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AnomaliIocSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AnomaliIocSettings.class, + com.google.cloud.chronicle.v1.AnomaliIocSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + public static final int HOSTNAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * Optional. The hostname of the Anomali ThreatStream instance.
+   * 
+ * + * string hostname = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * Optional. The hostname of the Anomali ThreatStream instance.
+   * 
+ * + * string hostname = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, hostname_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, hostname_); + } + 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.cloud.chronicle.v1.AnomaliIocSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.AnomaliIocSettings other = + (com.google.cloud.chronicle.v1.AnomaliIocSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getHostname().equals(other.getHostname())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.AnomaliIocSettings parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AnomaliIocSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AnomaliIocSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AnomaliIocSettings 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.cloud.chronicle.v1.AnomaliIocSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AnomaliIocSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AnomaliIocSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AnomaliIocSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AnomaliIocSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AnomaliIocSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AnomaliIocSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AnomaliIocSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.AnomaliIocSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Anomali IOC settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AnomaliIocSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.AnomaliIocSettings) + com.google.cloud.chronicle.v1.AnomaliIocSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AnomaliIocSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AnomaliIocSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AnomaliIocSettings.class, + com.google.cloud.chronicle.v1.AnomaliIocSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.AnomaliIocSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + hostname_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AnomaliIocSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AnomaliIocSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.AnomaliIocSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AnomaliIocSettings build() { + com.google.cloud.chronicle.v1.AnomaliIocSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AnomaliIocSettings buildPartial() { + com.google.cloud.chronicle.v1.AnomaliIocSettings result = + new com.google.cloud.chronicle.v1.AnomaliIocSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.AnomaliIocSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.hostname_ = hostname_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.AnomaliIocSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.AnomaliIocSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.AnomaliIocSettings other) { + if (other == com.google.cloud.chronicle.v1.AnomaliIocSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * Optional. The hostname of the Anomali ThreatStream instance.
+     * 
+ * + * string hostname = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Optional. The hostname of the Anomali ThreatStream instance.
+     * 
+ * + * string hostname = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Optional. The hostname of the Anomali ThreatStream instance.
+     * 
+ * + * string hostname = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The hostname of the Anomali ThreatStream instance.
+     * 
+ * + * string hostname = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The hostname of the Anomali ThreatStream instance.
+     * 
+ * + * string hostname = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.AnomaliIocSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.AnomaliIocSettings) + private static final com.google.cloud.chronicle.v1.AnomaliIocSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.AnomaliIocSettings(); + } + + public static com.google.cloud.chronicle.v1.AnomaliIocSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnomaliIocSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AnomaliIocSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AnomaliIocSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AnomaliIocSettingsOrBuilder.java new file mode 100644 index 000000000000..c7d0043bdece --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AnomaliIocSettingsOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface AnomaliIocSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.AnomaliIocSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Optional. The hostname of the Anomali ThreatStream instance.
+   * 
+ * + * string hostname = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * Optional. The hostname of the Anomali ThreatStream instance.
+   * 
+ * + * string hostname = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureADAuditSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureADAuditSettings.java new file mode 100644 index 000000000000..d4935dab97e2 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureADAuditSettings.java @@ -0,0 +1,1299 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Azure AD Audit settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AzureADAuditSettings} + */ +@com.google.protobuf.Generated +public final class AzureADAuditSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.AzureADAuditSettings) + AzureADAuditSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "AzureADAuditSettings"); + } + + // Use AzureADAuditSettings.newBuilder() to construct. + private AzureADAuditSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private AzureADAuditSettings() { + tenantId_ = ""; + hostname_ = ""; + authEndpoint_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureADAuditSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureADAuditSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AzureADAuditSettings.class, + com.google.cloud.chronicle.v1.AzureADAuditSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder + getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } + + public static final int TENANT_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object tenantId_ = ""; + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 2; + * + * @return The tenantId. + */ + @java.lang.Override + public java.lang.String getTenantId() { + java.lang.Object ref = tenantId_; + 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(); + tenantId_ = s; + return s; + } + } + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 2; + * + * @return The bytes for tenantId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTenantIdBytes() { + java.lang.Object ref = tenantId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tenantId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int HOSTNAME_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 3; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 3; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AUTH_ENDPOINT_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object authEndpoint_ = ""; + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 4; + * + * @return The authEndpoint. + */ + @java.lang.Override + public java.lang.String getAuthEndpoint() { + java.lang.Object ref = authEndpoint_; + 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(); + authEndpoint_ = s; + return s; + } + } + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 4; + * + * @return The bytes for authEndpoint. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAuthEndpointBytes() { + java.lang.Object ref = authEndpoint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + authEndpoint_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenantId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, tenantId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(authEndpoint_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, authEndpoint_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenantId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, tenantId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(authEndpoint_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, authEndpoint_); + } + 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.cloud.chronicle.v1.AzureADAuditSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.AzureADAuditSettings other = + (com.google.cloud.chronicle.v1.AzureADAuditSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getTenantId().equals(other.getTenantId())) return false; + if (!getHostname().equals(other.getHostname())) return false; + if (!getAuthEndpoint().equals(other.getAuthEndpoint())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + TENANT_ID_FIELD_NUMBER; + hash = (53 * hash) + getTenantId().hashCode(); + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + hash = (37 * hash) + AUTH_ENDPOINT_FIELD_NUMBER; + hash = (53 * hash) + getAuthEndpoint().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.AzureADAuditSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureADAuditSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureADAuditSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureADAuditSettings 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.cloud.chronicle.v1.AzureADAuditSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureADAuditSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureADAuditSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureADAuditSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureADAuditSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureADAuditSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureADAuditSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureADAuditSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.AzureADAuditSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Azure AD Audit settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AzureADAuditSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.AzureADAuditSettings) + com.google.cloud.chronicle.v1.AzureADAuditSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureADAuditSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureADAuditSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AzureADAuditSettings.class, + com.google.cloud.chronicle.v1.AzureADAuditSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.AzureADAuditSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + tenantId_ = ""; + hostname_ = ""; + authEndpoint_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureADAuditSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureADAuditSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.AzureADAuditSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureADAuditSettings build() { + com.google.cloud.chronicle.v1.AzureADAuditSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureADAuditSettings buildPartial() { + com.google.cloud.chronicle.v1.AzureADAuditSettings result = + new com.google.cloud.chronicle.v1.AzureADAuditSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.AzureADAuditSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.tenantId_ = tenantId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.hostname_ = hostname_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.authEndpoint_ = authEndpoint_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.AzureADAuditSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.AzureADAuditSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.AzureADAuditSettings other) { + if (other == com.google.cloud.chronicle.v1.AzureADAuditSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getTenantId().isEmpty()) { + tenantId_ = other.tenantId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getAuthEndpoint().isEmpty()) { + authEndpoint_ = other.authEndpoint_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + tenantId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + authEndpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication( + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials + .getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder + getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder + getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object tenantId_ = ""; + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 2; + * + * @return The tenantId. + */ + public java.lang.String getTenantId() { + java.lang.Object ref = tenantId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tenantId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 2; + * + * @return The bytes for tenantId. + */ + public com.google.protobuf.ByteString getTenantIdBytes() { + java.lang.Object ref = tenantId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tenantId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 2; + * + * @param value The tenantId to set. + * @return This builder for chaining. + */ + public Builder setTenantId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + tenantId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearTenantId() { + tenantId_ = getDefaultInstance().getTenantId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 2; + * + * @param value The bytes for tenantId to set. + * @return This builder for chaining. + */ + public Builder setTenantIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tenantId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 3; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 3; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 3; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 3; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 3; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object authEndpoint_ = ""; + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 4; + * + * @return The authEndpoint. + */ + public java.lang.String getAuthEndpoint() { + java.lang.Object ref = authEndpoint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + authEndpoint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 4; + * + * @return The bytes for authEndpoint. + */ + public com.google.protobuf.ByteString getAuthEndpointBytes() { + java.lang.Object ref = authEndpoint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + authEndpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 4; + * + * @param value The authEndpoint to set. + * @return This builder for chaining. + */ + public Builder setAuthEndpoint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + authEndpoint_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 4; + * + * @return This builder for chaining. + */ + public Builder clearAuthEndpoint() { + authEndpoint_ = getDefaultInstance().getAuthEndpoint(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 4; + * + * @param value The bytes for authEndpoint to set. + * @return This builder for chaining. + */ + public Builder setAuthEndpointBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + authEndpoint_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.AzureADAuditSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.AzureADAuditSettings) + private static final com.google.cloud.chronicle.v1.AzureADAuditSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.AzureADAuditSettings(); + } + + public static com.google.cloud.chronicle.v1.AzureADAuditSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureADAuditSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureADAuditSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureADAuditSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureADAuditSettingsOrBuilder.java new file mode 100644 index 000000000000..ae34d230697a --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureADAuditSettingsOrBuilder.java @@ -0,0 +1,150 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface AzureADAuditSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.AzureADAuditSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder + getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 2; + * + * @return The tenantId. + */ + java.lang.String getTenantId(); + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 2; + * + * @return The bytes for tenantId. + */ + com.google.protobuf.ByteString getTenantIdBytes(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 3; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 3; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 4; + * + * @return The authEndpoint. + */ + java.lang.String getAuthEndpoint(); + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 4; + * + * @return The bytes for authEndpoint. + */ + com.google.protobuf.ByteString getAuthEndpointBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureADContextSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureADContextSettings.java new file mode 100644 index 000000000000..739c3cb9efdd --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureADContextSettings.java @@ -0,0 +1,1493 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Azure AD Context settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AzureADContextSettings} + */ +@com.google.protobuf.Generated +public final class AzureADContextSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.AzureADContextSettings) + AzureADContextSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "AzureADContextSettings"); + } + + // Use AzureADContextSettings.newBuilder() to construct. + private AzureADContextSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private AzureADContextSettings() { + tenantId_ = ""; + hostname_ = ""; + authEndpoint_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureADContextSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureADContextSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AzureADContextSettings.class, + com.google.cloud.chronicle.v1.AzureADContextSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder + getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } + + public static final int RETRIEVE_DEVICES_FIELD_NUMBER = 2; + private boolean retrieveDevices_ = false; + + /** + * + * + *
+   * Whether to retrieve device information in user context.
+   * 
+ * + * bool retrieve_devices = 2; + * + * @return The retrieveDevices. + */ + @java.lang.Override + public boolean getRetrieveDevices() { + return retrieveDevices_; + } + + public static final int RETRIEVE_GROUPS_FIELD_NUMBER = 3; + private boolean retrieveGroups_ = false; + + /** + * + * + *
+   * Whether to retrieve group information in user context.
+   * 
+ * + * bool retrieve_groups = 3; + * + * @return The retrieveGroups. + */ + @java.lang.Override + public boolean getRetrieveGroups() { + return retrieveGroups_; + } + + public static final int TENANT_ID_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object tenantId_ = ""; + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 4; + * + * @return The tenantId. + */ + @java.lang.Override + public java.lang.String getTenantId() { + java.lang.Object ref = tenantId_; + 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(); + tenantId_ = s; + return s; + } + } + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 4; + * + * @return The bytes for tenantId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTenantIdBytes() { + java.lang.Object ref = tenantId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tenantId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int HOSTNAME_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 5; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 5; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AUTH_ENDPOINT_FIELD_NUMBER = 6; + + @SuppressWarnings("serial") + private volatile java.lang.Object authEndpoint_ = ""; + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 6; + * + * @return The authEndpoint. + */ + @java.lang.Override + public java.lang.String getAuthEndpoint() { + java.lang.Object ref = authEndpoint_; + 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(); + authEndpoint_ = s; + return s; + } + } + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 6; + * + * @return The bytes for authEndpoint. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAuthEndpointBytes() { + java.lang.Object ref = authEndpoint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + authEndpoint_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (retrieveDevices_ != false) { + output.writeBool(2, retrieveDevices_); + } + if (retrieveGroups_ != false) { + output.writeBool(3, retrieveGroups_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenantId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, tenantId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(authEndpoint_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 6, authEndpoint_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (retrieveDevices_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, retrieveDevices_); + } + if (retrieveGroups_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, retrieveGroups_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenantId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, tenantId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(authEndpoint_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(6, authEndpoint_); + } + 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.cloud.chronicle.v1.AzureADContextSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.AzureADContextSettings other = + (com.google.cloud.chronicle.v1.AzureADContextSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (getRetrieveDevices() != other.getRetrieveDevices()) return false; + if (getRetrieveGroups() != other.getRetrieveGroups()) return false; + if (!getTenantId().equals(other.getTenantId())) return false; + if (!getHostname().equals(other.getHostname())) return false; + if (!getAuthEndpoint().equals(other.getAuthEndpoint())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + RETRIEVE_DEVICES_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRetrieveDevices()); + hash = (37 * hash) + RETRIEVE_GROUPS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRetrieveGroups()); + hash = (37 * hash) + TENANT_ID_FIELD_NUMBER; + hash = (53 * hash) + getTenantId().hashCode(); + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + hash = (37 * hash) + AUTH_ENDPOINT_FIELD_NUMBER; + hash = (53 * hash) + getAuthEndpoint().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.AzureADContextSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureADContextSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureADContextSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureADContextSettings 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.cloud.chronicle.v1.AzureADContextSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureADContextSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureADContextSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureADContextSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureADContextSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureADContextSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureADContextSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureADContextSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.AzureADContextSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Azure AD Context settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AzureADContextSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.AzureADContextSettings) + com.google.cloud.chronicle.v1.AzureADContextSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureADContextSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureADContextSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AzureADContextSettings.class, + com.google.cloud.chronicle.v1.AzureADContextSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.AzureADContextSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + retrieveDevices_ = false; + retrieveGroups_ = false; + tenantId_ = ""; + hostname_ = ""; + authEndpoint_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureADContextSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureADContextSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.AzureADContextSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureADContextSettings build() { + com.google.cloud.chronicle.v1.AzureADContextSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureADContextSettings buildPartial() { + com.google.cloud.chronicle.v1.AzureADContextSettings result = + new com.google.cloud.chronicle.v1.AzureADContextSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.AzureADContextSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.retrieveDevices_ = retrieveDevices_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.retrieveGroups_ = retrieveGroups_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.tenantId_ = tenantId_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.hostname_ = hostname_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.authEndpoint_ = authEndpoint_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.AzureADContextSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.AzureADContextSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.AzureADContextSettings other) { + if (other == com.google.cloud.chronicle.v1.AzureADContextSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (other.getRetrieveDevices() != false) { + setRetrieveDevices(other.getRetrieveDevices()); + } + if (other.getRetrieveGroups() != false) { + setRetrieveGroups(other.getRetrieveGroups()); + } + if (!other.getTenantId().isEmpty()) { + tenantId_ = other.tenantId_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getAuthEndpoint().isEmpty()) { + authEndpoint_ = other.authEndpoint_; + bitField0_ |= 0x00000020; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + retrieveDevices_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + retrieveGroups_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + tenantId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + authEndpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication( + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials + .getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder + getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder + getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private boolean retrieveDevices_; + + /** + * + * + *
+     * Whether to retrieve device information in user context.
+     * 
+ * + * bool retrieve_devices = 2; + * + * @return The retrieveDevices. + */ + @java.lang.Override + public boolean getRetrieveDevices() { + return retrieveDevices_; + } + + /** + * + * + *
+     * Whether to retrieve device information in user context.
+     * 
+ * + * bool retrieve_devices = 2; + * + * @param value The retrieveDevices to set. + * @return This builder for chaining. + */ + public Builder setRetrieveDevices(boolean value) { + + retrieveDevices_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Whether to retrieve device information in user context.
+     * 
+ * + * bool retrieve_devices = 2; + * + * @return This builder for chaining. + */ + public Builder clearRetrieveDevices() { + bitField0_ = (bitField0_ & ~0x00000002); + retrieveDevices_ = false; + onChanged(); + return this; + } + + private boolean retrieveGroups_; + + /** + * + * + *
+     * Whether to retrieve group information in user context.
+     * 
+ * + * bool retrieve_groups = 3; + * + * @return The retrieveGroups. + */ + @java.lang.Override + public boolean getRetrieveGroups() { + return retrieveGroups_; + } + + /** + * + * + *
+     * Whether to retrieve group information in user context.
+     * 
+ * + * bool retrieve_groups = 3; + * + * @param value The retrieveGroups to set. + * @return This builder for chaining. + */ + public Builder setRetrieveGroups(boolean value) { + + retrieveGroups_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Whether to retrieve group information in user context.
+     * 
+ * + * bool retrieve_groups = 3; + * + * @return This builder for chaining. + */ + public Builder clearRetrieveGroups() { + bitField0_ = (bitField0_ & ~0x00000004); + retrieveGroups_ = false; + onChanged(); + return this; + } + + private java.lang.Object tenantId_ = ""; + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 4; + * + * @return The tenantId. + */ + public java.lang.String getTenantId() { + java.lang.Object ref = tenantId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tenantId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 4; + * + * @return The bytes for tenantId. + */ + public com.google.protobuf.ByteString getTenantIdBytes() { + java.lang.Object ref = tenantId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tenantId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 4; + * + * @param value The tenantId to set. + * @return This builder for chaining. + */ + public Builder setTenantId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + tenantId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 4; + * + * @return This builder for chaining. + */ + public Builder clearTenantId() { + tenantId_ = getDefaultInstance().getTenantId(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 4; + * + * @param value The bytes for tenantId to set. + * @return This builder for chaining. + */ + public Builder setTenantIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tenantId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 5; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 5; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 5; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 5; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 5; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object authEndpoint_ = ""; + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 6; + * + * @return The authEndpoint. + */ + public java.lang.String getAuthEndpoint() { + java.lang.Object ref = authEndpoint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + authEndpoint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 6; + * + * @return The bytes for authEndpoint. + */ + public com.google.protobuf.ByteString getAuthEndpointBytes() { + java.lang.Object ref = authEndpoint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + authEndpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 6; + * + * @param value The authEndpoint to set. + * @return This builder for chaining. + */ + public Builder setAuthEndpoint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + authEndpoint_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 6; + * + * @return This builder for chaining. + */ + public Builder clearAuthEndpoint() { + authEndpoint_ = getDefaultInstance().getAuthEndpoint(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 6; + * + * @param value The bytes for authEndpoint to set. + * @return This builder for chaining. + */ + public Builder setAuthEndpointBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + authEndpoint_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.AzureADContextSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.AzureADContextSettings) + private static final com.google.cloud.chronicle.v1.AzureADContextSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.AzureADContextSettings(); + } + + public static com.google.cloud.chronicle.v1.AzureADContextSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureADContextSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureADContextSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureADContextSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureADContextSettingsOrBuilder.java new file mode 100644 index 000000000000..8249ebf651d3 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureADContextSettingsOrBuilder.java @@ -0,0 +1,176 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface AzureADContextSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.AzureADContextSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder + getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Whether to retrieve device information in user context.
+   * 
+ * + * bool retrieve_devices = 2; + * + * @return The retrieveDevices. + */ + boolean getRetrieveDevices(); + + /** + * + * + *
+   * Whether to retrieve group information in user context.
+   * 
+ * + * bool retrieve_groups = 3; + * + * @return The retrieveGroups. + */ + boolean getRetrieveGroups(); + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 4; + * + * @return The tenantId. + */ + java.lang.String getTenantId(); + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 4; + * + * @return The bytes for tenantId. + */ + com.google.protobuf.ByteString getTenantIdBytes(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 5; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 5; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 6; + * + * @return The authEndpoint. + */ + java.lang.String getAuthEndpoint(); + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 6; + * + * @return The bytes for authEndpoint. + */ + com.google.protobuf.ByteString getAuthEndpointBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureADSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureADSettings.java new file mode 100644 index 000000000000..2ee9df5a4712 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureADSettings.java @@ -0,0 +1,1298 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Azure AD settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AzureADSettings} + */ +@com.google.protobuf.Generated +public final class AzureADSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.AzureADSettings) + AzureADSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "AzureADSettings"); + } + + // Use AzureADSettings.newBuilder() to construct. + private AzureADSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private AzureADSettings() { + tenantId_ = ""; + hostname_ = ""; + authEndpoint_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureADSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureADSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AzureADSettings.class, + com.google.cloud.chronicle.v1.AzureADSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder + getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } + + public static final int TENANT_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object tenantId_ = ""; + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 2; + * + * @return The tenantId. + */ + @java.lang.Override + public java.lang.String getTenantId() { + java.lang.Object ref = tenantId_; + 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(); + tenantId_ = s; + return s; + } + } + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 2; + * + * @return The bytes for tenantId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTenantIdBytes() { + java.lang.Object ref = tenantId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tenantId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int HOSTNAME_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 3; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 3; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AUTH_ENDPOINT_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object authEndpoint_ = ""; + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 4; + * + * @return The authEndpoint. + */ + @java.lang.Override + public java.lang.String getAuthEndpoint() { + java.lang.Object ref = authEndpoint_; + 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(); + authEndpoint_ = s; + return s; + } + } + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 4; + * + * @return The bytes for authEndpoint. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAuthEndpointBytes() { + java.lang.Object ref = authEndpoint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + authEndpoint_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenantId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, tenantId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(authEndpoint_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, authEndpoint_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenantId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, tenantId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(authEndpoint_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, authEndpoint_); + } + 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.cloud.chronicle.v1.AzureADSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.AzureADSettings other = + (com.google.cloud.chronicle.v1.AzureADSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getTenantId().equals(other.getTenantId())) return false; + if (!getHostname().equals(other.getHostname())) return false; + if (!getAuthEndpoint().equals(other.getAuthEndpoint())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + TENANT_ID_FIELD_NUMBER; + hash = (53 * hash) + getTenantId().hashCode(); + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + hash = (37 * hash) + AUTH_ENDPOINT_FIELD_NUMBER; + hash = (53 * hash) + getAuthEndpoint().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.AzureADSettings parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureADSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureADSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureADSettings 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.cloud.chronicle.v1.AzureADSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureADSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureADSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureADSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureADSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureADSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureADSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureADSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.AzureADSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Azure AD settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AzureADSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.AzureADSettings) + com.google.cloud.chronicle.v1.AzureADSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureADSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureADSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AzureADSettings.class, + com.google.cloud.chronicle.v1.AzureADSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.AzureADSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + tenantId_ = ""; + hostname_ = ""; + authEndpoint_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureADSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureADSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.AzureADSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureADSettings build() { + com.google.cloud.chronicle.v1.AzureADSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureADSettings buildPartial() { + com.google.cloud.chronicle.v1.AzureADSettings result = + new com.google.cloud.chronicle.v1.AzureADSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.AzureADSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.tenantId_ = tenantId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.hostname_ = hostname_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.authEndpoint_ = authEndpoint_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.AzureADSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.AzureADSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.AzureADSettings other) { + if (other == com.google.cloud.chronicle.v1.AzureADSettings.getDefaultInstance()) return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getTenantId().isEmpty()) { + tenantId_ = other.tenantId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getAuthEndpoint().isEmpty()) { + authEndpoint_ = other.authEndpoint_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + tenantId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + authEndpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication( + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials + .getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder + getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder + getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object tenantId_ = ""; + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 2; + * + * @return The tenantId. + */ + public java.lang.String getTenantId() { + java.lang.Object ref = tenantId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tenantId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 2; + * + * @return The bytes for tenantId. + */ + public com.google.protobuf.ByteString getTenantIdBytes() { + java.lang.Object ref = tenantId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tenantId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 2; + * + * @param value The tenantId to set. + * @return This builder for chaining. + */ + public Builder setTenantId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + tenantId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearTenantId() { + tenantId_ = getDefaultInstance().getTenantId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 2; + * + * @param value The bytes for tenantId to set. + * @return This builder for chaining. + */ + public Builder setTenantIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tenantId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 3; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 3; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 3; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 3; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 3; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object authEndpoint_ = ""; + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 4; + * + * @return The authEndpoint. + */ + public java.lang.String getAuthEndpoint() { + java.lang.Object ref = authEndpoint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + authEndpoint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 4; + * + * @return The bytes for authEndpoint. + */ + public com.google.protobuf.ByteString getAuthEndpointBytes() { + java.lang.Object ref = authEndpoint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + authEndpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 4; + * + * @param value The authEndpoint to set. + * @return This builder for chaining. + */ + public Builder setAuthEndpoint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + authEndpoint_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 4; + * + * @return This builder for chaining. + */ + public Builder clearAuthEndpoint() { + authEndpoint_ = getDefaultInstance().getAuthEndpoint(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 4; + * + * @param value The bytes for authEndpoint to set. + * @return This builder for chaining. + */ + public Builder setAuthEndpointBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + authEndpoint_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.AzureADSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.AzureADSettings) + private static final com.google.cloud.chronicle.v1.AzureADSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.AzureADSettings(); + } + + public static com.google.cloud.chronicle.v1.AzureADSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureADSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureADSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureADSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureADSettingsOrBuilder.java new file mode 100644 index 000000000000..75ba56f20578 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureADSettingsOrBuilder.java @@ -0,0 +1,150 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface AzureADSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.AzureADSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder + getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 2; + * + * @return The tenantId. + */ + java.lang.String getTenantId(); + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 2; + * + * @return The bytes for tenantId. + */ + com.google.protobuf.ByteString getTenantIdBytes(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 3; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 3; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 4; + * + * @return The authEndpoint. + */ + java.lang.String getAuthEndpoint(); + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 4; + * + * @return The bytes for authEndpoint. + */ + com.google.protobuf.ByteString getAuthEndpointBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureAuth.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureAuth.java new file mode 100644 index 000000000000..fb0f826c81d0 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureAuth.java @@ -0,0 +1,969 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Azure auth.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AzureAuth} + */ +@com.google.protobuf.Generated +public final class AzureAuth extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.AzureAuth) + AzureAuthOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "AzureAuth"); + } + + // Use AzureAuth.newBuilder() to construct. + private AzureAuth(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private AzureAuth() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AzureAuth.class, + com.google.cloud.chronicle.v1.AzureAuth.Builder.class); + } + + private int authTypeCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object authType_; + + public enum AuthTypeCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + SHARED_KEY(1), + SAS_TOKEN(2), + AUTHTYPE_NOT_SET(0); + private final int value; + + private AuthTypeCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static AuthTypeCase valueOf(int value) { + return forNumber(value); + } + + public static AuthTypeCase forNumber(int value) { + switch (value) { + case 1: + return SHARED_KEY; + case 2: + return SAS_TOKEN; + case 0: + return AUTHTYPE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public AuthTypeCase getAuthTypeCase() { + return AuthTypeCase.forNumber(authTypeCase_); + } + + public static final int SHARED_KEY_FIELD_NUMBER = 1; + + /** + * + * + *
+   * Shared Key.
+   * 
+ * + * string shared_key = 1; + * + * @return Whether the sharedKey field is set. + */ + public boolean hasSharedKey() { + return authTypeCase_ == 1; + } + + /** + * + * + *
+   * Shared Key.
+   * 
+ * + * string shared_key = 1; + * + * @return The sharedKey. + */ + public java.lang.String getSharedKey() { + java.lang.Object ref = ""; + if (authTypeCase_ == 1) { + ref = authType_; + } + 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(); + if (authTypeCase_ == 1) { + authType_ = s; + } + return s; + } + } + + /** + * + * + *
+   * Shared Key.
+   * 
+ * + * string shared_key = 1; + * + * @return The bytes for sharedKey. + */ + public com.google.protobuf.ByteString getSharedKeyBytes() { + java.lang.Object ref = ""; + if (authTypeCase_ == 1) { + ref = authType_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (authTypeCase_ == 1) { + authType_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SAS_TOKEN_FIELD_NUMBER = 2; + + /** + * + * + *
+   * SAS Token.
+   * 
+ * + * string sas_token = 2; + * + * @return Whether the sasToken field is set. + */ + public boolean hasSasToken() { + return authTypeCase_ == 2; + } + + /** + * + * + *
+   * SAS Token.
+   * 
+ * + * string sas_token = 2; + * + * @return The sasToken. + */ + public java.lang.String getSasToken() { + java.lang.Object ref = ""; + if (authTypeCase_ == 2) { + ref = authType_; + } + 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(); + if (authTypeCase_ == 2) { + authType_ = s; + } + return s; + } + } + + /** + * + * + *
+   * SAS Token.
+   * 
+ * + * string sas_token = 2; + * + * @return The bytes for sasToken. + */ + public com.google.protobuf.ByteString getSasTokenBytes() { + java.lang.Object ref = ""; + if (authTypeCase_ == 2) { + ref = authType_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (authTypeCase_ == 2) { + authType_ = 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 (authTypeCase_ == 1) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, authType_); + } + if (authTypeCase_ == 2) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, authType_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (authTypeCase_ == 1) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, authType_); + } + if (authTypeCase_ == 2) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, authType_); + } + 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.cloud.chronicle.v1.AzureAuth)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.AzureAuth other = (com.google.cloud.chronicle.v1.AzureAuth) obj; + + if (!getAuthTypeCase().equals(other.getAuthTypeCase())) return false; + switch (authTypeCase_) { + case 1: + if (!getSharedKey().equals(other.getSharedKey())) return false; + break; + case 2: + if (!getSasToken().equals(other.getSasToken())) return false; + break; + case 0: + default: + } + 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(); + switch (authTypeCase_) { + case 1: + hash = (37 * hash) + SHARED_KEY_FIELD_NUMBER; + hash = (53 * hash) + getSharedKey().hashCode(); + break; + case 2: + hash = (37 * hash) + SAS_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getSasToken().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.AzureAuth parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureAuth parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureAuth parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureAuth 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.cloud.chronicle.v1.AzureAuth parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureAuth parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureAuth parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureAuth parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureAuth parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureAuth parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureAuth parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureAuth parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.AzureAuth 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Azure auth.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AzureAuth} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.AzureAuth) + com.google.cloud.chronicle.v1.AzureAuthOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AzureAuth.class, + com.google.cloud.chronicle.v1.AzureAuth.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.AzureAuth.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authTypeCase_ = 0; + authType_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureAuth_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureAuth getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.AzureAuth.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureAuth build() { + com.google.cloud.chronicle.v1.AzureAuth result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureAuth buildPartial() { + com.google.cloud.chronicle.v1.AzureAuth result = + new com.google.cloud.chronicle.v1.AzureAuth(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.AzureAuth result) { + int from_bitField0_ = bitField0_; + } + + private void buildPartialOneofs(com.google.cloud.chronicle.v1.AzureAuth result) { + result.authTypeCase_ = authTypeCase_; + result.authType_ = this.authType_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.AzureAuth) { + return mergeFrom((com.google.cloud.chronicle.v1.AzureAuth) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.AzureAuth other) { + if (other == com.google.cloud.chronicle.v1.AzureAuth.getDefaultInstance()) return this; + switch (other.getAuthTypeCase()) { + case SHARED_KEY: + { + authTypeCase_ = 1; + authType_ = other.authType_; + onChanged(); + break; + } + case SAS_TOKEN: + { + authTypeCase_ = 2; + authType_ = other.authType_; + onChanged(); + break; + } + case AUTHTYPE_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + authTypeCase_ = 1; + authType_ = s; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + authTypeCase_ = 2; + authType_ = s; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int authTypeCase_ = 0; + private java.lang.Object authType_; + + public AuthTypeCase getAuthTypeCase() { + return AuthTypeCase.forNumber(authTypeCase_); + } + + public Builder clearAuthType() { + authTypeCase_ = 0; + authType_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + /** + * + * + *
+     * Shared Key.
+     * 
+ * + * string shared_key = 1; + * + * @return Whether the sharedKey field is set. + */ + @java.lang.Override + public boolean hasSharedKey() { + return authTypeCase_ == 1; + } + + /** + * + * + *
+     * Shared Key.
+     * 
+ * + * string shared_key = 1; + * + * @return The sharedKey. + */ + @java.lang.Override + public java.lang.String getSharedKey() { + java.lang.Object ref = ""; + if (authTypeCase_ == 1) { + ref = authType_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (authTypeCase_ == 1) { + authType_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Shared Key.
+     * 
+ * + * string shared_key = 1; + * + * @return The bytes for sharedKey. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSharedKeyBytes() { + java.lang.Object ref = ""; + if (authTypeCase_ == 1) { + ref = authType_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (authTypeCase_ == 1) { + authType_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Shared Key.
+     * 
+ * + * string shared_key = 1; + * + * @param value The sharedKey to set. + * @return This builder for chaining. + */ + public Builder setSharedKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + authTypeCase_ = 1; + authType_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+     * Shared Key.
+     * 
+ * + * string shared_key = 1; + * + * @return This builder for chaining. + */ + public Builder clearSharedKey() { + if (authTypeCase_ == 1) { + authTypeCase_ = 0; + authType_ = null; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Shared Key.
+     * 
+ * + * string shared_key = 1; + * + * @param value The bytes for sharedKey to set. + * @return This builder for chaining. + */ + public Builder setSharedKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + authTypeCase_ = 1; + authType_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+     * SAS Token.
+     * 
+ * + * string sas_token = 2; + * + * @return Whether the sasToken field is set. + */ + @java.lang.Override + public boolean hasSasToken() { + return authTypeCase_ == 2; + } + + /** + * + * + *
+     * SAS Token.
+     * 
+ * + * string sas_token = 2; + * + * @return The sasToken. + */ + @java.lang.Override + public java.lang.String getSasToken() { + java.lang.Object ref = ""; + if (authTypeCase_ == 2) { + ref = authType_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (authTypeCase_ == 2) { + authType_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * SAS Token.
+     * 
+ * + * string sas_token = 2; + * + * @return The bytes for sasToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSasTokenBytes() { + java.lang.Object ref = ""; + if (authTypeCase_ == 2) { + ref = authType_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (authTypeCase_ == 2) { + authType_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * SAS Token.
+     * 
+ * + * string sas_token = 2; + * + * @param value The sasToken to set. + * @return This builder for chaining. + */ + public Builder setSasToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + authTypeCase_ = 2; + authType_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+     * SAS Token.
+     * 
+ * + * string sas_token = 2; + * + * @return This builder for chaining. + */ + public Builder clearSasToken() { + if (authTypeCase_ == 2) { + authTypeCase_ = 0; + authType_ = null; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * SAS Token.
+     * 
+ * + * string sas_token = 2; + * + * @param value The bytes for sasToken to set. + * @return This builder for chaining. + */ + public Builder setSasTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + authTypeCase_ = 2; + authType_ = value; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.AzureAuth) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.AzureAuth) + private static final com.google.cloud.chronicle.v1.AzureAuth DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.AzureAuth(); + } + + public static com.google.cloud.chronicle.v1.AzureAuth getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureAuth parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureAuth getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureAuthOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureAuthOrBuilder.java new file mode 100644 index 000000000000..3f8312173306 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureAuthOrBuilder.java @@ -0,0 +1,108 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface AzureAuthOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.AzureAuth) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Shared Key.
+   * 
+ * + * string shared_key = 1; + * + * @return Whether the sharedKey field is set. + */ + boolean hasSharedKey(); + + /** + * + * + *
+   * Shared Key.
+   * 
+ * + * string shared_key = 1; + * + * @return The sharedKey. + */ + java.lang.String getSharedKey(); + + /** + * + * + *
+   * Shared Key.
+   * 
+ * + * string shared_key = 1; + * + * @return The bytes for sharedKey. + */ + com.google.protobuf.ByteString getSharedKeyBytes(); + + /** + * + * + *
+   * SAS Token.
+   * 
+ * + * string sas_token = 2; + * + * @return Whether the sasToken field is set. + */ + boolean hasSasToken(); + + /** + * + * + *
+   * SAS Token.
+   * 
+ * + * string sas_token = 2; + * + * @return The sasToken. + */ + java.lang.String getSasToken(); + + /** + * + * + *
+   * SAS Token.
+   * 
+ * + * string sas_token = 2; + * + * @return The bytes for sasToken. + */ + com.google.protobuf.ByteString getSasTokenBytes(); + + com.google.cloud.chronicle.v1.AzureAuth.AuthTypeCase getAuthTypeCase(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureAuthV2.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureAuthV2.java new file mode 100644 index 000000000000..ca5b817cf92e --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureAuthV2.java @@ -0,0 +1,1315 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * A message containing fields used to authenticate with Azure Blob Storage.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AzureAuthV2} + */ +@com.google.protobuf.Generated +public final class AzureAuthV2 extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.AzureAuthV2) + AzureAuthV2OrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "AzureAuthV2"); + } + + // Use AzureAuthV2.newBuilder() to construct. + private AzureAuthV2(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private AzureAuthV2() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureAuthV2_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureAuthV2_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AzureAuthV2.class, + com.google.cloud.chronicle.v1.AzureAuthV2.Builder.class); + } + + private int authTypeCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object authType_; + + public enum AuthTypeCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + ACCESS_KEY(1), + SAS_TOKEN(2), + AZURE_V2_WORKLOAD_IDENTITY_FEDERATION(3), + AUTHTYPE_NOT_SET(0); + private final int value; + + private AuthTypeCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static AuthTypeCase valueOf(int value) { + return forNumber(value); + } + + public static AuthTypeCase forNumber(int value) { + switch (value) { + case 1: + return ACCESS_KEY; + case 2: + return SAS_TOKEN; + case 3: + return AZURE_V2_WORKLOAD_IDENTITY_FEDERATION; + case 0: + return AUTHTYPE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public AuthTypeCase getAuthTypeCase() { + return AuthTypeCase.forNumber(authTypeCase_); + } + + public static final int ACCESS_KEY_FIELD_NUMBER = 1; + + /** + * + * + *
+   * Required. Access Key also known as shared key.
+   * 
+ * + * string access_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the accessKey field is set. + */ + public boolean hasAccessKey() { + return authTypeCase_ == 1; + } + + /** + * + * + *
+   * Required. Access Key also known as shared key.
+   * 
+ * + * string access_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The accessKey. + */ + public java.lang.String getAccessKey() { + java.lang.Object ref = ""; + if (authTypeCase_ == 1) { + ref = authType_; + } + 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(); + if (authTypeCase_ == 1) { + authType_ = s; + } + return s; + } + } + + /** + * + * + *
+   * Required. Access Key also known as shared key.
+   * 
+ * + * string access_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for accessKey. + */ + public com.google.protobuf.ByteString getAccessKeyBytes() { + java.lang.Object ref = ""; + if (authTypeCase_ == 1) { + ref = authType_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (authTypeCase_ == 1) { + authType_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SAS_TOKEN_FIELD_NUMBER = 2; + + /** + * + * + *
+   * Required. SAS Token.
+   * 
+ * + * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the sasToken field is set. + */ + public boolean hasSasToken() { + return authTypeCase_ == 2; + } + + /** + * + * + *
+   * Required. SAS Token.
+   * 
+ * + * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The sasToken. + */ + public java.lang.String getSasToken() { + java.lang.Object ref = ""; + if (authTypeCase_ == 2) { + ref = authType_; + } + 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(); + if (authTypeCase_ == 2) { + authType_ = s; + } + return s; + } + } + + /** + * + * + *
+   * Required. SAS Token.
+   * 
+ * + * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for sasToken. + */ + public com.google.protobuf.ByteString getSasTokenBytes() { + java.lang.Object ref = ""; + if (authTypeCase_ == 2) { + ref = authType_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (authTypeCase_ == 2) { + authType_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AZURE_V2_WORKLOAD_IDENTITY_FEDERATION_FIELD_NUMBER = 3; + + /** + * + * + *
+   * Required. Azure V2 Workload Identity Federation.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation azure_v2_workload_identity_federation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the azureV2WorkloadIdentityFederation field is set. + */ + @java.lang.Override + public boolean hasAzureV2WorkloadIdentityFederation() { + return authTypeCase_ == 3; + } + + /** + * + * + *
+   * Required. Azure V2 Workload Identity Federation.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation azure_v2_workload_identity_federation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The azureV2WorkloadIdentityFederation. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation + getAzureV2WorkloadIdentityFederation() { + if (authTypeCase_ == 3) { + return (com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation) authType_; + } + return com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation.getDefaultInstance(); + } + + /** + * + * + *
+   * Required. Azure V2 Workload Identity Federation.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation azure_v2_workload_identity_federation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederationOrBuilder + getAzureV2WorkloadIdentityFederationOrBuilder() { + if (authTypeCase_ == 3) { + return (com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation) authType_; + } + return com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation.getDefaultInstance(); + } + + 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 (authTypeCase_ == 1) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, authType_); + } + if (authTypeCase_ == 2) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, authType_); + } + if (authTypeCase_ == 3) { + output.writeMessage( + 3, (com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation) authType_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (authTypeCase_ == 1) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, authType_); + } + if (authTypeCase_ == 2) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, authType_); + } + if (authTypeCase_ == 3) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation) authType_); + } + 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.cloud.chronicle.v1.AzureAuthV2)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.AzureAuthV2 other = + (com.google.cloud.chronicle.v1.AzureAuthV2) obj; + + if (!getAuthTypeCase().equals(other.getAuthTypeCase())) return false; + switch (authTypeCase_) { + case 1: + if (!getAccessKey().equals(other.getAccessKey())) return false; + break; + case 2: + if (!getSasToken().equals(other.getSasToken())) return false; + break; + case 3: + if (!getAzureV2WorkloadIdentityFederation() + .equals(other.getAzureV2WorkloadIdentityFederation())) return false; + break; + case 0: + default: + } + 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(); + switch (authTypeCase_) { + case 1: + hash = (37 * hash) + ACCESS_KEY_FIELD_NUMBER; + hash = (53 * hash) + getAccessKey().hashCode(); + break; + case 2: + hash = (37 * hash) + SAS_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getSasToken().hashCode(); + break; + case 3: + hash = (37 * hash) + AZURE_V2_WORKLOAD_IDENTITY_FEDERATION_FIELD_NUMBER; + hash = (53 * hash) + getAzureV2WorkloadIdentityFederation().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.AzureAuthV2 parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureAuthV2 parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureAuthV2 parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureAuthV2 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.cloud.chronicle.v1.AzureAuthV2 parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureAuthV2 parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureAuthV2 parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureAuthV2 parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureAuthV2 parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureAuthV2 parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureAuthV2 parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureAuthV2 parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.AzureAuthV2 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * A message containing fields used to authenticate with Azure Blob Storage.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AzureAuthV2} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.AzureAuthV2) + com.google.cloud.chronicle.v1.AzureAuthV2OrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureAuthV2_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureAuthV2_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AzureAuthV2.class, + com.google.cloud.chronicle.v1.AzureAuthV2.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.AzureAuthV2.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (azureV2WorkloadIdentityFederationBuilder_ != null) { + azureV2WorkloadIdentityFederationBuilder_.clear(); + } + authTypeCase_ = 0; + authType_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureAuthV2_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureAuthV2 getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.AzureAuthV2.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureAuthV2 build() { + com.google.cloud.chronicle.v1.AzureAuthV2 result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureAuthV2 buildPartial() { + com.google.cloud.chronicle.v1.AzureAuthV2 result = + new com.google.cloud.chronicle.v1.AzureAuthV2(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.AzureAuthV2 result) { + int from_bitField0_ = bitField0_; + } + + private void buildPartialOneofs(com.google.cloud.chronicle.v1.AzureAuthV2 result) { + result.authTypeCase_ = authTypeCase_; + result.authType_ = this.authType_; + if (authTypeCase_ == 3 && azureV2WorkloadIdentityFederationBuilder_ != null) { + result.authType_ = azureV2WorkloadIdentityFederationBuilder_.build(); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.AzureAuthV2) { + return mergeFrom((com.google.cloud.chronicle.v1.AzureAuthV2) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.AzureAuthV2 other) { + if (other == com.google.cloud.chronicle.v1.AzureAuthV2.getDefaultInstance()) return this; + switch (other.getAuthTypeCase()) { + case ACCESS_KEY: + { + authTypeCase_ = 1; + authType_ = other.authType_; + onChanged(); + break; + } + case SAS_TOKEN: + { + authTypeCase_ = 2; + authType_ = other.authType_; + onChanged(); + break; + } + case AZURE_V2_WORKLOAD_IDENTITY_FEDERATION: + { + mergeAzureV2WorkloadIdentityFederation(other.getAzureV2WorkloadIdentityFederation()); + break; + } + case AUTHTYPE_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + authTypeCase_ = 1; + authType_ = s; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + authTypeCase_ = 2; + authType_ = s; + break; + } // case 18 + case 26: + { + input.readMessage( + internalGetAzureV2WorkloadIdentityFederationFieldBuilder().getBuilder(), + extensionRegistry); + authTypeCase_ = 3; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int authTypeCase_ = 0; + private java.lang.Object authType_; + + public AuthTypeCase getAuthTypeCase() { + return AuthTypeCase.forNumber(authTypeCase_); + } + + public Builder clearAuthType() { + authTypeCase_ = 0; + authType_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + /** + * + * + *
+     * Required. Access Key also known as shared key.
+     * 
+ * + * string access_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the accessKey field is set. + */ + @java.lang.Override + public boolean hasAccessKey() { + return authTypeCase_ == 1; + } + + /** + * + * + *
+     * Required. Access Key also known as shared key.
+     * 
+ * + * string access_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The accessKey. + */ + @java.lang.Override + public java.lang.String getAccessKey() { + java.lang.Object ref = ""; + if (authTypeCase_ == 1) { + ref = authType_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (authTypeCase_ == 1) { + authType_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Access Key also known as shared key.
+     * 
+ * + * string access_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for accessKey. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAccessKeyBytes() { + java.lang.Object ref = ""; + if (authTypeCase_ == 1) { + ref = authType_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (authTypeCase_ == 1) { + authType_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Access Key also known as shared key.
+     * 
+ * + * string access_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The accessKey to set. + * @return This builder for chaining. + */ + public Builder setAccessKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + authTypeCase_ = 1; + authType_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Access Key also known as shared key.
+     * 
+ * + * string access_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearAccessKey() { + if (authTypeCase_ == 1) { + authTypeCase_ = 0; + authType_ = null; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Required. Access Key also known as shared key.
+     * 
+ * + * string access_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for accessKey to set. + * @return This builder for chaining. + */ + public Builder setAccessKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + authTypeCase_ = 1; + authType_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. SAS Token.
+     * 
+ * + * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the sasToken field is set. + */ + @java.lang.Override + public boolean hasSasToken() { + return authTypeCase_ == 2; + } + + /** + * + * + *
+     * Required. SAS Token.
+     * 
+ * + * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The sasToken. + */ + @java.lang.Override + public java.lang.String getSasToken() { + java.lang.Object ref = ""; + if (authTypeCase_ == 2) { + ref = authType_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (authTypeCase_ == 2) { + authType_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. SAS Token.
+     * 
+ * + * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for sasToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSasTokenBytes() { + java.lang.Object ref = ""; + if (authTypeCase_ == 2) { + ref = authType_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (authTypeCase_ == 2) { + authType_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. SAS Token.
+     * 
+ * + * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The sasToken to set. + * @return This builder for chaining. + */ + public Builder setSasToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + authTypeCase_ = 2; + authType_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. SAS Token.
+     * 
+ * + * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearSasToken() { + if (authTypeCase_ == 2) { + authTypeCase_ = 0; + authType_ = null; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Required. SAS Token.
+     * 
+ * + * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for sasToken to set. + * @return This builder for chaining. + */ + public Builder setSasTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + authTypeCase_ = 2; + authType_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation, + com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation.Builder, + com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederationOrBuilder> + azureV2WorkloadIdentityFederationBuilder_; + + /** + * + * + *
+     * Required. Azure V2 Workload Identity Federation.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation azure_v2_workload_identity_federation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the azureV2WorkloadIdentityFederation field is set. + */ + @java.lang.Override + public boolean hasAzureV2WorkloadIdentityFederation() { + return authTypeCase_ == 3; + } + + /** + * + * + *
+     * Required. Azure V2 Workload Identity Federation.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation azure_v2_workload_identity_federation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The azureV2WorkloadIdentityFederation. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation + getAzureV2WorkloadIdentityFederation() { + if (azureV2WorkloadIdentityFederationBuilder_ == null) { + if (authTypeCase_ == 3) { + return (com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation) authType_; + } + return com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation.getDefaultInstance(); + } else { + if (authTypeCase_ == 3) { + return azureV2WorkloadIdentityFederationBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Required. Azure V2 Workload Identity Federation.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation azure_v2_workload_identity_federation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setAzureV2WorkloadIdentityFederation( + com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation value) { + if (azureV2WorkloadIdentityFederationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authType_ = value; + onChanged(); + } else { + azureV2WorkloadIdentityFederationBuilder_.setMessage(value); + } + authTypeCase_ = 3; + return this; + } + + /** + * + * + *
+     * Required. Azure V2 Workload Identity Federation.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation azure_v2_workload_identity_federation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setAzureV2WorkloadIdentityFederation( + com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation.Builder builderForValue) { + if (azureV2WorkloadIdentityFederationBuilder_ == null) { + authType_ = builderForValue.build(); + onChanged(); + } else { + azureV2WorkloadIdentityFederationBuilder_.setMessage(builderForValue.build()); + } + authTypeCase_ = 3; + return this; + } + + /** + * + * + *
+     * Required. Azure V2 Workload Identity Federation.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation azure_v2_workload_identity_federation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeAzureV2WorkloadIdentityFederation( + com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation value) { + if (azureV2WorkloadIdentityFederationBuilder_ == null) { + if (authTypeCase_ == 3 + && authType_ + != com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation + .getDefaultInstance()) { + authType_ = + com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation.newBuilder( + (com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation) authType_) + .mergeFrom(value) + .buildPartial(); + } else { + authType_ = value; + } + onChanged(); + } else { + if (authTypeCase_ == 3) { + azureV2WorkloadIdentityFederationBuilder_.mergeFrom(value); + } else { + azureV2WorkloadIdentityFederationBuilder_.setMessage(value); + } + } + authTypeCase_ = 3; + return this; + } + + /** + * + * + *
+     * Required. Azure V2 Workload Identity Federation.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation azure_v2_workload_identity_federation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearAzureV2WorkloadIdentityFederation() { + if (azureV2WorkloadIdentityFederationBuilder_ == null) { + if (authTypeCase_ == 3) { + authTypeCase_ = 0; + authType_ = null; + onChanged(); + } + } else { + if (authTypeCase_ == 3) { + authTypeCase_ = 0; + authType_ = null; + } + azureV2WorkloadIdentityFederationBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Required. Azure V2 Workload Identity Federation.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation azure_v2_workload_identity_federation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation.Builder + getAzureV2WorkloadIdentityFederationBuilder() { + return internalGetAzureV2WorkloadIdentityFederationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Required. Azure V2 Workload Identity Federation.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation azure_v2_workload_identity_federation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederationOrBuilder + getAzureV2WorkloadIdentityFederationOrBuilder() { + if ((authTypeCase_ == 3) && (azureV2WorkloadIdentityFederationBuilder_ != null)) { + return azureV2WorkloadIdentityFederationBuilder_.getMessageOrBuilder(); + } else { + if (authTypeCase_ == 3) { + return (com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation) authType_; + } + return com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Required. Azure V2 Workload Identity Federation.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation azure_v2_workload_identity_federation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation, + com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation.Builder, + com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederationOrBuilder> + internalGetAzureV2WorkloadIdentityFederationFieldBuilder() { + if (azureV2WorkloadIdentityFederationBuilder_ == null) { + if (!(authTypeCase_ == 3)) { + authType_ = + com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation.getDefaultInstance(); + } + azureV2WorkloadIdentityFederationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation, + com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation.Builder, + com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederationOrBuilder>( + (com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation) authType_, + getParentForChildren(), + isClean()); + authType_ = null; + } + authTypeCase_ = 3; + onChanged(); + return azureV2WorkloadIdentityFederationBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.AzureAuthV2) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.AzureAuthV2) + private static final com.google.cloud.chronicle.v1.AzureAuthV2 DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.AzureAuthV2(); + } + + public static com.google.cloud.chronicle.v1.AzureAuthV2 getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureAuthV2 parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureAuthV2 getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureAuthV2OrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureAuthV2OrBuilder.java new file mode 100644 index 000000000000..9ced415568f7 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureAuthV2OrBuilder.java @@ -0,0 +1,153 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface AzureAuthV2OrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.AzureAuthV2) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Access Key also known as shared key.
+   * 
+ * + * string access_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the accessKey field is set. + */ + boolean hasAccessKey(); + + /** + * + * + *
+   * Required. Access Key also known as shared key.
+   * 
+ * + * string access_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The accessKey. + */ + java.lang.String getAccessKey(); + + /** + * + * + *
+   * Required. Access Key also known as shared key.
+   * 
+ * + * string access_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for accessKey. + */ + com.google.protobuf.ByteString getAccessKeyBytes(); + + /** + * + * + *
+   * Required. SAS Token.
+   * 
+ * + * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the sasToken field is set. + */ + boolean hasSasToken(); + + /** + * + * + *
+   * Required. SAS Token.
+   * 
+ * + * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The sasToken. + */ + java.lang.String getSasToken(); + + /** + * + * + *
+   * Required. SAS Token.
+   * 
+ * + * string sas_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for sasToken. + */ + com.google.protobuf.ByteString getSasTokenBytes(); + + /** + * + * + *
+   * Required. Azure V2 Workload Identity Federation.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation azure_v2_workload_identity_federation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the azureV2WorkloadIdentityFederation field is set. + */ + boolean hasAzureV2WorkloadIdentityFederation(); + + /** + * + * + *
+   * Required. Azure V2 Workload Identity Federation.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation azure_v2_workload_identity_federation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The azureV2WorkloadIdentityFederation. + */ + com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation + getAzureV2WorkloadIdentityFederation(); + + /** + * + * + *
+   * Required. Azure V2 Workload Identity Federation.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation azure_v2_workload_identity_federation = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederationOrBuilder + getAzureV2WorkloadIdentityFederationOrBuilder(); + + com.google.cloud.chronicle.v1.AzureAuthV2.AuthTypeCase getAuthTypeCase(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureBlobStoreSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureBlobStoreSettings.java new file mode 100644 index 000000000000..c810eb82ff7a --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureBlobStoreSettings.java @@ -0,0 +1,1235 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Azure Blob Storage settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AzureBlobStoreSettings} + */ +@com.google.protobuf.Generated +public final class AzureBlobStoreSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.AzureBlobStoreSettings) + AzureBlobStoreSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "AzureBlobStoreSettings"); + } + + // Use AzureBlobStoreSettings.newBuilder() to construct. + private AzureBlobStoreSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private AzureBlobStoreSettings() { + azureUri_ = ""; + sourceType_ = 0; + sourceDeletionOption_ = 0; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureBlobStoreSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureBlobStoreSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AzureBlobStoreSettings.class, + com.google.cloud.chronicle.v1.AzureBlobStoreSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.AzureAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.AzureAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.AzureAuth.getDefaultInstance() + : authentication_; + } + + public static final int AZURE_URI_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object azureUri_ = ""; + + /** + * + * + *
+   * Azure URI.
+   * 
+ * + * string azure_uri = 2; + * + * @return The azureUri. + */ + @java.lang.Override + public java.lang.String getAzureUri() { + java.lang.Object ref = azureUri_; + 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(); + azureUri_ = s; + return s; + } + } + + /** + * + * + *
+   * Azure URI.
+   * 
+ * + * string azure_uri = 2; + * + * @return The bytes for azureUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAzureUriBytes() { + java.lang.Object ref = azureUri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + azureUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SOURCE_TYPE_FIELD_NUMBER = 3; + private int sourceType_ = 0; + + /** + * + * + *
+   * The URI source type.
+   * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 3; + * + * @return The enum numeric value on the wire for sourceType. + */ + @java.lang.Override + public int getSourceTypeValue() { + return sourceType_; + } + + /** + * + * + *
+   * The URI source type.
+   * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 3; + * + * @return The sourceType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.URISourceType getSourceType() { + com.google.cloud.chronicle.v1.URISourceType result = + com.google.cloud.chronicle.v1.URISourceType.forNumber(sourceType_); + return result == null ? com.google.cloud.chronicle.v1.URISourceType.UNRECOGNIZED : result; + } + + public static final int SOURCE_DELETION_OPTION_FIELD_NUMBER = 4; + private int sourceDeletionOption_ = 0; + + /** + * + * + *
+   * Source deletion option.
+   * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 4; + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + @java.lang.Override + public int getSourceDeletionOptionValue() { + return sourceDeletionOption_; + } + + /** + * + * + *
+   * Source deletion option.
+   * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 4; + * + * @return The sourceDeletionOption. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SourceDeletionOption getSourceDeletionOption() { + com.google.cloud.chronicle.v1.SourceDeletionOption result = + com.google.cloud.chronicle.v1.SourceDeletionOption.forNumber(sourceDeletionOption_); + return result == null + ? com.google.cloud.chronicle.v1.SourceDeletionOption.UNRECOGNIZED + : result; + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(azureUri_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, azureUri_); + } + if (sourceType_ + != com.google.cloud.chronicle.v1.URISourceType.URI_SOURCE_TYPE_UNSPECIFIED.getNumber()) { + output.writeEnum(3, sourceType_); + } + if (sourceDeletionOption_ + != com.google.cloud.chronicle.v1.SourceDeletionOption.SOURCE_DELETION_OPTION_UNSPECIFIED + .getNumber()) { + output.writeEnum(4, sourceDeletionOption_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(azureUri_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, azureUri_); + } + if (sourceType_ + != com.google.cloud.chronicle.v1.URISourceType.URI_SOURCE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, sourceType_); + } + if (sourceDeletionOption_ + != com.google.cloud.chronicle.v1.SourceDeletionOption.SOURCE_DELETION_OPTION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, sourceDeletionOption_); + } + 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.cloud.chronicle.v1.AzureBlobStoreSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.AzureBlobStoreSettings other = + (com.google.cloud.chronicle.v1.AzureBlobStoreSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getAzureUri().equals(other.getAzureUri())) return false; + if (sourceType_ != other.sourceType_) return false; + if (sourceDeletionOption_ != other.sourceDeletionOption_) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + AZURE_URI_FIELD_NUMBER; + hash = (53 * hash) + getAzureUri().hashCode(); + hash = (37 * hash) + SOURCE_TYPE_FIELD_NUMBER; + hash = (53 * hash) + sourceType_; + hash = (37 * hash) + SOURCE_DELETION_OPTION_FIELD_NUMBER; + hash = (53 * hash) + sourceDeletionOption_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.AzureBlobStoreSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureBlobStoreSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureBlobStoreSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureBlobStoreSettings 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.cloud.chronicle.v1.AzureBlobStoreSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureBlobStoreSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureBlobStoreSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureBlobStoreSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureBlobStoreSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureBlobStoreSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureBlobStoreSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureBlobStoreSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.AzureBlobStoreSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Azure Blob Storage settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AzureBlobStoreSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.AzureBlobStoreSettings) + com.google.cloud.chronicle.v1.AzureBlobStoreSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureBlobStoreSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureBlobStoreSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AzureBlobStoreSettings.class, + com.google.cloud.chronicle.v1.AzureBlobStoreSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.AzureBlobStoreSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + azureUri_ = ""; + sourceType_ = 0; + sourceDeletionOption_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureBlobStoreSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureBlobStoreSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.AzureBlobStoreSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureBlobStoreSettings build() { + com.google.cloud.chronicle.v1.AzureBlobStoreSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureBlobStoreSettings buildPartial() { + com.google.cloud.chronicle.v1.AzureBlobStoreSettings result = + new com.google.cloud.chronicle.v1.AzureBlobStoreSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.AzureBlobStoreSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.azureUri_ = azureUri_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.sourceType_ = sourceType_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.sourceDeletionOption_ = sourceDeletionOption_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.AzureBlobStoreSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.AzureBlobStoreSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.AzureBlobStoreSettings other) { + if (other == com.google.cloud.chronicle.v1.AzureBlobStoreSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getAzureUri().isEmpty()) { + azureUri_ = other.azureUri_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.sourceType_ != 0) { + setSourceTypeValue(other.getSourceTypeValue()); + } + if (other.sourceDeletionOption_ != 0) { + setSourceDeletionOptionValue(other.getSourceDeletionOptionValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + azureUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + sourceType_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + sourceDeletionOption_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.AzureAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureAuth, + com.google.cloud.chronicle.v1.AzureAuth.Builder, + com.google.cloud.chronicle.v1.AzureAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.AzureAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.AzureAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.AzureAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.AzureAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.AzureAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ != com.google.cloud.chronicle.v1.AzureAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.AzureAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.AzureAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.AzureAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureAuth, + com.google.cloud.chronicle.v1.AzureAuth.Builder, + com.google.cloud.chronicle.v1.AzureAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureAuth, + com.google.cloud.chronicle.v1.AzureAuth.Builder, + com.google.cloud.chronicle.v1.AzureAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object azureUri_ = ""; + + /** + * + * + *
+     * Azure URI.
+     * 
+ * + * string azure_uri = 2; + * + * @return The azureUri. + */ + public java.lang.String getAzureUri() { + java.lang.Object ref = azureUri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + azureUri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Azure URI.
+     * 
+ * + * string azure_uri = 2; + * + * @return The bytes for azureUri. + */ + public com.google.protobuf.ByteString getAzureUriBytes() { + java.lang.Object ref = azureUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + azureUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Azure URI.
+     * 
+ * + * string azure_uri = 2; + * + * @param value The azureUri to set. + * @return This builder for chaining. + */ + public Builder setAzureUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + azureUri_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Azure URI.
+     * 
+ * + * string azure_uri = 2; + * + * @return This builder for chaining. + */ + public Builder clearAzureUri() { + azureUri_ = getDefaultInstance().getAzureUri(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Azure URI.
+     * 
+ * + * string azure_uri = 2; + * + * @param value The bytes for azureUri to set. + * @return This builder for chaining. + */ + public Builder setAzureUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + azureUri_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int sourceType_ = 0; + + /** + * + * + *
+     * The URI source type.
+     * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 3; + * + * @return The enum numeric value on the wire for sourceType. + */ + @java.lang.Override + public int getSourceTypeValue() { + return sourceType_; + } + + /** + * + * + *
+     * The URI source type.
+     * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 3; + * + * @param value The enum numeric value on the wire for sourceType to set. + * @return This builder for chaining. + */ + public Builder setSourceTypeValue(int value) { + sourceType_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * The URI source type.
+     * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 3; + * + * @return The sourceType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.URISourceType getSourceType() { + com.google.cloud.chronicle.v1.URISourceType result = + com.google.cloud.chronicle.v1.URISourceType.forNumber(sourceType_); + return result == null ? com.google.cloud.chronicle.v1.URISourceType.UNRECOGNIZED : result; + } + + /** + * + * + *
+     * The URI source type.
+     * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 3; + * + * @param value The sourceType to set. + * @return This builder for chaining. + */ + public Builder setSourceType(com.google.cloud.chronicle.v1.URISourceType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + sourceType_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * The URI source type.
+     * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 3; + * + * @return This builder for chaining. + */ + public Builder clearSourceType() { + bitField0_ = (bitField0_ & ~0x00000004); + sourceType_ = 0; + onChanged(); + return this; + } + + private int sourceDeletionOption_ = 0; + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 4; + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + @java.lang.Override + public int getSourceDeletionOptionValue() { + return sourceDeletionOption_; + } + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 4; + * + * @param value The enum numeric value on the wire for sourceDeletionOption to set. + * @return This builder for chaining. + */ + public Builder setSourceDeletionOptionValue(int value) { + sourceDeletionOption_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 4; + * + * @return The sourceDeletionOption. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SourceDeletionOption getSourceDeletionOption() { + com.google.cloud.chronicle.v1.SourceDeletionOption result = + com.google.cloud.chronicle.v1.SourceDeletionOption.forNumber(sourceDeletionOption_); + return result == null + ? com.google.cloud.chronicle.v1.SourceDeletionOption.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 4; + * + * @param value The sourceDeletionOption to set. + * @return This builder for chaining. + */ + public Builder setSourceDeletionOption( + com.google.cloud.chronicle.v1.SourceDeletionOption value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + sourceDeletionOption_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 4; + * + * @return This builder for chaining. + */ + public Builder clearSourceDeletionOption() { + bitField0_ = (bitField0_ & ~0x00000008); + sourceDeletionOption_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.AzureBlobStoreSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.AzureBlobStoreSettings) + private static final com.google.cloud.chronicle.v1.AzureBlobStoreSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.AzureBlobStoreSettings(); + } + + public static com.google.cloud.chronicle.v1.AzureBlobStoreSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureBlobStoreSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureBlobStoreSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureBlobStoreSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureBlobStoreSettingsOrBuilder.java new file mode 100644 index 000000000000..7e4df4f738d7 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureBlobStoreSettingsOrBuilder.java @@ -0,0 +1,149 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface AzureBlobStoreSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.AzureBlobStoreSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.AzureAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.AzureAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Azure URI.
+   * 
+ * + * string azure_uri = 2; + * + * @return The azureUri. + */ + java.lang.String getAzureUri(); + + /** + * + * + *
+   * Azure URI.
+   * 
+ * + * string azure_uri = 2; + * + * @return The bytes for azureUri. + */ + com.google.protobuf.ByteString getAzureUriBytes(); + + /** + * + * + *
+   * The URI source type.
+   * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 3; + * + * @return The enum numeric value on the wire for sourceType. + */ + int getSourceTypeValue(); + + /** + * + * + *
+   * The URI source type.
+   * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 3; + * + * @return The sourceType. + */ + com.google.cloud.chronicle.v1.URISourceType getSourceType(); + + /** + * + * + *
+   * Source deletion option.
+   * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 4; + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + int getSourceDeletionOptionValue(); + + /** + * + * + *
+   * Source deletion option.
+   * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 4; + * + * @return The sourceDeletionOption. + */ + com.google.cloud.chronicle.v1.SourceDeletionOption getSourceDeletionOption(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureBlobStoreV2Settings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureBlobStoreV2Settings.java new file mode 100644 index 000000000000..5a36130c569e --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureBlobStoreV2Settings.java @@ -0,0 +1,1683 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * AzureBlobStoreV2Settings is the settings proto for Azure Blob Storage feeds.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AzureBlobStoreV2Settings} + */ +@com.google.protobuf.Generated +public final class AzureBlobStoreV2Settings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.AzureBlobStoreV2Settings) + AzureBlobStoreV2SettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "AzureBlobStoreV2Settings"); + } + + // Use AzureBlobStoreV2Settings.newBuilder() to construct. + private AzureBlobStoreV2Settings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private AzureBlobStoreV2Settings() { + azureUri_ = ""; + sourceDeletionOption_ = 0; + chronicleServiceAccount_ = ""; + includePrefixes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureBlobStoreV2Settings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureBlobStoreV2Settings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings.class, + com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings.Builder.class); + } + + private int bitField0_; + public static final int AZURE_URI_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object azureUri_ = ""; + + /** + * + * + *
+   * Required. Azure URI.
+   * 
+ * + * string azure_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The azureUri. + */ + @java.lang.Override + public java.lang.String getAzureUri() { + java.lang.Object ref = azureUri_; + 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(); + azureUri_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Azure URI.
+   * 
+ * + * string azure_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for azureUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAzureUriBytes() { + java.lang.Object ref = azureUri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + azureUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AUTHENTICATION_FIELD_NUMBER = 3; + private com.google.cloud.chronicle.v1.AzureAuthV2 authentication_; + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureAuthV2 getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.AzureAuthV2.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureAuthV2OrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.AzureAuthV2.getDefaultInstance() + : authentication_; + } + + public static final int SOURCE_DELETION_OPTION_FIELD_NUMBER = 4; + private int sourceDeletionOption_ = 0; + + /** + * + * + *
+   * Optional. Source deletion option.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + @java.lang.Override + public int getSourceDeletionOptionValue() { + return sourceDeletionOption_; + } + + /** + * + * + *
+   * Optional. Source deletion option.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The sourceDeletionOption. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SourceDeletionOptionV2 getSourceDeletionOption() { + com.google.cloud.chronicle.v1.SourceDeletionOptionV2 result = + com.google.cloud.chronicle.v1.SourceDeletionOptionV2.forNumber(sourceDeletionOption_); + return result == null + ? com.google.cloud.chronicle.v1.SourceDeletionOptionV2.UNRECOGNIZED + : result; + } + + public static final int MAX_LOOKBACK_DAYS_FIELD_NUMBER = 5; + private int maxLookbackDays_ = 0; + + /** + * + * + *
+   * Optional. Maximum File Age to ingest in days.
+   * 
+ * + * int32 max_lookback_days = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxLookbackDays. + */ + @java.lang.Override + public int getMaxLookbackDays() { + return maxLookbackDays_; + } + + public static final int CHRONICLE_SERVICE_ACCOUNT_FIELD_NUMBER = 6; + + @SuppressWarnings("serial") + private volatile java.lang.Object chronicleServiceAccount_ = ""; + + /** + * + * + *
+   * Output only. SA that will read data, this is Storage Transfer Service SA of
+   * Customer's Tenancy Project.
+   * 
+ * + * string chronicle_service_account = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The chronicleServiceAccount. + */ + @java.lang.Override + public java.lang.String getChronicleServiceAccount() { + java.lang.Object ref = chronicleServiceAccount_; + 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(); + chronicleServiceAccount_ = s; + return s; + } + } + + /** + * + * + *
+   * Output only. SA that will read data, this is Storage Transfer Service SA of
+   * Customer's Tenancy Project.
+   * 
+ * + * string chronicle_service_account = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for chronicleServiceAccount. + */ + @java.lang.Override + public com.google.protobuf.ByteString getChronicleServiceAccountBytes() { + java.lang.Object ref = chronicleServiceAccount_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + chronicleServiceAccount_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INCLUDE_PREFIXES_FIELD_NUMBER = 7; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList includePrefixes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the includePrefixes. + */ + public com.google.protobuf.ProtocolStringList getIncludePrefixesList() { + return includePrefixes_; + } + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of includePrefixes. + */ + public int getIncludePrefixesCount() { + return includePrefixes_.size(); + } + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The includePrefixes at the given index. + */ + public java.lang.String getIncludePrefixes(int index) { + return includePrefixes_.get(index); + } + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the includePrefixes at the given index. + */ + public com.google.protobuf.ByteString getIncludePrefixesBytes(int index) { + return includePrefixes_.getByteString(index); + } + + 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.GeneratedMessage.isStringEmpty(azureUri_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, azureUri_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(3, getAuthentication()); + } + if (sourceDeletionOption_ + != com.google.cloud.chronicle.v1.SourceDeletionOptionV2 + .SOURCE_DELETION_OPTION_V2_UNSPECIFIED + .getNumber()) { + output.writeEnum(4, sourceDeletionOption_); + } + if (maxLookbackDays_ != 0) { + output.writeInt32(5, maxLookbackDays_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(chronicleServiceAccount_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 6, chronicleServiceAccount_); + } + for (int i = 0; i < includePrefixes_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 7, includePrefixes_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(azureUri_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, azureUri_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAuthentication()); + } + if (sourceDeletionOption_ + != com.google.cloud.chronicle.v1.SourceDeletionOptionV2 + .SOURCE_DELETION_OPTION_V2_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, sourceDeletionOption_); + } + if (maxLookbackDays_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, maxLookbackDays_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(chronicleServiceAccount_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(6, chronicleServiceAccount_); + } + { + int dataSize = 0; + for (int i = 0; i < includePrefixes_.size(); i++) { + dataSize += computeStringSizeNoTag(includePrefixes_.getRaw(i)); + } + size += dataSize; + size += 1 * getIncludePrefixesList().size(); + } + 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.cloud.chronicle.v1.AzureBlobStoreV2Settings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings other = + (com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings) obj; + + if (!getAzureUri().equals(other.getAzureUri())) return false; + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (sourceDeletionOption_ != other.sourceDeletionOption_) return false; + if (getMaxLookbackDays() != other.getMaxLookbackDays()) return false; + if (!getChronicleServiceAccount().equals(other.getChronicleServiceAccount())) return false; + if (!getIncludePrefixesList().equals(other.getIncludePrefixesList())) 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) + AZURE_URI_FIELD_NUMBER; + hash = (53 * hash) + getAzureUri().hashCode(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + SOURCE_DELETION_OPTION_FIELD_NUMBER; + hash = (53 * hash) + sourceDeletionOption_; + hash = (37 * hash) + MAX_LOOKBACK_DAYS_FIELD_NUMBER; + hash = (53 * hash) + getMaxLookbackDays(); + hash = (37 * hash) + CHRONICLE_SERVICE_ACCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getChronicleServiceAccount().hashCode(); + if (getIncludePrefixesCount() > 0) { + hash = (37 * hash) + INCLUDE_PREFIXES_FIELD_NUMBER; + hash = (53 * hash) + getIncludePrefixesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings 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.cloud.chronicle.v1.AzureBlobStoreV2Settings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.AzureBlobStoreV2Settings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * AzureBlobStoreV2Settings is the settings proto for Azure Blob Storage feeds.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AzureBlobStoreV2Settings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.AzureBlobStoreV2Settings) + com.google.cloud.chronicle.v1.AzureBlobStoreV2SettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureBlobStoreV2Settings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureBlobStoreV2Settings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings.class, + com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + azureUri_ = ""; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + sourceDeletionOption_ = 0; + maxLookbackDays_ = 0; + chronicleServiceAccount_ = ""; + includePrefixes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureBlobStoreV2Settings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings build() { + com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings buildPartial() { + com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings result = + new com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.azureUri_ = azureUri_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.sourceDeletionOption_ = sourceDeletionOption_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.maxLookbackDays_ = maxLookbackDays_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.chronicleServiceAccount_ = chronicleServiceAccount_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + includePrefixes_.makeImmutable(); + result.includePrefixes_ = includePrefixes_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings) { + return mergeFrom((com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings other) { + if (other == com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings.getDefaultInstance()) + return this; + if (!other.getAzureUri().isEmpty()) { + azureUri_ = other.azureUri_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (other.sourceDeletionOption_ != 0) { + setSourceDeletionOptionValue(other.getSourceDeletionOptionValue()); + } + if (other.getMaxLookbackDays() != 0) { + setMaxLookbackDays(other.getMaxLookbackDays()); + } + if (!other.getChronicleServiceAccount().isEmpty()) { + chronicleServiceAccount_ = other.chronicleServiceAccount_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.includePrefixes_.isEmpty()) { + if (includePrefixes_.isEmpty()) { + includePrefixes_ = other.includePrefixes_; + bitField0_ |= 0x00000020; + } else { + ensureIncludePrefixesIsMutable(); + includePrefixes_.addAll(other.includePrefixes_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + azureUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 32: + { + sourceDeletionOption_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 32 + case 40: + { + maxLookbackDays_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 40 + case 50: + { + chronicleServiceAccount_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 50 + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureIncludePrefixesIsMutable(); + includePrefixes_.add(s); + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object azureUri_ = ""; + + /** + * + * + *
+     * Required. Azure URI.
+     * 
+ * + * string azure_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The azureUri. + */ + public java.lang.String getAzureUri() { + java.lang.Object ref = azureUri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + azureUri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Azure URI.
+     * 
+ * + * string azure_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for azureUri. + */ + public com.google.protobuf.ByteString getAzureUriBytes() { + java.lang.Object ref = azureUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + azureUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Azure URI.
+     * 
+ * + * string azure_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The azureUri to set. + * @return This builder for chaining. + */ + public Builder setAzureUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + azureUri_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Azure URI.
+     * 
+ * + * string azure_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearAzureUri() { + azureUri_ = getDefaultInstance().getAzureUri(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Azure URI.
+     * 
+ * + * string azure_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for azureUri to set. + * @return This builder for chaining. + */ + public Builder setAzureUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + azureUri_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.cloud.chronicle.v1.AzureAuthV2 authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureAuthV2, + com.google.cloud.chronicle.v1.AzureAuthV2.Builder, + com.google.cloud.chronicle.v1.AzureAuthV2OrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.AzureAuthV2 getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.AzureAuthV2.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.AzureAuthV2 value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.AzureAuthV2.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.AzureAuthV2 value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && authentication_ != null + && authentication_ != com.google.cloud.chronicle.v1.AzureAuthV2.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000002); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.AzureAuthV2.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.AzureAuthV2OrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.AzureAuthV2.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureAuthV2, + com.google.cloud.chronicle.v1.AzureAuthV2.Builder, + com.google.cloud.chronicle.v1.AzureAuthV2OrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureAuthV2, + com.google.cloud.chronicle.v1.AzureAuthV2.Builder, + com.google.cloud.chronicle.v1.AzureAuthV2OrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private int sourceDeletionOption_ = 0; + + /** + * + * + *
+     * Optional. Source deletion option.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + @java.lang.Override + public int getSourceDeletionOptionValue() { + return sourceDeletionOption_; + } + + /** + * + * + *
+     * Optional. Source deletion option.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The enum numeric value on the wire for sourceDeletionOption to set. + * @return This builder for chaining. + */ + public Builder setSourceDeletionOptionValue(int value) { + sourceDeletionOption_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Source deletion option.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The sourceDeletionOption. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SourceDeletionOptionV2 getSourceDeletionOption() { + com.google.cloud.chronicle.v1.SourceDeletionOptionV2 result = + com.google.cloud.chronicle.v1.SourceDeletionOptionV2.forNumber(sourceDeletionOption_); + return result == null + ? com.google.cloud.chronicle.v1.SourceDeletionOptionV2.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * Optional. Source deletion option.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The sourceDeletionOption to set. + * @return This builder for chaining. + */ + public Builder setSourceDeletionOption( + com.google.cloud.chronicle.v1.SourceDeletionOptionV2 value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + sourceDeletionOption_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Source deletion option.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearSourceDeletionOption() { + bitField0_ = (bitField0_ & ~0x00000004); + sourceDeletionOption_ = 0; + onChanged(); + return this; + } + + private int maxLookbackDays_; + + /** + * + * + *
+     * Optional. Maximum File Age to ingest in days.
+     * 
+ * + * int32 max_lookback_days = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxLookbackDays. + */ + @java.lang.Override + public int getMaxLookbackDays() { + return maxLookbackDays_; + } + + /** + * + * + *
+     * Optional. Maximum File Age to ingest in days.
+     * 
+ * + * int32 max_lookback_days = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The maxLookbackDays to set. + * @return This builder for chaining. + */ + public Builder setMaxLookbackDays(int value) { + + maxLookbackDays_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Maximum File Age to ingest in days.
+     * 
+ * + * int32 max_lookback_days = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearMaxLookbackDays() { + bitField0_ = (bitField0_ & ~0x00000008); + maxLookbackDays_ = 0; + onChanged(); + return this; + } + + private java.lang.Object chronicleServiceAccount_ = ""; + + /** + * + * + *
+     * Output only. SA that will read data, this is Storage Transfer Service SA of
+     * Customer's Tenancy Project.
+     * 
+ * + * string chronicle_service_account = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The chronicleServiceAccount. + */ + public java.lang.String getChronicleServiceAccount() { + java.lang.Object ref = chronicleServiceAccount_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + chronicleServiceAccount_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Output only. SA that will read data, this is Storage Transfer Service SA of
+     * Customer's Tenancy Project.
+     * 
+ * + * string chronicle_service_account = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The bytes for chronicleServiceAccount. + */ + public com.google.protobuf.ByteString getChronicleServiceAccountBytes() { + java.lang.Object ref = chronicleServiceAccount_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + chronicleServiceAccount_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Output only. SA that will read data, this is Storage Transfer Service SA of
+     * Customer's Tenancy Project.
+     * 
+ * + * string chronicle_service_account = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The chronicleServiceAccount to set. + * @return This builder for chaining. + */ + public Builder setChronicleServiceAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + chronicleServiceAccount_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. SA that will read data, this is Storage Transfer Service SA of
+     * Customer's Tenancy Project.
+     * 
+ * + * string chronicle_service_account = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearChronicleServiceAccount() { + chronicleServiceAccount_ = getDefaultInstance().getChronicleServiceAccount(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. SA that will read data, this is Storage Transfer Service SA of
+     * Customer's Tenancy Project.
+     * 
+ * + * string chronicle_service_account = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The bytes for chronicleServiceAccount to set. + * @return This builder for chaining. + */ + public Builder setChronicleServiceAccountBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + chronicleServiceAccount_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList includePrefixes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureIncludePrefixesIsMutable() { + if (!includePrefixes_.isModifiable()) { + includePrefixes_ = new com.google.protobuf.LazyStringArrayList(includePrefixes_); + } + bitField0_ |= 0x00000020; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the includePrefixes. + */ + public com.google.protobuf.ProtocolStringList getIncludePrefixesList() { + includePrefixes_.makeImmutable(); + return includePrefixes_; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of includePrefixes. + */ + public int getIncludePrefixesCount() { + return includePrefixes_.size(); + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The includePrefixes at the given index. + */ + public java.lang.String getIncludePrefixes(int index) { + return includePrefixes_.get(index); + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the includePrefixes at the given index. + */ + public com.google.protobuf.ByteString getIncludePrefixesBytes(int index) { + return includePrefixes_.getByteString(index); + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The includePrefixes to set. + * @return This builder for chaining. + */ + public Builder setIncludePrefixes(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureIncludePrefixesIsMutable(); + includePrefixes_.set(index, value); + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The includePrefixes to add. + * @return This builder for chaining. + */ + public Builder addIncludePrefixes(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureIncludePrefixesIsMutable(); + includePrefixes_.add(value); + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The includePrefixes to add. + * @return This builder for chaining. + */ + public Builder addAllIncludePrefixes(java.lang.Iterable values) { + ensureIncludePrefixesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includePrefixes_); + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearIncludePrefixes() { + includePrefixes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + ; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the includePrefixes to add. + * @return This builder for chaining. + */ + public Builder addIncludePrefixesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureIncludePrefixesIsMutable(); + includePrefixes_.add(value); + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.AzureBlobStoreV2Settings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.AzureBlobStoreV2Settings) + private static final com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings(); + } + + public static com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureBlobStoreV2Settings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureBlobStoreV2SettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureBlobStoreV2SettingsOrBuilder.java new file mode 100644 index 000000000000..70046d44c211 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureBlobStoreV2SettingsOrBuilder.java @@ -0,0 +1,222 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface AzureBlobStoreV2SettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.AzureBlobStoreV2Settings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Azure URI.
+   * 
+ * + * string azure_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The azureUri. + */ + java.lang.String getAzureUri(); + + /** + * + * + *
+   * Required. Azure URI.
+   * 
+ * + * string azure_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for azureUri. + */ + com.google.protobuf.ByteString getAzureUriBytes(); + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.AzureAuthV2 getAuthentication(); + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AzureAuthV2 authentication = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.chronicle.v1.AzureAuthV2OrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Optional. Source deletion option.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + int getSourceDeletionOptionValue(); + + /** + * + * + *
+   * Optional. Source deletion option.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The sourceDeletionOption. + */ + com.google.cloud.chronicle.v1.SourceDeletionOptionV2 getSourceDeletionOption(); + + /** + * + * + *
+   * Optional. Maximum File Age to ingest in days.
+   * 
+ * + * int32 max_lookback_days = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxLookbackDays. + */ + int getMaxLookbackDays(); + + /** + * + * + *
+   * Output only. SA that will read data, this is Storage Transfer Service SA of
+   * Customer's Tenancy Project.
+   * 
+ * + * string chronicle_service_account = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The chronicleServiceAccount. + */ + java.lang.String getChronicleServiceAccount(); + + /** + * + * + *
+   * Output only. SA that will read data, this is Storage Transfer Service SA of
+   * Customer's Tenancy Project.
+   * 
+ * + * string chronicle_service_account = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for chronicleServiceAccount. + */ + com.google.protobuf.ByteString getChronicleServiceAccountBytes(); + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the includePrefixes. + */ + java.util.List getIncludePrefixesList(); + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of includePrefixes. + */ + int getIncludePrefixesCount(); + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The includePrefixes at the given index. + */ + java.lang.String getIncludePrefixes(int index); + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the includePrefixes at the given index. + */ + com.google.protobuf.ByteString getIncludePrefixesBytes(int index); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureEventHubSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureEventHubSettings.java new file mode 100644 index 000000000000..6e2ea42aa89f --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureEventHubSettings.java @@ -0,0 +1,1744 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Settings required by Azure Event Hub Feeds.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AzureEventHubSettings} + */ +@com.google.protobuf.Generated +public final class AzureEventHubSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.AzureEventHubSettings) + AzureEventHubSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "AzureEventHubSettings"); + } + + // Use AzureEventHubSettings.newBuilder() to construct. + private AzureEventHubSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private AzureEventHubSettings() { + name_ = ""; + consumerGroup_ = ""; + eventHubConnectionString_ = ""; + azureStorageConnectionString_ = ""; + azureStorageContainer_ = ""; + azureSasToken_ = ""; + eventHubNamespace_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureEventHubSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureEventHubSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AzureEventHubSettings.class, + com.google.cloud.chronicle.v1.AzureEventHubSettings.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + + /** + * + * + *
+   * Required. Event hub to read from.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Event hub to read from.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CONSUMER_GROUP_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object consumerGroup_ = ""; + + /** + * + * + *
+   * Required. Event hub consumer group to read from.
+   * 
+ * + * string consumer_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The consumerGroup. + */ + @java.lang.Override + public java.lang.String getConsumerGroup() { + java.lang.Object ref = consumerGroup_; + 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(); + consumerGroup_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Event hub consumer group to read from.
+   * 
+ * + * string consumer_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for consumerGroup. + */ + @java.lang.Override + public com.google.protobuf.ByteString getConsumerGroupBytes() { + java.lang.Object ref = consumerGroup_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + consumerGroup_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int EVENT_HUB_CONNECTION_STRING_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object eventHubConnectionString_ = ""; + + /** + * + * + *
+   * Required. Event hub connection string for authentication.
+   * 
+ * + * string event_hub_connection_string = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The eventHubConnectionString. + */ + @java.lang.Override + public java.lang.String getEventHubConnectionString() { + java.lang.Object ref = eventHubConnectionString_; + 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(); + eventHubConnectionString_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Event hub connection string for authentication.
+   * 
+ * + * string event_hub_connection_string = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for eventHubConnectionString. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEventHubConnectionStringBytes() { + java.lang.Object ref = eventHubConnectionString_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + eventHubConnectionString_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AZURE_STORAGE_CONNECTION_STRING_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object azureStorageConnectionString_ = ""; + + /** + * + * + *
+   * Optional. Blob store connection string for authentication.
+   * 
+ * + * string azure_storage_connection_string = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The azureStorageConnectionString. + */ + @java.lang.Override + public java.lang.String getAzureStorageConnectionString() { + java.lang.Object ref = azureStorageConnectionString_; + 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(); + azureStorageConnectionString_ = s; + return s; + } + } + + /** + * + * + *
+   * Optional. Blob store connection string for authentication.
+   * 
+ * + * string azure_storage_connection_string = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The bytes for azureStorageConnectionString. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAzureStorageConnectionStringBytes() { + java.lang.Object ref = azureStorageConnectionString_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + azureStorageConnectionString_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AZURE_STORAGE_CONTAINER_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private volatile java.lang.Object azureStorageContainer_ = ""; + + /** + * + * + *
+   * Optional. Blob storage container name.
+   * 
+ * + * string azure_storage_container = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The azureStorageContainer. + */ + @java.lang.Override + public java.lang.String getAzureStorageContainer() { + java.lang.Object ref = azureStorageContainer_; + 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(); + azureStorageContainer_ = s; + return s; + } + } + + /** + * + * + *
+   * Optional. Blob storage container name.
+   * 
+ * + * string azure_storage_container = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for azureStorageContainer. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAzureStorageContainerBytes() { + java.lang.Object ref = azureStorageContainer_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + azureStorageContainer_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AZURE_SAS_TOKEN_FIELD_NUMBER = 6; + + @SuppressWarnings("serial") + private volatile java.lang.Object azureSasToken_ = ""; + + /** + * + * + *
+   * Optional. SAS token
+   * 
+ * + * string azure_sas_token = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The azureSasToken. + */ + @java.lang.Override + public java.lang.String getAzureSasToken() { + java.lang.Object ref = azureSasToken_; + 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(); + azureSasToken_ = s; + return s; + } + } + + /** + * + * + *
+   * Optional. SAS token
+   * 
+ * + * string azure_sas_token = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for azureSasToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAzureSasTokenBytes() { + java.lang.Object ref = azureSasToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + azureSasToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int EVENT_HUB_NAMESPACE_FIELD_NUMBER = 7; + + @SuppressWarnings("serial") + private volatile java.lang.Object eventHubNamespace_ = ""; + + /** + * + * + *
+   * Output only. Event hub namespace
+   * 
+ * + * string event_hub_namespace = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The eventHubNamespace. + */ + @java.lang.Override + public java.lang.String getEventHubNamespace() { + java.lang.Object ref = eventHubNamespace_; + 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(); + eventHubNamespace_ = s; + return s; + } + } + + /** + * + * + *
+   * Output only. Event hub namespace
+   * 
+ * + * string event_hub_namespace = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for eventHubNamespace. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEventHubNamespaceBytes() { + java.lang.Object ref = eventHubNamespace_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + eventHubNamespace_ = 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.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(consumerGroup_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, consumerGroup_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(eventHubConnectionString_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, eventHubConnectionString_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(azureStorageConnectionString_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, azureStorageConnectionString_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(azureStorageContainer_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, azureStorageContainer_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(azureSasToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 6, azureSasToken_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(eventHubNamespace_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 7, eventHubNamespace_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(consumerGroup_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, consumerGroup_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(eventHubConnectionString_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, eventHubConnectionString_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(azureStorageConnectionString_)) { + size += + com.google.protobuf.GeneratedMessage.computeStringSize(4, azureStorageConnectionString_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(azureStorageContainer_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, azureStorageContainer_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(azureSasToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(6, azureSasToken_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(eventHubNamespace_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(7, eventHubNamespace_); + } + 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.cloud.chronicle.v1.AzureEventHubSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.AzureEventHubSettings other = + (com.google.cloud.chronicle.v1.AzureEventHubSettings) obj; + + if (!getName().equals(other.getName())) return false; + if (!getConsumerGroup().equals(other.getConsumerGroup())) return false; + if (!getEventHubConnectionString().equals(other.getEventHubConnectionString())) return false; + if (!getAzureStorageConnectionString().equals(other.getAzureStorageConnectionString())) + return false; + if (!getAzureStorageContainer().equals(other.getAzureStorageContainer())) return false; + if (!getAzureSasToken().equals(other.getAzureSasToken())) return false; + if (!getEventHubNamespace().equals(other.getEventHubNamespace())) 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) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + CONSUMER_GROUP_FIELD_NUMBER; + hash = (53 * hash) + getConsumerGroup().hashCode(); + hash = (37 * hash) + EVENT_HUB_CONNECTION_STRING_FIELD_NUMBER; + hash = (53 * hash) + getEventHubConnectionString().hashCode(); + hash = (37 * hash) + AZURE_STORAGE_CONNECTION_STRING_FIELD_NUMBER; + hash = (53 * hash) + getAzureStorageConnectionString().hashCode(); + hash = (37 * hash) + AZURE_STORAGE_CONTAINER_FIELD_NUMBER; + hash = (53 * hash) + getAzureStorageContainer().hashCode(); + hash = (37 * hash) + AZURE_SAS_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getAzureSasToken().hashCode(); + hash = (37 * hash) + EVENT_HUB_NAMESPACE_FIELD_NUMBER; + hash = (53 * hash) + getEventHubNamespace().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.AzureEventHubSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureEventHubSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureEventHubSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureEventHubSettings 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.cloud.chronicle.v1.AzureEventHubSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureEventHubSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureEventHubSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureEventHubSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureEventHubSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureEventHubSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureEventHubSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureEventHubSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.AzureEventHubSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Settings required by Azure Event Hub Feeds.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AzureEventHubSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.AzureEventHubSettings) + com.google.cloud.chronicle.v1.AzureEventHubSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureEventHubSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureEventHubSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AzureEventHubSettings.class, + com.google.cloud.chronicle.v1.AzureEventHubSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.AzureEventHubSettings.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + consumerGroup_ = ""; + eventHubConnectionString_ = ""; + azureStorageConnectionString_ = ""; + azureStorageContainer_ = ""; + azureSasToken_ = ""; + eventHubNamespace_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureEventHubSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureEventHubSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.AzureEventHubSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureEventHubSettings build() { + com.google.cloud.chronicle.v1.AzureEventHubSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureEventHubSettings buildPartial() { + com.google.cloud.chronicle.v1.AzureEventHubSettings result = + new com.google.cloud.chronicle.v1.AzureEventHubSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.AzureEventHubSettings result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.consumerGroup_ = consumerGroup_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.eventHubConnectionString_ = eventHubConnectionString_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.azureStorageConnectionString_ = azureStorageConnectionString_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.azureStorageContainer_ = azureStorageContainer_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.azureSasToken_ = azureSasToken_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.eventHubNamespace_ = eventHubNamespace_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.AzureEventHubSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.AzureEventHubSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.AzureEventHubSettings other) { + if (other == com.google.cloud.chronicle.v1.AzureEventHubSettings.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getConsumerGroup().isEmpty()) { + consumerGroup_ = other.consumerGroup_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getEventHubConnectionString().isEmpty()) { + eventHubConnectionString_ = other.eventHubConnectionString_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getAzureStorageConnectionString().isEmpty()) { + azureStorageConnectionString_ = other.azureStorageConnectionString_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getAzureStorageContainer().isEmpty()) { + azureStorageContainer_ = other.azureStorageContainer_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getAzureSasToken().isEmpty()) { + azureSasToken_ = other.azureSasToken_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (!other.getEventHubNamespace().isEmpty()) { + eventHubNamespace_ = other.eventHubNamespace_; + bitField0_ |= 0x00000040; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + consumerGroup_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + eventHubConnectionString_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + azureStorageConnectionString_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + azureStorageContainer_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + azureSasToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + eventHubNamespace_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + + /** + * + * + *
+     * Required. Event hub to read from.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Event hub to read from.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Event hub to read from.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Event hub to read from.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Event hub to read from.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object consumerGroup_ = ""; + + /** + * + * + *
+     * Required. Event hub consumer group to read from.
+     * 
+ * + * string consumer_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The consumerGroup. + */ + public java.lang.String getConsumerGroup() { + java.lang.Object ref = consumerGroup_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + consumerGroup_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Event hub consumer group to read from.
+     * 
+ * + * string consumer_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for consumerGroup. + */ + public com.google.protobuf.ByteString getConsumerGroupBytes() { + java.lang.Object ref = consumerGroup_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + consumerGroup_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Event hub consumer group to read from.
+     * 
+ * + * string consumer_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The consumerGroup to set. + * @return This builder for chaining. + */ + public Builder setConsumerGroup(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + consumerGroup_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Event hub consumer group to read from.
+     * 
+ * + * string consumer_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearConsumerGroup() { + consumerGroup_ = getDefaultInstance().getConsumerGroup(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Event hub consumer group to read from.
+     * 
+ * + * string consumer_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for consumerGroup to set. + * @return This builder for chaining. + */ + public Builder setConsumerGroupBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + consumerGroup_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object eventHubConnectionString_ = ""; + + /** + * + * + *
+     * Required. Event hub connection string for authentication.
+     * 
+ * + * string event_hub_connection_string = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The eventHubConnectionString. + */ + public java.lang.String getEventHubConnectionString() { + java.lang.Object ref = eventHubConnectionString_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + eventHubConnectionString_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Event hub connection string for authentication.
+     * 
+ * + * string event_hub_connection_string = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The bytes for eventHubConnectionString. + */ + public com.google.protobuf.ByteString getEventHubConnectionStringBytes() { + java.lang.Object ref = eventHubConnectionString_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + eventHubConnectionString_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Event hub connection string for authentication.
+     * 
+ * + * string event_hub_connection_string = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The eventHubConnectionString to set. + * @return This builder for chaining. + */ + public Builder setEventHubConnectionString(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + eventHubConnectionString_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Event hub connection string for authentication.
+     * 
+ * + * string event_hub_connection_string = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return This builder for chaining. + */ + public Builder clearEventHubConnectionString() { + eventHubConnectionString_ = getDefaultInstance().getEventHubConnectionString(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Event hub connection string for authentication.
+     * 
+ * + * string event_hub_connection_string = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The bytes for eventHubConnectionString to set. + * @return This builder for chaining. + */ + public Builder setEventHubConnectionStringBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eventHubConnectionString_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object azureStorageConnectionString_ = ""; + + /** + * + * + *
+     * Optional. Blob store connection string for authentication.
+     * 
+ * + * string azure_storage_connection_string = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The azureStorageConnectionString. + */ + public java.lang.String getAzureStorageConnectionString() { + java.lang.Object ref = azureStorageConnectionString_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + azureStorageConnectionString_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Optional. Blob store connection string for authentication.
+     * 
+ * + * string azure_storage_connection_string = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The bytes for azureStorageConnectionString. + */ + public com.google.protobuf.ByteString getAzureStorageConnectionStringBytes() { + java.lang.Object ref = azureStorageConnectionString_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + azureStorageConnectionString_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Optional. Blob store connection string for authentication.
+     * 
+ * + * string azure_storage_connection_string = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The azureStorageConnectionString to set. + * @return This builder for chaining. + */ + public Builder setAzureStorageConnectionString(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + azureStorageConnectionString_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Blob store connection string for authentication.
+     * 
+ * + * string azure_storage_connection_string = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearAzureStorageConnectionString() { + azureStorageConnectionString_ = getDefaultInstance().getAzureStorageConnectionString(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Blob store connection string for authentication.
+     * 
+ * + * string azure_storage_connection_string = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The bytes for azureStorageConnectionString to set. + * @return This builder for chaining. + */ + public Builder setAzureStorageConnectionStringBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + azureStorageConnectionString_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object azureStorageContainer_ = ""; + + /** + * + * + *
+     * Optional. Blob storage container name.
+     * 
+ * + * string azure_storage_container = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The azureStorageContainer. + */ + public java.lang.String getAzureStorageContainer() { + java.lang.Object ref = azureStorageContainer_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + azureStorageContainer_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Optional. Blob storage container name.
+     * 
+ * + * string azure_storage_container = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for azureStorageContainer. + */ + public com.google.protobuf.ByteString getAzureStorageContainerBytes() { + java.lang.Object ref = azureStorageContainer_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + azureStorageContainer_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Optional. Blob storage container name.
+     * 
+ * + * string azure_storage_container = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The azureStorageContainer to set. + * @return This builder for chaining. + */ + public Builder setAzureStorageContainer(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + azureStorageContainer_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Blob storage container name.
+     * 
+ * + * string azure_storage_container = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearAzureStorageContainer() { + azureStorageContainer_ = getDefaultInstance().getAzureStorageContainer(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Blob storage container name.
+     * 
+ * + * string azure_storage_container = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for azureStorageContainer to set. + * @return This builder for chaining. + */ + public Builder setAzureStorageContainerBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + azureStorageContainer_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object azureSasToken_ = ""; + + /** + * + * + *
+     * Optional. SAS token
+     * 
+ * + * string azure_sas_token = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The azureSasToken. + */ + public java.lang.String getAzureSasToken() { + java.lang.Object ref = azureSasToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + azureSasToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Optional. SAS token
+     * 
+ * + * string azure_sas_token = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for azureSasToken. + */ + public com.google.protobuf.ByteString getAzureSasTokenBytes() { + java.lang.Object ref = azureSasToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + azureSasToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Optional. SAS token
+     * 
+ * + * string azure_sas_token = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The azureSasToken to set. + * @return This builder for chaining. + */ + public Builder setAzureSasToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + azureSasToken_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. SAS token
+     * 
+ * + * string azure_sas_token = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearAzureSasToken() { + azureSasToken_ = getDefaultInstance().getAzureSasToken(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. SAS token
+     * 
+ * + * string azure_sas_token = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for azureSasToken to set. + * @return This builder for chaining. + */ + public Builder setAzureSasTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + azureSasToken_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private java.lang.Object eventHubNamespace_ = ""; + + /** + * + * + *
+     * Output only. Event hub namespace
+     * 
+ * + * string event_hub_namespace = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The eventHubNamespace. + */ + public java.lang.String getEventHubNamespace() { + java.lang.Object ref = eventHubNamespace_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + eventHubNamespace_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Output only. Event hub namespace
+     * 
+ * + * string event_hub_namespace = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for eventHubNamespace. + */ + public com.google.protobuf.ByteString getEventHubNamespaceBytes() { + java.lang.Object ref = eventHubNamespace_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + eventHubNamespace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Output only. Event hub namespace
+     * 
+ * + * string event_hub_namespace = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The eventHubNamespace to set. + * @return This builder for chaining. + */ + public Builder setEventHubNamespace(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + eventHubNamespace_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Event hub namespace
+     * 
+ * + * string event_hub_namespace = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearEventHubNamespace() { + eventHubNamespace_ = getDefaultInstance().getEventHubNamespace(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Event hub namespace
+     * 
+ * + * string event_hub_namespace = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for eventHubNamespace to set. + * @return This builder for chaining. + */ + public Builder setEventHubNamespaceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eventHubNamespace_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.AzureEventHubSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.AzureEventHubSettings) + private static final com.google.cloud.chronicle.v1.AzureEventHubSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.AzureEventHubSettings(); + } + + public static com.google.cloud.chronicle.v1.AzureEventHubSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureEventHubSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureEventHubSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureEventHubSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureEventHubSettingsOrBuilder.java new file mode 100644 index 000000000000..a2bf16dc222b --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureEventHubSettingsOrBuilder.java @@ -0,0 +1,212 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface AzureEventHubSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.AzureEventHubSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Event hub to read from.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The name. + */ + java.lang.String getName(); + + /** + * + * + *
+   * Required. Event hub to read from.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Required. Event hub consumer group to read from.
+   * 
+ * + * string consumer_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The consumerGroup. + */ + java.lang.String getConsumerGroup(); + + /** + * + * + *
+   * Required. Event hub consumer group to read from.
+   * 
+ * + * string consumer_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for consumerGroup. + */ + com.google.protobuf.ByteString getConsumerGroupBytes(); + + /** + * + * + *
+   * Required. Event hub connection string for authentication.
+   * 
+ * + * string event_hub_connection_string = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The eventHubConnectionString. + */ + java.lang.String getEventHubConnectionString(); + + /** + * + * + *
+   * Required. Event hub connection string for authentication.
+   * 
+ * + * string event_hub_connection_string = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for eventHubConnectionString. + */ + com.google.protobuf.ByteString getEventHubConnectionStringBytes(); + + /** + * + * + *
+   * Optional. Blob store connection string for authentication.
+   * 
+ * + * string azure_storage_connection_string = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The azureStorageConnectionString. + */ + java.lang.String getAzureStorageConnectionString(); + + /** + * + * + *
+   * Optional. Blob store connection string for authentication.
+   * 
+ * + * string azure_storage_connection_string = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The bytes for azureStorageConnectionString. + */ + com.google.protobuf.ByteString getAzureStorageConnectionStringBytes(); + + /** + * + * + *
+   * Optional. Blob storage container name.
+   * 
+ * + * string azure_storage_container = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The azureStorageContainer. + */ + java.lang.String getAzureStorageContainer(); + + /** + * + * + *
+   * Optional. Blob storage container name.
+   * 
+ * + * string azure_storage_container = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for azureStorageContainer. + */ + com.google.protobuf.ByteString getAzureStorageContainerBytes(); + + /** + * + * + *
+   * Optional. SAS token
+   * 
+ * + * string azure_sas_token = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The azureSasToken. + */ + java.lang.String getAzureSasToken(); + + /** + * + * + *
+   * Optional. SAS token
+   * 
+ * + * string azure_sas_token = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for azureSasToken. + */ + com.google.protobuf.ByteString getAzureSasTokenBytes(); + + /** + * + * + *
+   * Output only. Event hub namespace
+   * 
+ * + * string event_hub_namespace = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The eventHubNamespace. + */ + java.lang.String getEventHubNamespace(); + + /** + * + * + *
+   * Output only. Event hub namespace
+   * 
+ * + * string event_hub_namespace = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for eventHubNamespace. + */ + com.google.protobuf.ByteString getEventHubNamespaceBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureMDMIntuneSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureMDMIntuneSettings.java new file mode 100644 index 000000000000..16b1c48d333d --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureMDMIntuneSettings.java @@ -0,0 +1,1299 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Azure MDM Intune settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AzureMDMIntuneSettings} + */ +@com.google.protobuf.Generated +public final class AzureMDMIntuneSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.AzureMDMIntuneSettings) + AzureMDMIntuneSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "AzureMDMIntuneSettings"); + } + + // Use AzureMDMIntuneSettings.newBuilder() to construct. + private AzureMDMIntuneSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private AzureMDMIntuneSettings() { + tenantId_ = ""; + hostname_ = ""; + authEndpoint_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureMDMIntuneSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureMDMIntuneSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AzureMDMIntuneSettings.class, + com.google.cloud.chronicle.v1.AzureMDMIntuneSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder + getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } + + public static final int TENANT_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object tenantId_ = ""; + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 2; + * + * @return The tenantId. + */ + @java.lang.Override + public java.lang.String getTenantId() { + java.lang.Object ref = tenantId_; + 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(); + tenantId_ = s; + return s; + } + } + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 2; + * + * @return The bytes for tenantId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTenantIdBytes() { + java.lang.Object ref = tenantId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tenantId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int HOSTNAME_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 3; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 3; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AUTH_ENDPOINT_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object authEndpoint_ = ""; + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 4; + * + * @return The authEndpoint. + */ + @java.lang.Override + public java.lang.String getAuthEndpoint() { + java.lang.Object ref = authEndpoint_; + 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(); + authEndpoint_ = s; + return s; + } + } + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 4; + * + * @return The bytes for authEndpoint. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAuthEndpointBytes() { + java.lang.Object ref = authEndpoint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + authEndpoint_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenantId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, tenantId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(authEndpoint_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, authEndpoint_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenantId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, tenantId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(authEndpoint_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, authEndpoint_); + } + 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.cloud.chronicle.v1.AzureMDMIntuneSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.AzureMDMIntuneSettings other = + (com.google.cloud.chronicle.v1.AzureMDMIntuneSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getTenantId().equals(other.getTenantId())) return false; + if (!getHostname().equals(other.getHostname())) return false; + if (!getAuthEndpoint().equals(other.getAuthEndpoint())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + TENANT_ID_FIELD_NUMBER; + hash = (53 * hash) + getTenantId().hashCode(); + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + hash = (37 * hash) + AUTH_ENDPOINT_FIELD_NUMBER; + hash = (53 * hash) + getAuthEndpoint().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.AzureMDMIntuneSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureMDMIntuneSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureMDMIntuneSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureMDMIntuneSettings 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.cloud.chronicle.v1.AzureMDMIntuneSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureMDMIntuneSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureMDMIntuneSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureMDMIntuneSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureMDMIntuneSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureMDMIntuneSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureMDMIntuneSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureMDMIntuneSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.AzureMDMIntuneSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Azure MDM Intune settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AzureMDMIntuneSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.AzureMDMIntuneSettings) + com.google.cloud.chronicle.v1.AzureMDMIntuneSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureMDMIntuneSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureMDMIntuneSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AzureMDMIntuneSettings.class, + com.google.cloud.chronicle.v1.AzureMDMIntuneSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.AzureMDMIntuneSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + tenantId_ = ""; + hostname_ = ""; + authEndpoint_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureMDMIntuneSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureMDMIntuneSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.AzureMDMIntuneSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureMDMIntuneSettings build() { + com.google.cloud.chronicle.v1.AzureMDMIntuneSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureMDMIntuneSettings buildPartial() { + com.google.cloud.chronicle.v1.AzureMDMIntuneSettings result = + new com.google.cloud.chronicle.v1.AzureMDMIntuneSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.AzureMDMIntuneSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.tenantId_ = tenantId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.hostname_ = hostname_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.authEndpoint_ = authEndpoint_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.AzureMDMIntuneSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.AzureMDMIntuneSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.AzureMDMIntuneSettings other) { + if (other == com.google.cloud.chronicle.v1.AzureMDMIntuneSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getTenantId().isEmpty()) { + tenantId_ = other.tenantId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getAuthEndpoint().isEmpty()) { + authEndpoint_ = other.authEndpoint_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + tenantId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + authEndpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication( + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials + .getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder + getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder + getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object tenantId_ = ""; + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 2; + * + * @return The tenantId. + */ + public java.lang.String getTenantId() { + java.lang.Object ref = tenantId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tenantId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 2; + * + * @return The bytes for tenantId. + */ + public com.google.protobuf.ByteString getTenantIdBytes() { + java.lang.Object ref = tenantId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tenantId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 2; + * + * @param value The tenantId to set. + * @return This builder for chaining. + */ + public Builder setTenantId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + tenantId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearTenantId() { + tenantId_ = getDefaultInstance().getTenantId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 2; + * + * @param value The bytes for tenantId to set. + * @return This builder for chaining. + */ + public Builder setTenantIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tenantId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 3; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 3; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 3; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 3; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 3; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object authEndpoint_ = ""; + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 4; + * + * @return The authEndpoint. + */ + public java.lang.String getAuthEndpoint() { + java.lang.Object ref = authEndpoint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + authEndpoint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 4; + * + * @return The bytes for authEndpoint. + */ + public com.google.protobuf.ByteString getAuthEndpointBytes() { + java.lang.Object ref = authEndpoint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + authEndpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 4; + * + * @param value The authEndpoint to set. + * @return This builder for chaining. + */ + public Builder setAuthEndpoint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + authEndpoint_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 4; + * + * @return This builder for chaining. + */ + public Builder clearAuthEndpoint() { + authEndpoint_ = getDefaultInstance().getAuthEndpoint(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 4; + * + * @param value The bytes for authEndpoint to set. + * @return This builder for chaining. + */ + public Builder setAuthEndpointBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + authEndpoint_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.AzureMDMIntuneSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.AzureMDMIntuneSettings) + private static final com.google.cloud.chronicle.v1.AzureMDMIntuneSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.AzureMDMIntuneSettings(); + } + + public static com.google.cloud.chronicle.v1.AzureMDMIntuneSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureMDMIntuneSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureMDMIntuneSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureMDMIntuneSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureMDMIntuneSettingsOrBuilder.java new file mode 100644 index 000000000000..b28425fb6152 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureMDMIntuneSettingsOrBuilder.java @@ -0,0 +1,150 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface AzureMDMIntuneSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.AzureMDMIntuneSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder + getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 2; + * + * @return The tenantId. + */ + java.lang.String getTenantId(); + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 2; + * + * @return The bytes for tenantId. + */ + com.google.protobuf.ByteString getTenantIdBytes(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 3; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 3; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 4; + * + * @return The authEndpoint. + */ + java.lang.String getAuthEndpoint(); + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 4; + * + * @return The bytes for authEndpoint. + */ + com.google.protobuf.ByteString getAuthEndpointBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureV2WorkloadIdentityFederation.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureV2WorkloadIdentityFederation.java new file mode 100644 index 000000000000..4be7228b8a94 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureV2WorkloadIdentityFederation.java @@ -0,0 +1,983 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Azure V2 Workload Identity Federation.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation} + */ +@com.google.protobuf.Generated +public final class AzureV2WorkloadIdentityFederation extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation) + AzureV2WorkloadIdentityFederationOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "AzureV2WorkloadIdentityFederation"); + } + + // Use AzureV2WorkloadIdentityFederation.newBuilder() to construct. + private AzureV2WorkloadIdentityFederation( + com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private AzureV2WorkloadIdentityFederation() { + clientId_ = ""; + tenantId_ = ""; + subjectId_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureV2WorkloadIdentityFederation_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureV2WorkloadIdentityFederation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation.class, + com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation.Builder.class); + } + + public static final int CLIENT_ID_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object clientId_ = ""; + + /** + * + * + *
+   * Required. OAuth client ID.
+   * 
+ * + * string client_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clientId. + */ + @java.lang.Override + public java.lang.String getClientId() { + java.lang.Object ref = clientId_; + 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(); + clientId_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. OAuth client ID.
+   * 
+ * + * string client_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clientId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getClientIdBytes() { + java.lang.Object ref = clientId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TENANT_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object tenantId_ = ""; + + /** + * + * + *
+   * Required. Tenant ID.
+   * 
+ * + * string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The tenantId. + */ + @java.lang.Override + public java.lang.String getTenantId() { + java.lang.Object ref = tenantId_; + 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(); + tenantId_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Tenant ID.
+   * 
+ * + * string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for tenantId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTenantIdBytes() { + java.lang.Object ref = tenantId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tenantId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SUBJECT_ID_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object subjectId_ = ""; + + /** + * + * + *
+   * Required. Subject ID of the Azure subscription.
+   * 
+ * + * string subject_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The subjectId. + */ + @java.lang.Override + public java.lang.String getSubjectId() { + java.lang.Object ref = subjectId_; + 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(); + subjectId_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Subject ID of the Azure subscription.
+   * 
+ * + * string subject_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for subjectId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSubjectIdBytes() { + java.lang.Object ref = subjectId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + subjectId_ = 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.GeneratedMessage.isStringEmpty(clientId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, clientId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenantId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, tenantId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subjectId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, subjectId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, clientId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenantId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, tenantId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subjectId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, subjectId_); + } + 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.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation other = + (com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation) obj; + + if (!getClientId().equals(other.getClientId())) return false; + if (!getTenantId().equals(other.getTenantId())) return false; + if (!getSubjectId().equals(other.getSubjectId())) 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_ID_FIELD_NUMBER; + hash = (53 * hash) + getClientId().hashCode(); + hash = (37 * hash) + TENANT_ID_FIELD_NUMBER; + hash = (53 * hash) + getTenantId().hashCode(); + hash = (37 * hash) + SUBJECT_ID_FIELD_NUMBER; + hash = (53 * hash) + getSubjectId().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation 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.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Azure V2 Workload Identity Federation.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation) + com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureV2WorkloadIdentityFederation_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureV2WorkloadIdentityFederation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation.class, + com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + clientId_ = ""; + tenantId_ = ""; + subjectId_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_AzureV2WorkloadIdentityFederation_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation + getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation build() { + com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation buildPartial() { + com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation result = + new com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.clientId_ = clientId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.tenantId_ = tenantId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.subjectId_ = subjectId_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation) { + return mergeFrom((com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation other) { + if (other + == com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation.getDefaultInstance()) + return this; + if (!other.getClientId().isEmpty()) { + clientId_ = other.clientId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getTenantId().isEmpty()) { + tenantId_ = other.tenantId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getSubjectId().isEmpty()) { + subjectId_ = other.subjectId_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + clientId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + tenantId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + subjectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object clientId_ = ""; + + /** + * + * + *
+     * Required. OAuth client ID.
+     * 
+ * + * string client_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clientId. + */ + public java.lang.String getClientId() { + java.lang.Object ref = clientId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. OAuth client ID.
+     * 
+ * + * string client_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clientId. + */ + public com.google.protobuf.ByteString getClientIdBytes() { + java.lang.Object ref = clientId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. OAuth client ID.
+     * 
+ * + * string client_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The clientId to set. + * @return This builder for chaining. + */ + public Builder setClientId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + clientId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. OAuth client ID.
+     * 
+ * + * string client_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearClientId() { + clientId_ = getDefaultInstance().getClientId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. OAuth client ID.
+     * 
+ * + * string client_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for clientId to set. + * @return This builder for chaining. + */ + public Builder setClientIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object tenantId_ = ""; + + /** + * + * + *
+     * Required. Tenant ID.
+     * 
+ * + * string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The tenantId. + */ + public java.lang.String getTenantId() { + java.lang.Object ref = tenantId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tenantId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Tenant ID.
+     * 
+ * + * string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for tenantId. + */ + public com.google.protobuf.ByteString getTenantIdBytes() { + java.lang.Object ref = tenantId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tenantId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Tenant ID.
+     * 
+ * + * string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The tenantId to set. + * @return This builder for chaining. + */ + public Builder setTenantId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + tenantId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Tenant ID.
+     * 
+ * + * string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearTenantId() { + tenantId_ = getDefaultInstance().getTenantId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Tenant ID.
+     * 
+ * + * string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for tenantId to set. + * @return This builder for chaining. + */ + public Builder setTenantIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tenantId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object subjectId_ = ""; + + /** + * + * + *
+     * Required. Subject ID of the Azure subscription.
+     * 
+ * + * string subject_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The subjectId. + */ + public java.lang.String getSubjectId() { + java.lang.Object ref = subjectId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + subjectId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Subject ID of the Azure subscription.
+     * 
+ * + * string subject_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for subjectId. + */ + public com.google.protobuf.ByteString getSubjectIdBytes() { + java.lang.Object ref = subjectId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + subjectId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Subject ID of the Azure subscription.
+     * 
+ * + * string subject_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The subjectId to set. + * @return This builder for chaining. + */ + public Builder setSubjectId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + subjectId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Subject ID of the Azure subscription.
+     * 
+ * + * string subject_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearSubjectId() { + subjectId_ = getDefaultInstance().getSubjectId(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Subject ID of the Azure subscription.
+     * 
+ * + * string subject_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for subjectId to set. + * @return This builder for chaining. + */ + public Builder setSubjectIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subjectId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation) + private static final com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation(); + } + + public static com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureV2WorkloadIdentityFederation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureV2WorkloadIdentityFederationOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureV2WorkloadIdentityFederationOrBuilder.java new file mode 100644 index 000000000000..4142cb8c891a --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/AzureV2WorkloadIdentityFederationOrBuilder.java @@ -0,0 +1,106 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface AzureV2WorkloadIdentityFederationOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.AzureV2WorkloadIdentityFederation) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. OAuth client ID.
+   * 
+ * + * string client_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clientId. + */ + java.lang.String getClientId(); + + /** + * + * + *
+   * Required. OAuth client ID.
+   * 
+ * + * string client_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clientId. + */ + com.google.protobuf.ByteString getClientIdBytes(); + + /** + * + * + *
+   * Required. Tenant ID.
+   * 
+ * + * string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The tenantId. + */ + java.lang.String getTenantId(); + + /** + * + * + *
+   * Required. Tenant ID.
+   * 
+ * + * string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for tenantId. + */ + com.google.protobuf.ByteString getTenantIdBytes(); + + /** + * + * + *
+   * Required. Subject ID of the Azure subscription.
+   * 
+ * + * string subject_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The subjectId. + */ + java.lang.String getSubjectId(); + + /** + * + * + *
+   * Required. Subject ID of the Azure subscription.
+   * 
+ * + * string subject_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for subjectId. + */ + com.google.protobuf.ByteString getSubjectIdBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/Claims.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/Claims.java new file mode 100644 index 000000000000..8870633620f9 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/Claims.java @@ -0,0 +1,970 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Claims identifying a specific customer.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.Claims} + */ +@com.google.protobuf.Generated +public final class Claims extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.Claims) + ClaimsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "Claims"); + } + + // Use Claims.newBuilder() to construct. + private Claims(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private Claims() { + issuer_ = ""; + subject_ = ""; + audience_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_Claims_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_Claims_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.Claims.class, + com.google.cloud.chronicle.v1.Claims.Builder.class); + } + + public static final int ISSUER_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object issuer_ = ""; + + /** + * + * + *
+   * Issuer. Usually the client_id.
+   * 
+ * + * string issuer = 1; + * + * @return The issuer. + */ + @java.lang.Override + public java.lang.String getIssuer() { + java.lang.Object ref = issuer_; + 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(); + issuer_ = s; + return s; + } + } + + /** + * + * + *
+   * Issuer. Usually the client_id.
+   * 
+ * + * string issuer = 1; + * + * @return The bytes for issuer. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIssuerBytes() { + java.lang.Object ref = issuer_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + issuer_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SUBJECT_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object subject_ = ""; + + /** + * + * + *
+   * Subject. Usually the email.
+   * 
+ * + * string subject = 2; + * + * @return The subject. + */ + @java.lang.Override + public java.lang.String getSubject() { + java.lang.Object ref = subject_; + 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(); + subject_ = s; + return s; + } + } + + /** + * + * + *
+   * Subject. Usually the email.
+   * 
+ * + * string subject = 2; + * + * @return The bytes for subject. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSubjectBytes() { + java.lang.Object ref = subject_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + subject_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AUDIENCE_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object audience_ = ""; + + /** + * + * + *
+   * Audience.
+   * 
+ * + * string audience = 3; + * + * @return The audience. + */ + @java.lang.Override + public java.lang.String getAudience() { + java.lang.Object ref = audience_; + 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(); + audience_ = s; + return s; + } + } + + /** + * + * + *
+   * Audience.
+   * 
+ * + * string audience = 3; + * + * @return The bytes for audience. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAudienceBytes() { + java.lang.Object ref = audience_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + audience_ = 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.GeneratedMessage.isStringEmpty(issuer_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, issuer_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subject_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, subject_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(audience_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, audience_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(issuer_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, issuer_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subject_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, subject_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(audience_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, audience_); + } + 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.cloud.chronicle.v1.Claims)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.Claims other = (com.google.cloud.chronicle.v1.Claims) obj; + + if (!getIssuer().equals(other.getIssuer())) return false; + if (!getSubject().equals(other.getSubject())) return false; + if (!getAudience().equals(other.getAudience())) 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) + ISSUER_FIELD_NUMBER; + hash = (53 * hash) + getIssuer().hashCode(); + hash = (37 * hash) + SUBJECT_FIELD_NUMBER; + hash = (53 * hash) + getSubject().hashCode(); + hash = (37 * hash) + AUDIENCE_FIELD_NUMBER; + hash = (53 * hash) + getAudience().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.Claims parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.Claims parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.Claims parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.Claims 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.cloud.chronicle.v1.Claims parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.Claims parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.Claims parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.Claims parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.Claims parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.Claims parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.Claims parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.Claims parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.Claims 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Claims identifying a specific customer.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.Claims} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.Claims) + com.google.cloud.chronicle.v1.ClaimsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_Claims_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_Claims_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.Claims.class, + com.google.cloud.chronicle.v1.Claims.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.Claims.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + issuer_ = ""; + subject_ = ""; + audience_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_Claims_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.Claims getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.Claims.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.Claims build() { + com.google.cloud.chronicle.v1.Claims result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.Claims buildPartial() { + com.google.cloud.chronicle.v1.Claims result = new com.google.cloud.chronicle.v1.Claims(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.Claims result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.issuer_ = issuer_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.subject_ = subject_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.audience_ = audience_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.Claims) { + return mergeFrom((com.google.cloud.chronicle.v1.Claims) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.Claims other) { + if (other == com.google.cloud.chronicle.v1.Claims.getDefaultInstance()) return this; + if (!other.getIssuer().isEmpty()) { + issuer_ = other.issuer_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSubject().isEmpty()) { + subject_ = other.subject_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getAudience().isEmpty()) { + audience_ = other.audience_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + issuer_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + subject_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + audience_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object issuer_ = ""; + + /** + * + * + *
+     * Issuer. Usually the client_id.
+     * 
+ * + * string issuer = 1; + * + * @return The issuer. + */ + public java.lang.String getIssuer() { + java.lang.Object ref = issuer_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + issuer_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Issuer. Usually the client_id.
+     * 
+ * + * string issuer = 1; + * + * @return The bytes for issuer. + */ + public com.google.protobuf.ByteString getIssuerBytes() { + java.lang.Object ref = issuer_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + issuer_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Issuer. Usually the client_id.
+     * 
+ * + * string issuer = 1; + * + * @param value The issuer to set. + * @return This builder for chaining. + */ + public Builder setIssuer(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + issuer_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Issuer. Usually the client_id.
+     * 
+ * + * string issuer = 1; + * + * @return This builder for chaining. + */ + public Builder clearIssuer() { + issuer_ = getDefaultInstance().getIssuer(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Issuer. Usually the client_id.
+     * 
+ * + * string issuer = 1; + * + * @param value The bytes for issuer to set. + * @return This builder for chaining. + */ + public Builder setIssuerBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + issuer_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object subject_ = ""; + + /** + * + * + *
+     * Subject. Usually the email.
+     * 
+ * + * string subject = 2; + * + * @return The subject. + */ + public java.lang.String getSubject() { + java.lang.Object ref = subject_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + subject_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Subject. Usually the email.
+     * 
+ * + * string subject = 2; + * + * @return The bytes for subject. + */ + public com.google.protobuf.ByteString getSubjectBytes() { + java.lang.Object ref = subject_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + subject_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Subject. Usually the email.
+     * 
+ * + * string subject = 2; + * + * @param value The subject to set. + * @return This builder for chaining. + */ + public Builder setSubject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + subject_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Subject. Usually the email.
+     * 
+ * + * string subject = 2; + * + * @return This builder for chaining. + */ + public Builder clearSubject() { + subject_ = getDefaultInstance().getSubject(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Subject. Usually the email.
+     * 
+ * + * string subject = 2; + * + * @param value The bytes for subject to set. + * @return This builder for chaining. + */ + public Builder setSubjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subject_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object audience_ = ""; + + /** + * + * + *
+     * Audience.
+     * 
+ * + * string audience = 3; + * + * @return The audience. + */ + public java.lang.String getAudience() { + java.lang.Object ref = audience_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + audience_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Audience.
+     * 
+ * + * string audience = 3; + * + * @return The bytes for audience. + */ + public com.google.protobuf.ByteString getAudienceBytes() { + java.lang.Object ref = audience_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + audience_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Audience.
+     * 
+ * + * string audience = 3; + * + * @param value The audience to set. + * @return This builder for chaining. + */ + public Builder setAudience(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + audience_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Audience.
+     * 
+ * + * string audience = 3; + * + * @return This builder for chaining. + */ + public Builder clearAudience() { + audience_ = getDefaultInstance().getAudience(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Audience.
+     * 
+ * + * string audience = 3; + * + * @param value The bytes for audience to set. + * @return This builder for chaining. + */ + public Builder setAudienceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + audience_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.Claims) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.Claims) + private static final com.google.cloud.chronicle.v1.Claims DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.Claims(); + } + + public static com.google.cloud.chronicle.v1.Claims getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Claims parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.Claims getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ClaimsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ClaimsOrBuilder.java new file mode 100644 index 000000000000..f98a5b8a8693 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ClaimsOrBuilder.java @@ -0,0 +1,106 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface ClaimsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.Claims) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Issuer. Usually the client_id.
+   * 
+ * + * string issuer = 1; + * + * @return The issuer. + */ + java.lang.String getIssuer(); + + /** + * + * + *
+   * Issuer. Usually the client_id.
+   * 
+ * + * string issuer = 1; + * + * @return The bytes for issuer. + */ + com.google.protobuf.ByteString getIssuerBytes(); + + /** + * + * + *
+   * Subject. Usually the email.
+   * 
+ * + * string subject = 2; + * + * @return The subject. + */ + java.lang.String getSubject(); + + /** + * + * + *
+   * Subject. Usually the email.
+   * 
+ * + * string subject = 2; + * + * @return The bytes for subject. + */ + com.google.protobuf.ByteString getSubjectBytes(); + + /** + * + * + *
+   * Audience.
+   * 
+ * + * string audience = 3; + * + * @return The audience. + */ + java.lang.String getAudience(); + + /** + * + * + *
+   * Audience.
+   * 
+ * + * string audience = 3; + * + * @return The bytes for audience. + */ + com.google.protobuf.ByteString getAudienceBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CloudPassageSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CloudPassageSettings.java new file mode 100644 index 000000000000..b2bac7f7cd30 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CloudPassageSettings.java @@ -0,0 +1,1016 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * CloudPassage settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CloudPassageSettings} + */ +@com.google.protobuf.Generated +public final class CloudPassageSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.CloudPassageSettings) + CloudPassageSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "CloudPassageSettings"); + } + + // Use CloudPassageSettings.newBuilder() to construct. + private CloudPassageSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private CloudPassageSettings() { + eventTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CloudPassageSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CloudPassageSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CloudPassageSettings.class, + com.google.cloud.chronicle.v1.CloudPassageSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + public static final int EVENT_TYPES_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList eventTypes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + /** + * + * + *
+   * Event types filter for the events API.
+   * 
+ * + * repeated string event_types = 2; + * + * @return A list containing the eventTypes. + */ + public com.google.protobuf.ProtocolStringList getEventTypesList() { + return eventTypes_; + } + + /** + * + * + *
+   * Event types filter for the events API.
+   * 
+ * + * repeated string event_types = 2; + * + * @return The count of eventTypes. + */ + public int getEventTypesCount() { + return eventTypes_.size(); + } + + /** + * + * + *
+   * Event types filter for the events API.
+   * 
+ * + * repeated string event_types = 2; + * + * @param index The index of the element to return. + * @return The eventTypes at the given index. + */ + public java.lang.String getEventTypes(int index) { + return eventTypes_.get(index); + } + + /** + * + * + *
+   * Event types filter for the events API.
+   * 
+ * + * repeated string event_types = 2; + * + * @param index The index of the value to return. + * @return The bytes of the eventTypes at the given index. + */ + public com.google.protobuf.ByteString getEventTypesBytes(int index) { + return eventTypes_.getByteString(index); + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + for (int i = 0; i < eventTypes_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, eventTypes_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + { + int dataSize = 0; + for (int i = 0; i < eventTypes_.size(); i++) { + dataSize += computeStringSizeNoTag(eventTypes_.getRaw(i)); + } + size += dataSize; + size += 1 * getEventTypesList().size(); + } + 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.cloud.chronicle.v1.CloudPassageSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.CloudPassageSettings other = + (com.google.cloud.chronicle.v1.CloudPassageSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getEventTypesList().equals(other.getEventTypesList())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + if (getEventTypesCount() > 0) { + hash = (37 * hash) + EVENT_TYPES_FIELD_NUMBER; + hash = (53 * hash) + getEventTypesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.CloudPassageSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CloudPassageSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CloudPassageSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CloudPassageSettings 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.cloud.chronicle.v1.CloudPassageSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CloudPassageSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CloudPassageSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CloudPassageSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CloudPassageSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CloudPassageSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CloudPassageSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CloudPassageSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.CloudPassageSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * CloudPassage settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CloudPassageSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.CloudPassageSettings) + com.google.cloud.chronicle.v1.CloudPassageSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CloudPassageSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CloudPassageSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CloudPassageSettings.class, + com.google.cloud.chronicle.v1.CloudPassageSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.CloudPassageSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + eventTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CloudPassageSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CloudPassageSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.CloudPassageSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CloudPassageSettings build() { + com.google.cloud.chronicle.v1.CloudPassageSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CloudPassageSettings buildPartial() { + com.google.cloud.chronicle.v1.CloudPassageSettings result = + new com.google.cloud.chronicle.v1.CloudPassageSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.CloudPassageSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + eventTypes_.makeImmutable(); + result.eventTypes_ = eventTypes_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.CloudPassageSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.CloudPassageSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.CloudPassageSettings other) { + if (other == com.google.cloud.chronicle.v1.CloudPassageSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.eventTypes_.isEmpty()) { + if (eventTypes_.isEmpty()) { + eventTypes_ = other.eventTypes_; + bitField0_ |= 0x00000002; + } else { + ensureEventTypesIsMutable(); + eventTypes_.addAll(other.eventTypes_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureEventTypesIsMutable(); + eventTypes_.add(s); + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private com.google.protobuf.LazyStringArrayList eventTypes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureEventTypesIsMutable() { + if (!eventTypes_.isModifiable()) { + eventTypes_ = new com.google.protobuf.LazyStringArrayList(eventTypes_); + } + bitField0_ |= 0x00000002; + } + + /** + * + * + *
+     * Event types filter for the events API.
+     * 
+ * + * repeated string event_types = 2; + * + * @return A list containing the eventTypes. + */ + public com.google.protobuf.ProtocolStringList getEventTypesList() { + eventTypes_.makeImmutable(); + return eventTypes_; + } + + /** + * + * + *
+     * Event types filter for the events API.
+     * 
+ * + * repeated string event_types = 2; + * + * @return The count of eventTypes. + */ + public int getEventTypesCount() { + return eventTypes_.size(); + } + + /** + * + * + *
+     * Event types filter for the events API.
+     * 
+ * + * repeated string event_types = 2; + * + * @param index The index of the element to return. + * @return The eventTypes at the given index. + */ + public java.lang.String getEventTypes(int index) { + return eventTypes_.get(index); + } + + /** + * + * + *
+     * Event types filter for the events API.
+     * 
+ * + * repeated string event_types = 2; + * + * @param index The index of the value to return. + * @return The bytes of the eventTypes at the given index. + */ + public com.google.protobuf.ByteString getEventTypesBytes(int index) { + return eventTypes_.getByteString(index); + } + + /** + * + * + *
+     * Event types filter for the events API.
+     * 
+ * + * repeated string event_types = 2; + * + * @param index The index to set the value at. + * @param value The eventTypes to set. + * @return This builder for chaining. + */ + public Builder setEventTypes(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureEventTypesIsMutable(); + eventTypes_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Event types filter for the events API.
+     * 
+ * + * repeated string event_types = 2; + * + * @param value The eventTypes to add. + * @return This builder for chaining. + */ + public Builder addEventTypes(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureEventTypesIsMutable(); + eventTypes_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Event types filter for the events API.
+     * 
+ * + * repeated string event_types = 2; + * + * @param values The eventTypes to add. + * @return This builder for chaining. + */ + public Builder addAllEventTypes(java.lang.Iterable values) { + ensureEventTypesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, eventTypes_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Event types filter for the events API.
+     * 
+ * + * repeated string event_types = 2; + * + * @return This builder for chaining. + */ + public Builder clearEventTypes() { + eventTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; + onChanged(); + return this; + } + + /** + * + * + *
+     * Event types filter for the events API.
+     * 
+ * + * repeated string event_types = 2; + * + * @param value The bytes of the eventTypes to add. + * @return This builder for chaining. + */ + public Builder addEventTypesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureEventTypesIsMutable(); + eventTypes_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.CloudPassageSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.CloudPassageSettings) + private static final com.google.cloud.chronicle.v1.CloudPassageSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.CloudPassageSettings(); + } + + public static com.google.cloud.chronicle.v1.CloudPassageSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudPassageSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CloudPassageSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CloudPassageSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CloudPassageSettingsOrBuilder.java new file mode 100644 index 000000000000..50581688ddc6 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CloudPassageSettingsOrBuilder.java @@ -0,0 +1,125 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface CloudPassageSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.CloudPassageSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Event types filter for the events API.
+   * 
+ * + * repeated string event_types = 2; + * + * @return A list containing the eventTypes. + */ + java.util.List getEventTypesList(); + + /** + * + * + *
+   * Event types filter for the events API.
+   * 
+ * + * repeated string event_types = 2; + * + * @return The count of eventTypes. + */ + int getEventTypesCount(); + + /** + * + * + *
+   * Event types filter for the events API.
+   * 
+ * + * repeated string event_types = 2; + * + * @param index The index of the element to return. + * @return The eventTypes at the given index. + */ + java.lang.String getEventTypes(int index); + + /** + * + * + *
+   * Event types filter for the events API.
+   * 
+ * + * repeated string event_types = 2; + * + * @param index The index of the value to return. + * @return The bytes of the eventTypes at the given index. + */ + com.google.protobuf.ByteString getEventTypesBytes(int index); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CortexXDRSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CortexXDRSettings.java new file mode 100644 index 000000000000..5b5b6050cfbe --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CortexXDRSettings.java @@ -0,0 +1,1104 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * PAN Cortex XDR settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CortexXDRSettings} + */ +@com.google.protobuf.Generated +public final class CortexXDRSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.CortexXDRSettings) + CortexXDRSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "CortexXDRSettings"); + } + + // Use CortexXDRSettings.newBuilder() to construct. + private CortexXDRSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private CortexXDRSettings() { + hostname_ = ""; + endpoint_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CortexXDRSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CortexXDRSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CortexXDRSettings.class, + com.google.cloud.chronicle.v1.CortexXDRSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + public static final int HOSTNAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ENDPOINT_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object endpoint_ = ""; + + /** + * + * + *
+   * API Endpoint.
+   * 
+ * + * string endpoint = 3; + * + * @return The endpoint. + */ + @java.lang.Override + public java.lang.String getEndpoint() { + java.lang.Object ref = endpoint_; + 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(); + endpoint_ = s; + return s; + } + } + + /** + * + * + *
+   * API Endpoint.
+   * 
+ * + * string endpoint = 3; + * + * @return The bytes for endpoint. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEndpointBytes() { + java.lang.Object ref = endpoint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + endpoint_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(endpoint_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, endpoint_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(endpoint_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, endpoint_); + } + 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.cloud.chronicle.v1.CortexXDRSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.CortexXDRSettings other = + (com.google.cloud.chronicle.v1.CortexXDRSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getHostname().equals(other.getHostname())) return false; + if (!getEndpoint().equals(other.getEndpoint())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + hash = (37 * hash) + ENDPOINT_FIELD_NUMBER; + hash = (53 * hash) + getEndpoint().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.CortexXDRSettings parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CortexXDRSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CortexXDRSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CortexXDRSettings 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.cloud.chronicle.v1.CortexXDRSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CortexXDRSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CortexXDRSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CortexXDRSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CortexXDRSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CortexXDRSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CortexXDRSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CortexXDRSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.CortexXDRSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * PAN Cortex XDR settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CortexXDRSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.CortexXDRSettings) + com.google.cloud.chronicle.v1.CortexXDRSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CortexXDRSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CortexXDRSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CortexXDRSettings.class, + com.google.cloud.chronicle.v1.CortexXDRSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.CortexXDRSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + hostname_ = ""; + endpoint_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CortexXDRSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CortexXDRSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.CortexXDRSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CortexXDRSettings build() { + com.google.cloud.chronicle.v1.CortexXDRSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CortexXDRSettings buildPartial() { + com.google.cloud.chronicle.v1.CortexXDRSettings result = + new com.google.cloud.chronicle.v1.CortexXDRSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.CortexXDRSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.hostname_ = hostname_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.endpoint_ = endpoint_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.CortexXDRSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.CortexXDRSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.CortexXDRSettings other) { + if (other == com.google.cloud.chronicle.v1.CortexXDRSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getEndpoint().isEmpty()) { + endpoint_ = other.endpoint_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + endpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object endpoint_ = ""; + + /** + * + * + *
+     * API Endpoint.
+     * 
+ * + * string endpoint = 3; + * + * @return The endpoint. + */ + public java.lang.String getEndpoint() { + java.lang.Object ref = endpoint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + endpoint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Endpoint.
+     * 
+ * + * string endpoint = 3; + * + * @return The bytes for endpoint. + */ + public com.google.protobuf.ByteString getEndpointBytes() { + java.lang.Object ref = endpoint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + endpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Endpoint.
+     * 
+ * + * string endpoint = 3; + * + * @param value The endpoint to set. + * @return This builder for chaining. + */ + public Builder setEndpoint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + endpoint_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Endpoint.
+     * 
+ * + * string endpoint = 3; + * + * @return This builder for chaining. + */ + public Builder clearEndpoint() { + endpoint_ = getDefaultInstance().getEndpoint(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Endpoint.
+     * 
+ * + * string endpoint = 3; + * + * @param value The bytes for endpoint to set. + * @return This builder for chaining. + */ + public Builder setEndpointBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endpoint_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.CortexXDRSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.CortexXDRSettings) + private static final com.google.cloud.chronicle.v1.CortexXDRSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.CortexXDRSettings(); + } + + public static com.google.cloud.chronicle.v1.CortexXDRSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CortexXDRSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CortexXDRSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CortexXDRSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CortexXDRSettingsOrBuilder.java new file mode 100644 index 000000000000..6d686c4ea869 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CortexXDRSettingsOrBuilder.java @@ -0,0 +1,123 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface CortexXDRSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.CortexXDRSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); + + /** + * + * + *
+   * API Endpoint.
+   * 
+ * + * string endpoint = 3; + * + * @return The endpoint. + */ + java.lang.String getEndpoint(); + + /** + * + * + *
+   * API Endpoint.
+   * 
+ * + * string endpoint = 3; + * + * @return The bytes for endpoint. + */ + com.google.protobuf.ByteString getEndpointBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CreateFeedRequest.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CreateFeedRequest.java new file mode 100644 index 000000000000..f9a45f84e189 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CreateFeedRequest.java @@ -0,0 +1,912 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Request message for CreateFeed.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CreateFeedRequest} + */ +@com.google.protobuf.Generated +public final class CreateFeedRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.CreateFeedRequest) + CreateFeedRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "CreateFeedRequest"); + } + + // Use CreateFeedRequest.newBuilder() to construct. + private CreateFeedRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private CreateFeedRequest() { + parent_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CreateFeedRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CreateFeedRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CreateFeedRequest.class, + com.google.cloud.chronicle.v1.CreateFeedRequest.Builder.class); + } + + private int bitField0_; + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + + /** + * + * + *
+   * Required. The parent resource where this Feed will be created.
+   * Format: projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + 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(); + parent_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. The parent resource where this Feed will be created.
+   * Format: projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FEED_FIELD_NUMBER = 2; + private com.google.cloud.chronicle.v1.Feed feed_; + + /** + * + * + *
+   * Required. Feed to create.
+   * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the feed field is set. + */ + @java.lang.Override + public boolean hasFeed() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Required. Feed to create.
+   * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The feed. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.Feed getFeed() { + return feed_ == null ? com.google.cloud.chronicle.v1.Feed.getDefaultInstance() : feed_; + } + + /** + * + * + *
+   * Required. Feed to create.
+   * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedOrBuilder getFeedOrBuilder() { + return feed_ == null ? com.google.cloud.chronicle.v1.Feed.getDefaultInstance() : feed_; + } + + 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.GeneratedMessage.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(2, getFeed()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFeed()); + } + 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.cloud.chronicle.v1.CreateFeedRequest)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.CreateFeedRequest other = + (com.google.cloud.chronicle.v1.CreateFeedRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (hasFeed() != other.hasFeed()) return false; + if (hasFeed()) { + if (!getFeed().equals(other.getFeed())) 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) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + if (hasFeed()) { + hash = (37 * hash) + FEED_FIELD_NUMBER; + hash = (53 * hash) + getFeed().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.CreateFeedRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CreateFeedRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CreateFeedRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CreateFeedRequest 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.cloud.chronicle.v1.CreateFeedRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CreateFeedRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CreateFeedRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CreateFeedRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CreateFeedRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CreateFeedRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CreateFeedRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CreateFeedRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.CreateFeedRequest 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Request message for CreateFeed.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CreateFeedRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.CreateFeedRequest) + com.google.cloud.chronicle.v1.CreateFeedRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CreateFeedRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CreateFeedRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CreateFeedRequest.class, + com.google.cloud.chronicle.v1.CreateFeedRequest.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.CreateFeedRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetFeedFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + feed_ = null; + if (feedBuilder_ != null) { + feedBuilder_.dispose(); + feedBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CreateFeedRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CreateFeedRequest getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.CreateFeedRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CreateFeedRequest build() { + com.google.cloud.chronicle.v1.CreateFeedRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CreateFeedRequest buildPartial() { + com.google.cloud.chronicle.v1.CreateFeedRequest result = + new com.google.cloud.chronicle.v1.CreateFeedRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.CreateFeedRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.feed_ = feedBuilder_ == null ? feed_ : feedBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.CreateFeedRequest) { + return mergeFrom((com.google.cloud.chronicle.v1.CreateFeedRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.CreateFeedRequest other) { + if (other == com.google.cloud.chronicle.v1.CreateFeedRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasFeed()) { + mergeFeed(other.getFeed()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(internalGetFeedFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object parent_ = ""; + + /** + * + * + *
+     * Required. The parent resource where this Feed will be created.
+     * Format: projects/{project}/locations/{location}/instances/{instance}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. The parent resource where this Feed will be created.
+     * Format: projects/{project}/locations/{location}/instances/{instance}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. The parent resource where this Feed will be created.
+     * Format: projects/{project}/locations/{location}/instances/{instance}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The parent resource where this Feed will be created.
+     * Format: projects/{project}/locations/{location}/instances/{instance}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + parent_ = getDefaultInstance().getParent(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The parent resource where this Feed will be created.
+     * Format: projects/{project}/locations/{location}/instances/{instance}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.cloud.chronicle.v1.Feed feed_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.Feed, + com.google.cloud.chronicle.v1.Feed.Builder, + com.google.cloud.chronicle.v1.FeedOrBuilder> + feedBuilder_; + + /** + * + * + *
+     * Required. Feed to create.
+     * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the feed field is set. + */ + public boolean hasFeed() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+     * Required. Feed to create.
+     * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The feed. + */ + public com.google.cloud.chronicle.v1.Feed getFeed() { + if (feedBuilder_ == null) { + return feed_ == null ? com.google.cloud.chronicle.v1.Feed.getDefaultInstance() : feed_; + } else { + return feedBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Required. Feed to create.
+     * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFeed(com.google.cloud.chronicle.v1.Feed value) { + if (feedBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + feed_ = value; + } else { + feedBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Feed to create.
+     * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFeed(com.google.cloud.chronicle.v1.Feed.Builder builderForValue) { + if (feedBuilder_ == null) { + feed_ = builderForValue.build(); + } else { + feedBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Feed to create.
+     * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeFeed(com.google.cloud.chronicle.v1.Feed value) { + if (feedBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && feed_ != null + && feed_ != com.google.cloud.chronicle.v1.Feed.getDefaultInstance()) { + getFeedBuilder().mergeFrom(value); + } else { + feed_ = value; + } + } else { + feedBuilder_.mergeFrom(value); + } + if (feed_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Required. Feed to create.
+     * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearFeed() { + bitField0_ = (bitField0_ & ~0x00000002); + feed_ = null; + if (feedBuilder_ != null) { + feedBuilder_.dispose(); + feedBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Feed to create.
+     * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.Feed.Builder getFeedBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return internalGetFeedFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Required. Feed to create.
+     * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.FeedOrBuilder getFeedOrBuilder() { + if (feedBuilder_ != null) { + return feedBuilder_.getMessageOrBuilder(); + } else { + return feed_ == null ? com.google.cloud.chronicle.v1.Feed.getDefaultInstance() : feed_; + } + } + + /** + * + * + *
+     * Required. Feed to create.
+     * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.Feed, + com.google.cloud.chronicle.v1.Feed.Builder, + com.google.cloud.chronicle.v1.FeedOrBuilder> + internalGetFeedFieldBuilder() { + if (feedBuilder_ == null) { + feedBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.Feed, + com.google.cloud.chronicle.v1.Feed.Builder, + com.google.cloud.chronicle.v1.FeedOrBuilder>( + getFeed(), getParentForChildren(), isClean()); + feed_ = null; + } + return feedBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.CreateFeedRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.CreateFeedRequest) + private static final com.google.cloud.chronicle.v1.CreateFeedRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.CreateFeedRequest(); + } + + public static com.google.cloud.chronicle.v1.CreateFeedRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CreateFeedRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CreateFeedRequestOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CreateFeedRequestOrBuilder.java new file mode 100644 index 000000000000..081be396f61a --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CreateFeedRequestOrBuilder.java @@ -0,0 +1,100 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface CreateFeedRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.CreateFeedRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The parent resource where this Feed will be created.
+   * Format: projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + + /** + * + * + *
+   * Required. The parent resource where this Feed will be created.
+   * Format: projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. Feed to create.
+   * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the feed field is set. + */ + boolean hasFeed(); + + /** + * + * + *
+   * Required. Feed to create.
+   * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The feed. + */ + com.google.cloud.chronicle.v1.Feed getFeed(); + + /** + * + * + *
+   * Required. Feed to create.
+   * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.chronicle.v1.FeedOrBuilder getFeedOrBuilder(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CrowdStrikeAlertsSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CrowdStrikeAlertsSettings.java new file mode 100644 index 000000000000..0b1166dfdba7 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CrowdStrikeAlertsSettings.java @@ -0,0 +1,1272 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * CrowdStrike Alerts settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CrowdStrikeAlertsSettings} + */ +@com.google.protobuf.Generated +public final class CrowdStrikeAlertsSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.CrowdStrikeAlertsSettings) + CrowdStrikeAlertsSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "CrowdStrikeAlertsSettings"); + } + + // Use CrowdStrikeAlertsSettings.newBuilder() to construct. + private CrowdStrikeAlertsSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private CrowdStrikeAlertsSettings() { + hostname_ = ""; + ingestionType_ = 0; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CrowdStrikeAlertsSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CrowdStrikeAlertsSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.class, + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.Builder.class); + } + + /** + * + * + *
+   * Ingestion Type.
+   * 
+ * + * Protobuf enum {@code google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.IngestionType} + */ + public enum IngestionType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * For the feeds in which this field is not set
+     * 
+ * + * INGESTION_TYPE_UNSPECIFIED = 0; + */ + INGESTION_TYPE_UNSPECIFIED(0), + /** + * + * + *
+     * Ingests both new as well as old alerts which are updated
+     * 
+ * + * BRING_ALL_ALERTS = 1; + */ + BRING_ALL_ALERTS(1), + /** + * + * + *
+     * Ingests only new alerts to be ingested.
+     * 
+ * + * BRING_ONLY_NEW_ALERTS = 2; + */ + BRING_ONLY_NEW_ALERTS(2), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "IngestionType"); + } + + /** + * + * + *
+     * For the feeds in which this field is not set
+     * 
+ * + * INGESTION_TYPE_UNSPECIFIED = 0; + */ + public static final int INGESTION_TYPE_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
+     * Ingests both new as well as old alerts which are updated
+     * 
+ * + * BRING_ALL_ALERTS = 1; + */ + public static final int BRING_ALL_ALERTS_VALUE = 1; + + /** + * + * + *
+     * Ingests only new alerts to be ingested.
+     * 
+ * + * BRING_ONLY_NEW_ALERTS = 2; + */ + public static final int BRING_ONLY_NEW_ALERTS_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static IngestionType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static IngestionType forNumber(int value) { + switch (value) { + case 0: + return INGESTION_TYPE_UNSPECIFIED; + case 1: + return BRING_ALL_ALERTS; + case 2: + return BRING_ONLY_NEW_ALERTS; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public IngestionType findValueByNumber(int number) { + return IngestionType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final IngestionType[] VALUES = values(); + + public static IngestionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private IngestionType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.IngestionType) + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.OAuthClientCredentials authentication_; + + /** + * + * + *
+   * Required. OAuthClientCredentials.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Required. OAuthClientCredentials.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthClientCredentials getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthClientCredentials.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Required. OAuthClientCredentials.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthClientCredentialsOrBuilder + getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthClientCredentials.getDefaultInstance() + : authentication_; + } + + public static final int HOSTNAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * Required. API Hostname.
+   * 
+ * + * string hostname = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. API Hostname.
+   * 
+ * + * string hostname = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INGESTION_TYPE_FIELD_NUMBER = 3; + private int ingestionType_ = 0; + + /** + * + * + *
+   * Optional. Ingestion Type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.IngestionType ingestion_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for ingestionType. + */ + @java.lang.Override + public int getIngestionTypeValue() { + return ingestionType_; + } + + /** + * + * + *
+   * Optional. Ingestion Type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.IngestionType ingestion_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The ingestionType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.IngestionType getIngestionType() { + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.IngestionType result = + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.IngestionType.forNumber( + ingestionType_); + return result == null + ? com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.IngestionType.UNRECOGNIZED + : result; + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, hostname_); + } + if (ingestionType_ + != com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.IngestionType + .INGESTION_TYPE_UNSPECIFIED + .getNumber()) { + output.writeEnum(3, ingestionType_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, hostname_); + } + if (ingestionType_ + != com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.IngestionType + .INGESTION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, ingestionType_); + } + 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.cloud.chronicle.v1.CrowdStrikeAlertsSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings other = + (com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getHostname().equals(other.getHostname())) return false; + if (ingestionType_ != other.ingestionType_) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + hash = (37 * hash) + INGESTION_TYPE_FIELD_NUMBER; + hash = (53 * hash) + ingestionType_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings 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.cloud.chronicle.v1.CrowdStrikeAlertsSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.CrowdStrikeAlertsSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * CrowdStrike Alerts settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CrowdStrikeAlertsSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.CrowdStrikeAlertsSettings) + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CrowdStrikeAlertsSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CrowdStrikeAlertsSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.class, + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + hostname_ = ""; + ingestionType_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CrowdStrikeAlertsSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings build() { + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings buildPartial() { + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings result = + new com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.hostname_ = hostname_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.ingestionType_ = ingestionType_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings other) { + if (other == com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.ingestionType_ != 0) { + setIngestionTypeValue(other.getIngestionTypeValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + ingestionType_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.OAuthClientCredentials authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthClientCredentials, + com.google.cloud.chronicle.v1.OAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthClientCredentialsOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Required. OAuthClientCredentials.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Required. OAuthClientCredentials.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.OAuthClientCredentials getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthClientCredentials.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Required. OAuthClientCredentials.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.OAuthClientCredentials value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. OAuthClientCredentials.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.OAuthClientCredentials.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. OAuthClientCredentials.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.OAuthClientCredentials value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.OAuthClientCredentials.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Required. OAuthClientCredentials.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. OAuthClientCredentials.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.OAuthClientCredentials.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Required. OAuthClientCredentials.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.OAuthClientCredentialsOrBuilder + getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthClientCredentials.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Required. OAuthClientCredentials.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthClientCredentials, + com.google.cloud.chronicle.v1.OAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthClientCredentialsOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthClientCredentials, + com.google.cloud.chronicle.v1.OAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthClientCredentialsOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * Required. API Hostname.
+     * 
+ * + * string hostname = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. API Hostname.
+     * 
+ * + * string hostname = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. API Hostname.
+     * 
+ * + * string hostname = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. API Hostname.
+     * 
+ * + * string hostname = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. API Hostname.
+     * 
+ * + * string hostname = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int ingestionType_ = 0; + + /** + * + * + *
+     * Optional. Ingestion Type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.IngestionType ingestion_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for ingestionType. + */ + @java.lang.Override + public int getIngestionTypeValue() { + return ingestionType_; + } + + /** + * + * + *
+     * Optional. Ingestion Type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.IngestionType ingestion_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The enum numeric value on the wire for ingestionType to set. + * @return This builder for chaining. + */ + public Builder setIngestionTypeValue(int value) { + ingestionType_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Ingestion Type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.IngestionType ingestion_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The ingestionType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.IngestionType + getIngestionType() { + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.IngestionType result = + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.IngestionType.forNumber( + ingestionType_); + return result == null + ? com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.IngestionType.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * Optional. Ingestion Type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.IngestionType ingestion_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The ingestionType to set. + * @return This builder for chaining. + */ + public Builder setIngestionType( + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.IngestionType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + ingestionType_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Ingestion Type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.IngestionType ingestion_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearIngestionType() { + bitField0_ = (bitField0_ & ~0x00000004); + ingestionType_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.CrowdStrikeAlertsSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.CrowdStrikeAlertsSettings) + private static final com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings(); + } + + public static com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CrowdStrikeAlertsSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CrowdStrikeAlertsSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CrowdStrikeAlertsSettingsOrBuilder.java new file mode 100644 index 000000000000..1b5b6596165e --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CrowdStrikeAlertsSettingsOrBuilder.java @@ -0,0 +1,127 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface CrowdStrikeAlertsSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.CrowdStrikeAlertsSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. OAuthClientCredentials.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Required. OAuthClientCredentials.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.OAuthClientCredentials getAuthentication(); + + /** + * + * + *
+   * Required. OAuthClientCredentials.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.chronicle.v1.OAuthClientCredentialsOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Required. API Hostname.
+   * 
+ * + * string hostname = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * Required. API Hostname.
+   * 
+ * + * string hostname = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); + + /** + * + * + *
+   * Optional. Ingestion Type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.IngestionType ingestion_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for ingestionType. + */ + int getIngestionTypeValue(); + + /** + * + * + *
+   * Optional. Ingestion Type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.IngestionType ingestion_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The ingestionType. + */ + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.IngestionType getIngestionType(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CrowdStrikeDetectsSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CrowdStrikeDetectsSettings.java new file mode 100644 index 000000000000..230fd0a8a9c5 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CrowdStrikeDetectsSettings.java @@ -0,0 +1,1272 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * CrowdStrike Detects settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CrowdStrikeDetectsSettings} + */ +@com.google.protobuf.Generated +public final class CrowdStrikeDetectsSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.CrowdStrikeDetectsSettings) + CrowdStrikeDetectsSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "CrowdStrikeDetectsSettings"); + } + + // Use CrowdStrikeDetectsSettings.newBuilder() to construct. + private CrowdStrikeDetectsSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private CrowdStrikeDetectsSettings() { + hostname_ = ""; + ingestionType_ = 0; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CrowdStrikeDetectsSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CrowdStrikeDetectsSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.class, + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.Builder.class); + } + + /** + * + * + *
+   * Ingestion Type.
+   * 
+ * + * Protobuf enum {@code google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.IngestionType} + */ + public enum IngestionType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * For the feeds in which this field is not set
+     * 
+ * + * INGESTION_TYPE_UNSPECIFIED = 0; + */ + INGESTION_TYPE_UNSPECIFIED(0), + /** + * + * + *
+     * Ingests only new detections to be ingested.
+     * 
+ * + * BRING_ONLY_NEW_DETECTIONS = 1; + */ + BRING_ONLY_NEW_DETECTIONS(1), + /** + * + * + *
+     * Ingests both new as well as old detections which are updated
+     * 
+ * + * BRING_ALL_DETECTIONS = 2; + */ + BRING_ALL_DETECTIONS(2), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "IngestionType"); + } + + /** + * + * + *
+     * For the feeds in which this field is not set
+     * 
+ * + * INGESTION_TYPE_UNSPECIFIED = 0; + */ + public static final int INGESTION_TYPE_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
+     * Ingests only new detections to be ingested.
+     * 
+ * + * BRING_ONLY_NEW_DETECTIONS = 1; + */ + public static final int BRING_ONLY_NEW_DETECTIONS_VALUE = 1; + + /** + * + * + *
+     * Ingests both new as well as old detections which are updated
+     * 
+ * + * BRING_ALL_DETECTIONS = 2; + */ + public static final int BRING_ALL_DETECTIONS_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static IngestionType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static IngestionType forNumber(int value) { + switch (value) { + case 0: + return INGESTION_TYPE_UNSPECIFIED; + case 1: + return BRING_ONLY_NEW_DETECTIONS; + case 2: + return BRING_ALL_DETECTIONS; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public IngestionType findValueByNumber(int number) { + return IngestionType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final IngestionType[] VALUES = values(); + + public static IngestionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private IngestionType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.IngestionType) + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.OAuthClientCredentials authentication_; + + /** + * + * + *
+   * Input only. OAuthClientCredentials.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. OAuthClientCredentials.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthClientCredentials getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthClientCredentials.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. OAuthClientCredentials.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthClientCredentialsOrBuilder + getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthClientCredentials.getDefaultInstance() + : authentication_; + } + + public static final int HOSTNAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INGESTION_TYPE_FIELD_NUMBER = 3; + private int ingestionType_ = 0; + + /** + * + * + *
+   * Optional. Ingestion Type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.IngestionType ingestion_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for ingestionType. + */ + @java.lang.Override + public int getIngestionTypeValue() { + return ingestionType_; + } + + /** + * + * + *
+   * Optional. Ingestion Type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.IngestionType ingestion_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The ingestionType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.IngestionType getIngestionType() { + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.IngestionType result = + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.IngestionType.forNumber( + ingestionType_); + return result == null + ? com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.IngestionType.UNRECOGNIZED + : result; + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, hostname_); + } + if (ingestionType_ + != com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.IngestionType + .INGESTION_TYPE_UNSPECIFIED + .getNumber()) { + output.writeEnum(3, ingestionType_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, hostname_); + } + if (ingestionType_ + != com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.IngestionType + .INGESTION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, ingestionType_); + } + 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.cloud.chronicle.v1.CrowdStrikeDetectsSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings other = + (com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getHostname().equals(other.getHostname())) return false; + if (ingestionType_ != other.ingestionType_) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + hash = (37 * hash) + INGESTION_TYPE_FIELD_NUMBER; + hash = (53 * hash) + ingestionType_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings 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.cloud.chronicle.v1.CrowdStrikeDetectsSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.CrowdStrikeDetectsSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * CrowdStrike Detects settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CrowdStrikeDetectsSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.CrowdStrikeDetectsSettings) + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CrowdStrikeDetectsSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CrowdStrikeDetectsSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.class, + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + hostname_ = ""; + ingestionType_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CrowdStrikeDetectsSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings build() { + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings buildPartial() { + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings result = + new com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.hostname_ = hostname_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.ingestionType_ = ingestionType_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings other) { + if (other == com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.ingestionType_ != 0) { + setIngestionTypeValue(other.getIngestionTypeValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + ingestionType_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.OAuthClientCredentials authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthClientCredentials, + com.google.cloud.chronicle.v1.OAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthClientCredentialsOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. OAuthClientCredentials.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. OAuthClientCredentials.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.OAuthClientCredentials getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthClientCredentials.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. OAuthClientCredentials.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.OAuthClientCredentials value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. OAuthClientCredentials.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.OAuthClientCredentials.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. OAuthClientCredentials.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.OAuthClientCredentials value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.OAuthClientCredentials.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. OAuthClientCredentials.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. OAuthClientCredentials.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.OAuthClientCredentials.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. OAuthClientCredentials.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.OAuthClientCredentialsOrBuilder + getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthClientCredentials.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. OAuthClientCredentials.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthClientCredentials, + com.google.cloud.chronicle.v1.OAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthClientCredentialsOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthClientCredentials, + com.google.cloud.chronicle.v1.OAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthClientCredentialsOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int ingestionType_ = 0; + + /** + * + * + *
+     * Optional. Ingestion Type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.IngestionType ingestion_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for ingestionType. + */ + @java.lang.Override + public int getIngestionTypeValue() { + return ingestionType_; + } + + /** + * + * + *
+     * Optional. Ingestion Type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.IngestionType ingestion_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The enum numeric value on the wire for ingestionType to set. + * @return This builder for chaining. + */ + public Builder setIngestionTypeValue(int value) { + ingestionType_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Ingestion Type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.IngestionType ingestion_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The ingestionType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.IngestionType + getIngestionType() { + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.IngestionType result = + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.IngestionType.forNumber( + ingestionType_); + return result == null + ? com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.IngestionType.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * Optional. Ingestion Type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.IngestionType ingestion_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The ingestionType to set. + * @return This builder for chaining. + */ + public Builder setIngestionType( + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.IngestionType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + ingestionType_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Ingestion Type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.IngestionType ingestion_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearIngestionType() { + bitField0_ = (bitField0_ & ~0x00000004); + ingestionType_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.CrowdStrikeDetectsSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.CrowdStrikeDetectsSettings) + private static final com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings(); + } + + public static com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CrowdStrikeDetectsSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CrowdStrikeDetectsSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CrowdStrikeDetectsSettingsOrBuilder.java new file mode 100644 index 000000000000..759c5bb7c97c --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CrowdStrikeDetectsSettingsOrBuilder.java @@ -0,0 +1,127 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface CrowdStrikeDetectsSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.CrowdStrikeDetectsSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. OAuthClientCredentials.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. OAuthClientCredentials.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.OAuthClientCredentials getAuthentication(); + + /** + * + * + *
+   * Input only. OAuthClientCredentials.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.OAuthClientCredentialsOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); + + /** + * + * + *
+   * Optional. Ingestion Type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.IngestionType ingestion_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for ingestionType. + */ + int getIngestionTypeValue(); + + /** + * + * + *
+   * Optional. Ingestion Type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.IngestionType ingestion_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The ingestionType. + */ + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.IngestionType getIngestionType(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPICheckpointConfig.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPICheckpointConfig.java new file mode 100644 index 000000000000..108f45b874b3 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPICheckpointConfig.java @@ -0,0 +1,4907 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Checkpoint configuration to enable sequential (cursor-based) polling.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPICheckpointConfig} + */ +@com.google.protobuf.Generated +public final class CustomAPICheckpointConfig extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.CustomAPICheckpointConfig) + CustomAPICheckpointConfigOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "CustomAPICheckpointConfig"); + } + + // Use CustomAPICheckpointConfig.newBuilder() to construct. + private CustomAPICheckpointConfig(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private CustomAPICheckpointConfig() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.class, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.Builder.class); + } + + public interface NoneStrategyOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy) + com.google.protobuf.MessageOrBuilder {} + + /** + * + * + *
+   * Fetch all available data in one go without tracking progress.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy} + */ + public static final class NoneStrategy extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy) + NoneStrategyOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "NoneStrategy"); + } + + // Use NoneStrategy.newBuilder() to construct. + private NoneStrategy(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private NoneStrategy() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_NoneStrategy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_NoneStrategy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy.class, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy.Builder.class); + } + + 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 { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + 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.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy other = + (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy) obj; + + 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 = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy 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.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * Fetch all available data in one go without tracking progress.
+     * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy) + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_NoneStrategy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_NoneStrategy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy.class, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy.Builder.class); + } + + // Construct using + // com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_NoneStrategy_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy + getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy build() { + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy buildPartial() { + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy result = + new com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy) { + return mergeFrom( + (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy other) { + if (other + == com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy + .getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy) + private static final com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy(); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NoneStrategy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface LatestTimestampStrategyOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Required. Enter the exact location within a log record where the
+     * checkpoint value (like a timestamp or ID) is found.
+     * 
+ * + * string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The checkpointValuePath. + */ + java.lang.String getCheckpointValuePath(); + + /** + * + * + *
+     * Required. Enter the exact location within a log record where the
+     * checkpoint value (like a timestamp or ID) is found.
+     * 
+ * + * string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for checkpointValuePath. + */ + com.google.protobuf.ByteString getCheckpointValuePathBytes(); + + /** + * + * + *
+     * Required. Specify a custom name you assign to store and reference the
+     * checkpoint value between polling cycles.
+     * 
+ * + * string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The checkpointVariable. + */ + java.lang.String getCheckpointVariable(); + + /** + * + * + *
+     * Required. Specify a custom name you assign to store and reference the
+     * checkpoint value between polling cycles.
+     * 
+ * + * string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for checkpointVariable. + */ + com.google.protobuf.ByteString getCheckpointVariableBytes(); + } + + /** + * + * + *
+   * Track the timestamp of the newest record to fetch newer ones next.
+   * 
+ * + * Protobuf type {@code + * google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy} + */ + public static final class LatestTimestampStrategy extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy) + LatestTimestampStrategyOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "LatestTimestampStrategy"); + } + + // Use LatestTimestampStrategy.newBuilder() to construct. + private LatestTimestampStrategy(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private LatestTimestampStrategy() { + checkpointValuePath_ = ""; + checkpointVariable_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_LatestTimestampStrategy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_LatestTimestampStrategy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy.class, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + .Builder.class); + } + + public static final int CHECKPOINT_VALUE_PATH_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object checkpointValuePath_ = ""; + + /** + * + * + *
+     * Required. Enter the exact location within a log record where the
+     * checkpoint value (like a timestamp or ID) is found.
+     * 
+ * + * string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The checkpointValuePath. + */ + @java.lang.Override + public java.lang.String getCheckpointValuePath() { + java.lang.Object ref = checkpointValuePath_; + 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(); + checkpointValuePath_ = s; + return s; + } + } + + /** + * + * + *
+     * Required. Enter the exact location within a log record where the
+     * checkpoint value (like a timestamp or ID) is found.
+     * 
+ * + * string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for checkpointValuePath. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCheckpointValuePathBytes() { + java.lang.Object ref = checkpointValuePath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + checkpointValuePath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CHECKPOINT_VARIABLE_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object checkpointVariable_ = ""; + + /** + * + * + *
+     * Required. Specify a custom name you assign to store and reference the
+     * checkpoint value between polling cycles.
+     * 
+ * + * string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The checkpointVariable. + */ + @java.lang.Override + public java.lang.String getCheckpointVariable() { + java.lang.Object ref = checkpointVariable_; + 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(); + checkpointVariable_ = s; + return s; + } + } + + /** + * + * + *
+     * Required. Specify a custom name you assign to store and reference the
+     * checkpoint value between polling cycles.
+     * 
+ * + * string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for checkpointVariable. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCheckpointVariableBytes() { + java.lang.Object ref = checkpointVariable_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + checkpointVariable_ = 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.GeneratedMessage.isStringEmpty(checkpointValuePath_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, checkpointValuePath_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(checkpointVariable_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, checkpointVariable_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(checkpointValuePath_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, checkpointValuePath_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(checkpointVariable_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, checkpointVariable_); + } + 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.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy other = + (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy) obj; + + if (!getCheckpointValuePath().equals(other.getCheckpointValuePath())) return false; + if (!getCheckpointVariable().equals(other.getCheckpointVariable())) 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) + CHECKPOINT_VALUE_PATH_FIELD_NUMBER; + hash = (53 * hash) + getCheckpointValuePath().hashCode(); + hash = (37 * hash) + CHECKPOINT_VARIABLE_FIELD_NUMBER; + hash = (53 * hash) + getCheckpointVariable().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + 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.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * Track the timestamp of the newest record to fetch newer ones next.
+     * 
+ * + * Protobuf type {@code + * google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy) + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_LatestTimestampStrategy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_LatestTimestampStrategy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + .class, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + .Builder.class); + } + + // Construct using + // com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + checkpointValuePath_ = ""; + checkpointVariable_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_LatestTimestampStrategy_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + build() { + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + buildPartial() { + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy result = + new com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.checkpointValuePath_ = checkpointValuePath_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.checkpointVariable_ = checkpointVariable_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy) { + return mergeFrom( + (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy other) { + if (other + == com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + .getDefaultInstance()) return this; + if (!other.getCheckpointValuePath().isEmpty()) { + checkpointValuePath_ = other.checkpointValuePath_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getCheckpointVariable().isEmpty()) { + checkpointVariable_ = other.checkpointVariable_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + checkpointValuePath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + checkpointVariable_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object checkpointValuePath_ = ""; + + /** + * + * + *
+       * Required. Enter the exact location within a log record where the
+       * checkpoint value (like a timestamp or ID) is found.
+       * 
+ * + * string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The checkpointValuePath. + */ + public java.lang.String getCheckpointValuePath() { + java.lang.Object ref = checkpointValuePath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + checkpointValuePath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+       * Required. Enter the exact location within a log record where the
+       * checkpoint value (like a timestamp or ID) is found.
+       * 
+ * + * string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for checkpointValuePath. + */ + public com.google.protobuf.ByteString getCheckpointValuePathBytes() { + java.lang.Object ref = checkpointValuePath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + checkpointValuePath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+       * Required. Enter the exact location within a log record where the
+       * checkpoint value (like a timestamp or ID) is found.
+       * 
+ * + * string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The checkpointValuePath to set. + * @return This builder for chaining. + */ + public Builder setCheckpointValuePath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + checkpointValuePath_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * Required. Enter the exact location within a log record where the
+       * checkpoint value (like a timestamp or ID) is found.
+       * 
+ * + * string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearCheckpointValuePath() { + checkpointValuePath_ = getDefaultInstance().getCheckpointValuePath(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+       * Required. Enter the exact location within a log record where the
+       * checkpoint value (like a timestamp or ID) is found.
+       * 
+ * + * string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for checkpointValuePath to set. + * @return This builder for chaining. + */ + public Builder setCheckpointValuePathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + checkpointValuePath_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object checkpointVariable_ = ""; + + /** + * + * + *
+       * Required. Specify a custom name you assign to store and reference the
+       * checkpoint value between polling cycles.
+       * 
+ * + * string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The checkpointVariable. + */ + public java.lang.String getCheckpointVariable() { + java.lang.Object ref = checkpointVariable_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + checkpointVariable_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+       * Required. Specify a custom name you assign to store and reference the
+       * checkpoint value between polling cycles.
+       * 
+ * + * string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for checkpointVariable. + */ + public com.google.protobuf.ByteString getCheckpointVariableBytes() { + java.lang.Object ref = checkpointVariable_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + checkpointVariable_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+       * Required. Specify a custom name you assign to store and reference the
+       * checkpoint value between polling cycles.
+       * 
+ * + * string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The checkpointVariable to set. + * @return This builder for chaining. + */ + public Builder setCheckpointVariable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + checkpointVariable_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+       * Required. Specify a custom name you assign to store and reference the
+       * checkpoint value between polling cycles.
+       * 
+ * + * string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearCheckpointVariable() { + checkpointVariable_ = getDefaultInstance().getCheckpointVariable(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+       * Required. Specify a custom name you assign to store and reference the
+       * checkpoint value between polling cycles.
+       * 
+ * + * string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for checkpointVariable to set. + * @return This builder for chaining. + */ + public Builder setCheckpointVariableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + checkpointVariable_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy) + private static final com.google.cloud.chronicle.v1.CustomAPICheckpointConfig + .LatestTimestampStrategy + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy(); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LatestTimestampStrategy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface LatestRecordStrategyOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Required. Enter the exact location within a log record where the
+     * checkpoint value (like a timestamp or ID) is found.
+     * 
+ * + * string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The checkpointValuePath. + */ + java.lang.String getCheckpointValuePath(); + + /** + * + * + *
+     * Required. Enter the exact location within a log record where the
+     * checkpoint value (like a timestamp or ID) is found.
+     * 
+ * + * string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for checkpointValuePath. + */ + com.google.protobuf.ByteString getCheckpointValuePathBytes(); + + /** + * + * + *
+     * Required. Specify a custom name you assign to store and reference the
+     * checkpoint value between polling cycles.
+     * 
+ * + * string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The checkpointVariable. + */ + java.lang.String getCheckpointVariable(); + + /** + * + * + *
+     * Required. Specify a custom name you assign to store and reference the
+     * checkpoint value between polling cycles.
+     * 
+ * + * string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for checkpointVariable. + */ + com.google.protobuf.ByteString getCheckpointVariableBytes(); + } + + /** + * + * + *
+   * Track the highest record ID to fetch only new records next.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy} + */ + public static final class LatestRecordStrategy extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy) + LatestRecordStrategyOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "LatestRecordStrategy"); + } + + // Use LatestRecordStrategy.newBuilder() to construct. + private LatestRecordStrategy(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private LatestRecordStrategy() { + checkpointValuePath_ = ""; + checkpointVariable_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_LatestRecordStrategy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_LatestRecordStrategy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy.class, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy.Builder + .class); + } + + public static final int CHECKPOINT_VALUE_PATH_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object checkpointValuePath_ = ""; + + /** + * + * + *
+     * Required. Enter the exact location within a log record where the
+     * checkpoint value (like a timestamp or ID) is found.
+     * 
+ * + * string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The checkpointValuePath. + */ + @java.lang.Override + public java.lang.String getCheckpointValuePath() { + java.lang.Object ref = checkpointValuePath_; + 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(); + checkpointValuePath_ = s; + return s; + } + } + + /** + * + * + *
+     * Required. Enter the exact location within a log record where the
+     * checkpoint value (like a timestamp or ID) is found.
+     * 
+ * + * string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for checkpointValuePath. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCheckpointValuePathBytes() { + java.lang.Object ref = checkpointValuePath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + checkpointValuePath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CHECKPOINT_VARIABLE_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object checkpointVariable_ = ""; + + /** + * + * + *
+     * Required. Specify a custom name you assign to store and reference the
+     * checkpoint value between polling cycles.
+     * 
+ * + * string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The checkpointVariable. + */ + @java.lang.Override + public java.lang.String getCheckpointVariable() { + java.lang.Object ref = checkpointVariable_; + 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(); + checkpointVariable_ = s; + return s; + } + } + + /** + * + * + *
+     * Required. Specify a custom name you assign to store and reference the
+     * checkpoint value between polling cycles.
+     * 
+ * + * string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for checkpointVariable. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCheckpointVariableBytes() { + java.lang.Object ref = checkpointVariable_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + checkpointVariable_ = 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.GeneratedMessage.isStringEmpty(checkpointValuePath_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, checkpointValuePath_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(checkpointVariable_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, checkpointVariable_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(checkpointValuePath_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, checkpointValuePath_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(checkpointVariable_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, checkpointVariable_); + } + 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.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy other = + (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy) obj; + + if (!getCheckpointValuePath().equals(other.getCheckpointValuePath())) return false; + if (!getCheckpointVariable().equals(other.getCheckpointVariable())) 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) + CHECKPOINT_VALUE_PATH_FIELD_NUMBER; + hash = (53 * hash) + getCheckpointValuePath().hashCode(); + hash = (37 * hash) + CHECKPOINT_VARIABLE_FIELD_NUMBER; + hash = (53 * hash) + getCheckpointVariable().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + 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.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * Track the highest record ID to fetch only new records next.
+     * 
+ * + * Protobuf type {@code + * google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy) + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_LatestRecordStrategy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_LatestRecordStrategy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy.class, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy.Builder + .class); + } + + // Construct using + // com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + checkpointValuePath_ = ""; + checkpointVariable_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_LatestRecordStrategy_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy build() { + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + buildPartial() { + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy result = + new com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.checkpointValuePath_ = checkpointValuePath_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.checkpointVariable_ = checkpointVariable_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy) { + return mergeFrom( + (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy other) { + if (other + == com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + .getDefaultInstance()) return this; + if (!other.getCheckpointValuePath().isEmpty()) { + checkpointValuePath_ = other.checkpointValuePath_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getCheckpointVariable().isEmpty()) { + checkpointVariable_ = other.checkpointVariable_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + checkpointValuePath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + checkpointVariable_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object checkpointValuePath_ = ""; + + /** + * + * + *
+       * Required. Enter the exact location within a log record where the
+       * checkpoint value (like a timestamp or ID) is found.
+       * 
+ * + * string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The checkpointValuePath. + */ + public java.lang.String getCheckpointValuePath() { + java.lang.Object ref = checkpointValuePath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + checkpointValuePath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+       * Required. Enter the exact location within a log record where the
+       * checkpoint value (like a timestamp or ID) is found.
+       * 
+ * + * string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for checkpointValuePath. + */ + public com.google.protobuf.ByteString getCheckpointValuePathBytes() { + java.lang.Object ref = checkpointValuePath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + checkpointValuePath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+       * Required. Enter the exact location within a log record where the
+       * checkpoint value (like a timestamp or ID) is found.
+       * 
+ * + * string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The checkpointValuePath to set. + * @return This builder for chaining. + */ + public Builder setCheckpointValuePath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + checkpointValuePath_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * Required. Enter the exact location within a log record where the
+       * checkpoint value (like a timestamp or ID) is found.
+       * 
+ * + * string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearCheckpointValuePath() { + checkpointValuePath_ = getDefaultInstance().getCheckpointValuePath(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+       * Required. Enter the exact location within a log record where the
+       * checkpoint value (like a timestamp or ID) is found.
+       * 
+ * + * string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for checkpointValuePath to set. + * @return This builder for chaining. + */ + public Builder setCheckpointValuePathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + checkpointValuePath_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object checkpointVariable_ = ""; + + /** + * + * + *
+       * Required. Specify a custom name you assign to store and reference the
+       * checkpoint value between polling cycles.
+       * 
+ * + * string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The checkpointVariable. + */ + public java.lang.String getCheckpointVariable() { + java.lang.Object ref = checkpointVariable_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + checkpointVariable_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+       * Required. Specify a custom name you assign to store and reference the
+       * checkpoint value between polling cycles.
+       * 
+ * + * string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for checkpointVariable. + */ + public com.google.protobuf.ByteString getCheckpointVariableBytes() { + java.lang.Object ref = checkpointVariable_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + checkpointVariable_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+       * Required. Specify a custom name you assign to store and reference the
+       * checkpoint value between polling cycles.
+       * 
+ * + * string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The checkpointVariable to set. + * @return This builder for chaining. + */ + public Builder setCheckpointVariable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + checkpointVariable_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+       * Required. Specify a custom name you assign to store and reference the
+       * checkpoint value between polling cycles.
+       * 
+ * + * string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearCheckpointVariable() { + checkpointVariable_ = getDefaultInstance().getCheckpointVariable(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+       * Required. Specify a custom name you assign to store and reference the
+       * checkpoint value between polling cycles.
+       * 
+ * + * string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for checkpointVariable to set. + * @return This builder for chaining. + */ + public Builder setCheckpointVariableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + checkpointVariable_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy) + private static final com.google.cloud.chronicle.v1.CustomAPICheckpointConfig + .LatestRecordStrategy + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy(); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LatestRecordStrategy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface IteratorStrategyOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Required. Enter the exact location within a log record where the
+     * checkpoint value (like a timestamp or ID) is found.
+     * 
+ * + * string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The checkpointValuePath. + */ + java.lang.String getCheckpointValuePath(); + + /** + * + * + *
+     * Required. Enter the exact location within a log record where the
+     * checkpoint value (like a timestamp or ID) is found.
+     * 
+ * + * string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for checkpointValuePath. + */ + com.google.protobuf.ByteString getCheckpointValuePathBytes(); + + /** + * + * + *
+     * Required. Specify a custom name you assign to store and reference the
+     * checkpoint value between polling cycles.
+     * 
+ * + * string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The checkpointVariable. + */ + java.lang.String getCheckpointVariable(); + + /** + * + * + *
+     * Required. Specify a custom name you assign to store and reference the
+     * checkpoint value between polling cycles.
+     * 
+ * + * string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for checkpointVariable. + */ + com.google.protobuf.ByteString getCheckpointVariableBytes(); + } + + /** + * + * + *
+   * Use progress tokens provided by the API.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy} + */ + public static final class IteratorStrategy extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy) + IteratorStrategyOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "IteratorStrategy"); + } + + // Use IteratorStrategy.newBuilder() to construct. + private IteratorStrategy(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private IteratorStrategy() { + checkpointValuePath_ = ""; + checkpointVariable_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_IteratorStrategy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_IteratorStrategy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy.class, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy.Builder + .class); + } + + public static final int CHECKPOINT_VALUE_PATH_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object checkpointValuePath_ = ""; + + /** + * + * + *
+     * Required. Enter the exact location within a log record where the
+     * checkpoint value (like a timestamp or ID) is found.
+     * 
+ * + * string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The checkpointValuePath. + */ + @java.lang.Override + public java.lang.String getCheckpointValuePath() { + java.lang.Object ref = checkpointValuePath_; + 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(); + checkpointValuePath_ = s; + return s; + } + } + + /** + * + * + *
+     * Required. Enter the exact location within a log record where the
+     * checkpoint value (like a timestamp or ID) is found.
+     * 
+ * + * string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for checkpointValuePath. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCheckpointValuePathBytes() { + java.lang.Object ref = checkpointValuePath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + checkpointValuePath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CHECKPOINT_VARIABLE_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object checkpointVariable_ = ""; + + /** + * + * + *
+     * Required. Specify a custom name you assign to store and reference the
+     * checkpoint value between polling cycles.
+     * 
+ * + * string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The checkpointVariable. + */ + @java.lang.Override + public java.lang.String getCheckpointVariable() { + java.lang.Object ref = checkpointVariable_; + 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(); + checkpointVariable_ = s; + return s; + } + } + + /** + * + * + *
+     * Required. Specify a custom name you assign to store and reference the
+     * checkpoint value between polling cycles.
+     * 
+ * + * string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for checkpointVariable. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCheckpointVariableBytes() { + java.lang.Object ref = checkpointVariable_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + checkpointVariable_ = 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.GeneratedMessage.isStringEmpty(checkpointValuePath_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, checkpointValuePath_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(checkpointVariable_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, checkpointVariable_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(checkpointValuePath_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, checkpointValuePath_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(checkpointVariable_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, checkpointVariable_); + } + 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.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy other = + (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy) obj; + + if (!getCheckpointValuePath().equals(other.getCheckpointValuePath())) return false; + if (!getCheckpointVariable().equals(other.getCheckpointVariable())) 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) + CHECKPOINT_VALUE_PATH_FIELD_NUMBER; + hash = (53 * hash) + getCheckpointValuePath().hashCode(); + hash = (37 * hash) + CHECKPOINT_VARIABLE_FIELD_NUMBER; + hash = (53 * hash) + getCheckpointVariable().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + 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.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * Use progress tokens provided by the API.
+     * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy) + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_IteratorStrategy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_IteratorStrategy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy.class, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy.Builder + .class); + } + + // Construct using + // com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + checkpointValuePath_ = ""; + checkpointVariable_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_IteratorStrategy_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy build() { + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + buildPartial() { + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy result = + new com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.checkpointValuePath_ = checkpointValuePath_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.checkpointVariable_ = checkpointVariable_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy) { + return mergeFrom( + (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy other) { + if (other + == com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + .getDefaultInstance()) return this; + if (!other.getCheckpointValuePath().isEmpty()) { + checkpointValuePath_ = other.checkpointValuePath_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getCheckpointVariable().isEmpty()) { + checkpointVariable_ = other.checkpointVariable_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + checkpointValuePath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + checkpointVariable_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object checkpointValuePath_ = ""; + + /** + * + * + *
+       * Required. Enter the exact location within a log record where the
+       * checkpoint value (like a timestamp or ID) is found.
+       * 
+ * + * string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The checkpointValuePath. + */ + public java.lang.String getCheckpointValuePath() { + java.lang.Object ref = checkpointValuePath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + checkpointValuePath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+       * Required. Enter the exact location within a log record where the
+       * checkpoint value (like a timestamp or ID) is found.
+       * 
+ * + * string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for checkpointValuePath. + */ + public com.google.protobuf.ByteString getCheckpointValuePathBytes() { + java.lang.Object ref = checkpointValuePath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + checkpointValuePath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+       * Required. Enter the exact location within a log record where the
+       * checkpoint value (like a timestamp or ID) is found.
+       * 
+ * + * string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The checkpointValuePath to set. + * @return This builder for chaining. + */ + public Builder setCheckpointValuePath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + checkpointValuePath_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * Required. Enter the exact location within a log record where the
+       * checkpoint value (like a timestamp or ID) is found.
+       * 
+ * + * string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearCheckpointValuePath() { + checkpointValuePath_ = getDefaultInstance().getCheckpointValuePath(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+       * Required. Enter the exact location within a log record where the
+       * checkpoint value (like a timestamp or ID) is found.
+       * 
+ * + * string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for checkpointValuePath to set. + * @return This builder for chaining. + */ + public Builder setCheckpointValuePathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + checkpointValuePath_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object checkpointVariable_ = ""; + + /** + * + * + *
+       * Required. Specify a custom name you assign to store and reference the
+       * checkpoint value between polling cycles.
+       * 
+ * + * string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The checkpointVariable. + */ + public java.lang.String getCheckpointVariable() { + java.lang.Object ref = checkpointVariable_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + checkpointVariable_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+       * Required. Specify a custom name you assign to store and reference the
+       * checkpoint value between polling cycles.
+       * 
+ * + * string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for checkpointVariable. + */ + public com.google.protobuf.ByteString getCheckpointVariableBytes() { + java.lang.Object ref = checkpointVariable_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + checkpointVariable_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+       * Required. Specify a custom name you assign to store and reference the
+       * checkpoint value between polling cycles.
+       * 
+ * + * string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The checkpointVariable to set. + * @return This builder for chaining. + */ + public Builder setCheckpointVariable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + checkpointVariable_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+       * Required. Specify a custom name you assign to store and reference the
+       * checkpoint value between polling cycles.
+       * 
+ * + * string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearCheckpointVariable() { + checkpointVariable_ = getDefaultInstance().getCheckpointVariable(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+       * Required. Specify a custom name you assign to store and reference the
+       * checkpoint value between polling cycles.
+       * 
+ * + * string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for checkpointVariable to set. + * @return This builder for chaining. + */ + public Builder setCheckpointVariableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + checkpointVariable_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy) + private static final com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy(); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IteratorStrategy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int strategyCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object strategy_; + + public enum StrategyCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + NONE_STRATEGY(1), + LATEST_TIMESTAMP_STRATEGY(2), + LATEST_RECORD_STRATEGY(3), + ITERATOR_STRATEGY(4), + STRATEGY_NOT_SET(0); + private final int value; + + private StrategyCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static StrategyCase valueOf(int value) { + return forNumber(value); + } + + public static StrategyCase forNumber(int value) { + switch (value) { + case 1: + return NONE_STRATEGY; + case 2: + return LATEST_TIMESTAMP_STRATEGY; + case 3: + return LATEST_RECORD_STRATEGY; + case 4: + return ITERATOR_STRATEGY; + case 0: + return STRATEGY_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public StrategyCase getStrategyCase() { + return StrategyCase.forNumber(strategyCase_); + } + + public static final int NONE_STRATEGY_FIELD_NUMBER = 1; + + /** + * + * + *
+   * Fetch all available data in one go without tracking progress.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy none_strategy = 1; + * + * + * @return Whether the noneStrategy field is set. + */ + @java.lang.Override + public boolean hasNoneStrategy() { + return strategyCase_ == 1; + } + + /** + * + * + *
+   * Fetch all available data in one go without tracking progress.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy none_strategy = 1; + * + * + * @return The noneStrategy. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy getNoneStrategy() { + if (strategyCase_ == 1) { + return (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy) strategy_; + } + return com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy + .getDefaultInstance(); + } + + /** + * + * + *
+   * Fetch all available data in one go without tracking progress.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy none_strategy = 1; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategyOrBuilder + getNoneStrategyOrBuilder() { + if (strategyCase_ == 1) { + return (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy) strategy_; + } + return com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy + .getDefaultInstance(); + } + + public static final int LATEST_TIMESTAMP_STRATEGY_FIELD_NUMBER = 2; + + /** + * + * + *
+   * Track the timestamp of the newest record to fetch newer ones next.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy latest_timestamp_strategy = 2; + * + * + * @return Whether the latestTimestampStrategy field is set. + */ + @java.lang.Override + public boolean hasLatestTimestampStrategy() { + return strategyCase_ == 2; + } + + /** + * + * + *
+   * Track the timestamp of the newest record to fetch newer ones next.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy latest_timestamp_strategy = 2; + * + * + * @return The latestTimestampStrategy. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + getLatestTimestampStrategy() { + if (strategyCase_ == 2) { + return (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy) + strategy_; + } + return com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + .getDefaultInstance(); + } + + /** + * + * + *
+   * Track the timestamp of the newest record to fetch newer ones next.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy latest_timestamp_strategy = 2; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategyOrBuilder + getLatestTimestampStrategyOrBuilder() { + if (strategyCase_ == 2) { + return (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy) + strategy_; + } + return com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + .getDefaultInstance(); + } + + public static final int LATEST_RECORD_STRATEGY_FIELD_NUMBER = 3; + + /** + * + * + *
+   * Track the highest record ID to fetch only new records next.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy latest_record_strategy = 3; + * + * + * @return Whether the latestRecordStrategy field is set. + */ + @java.lang.Override + public boolean hasLatestRecordStrategy() { + return strategyCase_ == 3; + } + + /** + * + * + *
+   * Track the highest record ID to fetch only new records next.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy latest_record_strategy = 3; + * + * + * @return The latestRecordStrategy. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + getLatestRecordStrategy() { + if (strategyCase_ == 3) { + return (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy) + strategy_; + } + return com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + .getDefaultInstance(); + } + + /** + * + * + *
+   * Track the highest record ID to fetch only new records next.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy latest_record_strategy = 3; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategyOrBuilder + getLatestRecordStrategyOrBuilder() { + if (strategyCase_ == 3) { + return (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy) + strategy_; + } + return com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + .getDefaultInstance(); + } + + public static final int ITERATOR_STRATEGY_FIELD_NUMBER = 4; + + /** + * + * + *
+   * Use progress tokens provided by the API.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy iterator_strategy = 4; + * + * + * @return Whether the iteratorStrategy field is set. + */ + @java.lang.Override + public boolean hasIteratorStrategy() { + return strategyCase_ == 4; + } + + /** + * + * + *
+   * Use progress tokens provided by the API.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy iterator_strategy = 4; + * + * + * @return The iteratorStrategy. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + getIteratorStrategy() { + if (strategyCase_ == 4) { + return (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy) strategy_; + } + return com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + .getDefaultInstance(); + } + + /** + * + * + *
+   * Use progress tokens provided by the API.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy iterator_strategy = 4; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategyOrBuilder + getIteratorStrategyOrBuilder() { + if (strategyCase_ == 4) { + return (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy) strategy_; + } + return com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + .getDefaultInstance(); + } + + 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 (strategyCase_ == 1) { + output.writeMessage( + 1, (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy) strategy_); + } + if (strategyCase_ == 2) { + output.writeMessage( + 2, + (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy) + strategy_); + } + if (strategyCase_ == 3) { + output.writeMessage( + 3, + (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy) strategy_); + } + if (strategyCase_ == 4) { + output.writeMessage( + 4, (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy) strategy_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (strategyCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy) strategy_); + } + if (strategyCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy) + strategy_); + } + if (strategyCase_ == 3) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, + (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy) + strategy_); + } + if (strategyCase_ == 4) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, + (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy) strategy_); + } + 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.cloud.chronicle.v1.CustomAPICheckpointConfig)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig other = + (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig) obj; + + if (!getStrategyCase().equals(other.getStrategyCase())) return false; + switch (strategyCase_) { + case 1: + if (!getNoneStrategy().equals(other.getNoneStrategy())) return false; + break; + case 2: + if (!getLatestTimestampStrategy().equals(other.getLatestTimestampStrategy())) return false; + break; + case 3: + if (!getLatestRecordStrategy().equals(other.getLatestRecordStrategy())) return false; + break; + case 4: + if (!getIteratorStrategy().equals(other.getIteratorStrategy())) return false; + break; + case 0: + default: + } + 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(); + switch (strategyCase_) { + case 1: + hash = (37 * hash) + NONE_STRATEGY_FIELD_NUMBER; + hash = (53 * hash) + getNoneStrategy().hashCode(); + break; + case 2: + hash = (37 * hash) + LATEST_TIMESTAMP_STRATEGY_FIELD_NUMBER; + hash = (53 * hash) + getLatestTimestampStrategy().hashCode(); + break; + case 3: + hash = (37 * hash) + LATEST_RECORD_STRATEGY_FIELD_NUMBER; + hash = (53 * hash) + getLatestRecordStrategy().hashCode(); + break; + case 4: + hash = (37 * hash) + ITERATOR_STRATEGY_FIELD_NUMBER; + hash = (53 * hash) + getIteratorStrategy().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig 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.cloud.chronicle.v1.CustomAPICheckpointConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.CustomAPICheckpointConfig 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Checkpoint configuration to enable sequential (cursor-based) polling.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPICheckpointConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.CustomAPICheckpointConfig) + com.google.cloud.chronicle.v1.CustomAPICheckpointConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.class, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (noneStrategyBuilder_ != null) { + noneStrategyBuilder_.clear(); + } + if (latestTimestampStrategyBuilder_ != null) { + latestTimestampStrategyBuilder_.clear(); + } + if (latestRecordStrategyBuilder_ != null) { + latestRecordStrategyBuilder_.clear(); + } + if (iteratorStrategyBuilder_ != null) { + iteratorStrategyBuilder_.clear(); + } + strategyCase_ = 0; + strategy_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig build() { + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig buildPartial() { + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig result = + new com.google.cloud.chronicle.v1.CustomAPICheckpointConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.CustomAPICheckpointConfig result) { + int from_bitField0_ = bitField0_; + } + + private void buildPartialOneofs( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig result) { + result.strategyCase_ = strategyCase_; + result.strategy_ = this.strategy_; + if (strategyCase_ == 1 && noneStrategyBuilder_ != null) { + result.strategy_ = noneStrategyBuilder_.build(); + } + if (strategyCase_ == 2 && latestTimestampStrategyBuilder_ != null) { + result.strategy_ = latestTimestampStrategyBuilder_.build(); + } + if (strategyCase_ == 3 && latestRecordStrategyBuilder_ != null) { + result.strategy_ = latestRecordStrategyBuilder_.build(); + } + if (strategyCase_ == 4 && iteratorStrategyBuilder_ != null) { + result.strategy_ = iteratorStrategyBuilder_.build(); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.CustomAPICheckpointConfig) { + return mergeFrom((com.google.cloud.chronicle.v1.CustomAPICheckpointConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.CustomAPICheckpointConfig other) { + if (other == com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.getDefaultInstance()) + return this; + switch (other.getStrategyCase()) { + case NONE_STRATEGY: + { + mergeNoneStrategy(other.getNoneStrategy()); + break; + } + case LATEST_TIMESTAMP_STRATEGY: + { + mergeLatestTimestampStrategy(other.getLatestTimestampStrategy()); + break; + } + case LATEST_RECORD_STRATEGY: + { + mergeLatestRecordStrategy(other.getLatestRecordStrategy()); + break; + } + case ITERATOR_STRATEGY: + { + mergeIteratorStrategy(other.getIteratorStrategy()); + break; + } + case STRATEGY_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetNoneStrategyFieldBuilder().getBuilder(), extensionRegistry); + strategyCase_ = 1; + break; + } // case 10 + case 18: + { + input.readMessage( + internalGetLatestTimestampStrategyFieldBuilder().getBuilder(), + extensionRegistry); + strategyCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage( + internalGetLatestRecordStrategyFieldBuilder().getBuilder(), extensionRegistry); + strategyCase_ = 3; + break; + } // case 26 + case 34: + { + input.readMessage( + internalGetIteratorStrategyFieldBuilder().getBuilder(), extensionRegistry); + strategyCase_ = 4; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int strategyCase_ = 0; + private java.lang.Object strategy_; + + public StrategyCase getStrategyCase() { + return StrategyCase.forNumber(strategyCase_); + } + + public Builder clearStrategy() { + strategyCase_ = 0; + strategy_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy.Builder, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategyOrBuilder> + noneStrategyBuilder_; + + /** + * + * + *
+     * Fetch all available data in one go without tracking progress.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy none_strategy = 1; + * + * + * @return Whether the noneStrategy field is set. + */ + @java.lang.Override + public boolean hasNoneStrategy() { + return strategyCase_ == 1; + } + + /** + * + * + *
+     * Fetch all available data in one go without tracking progress.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy none_strategy = 1; + * + * + * @return The noneStrategy. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy getNoneStrategy() { + if (noneStrategyBuilder_ == null) { + if (strategyCase_ == 1) { + return (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy) strategy_; + } + return com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy + .getDefaultInstance(); + } else { + if (strategyCase_ == 1) { + return noneStrategyBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Fetch all available data in one go without tracking progress.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy none_strategy = 1; + * + */ + public Builder setNoneStrategy( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy value) { + if (noneStrategyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + strategy_ = value; + onChanged(); + } else { + noneStrategyBuilder_.setMessage(value); + } + strategyCase_ = 1; + return this; + } + + /** + * + * + *
+     * Fetch all available data in one go without tracking progress.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy none_strategy = 1; + * + */ + public Builder setNoneStrategy( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy.Builder + builderForValue) { + if (noneStrategyBuilder_ == null) { + strategy_ = builderForValue.build(); + onChanged(); + } else { + noneStrategyBuilder_.setMessage(builderForValue.build()); + } + strategyCase_ = 1; + return this; + } + + /** + * + * + *
+     * Fetch all available data in one go without tracking progress.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy none_strategy = 1; + * + */ + public Builder mergeNoneStrategy( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy value) { + if (noneStrategyBuilder_ == null) { + if (strategyCase_ == 1 + && strategy_ + != com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy + .getDefaultInstance()) { + strategy_ = + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy.newBuilder( + (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy) + strategy_) + .mergeFrom(value) + .buildPartial(); + } else { + strategy_ = value; + } + onChanged(); + } else { + if (strategyCase_ == 1) { + noneStrategyBuilder_.mergeFrom(value); + } else { + noneStrategyBuilder_.setMessage(value); + } + } + strategyCase_ = 1; + return this; + } + + /** + * + * + *
+     * Fetch all available data in one go without tracking progress.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy none_strategy = 1; + * + */ + public Builder clearNoneStrategy() { + if (noneStrategyBuilder_ == null) { + if (strategyCase_ == 1) { + strategyCase_ = 0; + strategy_ = null; + onChanged(); + } + } else { + if (strategyCase_ == 1) { + strategyCase_ = 0; + strategy_ = null; + } + noneStrategyBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Fetch all available data in one go without tracking progress.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy none_strategy = 1; + * + */ + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy.Builder + getNoneStrategyBuilder() { + return internalGetNoneStrategyFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Fetch all available data in one go without tracking progress.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy none_strategy = 1; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategyOrBuilder + getNoneStrategyOrBuilder() { + if ((strategyCase_ == 1) && (noneStrategyBuilder_ != null)) { + return noneStrategyBuilder_.getMessageOrBuilder(); + } else { + if (strategyCase_ == 1) { + return (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy) strategy_; + } + return com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Fetch all available data in one go without tracking progress.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy none_strategy = 1; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy.Builder, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategyOrBuilder> + internalGetNoneStrategyFieldBuilder() { + if (noneStrategyBuilder_ == null) { + if (!(strategyCase_ == 1)) { + strategy_ = + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy + .getDefaultInstance(); + } + noneStrategyBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy.Builder, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategyOrBuilder>( + (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy) strategy_, + getParentForChildren(), + isClean()); + strategy_ = null; + } + strategyCase_ = 1; + onChanged(); + return noneStrategyBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy.Builder, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig + .LatestTimestampStrategyOrBuilder> + latestTimestampStrategyBuilder_; + + /** + * + * + *
+     * Track the timestamp of the newest record to fetch newer ones next.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy latest_timestamp_strategy = 2; + * + * + * @return Whether the latestTimestampStrategy field is set. + */ + @java.lang.Override + public boolean hasLatestTimestampStrategy() { + return strategyCase_ == 2; + } + + /** + * + * + *
+     * Track the timestamp of the newest record to fetch newer ones next.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy latest_timestamp_strategy = 2; + * + * + * @return The latestTimestampStrategy. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + getLatestTimestampStrategy() { + if (latestTimestampStrategyBuilder_ == null) { + if (strategyCase_ == 2) { + return (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy) + strategy_; + } + return com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + .getDefaultInstance(); + } else { + if (strategyCase_ == 2) { + return latestTimestampStrategyBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Track the timestamp of the newest record to fetch newer ones next.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy latest_timestamp_strategy = 2; + * + */ + public Builder setLatestTimestampStrategy( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy value) { + if (latestTimestampStrategyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + strategy_ = value; + onChanged(); + } else { + latestTimestampStrategyBuilder_.setMessage(value); + } + strategyCase_ = 2; + return this; + } + + /** + * + * + *
+     * Track the timestamp of the newest record to fetch newer ones next.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy latest_timestamp_strategy = 2; + * + */ + public Builder setLatestTimestampStrategy( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy.Builder + builderForValue) { + if (latestTimestampStrategyBuilder_ == null) { + strategy_ = builderForValue.build(); + onChanged(); + } else { + latestTimestampStrategyBuilder_.setMessage(builderForValue.build()); + } + strategyCase_ = 2; + return this; + } + + /** + * + * + *
+     * Track the timestamp of the newest record to fetch newer ones next.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy latest_timestamp_strategy = 2; + * + */ + public Builder mergeLatestTimestampStrategy( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy value) { + if (latestTimestampStrategyBuilder_ == null) { + if (strategyCase_ == 2 + && strategy_ + != com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + .getDefaultInstance()) { + strategy_ = + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + .newBuilder( + (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig + .LatestTimestampStrategy) + strategy_) + .mergeFrom(value) + .buildPartial(); + } else { + strategy_ = value; + } + onChanged(); + } else { + if (strategyCase_ == 2) { + latestTimestampStrategyBuilder_.mergeFrom(value); + } else { + latestTimestampStrategyBuilder_.setMessage(value); + } + } + strategyCase_ = 2; + return this; + } + + /** + * + * + *
+     * Track the timestamp of the newest record to fetch newer ones next.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy latest_timestamp_strategy = 2; + * + */ + public Builder clearLatestTimestampStrategy() { + if (latestTimestampStrategyBuilder_ == null) { + if (strategyCase_ == 2) { + strategyCase_ = 0; + strategy_ = null; + onChanged(); + } + } else { + if (strategyCase_ == 2) { + strategyCase_ = 0; + strategy_ = null; + } + latestTimestampStrategyBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Track the timestamp of the newest record to fetch newer ones next.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy latest_timestamp_strategy = 2; + * + */ + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy.Builder + getLatestTimestampStrategyBuilder() { + return internalGetLatestTimestampStrategyFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Track the timestamp of the newest record to fetch newer ones next.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy latest_timestamp_strategy = 2; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategyOrBuilder + getLatestTimestampStrategyOrBuilder() { + if ((strategyCase_ == 2) && (latestTimestampStrategyBuilder_ != null)) { + return latestTimestampStrategyBuilder_.getMessageOrBuilder(); + } else { + if (strategyCase_ == 2) { + return (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy) + strategy_; + } + return com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Track the timestamp of the newest record to fetch newer ones next.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy latest_timestamp_strategy = 2; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy.Builder, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig + .LatestTimestampStrategyOrBuilder> + internalGetLatestTimestampStrategyFieldBuilder() { + if (latestTimestampStrategyBuilder_ == null) { + if (!(strategyCase_ == 2)) { + strategy_ = + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + .getDefaultInstance(); + } + latestTimestampStrategyBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + .Builder, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig + .LatestTimestampStrategyOrBuilder>( + (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy) + strategy_, + getParentForChildren(), + isClean()); + strategy_ = null; + } + strategyCase_ = 2; + onChanged(); + return latestTimestampStrategyBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy.Builder, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategyOrBuilder> + latestRecordStrategyBuilder_; + + /** + * + * + *
+     * Track the highest record ID to fetch only new records next.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy latest_record_strategy = 3; + * + * + * @return Whether the latestRecordStrategy field is set. + */ + @java.lang.Override + public boolean hasLatestRecordStrategy() { + return strategyCase_ == 3; + } + + /** + * + * + *
+     * Track the highest record ID to fetch only new records next.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy latest_record_strategy = 3; + * + * + * @return The latestRecordStrategy. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + getLatestRecordStrategy() { + if (latestRecordStrategyBuilder_ == null) { + if (strategyCase_ == 3) { + return (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy) + strategy_; + } + return com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + .getDefaultInstance(); + } else { + if (strategyCase_ == 3) { + return latestRecordStrategyBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Track the highest record ID to fetch only new records next.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy latest_record_strategy = 3; + * + */ + public Builder setLatestRecordStrategy( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy value) { + if (latestRecordStrategyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + strategy_ = value; + onChanged(); + } else { + latestRecordStrategyBuilder_.setMessage(value); + } + strategyCase_ = 3; + return this; + } + + /** + * + * + *
+     * Track the highest record ID to fetch only new records next.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy latest_record_strategy = 3; + * + */ + public Builder setLatestRecordStrategy( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy.Builder + builderForValue) { + if (latestRecordStrategyBuilder_ == null) { + strategy_ = builderForValue.build(); + onChanged(); + } else { + latestRecordStrategyBuilder_.setMessage(builderForValue.build()); + } + strategyCase_ = 3; + return this; + } + + /** + * + * + *
+     * Track the highest record ID to fetch only new records next.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy latest_record_strategy = 3; + * + */ + public Builder mergeLatestRecordStrategy( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy value) { + if (latestRecordStrategyBuilder_ == null) { + if (strategyCase_ == 3 + && strategy_ + != com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + .getDefaultInstance()) { + strategy_ = + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + .newBuilder( + (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy) + strategy_) + .mergeFrom(value) + .buildPartial(); + } else { + strategy_ = value; + } + onChanged(); + } else { + if (strategyCase_ == 3) { + latestRecordStrategyBuilder_.mergeFrom(value); + } else { + latestRecordStrategyBuilder_.setMessage(value); + } + } + strategyCase_ = 3; + return this; + } + + /** + * + * + *
+     * Track the highest record ID to fetch only new records next.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy latest_record_strategy = 3; + * + */ + public Builder clearLatestRecordStrategy() { + if (latestRecordStrategyBuilder_ == null) { + if (strategyCase_ == 3) { + strategyCase_ = 0; + strategy_ = null; + onChanged(); + } + } else { + if (strategyCase_ == 3) { + strategyCase_ = 0; + strategy_ = null; + } + latestRecordStrategyBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Track the highest record ID to fetch only new records next.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy latest_record_strategy = 3; + * + */ + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy.Builder + getLatestRecordStrategyBuilder() { + return internalGetLatestRecordStrategyFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Track the highest record ID to fetch only new records next.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy latest_record_strategy = 3; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategyOrBuilder + getLatestRecordStrategyOrBuilder() { + if ((strategyCase_ == 3) && (latestRecordStrategyBuilder_ != null)) { + return latestRecordStrategyBuilder_.getMessageOrBuilder(); + } else { + if (strategyCase_ == 3) { + return (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy) + strategy_; + } + return com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Track the highest record ID to fetch only new records next.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy latest_record_strategy = 3; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy.Builder, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategyOrBuilder> + internalGetLatestRecordStrategyFieldBuilder() { + if (latestRecordStrategyBuilder_ == null) { + if (!(strategyCase_ == 3)) { + strategy_ = + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + .getDefaultInstance(); + } + latestRecordStrategyBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + .Builder, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig + .LatestRecordStrategyOrBuilder>( + (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy) + strategy_, + getParentForChildren(), + isClean()); + strategy_ = null; + } + strategyCase_ = 3; + onChanged(); + return latestRecordStrategyBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy.Builder, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategyOrBuilder> + iteratorStrategyBuilder_; + + /** + * + * + *
+     * Use progress tokens provided by the API.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy iterator_strategy = 4; + * + * + * @return Whether the iteratorStrategy field is set. + */ + @java.lang.Override + public boolean hasIteratorStrategy() { + return strategyCase_ == 4; + } + + /** + * + * + *
+     * Use progress tokens provided by the API.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy iterator_strategy = 4; + * + * + * @return The iteratorStrategy. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + getIteratorStrategy() { + if (iteratorStrategyBuilder_ == null) { + if (strategyCase_ == 4) { + return (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy) + strategy_; + } + return com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + .getDefaultInstance(); + } else { + if (strategyCase_ == 4) { + return iteratorStrategyBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Use progress tokens provided by the API.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy iterator_strategy = 4; + * + */ + public Builder setIteratorStrategy( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy value) { + if (iteratorStrategyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + strategy_ = value; + onChanged(); + } else { + iteratorStrategyBuilder_.setMessage(value); + } + strategyCase_ = 4; + return this; + } + + /** + * + * + *
+     * Use progress tokens provided by the API.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy iterator_strategy = 4; + * + */ + public Builder setIteratorStrategy( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy.Builder + builderForValue) { + if (iteratorStrategyBuilder_ == null) { + strategy_ = builderForValue.build(); + onChanged(); + } else { + iteratorStrategyBuilder_.setMessage(builderForValue.build()); + } + strategyCase_ = 4; + return this; + } + + /** + * + * + *
+     * Use progress tokens provided by the API.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy iterator_strategy = 4; + * + */ + public Builder mergeIteratorStrategy( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy value) { + if (iteratorStrategyBuilder_ == null) { + if (strategyCase_ == 4 + && strategy_ + != com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + .getDefaultInstance()) { + strategy_ = + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy.newBuilder( + (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy) + strategy_) + .mergeFrom(value) + .buildPartial(); + } else { + strategy_ = value; + } + onChanged(); + } else { + if (strategyCase_ == 4) { + iteratorStrategyBuilder_.mergeFrom(value); + } else { + iteratorStrategyBuilder_.setMessage(value); + } + } + strategyCase_ = 4; + return this; + } + + /** + * + * + *
+     * Use progress tokens provided by the API.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy iterator_strategy = 4; + * + */ + public Builder clearIteratorStrategy() { + if (iteratorStrategyBuilder_ == null) { + if (strategyCase_ == 4) { + strategyCase_ = 0; + strategy_ = null; + onChanged(); + } + } else { + if (strategyCase_ == 4) { + strategyCase_ = 0; + strategy_ = null; + } + iteratorStrategyBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Use progress tokens provided by the API.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy iterator_strategy = 4; + * + */ + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy.Builder + getIteratorStrategyBuilder() { + return internalGetIteratorStrategyFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Use progress tokens provided by the API.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy iterator_strategy = 4; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategyOrBuilder + getIteratorStrategyOrBuilder() { + if ((strategyCase_ == 4) && (iteratorStrategyBuilder_ != null)) { + return iteratorStrategyBuilder_.getMessageOrBuilder(); + } else { + if (strategyCase_ == 4) { + return (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy) + strategy_; + } + return com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Use progress tokens provided by the API.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy iterator_strategy = 4; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy.Builder, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategyOrBuilder> + internalGetIteratorStrategyFieldBuilder() { + if (iteratorStrategyBuilder_ == null) { + if (!(strategyCase_ == 4)) { + strategy_ = + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy + .getDefaultInstance(); + } + iteratorStrategyBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy.Builder, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategyOrBuilder>( + (com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy) + strategy_, + getParentForChildren(), + isClean()); + strategy_ = null; + } + strategyCase_ = 4; + onChanged(); + return iteratorStrategyBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.CustomAPICheckpointConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.CustomAPICheckpointConfig) + private static final com.google.cloud.chronicle.v1.CustomAPICheckpointConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.CustomAPICheckpointConfig(); + } + + public static com.google.cloud.chronicle.v1.CustomAPICheckpointConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomAPICheckpointConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPICheckpointConfigOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPICheckpointConfigOrBuilder.java new file mode 100644 index 000000000000..26868ed552b0 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPICheckpointConfigOrBuilder.java @@ -0,0 +1,205 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface CustomAPICheckpointConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.CustomAPICheckpointConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Fetch all available data in one go without tracking progress.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy none_strategy = 1; + * + * + * @return Whether the noneStrategy field is set. + */ + boolean hasNoneStrategy(); + + /** + * + * + *
+   * Fetch all available data in one go without tracking progress.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy none_strategy = 1; + * + * + * @return The noneStrategy. + */ + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy getNoneStrategy(); + + /** + * + * + *
+   * Fetch all available data in one go without tracking progress.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy none_strategy = 1; + * + */ + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategyOrBuilder + getNoneStrategyOrBuilder(); + + /** + * + * + *
+   * Track the timestamp of the newest record to fetch newer ones next.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy latest_timestamp_strategy = 2; + * + * + * @return Whether the latestTimestampStrategy field is set. + */ + boolean hasLatestTimestampStrategy(); + + /** + * + * + *
+   * Track the timestamp of the newest record to fetch newer ones next.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy latest_timestamp_strategy = 2; + * + * + * @return The latestTimestampStrategy. + */ + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy + getLatestTimestampStrategy(); + + /** + * + * + *
+   * Track the timestamp of the newest record to fetch newer ones next.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy latest_timestamp_strategy = 2; + * + */ + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategyOrBuilder + getLatestTimestampStrategyOrBuilder(); + + /** + * + * + *
+   * Track the highest record ID to fetch only new records next.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy latest_record_strategy = 3; + * + * + * @return Whether the latestRecordStrategy field is set. + */ + boolean hasLatestRecordStrategy(); + + /** + * + * + *
+   * Track the highest record ID to fetch only new records next.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy latest_record_strategy = 3; + * + * + * @return The latestRecordStrategy. + */ + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy + getLatestRecordStrategy(); + + /** + * + * + *
+   * Track the highest record ID to fetch only new records next.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy latest_record_strategy = 3; + * + */ + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategyOrBuilder + getLatestRecordStrategyOrBuilder(); + + /** + * + * + *
+   * Use progress tokens provided by the API.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy iterator_strategy = 4; + * + * + * @return Whether the iteratorStrategy field is set. + */ + boolean hasIteratorStrategy(); + + /** + * + * + *
+   * Use progress tokens provided by the API.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy iterator_strategy = 4; + * + * + * @return The iteratorStrategy. + */ + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy getIteratorStrategy(); + + /** + * + * + *
+   * Use progress tokens provided by the API.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy iterator_strategy = 4; + * + */ + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategyOrBuilder + getIteratorStrategyOrBuilder(); + + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.StrategyCase getStrategyCase(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIDependentRequestsConfig.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIDependentRequestsConfig.java new file mode 100644 index 000000000000..81511b5cdd12 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIDependentRequestsConfig.java @@ -0,0 +1,1432 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Configuration for dependent requests (child chaining).
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig} + */ +@com.google.protobuf.Generated +public final class CustomAPIDependentRequestsConfig extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig) + CustomAPIDependentRequestsConfigOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "CustomAPIDependentRequestsConfig"); + } + + // Use CustomAPIDependentRequestsConfig.newBuilder() to construct. + private CustomAPIDependentRequestsConfig( + com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private CustomAPIDependentRequestsConfig() { + itemIdJsonPath_ = ""; + itemIdVariable_ = ""; + dependentRequests_ = java.util.Collections.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIDependentRequestsConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIDependentRequestsConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig.class, + com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig.Builder.class); + } + + public static final int ITEM_ID_JSON_PATH_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object itemIdJsonPath_ = ""; + + /** + * + * + *
+   * Required. Enter the specific field in the response that uniquely identifies
+   * an individual record or alert.
+   * 
+ * + * string item_id_json_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The itemIdJsonPath. + */ + @java.lang.Override + public java.lang.String getItemIdJsonPath() { + java.lang.Object ref = itemIdJsonPath_; + 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(); + itemIdJsonPath_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Enter the specific field in the response that uniquely identifies
+   * an individual record or alert.
+   * 
+ * + * string item_id_json_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for itemIdJsonPath. + */ + @java.lang.Override + public com.google.protobuf.ByteString getItemIdJsonPathBytes() { + java.lang.Object ref = itemIdJsonPath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + itemIdJsonPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ITEM_ID_VARIABLE_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object itemIdVariable_ = ""; + + /** + * + * + *
+   * Optional. Specify a custom variable name to hold the extracted ID, which
+   * can be linked as a placeholder in dependent requests.
+   * 
+ * + * string item_id_variable = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The itemIdVariable. + */ + @java.lang.Override + public java.lang.String getItemIdVariable() { + java.lang.Object ref = itemIdVariable_; + 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(); + itemIdVariable_ = s; + return s; + } + } + + /** + * + * + *
+   * Optional. Specify a custom variable name to hold the extracted ID, which
+   * can be linked as a placeholder in dependent requests.
+   * 
+ * + * string item_id_variable = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for itemIdVariable. + */ + @java.lang.Override + public com.google.protobuf.ByteString getItemIdVariableBytes() { + java.lang.Object ref = itemIdVariable_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + itemIdVariable_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DEPENDENT_REQUESTS_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private java.util.List dependentRequests_; + + /** + * + * + *
+   * Optional. Add follow-up API calls triggered for each item found in the
+   * primary request (e.g., fetching full event details for a list of basic
+   * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.List + getDependentRequestsList() { + return dependentRequests_; + } + + /** + * + * + *
+   * Optional. Add follow-up API calls triggered for each item found in the
+   * primary request (e.g., fetching full event details for a list of basic
+   * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.List + getDependentRequestsOrBuilderList() { + return dependentRequests_; + } + + /** + * + * + *
+   * Optional. Add follow-up API calls triggered for each item found in the
+   * primary request (e.g., fetching full event details for a list of basic
+   * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public int getDependentRequestsCount() { + return dependentRequests_.size(); + } + + /** + * + * + *
+   * Optional. Add follow-up API calls triggered for each item found in the
+   * primary request (e.g., fetching full event details for a list of basic
+   * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPITransferNode getDependentRequests(int index) { + return dependentRequests_.get(index); + } + + /** + * + * + *
+   * Optional. Add follow-up API calls triggered for each item found in the
+   * primary request (e.g., fetching full event details for a list of basic
+   * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPITransferNodeOrBuilder getDependentRequestsOrBuilder( + int index) { + return dependentRequests_.get(index); + } + + 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.GeneratedMessage.isStringEmpty(itemIdJsonPath_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, itemIdJsonPath_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(itemIdVariable_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, itemIdVariable_); + } + for (int i = 0; i < dependentRequests_.size(); i++) { + output.writeMessage(3, dependentRequests_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(itemIdJsonPath_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, itemIdJsonPath_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(itemIdVariable_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, itemIdVariable_); + } + for (int i = 0; i < dependentRequests_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, dependentRequests_.get(i)); + } + 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.cloud.chronicle.v1.CustomAPIDependentRequestsConfig)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig other = + (com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig) obj; + + if (!getItemIdJsonPath().equals(other.getItemIdJsonPath())) return false; + if (!getItemIdVariable().equals(other.getItemIdVariable())) return false; + if (!getDependentRequestsList().equals(other.getDependentRequestsList())) 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) + ITEM_ID_JSON_PATH_FIELD_NUMBER; + hash = (53 * hash) + getItemIdJsonPath().hashCode(); + hash = (37 * hash) + ITEM_ID_VARIABLE_FIELD_NUMBER; + hash = (53 * hash) + getItemIdVariable().hashCode(); + if (getDependentRequestsCount() > 0) { + hash = (37 * hash) + DEPENDENT_REQUESTS_FIELD_NUMBER; + hash = (53 * hash) + getDependentRequestsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig 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.cloud.chronicle.v1.CustomAPIDependentRequestsConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.CustomAPIDependentRequestsConfig 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Configuration for dependent requests (child chaining).
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig) + com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIDependentRequestsConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIDependentRequestsConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig.class, + com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + itemIdJsonPath_ = ""; + itemIdVariable_ = ""; + if (dependentRequestsBuilder_ == null) { + dependentRequests_ = java.util.Collections.emptyList(); + } else { + dependentRequests_ = null; + dependentRequestsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIDependentRequestsConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig + getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig build() { + com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig buildPartial() { + com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig result = + new com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig result) { + if (dependentRequestsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + dependentRequests_ = java.util.Collections.unmodifiableList(dependentRequests_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.dependentRequests_ = dependentRequests_; + } else { + result.dependentRequests_ = dependentRequestsBuilder_.build(); + } + } + + private void buildPartial0( + com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.itemIdJsonPath_ = itemIdJsonPath_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.itemIdVariable_ = itemIdVariable_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig) { + return mergeFrom((com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig other) { + if (other + == com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig.getDefaultInstance()) + return this; + if (!other.getItemIdJsonPath().isEmpty()) { + itemIdJsonPath_ = other.itemIdJsonPath_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getItemIdVariable().isEmpty()) { + itemIdVariable_ = other.itemIdVariable_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (dependentRequestsBuilder_ == null) { + if (!other.dependentRequests_.isEmpty()) { + if (dependentRequests_.isEmpty()) { + dependentRequests_ = other.dependentRequests_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureDependentRequestsIsMutable(); + dependentRequests_.addAll(other.dependentRequests_); + } + onChanged(); + } + } else { + if (!other.dependentRequests_.isEmpty()) { + if (dependentRequestsBuilder_.isEmpty()) { + dependentRequestsBuilder_.dispose(); + dependentRequestsBuilder_ = null; + dependentRequests_ = other.dependentRequests_; + bitField0_ = (bitField0_ & ~0x00000004); + dependentRequestsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetDependentRequestsFieldBuilder() + : null; + } else { + dependentRequestsBuilder_.addAllMessages(other.dependentRequests_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + itemIdJsonPath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + itemIdVariable_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + com.google.cloud.chronicle.v1.CustomAPITransferNode m = + input.readMessage( + com.google.cloud.chronicle.v1.CustomAPITransferNode.parser(), + extensionRegistry); + if (dependentRequestsBuilder_ == null) { + ensureDependentRequestsIsMutable(); + dependentRequests_.add(m); + } else { + dependentRequestsBuilder_.addMessage(m); + } + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object itemIdJsonPath_ = ""; + + /** + * + * + *
+     * Required. Enter the specific field in the response that uniquely identifies
+     * an individual record or alert.
+     * 
+ * + * string item_id_json_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The itemIdJsonPath. + */ + public java.lang.String getItemIdJsonPath() { + java.lang.Object ref = itemIdJsonPath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + itemIdJsonPath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Enter the specific field in the response that uniquely identifies
+     * an individual record or alert.
+     * 
+ * + * string item_id_json_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for itemIdJsonPath. + */ + public com.google.protobuf.ByteString getItemIdJsonPathBytes() { + java.lang.Object ref = itemIdJsonPath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + itemIdJsonPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Enter the specific field in the response that uniquely identifies
+     * an individual record or alert.
+     * 
+ * + * string item_id_json_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The itemIdJsonPath to set. + * @return This builder for chaining. + */ + public Builder setItemIdJsonPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + itemIdJsonPath_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Enter the specific field in the response that uniquely identifies
+     * an individual record or alert.
+     * 
+ * + * string item_id_json_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearItemIdJsonPath() { + itemIdJsonPath_ = getDefaultInstance().getItemIdJsonPath(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Enter the specific field in the response that uniquely identifies
+     * an individual record or alert.
+     * 
+ * + * string item_id_json_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for itemIdJsonPath to set. + * @return This builder for chaining. + */ + public Builder setItemIdJsonPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + itemIdJsonPath_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object itemIdVariable_ = ""; + + /** + * + * + *
+     * Optional. Specify a custom variable name to hold the extracted ID, which
+     * can be linked as a placeholder in dependent requests.
+     * 
+ * + * string item_id_variable = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The itemIdVariable. + */ + public java.lang.String getItemIdVariable() { + java.lang.Object ref = itemIdVariable_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + itemIdVariable_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Optional. Specify a custom variable name to hold the extracted ID, which
+     * can be linked as a placeholder in dependent requests.
+     * 
+ * + * string item_id_variable = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for itemIdVariable. + */ + public com.google.protobuf.ByteString getItemIdVariableBytes() { + java.lang.Object ref = itemIdVariable_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + itemIdVariable_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Optional. Specify a custom variable name to hold the extracted ID, which
+     * can be linked as a placeholder in dependent requests.
+     * 
+ * + * string item_id_variable = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The itemIdVariable to set. + * @return This builder for chaining. + */ + public Builder setItemIdVariable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + itemIdVariable_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Specify a custom variable name to hold the extracted ID, which
+     * can be linked as a placeholder in dependent requests.
+     * 
+ * + * string item_id_variable = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearItemIdVariable() { + itemIdVariable_ = getDefaultInstance().getItemIdVariable(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Specify a custom variable name to hold the extracted ID, which
+     * can be linked as a placeholder in dependent requests.
+     * 
+ * + * string item_id_variable = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for itemIdVariable to set. + * @return This builder for chaining. + */ + public Builder setItemIdVariableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + itemIdVariable_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.util.List dependentRequests_ = + java.util.Collections.emptyList(); + + private void ensureDependentRequestsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + dependentRequests_ = + new java.util.ArrayList( + dependentRequests_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPITransferNode, + com.google.cloud.chronicle.v1.CustomAPITransferNode.Builder, + com.google.cloud.chronicle.v1.CustomAPITransferNodeOrBuilder> + dependentRequestsBuilder_; + + /** + * + * + *
+     * Optional. Add follow-up API calls triggered for each item found in the
+     * primary request (e.g., fetching full event details for a list of basic
+     * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List + getDependentRequestsList() { + if (dependentRequestsBuilder_ == null) { + return java.util.Collections.unmodifiableList(dependentRequests_); + } else { + return dependentRequestsBuilder_.getMessageList(); + } + } + + /** + * + * + *
+     * Optional. Add follow-up API calls triggered for each item found in the
+     * primary request (e.g., fetching full event details for a list of basic
+     * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public int getDependentRequestsCount() { + if (dependentRequestsBuilder_ == null) { + return dependentRequests_.size(); + } else { + return dependentRequestsBuilder_.getCount(); + } + } + + /** + * + * + *
+     * Optional. Add follow-up API calls triggered for each item found in the
+     * primary request (e.g., fetching full event details for a list of basic
+     * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.chronicle.v1.CustomAPITransferNode getDependentRequests(int index) { + if (dependentRequestsBuilder_ == null) { + return dependentRequests_.get(index); + } else { + return dependentRequestsBuilder_.getMessage(index); + } + } + + /** + * + * + *
+     * Optional. Add follow-up API calls triggered for each item found in the
+     * primary request (e.g., fetching full event details for a list of basic
+     * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setDependentRequests( + int index, com.google.cloud.chronicle.v1.CustomAPITransferNode value) { + if (dependentRequestsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDependentRequestsIsMutable(); + dependentRequests_.set(index, value); + onChanged(); + } else { + dependentRequestsBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Optional. Add follow-up API calls triggered for each item found in the
+     * primary request (e.g., fetching full event details for a list of basic
+     * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setDependentRequests( + int index, com.google.cloud.chronicle.v1.CustomAPITransferNode.Builder builderForValue) { + if (dependentRequestsBuilder_ == null) { + ensureDependentRequestsIsMutable(); + dependentRequests_.set(index, builderForValue.build()); + onChanged(); + } else { + dependentRequestsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Optional. Add follow-up API calls triggered for each item found in the
+     * primary request (e.g., fetching full event details for a list of basic
+     * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addDependentRequests(com.google.cloud.chronicle.v1.CustomAPITransferNode value) { + if (dependentRequestsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDependentRequestsIsMutable(); + dependentRequests_.add(value); + onChanged(); + } else { + dependentRequestsBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+     * Optional. Add follow-up API calls triggered for each item found in the
+     * primary request (e.g., fetching full event details for a list of basic
+     * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addDependentRequests( + int index, com.google.cloud.chronicle.v1.CustomAPITransferNode value) { + if (dependentRequestsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDependentRequestsIsMutable(); + dependentRequests_.add(index, value); + onChanged(); + } else { + dependentRequestsBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Optional. Add follow-up API calls triggered for each item found in the
+     * primary request (e.g., fetching full event details for a list of basic
+     * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addDependentRequests( + com.google.cloud.chronicle.v1.CustomAPITransferNode.Builder builderForValue) { + if (dependentRequestsBuilder_ == null) { + ensureDependentRequestsIsMutable(); + dependentRequests_.add(builderForValue.build()); + onChanged(); + } else { + dependentRequestsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Optional. Add follow-up API calls triggered for each item found in the
+     * primary request (e.g., fetching full event details for a list of basic
+     * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addDependentRequests( + int index, com.google.cloud.chronicle.v1.CustomAPITransferNode.Builder builderForValue) { + if (dependentRequestsBuilder_ == null) { + ensureDependentRequestsIsMutable(); + dependentRequests_.add(index, builderForValue.build()); + onChanged(); + } else { + dependentRequestsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Optional. Add follow-up API calls triggered for each item found in the
+     * primary request (e.g., fetching full event details for a list of basic
+     * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addAllDependentRequests( + java.lang.Iterable values) { + if (dependentRequestsBuilder_ == null) { + ensureDependentRequestsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dependentRequests_); + onChanged(); + } else { + dependentRequestsBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+     * Optional. Add follow-up API calls triggered for each item found in the
+     * primary request (e.g., fetching full event details for a list of basic
+     * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearDependentRequests() { + if (dependentRequestsBuilder_ == null) { + dependentRequests_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + dependentRequestsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Optional. Add follow-up API calls triggered for each item found in the
+     * primary request (e.g., fetching full event details for a list of basic
+     * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder removeDependentRequests(int index) { + if (dependentRequestsBuilder_ == null) { + ensureDependentRequestsIsMutable(); + dependentRequests_.remove(index); + onChanged(); + } else { + dependentRequestsBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+     * Optional. Add follow-up API calls triggered for each item found in the
+     * primary request (e.g., fetching full event details for a list of basic
+     * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.chronicle.v1.CustomAPITransferNode.Builder getDependentRequestsBuilder( + int index) { + return internalGetDependentRequestsFieldBuilder().getBuilder(index); + } + + /** + * + * + *
+     * Optional. Add follow-up API calls triggered for each item found in the
+     * primary request (e.g., fetching full event details for a list of basic
+     * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.chronicle.v1.CustomAPITransferNodeOrBuilder + getDependentRequestsOrBuilder(int index) { + if (dependentRequestsBuilder_ == null) { + return dependentRequests_.get(index); + } else { + return dependentRequestsBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
+     * Optional. Add follow-up API calls triggered for each item found in the
+     * primary request (e.g., fetching full event details for a list of basic
+     * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List + getDependentRequestsOrBuilderList() { + if (dependentRequestsBuilder_ != null) { + return dependentRequestsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(dependentRequests_); + } + } + + /** + * + * + *
+     * Optional. Add follow-up API calls triggered for each item found in the
+     * primary request (e.g., fetching full event details for a list of basic
+     * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.chronicle.v1.CustomAPITransferNode.Builder + addDependentRequestsBuilder() { + return internalGetDependentRequestsFieldBuilder() + .addBuilder(com.google.cloud.chronicle.v1.CustomAPITransferNode.getDefaultInstance()); + } + + /** + * + * + *
+     * Optional. Add follow-up API calls triggered for each item found in the
+     * primary request (e.g., fetching full event details for a list of basic
+     * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.chronicle.v1.CustomAPITransferNode.Builder addDependentRequestsBuilder( + int index) { + return internalGetDependentRequestsFieldBuilder() + .addBuilder( + index, com.google.cloud.chronicle.v1.CustomAPITransferNode.getDefaultInstance()); + } + + /** + * + * + *
+     * Optional. Add follow-up API calls triggered for each item found in the
+     * primary request (e.g., fetching full event details for a list of basic
+     * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List + getDependentRequestsBuilderList() { + return internalGetDependentRequestsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPITransferNode, + com.google.cloud.chronicle.v1.CustomAPITransferNode.Builder, + com.google.cloud.chronicle.v1.CustomAPITransferNodeOrBuilder> + internalGetDependentRequestsFieldBuilder() { + if (dependentRequestsBuilder_ == null) { + dependentRequestsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPITransferNode, + com.google.cloud.chronicle.v1.CustomAPITransferNode.Builder, + com.google.cloud.chronicle.v1.CustomAPITransferNodeOrBuilder>( + dependentRequests_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + dependentRequests_ = null; + } + return dependentRequestsBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig) + private static final com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig(); + } + + public static com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomAPIDependentRequestsConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIDependentRequestsConfigOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIDependentRequestsConfigOrBuilder.java new file mode 100644 index 000000000000..6d8910f1e8c6 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIDependentRequestsConfigOrBuilder.java @@ -0,0 +1,161 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface CustomAPIDependentRequestsConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Enter the specific field in the response that uniquely identifies
+   * an individual record or alert.
+   * 
+ * + * string item_id_json_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The itemIdJsonPath. + */ + java.lang.String getItemIdJsonPath(); + + /** + * + * + *
+   * Required. Enter the specific field in the response that uniquely identifies
+   * an individual record or alert.
+   * 
+ * + * string item_id_json_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for itemIdJsonPath. + */ + com.google.protobuf.ByteString getItemIdJsonPathBytes(); + + /** + * + * + *
+   * Optional. Specify a custom variable name to hold the extracted ID, which
+   * can be linked as a placeholder in dependent requests.
+   * 
+ * + * string item_id_variable = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The itemIdVariable. + */ + java.lang.String getItemIdVariable(); + + /** + * + * + *
+   * Optional. Specify a custom variable name to hold the extracted ID, which
+   * can be linked as a placeholder in dependent requests.
+   * 
+ * + * string item_id_variable = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for itemIdVariable. + */ + com.google.protobuf.ByteString getItemIdVariableBytes(); + + /** + * + * + *
+   * Optional. Add follow-up API calls triggered for each item found in the
+   * primary request (e.g., fetching full event details for a list of basic
+   * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.util.List getDependentRequestsList(); + + /** + * + * + *
+   * Optional. Add follow-up API calls triggered for each item found in the
+   * primary request (e.g., fetching full event details for a list of basic
+   * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.chronicle.v1.CustomAPITransferNode getDependentRequests(int index); + + /** + * + * + *
+   * Optional. Add follow-up API calls triggered for each item found in the
+   * primary request (e.g., fetching full event details for a list of basic
+   * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + int getDependentRequestsCount(); + + /** + * + * + *
+   * Optional. Add follow-up API calls triggered for each item found in the
+   * primary request (e.g., fetching full event details for a list of basic
+   * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.util.List + getDependentRequestsOrBuilderList(); + + /** + * + * + *
+   * Optional. Add follow-up API calls triggered for each item found in the
+   * primary request (e.g., fetching full event details for a list of basic
+   * alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPITransferNode dependent_requests = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.chronicle.v1.CustomAPITransferNodeOrBuilder getDependentRequestsOrBuilder( + int index); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIHeaderAuth.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIHeaderAuth.java new file mode 100644 index 000000000000..aa4a771d96fb --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIHeaderAuth.java @@ -0,0 +1,986 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * CustomAPIHeaderAuth lists HTTP headers for custom API auth.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPIHeaderAuth} + */ +@com.google.protobuf.Generated +public final class CustomAPIHeaderAuth extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.CustomAPIHeaderAuth) + CustomAPIHeaderAuthOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "CustomAPIHeaderAuth"); + } + + // Use CustomAPIHeaderAuth.newBuilder() to construct. + private CustomAPIHeaderAuth(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private CustomAPIHeaderAuth() { + headerKeyValues_ = java.util.Collections.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIHeaderAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIHeaderAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPIHeaderAuth.class, + com.google.cloud.chronicle.v1.CustomAPIHeaderAuth.Builder.class); + } + + public static final int HEADER_KEY_VALUES_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List headerKeyValues_; + + /** + * + * + *
+   * Optional. Add HTTP request header key-value pairs.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.List + getHeaderKeyValuesList() { + return headerKeyValues_; + } + + /** + * + * + *
+   * Optional. Add HTTP request header key-value pairs.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.List + getHeaderKeyValuesOrBuilderList() { + return headerKeyValues_; + } + + /** + * + * + *
+   * Optional. Add HTTP request header key-value pairs.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public int getHeaderKeyValuesCount() { + return headerKeyValues_.size(); + } + + /** + * + * + *
+   * Optional. Add HTTP request header key-value pairs.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue getHeaderKeyValues(int index) { + return headerKeyValues_.get(index); + } + + /** + * + * + *
+   * Optional. Add HTTP request header key-value pairs.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValueOrBuilder getHeaderKeyValuesOrBuilder( + int index) { + return headerKeyValues_.get(index); + } + + 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 { + for (int i = 0; i < headerKeyValues_.size(); i++) { + output.writeMessage(1, headerKeyValues_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < headerKeyValues_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, headerKeyValues_.get(i)); + } + 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.cloud.chronicle.v1.CustomAPIHeaderAuth)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.CustomAPIHeaderAuth other = + (com.google.cloud.chronicle.v1.CustomAPIHeaderAuth) obj; + + if (!getHeaderKeyValuesList().equals(other.getHeaderKeyValuesList())) 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(); + if (getHeaderKeyValuesCount() > 0) { + hash = (37 * hash) + HEADER_KEY_VALUES_FIELD_NUMBER; + hash = (53 * hash) + getHeaderKeyValuesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.CustomAPIHeaderAuth parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIHeaderAuth parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIHeaderAuth parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIHeaderAuth 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.cloud.chronicle.v1.CustomAPIHeaderAuth parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIHeaderAuth parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIHeaderAuth parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIHeaderAuth parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIHeaderAuth parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIHeaderAuth parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIHeaderAuth parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIHeaderAuth parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.CustomAPIHeaderAuth 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * CustomAPIHeaderAuth lists HTTP headers for custom API auth.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPIHeaderAuth} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.CustomAPIHeaderAuth) + com.google.cloud.chronicle.v1.CustomAPIHeaderAuthOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIHeaderAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIHeaderAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPIHeaderAuth.class, + com.google.cloud.chronicle.v1.CustomAPIHeaderAuth.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.CustomAPIHeaderAuth.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (headerKeyValuesBuilder_ == null) { + headerKeyValues_ = java.util.Collections.emptyList(); + } else { + headerKeyValues_ = null; + headerKeyValuesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIHeaderAuth_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIHeaderAuth getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.CustomAPIHeaderAuth.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIHeaderAuth build() { + com.google.cloud.chronicle.v1.CustomAPIHeaderAuth result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIHeaderAuth buildPartial() { + com.google.cloud.chronicle.v1.CustomAPIHeaderAuth result = + new com.google.cloud.chronicle.v1.CustomAPIHeaderAuth(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.chronicle.v1.CustomAPIHeaderAuth result) { + if (headerKeyValuesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + headerKeyValues_ = java.util.Collections.unmodifiableList(headerKeyValues_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.headerKeyValues_ = headerKeyValues_; + } else { + result.headerKeyValues_ = headerKeyValuesBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.chronicle.v1.CustomAPIHeaderAuth result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.CustomAPIHeaderAuth) { + return mergeFrom((com.google.cloud.chronicle.v1.CustomAPIHeaderAuth) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.CustomAPIHeaderAuth other) { + if (other == com.google.cloud.chronicle.v1.CustomAPIHeaderAuth.getDefaultInstance()) + return this; + if (headerKeyValuesBuilder_ == null) { + if (!other.headerKeyValues_.isEmpty()) { + if (headerKeyValues_.isEmpty()) { + headerKeyValues_ = other.headerKeyValues_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureHeaderKeyValuesIsMutable(); + headerKeyValues_.addAll(other.headerKeyValues_); + } + onChanged(); + } + } else { + if (!other.headerKeyValues_.isEmpty()) { + if (headerKeyValuesBuilder_.isEmpty()) { + headerKeyValuesBuilder_.dispose(); + headerKeyValuesBuilder_ = null; + headerKeyValues_ = other.headerKeyValues_; + bitField0_ = (bitField0_ & ~0x00000001); + headerKeyValuesBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetHeaderKeyValuesFieldBuilder() + : null; + } else { + headerKeyValuesBuilder_.addAllMessages(other.headerKeyValues_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue m = + input.readMessage( + com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue.parser(), + extensionRegistry); + if (headerKeyValuesBuilder_ == null) { + ensureHeaderKeyValuesIsMutable(); + headerKeyValues_.add(m); + } else { + headerKeyValuesBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.util.List headerKeyValues_ = + java.util.Collections.emptyList(); + + private void ensureHeaderKeyValuesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + headerKeyValues_ = + new java.util.ArrayList( + headerKeyValues_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue, + com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue.Builder, + com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValueOrBuilder> + headerKeyValuesBuilder_; + + /** + * + * + *
+     * Optional. Add HTTP request header key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List + getHeaderKeyValuesList() { + if (headerKeyValuesBuilder_ == null) { + return java.util.Collections.unmodifiableList(headerKeyValues_); + } else { + return headerKeyValuesBuilder_.getMessageList(); + } + } + + /** + * + * + *
+     * Optional. Add HTTP request header key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public int getHeaderKeyValuesCount() { + if (headerKeyValuesBuilder_ == null) { + return headerKeyValues_.size(); + } else { + return headerKeyValuesBuilder_.getCount(); + } + } + + /** + * + * + *
+     * Optional. Add HTTP request header key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue getHeaderKeyValues(int index) { + if (headerKeyValuesBuilder_ == null) { + return headerKeyValues_.get(index); + } else { + return headerKeyValuesBuilder_.getMessage(index); + } + } + + /** + * + * + *
+     * Optional. Add HTTP request header key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setHeaderKeyValues( + int index, com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue value) { + if (headerKeyValuesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureHeaderKeyValuesIsMutable(); + headerKeyValues_.set(index, value); + onChanged(); + } else { + headerKeyValuesBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Optional. Add HTTP request header key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setHeaderKeyValues( + int index, com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue.Builder builderForValue) { + if (headerKeyValuesBuilder_ == null) { + ensureHeaderKeyValuesIsMutable(); + headerKeyValues_.set(index, builderForValue.build()); + onChanged(); + } else { + headerKeyValuesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Optional. Add HTTP request header key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addHeaderKeyValues(com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue value) { + if (headerKeyValuesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureHeaderKeyValuesIsMutable(); + headerKeyValues_.add(value); + onChanged(); + } else { + headerKeyValuesBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+     * Optional. Add HTTP request header key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addHeaderKeyValues( + int index, com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue value) { + if (headerKeyValuesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureHeaderKeyValuesIsMutable(); + headerKeyValues_.add(index, value); + onChanged(); + } else { + headerKeyValuesBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Optional. Add HTTP request header key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addHeaderKeyValues( + com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue.Builder builderForValue) { + if (headerKeyValuesBuilder_ == null) { + ensureHeaderKeyValuesIsMutable(); + headerKeyValues_.add(builderForValue.build()); + onChanged(); + } else { + headerKeyValuesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Optional. Add HTTP request header key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addHeaderKeyValues( + int index, com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue.Builder builderForValue) { + if (headerKeyValuesBuilder_ == null) { + ensureHeaderKeyValuesIsMutable(); + headerKeyValues_.add(index, builderForValue.build()); + onChanged(); + } else { + headerKeyValuesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Optional. Add HTTP request header key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addAllHeaderKeyValues( + java.lang.Iterable + values) { + if (headerKeyValuesBuilder_ == null) { + ensureHeaderKeyValuesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, headerKeyValues_); + onChanged(); + } else { + headerKeyValuesBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+     * Optional. Add HTTP request header key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearHeaderKeyValues() { + if (headerKeyValuesBuilder_ == null) { + headerKeyValues_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + headerKeyValuesBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Optional. Add HTTP request header key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder removeHeaderKeyValues(int index) { + if (headerKeyValuesBuilder_ == null) { + ensureHeaderKeyValuesIsMutable(); + headerKeyValues_.remove(index); + onChanged(); + } else { + headerKeyValuesBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+     * Optional. Add HTTP request header key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue.Builder getHeaderKeyValuesBuilder( + int index) { + return internalGetHeaderKeyValuesFieldBuilder().getBuilder(index); + } + + /** + * + * + *
+     * Optional. Add HTTP request header key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValueOrBuilder + getHeaderKeyValuesOrBuilder(int index) { + if (headerKeyValuesBuilder_ == null) { + return headerKeyValues_.get(index); + } else { + return headerKeyValuesBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
+     * Optional. Add HTTP request header key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List + getHeaderKeyValuesOrBuilderList() { + if (headerKeyValuesBuilder_ != null) { + return headerKeyValuesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(headerKeyValues_); + } + } + + /** + * + * + *
+     * Optional. Add HTTP request header key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue.Builder + addHeaderKeyValuesBuilder() { + return internalGetHeaderKeyValuesFieldBuilder() + .addBuilder(com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue.getDefaultInstance()); + } + + /** + * + * + *
+     * Optional. Add HTTP request header key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue.Builder addHeaderKeyValuesBuilder( + int index) { + return internalGetHeaderKeyValuesFieldBuilder() + .addBuilder( + index, com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue.getDefaultInstance()); + } + + /** + * + * + *
+     * Optional. Add HTTP request header key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List + getHeaderKeyValuesBuilderList() { + return internalGetHeaderKeyValuesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue, + com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue.Builder, + com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValueOrBuilder> + internalGetHeaderKeyValuesFieldBuilder() { + if (headerKeyValuesBuilder_ == null) { + headerKeyValuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue, + com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue.Builder, + com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValueOrBuilder>( + headerKeyValues_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + headerKeyValues_ = null; + } + return headerKeyValuesBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.CustomAPIHeaderAuth) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.CustomAPIHeaderAuth) + private static final com.google.cloud.chronicle.v1.CustomAPIHeaderAuth DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.CustomAPIHeaderAuth(); + } + + public static com.google.cloud.chronicle.v1.CustomAPIHeaderAuth getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomAPIHeaderAuth parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIHeaderAuth getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIHeaderAuthOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIHeaderAuthOrBuilder.java new file mode 100644 index 000000000000..661212293da9 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIHeaderAuthOrBuilder.java @@ -0,0 +1,95 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface CustomAPIHeaderAuthOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.CustomAPIHeaderAuth) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Optional. Add HTTP request header key-value pairs.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.util.List getHeaderKeyValuesList(); + + /** + * + * + *
+   * Optional. Add HTTP request header key-value pairs.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue getHeaderKeyValues(int index); + + /** + * + * + *
+   * Optional. Add HTTP request header key-value pairs.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + int getHeaderKeyValuesCount(); + + /** + * + * + *
+   * Optional. Add HTTP request header key-value pairs.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.util.List + getHeaderKeyValuesOrBuilderList(); + + /** + * + * + *
+   * Optional. Add HTTP request header key-value pairs.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIHeaderKeyValue header_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValueOrBuilder getHeaderKeyValuesOrBuilder( + int index); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIHeaderKeyValue.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIHeaderKeyValue.java new file mode 100644 index 000000000000..4d1959001e84 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIHeaderKeyValue.java @@ -0,0 +1,800 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * CustomAPIHeaderKeyValue defines dynamic headers key-values for Custom API.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPIHeaderKeyValue} + */ +@com.google.protobuf.Generated +public final class CustomAPIHeaderKeyValue extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.CustomAPIHeaderKeyValue) + CustomAPIHeaderKeyValueOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "CustomAPIHeaderKeyValue"); + } + + // Use CustomAPIHeaderKeyValue.newBuilder() to construct. + private CustomAPIHeaderKeyValue(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private CustomAPIHeaderKeyValue() { + key_ = ""; + value_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIHeaderKeyValue_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIHeaderKeyValue_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue.class, + com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue.Builder.class); + } + + public static final int KEY_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object key_ = ""; + + /** + * + * + *
+   * Required. Enter the name of the HTTP Request header (e.g., Authorization or
+   * X-API-Key).
+   * 
+ * + * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The key. + */ + @java.lang.Override + public java.lang.String getKey() { + java.lang.Object ref = key_; + 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(); + key_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Enter the name of the HTTP Request header (e.g., Authorization or
+   * X-API-Key).
+   * 
+ * + * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for key. + */ + @java.lang.Override + public com.google.protobuf.ByteString getKeyBytes() { + java.lang.Object ref = key_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + key_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int VALUE_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object value_ = ""; + + /** + * + * + *
+   * Required. Enter the API Key, Bearer Token, or credential value associated
+   * with the header.
+   * 
+ * + * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The value. + */ + @java.lang.Override + public java.lang.String getValue() { + java.lang.Object ref = value_; + 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(); + value_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Enter the API Key, Bearer Token, or credential value associated
+   * with the header.
+   * 
+ * + * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for value. + */ + @java.lang.Override + public com.google.protobuf.ByteString getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + value_ = 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.GeneratedMessage.isStringEmpty(key_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, key_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, value_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(key_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, key_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, value_); + } + 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.cloud.chronicle.v1.CustomAPIHeaderKeyValue)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue other = + (com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue) obj; + + if (!getKey().equals(other.getKey())) return false; + if (!getValue().equals(other.getValue())) 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) + KEY_FIELD_NUMBER; + hash = (53 * hash) + getKey().hashCode(); + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue 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.cloud.chronicle.v1.CustomAPIHeaderKeyValue parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.CustomAPIHeaderKeyValue 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * CustomAPIHeaderKeyValue defines dynamic headers key-values for Custom API.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPIHeaderKeyValue} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.CustomAPIHeaderKeyValue) + com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValueOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIHeaderKeyValue_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIHeaderKeyValue_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue.class, + com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + key_ = ""; + value_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIHeaderKeyValue_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue build() { + com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue buildPartial() { + com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue result = + new com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.key_ = key_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.value_ = value_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue) { + return mergeFrom((com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue other) { + if (other == com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue.getDefaultInstance()) + return this; + if (!other.getKey().isEmpty()) { + key_ = other.key_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getValue().isEmpty()) { + value_ = other.value_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + key_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + value_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object key_ = ""; + + /** + * + * + *
+     * Required. Enter the name of the HTTP Request header (e.g., Authorization or
+     * X-API-Key).
+     * 
+ * + * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The key. + */ + public java.lang.String getKey() { + java.lang.Object ref = key_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + key_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Enter the name of the HTTP Request header (e.g., Authorization or
+     * X-API-Key).
+     * 
+ * + * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for key. + */ + public com.google.protobuf.ByteString getKeyBytes() { + java.lang.Object ref = key_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + key_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Enter the name of the HTTP Request header (e.g., Authorization or
+     * X-API-Key).
+     * 
+ * + * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The key to set. + * @return This builder for chaining. + */ + public Builder setKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + key_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Enter the name of the HTTP Request header (e.g., Authorization or
+     * X-API-Key).
+     * 
+ * + * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearKey() { + key_ = getDefaultInstance().getKey(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Enter the name of the HTTP Request header (e.g., Authorization or
+     * X-API-Key).
+     * 
+ * + * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for key to set. + * @return This builder for chaining. + */ + public Builder setKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object value_ = ""; + + /** + * + * + *
+     * Required. Enter the API Key, Bearer Token, or credential value associated
+     * with the header.
+     * 
+ * + * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The value. + */ + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Enter the API Key, Bearer Token, or credential value associated
+     * with the header.
+     * 
+ * + * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for value. + */ + public com.google.protobuf.ByteString getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Enter the API Key, Bearer Token, or credential value associated
+     * with the header.
+     * 
+ * + * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The value to set. + * @return This builder for chaining. + */ + public Builder setValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + value_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Enter the API Key, Bearer Token, or credential value associated
+     * with the header.
+     * 
+ * + * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearValue() { + value_ = getDefaultInstance().getValue(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Enter the API Key, Bearer Token, or credential value associated
+     * with the header.
+     * 
+ * + * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for value to set. + * @return This builder for chaining. + */ + public Builder setValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + value_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.CustomAPIHeaderKeyValue) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.CustomAPIHeaderKeyValue) + private static final com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue(); + } + + public static com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomAPIHeaderKeyValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIHeaderKeyValue getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIHeaderKeyValueOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIHeaderKeyValueOrBuilder.java new file mode 100644 index 000000000000..48f53d8da6d4 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIHeaderKeyValueOrBuilder.java @@ -0,0 +1,84 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface CustomAPIHeaderKeyValueOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.CustomAPIHeaderKeyValue) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Enter the name of the HTTP Request header (e.g., Authorization or
+   * X-API-Key).
+   * 
+ * + * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The key. + */ + java.lang.String getKey(); + + /** + * + * + *
+   * Required. Enter the name of the HTTP Request header (e.g., Authorization or
+   * X-API-Key).
+   * 
+ * + * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for key. + */ + com.google.protobuf.ByteString getKeyBytes(); + + /** + * + * + *
+   * Required. Enter the API Key, Bearer Token, or credential value associated
+   * with the header.
+   * 
+ * + * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The value. + */ + java.lang.String getValue(); + + /** + * + * + *
+   * Required. Enter the API Key, Bearer Token, or credential value associated
+   * with the header.
+   * 
+ * + * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for value. + */ + com.google.protobuf.ByteString getValueBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPINoAuth.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPINoAuth.java new file mode 100644 index 000000000000..8e895e45e38b --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPINoAuth.java @@ -0,0 +1,395 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Info for No-Authentication custom API feeds.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPINoAuth} + */ +@com.google.protobuf.Generated +public final class CustomAPINoAuth extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.CustomAPINoAuth) + CustomAPINoAuthOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "CustomAPINoAuth"); + } + + // Use CustomAPINoAuth.newBuilder() to construct. + private CustomAPINoAuth(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private CustomAPINoAuth() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPINoAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPINoAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPINoAuth.class, + com.google.cloud.chronicle.v1.CustomAPINoAuth.Builder.class); + } + + 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 { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + 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.cloud.chronicle.v1.CustomAPINoAuth)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.CustomAPINoAuth other = + (com.google.cloud.chronicle.v1.CustomAPINoAuth) obj; + + 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 = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.CustomAPINoAuth parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPINoAuth parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPINoAuth parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPINoAuth 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.cloud.chronicle.v1.CustomAPINoAuth parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPINoAuth parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPINoAuth parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPINoAuth parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPINoAuth parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPINoAuth parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPINoAuth parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPINoAuth parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.CustomAPINoAuth 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Info for No-Authentication custom API feeds.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPINoAuth} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.CustomAPINoAuth) + com.google.cloud.chronicle.v1.CustomAPINoAuthOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPINoAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPINoAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPINoAuth.class, + com.google.cloud.chronicle.v1.CustomAPINoAuth.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.CustomAPINoAuth.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPINoAuth_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPINoAuth getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.CustomAPINoAuth.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPINoAuth build() { + com.google.cloud.chronicle.v1.CustomAPINoAuth result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPINoAuth buildPartial() { + com.google.cloud.chronicle.v1.CustomAPINoAuth result = + new com.google.cloud.chronicle.v1.CustomAPINoAuth(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.CustomAPINoAuth) { + return mergeFrom((com.google.cloud.chronicle.v1.CustomAPINoAuth) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.CustomAPINoAuth other) { + if (other == com.google.cloud.chronicle.v1.CustomAPINoAuth.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.CustomAPINoAuth) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.CustomAPINoAuth) + private static final com.google.cloud.chronicle.v1.CustomAPINoAuth DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.CustomAPINoAuth(); + } + + public static com.google.cloud.chronicle.v1.CustomAPINoAuth getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomAPINoAuth parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPINoAuth getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPINoAuthOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPINoAuthOrBuilder.java new file mode 100644 index 000000000000..e5d1c0913db4 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPINoAuthOrBuilder.java @@ -0,0 +1,27 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface CustomAPINoAuthOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.CustomAPINoAuth) + com.google.protobuf.MessageOrBuilder {} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIPagination.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIPagination.java new file mode 100644 index 000000000000..dc6c3c8e6e5e --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIPagination.java @@ -0,0 +1,5270 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Pagination strategy for the request.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPIPagination} + */ +@com.google.protobuf.Generated +public final class CustomAPIPagination extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.CustomAPIPagination) + CustomAPIPaginationOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "CustomAPIPagination"); + } + + // Use CustomAPIPagination.newBuilder() to construct. + private CustomAPIPagination(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private CustomAPIPagination() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPIPagination.class, + com.google.cloud.chronicle.v1.CustomAPIPagination.Builder.class); + } + + public interface NonePaginationOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.CustomAPIPagination.NonePagination) + com.google.protobuf.MessageOrBuilder {} + + /** + * + * + *
+   * Fetch data in a single request without paging.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPIPagination.NonePagination} + */ + public static final class NonePagination extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.CustomAPIPagination.NonePagination) + NonePaginationOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "NonePagination"); + } + + // Use NonePagination.newBuilder() to construct. + private NonePagination(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private NonePagination() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_NonePagination_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_NonePagination_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination.class, + com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination.Builder.class); + } + + 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 { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + 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.cloud.chronicle.v1.CustomAPIPagination.NonePagination)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination other = + (com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination) obj; + + 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 = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination 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.cloud.chronicle.v1.CustomAPIPagination.NonePagination parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.CustomAPIPagination.NonePagination 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * Fetch data in a single request without paging.
+     * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPIPagination.NonePagination} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.CustomAPIPagination.NonePagination) + com.google.cloud.chronicle.v1.CustomAPIPagination.NonePaginationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_NonePagination_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_NonePagination_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination.class, + com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination.Builder.class); + } + + // Construct using + // com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_NonePagination_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination + getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination build() { + com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination buildPartial() { + com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination result = + new com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination) { + return mergeFrom( + (com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination other) { + if (other + == com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination + .getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.CustomAPIPagination.NonePagination) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.CustomAPIPagination.NonePagination) + private static final com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination(); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NonePagination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface TokenPaginationOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Required. Enter the field in the API response that contains the URL or
+     * token needed to fetch the next page of data.
+     * 
+ * + * string next_page_token_json_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The nextPageTokenJsonPath. + */ + java.lang.String getNextPageTokenJsonPath(); + + /** + * + * + *
+     * Required. Enter the field in the API response that contains the URL or
+     * token needed to fetch the next page of data.
+     * 
+ * + * string next_page_token_json_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for nextPageTokenJsonPath. + */ + com.google.protobuf.ByteString getNextPageTokenJsonPathBytes(); + + /** + * + * + *
+     * Required. Specify the name of the query parameter for next page token in
+     * request.
+     * 
+ * + * string query_param = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The queryParam. + */ + java.lang.String getQueryParam(); + + /** + * + * + *
+     * Required. Specify the name of the query parameter for next page token in
+     * request.
+     * 
+ * + * string query_param = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for queryParam. + */ + com.google.protobuf.ByteString getQueryParamBytes(); + } + + /** + * + * + *
+   * Use tokens (custom keys) to get the next page of data.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination} + */ + public static final class TokenPagination extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination) + TokenPaginationOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "TokenPagination"); + } + + // Use TokenPagination.newBuilder() to construct. + private TokenPagination(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private TokenPagination() { + nextPageTokenJsonPath_ = ""; + queryParam_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_TokenPagination_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_TokenPagination_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination.class, + com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination.Builder.class); + } + + public static final int NEXT_PAGE_TOKEN_JSON_PATH_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object nextPageTokenJsonPath_ = ""; + + /** + * + * + *
+     * Required. Enter the field in the API response that contains the URL or
+     * token needed to fetch the next page of data.
+     * 
+ * + * string next_page_token_json_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The nextPageTokenJsonPath. + */ + @java.lang.Override + public java.lang.String getNextPageTokenJsonPath() { + java.lang.Object ref = nextPageTokenJsonPath_; + 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(); + nextPageTokenJsonPath_ = s; + return s; + } + } + + /** + * + * + *
+     * Required. Enter the field in the API response that contains the URL or
+     * token needed to fetch the next page of data.
+     * 
+ * + * string next_page_token_json_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for nextPageTokenJsonPath. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNextPageTokenJsonPathBytes() { + java.lang.Object ref = nextPageTokenJsonPath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageTokenJsonPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int QUERY_PARAM_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object queryParam_ = ""; + + /** + * + * + *
+     * Required. Specify the name of the query parameter for next page token in
+     * request.
+     * 
+ * + * string query_param = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The queryParam. + */ + @java.lang.Override + public java.lang.String getQueryParam() { + java.lang.Object ref = queryParam_; + 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(); + queryParam_ = s; + return s; + } + } + + /** + * + * + *
+     * Required. Specify the name of the query parameter for next page token in
+     * request.
+     * 
+ * + * string query_param = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for queryParam. + */ + @java.lang.Override + public com.google.protobuf.ByteString getQueryParamBytes() { + java.lang.Object ref = queryParam_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + queryParam_ = 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.GeneratedMessage.isStringEmpty(nextPageTokenJsonPath_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, nextPageTokenJsonPath_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(queryParam_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, queryParam_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageTokenJsonPath_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, nextPageTokenJsonPath_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(queryParam_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, queryParam_); + } + 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.cloud.chronicle.v1.CustomAPIPagination.TokenPagination)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination other = + (com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination) obj; + + if (!getNextPageTokenJsonPath().equals(other.getNextPageTokenJsonPath())) return false; + if (!getQueryParam().equals(other.getQueryParam())) 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) + NEXT_PAGE_TOKEN_JSON_PATH_FIELD_NUMBER; + hash = (53 * hash) + getNextPageTokenJsonPath().hashCode(); + hash = (37 * hash) + QUERY_PARAM_FIELD_NUMBER; + hash = (53 * hash) + getQueryParam().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination 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.cloud.chronicle.v1.CustomAPIPagination.TokenPagination parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.CustomAPIPagination.TokenPagination 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * Use tokens (custom keys) to get the next page of data.
+     * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination) + com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPaginationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_TokenPagination_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_TokenPagination_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination.class, + com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination.Builder.class); + } + + // Construct using + // com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + nextPageTokenJsonPath_ = ""; + queryParam_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_TokenPagination_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination + getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination build() { + com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination buildPartial() { + com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination result = + new com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.nextPageTokenJsonPath_ = nextPageTokenJsonPath_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.queryParam_ = queryParam_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination) { + return mergeFrom( + (com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination other) { + if (other + == com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination + .getDefaultInstance()) return this; + if (!other.getNextPageTokenJsonPath().isEmpty()) { + nextPageTokenJsonPath_ = other.nextPageTokenJsonPath_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getQueryParam().isEmpty()) { + queryParam_ = other.queryParam_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + nextPageTokenJsonPath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + queryParam_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object nextPageTokenJsonPath_ = ""; + + /** + * + * + *
+       * Required. Enter the field in the API response that contains the URL or
+       * token needed to fetch the next page of data.
+       * 
+ * + * string next_page_token_json_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The nextPageTokenJsonPath. + */ + public java.lang.String getNextPageTokenJsonPath() { + java.lang.Object ref = nextPageTokenJsonPath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageTokenJsonPath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+       * Required. Enter the field in the API response that contains the URL or
+       * token needed to fetch the next page of data.
+       * 
+ * + * string next_page_token_json_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The bytes for nextPageTokenJsonPath. + */ + public com.google.protobuf.ByteString getNextPageTokenJsonPathBytes() { + java.lang.Object ref = nextPageTokenJsonPath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageTokenJsonPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+       * Required. Enter the field in the API response that contains the URL or
+       * token needed to fetch the next page of data.
+       * 
+ * + * string next_page_token_json_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The nextPageTokenJsonPath to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenJsonPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + nextPageTokenJsonPath_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * Required. Enter the field in the API response that contains the URL or
+       * token needed to fetch the next page of data.
+       * 
+ * + * string next_page_token_json_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return This builder for chaining. + */ + public Builder clearNextPageTokenJsonPath() { + nextPageTokenJsonPath_ = getDefaultInstance().getNextPageTokenJsonPath(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+       * Required. Enter the field in the API response that contains the URL or
+       * token needed to fetch the next page of data.
+       * 
+ * + * string next_page_token_json_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The bytes for nextPageTokenJsonPath to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenJsonPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageTokenJsonPath_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object queryParam_ = ""; + + /** + * + * + *
+       * Required. Specify the name of the query parameter for next page token in
+       * request.
+       * 
+ * + * string query_param = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The queryParam. + */ + public java.lang.String getQueryParam() { + java.lang.Object ref = queryParam_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + queryParam_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+       * Required. Specify the name of the query parameter for next page token in
+       * request.
+       * 
+ * + * string query_param = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for queryParam. + */ + public com.google.protobuf.ByteString getQueryParamBytes() { + java.lang.Object ref = queryParam_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + queryParam_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+       * Required. Specify the name of the query parameter for next page token in
+       * request.
+       * 
+ * + * string query_param = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The queryParam to set. + * @return This builder for chaining. + */ + public Builder setQueryParam(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + queryParam_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+       * Required. Specify the name of the query parameter for next page token in
+       * request.
+       * 
+ * + * string query_param = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearQueryParam() { + queryParam_ = getDefaultInstance().getQueryParam(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+       * Required. Specify the name of the query parameter for next page token in
+       * request.
+       * 
+ * + * string query_param = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for queryParam to set. + * @return This builder for chaining. + */ + public Builder setQueryParamBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queryParam_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination) + private static final com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination(); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TokenPagination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface LinkPaginationOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Required. Enter the field in the API response that contains the URL or
+     * token needed to fetch the next page of data.
+     * 
+ * + * string next_page_link_json_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The nextPageLinkJsonPath. + */ + java.lang.String getNextPageLinkJsonPath(); + + /** + * + * + *
+     * Required. Enter the field in the API response that contains the URL or
+     * token needed to fetch the next page of data.
+     * 
+ * + * string next_page_link_json_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for nextPageLinkJsonPath. + */ + com.google.protobuf.ByteString getNextPageLinkJsonPathBytes(); + } + + /** + * + * + *
+   * Follow links provided in the response to get more data.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination} + */ + public static final class LinkPagination extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination) + LinkPaginationOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "LinkPagination"); + } + + // Use LinkPagination.newBuilder() to construct. + private LinkPagination(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private LinkPagination() { + nextPageLinkJsonPath_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_LinkPagination_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_LinkPagination_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination.class, + com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination.Builder.class); + } + + public static final int NEXT_PAGE_LINK_JSON_PATH_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object nextPageLinkJsonPath_ = ""; + + /** + * + * + *
+     * Required. Enter the field in the API response that contains the URL or
+     * token needed to fetch the next page of data.
+     * 
+ * + * string next_page_link_json_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The nextPageLinkJsonPath. + */ + @java.lang.Override + public java.lang.String getNextPageLinkJsonPath() { + java.lang.Object ref = nextPageLinkJsonPath_; + 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(); + nextPageLinkJsonPath_ = s; + return s; + } + } + + /** + * + * + *
+     * Required. Enter the field in the API response that contains the URL or
+     * token needed to fetch the next page of data.
+     * 
+ * + * string next_page_link_json_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for nextPageLinkJsonPath. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNextPageLinkJsonPathBytes() { + java.lang.Object ref = nextPageLinkJsonPath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageLinkJsonPath_ = 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.GeneratedMessage.isStringEmpty(nextPageLinkJsonPath_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, nextPageLinkJsonPath_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageLinkJsonPath_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, nextPageLinkJsonPath_); + } + 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.cloud.chronicle.v1.CustomAPIPagination.LinkPagination)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination other = + (com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination) obj; + + if (!getNextPageLinkJsonPath().equals(other.getNextPageLinkJsonPath())) 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) + NEXT_PAGE_LINK_JSON_PATH_FIELD_NUMBER; + hash = (53 * hash) + getNextPageLinkJsonPath().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination 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.cloud.chronicle.v1.CustomAPIPagination.LinkPagination parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.CustomAPIPagination.LinkPagination 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * Follow links provided in the response to get more data.
+     * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination) + com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPaginationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_LinkPagination_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_LinkPagination_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination.class, + com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination.Builder.class); + } + + // Construct using + // com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + nextPageLinkJsonPath_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_LinkPagination_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination + getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination build() { + com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination buildPartial() { + com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination result = + new com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.nextPageLinkJsonPath_ = nextPageLinkJsonPath_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination) { + return mergeFrom( + (com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination other) { + if (other + == com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination + .getDefaultInstance()) return this; + if (!other.getNextPageLinkJsonPath().isEmpty()) { + nextPageLinkJsonPath_ = other.nextPageLinkJsonPath_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + nextPageLinkJsonPath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object nextPageLinkJsonPath_ = ""; + + /** + * + * + *
+       * Required. Enter the field in the API response that contains the URL or
+       * token needed to fetch the next page of data.
+       * 
+ * + * string next_page_link_json_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The nextPageLinkJsonPath. + */ + public java.lang.String getNextPageLinkJsonPath() { + java.lang.Object ref = nextPageLinkJsonPath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageLinkJsonPath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+       * Required. Enter the field in the API response that contains the URL or
+       * token needed to fetch the next page of data.
+       * 
+ * + * string next_page_link_json_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for nextPageLinkJsonPath. + */ + public com.google.protobuf.ByteString getNextPageLinkJsonPathBytes() { + java.lang.Object ref = nextPageLinkJsonPath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageLinkJsonPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+       * Required. Enter the field in the API response that contains the URL or
+       * token needed to fetch the next page of data.
+       * 
+ * + * string next_page_link_json_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The nextPageLinkJsonPath to set. + * @return This builder for chaining. + */ + public Builder setNextPageLinkJsonPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + nextPageLinkJsonPath_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * Required. Enter the field in the API response that contains the URL or
+       * token needed to fetch the next page of data.
+       * 
+ * + * string next_page_link_json_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearNextPageLinkJsonPath() { + nextPageLinkJsonPath_ = getDefaultInstance().getNextPageLinkJsonPath(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+       * Required. Enter the field in the API response that contains the URL or
+       * token needed to fetch the next page of data.
+       * 
+ * + * string next_page_link_json_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for nextPageLinkJsonPath to set. + * @return This builder for chaining. + */ + public Builder setNextPageLinkJsonPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageLinkJsonPath_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination) + private static final com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination(); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LinkPagination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface OffsetPaginationOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Required. Specify the name of the query parameter for offset in request.
+     * 
+ * + * string offset_query_param = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The offsetQueryParam. + */ + java.lang.String getOffsetQueryParam(); + + /** + * + * + *
+     * Required. Specify the name of the query parameter for offset in request.
+     * 
+ * + * string offset_query_param = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for offsetQueryParam. + */ + com.google.protobuf.ByteString getOffsetQueryParamBytes(); + } + + /** + * + * + *
+   * Skip a set number of records to get the next set.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination} + */ + public static final class OffsetPagination extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination) + OffsetPaginationOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "OffsetPagination"); + } + + // Use OffsetPagination.newBuilder() to construct. + private OffsetPagination(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private OffsetPagination() { + offsetQueryParam_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_OffsetPagination_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_OffsetPagination_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination.class, + com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination.Builder.class); + } + + public static final int OFFSET_QUERY_PARAM_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object offsetQueryParam_ = ""; + + /** + * + * + *
+     * Required. Specify the name of the query parameter for offset in request.
+     * 
+ * + * string offset_query_param = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The offsetQueryParam. + */ + @java.lang.Override + public java.lang.String getOffsetQueryParam() { + java.lang.Object ref = offsetQueryParam_; + 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(); + offsetQueryParam_ = s; + return s; + } + } + + /** + * + * + *
+     * Required. Specify the name of the query parameter for offset in request.
+     * 
+ * + * string offset_query_param = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for offsetQueryParam. + */ + @java.lang.Override + public com.google.protobuf.ByteString getOffsetQueryParamBytes() { + java.lang.Object ref = offsetQueryParam_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + offsetQueryParam_ = 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.GeneratedMessage.isStringEmpty(offsetQueryParam_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, offsetQueryParam_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(offsetQueryParam_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, offsetQueryParam_); + } + 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.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination other = + (com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination) obj; + + if (!getOffsetQueryParam().equals(other.getOffsetQueryParam())) 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) + OFFSET_QUERY_PARAM_FIELD_NUMBER; + hash = (53 * hash) + getOffsetQueryParam().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination 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.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * Skip a set number of records to get the next set.
+     * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination) + com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPaginationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_OffsetPagination_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_OffsetPagination_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination.class, + com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination.Builder.class); + } + + // Construct using + // com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + offsetQueryParam_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_OffsetPagination_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination + getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination build() { + com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination buildPartial() { + com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination result = + new com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.offsetQueryParam_ = offsetQueryParam_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination) { + return mergeFrom( + (com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination other) { + if (other + == com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination + .getDefaultInstance()) return this; + if (!other.getOffsetQueryParam().isEmpty()) { + offsetQueryParam_ = other.offsetQueryParam_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + offsetQueryParam_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object offsetQueryParam_ = ""; + + /** + * + * + *
+       * Required. Specify the name of the query parameter for offset in request.
+       * 
+ * + * string offset_query_param = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The offsetQueryParam. + */ + public java.lang.String getOffsetQueryParam() { + java.lang.Object ref = offsetQueryParam_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + offsetQueryParam_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+       * Required. Specify the name of the query parameter for offset in request.
+       * 
+ * + * string offset_query_param = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for offsetQueryParam. + */ + public com.google.protobuf.ByteString getOffsetQueryParamBytes() { + java.lang.Object ref = offsetQueryParam_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + offsetQueryParam_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+       * Required. Specify the name of the query parameter for offset in request.
+       * 
+ * + * string offset_query_param = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The offsetQueryParam to set. + * @return This builder for chaining. + */ + public Builder setOffsetQueryParam(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + offsetQueryParam_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * Required. Specify the name of the query parameter for offset in request.
+       * 
+ * + * string offset_query_param = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearOffsetQueryParam() { + offsetQueryParam_ = getDefaultInstance().getOffsetQueryParam(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+       * Required. Specify the name of the query parameter for offset in request.
+       * 
+ * + * string offset_query_param = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for offsetQueryParam to set. + * @return This builder for chaining. + */ + public Builder setOffsetQueryParamBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + offsetQueryParam_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination) + private static final com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination(); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OffsetPagination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface PageNumberPaginationOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Required. Specify the name of the query parameter for page number in
+     * request.
+     * 
+ * + * string page_number_query_param = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The pageNumberQueryParam. + */ + java.lang.String getPageNumberQueryParam(); + + /** + * + * + *
+     * Required. Specify the name of the query parameter for page number in
+     * request.
+     * 
+ * + * string page_number_query_param = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for pageNumberQueryParam. + */ + com.google.protobuf.ByteString getPageNumberQueryParamBytes(); + } + + /** + * + * + *
+   * Go to the next page number (e.g., page 2).
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination} + */ + public static final class PageNumberPagination extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination) + PageNumberPaginationOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "PageNumberPagination"); + } + + // Use PageNumberPagination.newBuilder() to construct. + private PageNumberPagination(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private PageNumberPagination() { + pageNumberQueryParam_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_PageNumberPagination_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_PageNumberPagination_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination.class, + com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination.Builder.class); + } + + public static final int PAGE_NUMBER_QUERY_PARAM_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object pageNumberQueryParam_ = ""; + + /** + * + * + *
+     * Required. Specify the name of the query parameter for page number in
+     * request.
+     * 
+ * + * string page_number_query_param = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The pageNumberQueryParam. + */ + @java.lang.Override + public java.lang.String getPageNumberQueryParam() { + java.lang.Object ref = pageNumberQueryParam_; + 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(); + pageNumberQueryParam_ = s; + return s; + } + } + + /** + * + * + *
+     * Required. Specify the name of the query parameter for page number in
+     * request.
+     * 
+ * + * string page_number_query_param = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for pageNumberQueryParam. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPageNumberQueryParamBytes() { + java.lang.Object ref = pageNumberQueryParam_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageNumberQueryParam_ = 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.GeneratedMessage.isStringEmpty(pageNumberQueryParam_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, pageNumberQueryParam_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageNumberQueryParam_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, pageNumberQueryParam_); + } + 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.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination other = + (com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination) obj; + + if (!getPageNumberQueryParam().equals(other.getPageNumberQueryParam())) 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) + PAGE_NUMBER_QUERY_PARAM_FIELD_NUMBER; + hash = (53 * hash) + getPageNumberQueryParam().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination 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.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * Go to the next page number (e.g., page 2).
+     * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination) + com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPaginationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_PageNumberPagination_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_PageNumberPagination_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination.class, + com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination.Builder + .class); + } + + // Construct using + // com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + pageNumberQueryParam_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_PageNumberPagination_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination + getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination build() { + com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination buildPartial() { + com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination result = + new com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.pageNumberQueryParam_ = pageNumberQueryParam_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination) { + return mergeFrom( + (com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination other) { + if (other + == com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination + .getDefaultInstance()) return this; + if (!other.getPageNumberQueryParam().isEmpty()) { + pageNumberQueryParam_ = other.pageNumberQueryParam_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + pageNumberQueryParam_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object pageNumberQueryParam_ = ""; + + /** + * + * + *
+       * Required. Specify the name of the query parameter for page number in
+       * request.
+       * 
+ * + * string page_number_query_param = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The pageNumberQueryParam. + */ + public java.lang.String getPageNumberQueryParam() { + java.lang.Object ref = pageNumberQueryParam_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageNumberQueryParam_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+       * Required. Specify the name of the query parameter for page number in
+       * request.
+       * 
+ * + * string page_number_query_param = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for pageNumberQueryParam. + */ + public com.google.protobuf.ByteString getPageNumberQueryParamBytes() { + java.lang.Object ref = pageNumberQueryParam_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageNumberQueryParam_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+       * Required. Specify the name of the query parameter for page number in
+       * request.
+       * 
+ * + * string page_number_query_param = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The pageNumberQueryParam to set. + * @return This builder for chaining. + */ + public Builder setPageNumberQueryParam(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + pageNumberQueryParam_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * Required. Specify the name of the query parameter for page number in
+       * request.
+       * 
+ * + * string page_number_query_param = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearPageNumberQueryParam() { + pageNumberQueryParam_ = getDefaultInstance().getPageNumberQueryParam(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+       * Required. Specify the name of the query parameter for page number in
+       * request.
+       * 
+ * + * string page_number_query_param = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for pageNumberQueryParam to set. + * @return This builder for chaining. + */ + public Builder setPageNumberQueryParamBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageNumberQueryParam_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination) + private static final com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination(); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PageNumberPagination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int paginationStrategyCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object paginationStrategy_; + + public enum PaginationStrategyCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + NONE(4), + TOKEN(5), + LINK(6), + OFFSET(7), + PAGE_NUMBER(8), + PAGINATIONSTRATEGY_NOT_SET(0); + private final int value; + + private PaginationStrategyCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static PaginationStrategyCase valueOf(int value) { + return forNumber(value); + } + + public static PaginationStrategyCase forNumber(int value) { + switch (value) { + case 4: + return NONE; + case 5: + return TOKEN; + case 6: + return LINK; + case 7: + return OFFSET; + case 8: + return PAGE_NUMBER; + case 0: + return PAGINATIONSTRATEGY_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public PaginationStrategyCase getPaginationStrategyCase() { + return PaginationStrategyCase.forNumber(paginationStrategyCase_); + } + + public static final int NONE_FIELD_NUMBER = 4; + + /** + * + * + *
+   * Fetch data in a single request without paging.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.NonePagination none = 4; + * + * @return Whether the none field is set. + */ + @java.lang.Override + public boolean hasNone() { + return paginationStrategyCase_ == 4; + } + + /** + * + * + *
+   * Fetch data in a single request without paging.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.NonePagination none = 4; + * + * @return The none. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination getNone() { + if (paginationStrategyCase_ == 4) { + return (com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination) paginationStrategy_; + } + return com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination.getDefaultInstance(); + } + + /** + * + * + *
+   * Fetch data in a single request without paging.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.NonePagination none = 4; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.NonePaginationOrBuilder + getNoneOrBuilder() { + if (paginationStrategyCase_ == 4) { + return (com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination) paginationStrategy_; + } + return com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination.getDefaultInstance(); + } + + public static final int TOKEN_FIELD_NUMBER = 5; + + /** + * + * + *
+   * Use tokens (custom keys) to get the next page of data.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination token = 5; + * + * @return Whether the token field is set. + */ + @java.lang.Override + public boolean hasToken() { + return paginationStrategyCase_ == 5; + } + + /** + * + * + *
+   * Use tokens (custom keys) to get the next page of data.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination token = 5; + * + * @return The token. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination getToken() { + if (paginationStrategyCase_ == 5) { + return (com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination) + paginationStrategy_; + } + return com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination.getDefaultInstance(); + } + + /** + * + * + *
+   * Use tokens (custom keys) to get the next page of data.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination token = 5; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPaginationOrBuilder + getTokenOrBuilder() { + if (paginationStrategyCase_ == 5) { + return (com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination) + paginationStrategy_; + } + return com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination.getDefaultInstance(); + } + + public static final int LINK_FIELD_NUMBER = 6; + + /** + * + * + *
+   * Follow links provided in the response to get more data.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination link = 6; + * + * @return Whether the link field is set. + */ + @java.lang.Override + public boolean hasLink() { + return paginationStrategyCase_ == 6; + } + + /** + * + * + *
+   * Follow links provided in the response to get more data.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination link = 6; + * + * @return The link. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination getLink() { + if (paginationStrategyCase_ == 6) { + return (com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination) paginationStrategy_; + } + return com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination.getDefaultInstance(); + } + + /** + * + * + *
+   * Follow links provided in the response to get more data.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination link = 6; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPaginationOrBuilder + getLinkOrBuilder() { + if (paginationStrategyCase_ == 6) { + return (com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination) paginationStrategy_; + } + return com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination.getDefaultInstance(); + } + + public static final int OFFSET_FIELD_NUMBER = 7; + + /** + * + * + *
+   * Skip a set number of records to get the next set.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination offset = 7; + * + * @return Whether the offset field is set. + */ + @java.lang.Override + public boolean hasOffset() { + return paginationStrategyCase_ == 7; + } + + /** + * + * + *
+   * Skip a set number of records to get the next set.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination offset = 7; + * + * @return The offset. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination getOffset() { + if (paginationStrategyCase_ == 7) { + return (com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination) + paginationStrategy_; + } + return com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination.getDefaultInstance(); + } + + /** + * + * + *
+   * Skip a set number of records to get the next set.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination offset = 7; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPaginationOrBuilder + getOffsetOrBuilder() { + if (paginationStrategyCase_ == 7) { + return (com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination) + paginationStrategy_; + } + return com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination.getDefaultInstance(); + } + + public static final int PAGE_NUMBER_FIELD_NUMBER = 8; + + /** + * + * + *
+   * Go to the next page number (e.g., page 2).
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination page_number = 8; + * + * + * @return Whether the pageNumber field is set. + */ + @java.lang.Override + public boolean hasPageNumber() { + return paginationStrategyCase_ == 8; + } + + /** + * + * + *
+   * Go to the next page number (e.g., page 2).
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination page_number = 8; + * + * + * @return The pageNumber. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination getPageNumber() { + if (paginationStrategyCase_ == 8) { + return (com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination) + paginationStrategy_; + } + return com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination + .getDefaultInstance(); + } + + /** + * + * + *
+   * Go to the next page number (e.g., page 2).
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination page_number = 8; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPaginationOrBuilder + getPageNumberOrBuilder() { + if (paginationStrategyCase_ == 8) { + return (com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination) + paginationStrategy_; + } + return com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination + .getDefaultInstance(); + } + + 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 (paginationStrategyCase_ == 4) { + output.writeMessage( + 4, + (com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination) paginationStrategy_); + } + if (paginationStrategyCase_ == 5) { + output.writeMessage( + 5, + (com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination) paginationStrategy_); + } + if (paginationStrategyCase_ == 6) { + output.writeMessage( + 6, + (com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination) paginationStrategy_); + } + if (paginationStrategyCase_ == 7) { + output.writeMessage( + 7, + (com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination) paginationStrategy_); + } + if (paginationStrategyCase_ == 8) { + output.writeMessage( + 8, + (com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination) + paginationStrategy_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (paginationStrategyCase_ == 4) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, + (com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination) + paginationStrategy_); + } + if (paginationStrategyCase_ == 5) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, + (com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination) + paginationStrategy_); + } + if (paginationStrategyCase_ == 6) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, + (com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination) + paginationStrategy_); + } + if (paginationStrategyCase_ == 7) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, + (com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination) + paginationStrategy_); + } + if (paginationStrategyCase_ == 8) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, + (com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination) + paginationStrategy_); + } + 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.cloud.chronicle.v1.CustomAPIPagination)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.CustomAPIPagination other = + (com.google.cloud.chronicle.v1.CustomAPIPagination) obj; + + if (!getPaginationStrategyCase().equals(other.getPaginationStrategyCase())) return false; + switch (paginationStrategyCase_) { + case 4: + if (!getNone().equals(other.getNone())) return false; + break; + case 5: + if (!getToken().equals(other.getToken())) return false; + break; + case 6: + if (!getLink().equals(other.getLink())) return false; + break; + case 7: + if (!getOffset().equals(other.getOffset())) return false; + break; + case 8: + if (!getPageNumber().equals(other.getPageNumber())) return false; + break; + case 0: + default: + } + 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(); + switch (paginationStrategyCase_) { + case 4: + hash = (37 * hash) + NONE_FIELD_NUMBER; + hash = (53 * hash) + getNone().hashCode(); + break; + case 5: + hash = (37 * hash) + TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getToken().hashCode(); + break; + case 6: + hash = (37 * hash) + LINK_FIELD_NUMBER; + hash = (53 * hash) + getLink().hashCode(); + break; + case 7: + hash = (37 * hash) + OFFSET_FIELD_NUMBER; + hash = (53 * hash) + getOffset().hashCode(); + break; + case 8: + hash = (37 * hash) + PAGE_NUMBER_FIELD_NUMBER; + hash = (53 * hash) + getPageNumber().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination 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.cloud.chronicle.v1.CustomAPIPagination parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.CustomAPIPagination 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Pagination strategy for the request.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPIPagination} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.CustomAPIPagination) + com.google.cloud.chronicle.v1.CustomAPIPaginationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPIPagination.class, + com.google.cloud.chronicle.v1.CustomAPIPagination.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.CustomAPIPagination.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (noneBuilder_ != null) { + noneBuilder_.clear(); + } + if (tokenBuilder_ != null) { + tokenBuilder_.clear(); + } + if (linkBuilder_ != null) { + linkBuilder_.clear(); + } + if (offsetBuilder_ != null) { + offsetBuilder_.clear(); + } + if (pageNumberBuilder_ != null) { + pageNumberBuilder_.clear(); + } + paginationStrategyCase_ = 0; + paginationStrategy_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIPagination_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.CustomAPIPagination.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination build() { + com.google.cloud.chronicle.v1.CustomAPIPagination result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination buildPartial() { + com.google.cloud.chronicle.v1.CustomAPIPagination result = + new com.google.cloud.chronicle.v1.CustomAPIPagination(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.CustomAPIPagination result) { + int from_bitField0_ = bitField0_; + } + + private void buildPartialOneofs(com.google.cloud.chronicle.v1.CustomAPIPagination result) { + result.paginationStrategyCase_ = paginationStrategyCase_; + result.paginationStrategy_ = this.paginationStrategy_; + if (paginationStrategyCase_ == 4 && noneBuilder_ != null) { + result.paginationStrategy_ = noneBuilder_.build(); + } + if (paginationStrategyCase_ == 5 && tokenBuilder_ != null) { + result.paginationStrategy_ = tokenBuilder_.build(); + } + if (paginationStrategyCase_ == 6 && linkBuilder_ != null) { + result.paginationStrategy_ = linkBuilder_.build(); + } + if (paginationStrategyCase_ == 7 && offsetBuilder_ != null) { + result.paginationStrategy_ = offsetBuilder_.build(); + } + if (paginationStrategyCase_ == 8 && pageNumberBuilder_ != null) { + result.paginationStrategy_ = pageNumberBuilder_.build(); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.CustomAPIPagination) { + return mergeFrom((com.google.cloud.chronicle.v1.CustomAPIPagination) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.CustomAPIPagination other) { + if (other == com.google.cloud.chronicle.v1.CustomAPIPagination.getDefaultInstance()) + return this; + switch (other.getPaginationStrategyCase()) { + case NONE: + { + mergeNone(other.getNone()); + break; + } + case TOKEN: + { + mergeToken(other.getToken()); + break; + } + case LINK: + { + mergeLink(other.getLink()); + break; + } + case OFFSET: + { + mergeOffset(other.getOffset()); + break; + } + case PAGE_NUMBER: + { + mergePageNumber(other.getPageNumber()); + break; + } + case PAGINATIONSTRATEGY_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 34: + { + input.readMessage(internalGetNoneFieldBuilder().getBuilder(), extensionRegistry); + paginationStrategyCase_ = 4; + break; + } // case 34 + case 42: + { + input.readMessage(internalGetTokenFieldBuilder().getBuilder(), extensionRegistry); + paginationStrategyCase_ = 5; + break; + } // case 42 + case 50: + { + input.readMessage(internalGetLinkFieldBuilder().getBuilder(), extensionRegistry); + paginationStrategyCase_ = 6; + break; + } // case 50 + case 58: + { + input.readMessage(internalGetOffsetFieldBuilder().getBuilder(), extensionRegistry); + paginationStrategyCase_ = 7; + break; + } // case 58 + case 66: + { + input.readMessage( + internalGetPageNumberFieldBuilder().getBuilder(), extensionRegistry); + paginationStrategyCase_ = 8; + break; + } // case 66 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int paginationStrategyCase_ = 0; + private java.lang.Object paginationStrategy_; + + public PaginationStrategyCase getPaginationStrategyCase() { + return PaginationStrategyCase.forNumber(paginationStrategyCase_); + } + + public Builder clearPaginationStrategy() { + paginationStrategyCase_ = 0; + paginationStrategy_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination, + com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination.Builder, + com.google.cloud.chronicle.v1.CustomAPIPagination.NonePaginationOrBuilder> + noneBuilder_; + + /** + * + * + *
+     * Fetch data in a single request without paging.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.NonePagination none = 4; + * + * @return Whether the none field is set. + */ + @java.lang.Override + public boolean hasNone() { + return paginationStrategyCase_ == 4; + } + + /** + * + * + *
+     * Fetch data in a single request without paging.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.NonePagination none = 4; + * + * @return The none. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination getNone() { + if (noneBuilder_ == null) { + if (paginationStrategyCase_ == 4) { + return (com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination) + paginationStrategy_; + } + return com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination + .getDefaultInstance(); + } else { + if (paginationStrategyCase_ == 4) { + return noneBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Fetch data in a single request without paging.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.NonePagination none = 4; + */ + public Builder setNone(com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination value) { + if (noneBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + paginationStrategy_ = value; + onChanged(); + } else { + noneBuilder_.setMessage(value); + } + paginationStrategyCase_ = 4; + return this; + } + + /** + * + * + *
+     * Fetch data in a single request without paging.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.NonePagination none = 4; + */ + public Builder setNone( + com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination.Builder builderForValue) { + if (noneBuilder_ == null) { + paginationStrategy_ = builderForValue.build(); + onChanged(); + } else { + noneBuilder_.setMessage(builderForValue.build()); + } + paginationStrategyCase_ = 4; + return this; + } + + /** + * + * + *
+     * Fetch data in a single request without paging.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.NonePagination none = 4; + */ + public Builder mergeNone( + com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination value) { + if (noneBuilder_ == null) { + if (paginationStrategyCase_ == 4 + && paginationStrategy_ + != com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination + .getDefaultInstance()) { + paginationStrategy_ = + com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination.newBuilder( + (com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination) + paginationStrategy_) + .mergeFrom(value) + .buildPartial(); + } else { + paginationStrategy_ = value; + } + onChanged(); + } else { + if (paginationStrategyCase_ == 4) { + noneBuilder_.mergeFrom(value); + } else { + noneBuilder_.setMessage(value); + } + } + paginationStrategyCase_ = 4; + return this; + } + + /** + * + * + *
+     * Fetch data in a single request without paging.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.NonePagination none = 4; + */ + public Builder clearNone() { + if (noneBuilder_ == null) { + if (paginationStrategyCase_ == 4) { + paginationStrategyCase_ = 0; + paginationStrategy_ = null; + onChanged(); + } + } else { + if (paginationStrategyCase_ == 4) { + paginationStrategyCase_ = 0; + paginationStrategy_ = null; + } + noneBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Fetch data in a single request without paging.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.NonePagination none = 4; + */ + public com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination.Builder + getNoneBuilder() { + return internalGetNoneFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Fetch data in a single request without paging.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.NonePagination none = 4; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.NonePaginationOrBuilder + getNoneOrBuilder() { + if ((paginationStrategyCase_ == 4) && (noneBuilder_ != null)) { + return noneBuilder_.getMessageOrBuilder(); + } else { + if (paginationStrategyCase_ == 4) { + return (com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination) + paginationStrategy_; + } + return com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Fetch data in a single request without paging.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.NonePagination none = 4; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination, + com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination.Builder, + com.google.cloud.chronicle.v1.CustomAPIPagination.NonePaginationOrBuilder> + internalGetNoneFieldBuilder() { + if (noneBuilder_ == null) { + if (!(paginationStrategyCase_ == 4)) { + paginationStrategy_ = + com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination.getDefaultInstance(); + } + noneBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination, + com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination.Builder, + com.google.cloud.chronicle.v1.CustomAPIPagination.NonePaginationOrBuilder>( + (com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination) + paginationStrategy_, + getParentForChildren(), + isClean()); + paginationStrategy_ = null; + } + paginationStrategyCase_ = 4; + onChanged(); + return noneBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination, + com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination.Builder, + com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPaginationOrBuilder> + tokenBuilder_; + + /** + * + * + *
+     * Use tokens (custom keys) to get the next page of data.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination token = 5; + * + * @return Whether the token field is set. + */ + @java.lang.Override + public boolean hasToken() { + return paginationStrategyCase_ == 5; + } + + /** + * + * + *
+     * Use tokens (custom keys) to get the next page of data.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination token = 5; + * + * @return The token. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination getToken() { + if (tokenBuilder_ == null) { + if (paginationStrategyCase_ == 5) { + return (com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination) + paginationStrategy_; + } + return com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination + .getDefaultInstance(); + } else { + if (paginationStrategyCase_ == 5) { + return tokenBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Use tokens (custom keys) to get the next page of data.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination token = 5; + */ + public Builder setToken( + com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination value) { + if (tokenBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + paginationStrategy_ = value; + onChanged(); + } else { + tokenBuilder_.setMessage(value); + } + paginationStrategyCase_ = 5; + return this; + } + + /** + * + * + *
+     * Use tokens (custom keys) to get the next page of data.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination token = 5; + */ + public Builder setToken( + com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination.Builder builderForValue) { + if (tokenBuilder_ == null) { + paginationStrategy_ = builderForValue.build(); + onChanged(); + } else { + tokenBuilder_.setMessage(builderForValue.build()); + } + paginationStrategyCase_ = 5; + return this; + } + + /** + * + * + *
+     * Use tokens (custom keys) to get the next page of data.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination token = 5; + */ + public Builder mergeToken( + com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination value) { + if (tokenBuilder_ == null) { + if (paginationStrategyCase_ == 5 + && paginationStrategy_ + != com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination + .getDefaultInstance()) { + paginationStrategy_ = + com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination.newBuilder( + (com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination) + paginationStrategy_) + .mergeFrom(value) + .buildPartial(); + } else { + paginationStrategy_ = value; + } + onChanged(); + } else { + if (paginationStrategyCase_ == 5) { + tokenBuilder_.mergeFrom(value); + } else { + tokenBuilder_.setMessage(value); + } + } + paginationStrategyCase_ = 5; + return this; + } + + /** + * + * + *
+     * Use tokens (custom keys) to get the next page of data.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination token = 5; + */ + public Builder clearToken() { + if (tokenBuilder_ == null) { + if (paginationStrategyCase_ == 5) { + paginationStrategyCase_ = 0; + paginationStrategy_ = null; + onChanged(); + } + } else { + if (paginationStrategyCase_ == 5) { + paginationStrategyCase_ = 0; + paginationStrategy_ = null; + } + tokenBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Use tokens (custom keys) to get the next page of data.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination token = 5; + */ + public com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination.Builder + getTokenBuilder() { + return internalGetTokenFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Use tokens (custom keys) to get the next page of data.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination token = 5; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPaginationOrBuilder + getTokenOrBuilder() { + if ((paginationStrategyCase_ == 5) && (tokenBuilder_ != null)) { + return tokenBuilder_.getMessageOrBuilder(); + } else { + if (paginationStrategyCase_ == 5) { + return (com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination) + paginationStrategy_; + } + return com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Use tokens (custom keys) to get the next page of data.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination token = 5; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination, + com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination.Builder, + com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPaginationOrBuilder> + internalGetTokenFieldBuilder() { + if (tokenBuilder_ == null) { + if (!(paginationStrategyCase_ == 5)) { + paginationStrategy_ = + com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination + .getDefaultInstance(); + } + tokenBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination, + com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination.Builder, + com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPaginationOrBuilder>( + (com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination) + paginationStrategy_, + getParentForChildren(), + isClean()); + paginationStrategy_ = null; + } + paginationStrategyCase_ = 5; + onChanged(); + return tokenBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination, + com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination.Builder, + com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPaginationOrBuilder> + linkBuilder_; + + /** + * + * + *
+     * Follow links provided in the response to get more data.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination link = 6; + * + * @return Whether the link field is set. + */ + @java.lang.Override + public boolean hasLink() { + return paginationStrategyCase_ == 6; + } + + /** + * + * + *
+     * Follow links provided in the response to get more data.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination link = 6; + * + * @return The link. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination getLink() { + if (linkBuilder_ == null) { + if (paginationStrategyCase_ == 6) { + return (com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination) + paginationStrategy_; + } + return com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination + .getDefaultInstance(); + } else { + if (paginationStrategyCase_ == 6) { + return linkBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Follow links provided in the response to get more data.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination link = 6; + */ + public Builder setLink(com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination value) { + if (linkBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + paginationStrategy_ = value; + onChanged(); + } else { + linkBuilder_.setMessage(value); + } + paginationStrategyCase_ = 6; + return this; + } + + /** + * + * + *
+     * Follow links provided in the response to get more data.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination link = 6; + */ + public Builder setLink( + com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination.Builder builderForValue) { + if (linkBuilder_ == null) { + paginationStrategy_ = builderForValue.build(); + onChanged(); + } else { + linkBuilder_.setMessage(builderForValue.build()); + } + paginationStrategyCase_ = 6; + return this; + } + + /** + * + * + *
+     * Follow links provided in the response to get more data.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination link = 6; + */ + public Builder mergeLink( + com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination value) { + if (linkBuilder_ == null) { + if (paginationStrategyCase_ == 6 + && paginationStrategy_ + != com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination + .getDefaultInstance()) { + paginationStrategy_ = + com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination.newBuilder( + (com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination) + paginationStrategy_) + .mergeFrom(value) + .buildPartial(); + } else { + paginationStrategy_ = value; + } + onChanged(); + } else { + if (paginationStrategyCase_ == 6) { + linkBuilder_.mergeFrom(value); + } else { + linkBuilder_.setMessage(value); + } + } + paginationStrategyCase_ = 6; + return this; + } + + /** + * + * + *
+     * Follow links provided in the response to get more data.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination link = 6; + */ + public Builder clearLink() { + if (linkBuilder_ == null) { + if (paginationStrategyCase_ == 6) { + paginationStrategyCase_ = 0; + paginationStrategy_ = null; + onChanged(); + } + } else { + if (paginationStrategyCase_ == 6) { + paginationStrategyCase_ = 0; + paginationStrategy_ = null; + } + linkBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Follow links provided in the response to get more data.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination link = 6; + */ + public com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination.Builder + getLinkBuilder() { + return internalGetLinkFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Follow links provided in the response to get more data.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination link = 6; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPaginationOrBuilder + getLinkOrBuilder() { + if ((paginationStrategyCase_ == 6) && (linkBuilder_ != null)) { + return linkBuilder_.getMessageOrBuilder(); + } else { + if (paginationStrategyCase_ == 6) { + return (com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination) + paginationStrategy_; + } + return com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Follow links provided in the response to get more data.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination link = 6; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination, + com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination.Builder, + com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPaginationOrBuilder> + internalGetLinkFieldBuilder() { + if (linkBuilder_ == null) { + if (!(paginationStrategyCase_ == 6)) { + paginationStrategy_ = + com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination.getDefaultInstance(); + } + linkBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination, + com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination.Builder, + com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPaginationOrBuilder>( + (com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination) + paginationStrategy_, + getParentForChildren(), + isClean()); + paginationStrategy_ = null; + } + paginationStrategyCase_ = 6; + onChanged(); + return linkBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination, + com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination.Builder, + com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPaginationOrBuilder> + offsetBuilder_; + + /** + * + * + *
+     * Skip a set number of records to get the next set.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination offset = 7; + * + * @return Whether the offset field is set. + */ + @java.lang.Override + public boolean hasOffset() { + return paginationStrategyCase_ == 7; + } + + /** + * + * + *
+     * Skip a set number of records to get the next set.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination offset = 7; + * + * @return The offset. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination getOffset() { + if (offsetBuilder_ == null) { + if (paginationStrategyCase_ == 7) { + return (com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination) + paginationStrategy_; + } + return com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination + .getDefaultInstance(); + } else { + if (paginationStrategyCase_ == 7) { + return offsetBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Skip a set number of records to get the next set.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination offset = 7; + */ + public Builder setOffset( + com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination value) { + if (offsetBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + paginationStrategy_ = value; + onChanged(); + } else { + offsetBuilder_.setMessage(value); + } + paginationStrategyCase_ = 7; + return this; + } + + /** + * + * + *
+     * Skip a set number of records to get the next set.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination offset = 7; + */ + public Builder setOffset( + com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination.Builder + builderForValue) { + if (offsetBuilder_ == null) { + paginationStrategy_ = builderForValue.build(); + onChanged(); + } else { + offsetBuilder_.setMessage(builderForValue.build()); + } + paginationStrategyCase_ = 7; + return this; + } + + /** + * + * + *
+     * Skip a set number of records to get the next set.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination offset = 7; + */ + public Builder mergeOffset( + com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination value) { + if (offsetBuilder_ == null) { + if (paginationStrategyCase_ == 7 + && paginationStrategy_ + != com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination + .getDefaultInstance()) { + paginationStrategy_ = + com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination.newBuilder( + (com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination) + paginationStrategy_) + .mergeFrom(value) + .buildPartial(); + } else { + paginationStrategy_ = value; + } + onChanged(); + } else { + if (paginationStrategyCase_ == 7) { + offsetBuilder_.mergeFrom(value); + } else { + offsetBuilder_.setMessage(value); + } + } + paginationStrategyCase_ = 7; + return this; + } + + /** + * + * + *
+     * Skip a set number of records to get the next set.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination offset = 7; + */ + public Builder clearOffset() { + if (offsetBuilder_ == null) { + if (paginationStrategyCase_ == 7) { + paginationStrategyCase_ = 0; + paginationStrategy_ = null; + onChanged(); + } + } else { + if (paginationStrategyCase_ == 7) { + paginationStrategyCase_ = 0; + paginationStrategy_ = null; + } + offsetBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Skip a set number of records to get the next set.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination offset = 7; + */ + public com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination.Builder + getOffsetBuilder() { + return internalGetOffsetFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Skip a set number of records to get the next set.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination offset = 7; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPaginationOrBuilder + getOffsetOrBuilder() { + if ((paginationStrategyCase_ == 7) && (offsetBuilder_ != null)) { + return offsetBuilder_.getMessageOrBuilder(); + } else { + if (paginationStrategyCase_ == 7) { + return (com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination) + paginationStrategy_; + } + return com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Skip a set number of records to get the next set.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination offset = 7; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination, + com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination.Builder, + com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPaginationOrBuilder> + internalGetOffsetFieldBuilder() { + if (offsetBuilder_ == null) { + if (!(paginationStrategyCase_ == 7)) { + paginationStrategy_ = + com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination + .getDefaultInstance(); + } + offsetBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination, + com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination.Builder, + com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPaginationOrBuilder>( + (com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination) + paginationStrategy_, + getParentForChildren(), + isClean()); + paginationStrategy_ = null; + } + paginationStrategyCase_ = 7; + onChanged(); + return offsetBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination, + com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination.Builder, + com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPaginationOrBuilder> + pageNumberBuilder_; + + /** + * + * + *
+     * Go to the next page number (e.g., page 2).
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination page_number = 8; + * + * + * @return Whether the pageNumber field is set. + */ + @java.lang.Override + public boolean hasPageNumber() { + return paginationStrategyCase_ == 8; + } + + /** + * + * + *
+     * Go to the next page number (e.g., page 2).
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination page_number = 8; + * + * + * @return The pageNumber. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination getPageNumber() { + if (pageNumberBuilder_ == null) { + if (paginationStrategyCase_ == 8) { + return (com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination) + paginationStrategy_; + } + return com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination + .getDefaultInstance(); + } else { + if (paginationStrategyCase_ == 8) { + return pageNumberBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Go to the next page number (e.g., page 2).
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination page_number = 8; + * + */ + public Builder setPageNumber( + com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination value) { + if (pageNumberBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + paginationStrategy_ = value; + onChanged(); + } else { + pageNumberBuilder_.setMessage(value); + } + paginationStrategyCase_ = 8; + return this; + } + + /** + * + * + *
+     * Go to the next page number (e.g., page 2).
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination page_number = 8; + * + */ + public Builder setPageNumber( + com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination.Builder + builderForValue) { + if (pageNumberBuilder_ == null) { + paginationStrategy_ = builderForValue.build(); + onChanged(); + } else { + pageNumberBuilder_.setMessage(builderForValue.build()); + } + paginationStrategyCase_ = 8; + return this; + } + + /** + * + * + *
+     * Go to the next page number (e.g., page 2).
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination page_number = 8; + * + */ + public Builder mergePageNumber( + com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination value) { + if (pageNumberBuilder_ == null) { + if (paginationStrategyCase_ == 8 + && paginationStrategy_ + != com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination + .getDefaultInstance()) { + paginationStrategy_ = + com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination.newBuilder( + (com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination) + paginationStrategy_) + .mergeFrom(value) + .buildPartial(); + } else { + paginationStrategy_ = value; + } + onChanged(); + } else { + if (paginationStrategyCase_ == 8) { + pageNumberBuilder_.mergeFrom(value); + } else { + pageNumberBuilder_.setMessage(value); + } + } + paginationStrategyCase_ = 8; + return this; + } + + /** + * + * + *
+     * Go to the next page number (e.g., page 2).
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination page_number = 8; + * + */ + public Builder clearPageNumber() { + if (pageNumberBuilder_ == null) { + if (paginationStrategyCase_ == 8) { + paginationStrategyCase_ = 0; + paginationStrategy_ = null; + onChanged(); + } + } else { + if (paginationStrategyCase_ == 8) { + paginationStrategyCase_ = 0; + paginationStrategy_ = null; + } + pageNumberBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Go to the next page number (e.g., page 2).
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination page_number = 8; + * + */ + public com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination.Builder + getPageNumberBuilder() { + return internalGetPageNumberFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Go to the next page number (e.g., page 2).
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination page_number = 8; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPaginationOrBuilder + getPageNumberOrBuilder() { + if ((paginationStrategyCase_ == 8) && (pageNumberBuilder_ != null)) { + return pageNumberBuilder_.getMessageOrBuilder(); + } else { + if (paginationStrategyCase_ == 8) { + return (com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination) + paginationStrategy_; + } + return com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Go to the next page number (e.g., page 2).
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination page_number = 8; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination, + com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination.Builder, + com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPaginationOrBuilder> + internalGetPageNumberFieldBuilder() { + if (pageNumberBuilder_ == null) { + if (!(paginationStrategyCase_ == 8)) { + paginationStrategy_ = + com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination + .getDefaultInstance(); + } + pageNumberBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination, + com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination.Builder, + com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPaginationOrBuilder>( + (com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination) + paginationStrategy_, + getParentForChildren(), + isClean()); + paginationStrategy_ = null; + } + paginationStrategyCase_ = 8; + onChanged(); + return pageNumberBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.CustomAPIPagination) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.CustomAPIPagination) + private static final com.google.cloud.chronicle.v1.CustomAPIPagination DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.CustomAPIPagination(); + } + + public static com.google.cloud.chronicle.v1.CustomAPIPagination getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomAPIPagination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIPaginationOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIPaginationOrBuilder.java new file mode 100644 index 000000000000..4bd00372a030 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIPaginationOrBuilder.java @@ -0,0 +1,220 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface CustomAPIPaginationOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.CustomAPIPagination) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Fetch data in a single request without paging.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.NonePagination none = 4; + * + * @return Whether the none field is set. + */ + boolean hasNone(); + + /** + * + * + *
+   * Fetch data in a single request without paging.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.NonePagination none = 4; + * + * @return The none. + */ + com.google.cloud.chronicle.v1.CustomAPIPagination.NonePagination getNone(); + + /** + * + * + *
+   * Fetch data in a single request without paging.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.NonePagination none = 4; + */ + com.google.cloud.chronicle.v1.CustomAPIPagination.NonePaginationOrBuilder getNoneOrBuilder(); + + /** + * + * + *
+   * Use tokens (custom keys) to get the next page of data.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination token = 5; + * + * @return Whether the token field is set. + */ + boolean hasToken(); + + /** + * + * + *
+   * Use tokens (custom keys) to get the next page of data.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination token = 5; + * + * @return The token. + */ + com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination getToken(); + + /** + * + * + *
+   * Use tokens (custom keys) to get the next page of data.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.TokenPagination token = 5; + */ + com.google.cloud.chronicle.v1.CustomAPIPagination.TokenPaginationOrBuilder getTokenOrBuilder(); + + /** + * + * + *
+   * Follow links provided in the response to get more data.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination link = 6; + * + * @return Whether the link field is set. + */ + boolean hasLink(); + + /** + * + * + *
+   * Follow links provided in the response to get more data.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination link = 6; + * + * @return The link. + */ + com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination getLink(); + + /** + * + * + *
+   * Follow links provided in the response to get more data.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.LinkPagination link = 6; + */ + com.google.cloud.chronicle.v1.CustomAPIPagination.LinkPaginationOrBuilder getLinkOrBuilder(); + + /** + * + * + *
+   * Skip a set number of records to get the next set.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination offset = 7; + * + * @return Whether the offset field is set. + */ + boolean hasOffset(); + + /** + * + * + *
+   * Skip a set number of records to get the next set.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination offset = 7; + * + * @return The offset. + */ + com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination getOffset(); + + /** + * + * + *
+   * Skip a set number of records to get the next set.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.OffsetPagination offset = 7; + */ + com.google.cloud.chronicle.v1.CustomAPIPagination.OffsetPaginationOrBuilder getOffsetOrBuilder(); + + /** + * + * + *
+   * Go to the next page number (e.g., page 2).
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination page_number = 8; + * + * + * @return Whether the pageNumber field is set. + */ + boolean hasPageNumber(); + + /** + * + * + *
+   * Go to the next page number (e.g., page 2).
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination page_number = 8; + * + * + * @return The pageNumber. + */ + com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination getPageNumber(); + + /** + * + * + *
+   * Go to the next page number (e.g., page 2).
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPagination page_number = 8; + * + */ + com.google.cloud.chronicle.v1.CustomAPIPagination.PageNumberPaginationOrBuilder + getPageNumberOrBuilder(); + + com.google.cloud.chronicle.v1.CustomAPIPagination.PaginationStrategyCase + getPaginationStrategyCase(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIQueryAuth.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIQueryAuth.java new file mode 100644 index 000000000000..aa5286011fc0 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIQueryAuth.java @@ -0,0 +1,984 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * CustomAPIQueryAuth lists URL Query parameters for custom API auth.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPIQueryAuth} + */ +@com.google.protobuf.Generated +public final class CustomAPIQueryAuth extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.CustomAPIQueryAuth) + CustomAPIQueryAuthOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "CustomAPIQueryAuth"); + } + + // Use CustomAPIQueryAuth.newBuilder() to construct. + private CustomAPIQueryAuth(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private CustomAPIQueryAuth() { + queryKeyValues_ = java.util.Collections.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIQueryAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIQueryAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPIQueryAuth.class, + com.google.cloud.chronicle.v1.CustomAPIQueryAuth.Builder.class); + } + + public static final int QUERY_KEY_VALUES_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List queryKeyValues_; + + /** + * + * + *
+   * Optional. Add URL Query parameter key-value pairs.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.List + getQueryKeyValuesList() { + return queryKeyValues_; + } + + /** + * + * + *
+   * Optional. Add URL Query parameter key-value pairs.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.List + getQueryKeyValuesOrBuilderList() { + return queryKeyValues_; + } + + /** + * + * + *
+   * Optional. Add URL Query parameter key-value pairs.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public int getQueryKeyValuesCount() { + return queryKeyValues_.size(); + } + + /** + * + * + *
+   * Optional. Add URL Query parameter key-value pairs.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue getQueryKeyValues(int index) { + return queryKeyValues_.get(index); + } + + /** + * + * + *
+   * Optional. Add URL Query parameter key-value pairs.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIQueryKeyValueOrBuilder getQueryKeyValuesOrBuilder( + int index) { + return queryKeyValues_.get(index); + } + + 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 { + for (int i = 0; i < queryKeyValues_.size(); i++) { + output.writeMessage(1, queryKeyValues_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < queryKeyValues_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, queryKeyValues_.get(i)); + } + 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.cloud.chronicle.v1.CustomAPIQueryAuth)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.CustomAPIQueryAuth other = + (com.google.cloud.chronicle.v1.CustomAPIQueryAuth) obj; + + if (!getQueryKeyValuesList().equals(other.getQueryKeyValuesList())) 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(); + if (getQueryKeyValuesCount() > 0) { + hash = (37 * hash) + QUERY_KEY_VALUES_FIELD_NUMBER; + hash = (53 * hash) + getQueryKeyValuesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.CustomAPIQueryAuth parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIQueryAuth parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIQueryAuth parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIQueryAuth 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.cloud.chronicle.v1.CustomAPIQueryAuth parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIQueryAuth parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIQueryAuth parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIQueryAuth parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIQueryAuth parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIQueryAuth parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIQueryAuth parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIQueryAuth parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.CustomAPIQueryAuth 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * CustomAPIQueryAuth lists URL Query parameters for custom API auth.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPIQueryAuth} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.CustomAPIQueryAuth) + com.google.cloud.chronicle.v1.CustomAPIQueryAuthOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIQueryAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIQueryAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPIQueryAuth.class, + com.google.cloud.chronicle.v1.CustomAPIQueryAuth.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.CustomAPIQueryAuth.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (queryKeyValuesBuilder_ == null) { + queryKeyValues_ = java.util.Collections.emptyList(); + } else { + queryKeyValues_ = null; + queryKeyValuesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIQueryAuth_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIQueryAuth getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.CustomAPIQueryAuth.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIQueryAuth build() { + com.google.cloud.chronicle.v1.CustomAPIQueryAuth result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIQueryAuth buildPartial() { + com.google.cloud.chronicle.v1.CustomAPIQueryAuth result = + new com.google.cloud.chronicle.v1.CustomAPIQueryAuth(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.chronicle.v1.CustomAPIQueryAuth result) { + if (queryKeyValuesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + queryKeyValues_ = java.util.Collections.unmodifiableList(queryKeyValues_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.queryKeyValues_ = queryKeyValues_; + } else { + result.queryKeyValues_ = queryKeyValuesBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.chronicle.v1.CustomAPIQueryAuth result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.CustomAPIQueryAuth) { + return mergeFrom((com.google.cloud.chronicle.v1.CustomAPIQueryAuth) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.CustomAPIQueryAuth other) { + if (other == com.google.cloud.chronicle.v1.CustomAPIQueryAuth.getDefaultInstance()) + return this; + if (queryKeyValuesBuilder_ == null) { + if (!other.queryKeyValues_.isEmpty()) { + if (queryKeyValues_.isEmpty()) { + queryKeyValues_ = other.queryKeyValues_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureQueryKeyValuesIsMutable(); + queryKeyValues_.addAll(other.queryKeyValues_); + } + onChanged(); + } + } else { + if (!other.queryKeyValues_.isEmpty()) { + if (queryKeyValuesBuilder_.isEmpty()) { + queryKeyValuesBuilder_.dispose(); + queryKeyValuesBuilder_ = null; + queryKeyValues_ = other.queryKeyValues_; + bitField0_ = (bitField0_ & ~0x00000001); + queryKeyValuesBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetQueryKeyValuesFieldBuilder() + : null; + } else { + queryKeyValuesBuilder_.addAllMessages(other.queryKeyValues_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue m = + input.readMessage( + com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue.parser(), + extensionRegistry); + if (queryKeyValuesBuilder_ == null) { + ensureQueryKeyValuesIsMutable(); + queryKeyValues_.add(m); + } else { + queryKeyValuesBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.util.List queryKeyValues_ = + java.util.Collections.emptyList(); + + private void ensureQueryKeyValuesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + queryKeyValues_ = + new java.util.ArrayList( + queryKeyValues_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue, + com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue.Builder, + com.google.cloud.chronicle.v1.CustomAPIQueryKeyValueOrBuilder> + queryKeyValuesBuilder_; + + /** + * + * + *
+     * Optional. Add URL Query parameter key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List + getQueryKeyValuesList() { + if (queryKeyValuesBuilder_ == null) { + return java.util.Collections.unmodifiableList(queryKeyValues_); + } else { + return queryKeyValuesBuilder_.getMessageList(); + } + } + + /** + * + * + *
+     * Optional. Add URL Query parameter key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public int getQueryKeyValuesCount() { + if (queryKeyValuesBuilder_ == null) { + return queryKeyValues_.size(); + } else { + return queryKeyValuesBuilder_.getCount(); + } + } + + /** + * + * + *
+     * Optional. Add URL Query parameter key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue getQueryKeyValues(int index) { + if (queryKeyValuesBuilder_ == null) { + return queryKeyValues_.get(index); + } else { + return queryKeyValuesBuilder_.getMessage(index); + } + } + + /** + * + * + *
+     * Optional. Add URL Query parameter key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setQueryKeyValues( + int index, com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue value) { + if (queryKeyValuesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureQueryKeyValuesIsMutable(); + queryKeyValues_.set(index, value); + onChanged(); + } else { + queryKeyValuesBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Optional. Add URL Query parameter key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setQueryKeyValues( + int index, com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue.Builder builderForValue) { + if (queryKeyValuesBuilder_ == null) { + ensureQueryKeyValuesIsMutable(); + queryKeyValues_.set(index, builderForValue.build()); + onChanged(); + } else { + queryKeyValuesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Optional. Add URL Query parameter key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addQueryKeyValues(com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue value) { + if (queryKeyValuesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureQueryKeyValuesIsMutable(); + queryKeyValues_.add(value); + onChanged(); + } else { + queryKeyValuesBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+     * Optional. Add URL Query parameter key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addQueryKeyValues( + int index, com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue value) { + if (queryKeyValuesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureQueryKeyValuesIsMutable(); + queryKeyValues_.add(index, value); + onChanged(); + } else { + queryKeyValuesBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Optional. Add URL Query parameter key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addQueryKeyValues( + com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue.Builder builderForValue) { + if (queryKeyValuesBuilder_ == null) { + ensureQueryKeyValuesIsMutable(); + queryKeyValues_.add(builderForValue.build()); + onChanged(); + } else { + queryKeyValuesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Optional. Add URL Query parameter key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addQueryKeyValues( + int index, com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue.Builder builderForValue) { + if (queryKeyValuesBuilder_ == null) { + ensureQueryKeyValuesIsMutable(); + queryKeyValues_.add(index, builderForValue.build()); + onChanged(); + } else { + queryKeyValuesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Optional. Add URL Query parameter key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addAllQueryKeyValues( + java.lang.Iterable values) { + if (queryKeyValuesBuilder_ == null) { + ensureQueryKeyValuesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queryKeyValues_); + onChanged(); + } else { + queryKeyValuesBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+     * Optional. Add URL Query parameter key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearQueryKeyValues() { + if (queryKeyValuesBuilder_ == null) { + queryKeyValues_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + queryKeyValuesBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Optional. Add URL Query parameter key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder removeQueryKeyValues(int index) { + if (queryKeyValuesBuilder_ == null) { + ensureQueryKeyValuesIsMutable(); + queryKeyValues_.remove(index); + onChanged(); + } else { + queryKeyValuesBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+     * Optional. Add URL Query parameter key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue.Builder getQueryKeyValuesBuilder( + int index) { + return internalGetQueryKeyValuesFieldBuilder().getBuilder(index); + } + + /** + * + * + *
+     * Optional. Add URL Query parameter key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.chronicle.v1.CustomAPIQueryKeyValueOrBuilder getQueryKeyValuesOrBuilder( + int index) { + if (queryKeyValuesBuilder_ == null) { + return queryKeyValues_.get(index); + } else { + return queryKeyValuesBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
+     * Optional. Add URL Query parameter key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List + getQueryKeyValuesOrBuilderList() { + if (queryKeyValuesBuilder_ != null) { + return queryKeyValuesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(queryKeyValues_); + } + } + + /** + * + * + *
+     * Optional. Add URL Query parameter key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue.Builder addQueryKeyValuesBuilder() { + return internalGetQueryKeyValuesFieldBuilder() + .addBuilder(com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue.getDefaultInstance()); + } + + /** + * + * + *
+     * Optional. Add URL Query parameter key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue.Builder addQueryKeyValuesBuilder( + int index) { + return internalGetQueryKeyValuesFieldBuilder() + .addBuilder( + index, com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue.getDefaultInstance()); + } + + /** + * + * + *
+     * Optional. Add URL Query parameter key-value pairs.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List + getQueryKeyValuesBuilderList() { + return internalGetQueryKeyValuesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue, + com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue.Builder, + com.google.cloud.chronicle.v1.CustomAPIQueryKeyValueOrBuilder> + internalGetQueryKeyValuesFieldBuilder() { + if (queryKeyValuesBuilder_ == null) { + queryKeyValuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue, + com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue.Builder, + com.google.cloud.chronicle.v1.CustomAPIQueryKeyValueOrBuilder>( + queryKeyValues_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + queryKeyValues_ = null; + } + return queryKeyValuesBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.CustomAPIQueryAuth) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.CustomAPIQueryAuth) + private static final com.google.cloud.chronicle.v1.CustomAPIQueryAuth DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.CustomAPIQueryAuth(); + } + + public static com.google.cloud.chronicle.v1.CustomAPIQueryAuth getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomAPIQueryAuth parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIQueryAuth getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIQueryAuthOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIQueryAuthOrBuilder.java new file mode 100644 index 000000000000..67678c0ede48 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIQueryAuthOrBuilder.java @@ -0,0 +1,95 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface CustomAPIQueryAuthOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.CustomAPIQueryAuth) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Optional. Add URL Query parameter key-value pairs.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.util.List getQueryKeyValuesList(); + + /** + * + * + *
+   * Optional. Add URL Query parameter key-value pairs.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue getQueryKeyValues(int index); + + /** + * + * + *
+   * Optional. Add URL Query parameter key-value pairs.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + int getQueryKeyValuesCount(); + + /** + * + * + *
+   * Optional. Add URL Query parameter key-value pairs.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.util.List + getQueryKeyValuesOrBuilderList(); + + /** + * + * + *
+   * Optional. Add URL Query parameter key-value pairs.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.CustomAPIQueryKeyValue query_key_values = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.chronicle.v1.CustomAPIQueryKeyValueOrBuilder getQueryKeyValuesOrBuilder( + int index); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIQueryKeyValue.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIQueryKeyValue.java new file mode 100644 index 000000000000..7f4f0fdcf467 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIQueryKeyValue.java @@ -0,0 +1,801 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * CustomAPIQueryKeyValue defines dynamic query parameters key-values for Custom
+ * API Auth.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPIQueryKeyValue} + */ +@com.google.protobuf.Generated +public final class CustomAPIQueryKeyValue extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.CustomAPIQueryKeyValue) + CustomAPIQueryKeyValueOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "CustomAPIQueryKeyValue"); + } + + // Use CustomAPIQueryKeyValue.newBuilder() to construct. + private CustomAPIQueryKeyValue(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private CustomAPIQueryKeyValue() { + key_ = ""; + value_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIQueryKeyValue_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIQueryKeyValue_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue.class, + com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue.Builder.class); + } + + public static final int KEY_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object key_ = ""; + + /** + * + * + *
+   * Required. Enter the name of the URL Query Parameter (e.g., api_key or
+   * token).
+   * 
+ * + * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The key. + */ + @java.lang.Override + public java.lang.String getKey() { + java.lang.Object ref = key_; + 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(); + key_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Enter the name of the URL Query Parameter (e.g., api_key or
+   * token).
+   * 
+ * + * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for key. + */ + @java.lang.Override + public com.google.protobuf.ByteString getKeyBytes() { + java.lang.Object ref = key_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + key_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int VALUE_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object value_ = ""; + + /** + * + * + *
+   * Required. Enter the API Key or credential value associated with the query
+   * parameter.
+   * 
+ * + * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The value. + */ + @java.lang.Override + public java.lang.String getValue() { + java.lang.Object ref = value_; + 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(); + value_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Enter the API Key or credential value associated with the query
+   * parameter.
+   * 
+ * + * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for value. + */ + @java.lang.Override + public com.google.protobuf.ByteString getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + value_ = 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.GeneratedMessage.isStringEmpty(key_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, key_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, value_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(key_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, key_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, value_); + } + 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.cloud.chronicle.v1.CustomAPIQueryKeyValue)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue other = + (com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue) obj; + + if (!getKey().equals(other.getKey())) return false; + if (!getValue().equals(other.getValue())) 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) + KEY_FIELD_NUMBER; + hash = (53 * hash) + getKey().hashCode(); + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue 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.cloud.chronicle.v1.CustomAPIQueryKeyValue parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.CustomAPIQueryKeyValue 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * CustomAPIQueryKeyValue defines dynamic query parameters key-values for Custom
+   * API Auth.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPIQueryKeyValue} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.CustomAPIQueryKeyValue) + com.google.cloud.chronicle.v1.CustomAPIQueryKeyValueOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIQueryKeyValue_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIQueryKeyValue_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue.class, + com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + key_ = ""; + value_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIQueryKeyValue_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue build() { + com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue buildPartial() { + com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue result = + new com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.key_ = key_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.value_ = value_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue) { + return mergeFrom((com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue other) { + if (other == com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue.getDefaultInstance()) + return this; + if (!other.getKey().isEmpty()) { + key_ = other.key_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getValue().isEmpty()) { + value_ = other.value_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + key_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + value_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object key_ = ""; + + /** + * + * + *
+     * Required. Enter the name of the URL Query Parameter (e.g., api_key or
+     * token).
+     * 
+ * + * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The key. + */ + public java.lang.String getKey() { + java.lang.Object ref = key_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + key_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Enter the name of the URL Query Parameter (e.g., api_key or
+     * token).
+     * 
+ * + * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for key. + */ + public com.google.protobuf.ByteString getKeyBytes() { + java.lang.Object ref = key_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + key_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Enter the name of the URL Query Parameter (e.g., api_key or
+     * token).
+     * 
+ * + * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The key to set. + * @return This builder for chaining. + */ + public Builder setKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + key_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Enter the name of the URL Query Parameter (e.g., api_key or
+     * token).
+     * 
+ * + * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearKey() { + key_ = getDefaultInstance().getKey(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Enter the name of the URL Query Parameter (e.g., api_key or
+     * token).
+     * 
+ * + * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for key to set. + * @return This builder for chaining. + */ + public Builder setKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object value_ = ""; + + /** + * + * + *
+     * Required. Enter the API Key or credential value associated with the query
+     * parameter.
+     * 
+ * + * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The value. + */ + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Enter the API Key or credential value associated with the query
+     * parameter.
+     * 
+ * + * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for value. + */ + public com.google.protobuf.ByteString getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Enter the API Key or credential value associated with the query
+     * parameter.
+     * 
+ * + * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The value to set. + * @return This builder for chaining. + */ + public Builder setValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + value_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Enter the API Key or credential value associated with the query
+     * parameter.
+     * 
+ * + * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearValue() { + value_ = getDefaultInstance().getValue(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Enter the API Key or credential value associated with the query
+     * parameter.
+     * 
+ * + * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for value to set. + * @return This builder for chaining. + */ + public Builder setValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + value_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.CustomAPIQueryKeyValue) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.CustomAPIQueryKeyValue) + private static final com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue(); + } + + public static com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomAPIQueryKeyValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIQueryKeyValue getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIQueryKeyValueOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIQueryKeyValueOrBuilder.java new file mode 100644 index 000000000000..5bfce9408ebd --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIQueryKeyValueOrBuilder.java @@ -0,0 +1,84 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface CustomAPIQueryKeyValueOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.CustomAPIQueryKeyValue) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Enter the name of the URL Query Parameter (e.g., api_key or
+   * token).
+   * 
+ * + * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The key. + */ + java.lang.String getKey(); + + /** + * + * + *
+   * Required. Enter the name of the URL Query Parameter (e.g., api_key or
+   * token).
+   * 
+ * + * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for key. + */ + com.google.protobuf.ByteString getKeyBytes(); + + /** + * + * + *
+   * Required. Enter the API Key or credential value associated with the query
+   * parameter.
+   * 
+ * + * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The value. + */ + java.lang.String getValue(); + + /** + * + * + *
+   * Required. Enter the API Key or credential value associated with the query
+   * parameter.
+   * 
+ * + * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for value. + */ + com.google.protobuf.ByteString getValueBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIRequestConfig.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIRequestConfig.java new file mode 100644 index 000000000000..efaa83f625d8 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIRequestConfig.java @@ -0,0 +1,2437 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Configuration for the outgoing API request.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPIRequestConfig} + */ +@com.google.protobuf.Generated +public final class CustomAPIRequestConfig extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.CustomAPIRequestConfig) + CustomAPIRequestConfigOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "CustomAPIRequestConfig"); + } + + // Use CustomAPIRequestConfig.newBuilder() to construct. + private CustomAPIRequestConfig(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private CustomAPIRequestConfig() { + endpointPath_ = ""; + httpMethod_ = 0; + requestBody_ = ""; + queryParameters_ = java.util.Collections.emptyList(); + customHeaders_ = java.util.Collections.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIRequestConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIRequestConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPIRequestConfig.class, + com.google.cloud.chronicle.v1.CustomAPIRequestConfig.Builder.class); + } + + /** + * + * + *
+   * HTTPS methods supported.
+   * 
+ * + * Protobuf enum {@code google.cloud.chronicle.v1.CustomAPIRequestConfig.HttpMethod} + */ + public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Unspecified method.
+     * 
+ * + * HTTP_METHOD_UNSPECIFIED = 0; + */ + HTTP_METHOD_UNSPECIFIED(0), + /** + * + * + *
+     * HTTP GET method.
+     * 
+ * + * GET = 1; + */ + GET(1), + /** + * + * + *
+     * HTTP POST method.
+     * 
+ * + * POST = 2; + */ + POST(2), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "HttpMethod"); + } + + /** + * + * + *
+     * Unspecified method.
+     * 
+ * + * HTTP_METHOD_UNSPECIFIED = 0; + */ + public static final int HTTP_METHOD_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
+     * HTTP GET method.
+     * 
+ * + * GET = 1; + */ + public static final int GET_VALUE = 1; + + /** + * + * + *
+     * HTTP POST method.
+     * 
+ * + * POST = 2; + */ + public static final int POST_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static HttpMethod valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static HttpMethod forNumber(int value) { + switch (value) { + case 0: + return HTTP_METHOD_UNSPECIFIED; + case 1: + return GET; + case 2: + return POST; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HttpMethod findValueByNumber(int number) { + return HttpMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.chronicle.v1.CustomAPIRequestConfig.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final HttpMethod[] VALUES = values(); + + public static HttpMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private HttpMethod(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.chronicle.v1.CustomAPIRequestConfig.HttpMethod) + } + + public static final int ENDPOINT_PATH_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object endpointPath_ = ""; + + /** + * + * + *
+   * Required. Enter the specific API route appended to the Base URL to fetch
+   * the data (e.g., /v1/alerts).
+   * 
+ * + * string endpoint_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The endpointPath. + */ + @java.lang.Override + public java.lang.String getEndpointPath() { + java.lang.Object ref = endpointPath_; + 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(); + endpointPath_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Enter the specific API route appended to the Base URL to fetch
+   * the data (e.g., /v1/alerts).
+   * 
+ * + * string endpoint_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for endpointPath. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEndpointPathBytes() { + java.lang.Object ref = endpointPath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + endpointPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int HTTP_METHOD_FIELD_NUMBER = 2; + private int httpMethod_ = 0; + + /** + * + * + *
+   * Required. Select the type of action to perform on the API endpoint (usually
+   * GET to retrieve data or POST to submit a query).
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIRequestConfig.HttpMethod http_method = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The enum numeric value on the wire for httpMethod. + */ + @java.lang.Override + public int getHttpMethodValue() { + return httpMethod_; + } + + /** + * + * + *
+   * Required. Select the type of action to perform on the API endpoint (usually
+   * GET to retrieve data or POST to submit a query).
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIRequestConfig.HttpMethod http_method = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The httpMethod. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIRequestConfig.HttpMethod getHttpMethod() { + com.google.cloud.chronicle.v1.CustomAPIRequestConfig.HttpMethod result = + com.google.cloud.chronicle.v1.CustomAPIRequestConfig.HttpMethod.forNumber(httpMethod_); + return result == null + ? com.google.cloud.chronicle.v1.CustomAPIRequestConfig.HttpMethod.UNRECOGNIZED + : result; + } + + public static final int REQUEST_BODY_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object requestBody_ = ""; + + /** + * + * + *
+   * Optional. Provide the data payload sent to the API to specify what
+   * information you want, typically formatted in JSON.
+   * 
+ * + * string request_body = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestBody. + */ + @java.lang.Override + public java.lang.String getRequestBody() { + java.lang.Object ref = requestBody_; + 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(); + requestBody_ = s; + return s; + } + } + + /** + * + * + *
+   * Optional. Provide the data payload sent to the API to specify what
+   * information you want, typically formatted in JSON.
+   * 
+ * + * string request_body = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestBody. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRequestBodyBytes() { + java.lang.Object ref = requestBody_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestBody_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int QUERY_PARAMETERS_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private java.util.List queryParameters_; + + /** + * + * + *
+   * Optional. Add extra filters or settings appended to the end of the URL
+   * (e.g., ?status=critical).
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.List getQueryParametersList() { + return queryParameters_; + } + + /** + * + * + *
+   * Optional. Add extra filters or settings appended to the end of the URL
+   * (e.g., ?status=critical).
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.List + getQueryParametersOrBuilderList() { + return queryParameters_; + } + + /** + * + * + *
+   * Optional. Add extra filters or settings appended to the end of the URL
+   * (e.g., ?status=critical).
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public int getQueryParametersCount() { + return queryParameters_.size(); + } + + /** + * + * + *
+   * Optional. Add extra filters or settings appended to the end of the URL
+   * (e.g., ?status=critical).
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HeaderKeyValue getQueryParameters(int index) { + return queryParameters_.get(index); + } + + /** + * + * + *
+   * Optional. Add extra filters or settings appended to the end of the URL
+   * (e.g., ?status=critical).
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HeaderKeyValueOrBuilder getQueryParametersOrBuilder( + int index) { + return queryParameters_.get(index); + } + + public static final int CUSTOM_HEADERS_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private java.util.List customHeaders_; + + /** + * + * + *
+   * Optional. Define specialized key-value pairs sent with the request, often
+   * used for custom API versioning or specific vendor requirements.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.List getCustomHeadersList() { + return customHeaders_; + } + + /** + * + * + *
+   * Optional. Define specialized key-value pairs sent with the request, often
+   * used for custom API versioning or specific vendor requirements.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.List + getCustomHeadersOrBuilderList() { + return customHeaders_; + } + + /** + * + * + *
+   * Optional. Define specialized key-value pairs sent with the request, often
+   * used for custom API versioning or specific vendor requirements.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public int getCustomHeadersCount() { + return customHeaders_.size(); + } + + /** + * + * + *
+   * Optional. Define specialized key-value pairs sent with the request, often
+   * used for custom API versioning or specific vendor requirements.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HeaderKeyValue getCustomHeaders(int index) { + return customHeaders_.get(index); + } + + /** + * + * + *
+   * Optional. Define specialized key-value pairs sent with the request, often
+   * used for custom API versioning or specific vendor requirements.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HeaderKeyValueOrBuilder getCustomHeadersOrBuilder( + int index) { + return customHeaders_.get(index); + } + + public static final int MAX_REQUESTS_PER_MINUTE_FIELD_NUMBER = 6; + private int maxRequestsPerMinute_ = 0; + + /** + * + * + *
+   * Optional. Set a safety limit to ensure the connector does not exceed the
+   * third-party vendor's API rate limits.
+   * 
+ * + * int32 max_requests_per_minute = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxRequestsPerMinute. + */ + @java.lang.Override + public int getMaxRequestsPerMinute() { + return maxRequestsPerMinute_; + } + + 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.GeneratedMessage.isStringEmpty(endpointPath_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, endpointPath_); + } + if (httpMethod_ + != com.google.cloud.chronicle.v1.CustomAPIRequestConfig.HttpMethod.HTTP_METHOD_UNSPECIFIED + .getNumber()) { + output.writeEnum(2, httpMethod_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(requestBody_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, requestBody_); + } + for (int i = 0; i < queryParameters_.size(); i++) { + output.writeMessage(4, queryParameters_.get(i)); + } + for (int i = 0; i < customHeaders_.size(); i++) { + output.writeMessage(5, customHeaders_.get(i)); + } + if (maxRequestsPerMinute_ != 0) { + output.writeInt32(6, maxRequestsPerMinute_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(endpointPath_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, endpointPath_); + } + if (httpMethod_ + != com.google.cloud.chronicle.v1.CustomAPIRequestConfig.HttpMethod.HTTP_METHOD_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, httpMethod_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(requestBody_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, requestBody_); + } + for (int i = 0; i < queryParameters_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, queryParameters_.get(i)); + } + for (int i = 0; i < customHeaders_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, customHeaders_.get(i)); + } + if (maxRequestsPerMinute_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, maxRequestsPerMinute_); + } + 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.cloud.chronicle.v1.CustomAPIRequestConfig)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.CustomAPIRequestConfig other = + (com.google.cloud.chronicle.v1.CustomAPIRequestConfig) obj; + + if (!getEndpointPath().equals(other.getEndpointPath())) return false; + if (httpMethod_ != other.httpMethod_) return false; + if (!getRequestBody().equals(other.getRequestBody())) return false; + if (!getQueryParametersList().equals(other.getQueryParametersList())) return false; + if (!getCustomHeadersList().equals(other.getCustomHeadersList())) return false; + if (getMaxRequestsPerMinute() != other.getMaxRequestsPerMinute()) 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) + ENDPOINT_PATH_FIELD_NUMBER; + hash = (53 * hash) + getEndpointPath().hashCode(); + hash = (37 * hash) + HTTP_METHOD_FIELD_NUMBER; + hash = (53 * hash) + httpMethod_; + hash = (37 * hash) + REQUEST_BODY_FIELD_NUMBER; + hash = (53 * hash) + getRequestBody().hashCode(); + if (getQueryParametersCount() > 0) { + hash = (37 * hash) + QUERY_PARAMETERS_FIELD_NUMBER; + hash = (53 * hash) + getQueryParametersList().hashCode(); + } + if (getCustomHeadersCount() > 0) { + hash = (37 * hash) + CUSTOM_HEADERS_FIELD_NUMBER; + hash = (53 * hash) + getCustomHeadersList().hashCode(); + } + hash = (37 * hash) + MAX_REQUESTS_PER_MINUTE_FIELD_NUMBER; + hash = (53 * hash) + getMaxRequestsPerMinute(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.CustomAPIRequestConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIRequestConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIRequestConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIRequestConfig 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.cloud.chronicle.v1.CustomAPIRequestConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIRequestConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIRequestConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIRequestConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIRequestConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIRequestConfig parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIRequestConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIRequestConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.CustomAPIRequestConfig 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Configuration for the outgoing API request.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPIRequestConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.CustomAPIRequestConfig) + com.google.cloud.chronicle.v1.CustomAPIRequestConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIRequestConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIRequestConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPIRequestConfig.class, + com.google.cloud.chronicle.v1.CustomAPIRequestConfig.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.CustomAPIRequestConfig.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + endpointPath_ = ""; + httpMethod_ = 0; + requestBody_ = ""; + if (queryParametersBuilder_ == null) { + queryParameters_ = java.util.Collections.emptyList(); + } else { + queryParameters_ = null; + queryParametersBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + if (customHeadersBuilder_ == null) { + customHeaders_ = java.util.Collections.emptyList(); + } else { + customHeaders_ = null; + customHeadersBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000010); + maxRequestsPerMinute_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIRequestConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIRequestConfig getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.CustomAPIRequestConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIRequestConfig build() { + com.google.cloud.chronicle.v1.CustomAPIRequestConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIRequestConfig buildPartial() { + com.google.cloud.chronicle.v1.CustomAPIRequestConfig result = + new com.google.cloud.chronicle.v1.CustomAPIRequestConfig(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.chronicle.v1.CustomAPIRequestConfig result) { + if (queryParametersBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + queryParameters_ = java.util.Collections.unmodifiableList(queryParameters_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.queryParameters_ = queryParameters_; + } else { + result.queryParameters_ = queryParametersBuilder_.build(); + } + if (customHeadersBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0)) { + customHeaders_ = java.util.Collections.unmodifiableList(customHeaders_); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.customHeaders_ = customHeaders_; + } else { + result.customHeaders_ = customHeadersBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.chronicle.v1.CustomAPIRequestConfig result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.endpointPath_ = endpointPath_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.httpMethod_ = httpMethod_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.requestBody_ = requestBody_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.maxRequestsPerMinute_ = maxRequestsPerMinute_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.CustomAPIRequestConfig) { + return mergeFrom((com.google.cloud.chronicle.v1.CustomAPIRequestConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.CustomAPIRequestConfig other) { + if (other == com.google.cloud.chronicle.v1.CustomAPIRequestConfig.getDefaultInstance()) + return this; + if (!other.getEndpointPath().isEmpty()) { + endpointPath_ = other.endpointPath_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.httpMethod_ != 0) { + setHttpMethodValue(other.getHttpMethodValue()); + } + if (!other.getRequestBody().isEmpty()) { + requestBody_ = other.requestBody_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (queryParametersBuilder_ == null) { + if (!other.queryParameters_.isEmpty()) { + if (queryParameters_.isEmpty()) { + queryParameters_ = other.queryParameters_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureQueryParametersIsMutable(); + queryParameters_.addAll(other.queryParameters_); + } + onChanged(); + } + } else { + if (!other.queryParameters_.isEmpty()) { + if (queryParametersBuilder_.isEmpty()) { + queryParametersBuilder_.dispose(); + queryParametersBuilder_ = null; + queryParameters_ = other.queryParameters_; + bitField0_ = (bitField0_ & ~0x00000008); + queryParametersBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetQueryParametersFieldBuilder() + : null; + } else { + queryParametersBuilder_.addAllMessages(other.queryParameters_); + } + } + } + if (customHeadersBuilder_ == null) { + if (!other.customHeaders_.isEmpty()) { + if (customHeaders_.isEmpty()) { + customHeaders_ = other.customHeaders_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureCustomHeadersIsMutable(); + customHeaders_.addAll(other.customHeaders_); + } + onChanged(); + } + } else { + if (!other.customHeaders_.isEmpty()) { + if (customHeadersBuilder_.isEmpty()) { + customHeadersBuilder_.dispose(); + customHeadersBuilder_ = null; + customHeaders_ = other.customHeaders_; + bitField0_ = (bitField0_ & ~0x00000010); + customHeadersBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetCustomHeadersFieldBuilder() + : null; + } else { + customHeadersBuilder_.addAllMessages(other.customHeaders_); + } + } + } + if (other.getMaxRequestsPerMinute() != 0) { + setMaxRequestsPerMinute(other.getMaxRequestsPerMinute()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + endpointPath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + httpMethod_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + requestBody_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + com.google.cloud.chronicle.v1.HeaderKeyValue m = + input.readMessage( + com.google.cloud.chronicle.v1.HeaderKeyValue.parser(), extensionRegistry); + if (queryParametersBuilder_ == null) { + ensureQueryParametersIsMutable(); + queryParameters_.add(m); + } else { + queryParametersBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: + { + com.google.cloud.chronicle.v1.HeaderKeyValue m = + input.readMessage( + com.google.cloud.chronicle.v1.HeaderKeyValue.parser(), extensionRegistry); + if (customHeadersBuilder_ == null) { + ensureCustomHeadersIsMutable(); + customHeaders_.add(m); + } else { + customHeadersBuilder_.addMessage(m); + } + break; + } // case 42 + case 48: + { + maxRequestsPerMinute_ = input.readInt32(); + bitField0_ |= 0x00000020; + break; + } // case 48 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object endpointPath_ = ""; + + /** + * + * + *
+     * Required. Enter the specific API route appended to the Base URL to fetch
+     * the data (e.g., /v1/alerts).
+     * 
+ * + * string endpoint_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The endpointPath. + */ + public java.lang.String getEndpointPath() { + java.lang.Object ref = endpointPath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + endpointPath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Enter the specific API route appended to the Base URL to fetch
+     * the data (e.g., /v1/alerts).
+     * 
+ * + * string endpoint_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for endpointPath. + */ + public com.google.protobuf.ByteString getEndpointPathBytes() { + java.lang.Object ref = endpointPath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + endpointPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Enter the specific API route appended to the Base URL to fetch
+     * the data (e.g., /v1/alerts).
+     * 
+ * + * string endpoint_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The endpointPath to set. + * @return This builder for chaining. + */ + public Builder setEndpointPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + endpointPath_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Enter the specific API route appended to the Base URL to fetch
+     * the data (e.g., /v1/alerts).
+     * 
+ * + * string endpoint_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearEndpointPath() { + endpointPath_ = getDefaultInstance().getEndpointPath(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Enter the specific API route appended to the Base URL to fetch
+     * the data (e.g., /v1/alerts).
+     * 
+ * + * string endpoint_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for endpointPath to set. + * @return This builder for chaining. + */ + public Builder setEndpointPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endpointPath_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int httpMethod_ = 0; + + /** + * + * + *
+     * Required. Select the type of action to perform on the API endpoint (usually
+     * GET to retrieve data or POST to submit a query).
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIRequestConfig.HttpMethod http_method = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The enum numeric value on the wire for httpMethod. + */ + @java.lang.Override + public int getHttpMethodValue() { + return httpMethod_; + } + + /** + * + * + *
+     * Required. Select the type of action to perform on the API endpoint (usually
+     * GET to retrieve data or POST to submit a query).
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIRequestConfig.HttpMethod http_method = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The enum numeric value on the wire for httpMethod to set. + * @return This builder for chaining. + */ + public Builder setHttpMethodValue(int value) { + httpMethod_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Select the type of action to perform on the API endpoint (usually
+     * GET to retrieve data or POST to submit a query).
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIRequestConfig.HttpMethod http_method = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The httpMethod. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIRequestConfig.HttpMethod getHttpMethod() { + com.google.cloud.chronicle.v1.CustomAPIRequestConfig.HttpMethod result = + com.google.cloud.chronicle.v1.CustomAPIRequestConfig.HttpMethod.forNumber(httpMethod_); + return result == null + ? com.google.cloud.chronicle.v1.CustomAPIRequestConfig.HttpMethod.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * Required. Select the type of action to perform on the API endpoint (usually
+     * GET to retrieve data or POST to submit a query).
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIRequestConfig.HttpMethod http_method = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The httpMethod to set. + * @return This builder for chaining. + */ + public Builder setHttpMethod( + com.google.cloud.chronicle.v1.CustomAPIRequestConfig.HttpMethod value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + httpMethod_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Select the type of action to perform on the API endpoint (usually
+     * GET to retrieve data or POST to submit a query).
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIRequestConfig.HttpMethod http_method = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return This builder for chaining. + */ + public Builder clearHttpMethod() { + bitField0_ = (bitField0_ & ~0x00000002); + httpMethod_ = 0; + onChanged(); + return this; + } + + private java.lang.Object requestBody_ = ""; + + /** + * + * + *
+     * Optional. Provide the data payload sent to the API to specify what
+     * information you want, typically formatted in JSON.
+     * 
+ * + * string request_body = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestBody. + */ + public java.lang.String getRequestBody() { + java.lang.Object ref = requestBody_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestBody_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Optional. Provide the data payload sent to the API to specify what
+     * information you want, typically formatted in JSON.
+     * 
+ * + * string request_body = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestBody. + */ + public com.google.protobuf.ByteString getRequestBodyBytes() { + java.lang.Object ref = requestBody_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestBody_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Optional. Provide the data payload sent to the API to specify what
+     * information you want, typically formatted in JSON.
+     * 
+ * + * string request_body = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The requestBody to set. + * @return This builder for chaining. + */ + public Builder setRequestBody(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + requestBody_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Provide the data payload sent to the API to specify what
+     * information you want, typically formatted in JSON.
+     * 
+ * + * string request_body = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearRequestBody() { + requestBody_ = getDefaultInstance().getRequestBody(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Provide the data payload sent to the API to specify what
+     * information you want, typically formatted in JSON.
+     * 
+ * + * string request_body = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for requestBody to set. + * @return This builder for chaining. + */ + public Builder setRequestBodyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestBody_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.util.List queryParameters_ = + java.util.Collections.emptyList(); + + private void ensureQueryParametersIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + queryParameters_ = + new java.util.ArrayList(queryParameters_); + bitField0_ |= 0x00000008; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.HeaderKeyValue, + com.google.cloud.chronicle.v1.HeaderKeyValue.Builder, + com.google.cloud.chronicle.v1.HeaderKeyValueOrBuilder> + queryParametersBuilder_; + + /** + * + * + *
+     * Optional. Add extra filters or settings appended to the end of the URL
+     * (e.g., ?status=critical).
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List getQueryParametersList() { + if (queryParametersBuilder_ == null) { + return java.util.Collections.unmodifiableList(queryParameters_); + } else { + return queryParametersBuilder_.getMessageList(); + } + } + + /** + * + * + *
+     * Optional. Add extra filters or settings appended to the end of the URL
+     * (e.g., ?status=critical).
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public int getQueryParametersCount() { + if (queryParametersBuilder_ == null) { + return queryParameters_.size(); + } else { + return queryParametersBuilder_.getCount(); + } + } + + /** + * + * + *
+     * Optional. Add extra filters or settings appended to the end of the URL
+     * (e.g., ?status=critical).
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.chronicle.v1.HeaderKeyValue getQueryParameters(int index) { + if (queryParametersBuilder_ == null) { + return queryParameters_.get(index); + } else { + return queryParametersBuilder_.getMessage(index); + } + } + + /** + * + * + *
+     * Optional. Add extra filters or settings appended to the end of the URL
+     * (e.g., ?status=critical).
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setQueryParameters( + int index, com.google.cloud.chronicle.v1.HeaderKeyValue value) { + if (queryParametersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureQueryParametersIsMutable(); + queryParameters_.set(index, value); + onChanged(); + } else { + queryParametersBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Optional. Add extra filters or settings appended to the end of the URL
+     * (e.g., ?status=critical).
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setQueryParameters( + int index, com.google.cloud.chronicle.v1.HeaderKeyValue.Builder builderForValue) { + if (queryParametersBuilder_ == null) { + ensureQueryParametersIsMutable(); + queryParameters_.set(index, builderForValue.build()); + onChanged(); + } else { + queryParametersBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Optional. Add extra filters or settings appended to the end of the URL
+     * (e.g., ?status=critical).
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addQueryParameters(com.google.cloud.chronicle.v1.HeaderKeyValue value) { + if (queryParametersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureQueryParametersIsMutable(); + queryParameters_.add(value); + onChanged(); + } else { + queryParametersBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+     * Optional. Add extra filters or settings appended to the end of the URL
+     * (e.g., ?status=critical).
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addQueryParameters( + int index, com.google.cloud.chronicle.v1.HeaderKeyValue value) { + if (queryParametersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureQueryParametersIsMutable(); + queryParameters_.add(index, value); + onChanged(); + } else { + queryParametersBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Optional. Add extra filters or settings appended to the end of the URL
+     * (e.g., ?status=critical).
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addQueryParameters( + com.google.cloud.chronicle.v1.HeaderKeyValue.Builder builderForValue) { + if (queryParametersBuilder_ == null) { + ensureQueryParametersIsMutable(); + queryParameters_.add(builderForValue.build()); + onChanged(); + } else { + queryParametersBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Optional. Add extra filters or settings appended to the end of the URL
+     * (e.g., ?status=critical).
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addQueryParameters( + int index, com.google.cloud.chronicle.v1.HeaderKeyValue.Builder builderForValue) { + if (queryParametersBuilder_ == null) { + ensureQueryParametersIsMutable(); + queryParameters_.add(index, builderForValue.build()); + onChanged(); + } else { + queryParametersBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Optional. Add extra filters or settings appended to the end of the URL
+     * (e.g., ?status=critical).
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addAllQueryParameters( + java.lang.Iterable values) { + if (queryParametersBuilder_ == null) { + ensureQueryParametersIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queryParameters_); + onChanged(); + } else { + queryParametersBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+     * Optional. Add extra filters or settings appended to the end of the URL
+     * (e.g., ?status=critical).
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearQueryParameters() { + if (queryParametersBuilder_ == null) { + queryParameters_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + queryParametersBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Optional. Add extra filters or settings appended to the end of the URL
+     * (e.g., ?status=critical).
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder removeQueryParameters(int index) { + if (queryParametersBuilder_ == null) { + ensureQueryParametersIsMutable(); + queryParameters_.remove(index); + onChanged(); + } else { + queryParametersBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+     * Optional. Add extra filters or settings appended to the end of the URL
+     * (e.g., ?status=critical).
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.chronicle.v1.HeaderKeyValue.Builder getQueryParametersBuilder( + int index) { + return internalGetQueryParametersFieldBuilder().getBuilder(index); + } + + /** + * + * + *
+     * Optional. Add extra filters or settings appended to the end of the URL
+     * (e.g., ?status=critical).
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.chronicle.v1.HeaderKeyValueOrBuilder getQueryParametersOrBuilder( + int index) { + if (queryParametersBuilder_ == null) { + return queryParameters_.get(index); + } else { + return queryParametersBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
+     * Optional. Add extra filters or settings appended to the end of the URL
+     * (e.g., ?status=critical).
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List + getQueryParametersOrBuilderList() { + if (queryParametersBuilder_ != null) { + return queryParametersBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(queryParameters_); + } + } + + /** + * + * + *
+     * Optional. Add extra filters or settings appended to the end of the URL
+     * (e.g., ?status=critical).
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.chronicle.v1.HeaderKeyValue.Builder addQueryParametersBuilder() { + return internalGetQueryParametersFieldBuilder() + .addBuilder(com.google.cloud.chronicle.v1.HeaderKeyValue.getDefaultInstance()); + } + + /** + * + * + *
+     * Optional. Add extra filters or settings appended to the end of the URL
+     * (e.g., ?status=critical).
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.chronicle.v1.HeaderKeyValue.Builder addQueryParametersBuilder( + int index) { + return internalGetQueryParametersFieldBuilder() + .addBuilder(index, com.google.cloud.chronicle.v1.HeaderKeyValue.getDefaultInstance()); + } + + /** + * + * + *
+     * Optional. Add extra filters or settings appended to the end of the URL
+     * (e.g., ?status=critical).
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List + getQueryParametersBuilderList() { + return internalGetQueryParametersFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.HeaderKeyValue, + com.google.cloud.chronicle.v1.HeaderKeyValue.Builder, + com.google.cloud.chronicle.v1.HeaderKeyValueOrBuilder> + internalGetQueryParametersFieldBuilder() { + if (queryParametersBuilder_ == null) { + queryParametersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.HeaderKeyValue, + com.google.cloud.chronicle.v1.HeaderKeyValue.Builder, + com.google.cloud.chronicle.v1.HeaderKeyValueOrBuilder>( + queryParameters_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); + queryParameters_ = null; + } + return queryParametersBuilder_; + } + + private java.util.List customHeaders_ = + java.util.Collections.emptyList(); + + private void ensureCustomHeadersIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + customHeaders_ = + new java.util.ArrayList(customHeaders_); + bitField0_ |= 0x00000010; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.HeaderKeyValue, + com.google.cloud.chronicle.v1.HeaderKeyValue.Builder, + com.google.cloud.chronicle.v1.HeaderKeyValueOrBuilder> + customHeadersBuilder_; + + /** + * + * + *
+     * Optional. Define specialized key-value pairs sent with the request, often
+     * used for custom API versioning or specific vendor requirements.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List getCustomHeadersList() { + if (customHeadersBuilder_ == null) { + return java.util.Collections.unmodifiableList(customHeaders_); + } else { + return customHeadersBuilder_.getMessageList(); + } + } + + /** + * + * + *
+     * Optional. Define specialized key-value pairs sent with the request, often
+     * used for custom API versioning or specific vendor requirements.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public int getCustomHeadersCount() { + if (customHeadersBuilder_ == null) { + return customHeaders_.size(); + } else { + return customHeadersBuilder_.getCount(); + } + } + + /** + * + * + *
+     * Optional. Define specialized key-value pairs sent with the request, often
+     * used for custom API versioning or specific vendor requirements.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.chronicle.v1.HeaderKeyValue getCustomHeaders(int index) { + if (customHeadersBuilder_ == null) { + return customHeaders_.get(index); + } else { + return customHeadersBuilder_.getMessage(index); + } + } + + /** + * + * + *
+     * Optional. Define specialized key-value pairs sent with the request, often
+     * used for custom API versioning or specific vendor requirements.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setCustomHeaders(int index, com.google.cloud.chronicle.v1.HeaderKeyValue value) { + if (customHeadersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCustomHeadersIsMutable(); + customHeaders_.set(index, value); + onChanged(); + } else { + customHeadersBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Optional. Define specialized key-value pairs sent with the request, often
+     * used for custom API versioning or specific vendor requirements.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setCustomHeaders( + int index, com.google.cloud.chronicle.v1.HeaderKeyValue.Builder builderForValue) { + if (customHeadersBuilder_ == null) { + ensureCustomHeadersIsMutable(); + customHeaders_.set(index, builderForValue.build()); + onChanged(); + } else { + customHeadersBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Optional. Define specialized key-value pairs sent with the request, often
+     * used for custom API versioning or specific vendor requirements.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addCustomHeaders(com.google.cloud.chronicle.v1.HeaderKeyValue value) { + if (customHeadersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCustomHeadersIsMutable(); + customHeaders_.add(value); + onChanged(); + } else { + customHeadersBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+     * Optional. Define specialized key-value pairs sent with the request, often
+     * used for custom API versioning or specific vendor requirements.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addCustomHeaders(int index, com.google.cloud.chronicle.v1.HeaderKeyValue value) { + if (customHeadersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCustomHeadersIsMutable(); + customHeaders_.add(index, value); + onChanged(); + } else { + customHeadersBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Optional. Define specialized key-value pairs sent with the request, often
+     * used for custom API versioning or specific vendor requirements.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addCustomHeaders( + com.google.cloud.chronicle.v1.HeaderKeyValue.Builder builderForValue) { + if (customHeadersBuilder_ == null) { + ensureCustomHeadersIsMutable(); + customHeaders_.add(builderForValue.build()); + onChanged(); + } else { + customHeadersBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Optional. Define specialized key-value pairs sent with the request, often
+     * used for custom API versioning or specific vendor requirements.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addCustomHeaders( + int index, com.google.cloud.chronicle.v1.HeaderKeyValue.Builder builderForValue) { + if (customHeadersBuilder_ == null) { + ensureCustomHeadersIsMutable(); + customHeaders_.add(index, builderForValue.build()); + onChanged(); + } else { + customHeadersBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Optional. Define specialized key-value pairs sent with the request, often
+     * used for custom API versioning or specific vendor requirements.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addAllCustomHeaders( + java.lang.Iterable values) { + if (customHeadersBuilder_ == null) { + ensureCustomHeadersIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, customHeaders_); + onChanged(); + } else { + customHeadersBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+     * Optional. Define specialized key-value pairs sent with the request, often
+     * used for custom API versioning or specific vendor requirements.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearCustomHeaders() { + if (customHeadersBuilder_ == null) { + customHeaders_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + } else { + customHeadersBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Optional. Define specialized key-value pairs sent with the request, often
+     * used for custom API versioning or specific vendor requirements.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder removeCustomHeaders(int index) { + if (customHeadersBuilder_ == null) { + ensureCustomHeadersIsMutable(); + customHeaders_.remove(index); + onChanged(); + } else { + customHeadersBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+     * Optional. Define specialized key-value pairs sent with the request, often
+     * used for custom API versioning or specific vendor requirements.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.chronicle.v1.HeaderKeyValue.Builder getCustomHeadersBuilder(int index) { + return internalGetCustomHeadersFieldBuilder().getBuilder(index); + } + + /** + * + * + *
+     * Optional. Define specialized key-value pairs sent with the request, often
+     * used for custom API versioning or specific vendor requirements.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.chronicle.v1.HeaderKeyValueOrBuilder getCustomHeadersOrBuilder( + int index) { + if (customHeadersBuilder_ == null) { + return customHeaders_.get(index); + } else { + return customHeadersBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
+     * Optional. Define specialized key-value pairs sent with the request, often
+     * used for custom API versioning or specific vendor requirements.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List + getCustomHeadersOrBuilderList() { + if (customHeadersBuilder_ != null) { + return customHeadersBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(customHeaders_); + } + } + + /** + * + * + *
+     * Optional. Define specialized key-value pairs sent with the request, often
+     * used for custom API versioning or specific vendor requirements.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.chronicle.v1.HeaderKeyValue.Builder addCustomHeadersBuilder() { + return internalGetCustomHeadersFieldBuilder() + .addBuilder(com.google.cloud.chronicle.v1.HeaderKeyValue.getDefaultInstance()); + } + + /** + * + * + *
+     * Optional. Define specialized key-value pairs sent with the request, often
+     * used for custom API versioning or specific vendor requirements.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.chronicle.v1.HeaderKeyValue.Builder addCustomHeadersBuilder(int index) { + return internalGetCustomHeadersFieldBuilder() + .addBuilder(index, com.google.cloud.chronicle.v1.HeaderKeyValue.getDefaultInstance()); + } + + /** + * + * + *
+     * Optional. Define specialized key-value pairs sent with the request, often
+     * used for custom API versioning or specific vendor requirements.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List + getCustomHeadersBuilderList() { + return internalGetCustomHeadersFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.HeaderKeyValue, + com.google.cloud.chronicle.v1.HeaderKeyValue.Builder, + com.google.cloud.chronicle.v1.HeaderKeyValueOrBuilder> + internalGetCustomHeadersFieldBuilder() { + if (customHeadersBuilder_ == null) { + customHeadersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.HeaderKeyValue, + com.google.cloud.chronicle.v1.HeaderKeyValue.Builder, + com.google.cloud.chronicle.v1.HeaderKeyValueOrBuilder>( + customHeaders_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); + customHeaders_ = null; + } + return customHeadersBuilder_; + } + + private int maxRequestsPerMinute_; + + /** + * + * + *
+     * Optional. Set a safety limit to ensure the connector does not exceed the
+     * third-party vendor's API rate limits.
+     * 
+ * + * int32 max_requests_per_minute = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxRequestsPerMinute. + */ + @java.lang.Override + public int getMaxRequestsPerMinute() { + return maxRequestsPerMinute_; + } + + /** + * + * + *
+     * Optional. Set a safety limit to ensure the connector does not exceed the
+     * third-party vendor's API rate limits.
+     * 
+ * + * int32 max_requests_per_minute = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The maxRequestsPerMinute to set. + * @return This builder for chaining. + */ + public Builder setMaxRequestsPerMinute(int value) { + + maxRequestsPerMinute_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Set a safety limit to ensure the connector does not exceed the
+     * third-party vendor's API rate limits.
+     * 
+ * + * int32 max_requests_per_minute = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearMaxRequestsPerMinute() { + bitField0_ = (bitField0_ & ~0x00000020); + maxRequestsPerMinute_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.CustomAPIRequestConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.CustomAPIRequestConfig) + private static final com.google.cloud.chronicle.v1.CustomAPIRequestConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.CustomAPIRequestConfig(); + } + + public static com.google.cloud.chronicle.v1.CustomAPIRequestConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomAPIRequestConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIRequestConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIRequestConfigOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIRequestConfigOrBuilder.java new file mode 100644 index 000000000000..dcec1f1bf3af --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIRequestConfigOrBuilder.java @@ -0,0 +1,272 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface CustomAPIRequestConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.CustomAPIRequestConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Enter the specific API route appended to the Base URL to fetch
+   * the data (e.g., /v1/alerts).
+   * 
+ * + * string endpoint_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The endpointPath. + */ + java.lang.String getEndpointPath(); + + /** + * + * + *
+   * Required. Enter the specific API route appended to the Base URL to fetch
+   * the data (e.g., /v1/alerts).
+   * 
+ * + * string endpoint_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for endpointPath. + */ + com.google.protobuf.ByteString getEndpointPathBytes(); + + /** + * + * + *
+   * Required. Select the type of action to perform on the API endpoint (usually
+   * GET to retrieve data or POST to submit a query).
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIRequestConfig.HttpMethod http_method = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The enum numeric value on the wire for httpMethod. + */ + int getHttpMethodValue(); + + /** + * + * + *
+   * Required. Select the type of action to perform on the API endpoint (usually
+   * GET to retrieve data or POST to submit a query).
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIRequestConfig.HttpMethod http_method = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The httpMethod. + */ + com.google.cloud.chronicle.v1.CustomAPIRequestConfig.HttpMethod getHttpMethod(); + + /** + * + * + *
+   * Optional. Provide the data payload sent to the API to specify what
+   * information you want, typically formatted in JSON.
+   * 
+ * + * string request_body = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The requestBody. + */ + java.lang.String getRequestBody(); + + /** + * + * + *
+   * Optional. Provide the data payload sent to the API to specify what
+   * information you want, typically formatted in JSON.
+   * 
+ * + * string request_body = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for requestBody. + */ + com.google.protobuf.ByteString getRequestBodyBytes(); + + /** + * + * + *
+   * Optional. Add extra filters or settings appended to the end of the URL
+   * (e.g., ?status=critical).
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.util.List getQueryParametersList(); + + /** + * + * + *
+   * Optional. Add extra filters or settings appended to the end of the URL
+   * (e.g., ?status=critical).
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.chronicle.v1.HeaderKeyValue getQueryParameters(int index); + + /** + * + * + *
+   * Optional. Add extra filters or settings appended to the end of the URL
+   * (e.g., ?status=critical).
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + int getQueryParametersCount(); + + /** + * + * + *
+   * Optional. Add extra filters or settings appended to the end of the URL
+   * (e.g., ?status=critical).
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.util.List + getQueryParametersOrBuilderList(); + + /** + * + * + *
+   * Optional. Add extra filters or settings appended to the end of the URL
+   * (e.g., ?status=critical).
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue query_parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.chronicle.v1.HeaderKeyValueOrBuilder getQueryParametersOrBuilder(int index); + + /** + * + * + *
+   * Optional. Define specialized key-value pairs sent with the request, often
+   * used for custom API versioning or specific vendor requirements.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.util.List getCustomHeadersList(); + + /** + * + * + *
+   * Optional. Define specialized key-value pairs sent with the request, often
+   * used for custom API versioning or specific vendor requirements.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.chronicle.v1.HeaderKeyValue getCustomHeaders(int index); + + /** + * + * + *
+   * Optional. Define specialized key-value pairs sent with the request, often
+   * used for custom API versioning or specific vendor requirements.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + int getCustomHeadersCount(); + + /** + * + * + *
+   * Optional. Define specialized key-value pairs sent with the request, often
+   * used for custom API versioning or specific vendor requirements.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.util.List + getCustomHeadersOrBuilderList(); + + /** + * + * + *
+   * Optional. Define specialized key-value pairs sent with the request, often
+   * used for custom API versioning or specific vendor requirements.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue custom_headers = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.chronicle.v1.HeaderKeyValueOrBuilder getCustomHeadersOrBuilder(int index); + + /** + * + * + *
+   * Optional. Set a safety limit to ensure the connector does not exceed the
+   * third-party vendor's API rate limits.
+   * 
+ * + * int32 max_requests_per_minute = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxRequestsPerMinute. + */ + int getMaxRequestsPerMinute(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIResponseConfig.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIResponseConfig.java new file mode 100644 index 000000000000..7b2f383f4329 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIResponseConfig.java @@ -0,0 +1,711 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Configuration for handling the API response.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPIResponseConfig} + */ +@com.google.protobuf.Generated +public final class CustomAPIResponseConfig extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.CustomAPIResponseConfig) + CustomAPIResponseConfigOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "CustomAPIResponseConfig"); + } + + // Use CustomAPIResponseConfig.newBuilder() to construct. + private CustomAPIResponseConfig(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private CustomAPIResponseConfig() { + targetDataPath_ = com.google.protobuf.LazyStringArrayList.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIResponseConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIResponseConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPIResponseConfig.class, + com.google.cloud.chronicle.v1.CustomAPIResponseConfig.Builder.class); + } + + public static final int TARGET_DATA_PATH_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList targetDataPath_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + /** + * + * + *
+   * Required. Enter the exact path in the API's response payload where the list
+   * of target log entries is located.
+   * 
+ * + * repeated string target_data_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the targetDataPath. + */ + public com.google.protobuf.ProtocolStringList getTargetDataPathList() { + return targetDataPath_; + } + + /** + * + * + *
+   * Required. Enter the exact path in the API's response payload where the list
+   * of target log entries is located.
+   * 
+ * + * repeated string target_data_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of targetDataPath. + */ + public int getTargetDataPathCount() { + return targetDataPath_.size(); + } + + /** + * + * + *
+   * Required. Enter the exact path in the API's response payload where the list
+   * of target log entries is located.
+   * 
+ * + * repeated string target_data_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The targetDataPath at the given index. + */ + public java.lang.String getTargetDataPath(int index) { + return targetDataPath_.get(index); + } + + /** + * + * + *
+   * Required. Enter the exact path in the API's response payload where the list
+   * of target log entries is located.
+   * 
+ * + * repeated string target_data_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the targetDataPath at the given index. + */ + public com.google.protobuf.ByteString getTargetDataPathBytes(int index) { + return targetDataPath_.getByteString(index); + } + + 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 { + for (int i = 0; i < targetDataPath_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, targetDataPath_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < targetDataPath_.size(); i++) { + dataSize += computeStringSizeNoTag(targetDataPath_.getRaw(i)); + } + size += dataSize; + size += 1 * getTargetDataPathList().size(); + } + 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.cloud.chronicle.v1.CustomAPIResponseConfig)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.CustomAPIResponseConfig other = + (com.google.cloud.chronicle.v1.CustomAPIResponseConfig) obj; + + if (!getTargetDataPathList().equals(other.getTargetDataPathList())) 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(); + if (getTargetDataPathCount() > 0) { + hash = (37 * hash) + TARGET_DATA_PATH_FIELD_NUMBER; + hash = (53 * hash) + getTargetDataPathList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.CustomAPIResponseConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIResponseConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIResponseConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIResponseConfig 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.cloud.chronicle.v1.CustomAPIResponseConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPIResponseConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIResponseConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIResponseConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIResponseConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIResponseConfig parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPIResponseConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPIResponseConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.CustomAPIResponseConfig 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Configuration for handling the API response.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPIResponseConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.CustomAPIResponseConfig) + com.google.cloud.chronicle.v1.CustomAPIResponseConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIResponseConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIResponseConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPIResponseConfig.class, + com.google.cloud.chronicle.v1.CustomAPIResponseConfig.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.CustomAPIResponseConfig.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + targetDataPath_ = com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPIResponseConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIResponseConfig getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.CustomAPIResponseConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIResponseConfig build() { + com.google.cloud.chronicle.v1.CustomAPIResponseConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIResponseConfig buildPartial() { + com.google.cloud.chronicle.v1.CustomAPIResponseConfig result = + new com.google.cloud.chronicle.v1.CustomAPIResponseConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.CustomAPIResponseConfig result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + targetDataPath_.makeImmutable(); + result.targetDataPath_ = targetDataPath_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.CustomAPIResponseConfig) { + return mergeFrom((com.google.cloud.chronicle.v1.CustomAPIResponseConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.CustomAPIResponseConfig other) { + if (other == com.google.cloud.chronicle.v1.CustomAPIResponseConfig.getDefaultInstance()) + return this; + if (!other.targetDataPath_.isEmpty()) { + if (targetDataPath_.isEmpty()) { + targetDataPath_ = other.targetDataPath_; + bitField0_ |= 0x00000001; + } else { + ensureTargetDataPathIsMutable(); + targetDataPath_.addAll(other.targetDataPath_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureTargetDataPathIsMutable(); + targetDataPath_.add(s); + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.protobuf.LazyStringArrayList targetDataPath_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureTargetDataPathIsMutable() { + if (!targetDataPath_.isModifiable()) { + targetDataPath_ = new com.google.protobuf.LazyStringArrayList(targetDataPath_); + } + bitField0_ |= 0x00000001; + } + + /** + * + * + *
+     * Required. Enter the exact path in the API's response payload where the list
+     * of target log entries is located.
+     * 
+ * + * repeated string target_data_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the targetDataPath. + */ + public com.google.protobuf.ProtocolStringList getTargetDataPathList() { + targetDataPath_.makeImmutable(); + return targetDataPath_; + } + + /** + * + * + *
+     * Required. Enter the exact path in the API's response payload where the list
+     * of target log entries is located.
+     * 
+ * + * repeated string target_data_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of targetDataPath. + */ + public int getTargetDataPathCount() { + return targetDataPath_.size(); + } + + /** + * + * + *
+     * Required. Enter the exact path in the API's response payload where the list
+     * of target log entries is located.
+     * 
+ * + * repeated string target_data_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The targetDataPath at the given index. + */ + public java.lang.String getTargetDataPath(int index) { + return targetDataPath_.get(index); + } + + /** + * + * + *
+     * Required. Enter the exact path in the API's response payload where the list
+     * of target log entries is located.
+     * 
+ * + * repeated string target_data_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the targetDataPath at the given index. + */ + public com.google.protobuf.ByteString getTargetDataPathBytes(int index) { + return targetDataPath_.getByteString(index); + } + + /** + * + * + *
+     * Required. Enter the exact path in the API's response payload where the list
+     * of target log entries is located.
+     * 
+ * + * repeated string target_data_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index to set the value at. + * @param value The targetDataPath to set. + * @return This builder for chaining. + */ + public Builder setTargetDataPath(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTargetDataPathIsMutable(); + targetDataPath_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Enter the exact path in the API's response payload where the list
+     * of target log entries is located.
+     * 
+ * + * repeated string target_data_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The targetDataPath to add. + * @return This builder for chaining. + */ + public Builder addTargetDataPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTargetDataPathIsMutable(); + targetDataPath_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Enter the exact path in the API's response payload where the list
+     * of target log entries is located.
+     * 
+ * + * repeated string target_data_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param values The targetDataPath to add. + * @return This builder for chaining. + */ + public Builder addAllTargetDataPath(java.lang.Iterable values) { + ensureTargetDataPathIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, targetDataPath_); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Enter the exact path in the API's response payload where the list
+     * of target log entries is located.
+     * 
+ * + * repeated string target_data_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearTargetDataPath() { + targetDataPath_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Enter the exact path in the API's response payload where the list
+     * of target log entries is located.
+     * 
+ * + * repeated string target_data_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes of the targetDataPath to add. + * @return This builder for chaining. + */ + public Builder addTargetDataPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureTargetDataPathIsMutable(); + targetDataPath_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.CustomAPIResponseConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.CustomAPIResponseConfig) + private static final com.google.cloud.chronicle.v1.CustomAPIResponseConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.CustomAPIResponseConfig(); + } + + public static com.google.cloud.chronicle.v1.CustomAPIResponseConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomAPIResponseConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIResponseConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIResponseConfigOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIResponseConfigOrBuilder.java new file mode 100644 index 000000000000..5ccc91e8a784 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPIResponseConfigOrBuilder.java @@ -0,0 +1,86 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface CustomAPIResponseConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.CustomAPIResponseConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Enter the exact path in the API's response payload where the list
+   * of target log entries is located.
+   * 
+ * + * repeated string target_data_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the targetDataPath. + */ + java.util.List getTargetDataPathList(); + + /** + * + * + *
+   * Required. Enter the exact path in the API's response payload where the list
+   * of target log entries is located.
+   * 
+ * + * repeated string target_data_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of targetDataPath. + */ + int getTargetDataPathCount(); + + /** + * + * + *
+   * Required. Enter the exact path in the API's response payload where the list
+   * of target log entries is located.
+   * 
+ * + * repeated string target_data_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The targetDataPath at the given index. + */ + java.lang.String getTargetDataPath(int index); + + /** + * + * + *
+   * Required. Enter the exact path in the API's response payload where the list
+   * of target log entries is located.
+   * 
+ * + * repeated string target_data_path = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the targetDataPath at the given index. + */ + com.google.protobuf.ByteString getTargetDataPathBytes(int index); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPISettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPISettings.java new file mode 100644 index 000000000000..644df60ee451 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPISettings.java @@ -0,0 +1,2673 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Settings required by Feeds of Custom API (Codeless).
+ * Supports fetching data from third-party APIs with configurable pagination,
+ * authentication, and response parsing.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPISettings} + */ +@com.google.protobuf.Generated +public final class CustomAPISettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.CustomAPISettings) + CustomAPISettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "CustomAPISettings"); + } + + // Use CustomAPISettings.newBuilder() to construct. + private CustomAPISettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private CustomAPISettings() { + baseUrl_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPISettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPISettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPISettings.class, + com.google.cloud.chronicle.v1.CustomAPISettings.Builder.class); + } + + private int bitField0_; + private int authenticationCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object authentication_; + + public enum AuthenticationCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + NO_AUTH(8), + BASIC_AUTH(3), + OAUTH_CLIENT_CREDENTIALS(4), + HEADER_AUTH(5), + QUERY_AUTH(9), + AUTHENTICATION_NOT_SET(0); + private final int value; + + private AuthenticationCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static AuthenticationCase valueOf(int value) { + return forNumber(value); + } + + public static AuthenticationCase forNumber(int value) { + switch (value) { + case 8: + return NO_AUTH; + case 3: + return BASIC_AUTH; + case 4: + return OAUTH_CLIENT_CREDENTIALS; + case 5: + return HEADER_AUTH; + case 9: + return QUERY_AUTH; + case 0: + return AUTHENTICATION_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public AuthenticationCase getAuthenticationCase() { + return AuthenticationCase.forNumber(authenticationCase_); + } + + public static final int NO_AUTH_FIELD_NUMBER = 8; + + /** + * + * + *
+   * Authenticate without credentials or secrets.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPINoAuth no_auth = 8; + * + * @return Whether the noAuth field is set. + */ + @java.lang.Override + public boolean hasNoAuth() { + return authenticationCase_ == 8; + } + + /** + * + * + *
+   * Authenticate without credentials or secrets.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPINoAuth no_auth = 8; + * + * @return The noAuth. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPINoAuth getNoAuth() { + if (authenticationCase_ == 8) { + return (com.google.cloud.chronicle.v1.CustomAPINoAuth) authentication_; + } + return com.google.cloud.chronicle.v1.CustomAPINoAuth.getDefaultInstance(); + } + + /** + * + * + *
+   * Authenticate without credentials or secrets.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPINoAuth no_auth = 8; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPINoAuthOrBuilder getNoAuthOrBuilder() { + if (authenticationCase_ == 8) { + return (com.google.cloud.chronicle.v1.CustomAPINoAuth) authentication_; + } + return com.google.cloud.chronicle.v1.CustomAPINoAuth.getDefaultInstance(); + } + + public static final int BASIC_AUTH_FIELD_NUMBER = 3; + + /** + * + * + *
+   * Authenticate using Username/Password credentials.
+   * 
+ * + * .google.cloud.chronicle.v1.UsernameSecretAuth basic_auth = 3; + * + * @return Whether the basicAuth field is set. + */ + @java.lang.Override + public boolean hasBasicAuth() { + return authenticationCase_ == 3; + } + + /** + * + * + *
+   * Authenticate using Username/Password credentials.
+   * 
+ * + * .google.cloud.chronicle.v1.UsernameSecretAuth basic_auth = 3; + * + * @return The basicAuth. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuth getBasicAuth() { + if (authenticationCase_ == 3) { + return (com.google.cloud.chronicle.v1.UsernameSecretAuth) authentication_; + } + return com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance(); + } + + /** + * + * + *
+   * Authenticate using Username/Password credentials.
+   * 
+ * + * .google.cloud.chronicle.v1.UsernameSecretAuth basic_auth = 3; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getBasicAuthOrBuilder() { + if (authenticationCase_ == 3) { + return (com.google.cloud.chronicle.v1.UsernameSecretAuth) authentication_; + } + return com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance(); + } + + public static final int OAUTH_CLIENT_CREDENTIALS_FIELD_NUMBER = 4; + + /** + * + * + *
+   * Authenticate using OAuth 2.0 Client Credentials Grant flow.
+   * 
+ * + * .google.cloud.chronicle.v1.OAuthClientCredentials oauth_client_credentials = 4; + * + * @return Whether the oauthClientCredentials field is set. + */ + @java.lang.Override + public boolean hasOauthClientCredentials() { + return authenticationCase_ == 4; + } + + /** + * + * + *
+   * Authenticate using OAuth 2.0 Client Credentials Grant flow.
+   * 
+ * + * .google.cloud.chronicle.v1.OAuthClientCredentials oauth_client_credentials = 4; + * + * @return The oauthClientCredentials. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthClientCredentials getOauthClientCredentials() { + if (authenticationCase_ == 4) { + return (com.google.cloud.chronicle.v1.OAuthClientCredentials) authentication_; + } + return com.google.cloud.chronicle.v1.OAuthClientCredentials.getDefaultInstance(); + } + + /** + * + * + *
+   * Authenticate using OAuth 2.0 Client Credentials Grant flow.
+   * 
+ * + * .google.cloud.chronicle.v1.OAuthClientCredentials oauth_client_credentials = 4; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthClientCredentialsOrBuilder + getOauthClientCredentialsOrBuilder() { + if (authenticationCase_ == 4) { + return (com.google.cloud.chronicle.v1.OAuthClientCredentials) authentication_; + } + return com.google.cloud.chronicle.v1.OAuthClientCredentials.getDefaultInstance(); + } + + public static final int HEADER_AUTH_FIELD_NUMBER = 5; + + /** + * + * + *
+   * Authenticate using custom API Keys injected into request headers.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIHeaderAuth header_auth = 5; + * + * @return Whether the headerAuth field is set. + */ + @java.lang.Override + public boolean hasHeaderAuth() { + return authenticationCase_ == 5; + } + + /** + * + * + *
+   * Authenticate using custom API Keys injected into request headers.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIHeaderAuth header_auth = 5; + * + * @return The headerAuth. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIHeaderAuth getHeaderAuth() { + if (authenticationCase_ == 5) { + return (com.google.cloud.chronicle.v1.CustomAPIHeaderAuth) authentication_; + } + return com.google.cloud.chronicle.v1.CustomAPIHeaderAuth.getDefaultInstance(); + } + + /** + * + * + *
+   * Authenticate using custom API Keys injected into request headers.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIHeaderAuth header_auth = 5; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIHeaderAuthOrBuilder getHeaderAuthOrBuilder() { + if (authenticationCase_ == 5) { + return (com.google.cloud.chronicle.v1.CustomAPIHeaderAuth) authentication_; + } + return com.google.cloud.chronicle.v1.CustomAPIHeaderAuth.getDefaultInstance(); + } + + public static final int QUERY_AUTH_FIELD_NUMBER = 9; + + /** + * + * + *
+   * Authenticate using custom API Keys injected into URL query parameters.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIQueryAuth query_auth = 9; + * + * @return Whether the queryAuth field is set. + */ + @java.lang.Override + public boolean hasQueryAuth() { + return authenticationCase_ == 9; + } + + /** + * + * + *
+   * Authenticate using custom API Keys injected into URL query parameters.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIQueryAuth query_auth = 9; + * + * @return The queryAuth. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIQueryAuth getQueryAuth() { + if (authenticationCase_ == 9) { + return (com.google.cloud.chronicle.v1.CustomAPIQueryAuth) authentication_; + } + return com.google.cloud.chronicle.v1.CustomAPIQueryAuth.getDefaultInstance(); + } + + /** + * + * + *
+   * Authenticate using custom API Keys injected into URL query parameters.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIQueryAuth query_auth = 9; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIQueryAuthOrBuilder getQueryAuthOrBuilder() { + if (authenticationCase_ == 9) { + return (com.google.cloud.chronicle.v1.CustomAPIQueryAuth) authentication_; + } + return com.google.cloud.chronicle.v1.CustomAPIQueryAuth.getDefaultInstance(); + } + + public static final int BASE_URL_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object baseUrl_ = ""; + + /** + * + * + *
+   * Required. Enter the primary web address of the third-party API (e.g.,
+   * https://api.vendor.com).
+   * 
+ * + * string base_url = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The baseUrl. + */ + @java.lang.Override + public java.lang.String getBaseUrl() { + java.lang.Object ref = baseUrl_; + 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(); + baseUrl_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Enter the primary web address of the third-party API (e.g.,
+   * https://api.vendor.com).
+   * 
+ * + * string base_url = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for baseUrl. + */ + @java.lang.Override + public com.google.protobuf.ByteString getBaseUrlBytes() { + java.lang.Object ref = baseUrl_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + baseUrl_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int POLLING_FREQUENCY_FIELD_NUMBER = 2; + private int pollingFrequency_ = 0; + + /** + * + * + *
+   * Optional. Specify how often the platform checks the API for new data in
+   * minutes (default is 15 minutes).
+   * 
+ * + * int32 polling_frequency = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pollingFrequency. + */ + @java.lang.Override + public int getPollingFrequency() { + return pollingFrequency_; + } + + public static final int PRIMARY_REQUEST_FIELD_NUMBER = 6; + private com.google.cloud.chronicle.v1.CustomAPITransferNode primaryRequest_; + + /** + * + * + *
+   * Required. Configure the initial API call used to fetch the main list of
+   * logs or events.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPITransferNode primary_request = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the primaryRequest field is set. + */ + @java.lang.Override + public boolean hasPrimaryRequest() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Required. Configure the initial API call used to fetch the main list of
+   * logs or events.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPITransferNode primary_request = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The primaryRequest. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPITransferNode getPrimaryRequest() { + return primaryRequest_ == null + ? com.google.cloud.chronicle.v1.CustomAPITransferNode.getDefaultInstance() + : primaryRequest_; + } + + /** + * + * + *
+   * Required. Configure the initial API call used to fetch the main list of
+   * logs or events.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPITransferNode primary_request = 6 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPITransferNodeOrBuilder getPrimaryRequestOrBuilder() { + return primaryRequest_ == null + ? com.google.cloud.chronicle.v1.CustomAPITransferNode.getDefaultInstance() + : primaryRequest_; + } + + 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.GeneratedMessage.isStringEmpty(baseUrl_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, baseUrl_); + } + if (pollingFrequency_ != 0) { + output.writeInt32(2, pollingFrequency_); + } + if (authenticationCase_ == 3) { + output.writeMessage(3, (com.google.cloud.chronicle.v1.UsernameSecretAuth) authentication_); + } + if (authenticationCase_ == 4) { + output.writeMessage( + 4, (com.google.cloud.chronicle.v1.OAuthClientCredentials) authentication_); + } + if (authenticationCase_ == 5) { + output.writeMessage(5, (com.google.cloud.chronicle.v1.CustomAPIHeaderAuth) authentication_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(6, getPrimaryRequest()); + } + if (authenticationCase_ == 8) { + output.writeMessage(8, (com.google.cloud.chronicle.v1.CustomAPINoAuth) authentication_); + } + if (authenticationCase_ == 9) { + output.writeMessage(9, (com.google.cloud.chronicle.v1.CustomAPIQueryAuth) authentication_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(baseUrl_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, baseUrl_); + } + if (pollingFrequency_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pollingFrequency_); + } + if (authenticationCase_ == 3) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.chronicle.v1.UsernameSecretAuth) authentication_); + } + if (authenticationCase_ == 4) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.chronicle.v1.OAuthClientCredentials) authentication_); + } + if (authenticationCase_ == 5) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.cloud.chronicle.v1.CustomAPIHeaderAuth) authentication_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getPrimaryRequest()); + } + if (authenticationCase_ == 8) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.cloud.chronicle.v1.CustomAPINoAuth) authentication_); + } + if (authenticationCase_ == 9) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, (com.google.cloud.chronicle.v1.CustomAPIQueryAuth) authentication_); + } + 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.cloud.chronicle.v1.CustomAPISettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.CustomAPISettings other = + (com.google.cloud.chronicle.v1.CustomAPISettings) obj; + + if (!getBaseUrl().equals(other.getBaseUrl())) return false; + if (getPollingFrequency() != other.getPollingFrequency()) return false; + if (hasPrimaryRequest() != other.hasPrimaryRequest()) return false; + if (hasPrimaryRequest()) { + if (!getPrimaryRequest().equals(other.getPrimaryRequest())) return false; + } + if (!getAuthenticationCase().equals(other.getAuthenticationCase())) return false; + switch (authenticationCase_) { + case 8: + if (!getNoAuth().equals(other.getNoAuth())) return false; + break; + case 3: + if (!getBasicAuth().equals(other.getBasicAuth())) return false; + break; + case 4: + if (!getOauthClientCredentials().equals(other.getOauthClientCredentials())) return false; + break; + case 5: + if (!getHeaderAuth().equals(other.getHeaderAuth())) return false; + break; + case 9: + if (!getQueryAuth().equals(other.getQueryAuth())) return false; + break; + case 0: + default: + } + 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) + BASE_URL_FIELD_NUMBER; + hash = (53 * hash) + getBaseUrl().hashCode(); + hash = (37 * hash) + POLLING_FREQUENCY_FIELD_NUMBER; + hash = (53 * hash) + getPollingFrequency(); + if (hasPrimaryRequest()) { + hash = (37 * hash) + PRIMARY_REQUEST_FIELD_NUMBER; + hash = (53 * hash) + getPrimaryRequest().hashCode(); + } + switch (authenticationCase_) { + case 8: + hash = (37 * hash) + NO_AUTH_FIELD_NUMBER; + hash = (53 * hash) + getNoAuth().hashCode(); + break; + case 3: + hash = (37 * hash) + BASIC_AUTH_FIELD_NUMBER; + hash = (53 * hash) + getBasicAuth().hashCode(); + break; + case 4: + hash = (37 * hash) + OAUTH_CLIENT_CREDENTIALS_FIELD_NUMBER; + hash = (53 * hash) + getOauthClientCredentials().hashCode(); + break; + case 5: + hash = (37 * hash) + HEADER_AUTH_FIELD_NUMBER; + hash = (53 * hash) + getHeaderAuth().hashCode(); + break; + case 9: + hash = (37 * hash) + QUERY_AUTH_FIELD_NUMBER; + hash = (53 * hash) + getQueryAuth().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.CustomAPISettings parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPISettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPISettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPISettings 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.cloud.chronicle.v1.CustomAPISettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPISettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPISettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPISettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPISettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPISettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPISettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPISettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.CustomAPISettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Settings required by Feeds of Custom API (Codeless).
+   * Supports fetching data from third-party APIs with configurable pagination,
+   * authentication, and response parsing.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPISettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.CustomAPISettings) + com.google.cloud.chronicle.v1.CustomAPISettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPISettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPISettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPISettings.class, + com.google.cloud.chronicle.v1.CustomAPISettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.CustomAPISettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetPrimaryRequestFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (noAuthBuilder_ != null) { + noAuthBuilder_.clear(); + } + if (basicAuthBuilder_ != null) { + basicAuthBuilder_.clear(); + } + if (oauthClientCredentialsBuilder_ != null) { + oauthClientCredentialsBuilder_.clear(); + } + if (headerAuthBuilder_ != null) { + headerAuthBuilder_.clear(); + } + if (queryAuthBuilder_ != null) { + queryAuthBuilder_.clear(); + } + baseUrl_ = ""; + pollingFrequency_ = 0; + primaryRequest_ = null; + if (primaryRequestBuilder_ != null) { + primaryRequestBuilder_.dispose(); + primaryRequestBuilder_ = null; + } + authenticationCase_ = 0; + authentication_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPISettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPISettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.CustomAPISettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPISettings build() { + com.google.cloud.chronicle.v1.CustomAPISettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPISettings buildPartial() { + com.google.cloud.chronicle.v1.CustomAPISettings result = + new com.google.cloud.chronicle.v1.CustomAPISettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.CustomAPISettings result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000020) != 0)) { + result.baseUrl_ = baseUrl_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.pollingFrequency_ = pollingFrequency_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000080) != 0)) { + result.primaryRequest_ = + primaryRequestBuilder_ == null ? primaryRequest_ : primaryRequestBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + private void buildPartialOneofs(com.google.cloud.chronicle.v1.CustomAPISettings result) { + result.authenticationCase_ = authenticationCase_; + result.authentication_ = this.authentication_; + if (authenticationCase_ == 8 && noAuthBuilder_ != null) { + result.authentication_ = noAuthBuilder_.build(); + } + if (authenticationCase_ == 3 && basicAuthBuilder_ != null) { + result.authentication_ = basicAuthBuilder_.build(); + } + if (authenticationCase_ == 4 && oauthClientCredentialsBuilder_ != null) { + result.authentication_ = oauthClientCredentialsBuilder_.build(); + } + if (authenticationCase_ == 5 && headerAuthBuilder_ != null) { + result.authentication_ = headerAuthBuilder_.build(); + } + if (authenticationCase_ == 9 && queryAuthBuilder_ != null) { + result.authentication_ = queryAuthBuilder_.build(); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.CustomAPISettings) { + return mergeFrom((com.google.cloud.chronicle.v1.CustomAPISettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.CustomAPISettings other) { + if (other == com.google.cloud.chronicle.v1.CustomAPISettings.getDefaultInstance()) + return this; + if (!other.getBaseUrl().isEmpty()) { + baseUrl_ = other.baseUrl_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (other.getPollingFrequency() != 0) { + setPollingFrequency(other.getPollingFrequency()); + } + if (other.hasPrimaryRequest()) { + mergePrimaryRequest(other.getPrimaryRequest()); + } + switch (other.getAuthenticationCase()) { + case NO_AUTH: + { + mergeNoAuth(other.getNoAuth()); + break; + } + case BASIC_AUTH: + { + mergeBasicAuth(other.getBasicAuth()); + break; + } + case OAUTH_CLIENT_CREDENTIALS: + { + mergeOauthClientCredentials(other.getOauthClientCredentials()); + break; + } + case HEADER_AUTH: + { + mergeHeaderAuth(other.getHeaderAuth()); + break; + } + case QUERY_AUTH: + { + mergeQueryAuth(other.getQueryAuth()); + break; + } + case AUTHENTICATION_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + baseUrl_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 10 + case 16: + { + pollingFrequency_ = input.readInt32(); + bitField0_ |= 0x00000040; + break; + } // case 16 + case 26: + { + input.readMessage( + internalGetBasicAuthFieldBuilder().getBuilder(), extensionRegistry); + authenticationCase_ = 3; + break; + } // case 26 + case 34: + { + input.readMessage( + internalGetOauthClientCredentialsFieldBuilder().getBuilder(), + extensionRegistry); + authenticationCase_ = 4; + break; + } // case 34 + case 42: + { + input.readMessage( + internalGetHeaderAuthFieldBuilder().getBuilder(), extensionRegistry); + authenticationCase_ = 5; + break; + } // case 42 + case 50: + { + input.readMessage( + internalGetPrimaryRequestFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 50 + case 66: + { + input.readMessage(internalGetNoAuthFieldBuilder().getBuilder(), extensionRegistry); + authenticationCase_ = 8; + break; + } // case 66 + case 74: + { + input.readMessage( + internalGetQueryAuthFieldBuilder().getBuilder(), extensionRegistry); + authenticationCase_ = 9; + break; + } // case 74 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int authenticationCase_ = 0; + private java.lang.Object authentication_; + + public AuthenticationCase getAuthenticationCase() { + return AuthenticationCase.forNumber(authenticationCase_); + } + + public Builder clearAuthentication() { + authenticationCase_ = 0; + authentication_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPINoAuth, + com.google.cloud.chronicle.v1.CustomAPINoAuth.Builder, + com.google.cloud.chronicle.v1.CustomAPINoAuthOrBuilder> + noAuthBuilder_; + + /** + * + * + *
+     * Authenticate without credentials or secrets.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPINoAuth no_auth = 8; + * + * @return Whether the noAuth field is set. + */ + @java.lang.Override + public boolean hasNoAuth() { + return authenticationCase_ == 8; + } + + /** + * + * + *
+     * Authenticate without credentials or secrets.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPINoAuth no_auth = 8; + * + * @return The noAuth. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPINoAuth getNoAuth() { + if (noAuthBuilder_ == null) { + if (authenticationCase_ == 8) { + return (com.google.cloud.chronicle.v1.CustomAPINoAuth) authentication_; + } + return com.google.cloud.chronicle.v1.CustomAPINoAuth.getDefaultInstance(); + } else { + if (authenticationCase_ == 8) { + return noAuthBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.CustomAPINoAuth.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Authenticate without credentials or secrets.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPINoAuth no_auth = 8; + */ + public Builder setNoAuth(com.google.cloud.chronicle.v1.CustomAPINoAuth value) { + if (noAuthBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + onChanged(); + } else { + noAuthBuilder_.setMessage(value); + } + authenticationCase_ = 8; + return this; + } + + /** + * + * + *
+     * Authenticate without credentials or secrets.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPINoAuth no_auth = 8; + */ + public Builder setNoAuth( + com.google.cloud.chronicle.v1.CustomAPINoAuth.Builder builderForValue) { + if (noAuthBuilder_ == null) { + authentication_ = builderForValue.build(); + onChanged(); + } else { + noAuthBuilder_.setMessage(builderForValue.build()); + } + authenticationCase_ = 8; + return this; + } + + /** + * + * + *
+     * Authenticate without credentials or secrets.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPINoAuth no_auth = 8; + */ + public Builder mergeNoAuth(com.google.cloud.chronicle.v1.CustomAPINoAuth value) { + if (noAuthBuilder_ == null) { + if (authenticationCase_ == 8 + && authentication_ + != com.google.cloud.chronicle.v1.CustomAPINoAuth.getDefaultInstance()) { + authentication_ = + com.google.cloud.chronicle.v1.CustomAPINoAuth.newBuilder( + (com.google.cloud.chronicle.v1.CustomAPINoAuth) authentication_) + .mergeFrom(value) + .buildPartial(); + } else { + authentication_ = value; + } + onChanged(); + } else { + if (authenticationCase_ == 8) { + noAuthBuilder_.mergeFrom(value); + } else { + noAuthBuilder_.setMessage(value); + } + } + authenticationCase_ = 8; + return this; + } + + /** + * + * + *
+     * Authenticate without credentials or secrets.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPINoAuth no_auth = 8; + */ + public Builder clearNoAuth() { + if (noAuthBuilder_ == null) { + if (authenticationCase_ == 8) { + authenticationCase_ = 0; + authentication_ = null; + onChanged(); + } + } else { + if (authenticationCase_ == 8) { + authenticationCase_ = 0; + authentication_ = null; + } + noAuthBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Authenticate without credentials or secrets.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPINoAuth no_auth = 8; + */ + public com.google.cloud.chronicle.v1.CustomAPINoAuth.Builder getNoAuthBuilder() { + return internalGetNoAuthFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Authenticate without credentials or secrets.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPINoAuth no_auth = 8; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPINoAuthOrBuilder getNoAuthOrBuilder() { + if ((authenticationCase_ == 8) && (noAuthBuilder_ != null)) { + return noAuthBuilder_.getMessageOrBuilder(); + } else { + if (authenticationCase_ == 8) { + return (com.google.cloud.chronicle.v1.CustomAPINoAuth) authentication_; + } + return com.google.cloud.chronicle.v1.CustomAPINoAuth.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Authenticate without credentials or secrets.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPINoAuth no_auth = 8; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPINoAuth, + com.google.cloud.chronicle.v1.CustomAPINoAuth.Builder, + com.google.cloud.chronicle.v1.CustomAPINoAuthOrBuilder> + internalGetNoAuthFieldBuilder() { + if (noAuthBuilder_ == null) { + if (!(authenticationCase_ == 8)) { + authentication_ = com.google.cloud.chronicle.v1.CustomAPINoAuth.getDefaultInstance(); + } + noAuthBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPINoAuth, + com.google.cloud.chronicle.v1.CustomAPINoAuth.Builder, + com.google.cloud.chronicle.v1.CustomAPINoAuthOrBuilder>( + (com.google.cloud.chronicle.v1.CustomAPINoAuth) authentication_, + getParentForChildren(), + isClean()); + authentication_ = null; + } + authenticationCase_ = 8; + onChanged(); + return noAuthBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + basicAuthBuilder_; + + /** + * + * + *
+     * Authenticate using Username/Password credentials.
+     * 
+ * + * .google.cloud.chronicle.v1.UsernameSecretAuth basic_auth = 3; + * + * @return Whether the basicAuth field is set. + */ + @java.lang.Override + public boolean hasBasicAuth() { + return authenticationCase_ == 3; + } + + /** + * + * + *
+     * Authenticate using Username/Password credentials.
+     * 
+ * + * .google.cloud.chronicle.v1.UsernameSecretAuth basic_auth = 3; + * + * @return The basicAuth. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuth getBasicAuth() { + if (basicAuthBuilder_ == null) { + if (authenticationCase_ == 3) { + return (com.google.cloud.chronicle.v1.UsernameSecretAuth) authentication_; + } + return com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance(); + } else { + if (authenticationCase_ == 3) { + return basicAuthBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Authenticate using Username/Password credentials.
+     * 
+ * + * .google.cloud.chronicle.v1.UsernameSecretAuth basic_auth = 3; + */ + public Builder setBasicAuth(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (basicAuthBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + onChanged(); + } else { + basicAuthBuilder_.setMessage(value); + } + authenticationCase_ = 3; + return this; + } + + /** + * + * + *
+     * Authenticate using Username/Password credentials.
+     * 
+ * + * .google.cloud.chronicle.v1.UsernameSecretAuth basic_auth = 3; + */ + public Builder setBasicAuth( + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder builderForValue) { + if (basicAuthBuilder_ == null) { + authentication_ = builderForValue.build(); + onChanged(); + } else { + basicAuthBuilder_.setMessage(builderForValue.build()); + } + authenticationCase_ = 3; + return this; + } + + /** + * + * + *
+     * Authenticate using Username/Password credentials.
+     * 
+ * + * .google.cloud.chronicle.v1.UsernameSecretAuth basic_auth = 3; + */ + public Builder mergeBasicAuth(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (basicAuthBuilder_ == null) { + if (authenticationCase_ == 3 + && authentication_ + != com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance()) { + authentication_ = + com.google.cloud.chronicle.v1.UsernameSecretAuth.newBuilder( + (com.google.cloud.chronicle.v1.UsernameSecretAuth) authentication_) + .mergeFrom(value) + .buildPartial(); + } else { + authentication_ = value; + } + onChanged(); + } else { + if (authenticationCase_ == 3) { + basicAuthBuilder_.mergeFrom(value); + } else { + basicAuthBuilder_.setMessage(value); + } + } + authenticationCase_ = 3; + return this; + } + + /** + * + * + *
+     * Authenticate using Username/Password credentials.
+     * 
+ * + * .google.cloud.chronicle.v1.UsernameSecretAuth basic_auth = 3; + */ + public Builder clearBasicAuth() { + if (basicAuthBuilder_ == null) { + if (authenticationCase_ == 3) { + authenticationCase_ = 0; + authentication_ = null; + onChanged(); + } + } else { + if (authenticationCase_ == 3) { + authenticationCase_ = 0; + authentication_ = null; + } + basicAuthBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Authenticate using Username/Password credentials.
+     * 
+ * + * .google.cloud.chronicle.v1.UsernameSecretAuth basic_auth = 3; + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder getBasicAuthBuilder() { + return internalGetBasicAuthFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Authenticate using Username/Password credentials.
+     * 
+ * + * .google.cloud.chronicle.v1.UsernameSecretAuth basic_auth = 3; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getBasicAuthOrBuilder() { + if ((authenticationCase_ == 3) && (basicAuthBuilder_ != null)) { + return basicAuthBuilder_.getMessageOrBuilder(); + } else { + if (authenticationCase_ == 3) { + return (com.google.cloud.chronicle.v1.UsernameSecretAuth) authentication_; + } + return com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Authenticate using Username/Password credentials.
+     * 
+ * + * .google.cloud.chronicle.v1.UsernameSecretAuth basic_auth = 3; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + internalGetBasicAuthFieldBuilder() { + if (basicAuthBuilder_ == null) { + if (!(authenticationCase_ == 3)) { + authentication_ = com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance(); + } + basicAuthBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder>( + (com.google.cloud.chronicle.v1.UsernameSecretAuth) authentication_, + getParentForChildren(), + isClean()); + authentication_ = null; + } + authenticationCase_ = 3; + onChanged(); + return basicAuthBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthClientCredentials, + com.google.cloud.chronicle.v1.OAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthClientCredentialsOrBuilder> + oauthClientCredentialsBuilder_; + + /** + * + * + *
+     * Authenticate using OAuth 2.0 Client Credentials Grant flow.
+     * 
+ * + * .google.cloud.chronicle.v1.OAuthClientCredentials oauth_client_credentials = 4; + * + * @return Whether the oauthClientCredentials field is set. + */ + @java.lang.Override + public boolean hasOauthClientCredentials() { + return authenticationCase_ == 4; + } + + /** + * + * + *
+     * Authenticate using OAuth 2.0 Client Credentials Grant flow.
+     * 
+ * + * .google.cloud.chronicle.v1.OAuthClientCredentials oauth_client_credentials = 4; + * + * @return The oauthClientCredentials. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthClientCredentials getOauthClientCredentials() { + if (oauthClientCredentialsBuilder_ == null) { + if (authenticationCase_ == 4) { + return (com.google.cloud.chronicle.v1.OAuthClientCredentials) authentication_; + } + return com.google.cloud.chronicle.v1.OAuthClientCredentials.getDefaultInstance(); + } else { + if (authenticationCase_ == 4) { + return oauthClientCredentialsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.OAuthClientCredentials.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Authenticate using OAuth 2.0 Client Credentials Grant flow.
+     * 
+ * + * .google.cloud.chronicle.v1.OAuthClientCredentials oauth_client_credentials = 4; + */ + public Builder setOauthClientCredentials( + com.google.cloud.chronicle.v1.OAuthClientCredentials value) { + if (oauthClientCredentialsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + onChanged(); + } else { + oauthClientCredentialsBuilder_.setMessage(value); + } + authenticationCase_ = 4; + return this; + } + + /** + * + * + *
+     * Authenticate using OAuth 2.0 Client Credentials Grant flow.
+     * 
+ * + * .google.cloud.chronicle.v1.OAuthClientCredentials oauth_client_credentials = 4; + */ + public Builder setOauthClientCredentials( + com.google.cloud.chronicle.v1.OAuthClientCredentials.Builder builderForValue) { + if (oauthClientCredentialsBuilder_ == null) { + authentication_ = builderForValue.build(); + onChanged(); + } else { + oauthClientCredentialsBuilder_.setMessage(builderForValue.build()); + } + authenticationCase_ = 4; + return this; + } + + /** + * + * + *
+     * Authenticate using OAuth 2.0 Client Credentials Grant flow.
+     * 
+ * + * .google.cloud.chronicle.v1.OAuthClientCredentials oauth_client_credentials = 4; + */ + public Builder mergeOauthClientCredentials( + com.google.cloud.chronicle.v1.OAuthClientCredentials value) { + if (oauthClientCredentialsBuilder_ == null) { + if (authenticationCase_ == 4 + && authentication_ + != com.google.cloud.chronicle.v1.OAuthClientCredentials.getDefaultInstance()) { + authentication_ = + com.google.cloud.chronicle.v1.OAuthClientCredentials.newBuilder( + (com.google.cloud.chronicle.v1.OAuthClientCredentials) authentication_) + .mergeFrom(value) + .buildPartial(); + } else { + authentication_ = value; + } + onChanged(); + } else { + if (authenticationCase_ == 4) { + oauthClientCredentialsBuilder_.mergeFrom(value); + } else { + oauthClientCredentialsBuilder_.setMessage(value); + } + } + authenticationCase_ = 4; + return this; + } + + /** + * + * + *
+     * Authenticate using OAuth 2.0 Client Credentials Grant flow.
+     * 
+ * + * .google.cloud.chronicle.v1.OAuthClientCredentials oauth_client_credentials = 4; + */ + public Builder clearOauthClientCredentials() { + if (oauthClientCredentialsBuilder_ == null) { + if (authenticationCase_ == 4) { + authenticationCase_ = 0; + authentication_ = null; + onChanged(); + } + } else { + if (authenticationCase_ == 4) { + authenticationCase_ = 0; + authentication_ = null; + } + oauthClientCredentialsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Authenticate using OAuth 2.0 Client Credentials Grant flow.
+     * 
+ * + * .google.cloud.chronicle.v1.OAuthClientCredentials oauth_client_credentials = 4; + */ + public com.google.cloud.chronicle.v1.OAuthClientCredentials.Builder + getOauthClientCredentialsBuilder() { + return internalGetOauthClientCredentialsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Authenticate using OAuth 2.0 Client Credentials Grant flow.
+     * 
+ * + * .google.cloud.chronicle.v1.OAuthClientCredentials oauth_client_credentials = 4; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthClientCredentialsOrBuilder + getOauthClientCredentialsOrBuilder() { + if ((authenticationCase_ == 4) && (oauthClientCredentialsBuilder_ != null)) { + return oauthClientCredentialsBuilder_.getMessageOrBuilder(); + } else { + if (authenticationCase_ == 4) { + return (com.google.cloud.chronicle.v1.OAuthClientCredentials) authentication_; + } + return com.google.cloud.chronicle.v1.OAuthClientCredentials.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Authenticate using OAuth 2.0 Client Credentials Grant flow.
+     * 
+ * + * .google.cloud.chronicle.v1.OAuthClientCredentials oauth_client_credentials = 4; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthClientCredentials, + com.google.cloud.chronicle.v1.OAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthClientCredentialsOrBuilder> + internalGetOauthClientCredentialsFieldBuilder() { + if (oauthClientCredentialsBuilder_ == null) { + if (!(authenticationCase_ == 4)) { + authentication_ = + com.google.cloud.chronicle.v1.OAuthClientCredentials.getDefaultInstance(); + } + oauthClientCredentialsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthClientCredentials, + com.google.cloud.chronicle.v1.OAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthClientCredentialsOrBuilder>( + (com.google.cloud.chronicle.v1.OAuthClientCredentials) authentication_, + getParentForChildren(), + isClean()); + authentication_ = null; + } + authenticationCase_ = 4; + onChanged(); + return oauthClientCredentialsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIHeaderAuth, + com.google.cloud.chronicle.v1.CustomAPIHeaderAuth.Builder, + com.google.cloud.chronicle.v1.CustomAPIHeaderAuthOrBuilder> + headerAuthBuilder_; + + /** + * + * + *
+     * Authenticate using custom API Keys injected into request headers.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIHeaderAuth header_auth = 5; + * + * @return Whether the headerAuth field is set. + */ + @java.lang.Override + public boolean hasHeaderAuth() { + return authenticationCase_ == 5; + } + + /** + * + * + *
+     * Authenticate using custom API Keys injected into request headers.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIHeaderAuth header_auth = 5; + * + * @return The headerAuth. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIHeaderAuth getHeaderAuth() { + if (headerAuthBuilder_ == null) { + if (authenticationCase_ == 5) { + return (com.google.cloud.chronicle.v1.CustomAPIHeaderAuth) authentication_; + } + return com.google.cloud.chronicle.v1.CustomAPIHeaderAuth.getDefaultInstance(); + } else { + if (authenticationCase_ == 5) { + return headerAuthBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.CustomAPIHeaderAuth.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Authenticate using custom API Keys injected into request headers.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIHeaderAuth header_auth = 5; + */ + public Builder setHeaderAuth(com.google.cloud.chronicle.v1.CustomAPIHeaderAuth value) { + if (headerAuthBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + onChanged(); + } else { + headerAuthBuilder_.setMessage(value); + } + authenticationCase_ = 5; + return this; + } + + /** + * + * + *
+     * Authenticate using custom API Keys injected into request headers.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIHeaderAuth header_auth = 5; + */ + public Builder setHeaderAuth( + com.google.cloud.chronicle.v1.CustomAPIHeaderAuth.Builder builderForValue) { + if (headerAuthBuilder_ == null) { + authentication_ = builderForValue.build(); + onChanged(); + } else { + headerAuthBuilder_.setMessage(builderForValue.build()); + } + authenticationCase_ = 5; + return this; + } + + /** + * + * + *
+     * Authenticate using custom API Keys injected into request headers.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIHeaderAuth header_auth = 5; + */ + public Builder mergeHeaderAuth(com.google.cloud.chronicle.v1.CustomAPIHeaderAuth value) { + if (headerAuthBuilder_ == null) { + if (authenticationCase_ == 5 + && authentication_ + != com.google.cloud.chronicle.v1.CustomAPIHeaderAuth.getDefaultInstance()) { + authentication_ = + com.google.cloud.chronicle.v1.CustomAPIHeaderAuth.newBuilder( + (com.google.cloud.chronicle.v1.CustomAPIHeaderAuth) authentication_) + .mergeFrom(value) + .buildPartial(); + } else { + authentication_ = value; + } + onChanged(); + } else { + if (authenticationCase_ == 5) { + headerAuthBuilder_.mergeFrom(value); + } else { + headerAuthBuilder_.setMessage(value); + } + } + authenticationCase_ = 5; + return this; + } + + /** + * + * + *
+     * Authenticate using custom API Keys injected into request headers.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIHeaderAuth header_auth = 5; + */ + public Builder clearHeaderAuth() { + if (headerAuthBuilder_ == null) { + if (authenticationCase_ == 5) { + authenticationCase_ = 0; + authentication_ = null; + onChanged(); + } + } else { + if (authenticationCase_ == 5) { + authenticationCase_ = 0; + authentication_ = null; + } + headerAuthBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Authenticate using custom API Keys injected into request headers.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIHeaderAuth header_auth = 5; + */ + public com.google.cloud.chronicle.v1.CustomAPIHeaderAuth.Builder getHeaderAuthBuilder() { + return internalGetHeaderAuthFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Authenticate using custom API Keys injected into request headers.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIHeaderAuth header_auth = 5; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIHeaderAuthOrBuilder getHeaderAuthOrBuilder() { + if ((authenticationCase_ == 5) && (headerAuthBuilder_ != null)) { + return headerAuthBuilder_.getMessageOrBuilder(); + } else { + if (authenticationCase_ == 5) { + return (com.google.cloud.chronicle.v1.CustomAPIHeaderAuth) authentication_; + } + return com.google.cloud.chronicle.v1.CustomAPIHeaderAuth.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Authenticate using custom API Keys injected into request headers.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIHeaderAuth header_auth = 5; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIHeaderAuth, + com.google.cloud.chronicle.v1.CustomAPIHeaderAuth.Builder, + com.google.cloud.chronicle.v1.CustomAPIHeaderAuthOrBuilder> + internalGetHeaderAuthFieldBuilder() { + if (headerAuthBuilder_ == null) { + if (!(authenticationCase_ == 5)) { + authentication_ = com.google.cloud.chronicle.v1.CustomAPIHeaderAuth.getDefaultInstance(); + } + headerAuthBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIHeaderAuth, + com.google.cloud.chronicle.v1.CustomAPIHeaderAuth.Builder, + com.google.cloud.chronicle.v1.CustomAPIHeaderAuthOrBuilder>( + (com.google.cloud.chronicle.v1.CustomAPIHeaderAuth) authentication_, + getParentForChildren(), + isClean()); + authentication_ = null; + } + authenticationCase_ = 5; + onChanged(); + return headerAuthBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIQueryAuth, + com.google.cloud.chronicle.v1.CustomAPIQueryAuth.Builder, + com.google.cloud.chronicle.v1.CustomAPIQueryAuthOrBuilder> + queryAuthBuilder_; + + /** + * + * + *
+     * Authenticate using custom API Keys injected into URL query parameters.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIQueryAuth query_auth = 9; + * + * @return Whether the queryAuth field is set. + */ + @java.lang.Override + public boolean hasQueryAuth() { + return authenticationCase_ == 9; + } + + /** + * + * + *
+     * Authenticate using custom API Keys injected into URL query parameters.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIQueryAuth query_auth = 9; + * + * @return The queryAuth. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIQueryAuth getQueryAuth() { + if (queryAuthBuilder_ == null) { + if (authenticationCase_ == 9) { + return (com.google.cloud.chronicle.v1.CustomAPIQueryAuth) authentication_; + } + return com.google.cloud.chronicle.v1.CustomAPIQueryAuth.getDefaultInstance(); + } else { + if (authenticationCase_ == 9) { + return queryAuthBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.CustomAPIQueryAuth.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Authenticate using custom API Keys injected into URL query parameters.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIQueryAuth query_auth = 9; + */ + public Builder setQueryAuth(com.google.cloud.chronicle.v1.CustomAPIQueryAuth value) { + if (queryAuthBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + onChanged(); + } else { + queryAuthBuilder_.setMessage(value); + } + authenticationCase_ = 9; + return this; + } + + /** + * + * + *
+     * Authenticate using custom API Keys injected into URL query parameters.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIQueryAuth query_auth = 9; + */ + public Builder setQueryAuth( + com.google.cloud.chronicle.v1.CustomAPIQueryAuth.Builder builderForValue) { + if (queryAuthBuilder_ == null) { + authentication_ = builderForValue.build(); + onChanged(); + } else { + queryAuthBuilder_.setMessage(builderForValue.build()); + } + authenticationCase_ = 9; + return this; + } + + /** + * + * + *
+     * Authenticate using custom API Keys injected into URL query parameters.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIQueryAuth query_auth = 9; + */ + public Builder mergeQueryAuth(com.google.cloud.chronicle.v1.CustomAPIQueryAuth value) { + if (queryAuthBuilder_ == null) { + if (authenticationCase_ == 9 + && authentication_ + != com.google.cloud.chronicle.v1.CustomAPIQueryAuth.getDefaultInstance()) { + authentication_ = + com.google.cloud.chronicle.v1.CustomAPIQueryAuth.newBuilder( + (com.google.cloud.chronicle.v1.CustomAPIQueryAuth) authentication_) + .mergeFrom(value) + .buildPartial(); + } else { + authentication_ = value; + } + onChanged(); + } else { + if (authenticationCase_ == 9) { + queryAuthBuilder_.mergeFrom(value); + } else { + queryAuthBuilder_.setMessage(value); + } + } + authenticationCase_ = 9; + return this; + } + + /** + * + * + *
+     * Authenticate using custom API Keys injected into URL query parameters.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIQueryAuth query_auth = 9; + */ + public Builder clearQueryAuth() { + if (queryAuthBuilder_ == null) { + if (authenticationCase_ == 9) { + authenticationCase_ = 0; + authentication_ = null; + onChanged(); + } + } else { + if (authenticationCase_ == 9) { + authenticationCase_ = 0; + authentication_ = null; + } + queryAuthBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Authenticate using custom API Keys injected into URL query parameters.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIQueryAuth query_auth = 9; + */ + public com.google.cloud.chronicle.v1.CustomAPIQueryAuth.Builder getQueryAuthBuilder() { + return internalGetQueryAuthFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Authenticate using custom API Keys injected into URL query parameters.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIQueryAuth query_auth = 9; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIQueryAuthOrBuilder getQueryAuthOrBuilder() { + if ((authenticationCase_ == 9) && (queryAuthBuilder_ != null)) { + return queryAuthBuilder_.getMessageOrBuilder(); + } else { + if (authenticationCase_ == 9) { + return (com.google.cloud.chronicle.v1.CustomAPIQueryAuth) authentication_; + } + return com.google.cloud.chronicle.v1.CustomAPIQueryAuth.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Authenticate using custom API Keys injected into URL query parameters.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPIQueryAuth query_auth = 9; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIQueryAuth, + com.google.cloud.chronicle.v1.CustomAPIQueryAuth.Builder, + com.google.cloud.chronicle.v1.CustomAPIQueryAuthOrBuilder> + internalGetQueryAuthFieldBuilder() { + if (queryAuthBuilder_ == null) { + if (!(authenticationCase_ == 9)) { + authentication_ = com.google.cloud.chronicle.v1.CustomAPIQueryAuth.getDefaultInstance(); + } + queryAuthBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIQueryAuth, + com.google.cloud.chronicle.v1.CustomAPIQueryAuth.Builder, + com.google.cloud.chronicle.v1.CustomAPIQueryAuthOrBuilder>( + (com.google.cloud.chronicle.v1.CustomAPIQueryAuth) authentication_, + getParentForChildren(), + isClean()); + authentication_ = null; + } + authenticationCase_ = 9; + onChanged(); + return queryAuthBuilder_; + } + + private java.lang.Object baseUrl_ = ""; + + /** + * + * + *
+     * Required. Enter the primary web address of the third-party API (e.g.,
+     * https://api.vendor.com).
+     * 
+ * + * string base_url = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The baseUrl. + */ + public java.lang.String getBaseUrl() { + java.lang.Object ref = baseUrl_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + baseUrl_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Enter the primary web address of the third-party API (e.g.,
+     * https://api.vendor.com).
+     * 
+ * + * string base_url = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for baseUrl. + */ + public com.google.protobuf.ByteString getBaseUrlBytes() { + java.lang.Object ref = baseUrl_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + baseUrl_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Enter the primary web address of the third-party API (e.g.,
+     * https://api.vendor.com).
+     * 
+ * + * string base_url = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The baseUrl to set. + * @return This builder for chaining. + */ + public Builder setBaseUrl(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + baseUrl_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Enter the primary web address of the third-party API (e.g.,
+     * https://api.vendor.com).
+     * 
+ * + * string base_url = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearBaseUrl() { + baseUrl_ = getDefaultInstance().getBaseUrl(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Enter the primary web address of the third-party API (e.g.,
+     * https://api.vendor.com).
+     * 
+ * + * string base_url = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for baseUrl to set. + * @return This builder for chaining. + */ + public Builder setBaseUrlBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + baseUrl_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private int pollingFrequency_; + + /** + * + * + *
+     * Optional. Specify how often the platform checks the API for new data in
+     * minutes (default is 15 minutes).
+     * 
+ * + * int32 polling_frequency = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pollingFrequency. + */ + @java.lang.Override + public int getPollingFrequency() { + return pollingFrequency_; + } + + /** + * + * + *
+     * Optional. Specify how often the platform checks the API for new data in
+     * minutes (default is 15 minutes).
+     * 
+ * + * int32 polling_frequency = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pollingFrequency to set. + * @return This builder for chaining. + */ + public Builder setPollingFrequency(int value) { + + pollingFrequency_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Specify how often the platform checks the API for new data in
+     * minutes (default is 15 minutes).
+     * 
+ * + * int32 polling_frequency = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearPollingFrequency() { + bitField0_ = (bitField0_ & ~0x00000040); + pollingFrequency_ = 0; + onChanged(); + return this; + } + + private com.google.cloud.chronicle.v1.CustomAPITransferNode primaryRequest_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPITransferNode, + com.google.cloud.chronicle.v1.CustomAPITransferNode.Builder, + com.google.cloud.chronicle.v1.CustomAPITransferNodeOrBuilder> + primaryRequestBuilder_; + + /** + * + * + *
+     * Required. Configure the initial API call used to fetch the main list of
+     * logs or events.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPITransferNode primary_request = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the primaryRequest field is set. + */ + public boolean hasPrimaryRequest() { + return ((bitField0_ & 0x00000080) != 0); + } + + /** + * + * + *
+     * Required. Configure the initial API call used to fetch the main list of
+     * logs or events.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPITransferNode primary_request = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The primaryRequest. + */ + public com.google.cloud.chronicle.v1.CustomAPITransferNode getPrimaryRequest() { + if (primaryRequestBuilder_ == null) { + return primaryRequest_ == null + ? com.google.cloud.chronicle.v1.CustomAPITransferNode.getDefaultInstance() + : primaryRequest_; + } else { + return primaryRequestBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Required. Configure the initial API call used to fetch the main list of
+     * logs or events.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPITransferNode primary_request = 6 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setPrimaryRequest(com.google.cloud.chronicle.v1.CustomAPITransferNode value) { + if (primaryRequestBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + primaryRequest_ = value; + } else { + primaryRequestBuilder_.setMessage(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Configure the initial API call used to fetch the main list of
+     * logs or events.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPITransferNode primary_request = 6 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setPrimaryRequest( + com.google.cloud.chronicle.v1.CustomAPITransferNode.Builder builderForValue) { + if (primaryRequestBuilder_ == null) { + primaryRequest_ = builderForValue.build(); + } else { + primaryRequestBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Configure the initial API call used to fetch the main list of
+     * logs or events.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPITransferNode primary_request = 6 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergePrimaryRequest(com.google.cloud.chronicle.v1.CustomAPITransferNode value) { + if (primaryRequestBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0) + && primaryRequest_ != null + && primaryRequest_ + != com.google.cloud.chronicle.v1.CustomAPITransferNode.getDefaultInstance()) { + getPrimaryRequestBuilder().mergeFrom(value); + } else { + primaryRequest_ = value; + } + } else { + primaryRequestBuilder_.mergeFrom(value); + } + if (primaryRequest_ != null) { + bitField0_ |= 0x00000080; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Required. Configure the initial API call used to fetch the main list of
+     * logs or events.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPITransferNode primary_request = 6 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearPrimaryRequest() { + bitField0_ = (bitField0_ & ~0x00000080); + primaryRequest_ = null; + if (primaryRequestBuilder_ != null) { + primaryRequestBuilder_.dispose(); + primaryRequestBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Configure the initial API call used to fetch the main list of
+     * logs or events.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPITransferNode primary_request = 6 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.CustomAPITransferNode.Builder getPrimaryRequestBuilder() { + bitField0_ |= 0x00000080; + onChanged(); + return internalGetPrimaryRequestFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Required. Configure the initial API call used to fetch the main list of
+     * logs or events.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPITransferNode primary_request = 6 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.CustomAPITransferNodeOrBuilder + getPrimaryRequestOrBuilder() { + if (primaryRequestBuilder_ != null) { + return primaryRequestBuilder_.getMessageOrBuilder(); + } else { + return primaryRequest_ == null + ? com.google.cloud.chronicle.v1.CustomAPITransferNode.getDefaultInstance() + : primaryRequest_; + } + } + + /** + * + * + *
+     * Required. Configure the initial API call used to fetch the main list of
+     * logs or events.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPITransferNode primary_request = 6 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPITransferNode, + com.google.cloud.chronicle.v1.CustomAPITransferNode.Builder, + com.google.cloud.chronicle.v1.CustomAPITransferNodeOrBuilder> + internalGetPrimaryRequestFieldBuilder() { + if (primaryRequestBuilder_ == null) { + primaryRequestBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPITransferNode, + com.google.cloud.chronicle.v1.CustomAPITransferNode.Builder, + com.google.cloud.chronicle.v1.CustomAPITransferNodeOrBuilder>( + getPrimaryRequest(), getParentForChildren(), isClean()); + primaryRequest_ = null; + } + return primaryRequestBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.CustomAPISettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.CustomAPISettings) + private static final com.google.cloud.chronicle.v1.CustomAPISettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.CustomAPISettings(); + } + + public static com.google.cloud.chronicle.v1.CustomAPISettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomAPISettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPISettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPISettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPISettingsOrBuilder.java new file mode 100644 index 000000000000..4d676320644d --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPISettingsOrBuilder.java @@ -0,0 +1,304 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface CustomAPISettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.CustomAPISettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Authenticate without credentials or secrets.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPINoAuth no_auth = 8; + * + * @return Whether the noAuth field is set. + */ + boolean hasNoAuth(); + + /** + * + * + *
+   * Authenticate without credentials or secrets.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPINoAuth no_auth = 8; + * + * @return The noAuth. + */ + com.google.cloud.chronicle.v1.CustomAPINoAuth getNoAuth(); + + /** + * + * + *
+   * Authenticate without credentials or secrets.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPINoAuth no_auth = 8; + */ + com.google.cloud.chronicle.v1.CustomAPINoAuthOrBuilder getNoAuthOrBuilder(); + + /** + * + * + *
+   * Authenticate using Username/Password credentials.
+   * 
+ * + * .google.cloud.chronicle.v1.UsernameSecretAuth basic_auth = 3; + * + * @return Whether the basicAuth field is set. + */ + boolean hasBasicAuth(); + + /** + * + * + *
+   * Authenticate using Username/Password credentials.
+   * 
+ * + * .google.cloud.chronicle.v1.UsernameSecretAuth basic_auth = 3; + * + * @return The basicAuth. + */ + com.google.cloud.chronicle.v1.UsernameSecretAuth getBasicAuth(); + + /** + * + * + *
+   * Authenticate using Username/Password credentials.
+   * 
+ * + * .google.cloud.chronicle.v1.UsernameSecretAuth basic_auth = 3; + */ + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getBasicAuthOrBuilder(); + + /** + * + * + *
+   * Authenticate using OAuth 2.0 Client Credentials Grant flow.
+   * 
+ * + * .google.cloud.chronicle.v1.OAuthClientCredentials oauth_client_credentials = 4; + * + * @return Whether the oauthClientCredentials field is set. + */ + boolean hasOauthClientCredentials(); + + /** + * + * + *
+   * Authenticate using OAuth 2.0 Client Credentials Grant flow.
+   * 
+ * + * .google.cloud.chronicle.v1.OAuthClientCredentials oauth_client_credentials = 4; + * + * @return The oauthClientCredentials. + */ + com.google.cloud.chronicle.v1.OAuthClientCredentials getOauthClientCredentials(); + + /** + * + * + *
+   * Authenticate using OAuth 2.0 Client Credentials Grant flow.
+   * 
+ * + * .google.cloud.chronicle.v1.OAuthClientCredentials oauth_client_credentials = 4; + */ + com.google.cloud.chronicle.v1.OAuthClientCredentialsOrBuilder + getOauthClientCredentialsOrBuilder(); + + /** + * + * + *
+   * Authenticate using custom API Keys injected into request headers.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIHeaderAuth header_auth = 5; + * + * @return Whether the headerAuth field is set. + */ + boolean hasHeaderAuth(); + + /** + * + * + *
+   * Authenticate using custom API Keys injected into request headers.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIHeaderAuth header_auth = 5; + * + * @return The headerAuth. + */ + com.google.cloud.chronicle.v1.CustomAPIHeaderAuth getHeaderAuth(); + + /** + * + * + *
+   * Authenticate using custom API Keys injected into request headers.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIHeaderAuth header_auth = 5; + */ + com.google.cloud.chronicle.v1.CustomAPIHeaderAuthOrBuilder getHeaderAuthOrBuilder(); + + /** + * + * + *
+   * Authenticate using custom API Keys injected into URL query parameters.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIQueryAuth query_auth = 9; + * + * @return Whether the queryAuth field is set. + */ + boolean hasQueryAuth(); + + /** + * + * + *
+   * Authenticate using custom API Keys injected into URL query parameters.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIQueryAuth query_auth = 9; + * + * @return The queryAuth. + */ + com.google.cloud.chronicle.v1.CustomAPIQueryAuth getQueryAuth(); + + /** + * + * + *
+   * Authenticate using custom API Keys injected into URL query parameters.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPIQueryAuth query_auth = 9; + */ + com.google.cloud.chronicle.v1.CustomAPIQueryAuthOrBuilder getQueryAuthOrBuilder(); + + /** + * + * + *
+   * Required. Enter the primary web address of the third-party API (e.g.,
+   * https://api.vendor.com).
+   * 
+ * + * string base_url = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The baseUrl. + */ + java.lang.String getBaseUrl(); + + /** + * + * + *
+   * Required. Enter the primary web address of the third-party API (e.g.,
+   * https://api.vendor.com).
+   * 
+ * + * string base_url = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for baseUrl. + */ + com.google.protobuf.ByteString getBaseUrlBytes(); + + /** + * + * + *
+   * Optional. Specify how often the platform checks the API for new data in
+   * minutes (default is 15 minutes).
+   * 
+ * + * int32 polling_frequency = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pollingFrequency. + */ + int getPollingFrequency(); + + /** + * + * + *
+   * Required. Configure the initial API call used to fetch the main list of
+   * logs or events.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPITransferNode primary_request = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the primaryRequest field is set. + */ + boolean hasPrimaryRequest(); + + /** + * + * + *
+   * Required. Configure the initial API call used to fetch the main list of
+   * logs or events.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPITransferNode primary_request = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The primaryRequest. + */ + com.google.cloud.chronicle.v1.CustomAPITransferNode getPrimaryRequest(); + + /** + * + * + *
+   * Required. Configure the initial API call used to fetch the main list of
+   * logs or events.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPITransferNode primary_request = 6 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.chronicle.v1.CustomAPITransferNodeOrBuilder getPrimaryRequestOrBuilder(); + + com.google.cloud.chronicle.v1.CustomAPISettings.AuthenticationCase getAuthenticationCase(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPITransferNode.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPITransferNode.java new file mode 100644 index 000000000000..e26e5d89c917 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPITransferNode.java @@ -0,0 +1,2035 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Container for a specific API interaction.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPITransferNode} + */ +@com.google.protobuf.Generated +public final class CustomAPITransferNode extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.CustomAPITransferNode) + CustomAPITransferNodeOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "CustomAPITransferNode"); + } + + // Use CustomAPITransferNode.newBuilder() to construct. + private CustomAPITransferNode(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private CustomAPITransferNode() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPITransferNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPITransferNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPITransferNode.class, + com.google.cloud.chronicle.v1.CustomAPITransferNode.Builder.class); + } + + private int bitField0_; + public static final int REQUEST_SETTINGS_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.CustomAPIRequestConfig requestSettings_; + + /** + * + * + *
+   * Required. Define the technical parameters for the outgoing API call,
+   * including paths, headers, and payloads.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIRequestConfig request_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the requestSettings field is set. + */ + @java.lang.Override + public boolean hasRequestSettings() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Required. Define the technical parameters for the outgoing API call,
+   * including paths, headers, and payloads.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIRequestConfig request_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The requestSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIRequestConfig getRequestSettings() { + return requestSettings_ == null + ? com.google.cloud.chronicle.v1.CustomAPIRequestConfig.getDefaultInstance() + : requestSettings_; + } + + /** + * + * + *
+   * Required. Define the technical parameters for the outgoing API call,
+   * including paths, headers, and payloads.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIRequestConfig request_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIRequestConfigOrBuilder + getRequestSettingsOrBuilder() { + return requestSettings_ == null + ? com.google.cloud.chronicle.v1.CustomAPIRequestConfig.getDefaultInstance() + : requestSettings_; + } + + public static final int RESPONSE_MAPPING_FIELD_NUMBER = 2; + private com.google.cloud.chronicle.v1.CustomAPIResponseConfig responseMapping_; + + /** + * + * + *
+   * Required. Provide rules that tell the platform how to locate and extract
+   * the relevant security data from the API's reply.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIResponseConfig response_mapping = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the responseMapping field is set. + */ + @java.lang.Override + public boolean hasResponseMapping() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+   * Required. Provide rules that tell the platform how to locate and extract
+   * the relevant security data from the API's reply.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIResponseConfig response_mapping = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The responseMapping. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIResponseConfig getResponseMapping() { + return responseMapping_ == null + ? com.google.cloud.chronicle.v1.CustomAPIResponseConfig.getDefaultInstance() + : responseMapping_; + } + + /** + * + * + *
+   * Required. Provide rules that tell the platform how to locate and extract
+   * the relevant security data from the API's reply.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIResponseConfig response_mapping = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIResponseConfigOrBuilder + getResponseMappingOrBuilder() { + return responseMapping_ == null + ? com.google.cloud.chronicle.v1.CustomAPIResponseConfig.getDefaultInstance() + : responseMapping_; + } + + public static final int PAGINATION_STRATEGY_FIELD_NUMBER = 3; + private com.google.cloud.chronicle.v1.CustomAPIPagination paginationStrategy_; + + /** + * + * + *
+   * Required. Select how the connector should request subsequent pages when the
+   * data is too large for a single response.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIPagination pagination_strategy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the paginationStrategy field is set. + */ + @java.lang.Override + public boolean hasPaginationStrategy() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+   * Required. Select how the connector should request subsequent pages when the
+   * data is too large for a single response.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIPagination pagination_strategy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The paginationStrategy. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPagination getPaginationStrategy() { + return paginationStrategy_ == null + ? com.google.cloud.chronicle.v1.CustomAPIPagination.getDefaultInstance() + : paginationStrategy_; + } + + /** + * + * + *
+   * Required. Select how the connector should request subsequent pages when the
+   * data is too large for a single response.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIPagination pagination_strategy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIPaginationOrBuilder + getPaginationStrategyOrBuilder() { + return paginationStrategy_ == null + ? com.google.cloud.chronicle.v1.CustomAPIPagination.getDefaultInstance() + : paginationStrategy_; + } + + public static final int CHECKPOINTING_FIELD_NUMBER = 4; + private com.google.cloud.chronicle.v1.CustomAPICheckpointConfig checkpointing_; + + /** + * + * + *
+   * Required. Configure settings that allow the connector to remember where it
+   * left off in the previous poll (e.g., tracking the last fetched timestamp).
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig checkpointing = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the checkpointing field is set. + */ + @java.lang.Override + public boolean hasCheckpointing() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
+   * Required. Configure settings that allow the connector to remember where it
+   * left off in the previous poll (e.g., tracking the last fetched timestamp).
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig checkpointing = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The checkpointing. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig getCheckpointing() { + return checkpointing_ == null + ? com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.getDefaultInstance() + : checkpointing_; + } + + /** + * + * + *
+   * Required. Configure settings that allow the connector to remember where it
+   * left off in the previous poll (e.g., tracking the last fetched timestamp).
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig checkpointing = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfigOrBuilder + getCheckpointingOrBuilder() { + return checkpointing_ == null + ? com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.getDefaultInstance() + : checkpointing_; + } + + public static final int DEPENDENT_REQUESTS_CONFIG_FIELD_NUMBER = 8; + private com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig dependentRequestsConfig_; + + /** + * + * + *
+   * Optional. Configuration for dependent requests (child chaining).
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig dependent_requests_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the dependentRequestsConfig field is set. + */ + @java.lang.Override + public boolean hasDependentRequestsConfig() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * + * + *
+   * Optional. Configuration for dependent requests (child chaining).
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig dependent_requests_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The dependentRequestsConfig. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig + getDependentRequestsConfig() { + return dependentRequestsConfig_ == null + ? com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig.getDefaultInstance() + : dependentRequestsConfig_; + } + + /** + * + * + *
+   * Optional. Configuration for dependent requests (child chaining).
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig dependent_requests_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfigOrBuilder + getDependentRequestsConfigOrBuilder() { + return dependentRequestsConfig_ == null + ? com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig.getDefaultInstance() + : dependentRequestsConfig_; + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getRequestSettings()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getResponseMapping()); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(3, getPaginationStrategy()); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeMessage(4, getCheckpointing()); + } + if (((bitField0_ & 0x00000010) != 0)) { + output.writeMessage(8, getDependentRequestsConfig()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRequestSettings()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getResponseMapping()); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPaginationStrategy()); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCheckpointing()); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(8, getDependentRequestsConfig()); + } + 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.cloud.chronicle.v1.CustomAPITransferNode)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.CustomAPITransferNode other = + (com.google.cloud.chronicle.v1.CustomAPITransferNode) obj; + + if (hasRequestSettings() != other.hasRequestSettings()) return false; + if (hasRequestSettings()) { + if (!getRequestSettings().equals(other.getRequestSettings())) return false; + } + if (hasResponseMapping() != other.hasResponseMapping()) return false; + if (hasResponseMapping()) { + if (!getResponseMapping().equals(other.getResponseMapping())) return false; + } + if (hasPaginationStrategy() != other.hasPaginationStrategy()) return false; + if (hasPaginationStrategy()) { + if (!getPaginationStrategy().equals(other.getPaginationStrategy())) return false; + } + if (hasCheckpointing() != other.hasCheckpointing()) return false; + if (hasCheckpointing()) { + if (!getCheckpointing().equals(other.getCheckpointing())) return false; + } + if (hasDependentRequestsConfig() != other.hasDependentRequestsConfig()) return false; + if (hasDependentRequestsConfig()) { + if (!getDependentRequestsConfig().equals(other.getDependentRequestsConfig())) 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(); + if (hasRequestSettings()) { + hash = (37 * hash) + REQUEST_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getRequestSettings().hashCode(); + } + if (hasResponseMapping()) { + hash = (37 * hash) + RESPONSE_MAPPING_FIELD_NUMBER; + hash = (53 * hash) + getResponseMapping().hashCode(); + } + if (hasPaginationStrategy()) { + hash = (37 * hash) + PAGINATION_STRATEGY_FIELD_NUMBER; + hash = (53 * hash) + getPaginationStrategy().hashCode(); + } + if (hasCheckpointing()) { + hash = (37 * hash) + CHECKPOINTING_FIELD_NUMBER; + hash = (53 * hash) + getCheckpointing().hashCode(); + } + if (hasDependentRequestsConfig()) { + hash = (37 * hash) + DEPENDENT_REQUESTS_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getDependentRequestsConfig().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.CustomAPITransferNode parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPITransferNode parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPITransferNode parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPITransferNode 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.cloud.chronicle.v1.CustomAPITransferNode parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.CustomAPITransferNode parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPITransferNode parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPITransferNode parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPITransferNode parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPITransferNode parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.CustomAPITransferNode parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.CustomAPITransferNode parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.CustomAPITransferNode 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Container for a specific API interaction.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.CustomAPITransferNode} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.CustomAPITransferNode) + com.google.cloud.chronicle.v1.CustomAPITransferNodeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPITransferNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPITransferNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.CustomAPITransferNode.class, + com.google.cloud.chronicle.v1.CustomAPITransferNode.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.CustomAPITransferNode.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetRequestSettingsFieldBuilder(); + internalGetResponseMappingFieldBuilder(); + internalGetPaginationStrategyFieldBuilder(); + internalGetCheckpointingFieldBuilder(); + internalGetDependentRequestsConfigFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + requestSettings_ = null; + if (requestSettingsBuilder_ != null) { + requestSettingsBuilder_.dispose(); + requestSettingsBuilder_ = null; + } + responseMapping_ = null; + if (responseMappingBuilder_ != null) { + responseMappingBuilder_.dispose(); + responseMappingBuilder_ = null; + } + paginationStrategy_ = null; + if (paginationStrategyBuilder_ != null) { + paginationStrategyBuilder_.dispose(); + paginationStrategyBuilder_ = null; + } + checkpointing_ = null; + if (checkpointingBuilder_ != null) { + checkpointingBuilder_.dispose(); + checkpointingBuilder_ = null; + } + dependentRequestsConfig_ = null; + if (dependentRequestsConfigBuilder_ != null) { + dependentRequestsConfigBuilder_.dispose(); + dependentRequestsConfigBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_CustomAPITransferNode_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPITransferNode getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.CustomAPITransferNode.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPITransferNode build() { + com.google.cloud.chronicle.v1.CustomAPITransferNode result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPITransferNode buildPartial() { + com.google.cloud.chronicle.v1.CustomAPITransferNode result = + new com.google.cloud.chronicle.v1.CustomAPITransferNode(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.CustomAPITransferNode result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.requestSettings_ = + requestSettingsBuilder_ == null ? requestSettings_ : requestSettingsBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.responseMapping_ = + responseMappingBuilder_ == null ? responseMapping_ : responseMappingBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.paginationStrategy_ = + paginationStrategyBuilder_ == null + ? paginationStrategy_ + : paginationStrategyBuilder_.build(); + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.checkpointing_ = + checkpointingBuilder_ == null ? checkpointing_ : checkpointingBuilder_.build(); + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.dependentRequestsConfig_ = + dependentRequestsConfigBuilder_ == null + ? dependentRequestsConfig_ + : dependentRequestsConfigBuilder_.build(); + to_bitField0_ |= 0x00000010; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.CustomAPITransferNode) { + return mergeFrom((com.google.cloud.chronicle.v1.CustomAPITransferNode) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.CustomAPITransferNode other) { + if (other == com.google.cloud.chronicle.v1.CustomAPITransferNode.getDefaultInstance()) + return this; + if (other.hasRequestSettings()) { + mergeRequestSettings(other.getRequestSettings()); + } + if (other.hasResponseMapping()) { + mergeResponseMapping(other.getResponseMapping()); + } + if (other.hasPaginationStrategy()) { + mergePaginationStrategy(other.getPaginationStrategy()); + } + if (other.hasCheckpointing()) { + mergeCheckpointing(other.getCheckpointing()); + } + if (other.hasDependentRequestsConfig()) { + mergeDependentRequestsConfig(other.getDependentRequestsConfig()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetRequestSettingsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + internalGetResponseMappingFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + internalGetPaginationStrategyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage( + internalGetCheckpointingFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 66: + { + input.readMessage( + internalGetDependentRequestsConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 66 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.CustomAPIRequestConfig requestSettings_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIRequestConfig, + com.google.cloud.chronicle.v1.CustomAPIRequestConfig.Builder, + com.google.cloud.chronicle.v1.CustomAPIRequestConfigOrBuilder> + requestSettingsBuilder_; + + /** + * + * + *
+     * Required. Define the technical parameters for the outgoing API call,
+     * including paths, headers, and payloads.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIRequestConfig request_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the requestSettings field is set. + */ + public boolean hasRequestSettings() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Required. Define the technical parameters for the outgoing API call,
+     * including paths, headers, and payloads.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIRequestConfig request_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The requestSettings. + */ + public com.google.cloud.chronicle.v1.CustomAPIRequestConfig getRequestSettings() { + if (requestSettingsBuilder_ == null) { + return requestSettings_ == null + ? com.google.cloud.chronicle.v1.CustomAPIRequestConfig.getDefaultInstance() + : requestSettings_; + } else { + return requestSettingsBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Required. Define the technical parameters for the outgoing API call,
+     * including paths, headers, and payloads.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIRequestConfig request_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setRequestSettings(com.google.cloud.chronicle.v1.CustomAPIRequestConfig value) { + if (requestSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + requestSettings_ = value; + } else { + requestSettingsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Define the technical parameters for the outgoing API call,
+     * including paths, headers, and payloads.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIRequestConfig request_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setRequestSettings( + com.google.cloud.chronicle.v1.CustomAPIRequestConfig.Builder builderForValue) { + if (requestSettingsBuilder_ == null) { + requestSettings_ = builderForValue.build(); + } else { + requestSettingsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Define the technical parameters for the outgoing API call,
+     * including paths, headers, and payloads.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIRequestConfig request_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeRequestSettings( + com.google.cloud.chronicle.v1.CustomAPIRequestConfig value) { + if (requestSettingsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && requestSettings_ != null + && requestSettings_ + != com.google.cloud.chronicle.v1.CustomAPIRequestConfig.getDefaultInstance()) { + getRequestSettingsBuilder().mergeFrom(value); + } else { + requestSettings_ = value; + } + } else { + requestSettingsBuilder_.mergeFrom(value); + } + if (requestSettings_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Required. Define the technical parameters for the outgoing API call,
+     * including paths, headers, and payloads.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIRequestConfig request_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearRequestSettings() { + bitField0_ = (bitField0_ & ~0x00000001); + requestSettings_ = null; + if (requestSettingsBuilder_ != null) { + requestSettingsBuilder_.dispose(); + requestSettingsBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Define the technical parameters for the outgoing API call,
+     * including paths, headers, and payloads.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIRequestConfig request_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.CustomAPIRequestConfig.Builder + getRequestSettingsBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetRequestSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Required. Define the technical parameters for the outgoing API call,
+     * including paths, headers, and payloads.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIRequestConfig request_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.CustomAPIRequestConfigOrBuilder + getRequestSettingsOrBuilder() { + if (requestSettingsBuilder_ != null) { + return requestSettingsBuilder_.getMessageOrBuilder(); + } else { + return requestSettings_ == null + ? com.google.cloud.chronicle.v1.CustomAPIRequestConfig.getDefaultInstance() + : requestSettings_; + } + } + + /** + * + * + *
+     * Required. Define the technical parameters for the outgoing API call,
+     * including paths, headers, and payloads.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIRequestConfig request_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIRequestConfig, + com.google.cloud.chronicle.v1.CustomAPIRequestConfig.Builder, + com.google.cloud.chronicle.v1.CustomAPIRequestConfigOrBuilder> + internalGetRequestSettingsFieldBuilder() { + if (requestSettingsBuilder_ == null) { + requestSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIRequestConfig, + com.google.cloud.chronicle.v1.CustomAPIRequestConfig.Builder, + com.google.cloud.chronicle.v1.CustomAPIRequestConfigOrBuilder>( + getRequestSettings(), getParentForChildren(), isClean()); + requestSettings_ = null; + } + return requestSettingsBuilder_; + } + + private com.google.cloud.chronicle.v1.CustomAPIResponseConfig responseMapping_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIResponseConfig, + com.google.cloud.chronicle.v1.CustomAPIResponseConfig.Builder, + com.google.cloud.chronicle.v1.CustomAPIResponseConfigOrBuilder> + responseMappingBuilder_; + + /** + * + * + *
+     * Required. Provide rules that tell the platform how to locate and extract
+     * the relevant security data from the API's reply.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIResponseConfig response_mapping = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the responseMapping field is set. + */ + public boolean hasResponseMapping() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+     * Required. Provide rules that tell the platform how to locate and extract
+     * the relevant security data from the API's reply.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIResponseConfig response_mapping = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The responseMapping. + */ + public com.google.cloud.chronicle.v1.CustomAPIResponseConfig getResponseMapping() { + if (responseMappingBuilder_ == null) { + return responseMapping_ == null + ? com.google.cloud.chronicle.v1.CustomAPIResponseConfig.getDefaultInstance() + : responseMapping_; + } else { + return responseMappingBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Required. Provide rules that tell the platform how to locate and extract
+     * the relevant security data from the API's reply.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIResponseConfig response_mapping = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setResponseMapping(com.google.cloud.chronicle.v1.CustomAPIResponseConfig value) { + if (responseMappingBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + responseMapping_ = value; + } else { + responseMappingBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Provide rules that tell the platform how to locate and extract
+     * the relevant security data from the API's reply.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIResponseConfig response_mapping = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setResponseMapping( + com.google.cloud.chronicle.v1.CustomAPIResponseConfig.Builder builderForValue) { + if (responseMappingBuilder_ == null) { + responseMapping_ = builderForValue.build(); + } else { + responseMappingBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Provide rules that tell the platform how to locate and extract
+     * the relevant security data from the API's reply.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIResponseConfig response_mapping = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeResponseMapping( + com.google.cloud.chronicle.v1.CustomAPIResponseConfig value) { + if (responseMappingBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && responseMapping_ != null + && responseMapping_ + != com.google.cloud.chronicle.v1.CustomAPIResponseConfig.getDefaultInstance()) { + getResponseMappingBuilder().mergeFrom(value); + } else { + responseMapping_ = value; + } + } else { + responseMappingBuilder_.mergeFrom(value); + } + if (responseMapping_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Required. Provide rules that tell the platform how to locate and extract
+     * the relevant security data from the API's reply.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIResponseConfig response_mapping = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearResponseMapping() { + bitField0_ = (bitField0_ & ~0x00000002); + responseMapping_ = null; + if (responseMappingBuilder_ != null) { + responseMappingBuilder_.dispose(); + responseMappingBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Provide rules that tell the platform how to locate and extract
+     * the relevant security data from the API's reply.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIResponseConfig response_mapping = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.CustomAPIResponseConfig.Builder + getResponseMappingBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return internalGetResponseMappingFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Required. Provide rules that tell the platform how to locate and extract
+     * the relevant security data from the API's reply.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIResponseConfig response_mapping = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.CustomAPIResponseConfigOrBuilder + getResponseMappingOrBuilder() { + if (responseMappingBuilder_ != null) { + return responseMappingBuilder_.getMessageOrBuilder(); + } else { + return responseMapping_ == null + ? com.google.cloud.chronicle.v1.CustomAPIResponseConfig.getDefaultInstance() + : responseMapping_; + } + } + + /** + * + * + *
+     * Required. Provide rules that tell the platform how to locate and extract
+     * the relevant security data from the API's reply.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIResponseConfig response_mapping = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIResponseConfig, + com.google.cloud.chronicle.v1.CustomAPIResponseConfig.Builder, + com.google.cloud.chronicle.v1.CustomAPIResponseConfigOrBuilder> + internalGetResponseMappingFieldBuilder() { + if (responseMappingBuilder_ == null) { + responseMappingBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIResponseConfig, + com.google.cloud.chronicle.v1.CustomAPIResponseConfig.Builder, + com.google.cloud.chronicle.v1.CustomAPIResponseConfigOrBuilder>( + getResponseMapping(), getParentForChildren(), isClean()); + responseMapping_ = null; + } + return responseMappingBuilder_; + } + + private com.google.cloud.chronicle.v1.CustomAPIPagination paginationStrategy_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIPagination, + com.google.cloud.chronicle.v1.CustomAPIPagination.Builder, + com.google.cloud.chronicle.v1.CustomAPIPaginationOrBuilder> + paginationStrategyBuilder_; + + /** + * + * + *
+     * Required. Select how the connector should request subsequent pages when the
+     * data is too large for a single response.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIPagination pagination_strategy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the paginationStrategy field is set. + */ + public boolean hasPaginationStrategy() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+     * Required. Select how the connector should request subsequent pages when the
+     * data is too large for a single response.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIPagination pagination_strategy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The paginationStrategy. + */ + public com.google.cloud.chronicle.v1.CustomAPIPagination getPaginationStrategy() { + if (paginationStrategyBuilder_ == null) { + return paginationStrategy_ == null + ? com.google.cloud.chronicle.v1.CustomAPIPagination.getDefaultInstance() + : paginationStrategy_; + } else { + return paginationStrategyBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Required. Select how the connector should request subsequent pages when the
+     * data is too large for a single response.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIPagination pagination_strategy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setPaginationStrategy(com.google.cloud.chronicle.v1.CustomAPIPagination value) { + if (paginationStrategyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + paginationStrategy_ = value; + } else { + paginationStrategyBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Select how the connector should request subsequent pages when the
+     * data is too large for a single response.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIPagination pagination_strategy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setPaginationStrategy( + com.google.cloud.chronicle.v1.CustomAPIPagination.Builder builderForValue) { + if (paginationStrategyBuilder_ == null) { + paginationStrategy_ = builderForValue.build(); + } else { + paginationStrategyBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Select how the connector should request subsequent pages when the
+     * data is too large for a single response.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIPagination pagination_strategy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergePaginationStrategy( + com.google.cloud.chronicle.v1.CustomAPIPagination value) { + if (paginationStrategyBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && paginationStrategy_ != null + && paginationStrategy_ + != com.google.cloud.chronicle.v1.CustomAPIPagination.getDefaultInstance()) { + getPaginationStrategyBuilder().mergeFrom(value); + } else { + paginationStrategy_ = value; + } + } else { + paginationStrategyBuilder_.mergeFrom(value); + } + if (paginationStrategy_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Required. Select how the connector should request subsequent pages when the
+     * data is too large for a single response.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIPagination pagination_strategy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearPaginationStrategy() { + bitField0_ = (bitField0_ & ~0x00000004); + paginationStrategy_ = null; + if (paginationStrategyBuilder_ != null) { + paginationStrategyBuilder_.dispose(); + paginationStrategyBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Select how the connector should request subsequent pages when the
+     * data is too large for a single response.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIPagination pagination_strategy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.CustomAPIPagination.Builder + getPaginationStrategyBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return internalGetPaginationStrategyFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Required. Select how the connector should request subsequent pages when the
+     * data is too large for a single response.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIPagination pagination_strategy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.CustomAPIPaginationOrBuilder + getPaginationStrategyOrBuilder() { + if (paginationStrategyBuilder_ != null) { + return paginationStrategyBuilder_.getMessageOrBuilder(); + } else { + return paginationStrategy_ == null + ? com.google.cloud.chronicle.v1.CustomAPIPagination.getDefaultInstance() + : paginationStrategy_; + } + } + + /** + * + * + *
+     * Required. Select how the connector should request subsequent pages when the
+     * data is too large for a single response.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIPagination pagination_strategy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIPagination, + com.google.cloud.chronicle.v1.CustomAPIPagination.Builder, + com.google.cloud.chronicle.v1.CustomAPIPaginationOrBuilder> + internalGetPaginationStrategyFieldBuilder() { + if (paginationStrategyBuilder_ == null) { + paginationStrategyBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIPagination, + com.google.cloud.chronicle.v1.CustomAPIPagination.Builder, + com.google.cloud.chronicle.v1.CustomAPIPaginationOrBuilder>( + getPaginationStrategy(), getParentForChildren(), isClean()); + paginationStrategy_ = null; + } + return paginationStrategyBuilder_; + } + + private com.google.cloud.chronicle.v1.CustomAPICheckpointConfig checkpointing_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.Builder, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfigOrBuilder> + checkpointingBuilder_; + + /** + * + * + *
+     * Required. Configure settings that allow the connector to remember where it
+     * left off in the previous poll (e.g., tracking the last fetched timestamp).
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig checkpointing = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the checkpointing field is set. + */ + public boolean hasCheckpointing() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
+     * Required. Configure settings that allow the connector to remember where it
+     * left off in the previous poll (e.g., tracking the last fetched timestamp).
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig checkpointing = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The checkpointing. + */ + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig getCheckpointing() { + if (checkpointingBuilder_ == null) { + return checkpointing_ == null + ? com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.getDefaultInstance() + : checkpointing_; + } else { + return checkpointingBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Required. Configure settings that allow the connector to remember where it
+     * left off in the previous poll (e.g., tracking the last fetched timestamp).
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig checkpointing = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setCheckpointing(com.google.cloud.chronicle.v1.CustomAPICheckpointConfig value) { + if (checkpointingBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + checkpointing_ = value; + } else { + checkpointingBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Configure settings that allow the connector to remember where it
+     * left off in the previous poll (e.g., tracking the last fetched timestamp).
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig checkpointing = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setCheckpointing( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.Builder builderForValue) { + if (checkpointingBuilder_ == null) { + checkpointing_ = builderForValue.build(); + } else { + checkpointingBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Configure settings that allow the connector to remember where it
+     * left off in the previous poll (e.g., tracking the last fetched timestamp).
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig checkpointing = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeCheckpointing( + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig value) { + if (checkpointingBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && checkpointing_ != null + && checkpointing_ + != com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.getDefaultInstance()) { + getCheckpointingBuilder().mergeFrom(value); + } else { + checkpointing_ = value; + } + } else { + checkpointingBuilder_.mergeFrom(value); + } + if (checkpointing_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Required. Configure settings that allow the connector to remember where it
+     * left off in the previous poll (e.g., tracking the last fetched timestamp).
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig checkpointing = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearCheckpointing() { + bitField0_ = (bitField0_ & ~0x00000008); + checkpointing_ = null; + if (checkpointingBuilder_ != null) { + checkpointingBuilder_.dispose(); + checkpointingBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Configure settings that allow the connector to remember where it
+     * left off in the previous poll (e.g., tracking the last fetched timestamp).
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig checkpointing = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.Builder + getCheckpointingBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return internalGetCheckpointingFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Required. Configure settings that allow the connector to remember where it
+     * left off in the previous poll (e.g., tracking the last fetched timestamp).
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig checkpointing = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.CustomAPICheckpointConfigOrBuilder + getCheckpointingOrBuilder() { + if (checkpointingBuilder_ != null) { + return checkpointingBuilder_.getMessageOrBuilder(); + } else { + return checkpointing_ == null + ? com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.getDefaultInstance() + : checkpointing_; + } + } + + /** + * + * + *
+     * Required. Configure settings that allow the connector to remember where it
+     * left off in the previous poll (e.g., tracking the last fetched timestamp).
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig checkpointing = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.Builder, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfigOrBuilder> + internalGetCheckpointingFieldBuilder() { + if (checkpointingBuilder_ == null) { + checkpointingBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig.Builder, + com.google.cloud.chronicle.v1.CustomAPICheckpointConfigOrBuilder>( + getCheckpointing(), getParentForChildren(), isClean()); + checkpointing_ = null; + } + return checkpointingBuilder_; + } + + private com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig dependentRequestsConfig_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig, + com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig.Builder, + com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfigOrBuilder> + dependentRequestsConfigBuilder_; + + /** + * + * + *
+     * Optional. Configuration for dependent requests (child chaining).
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig dependent_requests_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the dependentRequestsConfig field is set. + */ + public boolean hasDependentRequestsConfig() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * + * + *
+     * Optional. Configuration for dependent requests (child chaining).
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig dependent_requests_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The dependentRequestsConfig. + */ + public com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig + getDependentRequestsConfig() { + if (dependentRequestsConfigBuilder_ == null) { + return dependentRequestsConfig_ == null + ? com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig.getDefaultInstance() + : dependentRequestsConfig_; + } else { + return dependentRequestsConfigBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Optional. Configuration for dependent requests (child chaining).
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig dependent_requests_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setDependentRequestsConfig( + com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig value) { + if (dependentRequestsConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + dependentRequestsConfig_ = value; + } else { + dependentRequestsConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Configuration for dependent requests (child chaining).
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig dependent_requests_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setDependentRequestsConfig( + com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig.Builder builderForValue) { + if (dependentRequestsConfigBuilder_ == null) { + dependentRequestsConfig_ = builderForValue.build(); + } else { + dependentRequestsConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Configuration for dependent requests (child chaining).
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig dependent_requests_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeDependentRequestsConfig( + com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig value) { + if (dependentRequestsConfigBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) + && dependentRequestsConfig_ != null + && dependentRequestsConfig_ + != com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig + .getDefaultInstance()) { + getDependentRequestsConfigBuilder().mergeFrom(value); + } else { + dependentRequestsConfig_ = value; + } + } else { + dependentRequestsConfigBuilder_.mergeFrom(value); + } + if (dependentRequestsConfig_ != null) { + bitField0_ |= 0x00000010; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Optional. Configuration for dependent requests (child chaining).
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig dependent_requests_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearDependentRequestsConfig() { + bitField0_ = (bitField0_ & ~0x00000010); + dependentRequestsConfig_ = null; + if (dependentRequestsConfigBuilder_ != null) { + dependentRequestsConfigBuilder_.dispose(); + dependentRequestsConfigBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Configuration for dependent requests (child chaining).
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig dependent_requests_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig.Builder + getDependentRequestsConfigBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return internalGetDependentRequestsConfigFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Optional. Configuration for dependent requests (child chaining).
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig dependent_requests_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfigOrBuilder + getDependentRequestsConfigOrBuilder() { + if (dependentRequestsConfigBuilder_ != null) { + return dependentRequestsConfigBuilder_.getMessageOrBuilder(); + } else { + return dependentRequestsConfig_ == null + ? com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig.getDefaultInstance() + : dependentRequestsConfig_; + } + } + + /** + * + * + *
+     * Optional. Configuration for dependent requests (child chaining).
+     * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig dependent_requests_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig, + com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig.Builder, + com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfigOrBuilder> + internalGetDependentRequestsConfigFieldBuilder() { + if (dependentRequestsConfigBuilder_ == null) { + dependentRequestsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig, + com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig.Builder, + com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfigOrBuilder>( + getDependentRequestsConfig(), getParentForChildren(), isClean()); + dependentRequestsConfig_ = null; + } + return dependentRequestsConfigBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.CustomAPITransferNode) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.CustomAPITransferNode) + private static final com.google.cloud.chronicle.v1.CustomAPITransferNode DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.CustomAPITransferNode(); + } + + public static com.google.cloud.chronicle.v1.CustomAPITransferNode getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomAPITransferNode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPITransferNode getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPITransferNodeOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPITransferNodeOrBuilder.java new file mode 100644 index 000000000000..b77a8122587f --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/CustomAPITransferNodeOrBuilder.java @@ -0,0 +1,256 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface CustomAPITransferNodeOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.CustomAPITransferNode) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Define the technical parameters for the outgoing API call,
+   * including paths, headers, and payloads.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIRequestConfig request_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the requestSettings field is set. + */ + boolean hasRequestSettings(); + + /** + * + * + *
+   * Required. Define the technical parameters for the outgoing API call,
+   * including paths, headers, and payloads.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIRequestConfig request_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The requestSettings. + */ + com.google.cloud.chronicle.v1.CustomAPIRequestConfig getRequestSettings(); + + /** + * + * + *
+   * Required. Define the technical parameters for the outgoing API call,
+   * including paths, headers, and payloads.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIRequestConfig request_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.chronicle.v1.CustomAPIRequestConfigOrBuilder getRequestSettingsOrBuilder(); + + /** + * + * + *
+   * Required. Provide rules that tell the platform how to locate and extract
+   * the relevant security data from the API's reply.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIResponseConfig response_mapping = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the responseMapping field is set. + */ + boolean hasResponseMapping(); + + /** + * + * + *
+   * Required. Provide rules that tell the platform how to locate and extract
+   * the relevant security data from the API's reply.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIResponseConfig response_mapping = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The responseMapping. + */ + com.google.cloud.chronicle.v1.CustomAPIResponseConfig getResponseMapping(); + + /** + * + * + *
+   * Required. Provide rules that tell the platform how to locate and extract
+   * the relevant security data from the API's reply.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIResponseConfig response_mapping = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.chronicle.v1.CustomAPIResponseConfigOrBuilder getResponseMappingOrBuilder(); + + /** + * + * + *
+   * Required. Select how the connector should request subsequent pages when the
+   * data is too large for a single response.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIPagination pagination_strategy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the paginationStrategy field is set. + */ + boolean hasPaginationStrategy(); + + /** + * + * + *
+   * Required. Select how the connector should request subsequent pages when the
+   * data is too large for a single response.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIPagination pagination_strategy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The paginationStrategy. + */ + com.google.cloud.chronicle.v1.CustomAPIPagination getPaginationStrategy(); + + /** + * + * + *
+   * Required. Select how the connector should request subsequent pages when the
+   * data is too large for a single response.
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIPagination pagination_strategy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.chronicle.v1.CustomAPIPaginationOrBuilder getPaginationStrategyOrBuilder(); + + /** + * + * + *
+   * Required. Configure settings that allow the connector to remember where it
+   * left off in the previous poll (e.g., tracking the last fetched timestamp).
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig checkpointing = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the checkpointing field is set. + */ + boolean hasCheckpointing(); + + /** + * + * + *
+   * Required. Configure settings that allow the connector to remember where it
+   * left off in the previous poll (e.g., tracking the last fetched timestamp).
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig checkpointing = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The checkpointing. + */ + com.google.cloud.chronicle.v1.CustomAPICheckpointConfig getCheckpointing(); + + /** + * + * + *
+   * Required. Configure settings that allow the connector to remember where it
+   * left off in the previous poll (e.g., tracking the last fetched timestamp).
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPICheckpointConfig checkpointing = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.chronicle.v1.CustomAPICheckpointConfigOrBuilder getCheckpointingOrBuilder(); + + /** + * + * + *
+   * Optional. Configuration for dependent requests (child chaining).
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig dependent_requests_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the dependentRequestsConfig field is set. + */ + boolean hasDependentRequestsConfig(); + + /** + * + * + *
+   * Optional. Configuration for dependent requests (child chaining).
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig dependent_requests_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The dependentRequestsConfig. + */ + com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig getDependentRequestsConfig(); + + /** + * + * + *
+   * Optional. Configuration for dependent requests (child chaining).
+   * 
+ * + * + * .google.cloud.chronicle.v1.CustomAPIDependentRequestsConfig dependent_requests_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfigOrBuilder + getDependentRequestsConfigOrBuilder(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DeleteFeedRequest.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DeleteFeedRequest.java new file mode 100644 index 000000000000..4c2ebeb4aad9 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DeleteFeedRequest.java @@ -0,0 +1,725 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Request message to delete a feed.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.DeleteFeedRequest} + */ +@com.google.protobuf.Generated +public final class DeleteFeedRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.DeleteFeedRequest) + DeleteFeedRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "DeleteFeedRequest"); + } + + // Use DeleteFeedRequest.newBuilder() to construct. + private DeleteFeedRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private DeleteFeedRequest() { + name_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_DeleteFeedRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_DeleteFeedRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.DeleteFeedRequest.class, + com.google.cloud.chronicle.v1.DeleteFeedRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + + /** + * + * + *
+   * Required. The ID of the feed to retrieve.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. The ID of the feed to retrieve.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DELETE_BACKLOG_FIELD_NUMBER = 2; + private boolean deleteBacklog_ = false; + + /** + * + * + *
+   * Optional. If true, delete the uningested backlog in OOB retry queue for the
+   * feed.
+   * 
+ * + * bool delete_backlog = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The deleteBacklog. + */ + @java.lang.Override + public boolean getDeleteBacklog() { + return deleteBacklog_; + } + + 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.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + } + if (deleteBacklog_ != false) { + output.writeBool(2, deleteBacklog_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + } + if (deleteBacklog_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, deleteBacklog_); + } + 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.cloud.chronicle.v1.DeleteFeedRequest)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.DeleteFeedRequest other = + (com.google.cloud.chronicle.v1.DeleteFeedRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (getDeleteBacklog() != other.getDeleteBacklog()) 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) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + DELETE_BACKLOG_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeleteBacklog()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.DeleteFeedRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.DeleteFeedRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.DeleteFeedRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.DeleteFeedRequest 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.cloud.chronicle.v1.DeleteFeedRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.DeleteFeedRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.DeleteFeedRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.DeleteFeedRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.DeleteFeedRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.DeleteFeedRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.DeleteFeedRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.DeleteFeedRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.DeleteFeedRequest 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Request message to delete a feed.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.DeleteFeedRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.DeleteFeedRequest) + com.google.cloud.chronicle.v1.DeleteFeedRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_DeleteFeedRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_DeleteFeedRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.DeleteFeedRequest.class, + com.google.cloud.chronicle.v1.DeleteFeedRequest.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.DeleteFeedRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + deleteBacklog_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_DeleteFeedRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.DeleteFeedRequest getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.DeleteFeedRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.DeleteFeedRequest build() { + com.google.cloud.chronicle.v1.DeleteFeedRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.DeleteFeedRequest buildPartial() { + com.google.cloud.chronicle.v1.DeleteFeedRequest result = + new com.google.cloud.chronicle.v1.DeleteFeedRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.DeleteFeedRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.deleteBacklog_ = deleteBacklog_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.DeleteFeedRequest) { + return mergeFrom((com.google.cloud.chronicle.v1.DeleteFeedRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.DeleteFeedRequest other) { + if (other == com.google.cloud.chronicle.v1.DeleteFeedRequest.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getDeleteBacklog() != false) { + setDeleteBacklog(other.getDeleteBacklog()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + deleteBacklog_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + + /** + * + * + *
+     * Required. The ID of the feed to retrieve.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. The ID of the feed to retrieve.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. The ID of the feed to retrieve.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The ID of the feed to retrieve.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The ID of the feed to retrieve.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private boolean deleteBacklog_; + + /** + * + * + *
+     * Optional. If true, delete the uningested backlog in OOB retry queue for the
+     * feed.
+     * 
+ * + * bool delete_backlog = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The deleteBacklog. + */ + @java.lang.Override + public boolean getDeleteBacklog() { + return deleteBacklog_; + } + + /** + * + * + *
+     * Optional. If true, delete the uningested backlog in OOB retry queue for the
+     * feed.
+     * 
+ * + * bool delete_backlog = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The deleteBacklog to set. + * @return This builder for chaining. + */ + public Builder setDeleteBacklog(boolean value) { + + deleteBacklog_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. If true, delete the uningested backlog in OOB retry queue for the
+     * feed.
+     * 
+ * + * bool delete_backlog = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearDeleteBacklog() { + bitField0_ = (bitField0_ & ~0x00000002); + deleteBacklog_ = false; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.DeleteFeedRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.DeleteFeedRequest) + private static final com.google.cloud.chronicle.v1.DeleteFeedRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.DeleteFeedRequest(); + } + + public static com.google.cloud.chronicle.v1.DeleteFeedRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.DeleteFeedRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DeleteFeedRequestOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DeleteFeedRequestOrBuilder.java new file mode 100644 index 000000000000..6db57b1647d2 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DeleteFeedRequestOrBuilder.java @@ -0,0 +1,76 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface DeleteFeedRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.DeleteFeedRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The ID of the feed to retrieve.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + + /** + * + * + *
+   * Required. The ID of the feed to retrieve.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Optional. If true, delete the uningested backlog in OOB retry queue for the
+   * feed.
+   * 
+ * + * bool delete_backlog = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The deleteBacklog. + */ + boolean getDeleteBacklog(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DisableFeedRequest.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DisableFeedRequest.java new file mode 100644 index 000000000000..491a36c0b89f --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DisableFeedRequest.java @@ -0,0 +1,624 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * DisableFeed request message.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.DisableFeedRequest} + */ +@com.google.protobuf.Generated +public final class DisableFeedRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.DisableFeedRequest) + DisableFeedRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "DisableFeedRequest"); + } + + // Use DisableFeedRequest.newBuilder() to construct. + private DisableFeedRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private DisableFeedRequest() { + name_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_DisableFeedRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_DisableFeedRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.DisableFeedRequest.class, + com.google.cloud.chronicle.v1.DisableFeedRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + + /** + * + * + *
+   * Required. The name of the feed to disable.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. The name of the feed to disable.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = 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.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + } + 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.cloud.chronicle.v1.DisableFeedRequest)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.DisableFeedRequest other = + (com.google.cloud.chronicle.v1.DisableFeedRequest) obj; + + if (!getName().equals(other.getName())) 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) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.DisableFeedRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.DisableFeedRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.DisableFeedRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.DisableFeedRequest 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.cloud.chronicle.v1.DisableFeedRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.DisableFeedRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.DisableFeedRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.DisableFeedRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.DisableFeedRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.DisableFeedRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.DisableFeedRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.DisableFeedRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.DisableFeedRequest 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * DisableFeed request message.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.DisableFeedRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.DisableFeedRequest) + com.google.cloud.chronicle.v1.DisableFeedRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_DisableFeedRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_DisableFeedRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.DisableFeedRequest.class, + com.google.cloud.chronicle.v1.DisableFeedRequest.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.DisableFeedRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_DisableFeedRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.DisableFeedRequest getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.DisableFeedRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.DisableFeedRequest build() { + com.google.cloud.chronicle.v1.DisableFeedRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.DisableFeedRequest buildPartial() { + com.google.cloud.chronicle.v1.DisableFeedRequest result = + new com.google.cloud.chronicle.v1.DisableFeedRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.DisableFeedRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.DisableFeedRequest) { + return mergeFrom((com.google.cloud.chronicle.v1.DisableFeedRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.DisableFeedRequest other) { + if (other == com.google.cloud.chronicle.v1.DisableFeedRequest.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + + /** + * + * + *
+     * Required. The name of the feed to disable.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. The name of the feed to disable.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. The name of the feed to disable.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The name of the feed to disable.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The name of the feed to disable.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.DisableFeedRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.DisableFeedRequest) + private static final com.google.cloud.chronicle.v1.DisableFeedRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.DisableFeedRequest(); + } + + public static com.google.cloud.chronicle.v1.DisableFeedRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DisableFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.DisableFeedRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DisableFeedRequestOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DisableFeedRequestOrBuilder.java new file mode 100644 index 000000000000..680cb9255ad3 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DisableFeedRequestOrBuilder.java @@ -0,0 +1,62 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface DisableFeedRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.DisableFeedRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the feed to disable.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + + /** + * + * + *
+   * Required. The name of the feed to disable.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DummyLogTypeSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DummyLogTypeSettings.java new file mode 100644 index 000000000000..5903a8fa2c4e --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DummyLogTypeSettings.java @@ -0,0 +1,915 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Settings required by Feeds of DummyLogType(used for testing purposes).
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.DummyLogTypeSettings} + */ +@com.google.protobuf.Generated +public final class DummyLogTypeSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.DummyLogTypeSettings) + DummyLogTypeSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "DummyLogTypeSettings"); + } + + // Use DummyLogTypeSettings.newBuilder() to construct. + private DummyLogTypeSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private DummyLogTypeSettings() { + apiEndpoint_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_DummyLogTypeSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_DummyLogTypeSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.DummyLogTypeSettings.class, + com.google.cloud.chronicle.v1.DummyLogTypeSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + public static final int API_ENDPOINT_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object apiEndpoint_ = ""; + + /** + * + * + *
+   * Full API Endpoint.
+   * 
+ * + * string api_endpoint = 2; + * + * @return The apiEndpoint. + */ + @java.lang.Override + public java.lang.String getApiEndpoint() { + java.lang.Object ref = apiEndpoint_; + 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(); + apiEndpoint_ = s; + return s; + } + } + + /** + * + * + *
+   * Full API Endpoint.
+   * 
+ * + * string api_endpoint = 2; + * + * @return The bytes for apiEndpoint. + */ + @java.lang.Override + public com.google.protobuf.ByteString getApiEndpointBytes() { + java.lang.Object ref = apiEndpoint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + apiEndpoint_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(apiEndpoint_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, apiEndpoint_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(apiEndpoint_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, apiEndpoint_); + } + 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.cloud.chronicle.v1.DummyLogTypeSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.DummyLogTypeSettings other = + (com.google.cloud.chronicle.v1.DummyLogTypeSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getApiEndpoint().equals(other.getApiEndpoint())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + API_ENDPOINT_FIELD_NUMBER; + hash = (53 * hash) + getApiEndpoint().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.DummyLogTypeSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.DummyLogTypeSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.DummyLogTypeSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.DummyLogTypeSettings 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.cloud.chronicle.v1.DummyLogTypeSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.DummyLogTypeSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.DummyLogTypeSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.DummyLogTypeSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.DummyLogTypeSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.DummyLogTypeSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.DummyLogTypeSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.DummyLogTypeSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.DummyLogTypeSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Settings required by Feeds of DummyLogType(used for testing purposes).
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.DummyLogTypeSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.DummyLogTypeSettings) + com.google.cloud.chronicle.v1.DummyLogTypeSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_DummyLogTypeSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_DummyLogTypeSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.DummyLogTypeSettings.class, + com.google.cloud.chronicle.v1.DummyLogTypeSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.DummyLogTypeSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + apiEndpoint_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_DummyLogTypeSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.DummyLogTypeSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.DummyLogTypeSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.DummyLogTypeSettings build() { + com.google.cloud.chronicle.v1.DummyLogTypeSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.DummyLogTypeSettings buildPartial() { + com.google.cloud.chronicle.v1.DummyLogTypeSettings result = + new com.google.cloud.chronicle.v1.DummyLogTypeSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.DummyLogTypeSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.apiEndpoint_ = apiEndpoint_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.DummyLogTypeSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.DummyLogTypeSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.DummyLogTypeSettings other) { + if (other == com.google.cloud.chronicle.v1.DummyLogTypeSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getApiEndpoint().isEmpty()) { + apiEndpoint_ = other.apiEndpoint_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + apiEndpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object apiEndpoint_ = ""; + + /** + * + * + *
+     * Full API Endpoint.
+     * 
+ * + * string api_endpoint = 2; + * + * @return The apiEndpoint. + */ + public java.lang.String getApiEndpoint() { + java.lang.Object ref = apiEndpoint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + apiEndpoint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Full API Endpoint.
+     * 
+ * + * string api_endpoint = 2; + * + * @return The bytes for apiEndpoint. + */ + public com.google.protobuf.ByteString getApiEndpointBytes() { + java.lang.Object ref = apiEndpoint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + apiEndpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Full API Endpoint.
+     * 
+ * + * string api_endpoint = 2; + * + * @param value The apiEndpoint to set. + * @return This builder for chaining. + */ + public Builder setApiEndpoint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + apiEndpoint_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Full API Endpoint.
+     * 
+ * + * string api_endpoint = 2; + * + * @return This builder for chaining. + */ + public Builder clearApiEndpoint() { + apiEndpoint_ = getDefaultInstance().getApiEndpoint(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Full API Endpoint.
+     * 
+ * + * string api_endpoint = 2; + * + * @param value The bytes for apiEndpoint to set. + * @return This builder for chaining. + */ + public Builder setApiEndpointBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiEndpoint_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.DummyLogTypeSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.DummyLogTypeSettings) + private static final com.google.cloud.chronicle.v1.DummyLogTypeSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.DummyLogTypeSettings(); + } + + public static com.google.cloud.chronicle.v1.DummyLogTypeSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DummyLogTypeSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.DummyLogTypeSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DummyLogTypeSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DummyLogTypeSettingsOrBuilder.java new file mode 100644 index 000000000000..649229790e03 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DummyLogTypeSettingsOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface DummyLogTypeSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.DummyLogTypeSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Full API Endpoint.
+   * 
+ * + * string api_endpoint = 2; + * + * @return The apiEndpoint. + */ + java.lang.String getApiEndpoint(); + + /** + * + * + *
+   * Full API Endpoint.
+   * 
+ * + * string api_endpoint = 2; + * + * @return The bytes for apiEndpoint. + */ + com.google.protobuf.ByteString getApiEndpointBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DuoAuthSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DuoAuthSettings.java new file mode 100644 index 000000000000..ccb05780a2c9 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DuoAuthSettings.java @@ -0,0 +1,914 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Duo Authentication settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.DuoAuthSettings} + */ +@com.google.protobuf.Generated +public final class DuoAuthSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.DuoAuthSettings) + DuoAuthSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "DuoAuthSettings"); + } + + // Use DuoAuthSettings.newBuilder() to construct. + private DuoAuthSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private DuoAuthSettings() { + hostname_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_DuoAuthSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_DuoAuthSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.DuoAuthSettings.class, + com.google.cloud.chronicle.v1.DuoAuthSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + public static final int HOSTNAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, hostname_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, hostname_); + } + 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.cloud.chronicle.v1.DuoAuthSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.DuoAuthSettings other = + (com.google.cloud.chronicle.v1.DuoAuthSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getHostname().equals(other.getHostname())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.DuoAuthSettings parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.DuoAuthSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.DuoAuthSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.DuoAuthSettings 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.cloud.chronicle.v1.DuoAuthSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.DuoAuthSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.DuoAuthSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.DuoAuthSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.DuoAuthSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.DuoAuthSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.DuoAuthSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.DuoAuthSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.DuoAuthSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Duo Authentication settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.DuoAuthSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.DuoAuthSettings) + com.google.cloud.chronicle.v1.DuoAuthSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_DuoAuthSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_DuoAuthSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.DuoAuthSettings.class, + com.google.cloud.chronicle.v1.DuoAuthSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.DuoAuthSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + hostname_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_DuoAuthSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.DuoAuthSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.DuoAuthSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.DuoAuthSettings build() { + com.google.cloud.chronicle.v1.DuoAuthSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.DuoAuthSettings buildPartial() { + com.google.cloud.chronicle.v1.DuoAuthSettings result = + new com.google.cloud.chronicle.v1.DuoAuthSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.DuoAuthSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.hostname_ = hostname_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.DuoAuthSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.DuoAuthSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.DuoAuthSettings other) { + if (other == com.google.cloud.chronicle.v1.DuoAuthSettings.getDefaultInstance()) return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.DuoAuthSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.DuoAuthSettings) + private static final com.google.cloud.chronicle.v1.DuoAuthSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.DuoAuthSettings(); + } + + public static com.google.cloud.chronicle.v1.DuoAuthSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DuoAuthSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.DuoAuthSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DuoAuthSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DuoAuthSettingsOrBuilder.java new file mode 100644 index 000000000000..12f6203bf0fd --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DuoAuthSettingsOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface DuoAuthSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.DuoAuthSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DuoUserContextSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DuoUserContextSettings.java new file mode 100644 index 000000000000..92a7f57a3c13 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DuoUserContextSettings.java @@ -0,0 +1,915 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Duo User Context settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.DuoUserContextSettings} + */ +@com.google.protobuf.Generated +public final class DuoUserContextSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.DuoUserContextSettings) + DuoUserContextSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "DuoUserContextSettings"); + } + + // Use DuoUserContextSettings.newBuilder() to construct. + private DuoUserContextSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private DuoUserContextSettings() { + hostname_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_DuoUserContextSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_DuoUserContextSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.DuoUserContextSettings.class, + com.google.cloud.chronicle.v1.DuoUserContextSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + public static final int HOSTNAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * API hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * API hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, hostname_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, hostname_); + } + 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.cloud.chronicle.v1.DuoUserContextSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.DuoUserContextSettings other = + (com.google.cloud.chronicle.v1.DuoUserContextSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getHostname().equals(other.getHostname())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.DuoUserContextSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.DuoUserContextSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.DuoUserContextSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.DuoUserContextSettings 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.cloud.chronicle.v1.DuoUserContextSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.DuoUserContextSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.DuoUserContextSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.DuoUserContextSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.DuoUserContextSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.DuoUserContextSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.DuoUserContextSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.DuoUserContextSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.DuoUserContextSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Duo User Context settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.DuoUserContextSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.DuoUserContextSettings) + com.google.cloud.chronicle.v1.DuoUserContextSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_DuoUserContextSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_DuoUserContextSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.DuoUserContextSettings.class, + com.google.cloud.chronicle.v1.DuoUserContextSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.DuoUserContextSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + hostname_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_DuoUserContextSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.DuoUserContextSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.DuoUserContextSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.DuoUserContextSettings build() { + com.google.cloud.chronicle.v1.DuoUserContextSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.DuoUserContextSettings buildPartial() { + com.google.cloud.chronicle.v1.DuoUserContextSettings result = + new com.google.cloud.chronicle.v1.DuoUserContextSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.DuoUserContextSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.hostname_ = hostname_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.DuoUserContextSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.DuoUserContextSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.DuoUserContextSettings other) { + if (other == com.google.cloud.chronicle.v1.DuoUserContextSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * API hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * API hostname.
+     * 
+ * + * string hostname = 2; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * API hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.DuoUserContextSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.DuoUserContextSettings) + private static final com.google.cloud.chronicle.v1.DuoUserContextSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.DuoUserContextSettings(); + } + + public static com.google.cloud.chronicle.v1.DuoUserContextSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DuoUserContextSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.DuoUserContextSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DuoUserContextSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DuoUserContextSettingsOrBuilder.java new file mode 100644 index 000000000000..5920a5bd04c5 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/DuoUserContextSettingsOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface DuoUserContextSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.DuoUserContextSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * API hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * API hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/EnableFeedRequest.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/EnableFeedRequest.java new file mode 100644 index 000000000000..78bfae988fe4 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/EnableFeedRequest.java @@ -0,0 +1,624 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * EnableFeed request message.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.EnableFeedRequest} + */ +@com.google.protobuf.Generated +public final class EnableFeedRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.EnableFeedRequest) + EnableFeedRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "EnableFeedRequest"); + } + + // Use EnableFeedRequest.newBuilder() to construct. + private EnableFeedRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private EnableFeedRequest() { + name_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_EnableFeedRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_EnableFeedRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.EnableFeedRequest.class, + com.google.cloud.chronicle.v1.EnableFeedRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + + /** + * + * + *
+   * Required. The name of the feed to enable.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. The name of the feed to enable.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = 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.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + } + 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.cloud.chronicle.v1.EnableFeedRequest)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.EnableFeedRequest other = + (com.google.cloud.chronicle.v1.EnableFeedRequest) obj; + + if (!getName().equals(other.getName())) 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) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.EnableFeedRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.EnableFeedRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.EnableFeedRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.EnableFeedRequest 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.cloud.chronicle.v1.EnableFeedRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.EnableFeedRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.EnableFeedRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.EnableFeedRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.EnableFeedRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.EnableFeedRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.EnableFeedRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.EnableFeedRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.EnableFeedRequest 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * EnableFeed request message.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.EnableFeedRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.EnableFeedRequest) + com.google.cloud.chronicle.v1.EnableFeedRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_EnableFeedRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_EnableFeedRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.EnableFeedRequest.class, + com.google.cloud.chronicle.v1.EnableFeedRequest.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.EnableFeedRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_EnableFeedRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.EnableFeedRequest getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.EnableFeedRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.EnableFeedRequest build() { + com.google.cloud.chronicle.v1.EnableFeedRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.EnableFeedRequest buildPartial() { + com.google.cloud.chronicle.v1.EnableFeedRequest result = + new com.google.cloud.chronicle.v1.EnableFeedRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.EnableFeedRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.EnableFeedRequest) { + return mergeFrom((com.google.cloud.chronicle.v1.EnableFeedRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.EnableFeedRequest other) { + if (other == com.google.cloud.chronicle.v1.EnableFeedRequest.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + + /** + * + * + *
+     * Required. The name of the feed to enable.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. The name of the feed to enable.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. The name of the feed to enable.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The name of the feed to enable.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The name of the feed to enable.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.EnableFeedRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.EnableFeedRequest) + private static final com.google.cloud.chronicle.v1.EnableFeedRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.EnableFeedRequest(); + } + + public static com.google.cloud.chronicle.v1.EnableFeedRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EnableFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.EnableFeedRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/EnableFeedRequestOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/EnableFeedRequestOrBuilder.java new file mode 100644 index 000000000000..8f5fdfb56fec --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/EnableFeedRequestOrBuilder.java @@ -0,0 +1,62 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface EnableFeedRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.EnableFeedRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the feed to enable.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + + /** + * + * + *
+   * Required. The name of the feed to enable.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/Feed.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/Feed.java new file mode 100644 index 000000000000..eef5ab63fc10 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/Feed.java @@ -0,0 +1,2860 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Feed is a resource that contains feed information needed to create a feed.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.Feed} + */ +@com.google.protobuf.Generated +public final class Feed extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.Feed) + FeedOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "Feed"); + } + + // Use Feed.newBuilder() to construct. + private Feed(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private Feed() { + name_ = ""; + uid_ = ""; + displayName_ = ""; + state_ = 0; + failureMsg_ = ""; + referenceId_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_Feed_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_Feed_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.Feed.class, + com.google.cloud.chronicle.v1.Feed.Builder.class); + } + + /** + * + * + *
+   * List of states a feed can have.
+   * 
+ * + * Protobuf enum {@code google.cloud.chronicle.v1.Feed.State} + */ + public enum State implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Unspecified feed state.
+     * 
+ * + * STATE_UNSPECIFIED = 0; + */ + STATE_UNSPECIFIED(0), + /** + * + * + *
+     * Feed is configured and ready to ingest data. Newly created feeds have
+     * this state. Once ingestion begins the feed will transition out of this
+     * state and will not transition back.
+     * 
+ * + * ACTIVE = 1; + */ + ACTIVE(1), + /** + * + * + *
+     * Feed is Disabled. When a user disables a feed it will transition to this
+     * state regardless of its current state. Once enabled a feed will
+     * transition to its previous state.
+     * 
+ * + * INACTIVE = 2; + */ + INACTIVE(2), + /** + * + * + *
+     * Feed is enabled and currently ingesting data. A feed will transition to
+     * this state from an ACTIVE or COMPLETED state when Chronicle has begun
+     * fetching data for this feed.
+     * 
+ * + * RUNNING = 3; + */ + RUNNING(3), + /** + * + * + *
+     * Feed is enabled and has recently successfully ingested data. A feed will
+     * transition to this state from RUNNING or FAILED once a fetch has
+     * completed successfully.
+     * 
+ * + * SUCCEEDED = 4; + */ + SUCCEEDED(4), + /** + * + * + *
+     * Feed is enabled, but has recently failed to ingest data. A feed will
+     * transition to this state only from RUNNING once a fetch has failed. It
+     * will remain in this state until a subsequent fetch has succeeded.
+     * 
+ * + * FAILED = 5; + */ + FAILED(5), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "State"); + } + + /** + * + * + *
+     * Unspecified feed state.
+     * 
+ * + * STATE_UNSPECIFIED = 0; + */ + public static final int STATE_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
+     * Feed is configured and ready to ingest data. Newly created feeds have
+     * this state. Once ingestion begins the feed will transition out of this
+     * state and will not transition back.
+     * 
+ * + * ACTIVE = 1; + */ + public static final int ACTIVE_VALUE = 1; + + /** + * + * + *
+     * Feed is Disabled. When a user disables a feed it will transition to this
+     * state regardless of its current state. Once enabled a feed will
+     * transition to its previous state.
+     * 
+ * + * INACTIVE = 2; + */ + public static final int INACTIVE_VALUE = 2; + + /** + * + * + *
+     * Feed is enabled and currently ingesting data. A feed will transition to
+     * this state from an ACTIVE or COMPLETED state when Chronicle has begun
+     * fetching data for this feed.
+     * 
+ * + * RUNNING = 3; + */ + public static final int RUNNING_VALUE = 3; + + /** + * + * + *
+     * Feed is enabled and has recently successfully ingested data. A feed will
+     * transition to this state from RUNNING or FAILED once a fetch has
+     * completed successfully.
+     * 
+ * + * SUCCEEDED = 4; + */ + public static final int SUCCEEDED_VALUE = 4; + + /** + * + * + *
+     * Feed is enabled, but has recently failed to ingest data. A feed will
+     * transition to this state only from RUNNING once a fetch has failed. It
+     * will remain in this state until a subsequent fetch has succeeded.
+     * 
+ * + * FAILED = 5; + */ + public static final int FAILED_VALUE = 5; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static State valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static State forNumber(int value) { + switch (value) { + case 0: + return STATE_UNSPECIFIED; + case 1: + return ACTIVE; + case 2: + return INACTIVE; + case 3: + return RUNNING; + case 4: + return SUCCEEDED; + case 5: + return FAILED; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.chronicle.v1.Feed.getDescriptor().getEnumTypes().get(0); + } + + private static final State[] VALUES = values(); + + public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private State(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.chronicle.v1.Feed.State) + } + + private int bitField0_; + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + + /** + * + * + *
+   * The resource name of the feed.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + + /** + * + * + *
+   * The resource name of the feed.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int UID_FIELD_NUMBER = 9; + + @SuppressWarnings("serial") + private volatile java.lang.Object uid_ = ""; + + /** + * + * + *
+   * Output only. Unique identifier for the feed.
+   * 
+ * + * + * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @return The uid. + */ + @java.lang.Override + public java.lang.String getUid() { + java.lang.Object ref = uid_; + 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(); + uid_ = s; + return s; + } + } + + /** + * + * + *
+   * Output only. Unique identifier for the feed.
+   * 
+ * + * + * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @return The bytes for uid. + */ + @java.lang.Override + public com.google.protobuf.ByteString getUidBytes() { + java.lang.Object ref = uid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + uid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object displayName_ = ""; + + /** + * + * + *
+   * Customer-provided feed name.
+   * 
+ * + * string display_name = 2; + * + * @return The displayName. + */ + @java.lang.Override + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + 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(); + displayName_ = s; + return s; + } + } + + /** + * + * + *
+   * Customer-provided feed name.
+   * 
+ * + * string display_name = 2; + * + * @return The bytes for displayName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DETAILS_FIELD_NUMBER = 3; + private com.google.cloud.chronicle.v1.FeedDetails details_; + + /** + * + * + *
+   * Additional details of the feed, these details are dynamic and will be
+   * different for each of the feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.FeedDetails details = 3; + * + * @return Whether the details field is set. + */ + @java.lang.Override + public boolean hasDetails() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Additional details of the feed, these details are dynamic and will be
+   * different for each of the feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.FeedDetails details = 3; + * + * @return The details. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedDetails getDetails() { + return details_ == null + ? com.google.cloud.chronicle.v1.FeedDetails.getDefaultInstance() + : details_; + } + + /** + * + * + *
+   * Additional details of the feed, these details are dynamic and will be
+   * different for each of the feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.FeedDetails details = 3; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedDetailsOrBuilder getDetailsOrBuilder() { + return details_ == null + ? com.google.cloud.chronicle.v1.FeedDetails.getDefaultInstance() + : details_; + } + + public static final int STATE_FIELD_NUMBER = 4; + private int state_ = 0; + + /** + * + * + *
+   * Output only. State of the feed.
+   * 
+ * + * + * .google.cloud.chronicle.v1.Feed.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override + public int getStateValue() { + return state_; + } + + /** + * + * + *
+   * Output only. State of the feed.
+   * 
+ * + * + * .google.cloud.chronicle.v1.Feed.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.Feed.State getState() { + com.google.cloud.chronicle.v1.Feed.State result = + com.google.cloud.chronicle.v1.Feed.State.forNumber(state_); + return result == null ? com.google.cloud.chronicle.v1.Feed.State.UNRECOGNIZED : result; + } + + public static final int FAILURE_MSG_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private volatile java.lang.Object failureMsg_ = ""; + + /** + * + * + *
+   * Output only. Details about the most recent failure when feed state is
+   * FAILED.
+   * 
+ * + * string failure_msg = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The failureMsg. + */ + @java.lang.Override + public java.lang.String getFailureMsg() { + java.lang.Object ref = failureMsg_; + 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(); + failureMsg_ = s; + return s; + } + } + + /** + * + * + *
+   * Output only. Details about the most recent failure when feed state is
+   * FAILED.
+   * 
+ * + * string failure_msg = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for failureMsg. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFailureMsgBytes() { + java.lang.Object ref = failureMsg_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + failureMsg_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int READ_ONLY_FIELD_NUMBER = 6; + private boolean readOnly_ = false; + + /** + * + * + *
+   * Output only. Whether this feed can be updated or deleted.
+   * 
+ * + * bool read_only = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The readOnly. + */ + @java.lang.Override + public boolean getReadOnly() { + return readOnly_; + } + + public static final int LAST_FEED_INITIATION_TIME_FIELD_NUMBER = 7; + private com.google.protobuf.Timestamp lastFeedInitiationTime_; + + /** + * + * + *
+   * Output only. Latest timestamp when the transfer was successful for the
+   * feed.
+   * 
+ * + * + * .google.protobuf.Timestamp last_feed_initiation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the lastFeedInitiationTime field is set. + */ + @java.lang.Override + public boolean hasLastFeedInitiationTime() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+   * Output only. Latest timestamp when the transfer was successful for the
+   * feed.
+   * 
+ * + * + * .google.protobuf.Timestamp last_feed_initiation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The lastFeedInitiationTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getLastFeedInitiationTime() { + return lastFeedInitiationTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastFeedInitiationTime_; + } + + /** + * + * + *
+   * Output only. Latest timestamp when the transfer was successful for the
+   * feed.
+   * 
+ * + * + * .google.protobuf.Timestamp last_feed_initiation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getLastFeedInitiationTimeOrBuilder() { + return lastFeedInitiationTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastFeedInitiationTime_; + } + + public static final int FAILURE_DETAILS_FIELD_NUMBER = 8; + private com.google.cloud.chronicle.v1.FeedFailureDetails failureDetails_; + + /** + * + * + *
+   * Output only. Failure details for the feed. If the feed is in the failure
+   * state, this field will contain the details of the error cause and actions.
+   * 
+ * + * + * .google.cloud.chronicle.v1.FeedFailureDetails failure_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the failureDetails field is set. + */ + @java.lang.Override + public boolean hasFailureDetails() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+   * Output only. Failure details for the feed. If the feed is in the failure
+   * state, this field will contain the details of the error cause and actions.
+   * 
+ * + * + * .google.cloud.chronicle.v1.FeedFailureDetails failure_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The failureDetails. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedFailureDetails getFailureDetails() { + return failureDetails_ == null + ? com.google.cloud.chronicle.v1.FeedFailureDetails.getDefaultInstance() + : failureDetails_; + } + + /** + * + * + *
+   * Output only. Failure details for the feed. If the feed is in the failure
+   * state, this field will contain the details of the error cause and actions.
+   * 
+ * + * + * .google.cloud.chronicle.v1.FeedFailureDetails failure_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedFailureDetailsOrBuilder getFailureDetailsOrBuilder() { + return failureDetails_ == null + ? com.google.cloud.chronicle.v1.FeedFailureDetails.getDefaultInstance() + : failureDetails_; + } + + public static final int REFERENCE_ID_FIELD_NUMBER = 10; + + @SuppressWarnings("serial") + private volatile java.lang.Object referenceId_ = ""; + + /** + * + * + *
+   * Output only. Reference ID, this field will contain the legacy id of the
+   * feed.
+   * 
+ * + * string reference_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The referenceId. + */ + @java.lang.Override + public java.lang.String getReferenceId() { + java.lang.Object ref = referenceId_; + 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(); + referenceId_ = s; + return s; + } + } + + /** + * + * + *
+   * Output only. Reference ID, this field will contain the legacy id of the
+   * feed.
+   * 
+ * + * string reference_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for referenceId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getReferenceIdBytes() { + java.lang.Object ref = referenceId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + referenceId_ = 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.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, displayName_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(3, getDetails()); + } + if (state_ != com.google.cloud.chronicle.v1.Feed.State.STATE_UNSPECIFIED.getNumber()) { + output.writeEnum(4, state_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(failureMsg_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, failureMsg_); + } + if (readOnly_ != false) { + output.writeBool(6, readOnly_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(7, getLastFeedInitiationTime()); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(8, getFailureDetails()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(uid_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 9, uid_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(referenceId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 10, referenceId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, displayName_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDetails()); + } + if (state_ != com.google.cloud.chronicle.v1.Feed.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(failureMsg_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, failureMsg_); + } + if (readOnly_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, readOnly_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(7, getLastFeedInitiationTime()); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getFailureDetails()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(uid_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(9, uid_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(referenceId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(10, referenceId_); + } + 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.cloud.chronicle.v1.Feed)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.Feed other = (com.google.cloud.chronicle.v1.Feed) obj; + + if (!getName().equals(other.getName())) return false; + if (!getUid().equals(other.getUid())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (hasDetails() != other.hasDetails()) return false; + if (hasDetails()) { + if (!getDetails().equals(other.getDetails())) return false; + } + if (state_ != other.state_) return false; + if (!getFailureMsg().equals(other.getFailureMsg())) return false; + if (getReadOnly() != other.getReadOnly()) return false; + if (hasLastFeedInitiationTime() != other.hasLastFeedInitiationTime()) return false; + if (hasLastFeedInitiationTime()) { + if (!getLastFeedInitiationTime().equals(other.getLastFeedInitiationTime())) return false; + } + if (hasFailureDetails() != other.hasFailureDetails()) return false; + if (hasFailureDetails()) { + if (!getFailureDetails().equals(other.getFailureDetails())) return false; + } + if (!getReferenceId().equals(other.getReferenceId())) 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) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + UID_FIELD_NUMBER; + hash = (53 * hash) + getUid().hashCode(); + hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; + hash = (53 * hash) + getDisplayName().hashCode(); + if (hasDetails()) { + hash = (37 * hash) + DETAILS_FIELD_NUMBER; + hash = (53 * hash) + getDetails().hashCode(); + } + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + state_; + hash = (37 * hash) + FAILURE_MSG_FIELD_NUMBER; + hash = (53 * hash) + getFailureMsg().hashCode(); + hash = (37 * hash) + READ_ONLY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReadOnly()); + if (hasLastFeedInitiationTime()) { + hash = (37 * hash) + LAST_FEED_INITIATION_TIME_FIELD_NUMBER; + hash = (53 * hash) + getLastFeedInitiationTime().hashCode(); + } + if (hasFailureDetails()) { + hash = (37 * hash) + FAILURE_DETAILS_FIELD_NUMBER; + hash = (53 * hash) + getFailureDetails().hashCode(); + } + hash = (37 * hash) + REFERENCE_ID_FIELD_NUMBER; + hash = (53 * hash) + getReferenceId().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.Feed parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.Feed parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.Feed parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.Feed 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.cloud.chronicle.v1.Feed parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.Feed parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.Feed parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.Feed parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.Feed parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.Feed parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.Feed parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.Feed parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.Feed 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Feed is a resource that contains feed information needed to create a feed.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.Feed} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.Feed) + com.google.cloud.chronicle.v1.FeedOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_Feed_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_Feed_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.Feed.class, + com.google.cloud.chronicle.v1.Feed.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.Feed.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetDetailsFieldBuilder(); + internalGetLastFeedInitiationTimeFieldBuilder(); + internalGetFailureDetailsFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + uid_ = ""; + displayName_ = ""; + details_ = null; + if (detailsBuilder_ != null) { + detailsBuilder_.dispose(); + detailsBuilder_ = null; + } + state_ = 0; + failureMsg_ = ""; + readOnly_ = false; + lastFeedInitiationTime_ = null; + if (lastFeedInitiationTimeBuilder_ != null) { + lastFeedInitiationTimeBuilder_.dispose(); + lastFeedInitiationTimeBuilder_ = null; + } + failureDetails_ = null; + if (failureDetailsBuilder_ != null) { + failureDetailsBuilder_.dispose(); + failureDetailsBuilder_ = null; + } + referenceId_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_Feed_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.Feed getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.Feed.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.Feed build() { + com.google.cloud.chronicle.v1.Feed result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.Feed buildPartial() { + com.google.cloud.chronicle.v1.Feed result = new com.google.cloud.chronicle.v1.Feed(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.Feed result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.uid_ = uid_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.displayName_ = displayName_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000008) != 0)) { + result.details_ = detailsBuilder_ == null ? details_ : detailsBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.state_ = state_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.failureMsg_ = failureMsg_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.readOnly_ = readOnly_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.lastFeedInitiationTime_ = + lastFeedInitiationTimeBuilder_ == null + ? lastFeedInitiationTime_ + : lastFeedInitiationTimeBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.failureDetails_ = + failureDetailsBuilder_ == null ? failureDetails_ : failureDetailsBuilder_.build(); + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.referenceId_ = referenceId_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.Feed) { + return mergeFrom((com.google.cloud.chronicle.v1.Feed) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.Feed other) { + if (other == com.google.cloud.chronicle.v1.Feed.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getUid().isEmpty()) { + uid_ = other.uid_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getDisplayName().isEmpty()) { + displayName_ = other.displayName_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.hasDetails()) { + mergeDetails(other.getDetails()); + } + if (other.state_ != 0) { + setStateValue(other.getStateValue()); + } + if (!other.getFailureMsg().isEmpty()) { + failureMsg_ = other.failureMsg_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (other.getReadOnly() != false) { + setReadOnly(other.getReadOnly()); + } + if (other.hasLastFeedInitiationTime()) { + mergeLastFeedInitiationTime(other.getLastFeedInitiationTime()); + } + if (other.hasFailureDetails()) { + mergeFailureDetails(other.getFailureDetails()); + } + if (!other.getReferenceId().isEmpty()) { + referenceId_ = other.referenceId_; + bitField0_ |= 0x00000200; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: + { + input.readMessage(internalGetDetailsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 26 + case 32: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 32 + case 42: + { + failureMsg_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 42 + case 48: + { + readOnly_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case 48 + case 58: + { + input.readMessage( + internalGetLastFeedInitiationTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 58 + case 66: + { + input.readMessage( + internalGetFailureDetailsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 66 + case 74: + { + uid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 74 + case 82: + { + referenceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 82 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + + /** + * + * + *
+     * The resource name of the feed.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * string name = 1; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * The resource name of the feed.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * The resource name of the feed.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * string name = 1; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * The resource name of the feed.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * string name = 1; + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * The resource name of the feed.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * string name = 1; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object uid_ = ""; + + /** + * + * + *
+     * Output only. Unique identifier for the feed.
+     * 
+ * + * + * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @return The uid. + */ + public java.lang.String getUid() { + java.lang.Object ref = uid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + uid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Output only. Unique identifier for the feed.
+     * 
+ * + * + * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @return The bytes for uid. + */ + public com.google.protobuf.ByteString getUidBytes() { + java.lang.Object ref = uid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + uid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Output only. Unique identifier for the feed.
+     * 
+ * + * + * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @param value The uid to set. + * @return This builder for chaining. + */ + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + uid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Unique identifier for the feed.
+     * 
+ * + * + * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearUid() { + uid_ = getDefaultInstance().getUid(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Unique identifier for the feed.
+     * 
+ * + * + * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @param value The bytes for uid to set. + * @return This builder for chaining. + */ + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uid_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object displayName_ = ""; + + /** + * + * + *
+     * Customer-provided feed name.
+     * 
+ * + * string display_name = 2; + * + * @return The displayName. + */ + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Customer-provided feed name.
+     * 
+ * + * string display_name = 2; + * + * @return The bytes for displayName. + */ + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Customer-provided feed name.
+     * 
+ * + * string display_name = 2; + * + * @param value The displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + displayName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Customer-provided feed name.
+     * 
+ * + * string display_name = 2; + * + * @return This builder for chaining. + */ + public Builder clearDisplayName() { + displayName_ = getDefaultInstance().getDisplayName(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Customer-provided feed name.
+     * 
+ * + * string display_name = 2; + * + * @param value The bytes for displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private com.google.cloud.chronicle.v1.FeedDetails details_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.FeedDetails, + com.google.cloud.chronicle.v1.FeedDetails.Builder, + com.google.cloud.chronicle.v1.FeedDetailsOrBuilder> + detailsBuilder_; + + /** + * + * + *
+     * Additional details of the feed, these details are dynamic and will be
+     * different for each of the feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.FeedDetails details = 3; + * + * @return Whether the details field is set. + */ + public boolean hasDetails() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
+     * Additional details of the feed, these details are dynamic and will be
+     * different for each of the feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.FeedDetails details = 3; + * + * @return The details. + */ + public com.google.cloud.chronicle.v1.FeedDetails getDetails() { + if (detailsBuilder_ == null) { + return details_ == null + ? com.google.cloud.chronicle.v1.FeedDetails.getDefaultInstance() + : details_; + } else { + return detailsBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Additional details of the feed, these details are dynamic and will be
+     * different for each of the feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.FeedDetails details = 3; + */ + public Builder setDetails(com.google.cloud.chronicle.v1.FeedDetails value) { + if (detailsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + } else { + detailsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Additional details of the feed, these details are dynamic and will be
+     * different for each of the feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.FeedDetails details = 3; + */ + public Builder setDetails(com.google.cloud.chronicle.v1.FeedDetails.Builder builderForValue) { + if (detailsBuilder_ == null) { + details_ = builderForValue.build(); + } else { + detailsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Additional details of the feed, these details are dynamic and will be
+     * different for each of the feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.FeedDetails details = 3; + */ + public Builder mergeDetails(com.google.cloud.chronicle.v1.FeedDetails value) { + if (detailsBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && details_ != null + && details_ != com.google.cloud.chronicle.v1.FeedDetails.getDefaultInstance()) { + getDetailsBuilder().mergeFrom(value); + } else { + details_ = value; + } + } else { + detailsBuilder_.mergeFrom(value); + } + if (details_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Additional details of the feed, these details are dynamic and will be
+     * different for each of the feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.FeedDetails details = 3; + */ + public Builder clearDetails() { + bitField0_ = (bitField0_ & ~0x00000008); + details_ = null; + if (detailsBuilder_ != null) { + detailsBuilder_.dispose(); + detailsBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Additional details of the feed, these details are dynamic and will be
+     * different for each of the feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.FeedDetails details = 3; + */ + public com.google.cloud.chronicle.v1.FeedDetails.Builder getDetailsBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return internalGetDetailsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Additional details of the feed, these details are dynamic and will be
+     * different for each of the feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.FeedDetails details = 3; + */ + public com.google.cloud.chronicle.v1.FeedDetailsOrBuilder getDetailsOrBuilder() { + if (detailsBuilder_ != null) { + return detailsBuilder_.getMessageOrBuilder(); + } else { + return details_ == null + ? com.google.cloud.chronicle.v1.FeedDetails.getDefaultInstance() + : details_; + } + } + + /** + * + * + *
+     * Additional details of the feed, these details are dynamic and will be
+     * different for each of the feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.FeedDetails details = 3; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.FeedDetails, + com.google.cloud.chronicle.v1.FeedDetails.Builder, + com.google.cloud.chronicle.v1.FeedDetailsOrBuilder> + internalGetDetailsFieldBuilder() { + if (detailsBuilder_ == null) { + detailsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.FeedDetails, + com.google.cloud.chronicle.v1.FeedDetails.Builder, + com.google.cloud.chronicle.v1.FeedDetailsOrBuilder>( + getDetails(), getParentForChildren(), isClean()); + details_ = null; + } + return detailsBuilder_; + } + + private int state_ = 0; + + /** + * + * + *
+     * Output only. State of the feed.
+     * 
+ * + * + * .google.cloud.chronicle.v1.Feed.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override + public int getStateValue() { + return state_; + } + + /** + * + * + *
+     * Output only. State of the feed.
+     * 
+ * + * + * .google.cloud.chronicle.v1.Feed.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. + */ + public Builder setStateValue(int value) { + state_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. State of the feed.
+     * 
+ * + * + * .google.cloud.chronicle.v1.Feed.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.Feed.State getState() { + com.google.cloud.chronicle.v1.Feed.State result = + com.google.cloud.chronicle.v1.Feed.State.forNumber(state_); + return result == null ? com.google.cloud.chronicle.v1.Feed.State.UNRECOGNIZED : result; + } + + /** + * + * + *
+     * Output only. State of the feed.
+     * 
+ * + * + * .google.cloud.chronicle.v1.Feed.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState(com.google.cloud.chronicle.v1.Feed.State value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + state_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. State of the feed.
+     * 
+ * + * + * .google.cloud.chronicle.v1.Feed.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearState() { + bitField0_ = (bitField0_ & ~0x00000010); + state_ = 0; + onChanged(); + return this; + } + + private java.lang.Object failureMsg_ = ""; + + /** + * + * + *
+     * Output only. Details about the most recent failure when feed state is
+     * FAILED.
+     * 
+ * + * string failure_msg = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The failureMsg. + */ + public java.lang.String getFailureMsg() { + java.lang.Object ref = failureMsg_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + failureMsg_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Output only. Details about the most recent failure when feed state is
+     * FAILED.
+     * 
+ * + * string failure_msg = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for failureMsg. + */ + public com.google.protobuf.ByteString getFailureMsgBytes() { + java.lang.Object ref = failureMsg_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + failureMsg_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Output only. Details about the most recent failure when feed state is
+     * FAILED.
+     * 
+ * + * string failure_msg = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The failureMsg to set. + * @return This builder for chaining. + */ + public Builder setFailureMsg(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + failureMsg_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Details about the most recent failure when feed state is
+     * FAILED.
+     * 
+ * + * string failure_msg = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearFailureMsg() { + failureMsg_ = getDefaultInstance().getFailureMsg(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Details about the most recent failure when feed state is
+     * FAILED.
+     * 
+ * + * string failure_msg = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for failureMsg to set. + * @return This builder for chaining. + */ + public Builder setFailureMsgBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + failureMsg_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private boolean readOnly_; + + /** + * + * + *
+     * Output only. Whether this feed can be updated or deleted.
+     * 
+ * + * bool read_only = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The readOnly. + */ + @java.lang.Override + public boolean getReadOnly() { + return readOnly_; + } + + /** + * + * + *
+     * Output only. Whether this feed can be updated or deleted.
+     * 
+ * + * bool read_only = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The readOnly to set. + * @return This builder for chaining. + */ + public Builder setReadOnly(boolean value) { + + readOnly_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Whether this feed can be updated or deleted.
+     * 
+ * + * bool read_only = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearReadOnly() { + bitField0_ = (bitField0_ & ~0x00000040); + readOnly_ = false; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp lastFeedInitiationTime_; + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + lastFeedInitiationTimeBuilder_; + + /** + * + * + *
+     * Output only. Latest timestamp when the transfer was successful for the
+     * feed.
+     * 
+ * + * + * .google.protobuf.Timestamp last_feed_initiation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the lastFeedInitiationTime field is set. + */ + public boolean hasLastFeedInitiationTime() { + return ((bitField0_ & 0x00000080) != 0); + } + + /** + * + * + *
+     * Output only. Latest timestamp when the transfer was successful for the
+     * feed.
+     * 
+ * + * + * .google.protobuf.Timestamp last_feed_initiation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The lastFeedInitiationTime. + */ + public com.google.protobuf.Timestamp getLastFeedInitiationTime() { + if (lastFeedInitiationTimeBuilder_ == null) { + return lastFeedInitiationTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastFeedInitiationTime_; + } else { + return lastFeedInitiationTimeBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Output only. Latest timestamp when the transfer was successful for the
+     * feed.
+     * 
+ * + * + * .google.protobuf.Timestamp last_feed_initiation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setLastFeedInitiationTime(com.google.protobuf.Timestamp value) { + if (lastFeedInitiationTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + lastFeedInitiationTime_ = value; + } else { + lastFeedInitiationTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Latest timestamp when the transfer was successful for the
+     * feed.
+     * 
+ * + * + * .google.protobuf.Timestamp last_feed_initiation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setLastFeedInitiationTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (lastFeedInitiationTimeBuilder_ == null) { + lastFeedInitiationTime_ = builderForValue.build(); + } else { + lastFeedInitiationTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Latest timestamp when the transfer was successful for the
+     * feed.
+     * 
+ * + * + * .google.protobuf.Timestamp last_feed_initiation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeLastFeedInitiationTime(com.google.protobuf.Timestamp value) { + if (lastFeedInitiationTimeBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0) + && lastFeedInitiationTime_ != null + && lastFeedInitiationTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getLastFeedInitiationTimeBuilder().mergeFrom(value); + } else { + lastFeedInitiationTime_ = value; + } + } else { + lastFeedInitiationTimeBuilder_.mergeFrom(value); + } + if (lastFeedInitiationTime_ != null) { + bitField0_ |= 0x00000080; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Output only. Latest timestamp when the transfer was successful for the
+     * feed.
+     * 
+ * + * + * .google.protobuf.Timestamp last_feed_initiation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearLastFeedInitiationTime() { + bitField0_ = (bitField0_ & ~0x00000080); + lastFeedInitiationTime_ = null; + if (lastFeedInitiationTimeBuilder_ != null) { + lastFeedInitiationTimeBuilder_.dispose(); + lastFeedInitiationTimeBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Latest timestamp when the transfer was successful for the
+     * feed.
+     * 
+ * + * + * .google.protobuf.Timestamp last_feed_initiation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getLastFeedInitiationTimeBuilder() { + bitField0_ |= 0x00000080; + onChanged(); + return internalGetLastFeedInitiationTimeFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Output only. Latest timestamp when the transfer was successful for the
+     * feed.
+     * 
+ * + * + * .google.protobuf.Timestamp last_feed_initiation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getLastFeedInitiationTimeOrBuilder() { + if (lastFeedInitiationTimeBuilder_ != null) { + return lastFeedInitiationTimeBuilder_.getMessageOrBuilder(); + } else { + return lastFeedInitiationTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastFeedInitiationTime_; + } + } + + /** + * + * + *
+     * Output only. Latest timestamp when the transfer was successful for the
+     * feed.
+     * 
+ * + * + * .google.protobuf.Timestamp last_feed_initiation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + internalGetLastFeedInitiationTimeFieldBuilder() { + if (lastFeedInitiationTimeBuilder_ == null) { + lastFeedInitiationTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getLastFeedInitiationTime(), getParentForChildren(), isClean()); + lastFeedInitiationTime_ = null; + } + return lastFeedInitiationTimeBuilder_; + } + + private com.google.cloud.chronicle.v1.FeedFailureDetails failureDetails_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.FeedFailureDetails, + com.google.cloud.chronicle.v1.FeedFailureDetails.Builder, + com.google.cloud.chronicle.v1.FeedFailureDetailsOrBuilder> + failureDetailsBuilder_; + + /** + * + * + *
+     * Output only. Failure details for the feed. If the feed is in the failure
+     * state, this field will contain the details of the error cause and actions.
+     * 
+ * + * + * .google.cloud.chronicle.v1.FeedFailureDetails failure_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the failureDetails field is set. + */ + public boolean hasFailureDetails() { + return ((bitField0_ & 0x00000100) != 0); + } + + /** + * + * + *
+     * Output only. Failure details for the feed. If the feed is in the failure
+     * state, this field will contain the details of the error cause and actions.
+     * 
+ * + * + * .google.cloud.chronicle.v1.FeedFailureDetails failure_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The failureDetails. + */ + public com.google.cloud.chronicle.v1.FeedFailureDetails getFailureDetails() { + if (failureDetailsBuilder_ == null) { + return failureDetails_ == null + ? com.google.cloud.chronicle.v1.FeedFailureDetails.getDefaultInstance() + : failureDetails_; + } else { + return failureDetailsBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Output only. Failure details for the feed. If the feed is in the failure
+     * state, this field will contain the details of the error cause and actions.
+     * 
+ * + * + * .google.cloud.chronicle.v1.FeedFailureDetails failure_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setFailureDetails(com.google.cloud.chronicle.v1.FeedFailureDetails value) { + if (failureDetailsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + failureDetails_ = value; + } else { + failureDetailsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Failure details for the feed. If the feed is in the failure
+     * state, this field will contain the details of the error cause and actions.
+     * 
+ * + * + * .google.cloud.chronicle.v1.FeedFailureDetails failure_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setFailureDetails( + com.google.cloud.chronicle.v1.FeedFailureDetails.Builder builderForValue) { + if (failureDetailsBuilder_ == null) { + failureDetails_ = builderForValue.build(); + } else { + failureDetailsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Failure details for the feed. If the feed is in the failure
+     * state, this field will contain the details of the error cause and actions.
+     * 
+ * + * + * .google.cloud.chronicle.v1.FeedFailureDetails failure_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeFailureDetails(com.google.cloud.chronicle.v1.FeedFailureDetails value) { + if (failureDetailsBuilder_ == null) { + if (((bitField0_ & 0x00000100) != 0) + && failureDetails_ != null + && failureDetails_ + != com.google.cloud.chronicle.v1.FeedFailureDetails.getDefaultInstance()) { + getFailureDetailsBuilder().mergeFrom(value); + } else { + failureDetails_ = value; + } + } else { + failureDetailsBuilder_.mergeFrom(value); + } + if (failureDetails_ != null) { + bitField0_ |= 0x00000100; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Output only. Failure details for the feed. If the feed is in the failure
+     * state, this field will contain the details of the error cause and actions.
+     * 
+ * + * + * .google.cloud.chronicle.v1.FeedFailureDetails failure_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearFailureDetails() { + bitField0_ = (bitField0_ & ~0x00000100); + failureDetails_ = null; + if (failureDetailsBuilder_ != null) { + failureDetailsBuilder_.dispose(); + failureDetailsBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Failure details for the feed. If the feed is in the failure
+     * state, this field will contain the details of the error cause and actions.
+     * 
+ * + * + * .google.cloud.chronicle.v1.FeedFailureDetails failure_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.FeedFailureDetails.Builder getFailureDetailsBuilder() { + bitField0_ |= 0x00000100; + onChanged(); + return internalGetFailureDetailsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Output only. Failure details for the feed. If the feed is in the failure
+     * state, this field will contain the details of the error cause and actions.
+     * 
+ * + * + * .google.cloud.chronicle.v1.FeedFailureDetails failure_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.FeedFailureDetailsOrBuilder getFailureDetailsOrBuilder() { + if (failureDetailsBuilder_ != null) { + return failureDetailsBuilder_.getMessageOrBuilder(); + } else { + return failureDetails_ == null + ? com.google.cloud.chronicle.v1.FeedFailureDetails.getDefaultInstance() + : failureDetails_; + } + } + + /** + * + * + *
+     * Output only. Failure details for the feed. If the feed is in the failure
+     * state, this field will contain the details of the error cause and actions.
+     * 
+ * + * + * .google.cloud.chronicle.v1.FeedFailureDetails failure_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.FeedFailureDetails, + com.google.cloud.chronicle.v1.FeedFailureDetails.Builder, + com.google.cloud.chronicle.v1.FeedFailureDetailsOrBuilder> + internalGetFailureDetailsFieldBuilder() { + if (failureDetailsBuilder_ == null) { + failureDetailsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.FeedFailureDetails, + com.google.cloud.chronicle.v1.FeedFailureDetails.Builder, + com.google.cloud.chronicle.v1.FeedFailureDetailsOrBuilder>( + getFailureDetails(), getParentForChildren(), isClean()); + failureDetails_ = null; + } + return failureDetailsBuilder_; + } + + private java.lang.Object referenceId_ = ""; + + /** + * + * + *
+     * Output only. Reference ID, this field will contain the legacy id of the
+     * feed.
+     * 
+ * + * string reference_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The referenceId. + */ + public java.lang.String getReferenceId() { + java.lang.Object ref = referenceId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + referenceId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Output only. Reference ID, this field will contain the legacy id of the
+     * feed.
+     * 
+ * + * string reference_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for referenceId. + */ + public com.google.protobuf.ByteString getReferenceIdBytes() { + java.lang.Object ref = referenceId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + referenceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Output only. Reference ID, this field will contain the legacy id of the
+     * feed.
+     * 
+ * + * string reference_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The referenceId to set. + * @return This builder for chaining. + */ + public Builder setReferenceId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + referenceId_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Reference ID, this field will contain the legacy id of the
+     * feed.
+     * 
+ * + * string reference_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearReferenceId() { + referenceId_ = getDefaultInstance().getReferenceId(); + bitField0_ = (bitField0_ & ~0x00000200); + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Reference ID, this field will contain the legacy id of the
+     * feed.
+     * 
+ * + * string reference_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for referenceId to set. + * @return This builder for chaining. + */ + public Builder setReferenceIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + referenceId_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.Feed) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.Feed) + private static final com.google.cloud.chronicle.v1.Feed DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.Feed(); + } + + public static com.google.cloud.chronicle.v1.Feed getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Feed parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.Feed getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedDetails.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedDetails.java new file mode 100644 index 000000000000..926ae65ed748 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedDetails.java @@ -0,0 +1,27152 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Additional details of the feed, these details are dynamic and will be
+ * different for each of the feeds.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.FeedDetails} + */ +@com.google.protobuf.Generated +public final class FeedDetails extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.FeedDetails) + FeedDetailsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "FeedDetails"); + } + + // Use FeedDetails.newBuilder() to construct. + private FeedDetails(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private FeedDetails() { + feedSourceType_ = 0; + logType_ = ""; + assetNamespace_ = ""; + stsMigrationReadiness_ = 0; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FeedDetails_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 52: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FeedDetails_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.FeedDetails.class, + com.google.cloud.chronicle.v1.FeedDetails.Builder.class); + } + + /** + * + * + *
+   * Different types of feed sources.
+   * 
+ * + * Protobuf enum {@code google.cloud.chronicle.v1.FeedDetails.FeedSourceType} + */ + public enum FeedSourceType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Unspecified feed source type.
+     * 
+ * + * FEED_SOURCE_TYPE_UNSPECIFIED = 0; + */ + FEED_SOURCE_TYPE_UNSPECIFIED(0), + /** + * + * + *
+     * Cloud Storage.
+     * 
+ * + * GOOGLE_CLOUD_STORAGE = 1; + */ + GOOGLE_CLOUD_STORAGE(1), + /** + * + * + *
+     * HTTP.
+     * 
+ * + * HTTP = 2; + */ + HTTP(2), + /** + * + * + *
+     * SFTP.
+     * 
+ * + * SFTP = 3; + */ + SFTP(3), + /** + * + * + *
+     * S3.
+     * 
+ * + * AMAZON_S3 = 4; + */ + AMAZON_S3(4), + /** + * + * + *
+     * Azure Blobstore.
+     * 
+ * + * AZURE_BLOBSTORE = 5; + */ + AZURE_BLOBSTORE(5), + /** + * + * + *
+     * API.
+     * 
+ * + * API = 6; + */ + API(6), + /** + * + * + *
+     * SQS.
+     * 
+ * + * AMAZON_SQS = 7; + */ + AMAZON_SQS(7), + /** + * + * + *
+     * Pub/Sub.
+     * 
+ * + * PUBSUB = 8; + */ + PUBSUB(8), + /** + * + * + *
+     * AMAZON_KINESIS_FIREHOSE.
+     * 
+ * + * AMAZON_KINESIS_FIREHOSE = 9; + */ + AMAZON_KINESIS_FIREHOSE(9), + /** + * + * + *
+     * WEBHOOK.
+     * 
+ * + * WEBHOOK = 10; + */ + WEBHOOK(10), + /** + * + * + *
+     * HTTPS GCloud Pub/Sub.
+     * 
+ * + * HTTPS_PUSH_GOOGLE_CLOUD_PUBSUB = 11; + */ + HTTPS_PUSH_GOOGLE_CLOUD_PUBSUB(11), + /** + * + * + *
+     * HTTPS Amazon Kinesis Firehose.
+     * 
+ * + * HTTPS_PUSH_AMAZON_KINESIS_FIREHOSE = 12; + */ + HTTPS_PUSH_AMAZON_KINESIS_FIREHOSE(12), + /** + * + * + *
+     * HTTPS Webhook.
+     * 
+ * + * HTTPS_PUSH_WEBHOOK = 13; + */ + HTTPS_PUSH_WEBHOOK(13), + /** + * + * + *
+     * Microsoft Azure native ingestion for event hub.
+     * 
+ * + * AZURE_EVENT_HUB = 17; + */ + AZURE_EVENT_HUB(17), + /** + * + * + *
+     * Google Cloud Storage Feed backed by Omniflow STS
+     * 
+ * + * GOOGLE_CLOUD_STORAGE_V2 = 18; + */ + GOOGLE_CLOUD_STORAGE_V2(18), + /** + * + * + *
+     * Amazon S3 Feed backed by Omniflow STS.
+     * 
+ * + * AMAZON_S3_V2 = 19; + */ + AMAZON_S3_V2(19), + /** + * + * + *
+     * Amazon SQS Feed backed by Omniflow STS.
+     * 
+ * + * AMAZON_SQS_V2 = 20; + */ + AMAZON_SQS_V2(20), + /** + * + * + *
+     * Azure Blobstore Feed backed by Omniflow STS.
+     * 
+ * + * AZURE_BLOBSTORE_V2 = 21; + */ + AZURE_BLOBSTORE_V2(21), + /** + * + * + *
+     * Google Cloud Storage Feed backed by Omniflow STS driven by pubsub events.
+     * 
+ * + * GOOGLE_CLOUD_STORAGE_EVENT_DRIVEN = 22; + */ + GOOGLE_CLOUD_STORAGE_EVENT_DRIVEN(22), + /** + * + * + *
+     * A customized, declarative, configuration-driven connector for
+     * ingesting JSON data from third-party REST APIs.
+     * 
+ * + * CUSTOM_API = 23; + */ + CUSTOM_API(23), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "FeedSourceType"); + } + + /** + * + * + *
+     * Unspecified feed source type.
+     * 
+ * + * FEED_SOURCE_TYPE_UNSPECIFIED = 0; + */ + public static final int FEED_SOURCE_TYPE_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
+     * Cloud Storage.
+     * 
+ * + * GOOGLE_CLOUD_STORAGE = 1; + */ + public static final int GOOGLE_CLOUD_STORAGE_VALUE = 1; + + /** + * + * + *
+     * HTTP.
+     * 
+ * + * HTTP = 2; + */ + public static final int HTTP_VALUE = 2; + + /** + * + * + *
+     * SFTP.
+     * 
+ * + * SFTP = 3; + */ + public static final int SFTP_VALUE = 3; + + /** + * + * + *
+     * S3.
+     * 
+ * + * AMAZON_S3 = 4; + */ + public static final int AMAZON_S3_VALUE = 4; + + /** + * + * + *
+     * Azure Blobstore.
+     * 
+ * + * AZURE_BLOBSTORE = 5; + */ + public static final int AZURE_BLOBSTORE_VALUE = 5; + + /** + * + * + *
+     * API.
+     * 
+ * + * API = 6; + */ + public static final int API_VALUE = 6; + + /** + * + * + *
+     * SQS.
+     * 
+ * + * AMAZON_SQS = 7; + */ + public static final int AMAZON_SQS_VALUE = 7; + + /** + * + * + *
+     * Pub/Sub.
+     * 
+ * + * PUBSUB = 8; + */ + public static final int PUBSUB_VALUE = 8; + + /** + * + * + *
+     * AMAZON_KINESIS_FIREHOSE.
+     * 
+ * + * AMAZON_KINESIS_FIREHOSE = 9; + */ + public static final int AMAZON_KINESIS_FIREHOSE_VALUE = 9; + + /** + * + * + *
+     * WEBHOOK.
+     * 
+ * + * WEBHOOK = 10; + */ + public static final int WEBHOOK_VALUE = 10; + + /** + * + * + *
+     * HTTPS GCloud Pub/Sub.
+     * 
+ * + * HTTPS_PUSH_GOOGLE_CLOUD_PUBSUB = 11; + */ + public static final int HTTPS_PUSH_GOOGLE_CLOUD_PUBSUB_VALUE = 11; + + /** + * + * + *
+     * HTTPS Amazon Kinesis Firehose.
+     * 
+ * + * HTTPS_PUSH_AMAZON_KINESIS_FIREHOSE = 12; + */ + public static final int HTTPS_PUSH_AMAZON_KINESIS_FIREHOSE_VALUE = 12; + + /** + * + * + *
+     * HTTPS Webhook.
+     * 
+ * + * HTTPS_PUSH_WEBHOOK = 13; + */ + public static final int HTTPS_PUSH_WEBHOOK_VALUE = 13; + + /** + * + * + *
+     * Microsoft Azure native ingestion for event hub.
+     * 
+ * + * AZURE_EVENT_HUB = 17; + */ + public static final int AZURE_EVENT_HUB_VALUE = 17; + + /** + * + * + *
+     * Google Cloud Storage Feed backed by Omniflow STS
+     * 
+ * + * GOOGLE_CLOUD_STORAGE_V2 = 18; + */ + public static final int GOOGLE_CLOUD_STORAGE_V2_VALUE = 18; + + /** + * + * + *
+     * Amazon S3 Feed backed by Omniflow STS.
+     * 
+ * + * AMAZON_S3_V2 = 19; + */ + public static final int AMAZON_S3_V2_VALUE = 19; + + /** + * + * + *
+     * Amazon SQS Feed backed by Omniflow STS.
+     * 
+ * + * AMAZON_SQS_V2 = 20; + */ + public static final int AMAZON_SQS_V2_VALUE = 20; + + /** + * + * + *
+     * Azure Blobstore Feed backed by Omniflow STS.
+     * 
+ * + * AZURE_BLOBSTORE_V2 = 21; + */ + public static final int AZURE_BLOBSTORE_V2_VALUE = 21; + + /** + * + * + *
+     * Google Cloud Storage Feed backed by Omniflow STS driven by pubsub events.
+     * 
+ * + * GOOGLE_CLOUD_STORAGE_EVENT_DRIVEN = 22; + */ + public static final int GOOGLE_CLOUD_STORAGE_EVENT_DRIVEN_VALUE = 22; + + /** + * + * + *
+     * A customized, declarative, configuration-driven connector for
+     * ingesting JSON data from third-party REST APIs.
+     * 
+ * + * CUSTOM_API = 23; + */ + public static final int CUSTOM_API_VALUE = 23; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static FeedSourceType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static FeedSourceType forNumber(int value) { + switch (value) { + case 0: + return FEED_SOURCE_TYPE_UNSPECIFIED; + case 1: + return GOOGLE_CLOUD_STORAGE; + case 2: + return HTTP; + case 3: + return SFTP; + case 4: + return AMAZON_S3; + case 5: + return AZURE_BLOBSTORE; + case 6: + return API; + case 7: + return AMAZON_SQS; + case 8: + return PUBSUB; + case 9: + return AMAZON_KINESIS_FIREHOSE; + case 10: + return WEBHOOK; + case 11: + return HTTPS_PUSH_GOOGLE_CLOUD_PUBSUB; + case 12: + return HTTPS_PUSH_AMAZON_KINESIS_FIREHOSE; + case 13: + return HTTPS_PUSH_WEBHOOK; + case 17: + return AZURE_EVENT_HUB; + case 18: + return GOOGLE_CLOUD_STORAGE_V2; + case 19: + return AMAZON_S3_V2; + case 20: + return AMAZON_SQS_V2; + case 21: + return AZURE_BLOBSTORE_V2; + case 22: + return GOOGLE_CLOUD_STORAGE_EVENT_DRIVEN; + case 23: + return CUSTOM_API; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public FeedSourceType findValueByNumber(int number) { + return FeedSourceType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedDetails.getDescriptor().getEnumTypes().get(0); + } + + private static final FeedSourceType[] VALUES = values(); + + public static FeedSourceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private FeedSourceType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.chronicle.v1.FeedDetails.FeedSourceType) + } + + /** + * + * + *
+   * Whether the feed is ready for STS migration.
+   * 
+ * + * Protobuf enum {@code google.cloud.chronicle.v1.FeedDetails.STSMigrationReadiness} + */ + public enum STSMigrationReadiness implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Default value. This value is unused.
+     * 
+ * + * STS_MIGRATION_READINESS_UNSPECIFIED = 0; + */ + STS_MIGRATION_READINESS_UNSPECIFIED(0), + /** + * + * + *
+     * The feed needs some work for STS migration.
+     * 
+ * + * NOT_READY = 1; + */ + NOT_READY(1), + /** + * + * + *
+     * The feed is ready for STS migration.
+     * 
+ * + * READY = 2; + */ + READY(2), + /** + * + * + *
+     * Need to recreate feed with updated auth.
+     * 
+ * + * AUTH_RECONFIG_REQUIRED = 3; + */ + AUTH_RECONFIG_REQUIRED(3), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "STSMigrationReadiness"); + } + + /** + * + * + *
+     * Default value. This value is unused.
+     * 
+ * + * STS_MIGRATION_READINESS_UNSPECIFIED = 0; + */ + public static final int STS_MIGRATION_READINESS_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
+     * The feed needs some work for STS migration.
+     * 
+ * + * NOT_READY = 1; + */ + public static final int NOT_READY_VALUE = 1; + + /** + * + * + *
+     * The feed is ready for STS migration.
+     * 
+ * + * READY = 2; + */ + public static final int READY_VALUE = 2; + + /** + * + * + *
+     * Need to recreate feed with updated auth.
+     * 
+ * + * AUTH_RECONFIG_REQUIRED = 3; + */ + public static final int AUTH_RECONFIG_REQUIRED_VALUE = 3; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static STSMigrationReadiness valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static STSMigrationReadiness forNumber(int value) { + switch (value) { + case 0: + return STS_MIGRATION_READINESS_UNSPECIFIED; + case 1: + return NOT_READY; + case 2: + return READY; + case 3: + return AUTH_RECONFIG_REQUIRED; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public STSMigrationReadiness findValueByNumber(int number) { + return STSMigrationReadiness.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedDetails.getDescriptor().getEnumTypes().get(1); + } + + private static final STSMigrationReadiness[] VALUES = values(); + + public static STSMigrationReadiness valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private STSMigrationReadiness(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.chronicle.v1.FeedDetails.STSMigrationReadiness) + } + + private int bitField0_; + private int detailsCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object details_; + + public enum DetailsCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + ANOMALI_SETTINGS(3), + AZURE_AD_CONTEXT_SETTINGS(4), + CLOUD_PASSAGE_SETTINGS(5), + CORTEX_XDR_SETTINGS(6), + DUO_AUTH_SETTINGS(7), + DUO_USER_CONTEXT_SETTINGS(8), + MICROSOFT_GRAPH_ALERT_SETTINGS(9), + MICROSOFT_SECURITY_CENTER_ALERT_SETTINGS(10), + MIMECAST_MAIL_SETTINGS(11), + OFFICE365_SETTINGS(12), + PROOFPOINT_MAIL_SETTINGS(13), + RECORDED_FUTURE_IOC_SETTINGS(14), + WORKDAY_SETTINGS(15), + PAN_IOC_SETTINGS(16), + OKTA_SETTINGS(17), + OKTA_USER_CONTEXT_SETTINGS(18), + FOX_IT_STIX_SETTINGS(19), + THREAT_CONNECT_IOC_SETTINGS(20), + SERVICE_NOW_CMDB_SETTINGS(21), + IMPERVA_WAF_SETTINGS(22), + THINKST_CANARY_SETTINGS(23), + RH_ISAC_IOC_SETTINGS(24), + RAPID7_INSIGHT_SETTINGS(25), + SALESFORCE_SETTINGS(26), + NETSKOPE_ALERT_SETTINGS(27), + AZURE_MDM_INTUNE_SETTINGS(28), + AZURE_AD_SETTINGS(29), + PROOFPOINT_ON_DEMAND_SETTINGS(30), + WORKSPACE_USERS_SETTINGS(31), + WORKSPACE_ACTIVITY_SETTINGS(32), + WORKSPACE_ALERTS_SETTINGS(33), + WORKSPACE_PRIVILEGES_SETTINGS(34), + WORKSPACE_MOBILE_SETTINGS(35), + WORKSPACE_CHROME_OS_SETTINGS(36), + WORKSPACE_GROUPS_SETTINGS(37), + AZURE_AD_AUDIT_SETTINGS(38), + SYMANTEC_EVENT_EXPORT_SETTINGS(39), + QUALYS_VM_SETTINGS(40), + PAN_PRISMA_CLOUD_SETTINGS(41), + GCS_SETTINGS(42), + HTTP_SETTINGS(43), + SFTP_SETTINGS(44), + AMAZON_S3_SETTINGS(45), + AZURE_BLOB_STORE_SETTINGS(46), + AMAZON_SQS_SETTINGS(47), + GOOGLE_CLOUD_IDENTITY_DEVICES_SETTINGS(48), + GOOGLE_CLOUD_IDENTITY_DEVICE_USERS_SETTINGS(49), + CROWDSTRIKE_DETECTS_SETTINGS(50), + MANDIANT_IOC_SETTINGS(53), + SENTINELONE_ALERT_SETTINGS(54), + QUALYS_SCAN_SETTINGS(55), + PUBSUB_SETTINGS(56), + AMAZON_KINESIS_FIREHOSE_SETTINGS(57), + WEBHOOK_SETTINGS(58), + DUMMY_LOG_TYPE_SETTINGS(59), + HTTPS_PUSH_GOOGLE_CLOUD_PUBSUB_SETTINGS(60), + HTTPS_PUSH_AMAZON_KINESIS_FIREHOSE_SETTINGS(61), + HTTPS_PUSH_WEBHOOK_SETTINGS(62), + AWS_EC2_HOSTS_SETTINGS(63), + AWS_EC2_INSTANCES_SETTINGS(64), + AWS_EC2_VPCS_SETTINGS(65), + AWS_IAM_SETTINGS(66), + NETSKOPE_ALERT_V2_SETTINGS(70), + GCS_V2_SETTINGS(71), + AMAZON_S3_V2_SETTINGS(72), + AMAZON_SQS_V2_SETTINGS(73), + AZURE_EVENT_HUB_SETTINGS(74), + TRELLIX_HX_HOSTS_SETTINGS(75), + AZURE_BLOB_STORE_V2_SETTINGS(76), + TRELLIX_HX_ALERTS_SETTINGS(77), + GOOGLE_CLOUD_STORAGE_EVENT_DRIVEN_SETTINGS(78), + CROWDSTRIKE_ALERTS_SETTINGS(79), + TRELLIX_HX_BULK_ACQS_SETTINGS(80), + MIMECAST_MAIL_V2_SETTINGS(82), + THREAT_CONNECT_IOC_V3_SETTINGS(83), + CUSTOM_API_SETTINGS(85), + DETAILS_NOT_SET(0); + private final int value; + + private DetailsCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static DetailsCase valueOf(int value) { + return forNumber(value); + } + + public static DetailsCase forNumber(int value) { + switch (value) { + case 3: + return ANOMALI_SETTINGS; + case 4: + return AZURE_AD_CONTEXT_SETTINGS; + case 5: + return CLOUD_PASSAGE_SETTINGS; + case 6: + return CORTEX_XDR_SETTINGS; + case 7: + return DUO_AUTH_SETTINGS; + case 8: + return DUO_USER_CONTEXT_SETTINGS; + case 9: + return MICROSOFT_GRAPH_ALERT_SETTINGS; + case 10: + return MICROSOFT_SECURITY_CENTER_ALERT_SETTINGS; + case 11: + return MIMECAST_MAIL_SETTINGS; + case 12: + return OFFICE365_SETTINGS; + case 13: + return PROOFPOINT_MAIL_SETTINGS; + case 14: + return RECORDED_FUTURE_IOC_SETTINGS; + case 15: + return WORKDAY_SETTINGS; + case 16: + return PAN_IOC_SETTINGS; + case 17: + return OKTA_SETTINGS; + case 18: + return OKTA_USER_CONTEXT_SETTINGS; + case 19: + return FOX_IT_STIX_SETTINGS; + case 20: + return THREAT_CONNECT_IOC_SETTINGS; + case 21: + return SERVICE_NOW_CMDB_SETTINGS; + case 22: + return IMPERVA_WAF_SETTINGS; + case 23: + return THINKST_CANARY_SETTINGS; + case 24: + return RH_ISAC_IOC_SETTINGS; + case 25: + return RAPID7_INSIGHT_SETTINGS; + case 26: + return SALESFORCE_SETTINGS; + case 27: + return NETSKOPE_ALERT_SETTINGS; + case 28: + return AZURE_MDM_INTUNE_SETTINGS; + case 29: + return AZURE_AD_SETTINGS; + case 30: + return PROOFPOINT_ON_DEMAND_SETTINGS; + case 31: + return WORKSPACE_USERS_SETTINGS; + case 32: + return WORKSPACE_ACTIVITY_SETTINGS; + case 33: + return WORKSPACE_ALERTS_SETTINGS; + case 34: + return WORKSPACE_PRIVILEGES_SETTINGS; + case 35: + return WORKSPACE_MOBILE_SETTINGS; + case 36: + return WORKSPACE_CHROME_OS_SETTINGS; + case 37: + return WORKSPACE_GROUPS_SETTINGS; + case 38: + return AZURE_AD_AUDIT_SETTINGS; + case 39: + return SYMANTEC_EVENT_EXPORT_SETTINGS; + case 40: + return QUALYS_VM_SETTINGS; + case 41: + return PAN_PRISMA_CLOUD_SETTINGS; + case 42: + return GCS_SETTINGS; + case 43: + return HTTP_SETTINGS; + case 44: + return SFTP_SETTINGS; + case 45: + return AMAZON_S3_SETTINGS; + case 46: + return AZURE_BLOB_STORE_SETTINGS; + case 47: + return AMAZON_SQS_SETTINGS; + case 48: + return GOOGLE_CLOUD_IDENTITY_DEVICES_SETTINGS; + case 49: + return GOOGLE_CLOUD_IDENTITY_DEVICE_USERS_SETTINGS; + case 50: + return CROWDSTRIKE_DETECTS_SETTINGS; + case 53: + return MANDIANT_IOC_SETTINGS; + case 54: + return SENTINELONE_ALERT_SETTINGS; + case 55: + return QUALYS_SCAN_SETTINGS; + case 56: + return PUBSUB_SETTINGS; + case 57: + return AMAZON_KINESIS_FIREHOSE_SETTINGS; + case 58: + return WEBHOOK_SETTINGS; + case 59: + return DUMMY_LOG_TYPE_SETTINGS; + case 60: + return HTTPS_PUSH_GOOGLE_CLOUD_PUBSUB_SETTINGS; + case 61: + return HTTPS_PUSH_AMAZON_KINESIS_FIREHOSE_SETTINGS; + case 62: + return HTTPS_PUSH_WEBHOOK_SETTINGS; + case 63: + return AWS_EC2_HOSTS_SETTINGS; + case 64: + return AWS_EC2_INSTANCES_SETTINGS; + case 65: + return AWS_EC2_VPCS_SETTINGS; + case 66: + return AWS_IAM_SETTINGS; + case 70: + return NETSKOPE_ALERT_V2_SETTINGS; + case 71: + return GCS_V2_SETTINGS; + case 72: + return AMAZON_S3_V2_SETTINGS; + case 73: + return AMAZON_SQS_V2_SETTINGS; + case 74: + return AZURE_EVENT_HUB_SETTINGS; + case 75: + return TRELLIX_HX_HOSTS_SETTINGS; + case 76: + return AZURE_BLOB_STORE_V2_SETTINGS; + case 77: + return TRELLIX_HX_ALERTS_SETTINGS; + case 78: + return GOOGLE_CLOUD_STORAGE_EVENT_DRIVEN_SETTINGS; + case 79: + return CROWDSTRIKE_ALERTS_SETTINGS; + case 80: + return TRELLIX_HX_BULK_ACQS_SETTINGS; + case 82: + return MIMECAST_MAIL_V2_SETTINGS; + case 83: + return THREAT_CONNECT_IOC_V3_SETTINGS; + case 85: + return CUSTOM_API_SETTINGS; + case 0: + return DETAILS_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public DetailsCase getDetailsCase() { + return DetailsCase.forNumber(detailsCase_); + } + + public static final int ANOMALI_SETTINGS_FIELD_NUMBER = 3; + + /** + * + * + *
+   * Anomali IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AnomaliIocSettings anomali_settings = 3; + * + * @return Whether the anomaliSettings field is set. + */ + @java.lang.Override + public boolean hasAnomaliSettings() { + return detailsCase_ == 3; + } + + /** + * + * + *
+   * Anomali IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AnomaliIocSettings anomali_settings = 3; + * + * @return The anomaliSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AnomaliIocSettings getAnomaliSettings() { + if (detailsCase_ == 3) { + return (com.google.cloud.chronicle.v1.AnomaliIocSettings) details_; + } + return com.google.cloud.chronicle.v1.AnomaliIocSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Anomali IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AnomaliIocSettings anomali_settings = 3; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AnomaliIocSettingsOrBuilder getAnomaliSettingsOrBuilder() { + if (detailsCase_ == 3) { + return (com.google.cloud.chronicle.v1.AnomaliIocSettings) details_; + } + return com.google.cloud.chronicle.v1.AnomaliIocSettings.getDefaultInstance(); + } + + public static final int AZURE_AD_CONTEXT_SETTINGS_FIELD_NUMBER = 4; + + /** + * + * + *
+   * Azure AD Context settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureADContextSettings azure_ad_context_settings = 4; + * + * @return Whether the azureAdContextSettings field is set. + */ + @java.lang.Override + public boolean hasAzureAdContextSettings() { + return detailsCase_ == 4; + } + + /** + * + * + *
+   * Azure AD Context settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureADContextSettings azure_ad_context_settings = 4; + * + * @return The azureAdContextSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureADContextSettings getAzureAdContextSettings() { + if (detailsCase_ == 4) { + return (com.google.cloud.chronicle.v1.AzureADContextSettings) details_; + } + return com.google.cloud.chronicle.v1.AzureADContextSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Azure AD Context settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureADContextSettings azure_ad_context_settings = 4; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureADContextSettingsOrBuilder + getAzureAdContextSettingsOrBuilder() { + if (detailsCase_ == 4) { + return (com.google.cloud.chronicle.v1.AzureADContextSettings) details_; + } + return com.google.cloud.chronicle.v1.AzureADContextSettings.getDefaultInstance(); + } + + public static final int CLOUD_PASSAGE_SETTINGS_FIELD_NUMBER = 5; + + /** + * + * + *
+   * Cloud Passage settings.
+   * 
+ * + * .google.cloud.chronicle.v1.CloudPassageSettings cloud_passage_settings = 5; + * + * @return Whether the cloudPassageSettings field is set. + */ + @java.lang.Override + public boolean hasCloudPassageSettings() { + return detailsCase_ == 5; + } + + /** + * + * + *
+   * Cloud Passage settings.
+   * 
+ * + * .google.cloud.chronicle.v1.CloudPassageSettings cloud_passage_settings = 5; + * + * @return The cloudPassageSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CloudPassageSettings getCloudPassageSettings() { + if (detailsCase_ == 5) { + return (com.google.cloud.chronicle.v1.CloudPassageSettings) details_; + } + return com.google.cloud.chronicle.v1.CloudPassageSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Cloud Passage settings.
+   * 
+ * + * .google.cloud.chronicle.v1.CloudPassageSettings cloud_passage_settings = 5; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CloudPassageSettingsOrBuilder + getCloudPassageSettingsOrBuilder() { + if (detailsCase_ == 5) { + return (com.google.cloud.chronicle.v1.CloudPassageSettings) details_; + } + return com.google.cloud.chronicle.v1.CloudPassageSettings.getDefaultInstance(); + } + + public static final int CORTEX_XDR_SETTINGS_FIELD_NUMBER = 6; + + /** + * + * + *
+   * Cortex XDR settings.
+   * 
+ * + * .google.cloud.chronicle.v1.CortexXDRSettings cortex_xdr_settings = 6; + * + * @return Whether the cortexXdrSettings field is set. + */ + @java.lang.Override + public boolean hasCortexXdrSettings() { + return detailsCase_ == 6; + } + + /** + * + * + *
+   * Cortex XDR settings.
+   * 
+ * + * .google.cloud.chronicle.v1.CortexXDRSettings cortex_xdr_settings = 6; + * + * @return The cortexXdrSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CortexXDRSettings getCortexXdrSettings() { + if (detailsCase_ == 6) { + return (com.google.cloud.chronicle.v1.CortexXDRSettings) details_; + } + return com.google.cloud.chronicle.v1.CortexXDRSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Cortex XDR settings.
+   * 
+ * + * .google.cloud.chronicle.v1.CortexXDRSettings cortex_xdr_settings = 6; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CortexXDRSettingsOrBuilder getCortexXdrSettingsOrBuilder() { + if (detailsCase_ == 6) { + return (com.google.cloud.chronicle.v1.CortexXDRSettings) details_; + } + return com.google.cloud.chronicle.v1.CortexXDRSettings.getDefaultInstance(); + } + + public static final int DUO_AUTH_SETTINGS_FIELD_NUMBER = 7; + + /** + * + * + *
+   * Duo Auth settings.
+   * 
+ * + * .google.cloud.chronicle.v1.DuoAuthSettings duo_auth_settings = 7; + * + * @return Whether the duoAuthSettings field is set. + */ + @java.lang.Override + public boolean hasDuoAuthSettings() { + return detailsCase_ == 7; + } + + /** + * + * + *
+   * Duo Auth settings.
+   * 
+ * + * .google.cloud.chronicle.v1.DuoAuthSettings duo_auth_settings = 7; + * + * @return The duoAuthSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.DuoAuthSettings getDuoAuthSettings() { + if (detailsCase_ == 7) { + return (com.google.cloud.chronicle.v1.DuoAuthSettings) details_; + } + return com.google.cloud.chronicle.v1.DuoAuthSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Duo Auth settings.
+   * 
+ * + * .google.cloud.chronicle.v1.DuoAuthSettings duo_auth_settings = 7; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.DuoAuthSettingsOrBuilder getDuoAuthSettingsOrBuilder() { + if (detailsCase_ == 7) { + return (com.google.cloud.chronicle.v1.DuoAuthSettings) details_; + } + return com.google.cloud.chronicle.v1.DuoAuthSettings.getDefaultInstance(); + } + + public static final int DUO_USER_CONTEXT_SETTINGS_FIELD_NUMBER = 8; + + /** + * + * + *
+   * Duo User Context settings.
+   * 
+ * + * .google.cloud.chronicle.v1.DuoUserContextSettings duo_user_context_settings = 8; + * + * @return Whether the duoUserContextSettings field is set. + */ + @java.lang.Override + public boolean hasDuoUserContextSettings() { + return detailsCase_ == 8; + } + + /** + * + * + *
+   * Duo User Context settings.
+   * 
+ * + * .google.cloud.chronicle.v1.DuoUserContextSettings duo_user_context_settings = 8; + * + * @return The duoUserContextSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.DuoUserContextSettings getDuoUserContextSettings() { + if (detailsCase_ == 8) { + return (com.google.cloud.chronicle.v1.DuoUserContextSettings) details_; + } + return com.google.cloud.chronicle.v1.DuoUserContextSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Duo User Context settings.
+   * 
+ * + * .google.cloud.chronicle.v1.DuoUserContextSettings duo_user_context_settings = 8; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.DuoUserContextSettingsOrBuilder + getDuoUserContextSettingsOrBuilder() { + if (detailsCase_ == 8) { + return (com.google.cloud.chronicle.v1.DuoUserContextSettings) details_; + } + return com.google.cloud.chronicle.v1.DuoUserContextSettings.getDefaultInstance(); + } + + public static final int MICROSOFT_GRAPH_ALERT_SETTINGS_FIELD_NUMBER = 9; + + /** + * + * + *
+   * Microsoft Graph Alert settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftGraphAlertSettings microsoft_graph_alert_settings = 9; + * + * + * @return Whether the microsoftGraphAlertSettings field is set. + */ + @java.lang.Override + public boolean hasMicrosoftGraphAlertSettings() { + return detailsCase_ == 9; + } + + /** + * + * + *
+   * Microsoft Graph Alert settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftGraphAlertSettings microsoft_graph_alert_settings = 9; + * + * + * @return The microsoftGraphAlertSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings + getMicrosoftGraphAlertSettings() { + if (detailsCase_ == 9) { + return (com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings) details_; + } + return com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Microsoft Graph Alert settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftGraphAlertSettings microsoft_graph_alert_settings = 9; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettingsOrBuilder + getMicrosoftGraphAlertSettingsOrBuilder() { + if (detailsCase_ == 9) { + return (com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings) details_; + } + return com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings.getDefaultInstance(); + } + + public static final int MICROSOFT_SECURITY_CENTER_ALERT_SETTINGS_FIELD_NUMBER = 10; + + /** + * + * + *
+   * Microsoft Security center alert settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings microsoft_security_center_alert_settings = 10; + * + * + * @return Whether the microsoftSecurityCenterAlertSettings field is set. + */ + @java.lang.Override + public boolean hasMicrosoftSecurityCenterAlertSettings() { + return detailsCase_ == 10; + } + + /** + * + * + *
+   * Microsoft Security center alert settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings microsoft_security_center_alert_settings = 10; + * + * + * @return The microsoftSecurityCenterAlertSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings + getMicrosoftSecurityCenterAlertSettings() { + if (detailsCase_ == 10) { + return (com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings) details_; + } + return com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Microsoft Security center alert settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings microsoft_security_center_alert_settings = 10; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettingsOrBuilder + getMicrosoftSecurityCenterAlertSettingsOrBuilder() { + if (detailsCase_ == 10) { + return (com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings) details_; + } + return com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings.getDefaultInstance(); + } + + public static final int MIMECAST_MAIL_SETTINGS_FIELD_NUMBER = 11; + + /** + * + * + *
+   * Mimecast mail settings.
+   * 
+ * + * .google.cloud.chronicle.v1.MimecastMailSettings mimecast_mail_settings = 11; + * + * @return Whether the mimecastMailSettings field is set. + */ + @java.lang.Override + public boolean hasMimecastMailSettings() { + return detailsCase_ == 11; + } + + /** + * + * + *
+   * Mimecast mail settings.
+   * 
+ * + * .google.cloud.chronicle.v1.MimecastMailSettings mimecast_mail_settings = 11; + * + * @return The mimecastMailSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MimecastMailSettings getMimecastMailSettings() { + if (detailsCase_ == 11) { + return (com.google.cloud.chronicle.v1.MimecastMailSettings) details_; + } + return com.google.cloud.chronicle.v1.MimecastMailSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Mimecast mail settings.
+   * 
+ * + * .google.cloud.chronicle.v1.MimecastMailSettings mimecast_mail_settings = 11; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MimecastMailSettingsOrBuilder + getMimecastMailSettingsOrBuilder() { + if (detailsCase_ == 11) { + return (com.google.cloud.chronicle.v1.MimecastMailSettings) details_; + } + return com.google.cloud.chronicle.v1.MimecastMailSettings.getDefaultInstance(); + } + + public static final int OFFICE365_SETTINGS_FIELD_NUMBER = 12; + + /** + * + * + *
+   * Office 365 settings.
+   * 
+ * + * .google.cloud.chronicle.v1.Office365Settings office365_settings = 12; + * + * @return Whether the office365Settings field is set. + */ + @java.lang.Override + public boolean hasOffice365Settings() { + return detailsCase_ == 12; + } + + /** + * + * + *
+   * Office 365 settings.
+   * 
+ * + * .google.cloud.chronicle.v1.Office365Settings office365_settings = 12; + * + * @return The office365Settings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.Office365Settings getOffice365Settings() { + if (detailsCase_ == 12) { + return (com.google.cloud.chronicle.v1.Office365Settings) details_; + } + return com.google.cloud.chronicle.v1.Office365Settings.getDefaultInstance(); + } + + /** + * + * + *
+   * Office 365 settings.
+   * 
+ * + * .google.cloud.chronicle.v1.Office365Settings office365_settings = 12; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.Office365SettingsOrBuilder getOffice365SettingsOrBuilder() { + if (detailsCase_ == 12) { + return (com.google.cloud.chronicle.v1.Office365Settings) details_; + } + return com.google.cloud.chronicle.v1.Office365Settings.getDefaultInstance(); + } + + public static final int PROOFPOINT_MAIL_SETTINGS_FIELD_NUMBER = 13; + + /** + * + * + *
+   * Proofpoint mail settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ProofpointMailSettings proofpoint_mail_settings = 13; + * + * @return Whether the proofpointMailSettings field is set. + */ + @java.lang.Override + public boolean hasProofpointMailSettings() { + return detailsCase_ == 13; + } + + /** + * + * + *
+   * Proofpoint mail settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ProofpointMailSettings proofpoint_mail_settings = 13; + * + * @return The proofpointMailSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ProofpointMailSettings getProofpointMailSettings() { + if (detailsCase_ == 13) { + return (com.google.cloud.chronicle.v1.ProofpointMailSettings) details_; + } + return com.google.cloud.chronicle.v1.ProofpointMailSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Proofpoint mail settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ProofpointMailSettings proofpoint_mail_settings = 13; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ProofpointMailSettingsOrBuilder + getProofpointMailSettingsOrBuilder() { + if (detailsCase_ == 13) { + return (com.google.cloud.chronicle.v1.ProofpointMailSettings) details_; + } + return com.google.cloud.chronicle.v1.ProofpointMailSettings.getDefaultInstance(); + } + + public static final int RECORDED_FUTURE_IOC_SETTINGS_FIELD_NUMBER = 14; + + /** + * + * + *
+   * Recorded Future IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.RecordedFutureIocSettings recorded_future_ioc_settings = 14; + * + * + * @return Whether the recordedFutureIocSettings field is set. + */ + @java.lang.Override + public boolean hasRecordedFutureIocSettings() { + return detailsCase_ == 14; + } + + /** + * + * + *
+   * Recorded Future IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.RecordedFutureIocSettings recorded_future_ioc_settings = 14; + * + * + * @return The recordedFutureIocSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.RecordedFutureIocSettings getRecordedFutureIocSettings() { + if (detailsCase_ == 14) { + return (com.google.cloud.chronicle.v1.RecordedFutureIocSettings) details_; + } + return com.google.cloud.chronicle.v1.RecordedFutureIocSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Recorded Future IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.RecordedFutureIocSettings recorded_future_ioc_settings = 14; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.RecordedFutureIocSettingsOrBuilder + getRecordedFutureIocSettingsOrBuilder() { + if (detailsCase_ == 14) { + return (com.google.cloud.chronicle.v1.RecordedFutureIocSettings) details_; + } + return com.google.cloud.chronicle.v1.RecordedFutureIocSettings.getDefaultInstance(); + } + + public static final int WORKDAY_SETTINGS_FIELD_NUMBER = 15; + + /** + * + * + *
+   * Workday settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkdaySettings workday_settings = 15; + * + * @return Whether the workdaySettings field is set. + */ + @java.lang.Override + public boolean hasWorkdaySettings() { + return detailsCase_ == 15; + } + + /** + * + * + *
+   * Workday settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkdaySettings workday_settings = 15; + * + * @return The workdaySettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkdaySettings getWorkdaySettings() { + if (detailsCase_ == 15) { + return (com.google.cloud.chronicle.v1.WorkdaySettings) details_; + } + return com.google.cloud.chronicle.v1.WorkdaySettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Workday settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkdaySettings workday_settings = 15; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkdaySettingsOrBuilder getWorkdaySettingsOrBuilder() { + if (detailsCase_ == 15) { + return (com.google.cloud.chronicle.v1.WorkdaySettings) details_; + } + return com.google.cloud.chronicle.v1.WorkdaySettings.getDefaultInstance(); + } + + public static final int PAN_IOC_SETTINGS_FIELD_NUMBER = 16; + + /** + * + * + *
+   * PAN IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.PanIocSettings pan_ioc_settings = 16; + * + * @return Whether the panIocSettings field is set. + */ + @java.lang.Override + public boolean hasPanIocSettings() { + return detailsCase_ == 16; + } + + /** + * + * + *
+   * PAN IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.PanIocSettings pan_ioc_settings = 16; + * + * @return The panIocSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.PanIocSettings getPanIocSettings() { + if (detailsCase_ == 16) { + return (com.google.cloud.chronicle.v1.PanIocSettings) details_; + } + return com.google.cloud.chronicle.v1.PanIocSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * PAN IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.PanIocSettings pan_ioc_settings = 16; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.PanIocSettingsOrBuilder getPanIocSettingsOrBuilder() { + if (detailsCase_ == 16) { + return (com.google.cloud.chronicle.v1.PanIocSettings) details_; + } + return com.google.cloud.chronicle.v1.PanIocSettings.getDefaultInstance(); + } + + public static final int OKTA_SETTINGS_FIELD_NUMBER = 17; + + /** + * + * + *
+   * Okta settings.
+   * 
+ * + * .google.cloud.chronicle.v1.OktaSettings okta_settings = 17; + * + * @return Whether the oktaSettings field is set. + */ + @java.lang.Override + public boolean hasOktaSettings() { + return detailsCase_ == 17; + } + + /** + * + * + *
+   * Okta settings.
+   * 
+ * + * .google.cloud.chronicle.v1.OktaSettings okta_settings = 17; + * + * @return The oktaSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OktaSettings getOktaSettings() { + if (detailsCase_ == 17) { + return (com.google.cloud.chronicle.v1.OktaSettings) details_; + } + return com.google.cloud.chronicle.v1.OktaSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Okta settings.
+   * 
+ * + * .google.cloud.chronicle.v1.OktaSettings okta_settings = 17; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OktaSettingsOrBuilder getOktaSettingsOrBuilder() { + if (detailsCase_ == 17) { + return (com.google.cloud.chronicle.v1.OktaSettings) details_; + } + return com.google.cloud.chronicle.v1.OktaSettings.getDefaultInstance(); + } + + public static final int OKTA_USER_CONTEXT_SETTINGS_FIELD_NUMBER = 18; + + /** + * + * + *
+   * Okta user context settings.
+   * 
+ * + * .google.cloud.chronicle.v1.OktaUserContextSettings okta_user_context_settings = 18; + * + * + * @return Whether the oktaUserContextSettings field is set. + */ + @java.lang.Override + public boolean hasOktaUserContextSettings() { + return detailsCase_ == 18; + } + + /** + * + * + *
+   * Okta user context settings.
+   * 
+ * + * .google.cloud.chronicle.v1.OktaUserContextSettings okta_user_context_settings = 18; + * + * + * @return The oktaUserContextSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OktaUserContextSettings getOktaUserContextSettings() { + if (detailsCase_ == 18) { + return (com.google.cloud.chronicle.v1.OktaUserContextSettings) details_; + } + return com.google.cloud.chronicle.v1.OktaUserContextSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Okta user context settings.
+   * 
+ * + * .google.cloud.chronicle.v1.OktaUserContextSettings okta_user_context_settings = 18; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OktaUserContextSettingsOrBuilder + getOktaUserContextSettingsOrBuilder() { + if (detailsCase_ == 18) { + return (com.google.cloud.chronicle.v1.OktaUserContextSettings) details_; + } + return com.google.cloud.chronicle.v1.OktaUserContextSettings.getDefaultInstance(); + } + + public static final int FOX_IT_STIX_SETTINGS_FIELD_NUMBER = 19; + + /** + * + * + *
+   * Fox-IT STIX settings.
+   * 
+ * + * .google.cloud.chronicle.v1.FoxITStixSettings fox_it_stix_settings = 19; + * + * @return Whether the foxItStixSettings field is set. + */ + @java.lang.Override + public boolean hasFoxItStixSettings() { + return detailsCase_ == 19; + } + + /** + * + * + *
+   * Fox-IT STIX settings.
+   * 
+ * + * .google.cloud.chronicle.v1.FoxITStixSettings fox_it_stix_settings = 19; + * + * @return The foxItStixSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.FoxITStixSettings getFoxItStixSettings() { + if (detailsCase_ == 19) { + return (com.google.cloud.chronicle.v1.FoxITStixSettings) details_; + } + return com.google.cloud.chronicle.v1.FoxITStixSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Fox-IT STIX settings.
+   * 
+ * + * .google.cloud.chronicle.v1.FoxITStixSettings fox_it_stix_settings = 19; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.FoxITStixSettingsOrBuilder getFoxItStixSettingsOrBuilder() { + if (detailsCase_ == 19) { + return (com.google.cloud.chronicle.v1.FoxITStixSettings) details_; + } + return com.google.cloud.chronicle.v1.FoxITStixSettings.getDefaultInstance(); + } + + public static final int THREAT_CONNECT_IOC_SETTINGS_FIELD_NUMBER = 20; + + /** + * + * + *
+   * ThreatConnect IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ThreatConnectIoCSettings threat_connect_ioc_settings = 20; + * + * + * @return Whether the threatConnectIocSettings field is set. + */ + @java.lang.Override + public boolean hasThreatConnectIocSettings() { + return detailsCase_ == 20; + } + + /** + * + * + *
+   * ThreatConnect IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ThreatConnectIoCSettings threat_connect_ioc_settings = 20; + * + * + * @return The threatConnectIocSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ThreatConnectIoCSettings getThreatConnectIocSettings() { + if (detailsCase_ == 20) { + return (com.google.cloud.chronicle.v1.ThreatConnectIoCSettings) details_; + } + return com.google.cloud.chronicle.v1.ThreatConnectIoCSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * ThreatConnect IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ThreatConnectIoCSettings threat_connect_ioc_settings = 20; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ThreatConnectIoCSettingsOrBuilder + getThreatConnectIocSettingsOrBuilder() { + if (detailsCase_ == 20) { + return (com.google.cloud.chronicle.v1.ThreatConnectIoCSettings) details_; + } + return com.google.cloud.chronicle.v1.ThreatConnectIoCSettings.getDefaultInstance(); + } + + public static final int SERVICE_NOW_CMDB_SETTINGS_FIELD_NUMBER = 21; + + /** + * + * + *
+   * ServiceNow CMDB settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ServiceNowCMDBSettings service_now_cmdb_settings = 21; + * + * @return Whether the serviceNowCmdbSettings field is set. + */ + @java.lang.Override + public boolean hasServiceNowCmdbSettings() { + return detailsCase_ == 21; + } + + /** + * + * + *
+   * ServiceNow CMDB settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ServiceNowCMDBSettings service_now_cmdb_settings = 21; + * + * @return The serviceNowCmdbSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ServiceNowCMDBSettings getServiceNowCmdbSettings() { + if (detailsCase_ == 21) { + return (com.google.cloud.chronicle.v1.ServiceNowCMDBSettings) details_; + } + return com.google.cloud.chronicle.v1.ServiceNowCMDBSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * ServiceNow CMDB settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ServiceNowCMDBSettings service_now_cmdb_settings = 21; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ServiceNowCMDBSettingsOrBuilder + getServiceNowCmdbSettingsOrBuilder() { + if (detailsCase_ == 21) { + return (com.google.cloud.chronicle.v1.ServiceNowCMDBSettings) details_; + } + return com.google.cloud.chronicle.v1.ServiceNowCMDBSettings.getDefaultInstance(); + } + + public static final int IMPERVA_WAF_SETTINGS_FIELD_NUMBER = 22; + + /** + * + * + *
+   * Imperva WAF settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ImpervaWAFSettings imperva_waf_settings = 22; + * + * @return Whether the impervaWafSettings field is set. + */ + @java.lang.Override + public boolean hasImpervaWafSettings() { + return detailsCase_ == 22; + } + + /** + * + * + *
+   * Imperva WAF settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ImpervaWAFSettings imperva_waf_settings = 22; + * + * @return The impervaWafSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ImpervaWAFSettings getImpervaWafSettings() { + if (detailsCase_ == 22) { + return (com.google.cloud.chronicle.v1.ImpervaWAFSettings) details_; + } + return com.google.cloud.chronicle.v1.ImpervaWAFSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Imperva WAF settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ImpervaWAFSettings imperva_waf_settings = 22; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ImpervaWAFSettingsOrBuilder + getImpervaWafSettingsOrBuilder() { + if (detailsCase_ == 22) { + return (com.google.cloud.chronicle.v1.ImpervaWAFSettings) details_; + } + return com.google.cloud.chronicle.v1.ImpervaWAFSettings.getDefaultInstance(); + } + + public static final int THINKST_CANARY_SETTINGS_FIELD_NUMBER = 23; + + /** + * + * + *
+   * Thinkst Canary settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ThinkstCanarySettings thinkst_canary_settings = 23; + * + * @return Whether the thinkstCanarySettings field is set. + */ + @java.lang.Override + public boolean hasThinkstCanarySettings() { + return detailsCase_ == 23; + } + + /** + * + * + *
+   * Thinkst Canary settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ThinkstCanarySettings thinkst_canary_settings = 23; + * + * @return The thinkstCanarySettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ThinkstCanarySettings getThinkstCanarySettings() { + if (detailsCase_ == 23) { + return (com.google.cloud.chronicle.v1.ThinkstCanarySettings) details_; + } + return com.google.cloud.chronicle.v1.ThinkstCanarySettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Thinkst Canary settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ThinkstCanarySettings thinkst_canary_settings = 23; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ThinkstCanarySettingsOrBuilder + getThinkstCanarySettingsOrBuilder() { + if (detailsCase_ == 23) { + return (com.google.cloud.chronicle.v1.ThinkstCanarySettings) details_; + } + return com.google.cloud.chronicle.v1.ThinkstCanarySettings.getDefaultInstance(); + } + + public static final int RH_ISAC_IOC_SETTINGS_FIELD_NUMBER = 24; + + /** + * + * + *
+   * RH-ISAC IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.RHIsacIocSettings rh_isac_ioc_settings = 24; + * + * @return Whether the rhIsacIocSettings field is set. + */ + @java.lang.Override + public boolean hasRhIsacIocSettings() { + return detailsCase_ == 24; + } + + /** + * + * + *
+   * RH-ISAC IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.RHIsacIocSettings rh_isac_ioc_settings = 24; + * + * @return The rhIsacIocSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.RHIsacIocSettings getRhIsacIocSettings() { + if (detailsCase_ == 24) { + return (com.google.cloud.chronicle.v1.RHIsacIocSettings) details_; + } + return com.google.cloud.chronicle.v1.RHIsacIocSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * RH-ISAC IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.RHIsacIocSettings rh_isac_ioc_settings = 24; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.RHIsacIocSettingsOrBuilder getRhIsacIocSettingsOrBuilder() { + if (detailsCase_ == 24) { + return (com.google.cloud.chronicle.v1.RHIsacIocSettings) details_; + } + return com.google.cloud.chronicle.v1.RHIsacIocSettings.getDefaultInstance(); + } + + public static final int RAPID7_INSIGHT_SETTINGS_FIELD_NUMBER = 25; + + /** + * + * + *
+   * Rapid7 Insight settings.
+   * 
+ * + * .google.cloud.chronicle.v1.Rapid7InsightSettings rapid7_insight_settings = 25; + * + * @return Whether the rapid7InsightSettings field is set. + */ + @java.lang.Override + public boolean hasRapid7InsightSettings() { + return detailsCase_ == 25; + } + + /** + * + * + *
+   * Rapid7 Insight settings.
+   * 
+ * + * .google.cloud.chronicle.v1.Rapid7InsightSettings rapid7_insight_settings = 25; + * + * @return The rapid7InsightSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.Rapid7InsightSettings getRapid7InsightSettings() { + if (detailsCase_ == 25) { + return (com.google.cloud.chronicle.v1.Rapid7InsightSettings) details_; + } + return com.google.cloud.chronicle.v1.Rapid7InsightSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Rapid7 Insight settings.
+   * 
+ * + * .google.cloud.chronicle.v1.Rapid7InsightSettings rapid7_insight_settings = 25; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.Rapid7InsightSettingsOrBuilder + getRapid7InsightSettingsOrBuilder() { + if (detailsCase_ == 25) { + return (com.google.cloud.chronicle.v1.Rapid7InsightSettings) details_; + } + return com.google.cloud.chronicle.v1.Rapid7InsightSettings.getDefaultInstance(); + } + + public static final int SALESFORCE_SETTINGS_FIELD_NUMBER = 26; + + /** + * + * + *
+   * Salesforce settings.
+   * 
+ * + * .google.cloud.chronicle.v1.SalesforceSettings salesforce_settings = 26; + * + * @return Whether the salesforceSettings field is set. + */ + @java.lang.Override + public boolean hasSalesforceSettings() { + return detailsCase_ == 26; + } + + /** + * + * + *
+   * Salesforce settings.
+   * 
+ * + * .google.cloud.chronicle.v1.SalesforceSettings salesforce_settings = 26; + * + * @return The salesforceSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SalesforceSettings getSalesforceSettings() { + if (detailsCase_ == 26) { + return (com.google.cloud.chronicle.v1.SalesforceSettings) details_; + } + return com.google.cloud.chronicle.v1.SalesforceSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Salesforce settings.
+   * 
+ * + * .google.cloud.chronicle.v1.SalesforceSettings salesforce_settings = 26; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SalesforceSettingsOrBuilder + getSalesforceSettingsOrBuilder() { + if (detailsCase_ == 26) { + return (com.google.cloud.chronicle.v1.SalesforceSettings) details_; + } + return com.google.cloud.chronicle.v1.SalesforceSettings.getDefaultInstance(); + } + + public static final int NETSKOPE_ALERT_SETTINGS_FIELD_NUMBER = 27; + + /** + * + * + *
+   * Netskope alert settings.
+   * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertSettings netskope_alert_settings = 27; + * + * @return Whether the netskopeAlertSettings field is set. + */ + @java.lang.Override + public boolean hasNetskopeAlertSettings() { + return detailsCase_ == 27; + } + + /** + * + * + *
+   * Netskope alert settings.
+   * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertSettings netskope_alert_settings = 27; + * + * @return The netskopeAlertSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.NetskopeAlertSettings getNetskopeAlertSettings() { + if (detailsCase_ == 27) { + return (com.google.cloud.chronicle.v1.NetskopeAlertSettings) details_; + } + return com.google.cloud.chronicle.v1.NetskopeAlertSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Netskope alert settings.
+   * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertSettings netskope_alert_settings = 27; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.NetskopeAlertSettingsOrBuilder + getNetskopeAlertSettingsOrBuilder() { + if (detailsCase_ == 27) { + return (com.google.cloud.chronicle.v1.NetskopeAlertSettings) details_; + } + return com.google.cloud.chronicle.v1.NetskopeAlertSettings.getDefaultInstance(); + } + + public static final int AZURE_MDM_INTUNE_SETTINGS_FIELD_NUMBER = 28; + + /** + * + * + *
+   * Azure MDM Intune settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureMDMIntuneSettings azure_mdm_intune_settings = 28; + * + * @return Whether the azureMdmIntuneSettings field is set. + */ + @java.lang.Override + public boolean hasAzureMdmIntuneSettings() { + return detailsCase_ == 28; + } + + /** + * + * + *
+   * Azure MDM Intune settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureMDMIntuneSettings azure_mdm_intune_settings = 28; + * + * @return The azureMdmIntuneSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureMDMIntuneSettings getAzureMdmIntuneSettings() { + if (detailsCase_ == 28) { + return (com.google.cloud.chronicle.v1.AzureMDMIntuneSettings) details_; + } + return com.google.cloud.chronicle.v1.AzureMDMIntuneSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Azure MDM Intune settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureMDMIntuneSettings azure_mdm_intune_settings = 28; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureMDMIntuneSettingsOrBuilder + getAzureMdmIntuneSettingsOrBuilder() { + if (detailsCase_ == 28) { + return (com.google.cloud.chronicle.v1.AzureMDMIntuneSettings) details_; + } + return com.google.cloud.chronicle.v1.AzureMDMIntuneSettings.getDefaultInstance(); + } + + public static final int AZURE_AD_SETTINGS_FIELD_NUMBER = 29; + + /** + * + * + *
+   * Azure AD settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureADSettings azure_ad_settings = 29; + * + * @return Whether the azureAdSettings field is set. + */ + @java.lang.Override + public boolean hasAzureAdSettings() { + return detailsCase_ == 29; + } + + /** + * + * + *
+   * Azure AD settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureADSettings azure_ad_settings = 29; + * + * @return The azureAdSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureADSettings getAzureAdSettings() { + if (detailsCase_ == 29) { + return (com.google.cloud.chronicle.v1.AzureADSettings) details_; + } + return com.google.cloud.chronicle.v1.AzureADSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Azure AD settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureADSettings azure_ad_settings = 29; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureADSettingsOrBuilder getAzureAdSettingsOrBuilder() { + if (detailsCase_ == 29) { + return (com.google.cloud.chronicle.v1.AzureADSettings) details_; + } + return com.google.cloud.chronicle.v1.AzureADSettings.getDefaultInstance(); + } + + public static final int PROOFPOINT_ON_DEMAND_SETTINGS_FIELD_NUMBER = 30; + + /** + * + * + *
+   * Proofpoint On-Demand settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ProofpointOnDemandSettings proofpoint_on_demand_settings = 30; + * + * + * @return Whether the proofpointOnDemandSettings field is set. + */ + @java.lang.Override + public boolean hasProofpointOnDemandSettings() { + return detailsCase_ == 30; + } + + /** + * + * + *
+   * Proofpoint On-Demand settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ProofpointOnDemandSettings proofpoint_on_demand_settings = 30; + * + * + * @return The proofpointOnDemandSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ProofpointOnDemandSettings getProofpointOnDemandSettings() { + if (detailsCase_ == 30) { + return (com.google.cloud.chronicle.v1.ProofpointOnDemandSettings) details_; + } + return com.google.cloud.chronicle.v1.ProofpointOnDemandSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Proofpoint On-Demand settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ProofpointOnDemandSettings proofpoint_on_demand_settings = 30; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ProofpointOnDemandSettingsOrBuilder + getProofpointOnDemandSettingsOrBuilder() { + if (detailsCase_ == 30) { + return (com.google.cloud.chronicle.v1.ProofpointOnDemandSettings) details_; + } + return com.google.cloud.chronicle.v1.ProofpointOnDemandSettings.getDefaultInstance(); + } + + public static final int WORKSPACE_USERS_SETTINGS_FIELD_NUMBER = 31; + + /** + * + * + *
+   * Workspace users settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceUsersSettings workspace_users_settings = 31; + * + * @return Whether the workspaceUsersSettings field is set. + */ + @java.lang.Override + public boolean hasWorkspaceUsersSettings() { + return detailsCase_ == 31; + } + + /** + * + * + *
+   * Workspace users settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceUsersSettings workspace_users_settings = 31; + * + * @return The workspaceUsersSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceUsersSettings getWorkspaceUsersSettings() { + if (detailsCase_ == 31) { + return (com.google.cloud.chronicle.v1.WorkspaceUsersSettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspaceUsersSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Workspace users settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceUsersSettings workspace_users_settings = 31; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceUsersSettingsOrBuilder + getWorkspaceUsersSettingsOrBuilder() { + if (detailsCase_ == 31) { + return (com.google.cloud.chronicle.v1.WorkspaceUsersSettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspaceUsersSettings.getDefaultInstance(); + } + + public static final int WORKSPACE_ACTIVITY_SETTINGS_FIELD_NUMBER = 32; + + /** + * + * + *
+   * Workspace activity settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceActivitySettings workspace_activity_settings = 32; + * + * + * @return Whether the workspaceActivitySettings field is set. + */ + @java.lang.Override + public boolean hasWorkspaceActivitySettings() { + return detailsCase_ == 32; + } + + /** + * + * + *
+   * Workspace activity settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceActivitySettings workspace_activity_settings = 32; + * + * + * @return The workspaceActivitySettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceActivitySettings getWorkspaceActivitySettings() { + if (detailsCase_ == 32) { + return (com.google.cloud.chronicle.v1.WorkspaceActivitySettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspaceActivitySettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Workspace activity settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceActivitySettings workspace_activity_settings = 32; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceActivitySettingsOrBuilder + getWorkspaceActivitySettingsOrBuilder() { + if (detailsCase_ == 32) { + return (com.google.cloud.chronicle.v1.WorkspaceActivitySettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspaceActivitySettings.getDefaultInstance(); + } + + public static final int WORKSPACE_ALERTS_SETTINGS_FIELD_NUMBER = 33; + + /** + * + * + *
+   * Workspace alerts settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceAlertsSettings workspace_alerts_settings = 33; + * + * @return Whether the workspaceAlertsSettings field is set. + */ + @java.lang.Override + public boolean hasWorkspaceAlertsSettings() { + return detailsCase_ == 33; + } + + /** + * + * + *
+   * Workspace alerts settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceAlertsSettings workspace_alerts_settings = 33; + * + * @return The workspaceAlertsSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceAlertsSettings getWorkspaceAlertsSettings() { + if (detailsCase_ == 33) { + return (com.google.cloud.chronicle.v1.WorkspaceAlertsSettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspaceAlertsSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Workspace alerts settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceAlertsSettings workspace_alerts_settings = 33; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceAlertsSettingsOrBuilder + getWorkspaceAlertsSettingsOrBuilder() { + if (detailsCase_ == 33) { + return (com.google.cloud.chronicle.v1.WorkspaceAlertsSettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspaceAlertsSettings.getDefaultInstance(); + } + + public static final int WORKSPACE_PRIVILEGES_SETTINGS_FIELD_NUMBER = 34; + + /** + * + * + *
+   * Workspace privileges settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.WorkspacePrivilegesSettings workspace_privileges_settings = 34; + * + * + * @return Whether the workspacePrivilegesSettings field is set. + */ + @java.lang.Override + public boolean hasWorkspacePrivilegesSettings() { + return detailsCase_ == 34; + } + + /** + * + * + *
+   * Workspace privileges settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.WorkspacePrivilegesSettings workspace_privileges_settings = 34; + * + * + * @return The workspacePrivilegesSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings + getWorkspacePrivilegesSettings() { + if (detailsCase_ == 34) { + return (com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Workspace privileges settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.WorkspacePrivilegesSettings workspace_privileges_settings = 34; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspacePrivilegesSettingsOrBuilder + getWorkspacePrivilegesSettingsOrBuilder() { + if (detailsCase_ == 34) { + return (com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings.getDefaultInstance(); + } + + public static final int WORKSPACE_MOBILE_SETTINGS_FIELD_NUMBER = 35; + + /** + * + * + *
+   * Workspace mobile settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceMobileSettings workspace_mobile_settings = 35; + * + * @return Whether the workspaceMobileSettings field is set. + */ + @java.lang.Override + public boolean hasWorkspaceMobileSettings() { + return detailsCase_ == 35; + } + + /** + * + * + *
+   * Workspace mobile settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceMobileSettings workspace_mobile_settings = 35; + * + * @return The workspaceMobileSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceMobileSettings getWorkspaceMobileSettings() { + if (detailsCase_ == 35) { + return (com.google.cloud.chronicle.v1.WorkspaceMobileSettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspaceMobileSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Workspace mobile settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceMobileSettings workspace_mobile_settings = 35; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceMobileSettingsOrBuilder + getWorkspaceMobileSettingsOrBuilder() { + if (detailsCase_ == 35) { + return (com.google.cloud.chronicle.v1.WorkspaceMobileSettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspaceMobileSettings.getDefaultInstance(); + } + + public static final int WORKSPACE_CHROME_OS_SETTINGS_FIELD_NUMBER = 36; + + /** + * + * + *
+   * Workspace ChromeOS settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceChromeOSSettings workspace_chrome_os_settings = 36; + * + * + * @return Whether the workspaceChromeOsSettings field is set. + */ + @java.lang.Override + public boolean hasWorkspaceChromeOsSettings() { + return detailsCase_ == 36; + } + + /** + * + * + *
+   * Workspace ChromeOS settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceChromeOSSettings workspace_chrome_os_settings = 36; + * + * + * @return The workspaceChromeOsSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings getWorkspaceChromeOsSettings() { + if (detailsCase_ == 36) { + return (com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Workspace ChromeOS settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceChromeOSSettings workspace_chrome_os_settings = 36; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceChromeOSSettingsOrBuilder + getWorkspaceChromeOsSettingsOrBuilder() { + if (detailsCase_ == 36) { + return (com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings.getDefaultInstance(); + } + + public static final int WORKSPACE_GROUPS_SETTINGS_FIELD_NUMBER = 37; + + /** + * + * + *
+   * Workspace Groups settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceGroupsSettings workspace_groups_settings = 37; + * + * @return Whether the workspaceGroupsSettings field is set. + */ + @java.lang.Override + public boolean hasWorkspaceGroupsSettings() { + return detailsCase_ == 37; + } + + /** + * + * + *
+   * Workspace Groups settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceGroupsSettings workspace_groups_settings = 37; + * + * @return The workspaceGroupsSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceGroupsSettings getWorkspaceGroupsSettings() { + if (detailsCase_ == 37) { + return (com.google.cloud.chronicle.v1.WorkspaceGroupsSettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspaceGroupsSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Workspace Groups settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceGroupsSettings workspace_groups_settings = 37; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceGroupsSettingsOrBuilder + getWorkspaceGroupsSettingsOrBuilder() { + if (detailsCase_ == 37) { + return (com.google.cloud.chronicle.v1.WorkspaceGroupsSettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspaceGroupsSettings.getDefaultInstance(); + } + + public static final int AZURE_AD_AUDIT_SETTINGS_FIELD_NUMBER = 38; + + /** + * + * + *
+   * Azure AD Audit settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureADAuditSettings azure_ad_audit_settings = 38; + * + * @return Whether the azureAdAuditSettings field is set. + */ + @java.lang.Override + public boolean hasAzureAdAuditSettings() { + return detailsCase_ == 38; + } + + /** + * + * + *
+   * Azure AD Audit settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureADAuditSettings azure_ad_audit_settings = 38; + * + * @return The azureAdAuditSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureADAuditSettings getAzureAdAuditSettings() { + if (detailsCase_ == 38) { + return (com.google.cloud.chronicle.v1.AzureADAuditSettings) details_; + } + return com.google.cloud.chronicle.v1.AzureADAuditSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Azure AD Audit settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureADAuditSettings azure_ad_audit_settings = 38; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureADAuditSettingsOrBuilder + getAzureAdAuditSettingsOrBuilder() { + if (detailsCase_ == 38) { + return (com.google.cloud.chronicle.v1.AzureADAuditSettings) details_; + } + return com.google.cloud.chronicle.v1.AzureADAuditSettings.getDefaultInstance(); + } + + public static final int SYMANTEC_EVENT_EXPORT_SETTINGS_FIELD_NUMBER = 39; + + /** + * + * + *
+   * Symantec Event Export settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SymantecEventExportSettings symantec_event_export_settings = 39; + * + * + * @return Whether the symantecEventExportSettings field is set. + */ + @java.lang.Override + public boolean hasSymantecEventExportSettings() { + return detailsCase_ == 39; + } + + /** + * + * + *
+   * Symantec Event Export settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SymantecEventExportSettings symantec_event_export_settings = 39; + * + * + * @return The symantecEventExportSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SymantecEventExportSettings + getSymantecEventExportSettings() { + if (detailsCase_ == 39) { + return (com.google.cloud.chronicle.v1.SymantecEventExportSettings) details_; + } + return com.google.cloud.chronicle.v1.SymantecEventExportSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Symantec Event Export settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SymantecEventExportSettings symantec_event_export_settings = 39; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SymantecEventExportSettingsOrBuilder + getSymantecEventExportSettingsOrBuilder() { + if (detailsCase_ == 39) { + return (com.google.cloud.chronicle.v1.SymantecEventExportSettings) details_; + } + return com.google.cloud.chronicle.v1.SymantecEventExportSettings.getDefaultInstance(); + } + + public static final int QUALYS_VM_SETTINGS_FIELD_NUMBER = 40; + + /** + * + * + *
+   * Qualys VM settings
+   * 
+ * + * .google.cloud.chronicle.v1.QualysVMSettings qualys_vm_settings = 40; + * + * @return Whether the qualysVmSettings field is set. + */ + @java.lang.Override + public boolean hasQualysVmSettings() { + return detailsCase_ == 40; + } + + /** + * + * + *
+   * Qualys VM settings
+   * 
+ * + * .google.cloud.chronicle.v1.QualysVMSettings qualys_vm_settings = 40; + * + * @return The qualysVmSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.QualysVMSettings getQualysVmSettings() { + if (detailsCase_ == 40) { + return (com.google.cloud.chronicle.v1.QualysVMSettings) details_; + } + return com.google.cloud.chronicle.v1.QualysVMSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Qualys VM settings
+   * 
+ * + * .google.cloud.chronicle.v1.QualysVMSettings qualys_vm_settings = 40; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.QualysVMSettingsOrBuilder getQualysVmSettingsOrBuilder() { + if (detailsCase_ == 40) { + return (com.google.cloud.chronicle.v1.QualysVMSettings) details_; + } + return com.google.cloud.chronicle.v1.QualysVMSettings.getDefaultInstance(); + } + + public static final int PAN_PRISMA_CLOUD_SETTINGS_FIELD_NUMBER = 41; + + /** + * + * + *
+   * PAN Prisma Cloud settings.
+   * 
+ * + * .google.cloud.chronicle.v1.PanPrismaCloudSettings pan_prisma_cloud_settings = 41; + * + * @return Whether the panPrismaCloudSettings field is set. + */ + @java.lang.Override + public boolean hasPanPrismaCloudSettings() { + return detailsCase_ == 41; + } + + /** + * + * + *
+   * PAN Prisma Cloud settings.
+   * 
+ * + * .google.cloud.chronicle.v1.PanPrismaCloudSettings pan_prisma_cloud_settings = 41; + * + * @return The panPrismaCloudSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.PanPrismaCloudSettings getPanPrismaCloudSettings() { + if (detailsCase_ == 41) { + return (com.google.cloud.chronicle.v1.PanPrismaCloudSettings) details_; + } + return com.google.cloud.chronicle.v1.PanPrismaCloudSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * PAN Prisma Cloud settings.
+   * 
+ * + * .google.cloud.chronicle.v1.PanPrismaCloudSettings pan_prisma_cloud_settings = 41; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.PanPrismaCloudSettingsOrBuilder + getPanPrismaCloudSettingsOrBuilder() { + if (detailsCase_ == 41) { + return (com.google.cloud.chronicle.v1.PanPrismaCloudSettings) details_; + } + return com.google.cloud.chronicle.v1.PanPrismaCloudSettings.getDefaultInstance(); + } + + public static final int GCS_SETTINGS_FIELD_NUMBER = 42; + + /** + * + * + *
+   * Google Cloud Storage settings.
+   * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageSettings gcs_settings = 42; + * + * @return Whether the gcsSettings field is set. + */ + @java.lang.Override + public boolean hasGcsSettings() { + return detailsCase_ == 42; + } + + /** + * + * + *
+   * Google Cloud Storage settings.
+   * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageSettings gcs_settings = 42; + * + * @return The gcsSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudStorageSettings getGcsSettings() { + if (detailsCase_ == 42) { + return (com.google.cloud.chronicle.v1.GoogleCloudStorageSettings) details_; + } + return com.google.cloud.chronicle.v1.GoogleCloudStorageSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Google Cloud Storage settings.
+   * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageSettings gcs_settings = 42; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudStorageSettingsOrBuilder + getGcsSettingsOrBuilder() { + if (detailsCase_ == 42) { + return (com.google.cloud.chronicle.v1.GoogleCloudStorageSettings) details_; + } + return com.google.cloud.chronicle.v1.GoogleCloudStorageSettings.getDefaultInstance(); + } + + public static final int HTTP_SETTINGS_FIELD_NUMBER = 43; + + /** + * + * + *
+   * HTTP settings.
+   * 
+ * + * .google.cloud.chronicle.v1.HttpSettings http_settings = 43; + * + * @return Whether the httpSettings field is set. + */ + @java.lang.Override + public boolean hasHttpSettings() { + return detailsCase_ == 43; + } + + /** + * + * + *
+   * HTTP settings.
+   * 
+ * + * .google.cloud.chronicle.v1.HttpSettings http_settings = 43; + * + * @return The httpSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpSettings getHttpSettings() { + if (detailsCase_ == 43) { + return (com.google.cloud.chronicle.v1.HttpSettings) details_; + } + return com.google.cloud.chronicle.v1.HttpSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * HTTP settings.
+   * 
+ * + * .google.cloud.chronicle.v1.HttpSettings http_settings = 43; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpSettingsOrBuilder getHttpSettingsOrBuilder() { + if (detailsCase_ == 43) { + return (com.google.cloud.chronicle.v1.HttpSettings) details_; + } + return com.google.cloud.chronicle.v1.HttpSettings.getDefaultInstance(); + } + + public static final int SFTP_SETTINGS_FIELD_NUMBER = 44; + + /** + * + * + *
+   * SFTP settings.
+   * 
+ * + * .google.cloud.chronicle.v1.SftpSettings sftp_settings = 44; + * + * @return Whether the sftpSettings field is set. + */ + @java.lang.Override + public boolean hasSftpSettings() { + return detailsCase_ == 44; + } + + /** + * + * + *
+   * SFTP settings.
+   * 
+ * + * .google.cloud.chronicle.v1.SftpSettings sftp_settings = 44; + * + * @return The sftpSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SftpSettings getSftpSettings() { + if (detailsCase_ == 44) { + return (com.google.cloud.chronicle.v1.SftpSettings) details_; + } + return com.google.cloud.chronicle.v1.SftpSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * SFTP settings.
+   * 
+ * + * .google.cloud.chronicle.v1.SftpSettings sftp_settings = 44; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SftpSettingsOrBuilder getSftpSettingsOrBuilder() { + if (detailsCase_ == 44) { + return (com.google.cloud.chronicle.v1.SftpSettings) details_; + } + return com.google.cloud.chronicle.v1.SftpSettings.getDefaultInstance(); + } + + public static final int AMAZON_S3_SETTINGS_FIELD_NUMBER = 45; + + /** + * + * + *
+   * Amazon S3 settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AmazonS3Settings amazon_s3_settings = 45; + * + * @return Whether the amazonS3Settings field is set. + */ + @java.lang.Override + public boolean hasAmazonS3Settings() { + return detailsCase_ == 45; + } + + /** + * + * + *
+   * Amazon S3 settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AmazonS3Settings amazon_s3_settings = 45; + * + * @return The amazonS3Settings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonS3Settings getAmazonS3Settings() { + if (detailsCase_ == 45) { + return (com.google.cloud.chronicle.v1.AmazonS3Settings) details_; + } + return com.google.cloud.chronicle.v1.AmazonS3Settings.getDefaultInstance(); + } + + /** + * + * + *
+   * Amazon S3 settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AmazonS3Settings amazon_s3_settings = 45; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonS3SettingsOrBuilder getAmazonS3SettingsOrBuilder() { + if (detailsCase_ == 45) { + return (com.google.cloud.chronicle.v1.AmazonS3Settings) details_; + } + return com.google.cloud.chronicle.v1.AmazonS3Settings.getDefaultInstance(); + } + + public static final int AZURE_BLOB_STORE_SETTINGS_FIELD_NUMBER = 46; + + /** + * + * + *
+   * Azure Blob Storage settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreSettings azure_blob_store_settings = 46; + * + * @return Whether the azureBlobStoreSettings field is set. + */ + @java.lang.Override + public boolean hasAzureBlobStoreSettings() { + return detailsCase_ == 46; + } + + /** + * + * + *
+   * Azure Blob Storage settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreSettings azure_blob_store_settings = 46; + * + * @return The azureBlobStoreSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureBlobStoreSettings getAzureBlobStoreSettings() { + if (detailsCase_ == 46) { + return (com.google.cloud.chronicle.v1.AzureBlobStoreSettings) details_; + } + return com.google.cloud.chronicle.v1.AzureBlobStoreSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Azure Blob Storage settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreSettings azure_blob_store_settings = 46; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureBlobStoreSettingsOrBuilder + getAzureBlobStoreSettingsOrBuilder() { + if (detailsCase_ == 46) { + return (com.google.cloud.chronicle.v1.AzureBlobStoreSettings) details_; + } + return com.google.cloud.chronicle.v1.AzureBlobStoreSettings.getDefaultInstance(); + } + + public static final int AMAZON_SQS_SETTINGS_FIELD_NUMBER = 47; + + /** + * + * + *
+   * Amazon SQS settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSSettings amazon_sqs_settings = 47; + * + * @return Whether the amazonSqsSettings field is set. + */ + @java.lang.Override + public boolean hasAmazonSqsSettings() { + return detailsCase_ == 47; + } + + /** + * + * + *
+   * Amazon SQS settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSSettings amazon_sqs_settings = 47; + * + * @return The amazonSqsSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonSQSSettings getAmazonSqsSettings() { + if (detailsCase_ == 47) { + return (com.google.cloud.chronicle.v1.AmazonSQSSettings) details_; + } + return com.google.cloud.chronicle.v1.AmazonSQSSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Amazon SQS settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSSettings amazon_sqs_settings = 47; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonSQSSettingsOrBuilder getAmazonSqsSettingsOrBuilder() { + if (detailsCase_ == 47) { + return (com.google.cloud.chronicle.v1.AmazonSQSSettings) details_; + } + return com.google.cloud.chronicle.v1.AmazonSQSSettings.getDefaultInstance(); + } + + public static final int GOOGLE_CLOUD_IDENTITY_DEVICES_SETTINGS_FIELD_NUMBER = 48; + + /** + * + * + *
+   * Google Cloud Identity Devices settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings google_cloud_identity_devices_settings = 48; + * + * + * @return Whether the googleCloudIdentityDevicesSettings field is set. + */ + @java.lang.Override + public boolean hasGoogleCloudIdentityDevicesSettings() { + return detailsCase_ == 48; + } + + /** + * + * + *
+   * Google Cloud Identity Devices settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings google_cloud_identity_devices_settings = 48; + * + * + * @return The googleCloudIdentityDevicesSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings + getGoogleCloudIdentityDevicesSettings() { + if (detailsCase_ == 48) { + return (com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings) details_; + } + return com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Google Cloud Identity Devices settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings google_cloud_identity_devices_settings = 48; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettingsOrBuilder + getGoogleCloudIdentityDevicesSettingsOrBuilder() { + if (detailsCase_ == 48) { + return (com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings) details_; + } + return com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings.getDefaultInstance(); + } + + public static final int GOOGLE_CLOUD_IDENTITY_DEVICE_USERS_SETTINGS_FIELD_NUMBER = 49; + + /** + * + * + *
+   * Google Cloud Identity Device Users settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings google_cloud_identity_device_users_settings = 49; + * + * + * @return Whether the googleCloudIdentityDeviceUsersSettings field is set. + */ + @java.lang.Override + public boolean hasGoogleCloudIdentityDeviceUsersSettings() { + return detailsCase_ == 49; + } + + /** + * + * + *
+   * Google Cloud Identity Device Users settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings google_cloud_identity_device_users_settings = 49; + * + * + * @return The googleCloudIdentityDeviceUsersSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings + getGoogleCloudIdentityDeviceUsersSettings() { + if (detailsCase_ == 49) { + return (com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings) details_; + } + return com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings + .getDefaultInstance(); + } + + /** + * + * + *
+   * Google Cloud Identity Device Users settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings google_cloud_identity_device_users_settings = 49; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettingsOrBuilder + getGoogleCloudIdentityDeviceUsersSettingsOrBuilder() { + if (detailsCase_ == 49) { + return (com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings) details_; + } + return com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings + .getDefaultInstance(); + } + + public static final int CROWDSTRIKE_DETECTS_SETTINGS_FIELD_NUMBER = 50; + + /** + * + * + *
+   * CrowdStrike Detects API settings.
+   * 
+ * + * .google.cloud.chronicle.v1.CrowdStrikeDetectsSettings crowdstrike_detects_settings = 50; + * + * + * @return Whether the crowdstrikeDetectsSettings field is set. + */ + @java.lang.Override + public boolean hasCrowdstrikeDetectsSettings() { + return detailsCase_ == 50; + } + + /** + * + * + *
+   * CrowdStrike Detects API settings.
+   * 
+ * + * .google.cloud.chronicle.v1.CrowdStrikeDetectsSettings crowdstrike_detects_settings = 50; + * + * + * @return The crowdstrikeDetectsSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings getCrowdstrikeDetectsSettings() { + if (detailsCase_ == 50) { + return (com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings) details_; + } + return com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * CrowdStrike Detects API settings.
+   * 
+ * + * .google.cloud.chronicle.v1.CrowdStrikeDetectsSettings crowdstrike_detects_settings = 50; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettingsOrBuilder + getCrowdstrikeDetectsSettingsOrBuilder() { + if (detailsCase_ == 50) { + return (com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings) details_; + } + return com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.getDefaultInstance(); + } + + public static final int MANDIANT_IOC_SETTINGS_FIELD_NUMBER = 53; + + /** + * + * + *
+   * Mandiant IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.MandiantIoCSettings mandiant_ioc_settings = 53; + * + * @return Whether the mandiantIocSettings field is set. + */ + @java.lang.Override + public boolean hasMandiantIocSettings() { + return detailsCase_ == 53; + } + + /** + * + * + *
+   * Mandiant IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.MandiantIoCSettings mandiant_ioc_settings = 53; + * + * @return The mandiantIocSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MandiantIoCSettings getMandiantIocSettings() { + if (detailsCase_ == 53) { + return (com.google.cloud.chronicle.v1.MandiantIoCSettings) details_; + } + return com.google.cloud.chronicle.v1.MandiantIoCSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Mandiant IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.MandiantIoCSettings mandiant_ioc_settings = 53; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MandiantIoCSettingsOrBuilder + getMandiantIocSettingsOrBuilder() { + if (detailsCase_ == 53) { + return (com.google.cloud.chronicle.v1.MandiantIoCSettings) details_; + } + return com.google.cloud.chronicle.v1.MandiantIoCSettings.getDefaultInstance(); + } + + public static final int SENTINELONE_ALERT_SETTINGS_FIELD_NUMBER = 54; + + /** + * + * + *
+   * SentinelOne Alert settings.
+   * 
+ * + * .google.cloud.chronicle.v1.SentineloneAlertSettings sentinelone_alert_settings = 54; + * + * + * @return Whether the sentineloneAlertSettings field is set. + */ + @java.lang.Override + public boolean hasSentineloneAlertSettings() { + return detailsCase_ == 54; + } + + /** + * + * + *
+   * SentinelOne Alert settings.
+   * 
+ * + * .google.cloud.chronicle.v1.SentineloneAlertSettings sentinelone_alert_settings = 54; + * + * + * @return The sentineloneAlertSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SentineloneAlertSettings getSentineloneAlertSettings() { + if (detailsCase_ == 54) { + return (com.google.cloud.chronicle.v1.SentineloneAlertSettings) details_; + } + return com.google.cloud.chronicle.v1.SentineloneAlertSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * SentinelOne Alert settings.
+   * 
+ * + * .google.cloud.chronicle.v1.SentineloneAlertSettings sentinelone_alert_settings = 54; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SentineloneAlertSettingsOrBuilder + getSentineloneAlertSettingsOrBuilder() { + if (detailsCase_ == 54) { + return (com.google.cloud.chronicle.v1.SentineloneAlertSettings) details_; + } + return com.google.cloud.chronicle.v1.SentineloneAlertSettings.getDefaultInstance(); + } + + public static final int QUALYS_SCAN_SETTINGS_FIELD_NUMBER = 55; + + /** + * + * + *
+   * Qualys Scan Settings
+   * 
+ * + * .google.cloud.chronicle.v1.QualysScanSettings qualys_scan_settings = 55; + * + * @return Whether the qualysScanSettings field is set. + */ + @java.lang.Override + public boolean hasQualysScanSettings() { + return detailsCase_ == 55; + } + + /** + * + * + *
+   * Qualys Scan Settings
+   * 
+ * + * .google.cloud.chronicle.v1.QualysScanSettings qualys_scan_settings = 55; + * + * @return The qualysScanSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.QualysScanSettings getQualysScanSettings() { + if (detailsCase_ == 55) { + return (com.google.cloud.chronicle.v1.QualysScanSettings) details_; + } + return com.google.cloud.chronicle.v1.QualysScanSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Qualys Scan Settings
+   * 
+ * + * .google.cloud.chronicle.v1.QualysScanSettings qualys_scan_settings = 55; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.QualysScanSettingsOrBuilder + getQualysScanSettingsOrBuilder() { + if (detailsCase_ == 55) { + return (com.google.cloud.chronicle.v1.QualysScanSettings) details_; + } + return com.google.cloud.chronicle.v1.QualysScanSettings.getDefaultInstance(); + } + + public static final int PUBSUB_SETTINGS_FIELD_NUMBER = 56; + + /** + * + * + *
+   * Pub/Sub settings.
+   * 
+ * + * .google.cloud.chronicle.v1.PubsubSettings pubsub_settings = 56; + * + * @return Whether the pubsubSettings field is set. + */ + @java.lang.Override + public boolean hasPubsubSettings() { + return detailsCase_ == 56; + } + + /** + * + * + *
+   * Pub/Sub settings.
+   * 
+ * + * .google.cloud.chronicle.v1.PubsubSettings pubsub_settings = 56; + * + * @return The pubsubSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.PubsubSettings getPubsubSettings() { + if (detailsCase_ == 56) { + return (com.google.cloud.chronicle.v1.PubsubSettings) details_; + } + return com.google.cloud.chronicle.v1.PubsubSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Pub/Sub settings.
+   * 
+ * + * .google.cloud.chronicle.v1.PubsubSettings pubsub_settings = 56; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.PubsubSettingsOrBuilder getPubsubSettingsOrBuilder() { + if (detailsCase_ == 56) { + return (com.google.cloud.chronicle.v1.PubsubSettings) details_; + } + return com.google.cloud.chronicle.v1.PubsubSettings.getDefaultInstance(); + } + + public static final int AMAZON_KINESIS_FIREHOSE_SETTINGS_FIELD_NUMBER = 57; + + /** + * + * + *
+   * Amazon Kinesis Firehose settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings amazon_kinesis_firehose_settings = 57; + * + * + * @return Whether the amazonKinesisFirehoseSettings field is set. + */ + @java.lang.Override + public boolean hasAmazonKinesisFirehoseSettings() { + return detailsCase_ == 57; + } + + /** + * + * + *
+   * Amazon Kinesis Firehose settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings amazon_kinesis_firehose_settings = 57; + * + * + * @return The amazonKinesisFirehoseSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings + getAmazonKinesisFirehoseSettings() { + if (detailsCase_ == 57) { + return (com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings) details_; + } + return com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Amazon Kinesis Firehose settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings amazon_kinesis_firehose_settings = 57; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettingsOrBuilder + getAmazonKinesisFirehoseSettingsOrBuilder() { + if (detailsCase_ == 57) { + return (com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings) details_; + } + return com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings.getDefaultInstance(); + } + + public static final int WEBHOOK_SETTINGS_FIELD_NUMBER = 58; + + /** + * + * + *
+   * Webhook settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WebhookSettings webhook_settings = 58; + * + * @return Whether the webhookSettings field is set. + */ + @java.lang.Override + public boolean hasWebhookSettings() { + return detailsCase_ == 58; + } + + /** + * + * + *
+   * Webhook settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WebhookSettings webhook_settings = 58; + * + * @return The webhookSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WebhookSettings getWebhookSettings() { + if (detailsCase_ == 58) { + return (com.google.cloud.chronicle.v1.WebhookSettings) details_; + } + return com.google.cloud.chronicle.v1.WebhookSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Webhook settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WebhookSettings webhook_settings = 58; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WebhookSettingsOrBuilder getWebhookSettingsOrBuilder() { + if (detailsCase_ == 58) { + return (com.google.cloud.chronicle.v1.WebhookSettings) details_; + } + return com.google.cloud.chronicle.v1.WebhookSettings.getDefaultInstance(); + } + + public static final int DUMMY_LOG_TYPE_SETTINGS_FIELD_NUMBER = 59; + + /** + * + * + *
+   * DummyLogType Settings.
+   * 
+ * + * .google.cloud.chronicle.v1.DummyLogTypeSettings dummy_log_type_settings = 59; + * + * @return Whether the dummyLogTypeSettings field is set. + */ + @java.lang.Override + public boolean hasDummyLogTypeSettings() { + return detailsCase_ == 59; + } + + /** + * + * + *
+   * DummyLogType Settings.
+   * 
+ * + * .google.cloud.chronicle.v1.DummyLogTypeSettings dummy_log_type_settings = 59; + * + * @return The dummyLogTypeSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.DummyLogTypeSettings getDummyLogTypeSettings() { + if (detailsCase_ == 59) { + return (com.google.cloud.chronicle.v1.DummyLogTypeSettings) details_; + } + return com.google.cloud.chronicle.v1.DummyLogTypeSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * DummyLogType Settings.
+   * 
+ * + * .google.cloud.chronicle.v1.DummyLogTypeSettings dummy_log_type_settings = 59; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.DummyLogTypeSettingsOrBuilder + getDummyLogTypeSettingsOrBuilder() { + if (detailsCase_ == 59) { + return (com.google.cloud.chronicle.v1.DummyLogTypeSettings) details_; + } + return com.google.cloud.chronicle.v1.DummyLogTypeSettings.getDefaultInstance(); + } + + public static final int HTTPS_PUSH_GOOGLE_CLOUD_PUBSUB_SETTINGS_FIELD_NUMBER = 60; + + /** + * + * + *
+   * Https push Google Pub/Sub settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings https_push_google_cloud_pubsub_settings = 60; + * + * + * @return Whether the httpsPushGoogleCloudPubsubSettings field is set. + */ + @java.lang.Override + public boolean hasHttpsPushGoogleCloudPubsubSettings() { + return detailsCase_ == 60; + } + + /** + * + * + *
+   * Https push Google Pub/Sub settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings https_push_google_cloud_pubsub_settings = 60; + * + * + * @return The httpsPushGoogleCloudPubsubSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings + getHttpsPushGoogleCloudPubsubSettings() { + if (detailsCase_ == 60) { + return (com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings) details_; + } + return com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Https push Google Pub/Sub settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings https_push_google_cloud_pubsub_settings = 60; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettingsOrBuilder + getHttpsPushGoogleCloudPubsubSettingsOrBuilder() { + if (detailsCase_ == 60) { + return (com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings) details_; + } + return com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings.getDefaultInstance(); + } + + public static final int HTTPS_PUSH_AMAZON_KINESIS_FIREHOSE_SETTINGS_FIELD_NUMBER = 61; + + /** + * + * + *
+   * Https push Amazon Kinesis Firehose settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings https_push_amazon_kinesis_firehose_settings = 61; + * + * + * @return Whether the httpsPushAmazonKinesisFirehoseSettings field is set. + */ + @java.lang.Override + public boolean hasHttpsPushAmazonKinesisFirehoseSettings() { + return detailsCase_ == 61; + } + + /** + * + * + *
+   * Https push Amazon Kinesis Firehose settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings https_push_amazon_kinesis_firehose_settings = 61; + * + * + * @return The httpsPushAmazonKinesisFirehoseSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings + getHttpsPushAmazonKinesisFirehoseSettings() { + if (detailsCase_ == 61) { + return (com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings) details_; + } + return com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings + .getDefaultInstance(); + } + + /** + * + * + *
+   * Https push Amazon Kinesis Firehose settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings https_push_amazon_kinesis_firehose_settings = 61; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettingsOrBuilder + getHttpsPushAmazonKinesisFirehoseSettingsOrBuilder() { + if (detailsCase_ == 61) { + return (com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings) details_; + } + return com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings + .getDefaultInstance(); + } + + public static final int HTTPS_PUSH_WEBHOOK_SETTINGS_FIELD_NUMBER = 62; + + /** + * + * + *
+   * Https push Webhook settings.
+   * 
+ * + * .google.cloud.chronicle.v1.HttpsPushWebhookSettings https_push_webhook_settings = 62; + * + * + * @return Whether the httpsPushWebhookSettings field is set. + */ + @java.lang.Override + public boolean hasHttpsPushWebhookSettings() { + return detailsCase_ == 62; + } + + /** + * + * + *
+   * Https push Webhook settings.
+   * 
+ * + * .google.cloud.chronicle.v1.HttpsPushWebhookSettings https_push_webhook_settings = 62; + * + * + * @return The httpsPushWebhookSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpsPushWebhookSettings getHttpsPushWebhookSettings() { + if (detailsCase_ == 62) { + return (com.google.cloud.chronicle.v1.HttpsPushWebhookSettings) details_; + } + return com.google.cloud.chronicle.v1.HttpsPushWebhookSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Https push Webhook settings.
+   * 
+ * + * .google.cloud.chronicle.v1.HttpsPushWebhookSettings https_push_webhook_settings = 62; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpsPushWebhookSettingsOrBuilder + getHttpsPushWebhookSettingsOrBuilder() { + if (detailsCase_ == 62) { + return (com.google.cloud.chronicle.v1.HttpsPushWebhookSettings) details_; + } + return com.google.cloud.chronicle.v1.HttpsPushWebhookSettings.getDefaultInstance(); + } + + public static final int AWS_EC2_HOSTS_SETTINGS_FIELD_NUMBER = 63; + + /** + * + * + *
+   * AWS EC2 Hosts settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSEC2HostsSettings aws_ec2_hosts_settings = 63; + * + * @return Whether the awsEc2HostsSettings field is set. + */ + @java.lang.Override + public boolean hasAwsEc2HostsSettings() { + return detailsCase_ == 63; + } + + /** + * + * + *
+   * AWS EC2 Hosts settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSEC2HostsSettings aws_ec2_hosts_settings = 63; + * + * @return The awsEc2HostsSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSEC2HostsSettings getAwsEc2HostsSettings() { + if (detailsCase_ == 63) { + return (com.google.cloud.chronicle.v1.AWSEC2HostsSettings) details_; + } + return com.google.cloud.chronicle.v1.AWSEC2HostsSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * AWS EC2 Hosts settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSEC2HostsSettings aws_ec2_hosts_settings = 63; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSEC2HostsSettingsOrBuilder + getAwsEc2HostsSettingsOrBuilder() { + if (detailsCase_ == 63) { + return (com.google.cloud.chronicle.v1.AWSEC2HostsSettings) details_; + } + return com.google.cloud.chronicle.v1.AWSEC2HostsSettings.getDefaultInstance(); + } + + public static final int AWS_EC2_INSTANCES_SETTINGS_FIELD_NUMBER = 64; + + /** + * + * + *
+   * AWS EC2 Instances settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSEC2InstancesSettings aws_ec2_instances_settings = 64; + * + * + * @return Whether the awsEc2InstancesSettings field is set. + */ + @java.lang.Override + public boolean hasAwsEc2InstancesSettings() { + return detailsCase_ == 64; + } + + /** + * + * + *
+   * AWS EC2 Instances settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSEC2InstancesSettings aws_ec2_instances_settings = 64; + * + * + * @return The awsEc2InstancesSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSEC2InstancesSettings getAwsEc2InstancesSettings() { + if (detailsCase_ == 64) { + return (com.google.cloud.chronicle.v1.AWSEC2InstancesSettings) details_; + } + return com.google.cloud.chronicle.v1.AWSEC2InstancesSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * AWS EC2 Instances settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSEC2InstancesSettings aws_ec2_instances_settings = 64; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSEC2InstancesSettingsOrBuilder + getAwsEc2InstancesSettingsOrBuilder() { + if (detailsCase_ == 64) { + return (com.google.cloud.chronicle.v1.AWSEC2InstancesSettings) details_; + } + return com.google.cloud.chronicle.v1.AWSEC2InstancesSettings.getDefaultInstance(); + } + + public static final int AWS_EC2_VPCS_SETTINGS_FIELD_NUMBER = 65; + + /** + * + * + *
+   * AWS EC2 Vpcs settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSEC2VpcsSettings aws_ec2_vpcs_settings = 65; + * + * @return Whether the awsEc2VpcsSettings field is set. + */ + @java.lang.Override + public boolean hasAwsEc2VpcsSettings() { + return detailsCase_ == 65; + } + + /** + * + * + *
+   * AWS EC2 Vpcs settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSEC2VpcsSettings aws_ec2_vpcs_settings = 65; + * + * @return The awsEc2VpcsSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSEC2VpcsSettings getAwsEc2VpcsSettings() { + if (detailsCase_ == 65) { + return (com.google.cloud.chronicle.v1.AWSEC2VpcsSettings) details_; + } + return com.google.cloud.chronicle.v1.AWSEC2VpcsSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * AWS EC2 Vpcs settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSEC2VpcsSettings aws_ec2_vpcs_settings = 65; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSEC2VpcsSettingsOrBuilder + getAwsEc2VpcsSettingsOrBuilder() { + if (detailsCase_ == 65) { + return (com.google.cloud.chronicle.v1.AWSEC2VpcsSettings) details_; + } + return com.google.cloud.chronicle.v1.AWSEC2VpcsSettings.getDefaultInstance(); + } + + public static final int AWS_IAM_SETTINGS_FIELD_NUMBER = 66; + + /** + * + * + *
+   * AWS IAM settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSIAMSettings aws_iam_settings = 66; + * + * @return Whether the awsIamSettings field is set. + */ + @java.lang.Override + public boolean hasAwsIamSettings() { + return detailsCase_ == 66; + } + + /** + * + * + *
+   * AWS IAM settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSIAMSettings aws_iam_settings = 66; + * + * @return The awsIamSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSIAMSettings getAwsIamSettings() { + if (detailsCase_ == 66) { + return (com.google.cloud.chronicle.v1.AWSIAMSettings) details_; + } + return com.google.cloud.chronicle.v1.AWSIAMSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * AWS IAM settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSIAMSettings aws_iam_settings = 66; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSIAMSettingsOrBuilder getAwsIamSettingsOrBuilder() { + if (detailsCase_ == 66) { + return (com.google.cloud.chronicle.v1.AWSIAMSettings) details_; + } + return com.google.cloud.chronicle.v1.AWSIAMSettings.getDefaultInstance(); + } + + public static final int NETSKOPE_ALERT_V2_SETTINGS_FIELD_NUMBER = 70; + + /** + * + * + *
+   * Netskope alert V2 settings.
+   * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertV2Settings netskope_alert_v2_settings = 70; + * + * + * @return Whether the netskopeAlertV2Settings field is set. + */ + @java.lang.Override + public boolean hasNetskopeAlertV2Settings() { + return detailsCase_ == 70; + } + + /** + * + * + *
+   * Netskope alert V2 settings.
+   * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertV2Settings netskope_alert_v2_settings = 70; + * + * + * @return The netskopeAlertV2Settings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.NetskopeAlertV2Settings getNetskopeAlertV2Settings() { + if (detailsCase_ == 70) { + return (com.google.cloud.chronicle.v1.NetskopeAlertV2Settings) details_; + } + return com.google.cloud.chronicle.v1.NetskopeAlertV2Settings.getDefaultInstance(); + } + + /** + * + * + *
+   * Netskope alert V2 settings.
+   * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertV2Settings netskope_alert_v2_settings = 70; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.NetskopeAlertV2SettingsOrBuilder + getNetskopeAlertV2SettingsOrBuilder() { + if (detailsCase_ == 70) { + return (com.google.cloud.chronicle.v1.NetskopeAlertV2Settings) details_; + } + return com.google.cloud.chronicle.v1.NetskopeAlertV2Settings.getDefaultInstance(); + } + + public static final int GCS_V2_SETTINGS_FIELD_NUMBER = 71; + + /** + * + * + *
+   * Settings for Google Cloud Storage Omniflow feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageV2Settings gcs_v2_settings = 71; + * + * @return Whether the gcsV2Settings field is set. + */ + @java.lang.Override + public boolean hasGcsV2Settings() { + return detailsCase_ == 71; + } + + /** + * + * + *
+   * Settings for Google Cloud Storage Omniflow feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageV2Settings gcs_v2_settings = 71; + * + * @return The gcsV2Settings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings getGcsV2Settings() { + if (detailsCase_ == 71) { + return (com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings) details_; + } + return com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings.getDefaultInstance(); + } + + /** + * + * + *
+   * Settings for Google Cloud Storage Omniflow feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageV2Settings gcs_v2_settings = 71; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudStorageV2SettingsOrBuilder + getGcsV2SettingsOrBuilder() { + if (detailsCase_ == 71) { + return (com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings) details_; + } + return com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings.getDefaultInstance(); + } + + public static final int AMAZON_S3_V2_SETTINGS_FIELD_NUMBER = 72; + + /** + * + * + *
+   * Settings for S3 Omniflow feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.AmazonS3V2Settings amazon_s3_v2_settings = 72; + * + * @return Whether the amazonS3V2Settings field is set. + */ + @java.lang.Override + public boolean hasAmazonS3V2Settings() { + return detailsCase_ == 72; + } + + /** + * + * + *
+   * Settings for S3 Omniflow feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.AmazonS3V2Settings amazon_s3_v2_settings = 72; + * + * @return The amazonS3V2Settings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonS3V2Settings getAmazonS3V2Settings() { + if (detailsCase_ == 72) { + return (com.google.cloud.chronicle.v1.AmazonS3V2Settings) details_; + } + return com.google.cloud.chronicle.v1.AmazonS3V2Settings.getDefaultInstance(); + } + + /** + * + * + *
+   * Settings for S3 Omniflow feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.AmazonS3V2Settings amazon_s3_v2_settings = 72; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonS3V2SettingsOrBuilder + getAmazonS3V2SettingsOrBuilder() { + if (detailsCase_ == 72) { + return (com.google.cloud.chronicle.v1.AmazonS3V2Settings) details_; + } + return com.google.cloud.chronicle.v1.AmazonS3V2Settings.getDefaultInstance(); + } + + public static final int AMAZON_SQS_V2_SETTINGS_FIELD_NUMBER = 73; + + /** + * + * + *
+   * Settings for SQS Omniflow feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSV2Settings amazon_sqs_v2_settings = 73; + * + * @return Whether the amazonSqsV2Settings field is set. + */ + @java.lang.Override + public boolean hasAmazonSqsV2Settings() { + return detailsCase_ == 73; + } + + /** + * + * + *
+   * Settings for SQS Omniflow feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSV2Settings amazon_sqs_v2_settings = 73; + * + * @return The amazonSqsV2Settings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonSQSV2Settings getAmazonSqsV2Settings() { + if (detailsCase_ == 73) { + return (com.google.cloud.chronicle.v1.AmazonSQSV2Settings) details_; + } + return com.google.cloud.chronicle.v1.AmazonSQSV2Settings.getDefaultInstance(); + } + + /** + * + * + *
+   * Settings for SQS Omniflow feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSV2Settings amazon_sqs_v2_settings = 73; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonSQSV2SettingsOrBuilder + getAmazonSqsV2SettingsOrBuilder() { + if (detailsCase_ == 73) { + return (com.google.cloud.chronicle.v1.AmazonSQSV2Settings) details_; + } + return com.google.cloud.chronicle.v1.AmazonSQSV2Settings.getDefaultInstance(); + } + + public static final int AZURE_EVENT_HUB_SETTINGS_FIELD_NUMBER = 74; + + /** + * + * + *
+   * Settings for Omniflow based native ingestion from azure event hub.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureEventHubSettings azure_event_hub_settings = 74; + * + * @return Whether the azureEventHubSettings field is set. + */ + @java.lang.Override + public boolean hasAzureEventHubSettings() { + return detailsCase_ == 74; + } + + /** + * + * + *
+   * Settings for Omniflow based native ingestion from azure event hub.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureEventHubSettings azure_event_hub_settings = 74; + * + * @return The azureEventHubSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureEventHubSettings getAzureEventHubSettings() { + if (detailsCase_ == 74) { + return (com.google.cloud.chronicle.v1.AzureEventHubSettings) details_; + } + return com.google.cloud.chronicle.v1.AzureEventHubSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Settings for Omniflow based native ingestion from azure event hub.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureEventHubSettings azure_event_hub_settings = 74; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureEventHubSettingsOrBuilder + getAzureEventHubSettingsOrBuilder() { + if (detailsCase_ == 74) { + return (com.google.cloud.chronicle.v1.AzureEventHubSettings) details_; + } + return com.google.cloud.chronicle.v1.AzureEventHubSettings.getDefaultInstance(); + } + + public static final int TRELLIX_HX_HOSTS_SETTINGS_FIELD_NUMBER = 75; + + /** + * + * + *
+   * Settings for Trellix HX Host Metadata.
+   * 
+ * + * .google.cloud.chronicle.v1.TrellixHxHostsSettings trellix_hx_hosts_settings = 75; + * + * @return Whether the trellixHxHostsSettings field is set. + */ + @java.lang.Override + public boolean hasTrellixHxHostsSettings() { + return detailsCase_ == 75; + } + + /** + * + * + *
+   * Settings for Trellix HX Host Metadata.
+   * 
+ * + * .google.cloud.chronicle.v1.TrellixHxHostsSettings trellix_hx_hosts_settings = 75; + * + * @return The trellixHxHostsSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixHxHostsSettings getTrellixHxHostsSettings() { + if (detailsCase_ == 75) { + return (com.google.cloud.chronicle.v1.TrellixHxHostsSettings) details_; + } + return com.google.cloud.chronicle.v1.TrellixHxHostsSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Settings for Trellix HX Host Metadata.
+   * 
+ * + * .google.cloud.chronicle.v1.TrellixHxHostsSettings trellix_hx_hosts_settings = 75; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixHxHostsSettingsOrBuilder + getTrellixHxHostsSettingsOrBuilder() { + if (detailsCase_ == 75) { + return (com.google.cloud.chronicle.v1.TrellixHxHostsSettings) details_; + } + return com.google.cloud.chronicle.v1.TrellixHxHostsSettings.getDefaultInstance(); + } + + public static final int AZURE_BLOB_STORE_V2_SETTINGS_FIELD_NUMBER = 76; + + /** + * + * + *
+   * Settings for Azure Blobstore Omniflow feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreV2Settings azure_blob_store_v2_settings = 76; + * + * + * @return Whether the azureBlobStoreV2Settings field is set. + */ + @java.lang.Override + public boolean hasAzureBlobStoreV2Settings() { + return detailsCase_ == 76; + } + + /** + * + * + *
+   * Settings for Azure Blobstore Omniflow feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreV2Settings azure_blob_store_v2_settings = 76; + * + * + * @return The azureBlobStoreV2Settings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings getAzureBlobStoreV2Settings() { + if (detailsCase_ == 76) { + return (com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings) details_; + } + return com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings.getDefaultInstance(); + } + + /** + * + * + *
+   * Settings for Azure Blobstore Omniflow feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreV2Settings azure_blob_store_v2_settings = 76; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureBlobStoreV2SettingsOrBuilder + getAzureBlobStoreV2SettingsOrBuilder() { + if (detailsCase_ == 76) { + return (com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings) details_; + } + return com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings.getDefaultInstance(); + } + + public static final int TRELLIX_HX_ALERTS_SETTINGS_FIELD_NUMBER = 77; + + /** + * + * + *
+   * Settings for Trellix HX Alerts Metadata.
+   * 
+ * + * .google.cloud.chronicle.v1.TrellixHxAlertsSettings trellix_hx_alerts_settings = 77; + * + * + * @return Whether the trellixHxAlertsSettings field is set. + */ + @java.lang.Override + public boolean hasTrellixHxAlertsSettings() { + return detailsCase_ == 77; + } + + /** + * + * + *
+   * Settings for Trellix HX Alerts Metadata.
+   * 
+ * + * .google.cloud.chronicle.v1.TrellixHxAlertsSettings trellix_hx_alerts_settings = 77; + * + * + * @return The trellixHxAlertsSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixHxAlertsSettings getTrellixHxAlertsSettings() { + if (detailsCase_ == 77) { + return (com.google.cloud.chronicle.v1.TrellixHxAlertsSettings) details_; + } + return com.google.cloud.chronicle.v1.TrellixHxAlertsSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Settings for Trellix HX Alerts Metadata.
+   * 
+ * + * .google.cloud.chronicle.v1.TrellixHxAlertsSettings trellix_hx_alerts_settings = 77; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixHxAlertsSettingsOrBuilder + getTrellixHxAlertsSettingsOrBuilder() { + if (detailsCase_ == 77) { + return (com.google.cloud.chronicle.v1.TrellixHxAlertsSettings) details_; + } + return com.google.cloud.chronicle.v1.TrellixHxAlertsSettings.getDefaultInstance(); + } + + public static final int GOOGLE_CLOUD_STORAGE_EVENT_DRIVEN_SETTINGS_FIELD_NUMBER = 78; + + /** + * + * + *
+   * Settings for Omniflow based Google Cloud Storage event driven feeds.
+   * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings google_cloud_storage_event_driven_settings = 78; + * + * + * @return Whether the googleCloudStorageEventDrivenSettings field is set. + */ + @java.lang.Override + public boolean hasGoogleCloudStorageEventDrivenSettings() { + return detailsCase_ == 78; + } + + /** + * + * + *
+   * Settings for Omniflow based Google Cloud Storage event driven feeds.
+   * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings google_cloud_storage_event_driven_settings = 78; + * + * + * @return The googleCloudStorageEventDrivenSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings + getGoogleCloudStorageEventDrivenSettings() { + if (detailsCase_ == 78) { + return (com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings) details_; + } + return com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Settings for Omniflow based Google Cloud Storage event driven feeds.
+   * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings google_cloud_storage_event_driven_settings = 78; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettingsOrBuilder + getGoogleCloudStorageEventDrivenSettingsOrBuilder() { + if (detailsCase_ == 78) { + return (com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings) details_; + } + return com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings.getDefaultInstance(); + } + + public static final int CROWDSTRIKE_ALERTS_SETTINGS_FIELD_NUMBER = 79; + + /** + * + * + *
+   * CrowdStrike Alerts API settings.
+   * 
+ * + * .google.cloud.chronicle.v1.CrowdStrikeAlertsSettings crowdstrike_alerts_settings = 79; + * + * + * @return Whether the crowdstrikeAlertsSettings field is set. + */ + @java.lang.Override + public boolean hasCrowdstrikeAlertsSettings() { + return detailsCase_ == 79; + } + + /** + * + * + *
+   * CrowdStrike Alerts API settings.
+   * 
+ * + * .google.cloud.chronicle.v1.CrowdStrikeAlertsSettings crowdstrike_alerts_settings = 79; + * + * + * @return The crowdstrikeAlertsSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings getCrowdstrikeAlertsSettings() { + if (detailsCase_ == 79) { + return (com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings) details_; + } + return com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * CrowdStrike Alerts API settings.
+   * 
+ * + * .google.cloud.chronicle.v1.CrowdStrikeAlertsSettings crowdstrike_alerts_settings = 79; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettingsOrBuilder + getCrowdstrikeAlertsSettingsOrBuilder() { + if (detailsCase_ == 79) { + return (com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings) details_; + } + return com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.getDefaultInstance(); + } + + public static final int TRELLIX_HX_BULK_ACQS_SETTINGS_FIELD_NUMBER = 80; + + /** + * + * + *
+   * Settings for Trellix HX Bulk Acquisitions Metadata.
+   * 
+ * + * .google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings trellix_hx_bulk_acqs_settings = 80; + * + * + * @return Whether the trellixHxBulkAcqsSettings field is set. + */ + @java.lang.Override + public boolean hasTrellixHxBulkAcqsSettings() { + return detailsCase_ == 80; + } + + /** + * + * + *
+   * Settings for Trellix HX Bulk Acquisitions Metadata.
+   * 
+ * + * .google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings trellix_hx_bulk_acqs_settings = 80; + * + * + * @return The trellixHxBulkAcqsSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings getTrellixHxBulkAcqsSettings() { + if (detailsCase_ == 80) { + return (com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings) details_; + } + return com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Settings for Trellix HX Bulk Acquisitions Metadata.
+   * 
+ * + * .google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings trellix_hx_bulk_acqs_settings = 80; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettingsOrBuilder + getTrellixHxBulkAcqsSettingsOrBuilder() { + if (detailsCase_ == 80) { + return (com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings) details_; + } + return com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings.getDefaultInstance(); + } + + public static final int MIMECAST_MAIL_V2_SETTINGS_FIELD_NUMBER = 82; + + /** + * + * + *
+   * Required. Mimecast mail v2 settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MimecastMailV2Settings mimecast_mail_v2_settings = 82 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the mimecastMailV2Settings field is set. + */ + @java.lang.Override + public boolean hasMimecastMailV2Settings() { + return detailsCase_ == 82; + } + + /** + * + * + *
+   * Required. Mimecast mail v2 settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MimecastMailV2Settings mimecast_mail_v2_settings = 82 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The mimecastMailV2Settings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MimecastMailV2Settings getMimecastMailV2Settings() { + if (detailsCase_ == 82) { + return (com.google.cloud.chronicle.v1.MimecastMailV2Settings) details_; + } + return com.google.cloud.chronicle.v1.MimecastMailV2Settings.getDefaultInstance(); + } + + /** + * + * + *
+   * Required. Mimecast mail v2 settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MimecastMailV2Settings mimecast_mail_v2_settings = 82 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MimecastMailV2SettingsOrBuilder + getMimecastMailV2SettingsOrBuilder() { + if (detailsCase_ == 82) { + return (com.google.cloud.chronicle.v1.MimecastMailV2Settings) details_; + } + return com.google.cloud.chronicle.v1.MimecastMailV2Settings.getDefaultInstance(); + } + + public static final int THREAT_CONNECT_IOC_V3_SETTINGS_FIELD_NUMBER = 83; + + /** + * + * + *
+   * Threat Connect IOC V3 settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.ThreatConnectIoCV3Settings threat_connect_ioc_v3_settings = 83; + * + * + * @return Whether the threatConnectIocV3Settings field is set. + */ + @java.lang.Override + public boolean hasThreatConnectIocV3Settings() { + return detailsCase_ == 83; + } + + /** + * + * + *
+   * Threat Connect IOC V3 settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.ThreatConnectIoCV3Settings threat_connect_ioc_v3_settings = 83; + * + * + * @return The threatConnectIocV3Settings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings getThreatConnectIocV3Settings() { + if (detailsCase_ == 83) { + return (com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings) details_; + } + return com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings.getDefaultInstance(); + } + + /** + * + * + *
+   * Threat Connect IOC V3 settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.ThreatConnectIoCV3Settings threat_connect_ioc_v3_settings = 83; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ThreatConnectIoCV3SettingsOrBuilder + getThreatConnectIocV3SettingsOrBuilder() { + if (detailsCase_ == 83) { + return (com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings) details_; + } + return com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings.getDefaultInstance(); + } + + public static final int CUSTOM_API_SETTINGS_FIELD_NUMBER = 85; + + /** + * + * + *
+   * Settings for Custom API (Codeless) Feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPISettings custom_api_settings = 85; + * + * @return Whether the customApiSettings field is set. + */ + @java.lang.Override + public boolean hasCustomApiSettings() { + return detailsCase_ == 85; + } + + /** + * + * + *
+   * Settings for Custom API (Codeless) Feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPISettings custom_api_settings = 85; + * + * @return The customApiSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPISettings getCustomApiSettings() { + if (detailsCase_ == 85) { + return (com.google.cloud.chronicle.v1.CustomAPISettings) details_; + } + return com.google.cloud.chronicle.v1.CustomAPISettings.getDefaultInstance(); + } + + /** + * + * + *
+   * Settings for Custom API (Codeless) Feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPISettings custom_api_settings = 85; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPISettingsOrBuilder getCustomApiSettingsOrBuilder() { + if (detailsCase_ == 85) { + return (com.google.cloud.chronicle.v1.CustomAPISettings) details_; + } + return com.google.cloud.chronicle.v1.CustomAPISettings.getDefaultInstance(); + } + + public static final int FEED_SOURCE_TYPE_FIELD_NUMBER = 1; + private int feedSourceType_ = 0; + + /** + * + * + *
+   * Source Type of the feed.
+   * 
+ * + * .google.cloud.chronicle.v1.FeedDetails.FeedSourceType feed_source_type = 1; + * + * @return The enum numeric value on the wire for feedSourceType. + */ + @java.lang.Override + public int getFeedSourceTypeValue() { + return feedSourceType_; + } + + /** + * + * + *
+   * Source Type of the feed.
+   * 
+ * + * .google.cloud.chronicle.v1.FeedDetails.FeedSourceType feed_source_type = 1; + * + * @return The feedSourceType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType getFeedSourceType() { + com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType result = + com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType.forNumber(feedSourceType_); + return result == null + ? com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType.UNRECOGNIZED + : result; + } + + public static final int LOG_TYPE_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object logType_ = ""; + + /** + * + * + *
+   * LogType.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type}
+   * 
+ * + * string log_type = 2 [(.google.api.resource_reference) = { ... } + * + * @return The logType. + */ + @java.lang.Override + public java.lang.String getLogType() { + java.lang.Object ref = logType_; + 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(); + logType_ = s; + return s; + } + } + + /** + * + * + *
+   * LogType.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type}
+   * 
+ * + * string log_type = 2 [(.google.api.resource_reference) = { ... } + * + * @return The bytes for logType. + */ + @java.lang.Override + public com.google.protobuf.ByteString getLogTypeBytes() { + java.lang.Object ref = logType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + logType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ASSET_NAMESPACE_FIELD_NUMBER = 51; + + @SuppressWarnings("serial") + private volatile java.lang.Object assetNamespace_ = ""; + + /** + * + * + *
+   * The asset namespace to apply to all logs ingested through this feed.
+   * 
+ * + * string asset_namespace = 51; + * + * @return The assetNamespace. + */ + @java.lang.Override + public java.lang.String getAssetNamespace() { + java.lang.Object ref = assetNamespace_; + 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(); + assetNamespace_ = s; + return s; + } + } + + /** + * + * + *
+   * The asset namespace to apply to all logs ingested through this feed.
+   * 
+ * + * string asset_namespace = 51; + * + * @return The bytes for assetNamespace. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAssetNamespaceBytes() { + java.lang.Object ref = assetNamespace_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + assetNamespace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int LABELS_FIELD_NUMBER = 52; + + private static final class LabelsDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FeedDetails_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + @SuppressWarnings("serial") + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { + if (labels_ == null) { + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + } + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + + /** + * + * + *
+   * The ingestion metadata labels to apply to all logs ingested through this
+   * feed, and the resulting normalized data.
+   * 
+ * + * map<string, string> labels = 52; + */ + @java.lang.Override + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetLabels().getMap().containsKey(key); + } + + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + + /** + * + * + *
+   * The ingestion metadata labels to apply to all logs ingested through this
+   * feed, and the resulting normalized data.
+   * 
+ * + * map<string, string> labels = 52; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + + /** + * + * + *
+   * The ingestion metadata labels to apply to all logs ingested through this
+   * feed, and the resulting normalized data.
+   * 
+ * + * map<string, string> labels = 52; + */ + @java.lang.Override + public /* nullable */ java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + + /** + * + * + *
+   * The ingestion metadata labels to apply to all logs ingested through this
+   * feed, and the resulting normalized data.
+   * 
+ * + * map<string, string> labels = 52; + */ + @java.lang.Override + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int STS_MIGRATION_READINESS_FIELD_NUMBER = 81; + private int stsMigrationReadiness_ = 0; + + /** + * + * + *
+   * Optional. The status of the feed's migration to STS.
+   * 
+ * + * + * .google.cloud.chronicle.v1.FeedDetails.STSMigrationReadiness sts_migration_readiness = 81 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for stsMigrationReadiness. + */ + @java.lang.Override + public int getStsMigrationReadinessValue() { + return stsMigrationReadiness_; + } + + /** + * + * + *
+   * Optional. The status of the feed's migration to STS.
+   * 
+ * + * + * .google.cloud.chronicle.v1.FeedDetails.STSMigrationReadiness sts_migration_readiness = 81 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The stsMigrationReadiness. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedDetails.STSMigrationReadiness + getStsMigrationReadiness() { + com.google.cloud.chronicle.v1.FeedDetails.STSMigrationReadiness result = + com.google.cloud.chronicle.v1.FeedDetails.STSMigrationReadiness.forNumber( + stsMigrationReadiness_); + return result == null + ? com.google.cloud.chronicle.v1.FeedDetails.STSMigrationReadiness.UNRECOGNIZED + : result; + } + + public static final int LAST_V2_MIGRATION_ATTEMPT_TIME_FIELD_NUMBER = 84; + private com.google.protobuf.Timestamp lastV2MigrationAttemptTime_; + + /** + * + * + *
+   * Optional. The time of the last attempt to migrate the feed to STS V2.
+   * 
+ * + * + * .google.protobuf.Timestamp last_v2_migration_attempt_time = 84 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the lastV2MigrationAttemptTime field is set. + */ + @java.lang.Override + public boolean hasLastV2MigrationAttemptTime() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Optional. The time of the last attempt to migrate the feed to STS V2.
+   * 
+ * + * + * .google.protobuf.Timestamp last_v2_migration_attempt_time = 84 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The lastV2MigrationAttemptTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getLastV2MigrationAttemptTime() { + return lastV2MigrationAttemptTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastV2MigrationAttemptTime_; + } + + /** + * + * + *
+   * Optional. The time of the last attempt to migrate the feed to STS V2.
+   * 
+ * + * + * .google.protobuf.Timestamp last_v2_migration_attempt_time = 84 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getLastV2MigrationAttemptTimeOrBuilder() { + return lastV2MigrationAttemptTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastV2MigrationAttemptTime_; + } + + 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 (feedSourceType_ + != com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType.FEED_SOURCE_TYPE_UNSPECIFIED + .getNumber()) { + output.writeEnum(1, feedSourceType_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(logType_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, logType_); + } + if (detailsCase_ == 3) { + output.writeMessage(3, (com.google.cloud.chronicle.v1.AnomaliIocSettings) details_); + } + if (detailsCase_ == 4) { + output.writeMessage(4, (com.google.cloud.chronicle.v1.AzureADContextSettings) details_); + } + if (detailsCase_ == 5) { + output.writeMessage(5, (com.google.cloud.chronicle.v1.CloudPassageSettings) details_); + } + if (detailsCase_ == 6) { + output.writeMessage(6, (com.google.cloud.chronicle.v1.CortexXDRSettings) details_); + } + if (detailsCase_ == 7) { + output.writeMessage(7, (com.google.cloud.chronicle.v1.DuoAuthSettings) details_); + } + if (detailsCase_ == 8) { + output.writeMessage(8, (com.google.cloud.chronicle.v1.DuoUserContextSettings) details_); + } + if (detailsCase_ == 9) { + output.writeMessage(9, (com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings) details_); + } + if (detailsCase_ == 10) { + output.writeMessage( + 10, (com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings) details_); + } + if (detailsCase_ == 11) { + output.writeMessage(11, (com.google.cloud.chronicle.v1.MimecastMailSettings) details_); + } + if (detailsCase_ == 12) { + output.writeMessage(12, (com.google.cloud.chronicle.v1.Office365Settings) details_); + } + if (detailsCase_ == 13) { + output.writeMessage(13, (com.google.cloud.chronicle.v1.ProofpointMailSettings) details_); + } + if (detailsCase_ == 14) { + output.writeMessage(14, (com.google.cloud.chronicle.v1.RecordedFutureIocSettings) details_); + } + if (detailsCase_ == 15) { + output.writeMessage(15, (com.google.cloud.chronicle.v1.WorkdaySettings) details_); + } + if (detailsCase_ == 16) { + output.writeMessage(16, (com.google.cloud.chronicle.v1.PanIocSettings) details_); + } + if (detailsCase_ == 17) { + output.writeMessage(17, (com.google.cloud.chronicle.v1.OktaSettings) details_); + } + if (detailsCase_ == 18) { + output.writeMessage(18, (com.google.cloud.chronicle.v1.OktaUserContextSettings) details_); + } + if (detailsCase_ == 19) { + output.writeMessage(19, (com.google.cloud.chronicle.v1.FoxITStixSettings) details_); + } + if (detailsCase_ == 20) { + output.writeMessage(20, (com.google.cloud.chronicle.v1.ThreatConnectIoCSettings) details_); + } + if (detailsCase_ == 21) { + output.writeMessage(21, (com.google.cloud.chronicle.v1.ServiceNowCMDBSettings) details_); + } + if (detailsCase_ == 22) { + output.writeMessage(22, (com.google.cloud.chronicle.v1.ImpervaWAFSettings) details_); + } + if (detailsCase_ == 23) { + output.writeMessage(23, (com.google.cloud.chronicle.v1.ThinkstCanarySettings) details_); + } + if (detailsCase_ == 24) { + output.writeMessage(24, (com.google.cloud.chronicle.v1.RHIsacIocSettings) details_); + } + if (detailsCase_ == 25) { + output.writeMessage(25, (com.google.cloud.chronicle.v1.Rapid7InsightSettings) details_); + } + if (detailsCase_ == 26) { + output.writeMessage(26, (com.google.cloud.chronicle.v1.SalesforceSettings) details_); + } + if (detailsCase_ == 27) { + output.writeMessage(27, (com.google.cloud.chronicle.v1.NetskopeAlertSettings) details_); + } + if (detailsCase_ == 28) { + output.writeMessage(28, (com.google.cloud.chronicle.v1.AzureMDMIntuneSettings) details_); + } + if (detailsCase_ == 29) { + output.writeMessage(29, (com.google.cloud.chronicle.v1.AzureADSettings) details_); + } + if (detailsCase_ == 30) { + output.writeMessage(30, (com.google.cloud.chronicle.v1.ProofpointOnDemandSettings) details_); + } + if (detailsCase_ == 31) { + output.writeMessage(31, (com.google.cloud.chronicle.v1.WorkspaceUsersSettings) details_); + } + if (detailsCase_ == 32) { + output.writeMessage(32, (com.google.cloud.chronicle.v1.WorkspaceActivitySettings) details_); + } + if (detailsCase_ == 33) { + output.writeMessage(33, (com.google.cloud.chronicle.v1.WorkspaceAlertsSettings) details_); + } + if (detailsCase_ == 34) { + output.writeMessage(34, (com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings) details_); + } + if (detailsCase_ == 35) { + output.writeMessage(35, (com.google.cloud.chronicle.v1.WorkspaceMobileSettings) details_); + } + if (detailsCase_ == 36) { + output.writeMessage(36, (com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings) details_); + } + if (detailsCase_ == 37) { + output.writeMessage(37, (com.google.cloud.chronicle.v1.WorkspaceGroupsSettings) details_); + } + if (detailsCase_ == 38) { + output.writeMessage(38, (com.google.cloud.chronicle.v1.AzureADAuditSettings) details_); + } + if (detailsCase_ == 39) { + output.writeMessage(39, (com.google.cloud.chronicle.v1.SymantecEventExportSettings) details_); + } + if (detailsCase_ == 40) { + output.writeMessage(40, (com.google.cloud.chronicle.v1.QualysVMSettings) details_); + } + if (detailsCase_ == 41) { + output.writeMessage(41, (com.google.cloud.chronicle.v1.PanPrismaCloudSettings) details_); + } + if (detailsCase_ == 42) { + output.writeMessage(42, (com.google.cloud.chronicle.v1.GoogleCloudStorageSettings) details_); + } + if (detailsCase_ == 43) { + output.writeMessage(43, (com.google.cloud.chronicle.v1.HttpSettings) details_); + } + if (detailsCase_ == 44) { + output.writeMessage(44, (com.google.cloud.chronicle.v1.SftpSettings) details_); + } + if (detailsCase_ == 45) { + output.writeMessage(45, (com.google.cloud.chronicle.v1.AmazonS3Settings) details_); + } + if (detailsCase_ == 46) { + output.writeMessage(46, (com.google.cloud.chronicle.v1.AzureBlobStoreSettings) details_); + } + if (detailsCase_ == 47) { + output.writeMessage(47, (com.google.cloud.chronicle.v1.AmazonSQSSettings) details_); + } + if (detailsCase_ == 48) { + output.writeMessage( + 48, (com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings) details_); + } + if (detailsCase_ == 49) { + output.writeMessage( + 49, (com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings) details_); + } + if (detailsCase_ == 50) { + output.writeMessage(50, (com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings) details_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(assetNamespace_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 51, assetNamespace_); + } + com.google.protobuf.GeneratedMessage.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 52); + if (detailsCase_ == 53) { + output.writeMessage(53, (com.google.cloud.chronicle.v1.MandiantIoCSettings) details_); + } + if (detailsCase_ == 54) { + output.writeMessage(54, (com.google.cloud.chronicle.v1.SentineloneAlertSettings) details_); + } + if (detailsCase_ == 55) { + output.writeMessage(55, (com.google.cloud.chronicle.v1.QualysScanSettings) details_); + } + if (detailsCase_ == 56) { + output.writeMessage(56, (com.google.cloud.chronicle.v1.PubsubSettings) details_); + } + if (detailsCase_ == 57) { + output.writeMessage( + 57, (com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings) details_); + } + if (detailsCase_ == 58) { + output.writeMessage(58, (com.google.cloud.chronicle.v1.WebhookSettings) details_); + } + if (detailsCase_ == 59) { + output.writeMessage(59, (com.google.cloud.chronicle.v1.DummyLogTypeSettings) details_); + } + if (detailsCase_ == 60) { + output.writeMessage( + 60, (com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings) details_); + } + if (detailsCase_ == 61) { + output.writeMessage( + 61, (com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings) details_); + } + if (detailsCase_ == 62) { + output.writeMessage(62, (com.google.cloud.chronicle.v1.HttpsPushWebhookSettings) details_); + } + if (detailsCase_ == 63) { + output.writeMessage(63, (com.google.cloud.chronicle.v1.AWSEC2HostsSettings) details_); + } + if (detailsCase_ == 64) { + output.writeMessage(64, (com.google.cloud.chronicle.v1.AWSEC2InstancesSettings) details_); + } + if (detailsCase_ == 65) { + output.writeMessage(65, (com.google.cloud.chronicle.v1.AWSEC2VpcsSettings) details_); + } + if (detailsCase_ == 66) { + output.writeMessage(66, (com.google.cloud.chronicle.v1.AWSIAMSettings) details_); + } + if (detailsCase_ == 70) { + output.writeMessage(70, (com.google.cloud.chronicle.v1.NetskopeAlertV2Settings) details_); + } + if (detailsCase_ == 71) { + output.writeMessage( + 71, (com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings) details_); + } + if (detailsCase_ == 72) { + output.writeMessage(72, (com.google.cloud.chronicle.v1.AmazonS3V2Settings) details_); + } + if (detailsCase_ == 73) { + output.writeMessage(73, (com.google.cloud.chronicle.v1.AmazonSQSV2Settings) details_); + } + if (detailsCase_ == 74) { + output.writeMessage(74, (com.google.cloud.chronicle.v1.AzureEventHubSettings) details_); + } + if (detailsCase_ == 75) { + output.writeMessage(75, (com.google.cloud.chronicle.v1.TrellixHxHostsSettings) details_); + } + if (detailsCase_ == 76) { + output.writeMessage(76, (com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings) details_); + } + if (detailsCase_ == 77) { + output.writeMessage(77, (com.google.cloud.chronicle.v1.TrellixHxAlertsSettings) details_); + } + if (detailsCase_ == 78) { + output.writeMessage( + 78, (com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings) details_); + } + if (detailsCase_ == 79) { + output.writeMessage(79, (com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings) details_); + } + if (detailsCase_ == 80) { + output.writeMessage(80, (com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings) details_); + } + if (stsMigrationReadiness_ + != com.google.cloud.chronicle.v1.FeedDetails.STSMigrationReadiness + .STS_MIGRATION_READINESS_UNSPECIFIED + .getNumber()) { + output.writeEnum(81, stsMigrationReadiness_); + } + if (detailsCase_ == 82) { + output.writeMessage(82, (com.google.cloud.chronicle.v1.MimecastMailV2Settings) details_); + } + if (detailsCase_ == 83) { + output.writeMessage(83, (com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings) details_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(84, getLastV2MigrationAttemptTime()); + } + if (detailsCase_ == 85) { + output.writeMessage(85, (com.google.cloud.chronicle.v1.CustomAPISettings) details_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (feedSourceType_ + != com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType.FEED_SOURCE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, feedSourceType_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(logType_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, logType_); + } + if (detailsCase_ == 3) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.chronicle.v1.AnomaliIocSettings) details_); + } + if (detailsCase_ == 4) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.chronicle.v1.AzureADContextSettings) details_); + } + if (detailsCase_ == 5) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.cloud.chronicle.v1.CloudPassageSettings) details_); + } + if (detailsCase_ == 6) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.chronicle.v1.CortexXDRSettings) details_); + } + if (detailsCase_ == 7) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.cloud.chronicle.v1.DuoAuthSettings) details_); + } + if (detailsCase_ == 8) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.cloud.chronicle.v1.DuoUserContextSettings) details_); + } + if (detailsCase_ == 9) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, (com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings) details_); + } + if (detailsCase_ == 10) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, (com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings) details_); + } + if (detailsCase_ == 11) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, (com.google.cloud.chronicle.v1.MimecastMailSettings) details_); + } + if (detailsCase_ == 12) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 12, (com.google.cloud.chronicle.v1.Office365Settings) details_); + } + if (detailsCase_ == 13) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 13, (com.google.cloud.chronicle.v1.ProofpointMailSettings) details_); + } + if (detailsCase_ == 14) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 14, (com.google.cloud.chronicle.v1.RecordedFutureIocSettings) details_); + } + if (detailsCase_ == 15) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 15, (com.google.cloud.chronicle.v1.WorkdaySettings) details_); + } + if (detailsCase_ == 16) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 16, (com.google.cloud.chronicle.v1.PanIocSettings) details_); + } + if (detailsCase_ == 17) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 17, (com.google.cloud.chronicle.v1.OktaSettings) details_); + } + if (detailsCase_ == 18) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 18, (com.google.cloud.chronicle.v1.OktaUserContextSettings) details_); + } + if (detailsCase_ == 19) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 19, (com.google.cloud.chronicle.v1.FoxITStixSettings) details_); + } + if (detailsCase_ == 20) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 20, (com.google.cloud.chronicle.v1.ThreatConnectIoCSettings) details_); + } + if (detailsCase_ == 21) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 21, (com.google.cloud.chronicle.v1.ServiceNowCMDBSettings) details_); + } + if (detailsCase_ == 22) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 22, (com.google.cloud.chronicle.v1.ImpervaWAFSettings) details_); + } + if (detailsCase_ == 23) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 23, (com.google.cloud.chronicle.v1.ThinkstCanarySettings) details_); + } + if (detailsCase_ == 24) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 24, (com.google.cloud.chronicle.v1.RHIsacIocSettings) details_); + } + if (detailsCase_ == 25) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 25, (com.google.cloud.chronicle.v1.Rapid7InsightSettings) details_); + } + if (detailsCase_ == 26) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 26, (com.google.cloud.chronicle.v1.SalesforceSettings) details_); + } + if (detailsCase_ == 27) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 27, (com.google.cloud.chronicle.v1.NetskopeAlertSettings) details_); + } + if (detailsCase_ == 28) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 28, (com.google.cloud.chronicle.v1.AzureMDMIntuneSettings) details_); + } + if (detailsCase_ == 29) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 29, (com.google.cloud.chronicle.v1.AzureADSettings) details_); + } + if (detailsCase_ == 30) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 30, (com.google.cloud.chronicle.v1.ProofpointOnDemandSettings) details_); + } + if (detailsCase_ == 31) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 31, (com.google.cloud.chronicle.v1.WorkspaceUsersSettings) details_); + } + if (detailsCase_ == 32) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 32, (com.google.cloud.chronicle.v1.WorkspaceActivitySettings) details_); + } + if (detailsCase_ == 33) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 33, (com.google.cloud.chronicle.v1.WorkspaceAlertsSettings) details_); + } + if (detailsCase_ == 34) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 34, (com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings) details_); + } + if (detailsCase_ == 35) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 35, (com.google.cloud.chronicle.v1.WorkspaceMobileSettings) details_); + } + if (detailsCase_ == 36) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 36, (com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings) details_); + } + if (detailsCase_ == 37) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 37, (com.google.cloud.chronicle.v1.WorkspaceGroupsSettings) details_); + } + if (detailsCase_ == 38) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 38, (com.google.cloud.chronicle.v1.AzureADAuditSettings) details_); + } + if (detailsCase_ == 39) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 39, (com.google.cloud.chronicle.v1.SymantecEventExportSettings) details_); + } + if (detailsCase_ == 40) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 40, (com.google.cloud.chronicle.v1.QualysVMSettings) details_); + } + if (detailsCase_ == 41) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 41, (com.google.cloud.chronicle.v1.PanPrismaCloudSettings) details_); + } + if (detailsCase_ == 42) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 42, (com.google.cloud.chronicle.v1.GoogleCloudStorageSettings) details_); + } + if (detailsCase_ == 43) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 43, (com.google.cloud.chronicle.v1.HttpSettings) details_); + } + if (detailsCase_ == 44) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 44, (com.google.cloud.chronicle.v1.SftpSettings) details_); + } + if (detailsCase_ == 45) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 45, (com.google.cloud.chronicle.v1.AmazonS3Settings) details_); + } + if (detailsCase_ == 46) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 46, (com.google.cloud.chronicle.v1.AzureBlobStoreSettings) details_); + } + if (detailsCase_ == 47) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 47, (com.google.cloud.chronicle.v1.AmazonSQSSettings) details_); + } + if (detailsCase_ == 48) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 48, (com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings) details_); + } + if (detailsCase_ == 49) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 49, (com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings) details_); + } + if (detailsCase_ == 50) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 50, (com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings) details_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(assetNamespace_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(51, assetNamespace_); + } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(52, labels__); + } + if (detailsCase_ == 53) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 53, (com.google.cloud.chronicle.v1.MandiantIoCSettings) details_); + } + if (detailsCase_ == 54) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 54, (com.google.cloud.chronicle.v1.SentineloneAlertSettings) details_); + } + if (detailsCase_ == 55) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 55, (com.google.cloud.chronicle.v1.QualysScanSettings) details_); + } + if (detailsCase_ == 56) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 56, (com.google.cloud.chronicle.v1.PubsubSettings) details_); + } + if (detailsCase_ == 57) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 57, (com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings) details_); + } + if (detailsCase_ == 58) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 58, (com.google.cloud.chronicle.v1.WebhookSettings) details_); + } + if (detailsCase_ == 59) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 59, (com.google.cloud.chronicle.v1.DummyLogTypeSettings) details_); + } + if (detailsCase_ == 60) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 60, (com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings) details_); + } + if (detailsCase_ == 61) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 61, (com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings) details_); + } + if (detailsCase_ == 62) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 62, (com.google.cloud.chronicle.v1.HttpsPushWebhookSettings) details_); + } + if (detailsCase_ == 63) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 63, (com.google.cloud.chronicle.v1.AWSEC2HostsSettings) details_); + } + if (detailsCase_ == 64) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 64, (com.google.cloud.chronicle.v1.AWSEC2InstancesSettings) details_); + } + if (detailsCase_ == 65) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 65, (com.google.cloud.chronicle.v1.AWSEC2VpcsSettings) details_); + } + if (detailsCase_ == 66) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 66, (com.google.cloud.chronicle.v1.AWSIAMSettings) details_); + } + if (detailsCase_ == 70) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 70, (com.google.cloud.chronicle.v1.NetskopeAlertV2Settings) details_); + } + if (detailsCase_ == 71) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 71, (com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings) details_); + } + if (detailsCase_ == 72) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 72, (com.google.cloud.chronicle.v1.AmazonS3V2Settings) details_); + } + if (detailsCase_ == 73) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 73, (com.google.cloud.chronicle.v1.AmazonSQSV2Settings) details_); + } + if (detailsCase_ == 74) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 74, (com.google.cloud.chronicle.v1.AzureEventHubSettings) details_); + } + if (detailsCase_ == 75) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 75, (com.google.cloud.chronicle.v1.TrellixHxHostsSettings) details_); + } + if (detailsCase_ == 76) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 76, (com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings) details_); + } + if (detailsCase_ == 77) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 77, (com.google.cloud.chronicle.v1.TrellixHxAlertsSettings) details_); + } + if (detailsCase_ == 78) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 78, (com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings) details_); + } + if (detailsCase_ == 79) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 79, (com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings) details_); + } + if (detailsCase_ == 80) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 80, (com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings) details_); + } + if (stsMigrationReadiness_ + != com.google.cloud.chronicle.v1.FeedDetails.STSMigrationReadiness + .STS_MIGRATION_READINESS_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(81, stsMigrationReadiness_); + } + if (detailsCase_ == 82) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 82, (com.google.cloud.chronicle.v1.MimecastMailV2Settings) details_); + } + if (detailsCase_ == 83) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 83, (com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings) details_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 84, getLastV2MigrationAttemptTime()); + } + if (detailsCase_ == 85) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 85, (com.google.cloud.chronicle.v1.CustomAPISettings) details_); + } + 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.cloud.chronicle.v1.FeedDetails)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.FeedDetails other = + (com.google.cloud.chronicle.v1.FeedDetails) obj; + + if (feedSourceType_ != other.feedSourceType_) return false; + if (!getLogType().equals(other.getLogType())) return false; + if (!getAssetNamespace().equals(other.getAssetNamespace())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (stsMigrationReadiness_ != other.stsMigrationReadiness_) return false; + if (hasLastV2MigrationAttemptTime() != other.hasLastV2MigrationAttemptTime()) return false; + if (hasLastV2MigrationAttemptTime()) { + if (!getLastV2MigrationAttemptTime().equals(other.getLastV2MigrationAttemptTime())) + return false; + } + if (!getDetailsCase().equals(other.getDetailsCase())) return false; + switch (detailsCase_) { + case 3: + if (!getAnomaliSettings().equals(other.getAnomaliSettings())) return false; + break; + case 4: + if (!getAzureAdContextSettings().equals(other.getAzureAdContextSettings())) return false; + break; + case 5: + if (!getCloudPassageSettings().equals(other.getCloudPassageSettings())) return false; + break; + case 6: + if (!getCortexXdrSettings().equals(other.getCortexXdrSettings())) return false; + break; + case 7: + if (!getDuoAuthSettings().equals(other.getDuoAuthSettings())) return false; + break; + case 8: + if (!getDuoUserContextSettings().equals(other.getDuoUserContextSettings())) return false; + break; + case 9: + if (!getMicrosoftGraphAlertSettings().equals(other.getMicrosoftGraphAlertSettings())) + return false; + break; + case 10: + if (!getMicrosoftSecurityCenterAlertSettings() + .equals(other.getMicrosoftSecurityCenterAlertSettings())) return false; + break; + case 11: + if (!getMimecastMailSettings().equals(other.getMimecastMailSettings())) return false; + break; + case 12: + if (!getOffice365Settings().equals(other.getOffice365Settings())) return false; + break; + case 13: + if (!getProofpointMailSettings().equals(other.getProofpointMailSettings())) return false; + break; + case 14: + if (!getRecordedFutureIocSettings().equals(other.getRecordedFutureIocSettings())) + return false; + break; + case 15: + if (!getWorkdaySettings().equals(other.getWorkdaySettings())) return false; + break; + case 16: + if (!getPanIocSettings().equals(other.getPanIocSettings())) return false; + break; + case 17: + if (!getOktaSettings().equals(other.getOktaSettings())) return false; + break; + case 18: + if (!getOktaUserContextSettings().equals(other.getOktaUserContextSettings())) return false; + break; + case 19: + if (!getFoxItStixSettings().equals(other.getFoxItStixSettings())) return false; + break; + case 20: + if (!getThreatConnectIocSettings().equals(other.getThreatConnectIocSettings())) + return false; + break; + case 21: + if (!getServiceNowCmdbSettings().equals(other.getServiceNowCmdbSettings())) return false; + break; + case 22: + if (!getImpervaWafSettings().equals(other.getImpervaWafSettings())) return false; + break; + case 23: + if (!getThinkstCanarySettings().equals(other.getThinkstCanarySettings())) return false; + break; + case 24: + if (!getRhIsacIocSettings().equals(other.getRhIsacIocSettings())) return false; + break; + case 25: + if (!getRapid7InsightSettings().equals(other.getRapid7InsightSettings())) return false; + break; + case 26: + if (!getSalesforceSettings().equals(other.getSalesforceSettings())) return false; + break; + case 27: + if (!getNetskopeAlertSettings().equals(other.getNetskopeAlertSettings())) return false; + break; + case 28: + if (!getAzureMdmIntuneSettings().equals(other.getAzureMdmIntuneSettings())) return false; + break; + case 29: + if (!getAzureAdSettings().equals(other.getAzureAdSettings())) return false; + break; + case 30: + if (!getProofpointOnDemandSettings().equals(other.getProofpointOnDemandSettings())) + return false; + break; + case 31: + if (!getWorkspaceUsersSettings().equals(other.getWorkspaceUsersSettings())) return false; + break; + case 32: + if (!getWorkspaceActivitySettings().equals(other.getWorkspaceActivitySettings())) + return false; + break; + case 33: + if (!getWorkspaceAlertsSettings().equals(other.getWorkspaceAlertsSettings())) return false; + break; + case 34: + if (!getWorkspacePrivilegesSettings().equals(other.getWorkspacePrivilegesSettings())) + return false; + break; + case 35: + if (!getWorkspaceMobileSettings().equals(other.getWorkspaceMobileSettings())) return false; + break; + case 36: + if (!getWorkspaceChromeOsSettings().equals(other.getWorkspaceChromeOsSettings())) + return false; + break; + case 37: + if (!getWorkspaceGroupsSettings().equals(other.getWorkspaceGroupsSettings())) return false; + break; + case 38: + if (!getAzureAdAuditSettings().equals(other.getAzureAdAuditSettings())) return false; + break; + case 39: + if (!getSymantecEventExportSettings().equals(other.getSymantecEventExportSettings())) + return false; + break; + case 40: + if (!getQualysVmSettings().equals(other.getQualysVmSettings())) return false; + break; + case 41: + if (!getPanPrismaCloudSettings().equals(other.getPanPrismaCloudSettings())) return false; + break; + case 42: + if (!getGcsSettings().equals(other.getGcsSettings())) return false; + break; + case 43: + if (!getHttpSettings().equals(other.getHttpSettings())) return false; + break; + case 44: + if (!getSftpSettings().equals(other.getSftpSettings())) return false; + break; + case 45: + if (!getAmazonS3Settings().equals(other.getAmazonS3Settings())) return false; + break; + case 46: + if (!getAzureBlobStoreSettings().equals(other.getAzureBlobStoreSettings())) return false; + break; + case 47: + if (!getAmazonSqsSettings().equals(other.getAmazonSqsSettings())) return false; + break; + case 48: + if (!getGoogleCloudIdentityDevicesSettings() + .equals(other.getGoogleCloudIdentityDevicesSettings())) return false; + break; + case 49: + if (!getGoogleCloudIdentityDeviceUsersSettings() + .equals(other.getGoogleCloudIdentityDeviceUsersSettings())) return false; + break; + case 50: + if (!getCrowdstrikeDetectsSettings().equals(other.getCrowdstrikeDetectsSettings())) + return false; + break; + case 53: + if (!getMandiantIocSettings().equals(other.getMandiantIocSettings())) return false; + break; + case 54: + if (!getSentineloneAlertSettings().equals(other.getSentineloneAlertSettings())) + return false; + break; + case 55: + if (!getQualysScanSettings().equals(other.getQualysScanSettings())) return false; + break; + case 56: + if (!getPubsubSettings().equals(other.getPubsubSettings())) return false; + break; + case 57: + if (!getAmazonKinesisFirehoseSettings().equals(other.getAmazonKinesisFirehoseSettings())) + return false; + break; + case 58: + if (!getWebhookSettings().equals(other.getWebhookSettings())) return false; + break; + case 59: + if (!getDummyLogTypeSettings().equals(other.getDummyLogTypeSettings())) return false; + break; + case 60: + if (!getHttpsPushGoogleCloudPubsubSettings() + .equals(other.getHttpsPushGoogleCloudPubsubSettings())) return false; + break; + case 61: + if (!getHttpsPushAmazonKinesisFirehoseSettings() + .equals(other.getHttpsPushAmazonKinesisFirehoseSettings())) return false; + break; + case 62: + if (!getHttpsPushWebhookSettings().equals(other.getHttpsPushWebhookSettings())) + return false; + break; + case 63: + if (!getAwsEc2HostsSettings().equals(other.getAwsEc2HostsSettings())) return false; + break; + case 64: + if (!getAwsEc2InstancesSettings().equals(other.getAwsEc2InstancesSettings())) return false; + break; + case 65: + if (!getAwsEc2VpcsSettings().equals(other.getAwsEc2VpcsSettings())) return false; + break; + case 66: + if (!getAwsIamSettings().equals(other.getAwsIamSettings())) return false; + break; + case 70: + if (!getNetskopeAlertV2Settings().equals(other.getNetskopeAlertV2Settings())) return false; + break; + case 71: + if (!getGcsV2Settings().equals(other.getGcsV2Settings())) return false; + break; + case 72: + if (!getAmazonS3V2Settings().equals(other.getAmazonS3V2Settings())) return false; + break; + case 73: + if (!getAmazonSqsV2Settings().equals(other.getAmazonSqsV2Settings())) return false; + break; + case 74: + if (!getAzureEventHubSettings().equals(other.getAzureEventHubSettings())) return false; + break; + case 75: + if (!getTrellixHxHostsSettings().equals(other.getTrellixHxHostsSettings())) return false; + break; + case 76: + if (!getAzureBlobStoreV2Settings().equals(other.getAzureBlobStoreV2Settings())) + return false; + break; + case 77: + if (!getTrellixHxAlertsSettings().equals(other.getTrellixHxAlertsSettings())) return false; + break; + case 78: + if (!getGoogleCloudStorageEventDrivenSettings() + .equals(other.getGoogleCloudStorageEventDrivenSettings())) return false; + break; + case 79: + if (!getCrowdstrikeAlertsSettings().equals(other.getCrowdstrikeAlertsSettings())) + return false; + break; + case 80: + if (!getTrellixHxBulkAcqsSettings().equals(other.getTrellixHxBulkAcqsSettings())) + return false; + break; + case 82: + if (!getMimecastMailV2Settings().equals(other.getMimecastMailV2Settings())) return false; + break; + case 83: + if (!getThreatConnectIocV3Settings().equals(other.getThreatConnectIocV3Settings())) + return false; + break; + case 85: + if (!getCustomApiSettings().equals(other.getCustomApiSettings())) return false; + break; + case 0: + default: + } + 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) + FEED_SOURCE_TYPE_FIELD_NUMBER; + hash = (53 * hash) + feedSourceType_; + hash = (37 * hash) + LOG_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getLogType().hashCode(); + hash = (37 * hash) + ASSET_NAMESPACE_FIELD_NUMBER; + hash = (53 * hash) + getAssetNamespace().hashCode(); + if (!internalGetLabels().getMap().isEmpty()) { + hash = (37 * hash) + LABELS_FIELD_NUMBER; + hash = (53 * hash) + internalGetLabels().hashCode(); + } + hash = (37 * hash) + STS_MIGRATION_READINESS_FIELD_NUMBER; + hash = (53 * hash) + stsMigrationReadiness_; + if (hasLastV2MigrationAttemptTime()) { + hash = (37 * hash) + LAST_V2_MIGRATION_ATTEMPT_TIME_FIELD_NUMBER; + hash = (53 * hash) + getLastV2MigrationAttemptTime().hashCode(); + } + switch (detailsCase_) { + case 3: + hash = (37 * hash) + ANOMALI_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getAnomaliSettings().hashCode(); + break; + case 4: + hash = (37 * hash) + AZURE_AD_CONTEXT_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getAzureAdContextSettings().hashCode(); + break; + case 5: + hash = (37 * hash) + CLOUD_PASSAGE_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getCloudPassageSettings().hashCode(); + break; + case 6: + hash = (37 * hash) + CORTEX_XDR_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getCortexXdrSettings().hashCode(); + break; + case 7: + hash = (37 * hash) + DUO_AUTH_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getDuoAuthSettings().hashCode(); + break; + case 8: + hash = (37 * hash) + DUO_USER_CONTEXT_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getDuoUserContextSettings().hashCode(); + break; + case 9: + hash = (37 * hash) + MICROSOFT_GRAPH_ALERT_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getMicrosoftGraphAlertSettings().hashCode(); + break; + case 10: + hash = (37 * hash) + MICROSOFT_SECURITY_CENTER_ALERT_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getMicrosoftSecurityCenterAlertSettings().hashCode(); + break; + case 11: + hash = (37 * hash) + MIMECAST_MAIL_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getMimecastMailSettings().hashCode(); + break; + case 12: + hash = (37 * hash) + OFFICE365_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getOffice365Settings().hashCode(); + break; + case 13: + hash = (37 * hash) + PROOFPOINT_MAIL_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getProofpointMailSettings().hashCode(); + break; + case 14: + hash = (37 * hash) + RECORDED_FUTURE_IOC_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getRecordedFutureIocSettings().hashCode(); + break; + case 15: + hash = (37 * hash) + WORKDAY_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getWorkdaySettings().hashCode(); + break; + case 16: + hash = (37 * hash) + PAN_IOC_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getPanIocSettings().hashCode(); + break; + case 17: + hash = (37 * hash) + OKTA_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getOktaSettings().hashCode(); + break; + case 18: + hash = (37 * hash) + OKTA_USER_CONTEXT_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getOktaUserContextSettings().hashCode(); + break; + case 19: + hash = (37 * hash) + FOX_IT_STIX_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getFoxItStixSettings().hashCode(); + break; + case 20: + hash = (37 * hash) + THREAT_CONNECT_IOC_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getThreatConnectIocSettings().hashCode(); + break; + case 21: + hash = (37 * hash) + SERVICE_NOW_CMDB_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getServiceNowCmdbSettings().hashCode(); + break; + case 22: + hash = (37 * hash) + IMPERVA_WAF_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getImpervaWafSettings().hashCode(); + break; + case 23: + hash = (37 * hash) + THINKST_CANARY_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getThinkstCanarySettings().hashCode(); + break; + case 24: + hash = (37 * hash) + RH_ISAC_IOC_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getRhIsacIocSettings().hashCode(); + break; + case 25: + hash = (37 * hash) + RAPID7_INSIGHT_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getRapid7InsightSettings().hashCode(); + break; + case 26: + hash = (37 * hash) + SALESFORCE_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getSalesforceSettings().hashCode(); + break; + case 27: + hash = (37 * hash) + NETSKOPE_ALERT_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getNetskopeAlertSettings().hashCode(); + break; + case 28: + hash = (37 * hash) + AZURE_MDM_INTUNE_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getAzureMdmIntuneSettings().hashCode(); + break; + case 29: + hash = (37 * hash) + AZURE_AD_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getAzureAdSettings().hashCode(); + break; + case 30: + hash = (37 * hash) + PROOFPOINT_ON_DEMAND_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getProofpointOnDemandSettings().hashCode(); + break; + case 31: + hash = (37 * hash) + WORKSPACE_USERS_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getWorkspaceUsersSettings().hashCode(); + break; + case 32: + hash = (37 * hash) + WORKSPACE_ACTIVITY_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getWorkspaceActivitySettings().hashCode(); + break; + case 33: + hash = (37 * hash) + WORKSPACE_ALERTS_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getWorkspaceAlertsSettings().hashCode(); + break; + case 34: + hash = (37 * hash) + WORKSPACE_PRIVILEGES_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getWorkspacePrivilegesSettings().hashCode(); + break; + case 35: + hash = (37 * hash) + WORKSPACE_MOBILE_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getWorkspaceMobileSettings().hashCode(); + break; + case 36: + hash = (37 * hash) + WORKSPACE_CHROME_OS_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getWorkspaceChromeOsSettings().hashCode(); + break; + case 37: + hash = (37 * hash) + WORKSPACE_GROUPS_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getWorkspaceGroupsSettings().hashCode(); + break; + case 38: + hash = (37 * hash) + AZURE_AD_AUDIT_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getAzureAdAuditSettings().hashCode(); + break; + case 39: + hash = (37 * hash) + SYMANTEC_EVENT_EXPORT_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getSymantecEventExportSettings().hashCode(); + break; + case 40: + hash = (37 * hash) + QUALYS_VM_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getQualysVmSettings().hashCode(); + break; + case 41: + hash = (37 * hash) + PAN_PRISMA_CLOUD_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getPanPrismaCloudSettings().hashCode(); + break; + case 42: + hash = (37 * hash) + GCS_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getGcsSettings().hashCode(); + break; + case 43: + hash = (37 * hash) + HTTP_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getHttpSettings().hashCode(); + break; + case 44: + hash = (37 * hash) + SFTP_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getSftpSettings().hashCode(); + break; + case 45: + hash = (37 * hash) + AMAZON_S3_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getAmazonS3Settings().hashCode(); + break; + case 46: + hash = (37 * hash) + AZURE_BLOB_STORE_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getAzureBlobStoreSettings().hashCode(); + break; + case 47: + hash = (37 * hash) + AMAZON_SQS_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getAmazonSqsSettings().hashCode(); + break; + case 48: + hash = (37 * hash) + GOOGLE_CLOUD_IDENTITY_DEVICES_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getGoogleCloudIdentityDevicesSettings().hashCode(); + break; + case 49: + hash = (37 * hash) + GOOGLE_CLOUD_IDENTITY_DEVICE_USERS_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getGoogleCloudIdentityDeviceUsersSettings().hashCode(); + break; + case 50: + hash = (37 * hash) + CROWDSTRIKE_DETECTS_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getCrowdstrikeDetectsSettings().hashCode(); + break; + case 53: + hash = (37 * hash) + MANDIANT_IOC_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getMandiantIocSettings().hashCode(); + break; + case 54: + hash = (37 * hash) + SENTINELONE_ALERT_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getSentineloneAlertSettings().hashCode(); + break; + case 55: + hash = (37 * hash) + QUALYS_SCAN_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getQualysScanSettings().hashCode(); + break; + case 56: + hash = (37 * hash) + PUBSUB_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getPubsubSettings().hashCode(); + break; + case 57: + hash = (37 * hash) + AMAZON_KINESIS_FIREHOSE_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getAmazonKinesisFirehoseSettings().hashCode(); + break; + case 58: + hash = (37 * hash) + WEBHOOK_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getWebhookSettings().hashCode(); + break; + case 59: + hash = (37 * hash) + DUMMY_LOG_TYPE_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getDummyLogTypeSettings().hashCode(); + break; + case 60: + hash = (37 * hash) + HTTPS_PUSH_GOOGLE_CLOUD_PUBSUB_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getHttpsPushGoogleCloudPubsubSettings().hashCode(); + break; + case 61: + hash = (37 * hash) + HTTPS_PUSH_AMAZON_KINESIS_FIREHOSE_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getHttpsPushAmazonKinesisFirehoseSettings().hashCode(); + break; + case 62: + hash = (37 * hash) + HTTPS_PUSH_WEBHOOK_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getHttpsPushWebhookSettings().hashCode(); + break; + case 63: + hash = (37 * hash) + AWS_EC2_HOSTS_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getAwsEc2HostsSettings().hashCode(); + break; + case 64: + hash = (37 * hash) + AWS_EC2_INSTANCES_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getAwsEc2InstancesSettings().hashCode(); + break; + case 65: + hash = (37 * hash) + AWS_EC2_VPCS_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getAwsEc2VpcsSettings().hashCode(); + break; + case 66: + hash = (37 * hash) + AWS_IAM_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getAwsIamSettings().hashCode(); + break; + case 70: + hash = (37 * hash) + NETSKOPE_ALERT_V2_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getNetskopeAlertV2Settings().hashCode(); + break; + case 71: + hash = (37 * hash) + GCS_V2_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getGcsV2Settings().hashCode(); + break; + case 72: + hash = (37 * hash) + AMAZON_S3_V2_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getAmazonS3V2Settings().hashCode(); + break; + case 73: + hash = (37 * hash) + AMAZON_SQS_V2_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getAmazonSqsV2Settings().hashCode(); + break; + case 74: + hash = (37 * hash) + AZURE_EVENT_HUB_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getAzureEventHubSettings().hashCode(); + break; + case 75: + hash = (37 * hash) + TRELLIX_HX_HOSTS_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getTrellixHxHostsSettings().hashCode(); + break; + case 76: + hash = (37 * hash) + AZURE_BLOB_STORE_V2_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getAzureBlobStoreV2Settings().hashCode(); + break; + case 77: + hash = (37 * hash) + TRELLIX_HX_ALERTS_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getTrellixHxAlertsSettings().hashCode(); + break; + case 78: + hash = (37 * hash) + GOOGLE_CLOUD_STORAGE_EVENT_DRIVEN_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getGoogleCloudStorageEventDrivenSettings().hashCode(); + break; + case 79: + hash = (37 * hash) + CROWDSTRIKE_ALERTS_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getCrowdstrikeAlertsSettings().hashCode(); + break; + case 80: + hash = (37 * hash) + TRELLIX_HX_BULK_ACQS_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getTrellixHxBulkAcqsSettings().hashCode(); + break; + case 82: + hash = (37 * hash) + MIMECAST_MAIL_V2_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getMimecastMailV2Settings().hashCode(); + break; + case 83: + hash = (37 * hash) + THREAT_CONNECT_IOC_V3_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getThreatConnectIocV3Settings().hashCode(); + break; + case 85: + hash = (37 * hash) + CUSTOM_API_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getCustomApiSettings().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.FeedDetails parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.FeedDetails parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FeedDetails parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.FeedDetails 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.cloud.chronicle.v1.FeedDetails parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.FeedDetails parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FeedDetails parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.FeedDetails parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FeedDetails parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.FeedDetails parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FeedDetails parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.FeedDetails parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.FeedDetails 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Additional details of the feed, these details are dynamic and will be
+   * different for each of the feeds.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.FeedDetails} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.FeedDetails) + com.google.cloud.chronicle.v1.FeedDetailsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FeedDetails_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 52: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 52: + return internalGetMutableLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FeedDetails_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.FeedDetails.class, + com.google.cloud.chronicle.v1.FeedDetails.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.FeedDetails.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetLastV2MigrationAttemptTimeFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + bitField1_ = 0; + bitField2_ = 0; + if (anomaliSettingsBuilder_ != null) { + anomaliSettingsBuilder_.clear(); + } + if (azureAdContextSettingsBuilder_ != null) { + azureAdContextSettingsBuilder_.clear(); + } + if (cloudPassageSettingsBuilder_ != null) { + cloudPassageSettingsBuilder_.clear(); + } + if (cortexXdrSettingsBuilder_ != null) { + cortexXdrSettingsBuilder_.clear(); + } + if (duoAuthSettingsBuilder_ != null) { + duoAuthSettingsBuilder_.clear(); + } + if (duoUserContextSettingsBuilder_ != null) { + duoUserContextSettingsBuilder_.clear(); + } + if (microsoftGraphAlertSettingsBuilder_ != null) { + microsoftGraphAlertSettingsBuilder_.clear(); + } + if (microsoftSecurityCenterAlertSettingsBuilder_ != null) { + microsoftSecurityCenterAlertSettingsBuilder_.clear(); + } + if (mimecastMailSettingsBuilder_ != null) { + mimecastMailSettingsBuilder_.clear(); + } + if (office365SettingsBuilder_ != null) { + office365SettingsBuilder_.clear(); + } + if (proofpointMailSettingsBuilder_ != null) { + proofpointMailSettingsBuilder_.clear(); + } + if (recordedFutureIocSettingsBuilder_ != null) { + recordedFutureIocSettingsBuilder_.clear(); + } + if (workdaySettingsBuilder_ != null) { + workdaySettingsBuilder_.clear(); + } + if (panIocSettingsBuilder_ != null) { + panIocSettingsBuilder_.clear(); + } + if (oktaSettingsBuilder_ != null) { + oktaSettingsBuilder_.clear(); + } + if (oktaUserContextSettingsBuilder_ != null) { + oktaUserContextSettingsBuilder_.clear(); + } + if (foxItStixSettingsBuilder_ != null) { + foxItStixSettingsBuilder_.clear(); + } + if (threatConnectIocSettingsBuilder_ != null) { + threatConnectIocSettingsBuilder_.clear(); + } + if (serviceNowCmdbSettingsBuilder_ != null) { + serviceNowCmdbSettingsBuilder_.clear(); + } + if (impervaWafSettingsBuilder_ != null) { + impervaWafSettingsBuilder_.clear(); + } + if (thinkstCanarySettingsBuilder_ != null) { + thinkstCanarySettingsBuilder_.clear(); + } + if (rhIsacIocSettingsBuilder_ != null) { + rhIsacIocSettingsBuilder_.clear(); + } + if (rapid7InsightSettingsBuilder_ != null) { + rapid7InsightSettingsBuilder_.clear(); + } + if (salesforceSettingsBuilder_ != null) { + salesforceSettingsBuilder_.clear(); + } + if (netskopeAlertSettingsBuilder_ != null) { + netskopeAlertSettingsBuilder_.clear(); + } + if (azureMdmIntuneSettingsBuilder_ != null) { + azureMdmIntuneSettingsBuilder_.clear(); + } + if (azureAdSettingsBuilder_ != null) { + azureAdSettingsBuilder_.clear(); + } + if (proofpointOnDemandSettingsBuilder_ != null) { + proofpointOnDemandSettingsBuilder_.clear(); + } + if (workspaceUsersSettingsBuilder_ != null) { + workspaceUsersSettingsBuilder_.clear(); + } + if (workspaceActivitySettingsBuilder_ != null) { + workspaceActivitySettingsBuilder_.clear(); + } + if (workspaceAlertsSettingsBuilder_ != null) { + workspaceAlertsSettingsBuilder_.clear(); + } + if (workspacePrivilegesSettingsBuilder_ != null) { + workspacePrivilegesSettingsBuilder_.clear(); + } + if (workspaceMobileSettingsBuilder_ != null) { + workspaceMobileSettingsBuilder_.clear(); + } + if (workspaceChromeOsSettingsBuilder_ != null) { + workspaceChromeOsSettingsBuilder_.clear(); + } + if (workspaceGroupsSettingsBuilder_ != null) { + workspaceGroupsSettingsBuilder_.clear(); + } + if (azureAdAuditSettingsBuilder_ != null) { + azureAdAuditSettingsBuilder_.clear(); + } + if (symantecEventExportSettingsBuilder_ != null) { + symantecEventExportSettingsBuilder_.clear(); + } + if (qualysVmSettingsBuilder_ != null) { + qualysVmSettingsBuilder_.clear(); + } + if (panPrismaCloudSettingsBuilder_ != null) { + panPrismaCloudSettingsBuilder_.clear(); + } + if (gcsSettingsBuilder_ != null) { + gcsSettingsBuilder_.clear(); + } + if (httpSettingsBuilder_ != null) { + httpSettingsBuilder_.clear(); + } + if (sftpSettingsBuilder_ != null) { + sftpSettingsBuilder_.clear(); + } + if (amazonS3SettingsBuilder_ != null) { + amazonS3SettingsBuilder_.clear(); + } + if (azureBlobStoreSettingsBuilder_ != null) { + azureBlobStoreSettingsBuilder_.clear(); + } + if (amazonSqsSettingsBuilder_ != null) { + amazonSqsSettingsBuilder_.clear(); + } + if (googleCloudIdentityDevicesSettingsBuilder_ != null) { + googleCloudIdentityDevicesSettingsBuilder_.clear(); + } + if (googleCloudIdentityDeviceUsersSettingsBuilder_ != null) { + googleCloudIdentityDeviceUsersSettingsBuilder_.clear(); + } + if (crowdstrikeDetectsSettingsBuilder_ != null) { + crowdstrikeDetectsSettingsBuilder_.clear(); + } + if (mandiantIocSettingsBuilder_ != null) { + mandiantIocSettingsBuilder_.clear(); + } + if (sentineloneAlertSettingsBuilder_ != null) { + sentineloneAlertSettingsBuilder_.clear(); + } + if (qualysScanSettingsBuilder_ != null) { + qualysScanSettingsBuilder_.clear(); + } + if (pubsubSettingsBuilder_ != null) { + pubsubSettingsBuilder_.clear(); + } + if (amazonKinesisFirehoseSettingsBuilder_ != null) { + amazonKinesisFirehoseSettingsBuilder_.clear(); + } + if (webhookSettingsBuilder_ != null) { + webhookSettingsBuilder_.clear(); + } + if (dummyLogTypeSettingsBuilder_ != null) { + dummyLogTypeSettingsBuilder_.clear(); + } + if (httpsPushGoogleCloudPubsubSettingsBuilder_ != null) { + httpsPushGoogleCloudPubsubSettingsBuilder_.clear(); + } + if (httpsPushAmazonKinesisFirehoseSettingsBuilder_ != null) { + httpsPushAmazonKinesisFirehoseSettingsBuilder_.clear(); + } + if (httpsPushWebhookSettingsBuilder_ != null) { + httpsPushWebhookSettingsBuilder_.clear(); + } + if (awsEc2HostsSettingsBuilder_ != null) { + awsEc2HostsSettingsBuilder_.clear(); + } + if (awsEc2InstancesSettingsBuilder_ != null) { + awsEc2InstancesSettingsBuilder_.clear(); + } + if (awsEc2VpcsSettingsBuilder_ != null) { + awsEc2VpcsSettingsBuilder_.clear(); + } + if (awsIamSettingsBuilder_ != null) { + awsIamSettingsBuilder_.clear(); + } + if (netskopeAlertV2SettingsBuilder_ != null) { + netskopeAlertV2SettingsBuilder_.clear(); + } + if (gcsV2SettingsBuilder_ != null) { + gcsV2SettingsBuilder_.clear(); + } + if (amazonS3V2SettingsBuilder_ != null) { + amazonS3V2SettingsBuilder_.clear(); + } + if (amazonSqsV2SettingsBuilder_ != null) { + amazonSqsV2SettingsBuilder_.clear(); + } + if (azureEventHubSettingsBuilder_ != null) { + azureEventHubSettingsBuilder_.clear(); + } + if (trellixHxHostsSettingsBuilder_ != null) { + trellixHxHostsSettingsBuilder_.clear(); + } + if (azureBlobStoreV2SettingsBuilder_ != null) { + azureBlobStoreV2SettingsBuilder_.clear(); + } + if (trellixHxAlertsSettingsBuilder_ != null) { + trellixHxAlertsSettingsBuilder_.clear(); + } + if (googleCloudStorageEventDrivenSettingsBuilder_ != null) { + googleCloudStorageEventDrivenSettingsBuilder_.clear(); + } + if (crowdstrikeAlertsSettingsBuilder_ != null) { + crowdstrikeAlertsSettingsBuilder_.clear(); + } + if (trellixHxBulkAcqsSettingsBuilder_ != null) { + trellixHxBulkAcqsSettingsBuilder_.clear(); + } + if (mimecastMailV2SettingsBuilder_ != null) { + mimecastMailV2SettingsBuilder_.clear(); + } + if (threatConnectIocV3SettingsBuilder_ != null) { + threatConnectIocV3SettingsBuilder_.clear(); + } + if (customApiSettingsBuilder_ != null) { + customApiSettingsBuilder_.clear(); + } + feedSourceType_ = 0; + logType_ = ""; + assetNamespace_ = ""; + internalGetMutableLabels().clear(); + stsMigrationReadiness_ = 0; + lastV2MigrationAttemptTime_ = null; + if (lastV2MigrationAttemptTimeBuilder_ != null) { + lastV2MigrationAttemptTimeBuilder_.dispose(); + lastV2MigrationAttemptTimeBuilder_ = null; + } + detailsCase_ = 0; + details_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FeedDetails_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedDetails getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.FeedDetails.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedDetails build() { + com.google.cloud.chronicle.v1.FeedDetails result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedDetails buildPartial() { + com.google.cloud.chronicle.v1.FeedDetails result = + new com.google.cloud.chronicle.v1.FeedDetails(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + if (bitField1_ != 0) { + buildPartial1(result); + } + if (bitField2_ != 0) { + buildPartial2(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.FeedDetails result) { + int from_bitField0_ = bitField0_; + } + + private void buildPartial1(com.google.cloud.chronicle.v1.FeedDetails result) { + int from_bitField1_ = bitField1_; + } + + private void buildPartial2(com.google.cloud.chronicle.v1.FeedDetails result) { + int from_bitField2_ = bitField2_; + if (((from_bitField2_ & 0x00001000) != 0)) { + result.feedSourceType_ = feedSourceType_; + } + if (((from_bitField2_ & 0x00002000) != 0)) { + result.logType_ = logType_; + } + if (((from_bitField2_ & 0x00004000) != 0)) { + result.assetNamespace_ = assetNamespace_; + } + if (((from_bitField2_ & 0x00008000) != 0)) { + result.labels_ = internalGetLabels(); + result.labels_.makeImmutable(); + } + if (((from_bitField2_ & 0x00010000) != 0)) { + result.stsMigrationReadiness_ = stsMigrationReadiness_; + } + int to_bitField0_ = 0; + if (((from_bitField2_ & 0x00020000) != 0)) { + result.lastV2MigrationAttemptTime_ = + lastV2MigrationAttemptTimeBuilder_ == null + ? lastV2MigrationAttemptTime_ + : lastV2MigrationAttemptTimeBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + private void buildPartialOneofs(com.google.cloud.chronicle.v1.FeedDetails result) { + result.detailsCase_ = detailsCase_; + result.details_ = this.details_; + if (detailsCase_ == 3 && anomaliSettingsBuilder_ != null) { + result.details_ = anomaliSettingsBuilder_.build(); + } + if (detailsCase_ == 4 && azureAdContextSettingsBuilder_ != null) { + result.details_ = azureAdContextSettingsBuilder_.build(); + } + if (detailsCase_ == 5 && cloudPassageSettingsBuilder_ != null) { + result.details_ = cloudPassageSettingsBuilder_.build(); + } + if (detailsCase_ == 6 && cortexXdrSettingsBuilder_ != null) { + result.details_ = cortexXdrSettingsBuilder_.build(); + } + if (detailsCase_ == 7 && duoAuthSettingsBuilder_ != null) { + result.details_ = duoAuthSettingsBuilder_.build(); + } + if (detailsCase_ == 8 && duoUserContextSettingsBuilder_ != null) { + result.details_ = duoUserContextSettingsBuilder_.build(); + } + if (detailsCase_ == 9 && microsoftGraphAlertSettingsBuilder_ != null) { + result.details_ = microsoftGraphAlertSettingsBuilder_.build(); + } + if (detailsCase_ == 10 && microsoftSecurityCenterAlertSettingsBuilder_ != null) { + result.details_ = microsoftSecurityCenterAlertSettingsBuilder_.build(); + } + if (detailsCase_ == 11 && mimecastMailSettingsBuilder_ != null) { + result.details_ = mimecastMailSettingsBuilder_.build(); + } + if (detailsCase_ == 12 && office365SettingsBuilder_ != null) { + result.details_ = office365SettingsBuilder_.build(); + } + if (detailsCase_ == 13 && proofpointMailSettingsBuilder_ != null) { + result.details_ = proofpointMailSettingsBuilder_.build(); + } + if (detailsCase_ == 14 && recordedFutureIocSettingsBuilder_ != null) { + result.details_ = recordedFutureIocSettingsBuilder_.build(); + } + if (detailsCase_ == 15 && workdaySettingsBuilder_ != null) { + result.details_ = workdaySettingsBuilder_.build(); + } + if (detailsCase_ == 16 && panIocSettingsBuilder_ != null) { + result.details_ = panIocSettingsBuilder_.build(); + } + if (detailsCase_ == 17 && oktaSettingsBuilder_ != null) { + result.details_ = oktaSettingsBuilder_.build(); + } + if (detailsCase_ == 18 && oktaUserContextSettingsBuilder_ != null) { + result.details_ = oktaUserContextSettingsBuilder_.build(); + } + if (detailsCase_ == 19 && foxItStixSettingsBuilder_ != null) { + result.details_ = foxItStixSettingsBuilder_.build(); + } + if (detailsCase_ == 20 && threatConnectIocSettingsBuilder_ != null) { + result.details_ = threatConnectIocSettingsBuilder_.build(); + } + if (detailsCase_ == 21 && serviceNowCmdbSettingsBuilder_ != null) { + result.details_ = serviceNowCmdbSettingsBuilder_.build(); + } + if (detailsCase_ == 22 && impervaWafSettingsBuilder_ != null) { + result.details_ = impervaWafSettingsBuilder_.build(); + } + if (detailsCase_ == 23 && thinkstCanarySettingsBuilder_ != null) { + result.details_ = thinkstCanarySettingsBuilder_.build(); + } + if (detailsCase_ == 24 && rhIsacIocSettingsBuilder_ != null) { + result.details_ = rhIsacIocSettingsBuilder_.build(); + } + if (detailsCase_ == 25 && rapid7InsightSettingsBuilder_ != null) { + result.details_ = rapid7InsightSettingsBuilder_.build(); + } + if (detailsCase_ == 26 && salesforceSettingsBuilder_ != null) { + result.details_ = salesforceSettingsBuilder_.build(); + } + if (detailsCase_ == 27 && netskopeAlertSettingsBuilder_ != null) { + result.details_ = netskopeAlertSettingsBuilder_.build(); + } + if (detailsCase_ == 28 && azureMdmIntuneSettingsBuilder_ != null) { + result.details_ = azureMdmIntuneSettingsBuilder_.build(); + } + if (detailsCase_ == 29 && azureAdSettingsBuilder_ != null) { + result.details_ = azureAdSettingsBuilder_.build(); + } + if (detailsCase_ == 30 && proofpointOnDemandSettingsBuilder_ != null) { + result.details_ = proofpointOnDemandSettingsBuilder_.build(); + } + if (detailsCase_ == 31 && workspaceUsersSettingsBuilder_ != null) { + result.details_ = workspaceUsersSettingsBuilder_.build(); + } + if (detailsCase_ == 32 && workspaceActivitySettingsBuilder_ != null) { + result.details_ = workspaceActivitySettingsBuilder_.build(); + } + if (detailsCase_ == 33 && workspaceAlertsSettingsBuilder_ != null) { + result.details_ = workspaceAlertsSettingsBuilder_.build(); + } + if (detailsCase_ == 34 && workspacePrivilegesSettingsBuilder_ != null) { + result.details_ = workspacePrivilegesSettingsBuilder_.build(); + } + if (detailsCase_ == 35 && workspaceMobileSettingsBuilder_ != null) { + result.details_ = workspaceMobileSettingsBuilder_.build(); + } + if (detailsCase_ == 36 && workspaceChromeOsSettingsBuilder_ != null) { + result.details_ = workspaceChromeOsSettingsBuilder_.build(); + } + if (detailsCase_ == 37 && workspaceGroupsSettingsBuilder_ != null) { + result.details_ = workspaceGroupsSettingsBuilder_.build(); + } + if (detailsCase_ == 38 && azureAdAuditSettingsBuilder_ != null) { + result.details_ = azureAdAuditSettingsBuilder_.build(); + } + if (detailsCase_ == 39 && symantecEventExportSettingsBuilder_ != null) { + result.details_ = symantecEventExportSettingsBuilder_.build(); + } + if (detailsCase_ == 40 && qualysVmSettingsBuilder_ != null) { + result.details_ = qualysVmSettingsBuilder_.build(); + } + if (detailsCase_ == 41 && panPrismaCloudSettingsBuilder_ != null) { + result.details_ = panPrismaCloudSettingsBuilder_.build(); + } + if (detailsCase_ == 42 && gcsSettingsBuilder_ != null) { + result.details_ = gcsSettingsBuilder_.build(); + } + if (detailsCase_ == 43 && httpSettingsBuilder_ != null) { + result.details_ = httpSettingsBuilder_.build(); + } + if (detailsCase_ == 44 && sftpSettingsBuilder_ != null) { + result.details_ = sftpSettingsBuilder_.build(); + } + if (detailsCase_ == 45 && amazonS3SettingsBuilder_ != null) { + result.details_ = amazonS3SettingsBuilder_.build(); + } + if (detailsCase_ == 46 && azureBlobStoreSettingsBuilder_ != null) { + result.details_ = azureBlobStoreSettingsBuilder_.build(); + } + if (detailsCase_ == 47 && amazonSqsSettingsBuilder_ != null) { + result.details_ = amazonSqsSettingsBuilder_.build(); + } + if (detailsCase_ == 48 && googleCloudIdentityDevicesSettingsBuilder_ != null) { + result.details_ = googleCloudIdentityDevicesSettingsBuilder_.build(); + } + if (detailsCase_ == 49 && googleCloudIdentityDeviceUsersSettingsBuilder_ != null) { + result.details_ = googleCloudIdentityDeviceUsersSettingsBuilder_.build(); + } + if (detailsCase_ == 50 && crowdstrikeDetectsSettingsBuilder_ != null) { + result.details_ = crowdstrikeDetectsSettingsBuilder_.build(); + } + if (detailsCase_ == 53 && mandiantIocSettingsBuilder_ != null) { + result.details_ = mandiantIocSettingsBuilder_.build(); + } + if (detailsCase_ == 54 && sentineloneAlertSettingsBuilder_ != null) { + result.details_ = sentineloneAlertSettingsBuilder_.build(); + } + if (detailsCase_ == 55 && qualysScanSettingsBuilder_ != null) { + result.details_ = qualysScanSettingsBuilder_.build(); + } + if (detailsCase_ == 56 && pubsubSettingsBuilder_ != null) { + result.details_ = pubsubSettingsBuilder_.build(); + } + if (detailsCase_ == 57 && amazonKinesisFirehoseSettingsBuilder_ != null) { + result.details_ = amazonKinesisFirehoseSettingsBuilder_.build(); + } + if (detailsCase_ == 58 && webhookSettingsBuilder_ != null) { + result.details_ = webhookSettingsBuilder_.build(); + } + if (detailsCase_ == 59 && dummyLogTypeSettingsBuilder_ != null) { + result.details_ = dummyLogTypeSettingsBuilder_.build(); + } + if (detailsCase_ == 60 && httpsPushGoogleCloudPubsubSettingsBuilder_ != null) { + result.details_ = httpsPushGoogleCloudPubsubSettingsBuilder_.build(); + } + if (detailsCase_ == 61 && httpsPushAmazonKinesisFirehoseSettingsBuilder_ != null) { + result.details_ = httpsPushAmazonKinesisFirehoseSettingsBuilder_.build(); + } + if (detailsCase_ == 62 && httpsPushWebhookSettingsBuilder_ != null) { + result.details_ = httpsPushWebhookSettingsBuilder_.build(); + } + if (detailsCase_ == 63 && awsEc2HostsSettingsBuilder_ != null) { + result.details_ = awsEc2HostsSettingsBuilder_.build(); + } + if (detailsCase_ == 64 && awsEc2InstancesSettingsBuilder_ != null) { + result.details_ = awsEc2InstancesSettingsBuilder_.build(); + } + if (detailsCase_ == 65 && awsEc2VpcsSettingsBuilder_ != null) { + result.details_ = awsEc2VpcsSettingsBuilder_.build(); + } + if (detailsCase_ == 66 && awsIamSettingsBuilder_ != null) { + result.details_ = awsIamSettingsBuilder_.build(); + } + if (detailsCase_ == 70 && netskopeAlertV2SettingsBuilder_ != null) { + result.details_ = netskopeAlertV2SettingsBuilder_.build(); + } + if (detailsCase_ == 71 && gcsV2SettingsBuilder_ != null) { + result.details_ = gcsV2SettingsBuilder_.build(); + } + if (detailsCase_ == 72 && amazonS3V2SettingsBuilder_ != null) { + result.details_ = amazonS3V2SettingsBuilder_.build(); + } + if (detailsCase_ == 73 && amazonSqsV2SettingsBuilder_ != null) { + result.details_ = amazonSqsV2SettingsBuilder_.build(); + } + if (detailsCase_ == 74 && azureEventHubSettingsBuilder_ != null) { + result.details_ = azureEventHubSettingsBuilder_.build(); + } + if (detailsCase_ == 75 && trellixHxHostsSettingsBuilder_ != null) { + result.details_ = trellixHxHostsSettingsBuilder_.build(); + } + if (detailsCase_ == 76 && azureBlobStoreV2SettingsBuilder_ != null) { + result.details_ = azureBlobStoreV2SettingsBuilder_.build(); + } + if (detailsCase_ == 77 && trellixHxAlertsSettingsBuilder_ != null) { + result.details_ = trellixHxAlertsSettingsBuilder_.build(); + } + if (detailsCase_ == 78 && googleCloudStorageEventDrivenSettingsBuilder_ != null) { + result.details_ = googleCloudStorageEventDrivenSettingsBuilder_.build(); + } + if (detailsCase_ == 79 && crowdstrikeAlertsSettingsBuilder_ != null) { + result.details_ = crowdstrikeAlertsSettingsBuilder_.build(); + } + if (detailsCase_ == 80 && trellixHxBulkAcqsSettingsBuilder_ != null) { + result.details_ = trellixHxBulkAcqsSettingsBuilder_.build(); + } + if (detailsCase_ == 82 && mimecastMailV2SettingsBuilder_ != null) { + result.details_ = mimecastMailV2SettingsBuilder_.build(); + } + if (detailsCase_ == 83 && threatConnectIocV3SettingsBuilder_ != null) { + result.details_ = threatConnectIocV3SettingsBuilder_.build(); + } + if (detailsCase_ == 85 && customApiSettingsBuilder_ != null) { + result.details_ = customApiSettingsBuilder_.build(); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.FeedDetails) { + return mergeFrom((com.google.cloud.chronicle.v1.FeedDetails) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.FeedDetails other) { + if (other == com.google.cloud.chronicle.v1.FeedDetails.getDefaultInstance()) return this; + if (other.feedSourceType_ != 0) { + setFeedSourceTypeValue(other.getFeedSourceTypeValue()); + } + if (!other.getLogType().isEmpty()) { + logType_ = other.logType_; + bitField2_ |= 0x00002000; + onChanged(); + } + if (!other.getAssetNamespace().isEmpty()) { + assetNamespace_ = other.assetNamespace_; + bitField2_ |= 0x00004000; + onChanged(); + } + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + bitField2_ |= 0x00008000; + if (other.stsMigrationReadiness_ != 0) { + setStsMigrationReadinessValue(other.getStsMigrationReadinessValue()); + } + if (other.hasLastV2MigrationAttemptTime()) { + mergeLastV2MigrationAttemptTime(other.getLastV2MigrationAttemptTime()); + } + switch (other.getDetailsCase()) { + case ANOMALI_SETTINGS: + { + mergeAnomaliSettings(other.getAnomaliSettings()); + break; + } + case AZURE_AD_CONTEXT_SETTINGS: + { + mergeAzureAdContextSettings(other.getAzureAdContextSettings()); + break; + } + case CLOUD_PASSAGE_SETTINGS: + { + mergeCloudPassageSettings(other.getCloudPassageSettings()); + break; + } + case CORTEX_XDR_SETTINGS: + { + mergeCortexXdrSettings(other.getCortexXdrSettings()); + break; + } + case DUO_AUTH_SETTINGS: + { + mergeDuoAuthSettings(other.getDuoAuthSettings()); + break; + } + case DUO_USER_CONTEXT_SETTINGS: + { + mergeDuoUserContextSettings(other.getDuoUserContextSettings()); + break; + } + case MICROSOFT_GRAPH_ALERT_SETTINGS: + { + mergeMicrosoftGraphAlertSettings(other.getMicrosoftGraphAlertSettings()); + break; + } + case MICROSOFT_SECURITY_CENTER_ALERT_SETTINGS: + { + mergeMicrosoftSecurityCenterAlertSettings( + other.getMicrosoftSecurityCenterAlertSettings()); + break; + } + case MIMECAST_MAIL_SETTINGS: + { + mergeMimecastMailSettings(other.getMimecastMailSettings()); + break; + } + case OFFICE365_SETTINGS: + { + mergeOffice365Settings(other.getOffice365Settings()); + break; + } + case PROOFPOINT_MAIL_SETTINGS: + { + mergeProofpointMailSettings(other.getProofpointMailSettings()); + break; + } + case RECORDED_FUTURE_IOC_SETTINGS: + { + mergeRecordedFutureIocSettings(other.getRecordedFutureIocSettings()); + break; + } + case WORKDAY_SETTINGS: + { + mergeWorkdaySettings(other.getWorkdaySettings()); + break; + } + case PAN_IOC_SETTINGS: + { + mergePanIocSettings(other.getPanIocSettings()); + break; + } + case OKTA_SETTINGS: + { + mergeOktaSettings(other.getOktaSettings()); + break; + } + case OKTA_USER_CONTEXT_SETTINGS: + { + mergeOktaUserContextSettings(other.getOktaUserContextSettings()); + break; + } + case FOX_IT_STIX_SETTINGS: + { + mergeFoxItStixSettings(other.getFoxItStixSettings()); + break; + } + case THREAT_CONNECT_IOC_SETTINGS: + { + mergeThreatConnectIocSettings(other.getThreatConnectIocSettings()); + break; + } + case SERVICE_NOW_CMDB_SETTINGS: + { + mergeServiceNowCmdbSettings(other.getServiceNowCmdbSettings()); + break; + } + case IMPERVA_WAF_SETTINGS: + { + mergeImpervaWafSettings(other.getImpervaWafSettings()); + break; + } + case THINKST_CANARY_SETTINGS: + { + mergeThinkstCanarySettings(other.getThinkstCanarySettings()); + break; + } + case RH_ISAC_IOC_SETTINGS: + { + mergeRhIsacIocSettings(other.getRhIsacIocSettings()); + break; + } + case RAPID7_INSIGHT_SETTINGS: + { + mergeRapid7InsightSettings(other.getRapid7InsightSettings()); + break; + } + case SALESFORCE_SETTINGS: + { + mergeSalesforceSettings(other.getSalesforceSettings()); + break; + } + case NETSKOPE_ALERT_SETTINGS: + { + mergeNetskopeAlertSettings(other.getNetskopeAlertSettings()); + break; + } + case AZURE_MDM_INTUNE_SETTINGS: + { + mergeAzureMdmIntuneSettings(other.getAzureMdmIntuneSettings()); + break; + } + case AZURE_AD_SETTINGS: + { + mergeAzureAdSettings(other.getAzureAdSettings()); + break; + } + case PROOFPOINT_ON_DEMAND_SETTINGS: + { + mergeProofpointOnDemandSettings(other.getProofpointOnDemandSettings()); + break; + } + case WORKSPACE_USERS_SETTINGS: + { + mergeWorkspaceUsersSettings(other.getWorkspaceUsersSettings()); + break; + } + case WORKSPACE_ACTIVITY_SETTINGS: + { + mergeWorkspaceActivitySettings(other.getWorkspaceActivitySettings()); + break; + } + case WORKSPACE_ALERTS_SETTINGS: + { + mergeWorkspaceAlertsSettings(other.getWorkspaceAlertsSettings()); + break; + } + case WORKSPACE_PRIVILEGES_SETTINGS: + { + mergeWorkspacePrivilegesSettings(other.getWorkspacePrivilegesSettings()); + break; + } + case WORKSPACE_MOBILE_SETTINGS: + { + mergeWorkspaceMobileSettings(other.getWorkspaceMobileSettings()); + break; + } + case WORKSPACE_CHROME_OS_SETTINGS: + { + mergeWorkspaceChromeOsSettings(other.getWorkspaceChromeOsSettings()); + break; + } + case WORKSPACE_GROUPS_SETTINGS: + { + mergeWorkspaceGroupsSettings(other.getWorkspaceGroupsSettings()); + break; + } + case AZURE_AD_AUDIT_SETTINGS: + { + mergeAzureAdAuditSettings(other.getAzureAdAuditSettings()); + break; + } + case SYMANTEC_EVENT_EXPORT_SETTINGS: + { + mergeSymantecEventExportSettings(other.getSymantecEventExportSettings()); + break; + } + case QUALYS_VM_SETTINGS: + { + mergeQualysVmSettings(other.getQualysVmSettings()); + break; + } + case PAN_PRISMA_CLOUD_SETTINGS: + { + mergePanPrismaCloudSettings(other.getPanPrismaCloudSettings()); + break; + } + case GCS_SETTINGS: + { + mergeGcsSettings(other.getGcsSettings()); + break; + } + case HTTP_SETTINGS: + { + mergeHttpSettings(other.getHttpSettings()); + break; + } + case SFTP_SETTINGS: + { + mergeSftpSettings(other.getSftpSettings()); + break; + } + case AMAZON_S3_SETTINGS: + { + mergeAmazonS3Settings(other.getAmazonS3Settings()); + break; + } + case AZURE_BLOB_STORE_SETTINGS: + { + mergeAzureBlobStoreSettings(other.getAzureBlobStoreSettings()); + break; + } + case AMAZON_SQS_SETTINGS: + { + mergeAmazonSqsSettings(other.getAmazonSqsSettings()); + break; + } + case GOOGLE_CLOUD_IDENTITY_DEVICES_SETTINGS: + { + mergeGoogleCloudIdentityDevicesSettings(other.getGoogleCloudIdentityDevicesSettings()); + break; + } + case GOOGLE_CLOUD_IDENTITY_DEVICE_USERS_SETTINGS: + { + mergeGoogleCloudIdentityDeviceUsersSettings( + other.getGoogleCloudIdentityDeviceUsersSettings()); + break; + } + case CROWDSTRIKE_DETECTS_SETTINGS: + { + mergeCrowdstrikeDetectsSettings(other.getCrowdstrikeDetectsSettings()); + break; + } + case MANDIANT_IOC_SETTINGS: + { + mergeMandiantIocSettings(other.getMandiantIocSettings()); + break; + } + case SENTINELONE_ALERT_SETTINGS: + { + mergeSentineloneAlertSettings(other.getSentineloneAlertSettings()); + break; + } + case QUALYS_SCAN_SETTINGS: + { + mergeQualysScanSettings(other.getQualysScanSettings()); + break; + } + case PUBSUB_SETTINGS: + { + mergePubsubSettings(other.getPubsubSettings()); + break; + } + case AMAZON_KINESIS_FIREHOSE_SETTINGS: + { + mergeAmazonKinesisFirehoseSettings(other.getAmazonKinesisFirehoseSettings()); + break; + } + case WEBHOOK_SETTINGS: + { + mergeWebhookSettings(other.getWebhookSettings()); + break; + } + case DUMMY_LOG_TYPE_SETTINGS: + { + mergeDummyLogTypeSettings(other.getDummyLogTypeSettings()); + break; + } + case HTTPS_PUSH_GOOGLE_CLOUD_PUBSUB_SETTINGS: + { + mergeHttpsPushGoogleCloudPubsubSettings(other.getHttpsPushGoogleCloudPubsubSettings()); + break; + } + case HTTPS_PUSH_AMAZON_KINESIS_FIREHOSE_SETTINGS: + { + mergeHttpsPushAmazonKinesisFirehoseSettings( + other.getHttpsPushAmazonKinesisFirehoseSettings()); + break; + } + case HTTPS_PUSH_WEBHOOK_SETTINGS: + { + mergeHttpsPushWebhookSettings(other.getHttpsPushWebhookSettings()); + break; + } + case AWS_EC2_HOSTS_SETTINGS: + { + mergeAwsEc2HostsSettings(other.getAwsEc2HostsSettings()); + break; + } + case AWS_EC2_INSTANCES_SETTINGS: + { + mergeAwsEc2InstancesSettings(other.getAwsEc2InstancesSettings()); + break; + } + case AWS_EC2_VPCS_SETTINGS: + { + mergeAwsEc2VpcsSettings(other.getAwsEc2VpcsSettings()); + break; + } + case AWS_IAM_SETTINGS: + { + mergeAwsIamSettings(other.getAwsIamSettings()); + break; + } + case NETSKOPE_ALERT_V2_SETTINGS: + { + mergeNetskopeAlertV2Settings(other.getNetskopeAlertV2Settings()); + break; + } + case GCS_V2_SETTINGS: + { + mergeGcsV2Settings(other.getGcsV2Settings()); + break; + } + case AMAZON_S3_V2_SETTINGS: + { + mergeAmazonS3V2Settings(other.getAmazonS3V2Settings()); + break; + } + case AMAZON_SQS_V2_SETTINGS: + { + mergeAmazonSqsV2Settings(other.getAmazonSqsV2Settings()); + break; + } + case AZURE_EVENT_HUB_SETTINGS: + { + mergeAzureEventHubSettings(other.getAzureEventHubSettings()); + break; + } + case TRELLIX_HX_HOSTS_SETTINGS: + { + mergeTrellixHxHostsSettings(other.getTrellixHxHostsSettings()); + break; + } + case AZURE_BLOB_STORE_V2_SETTINGS: + { + mergeAzureBlobStoreV2Settings(other.getAzureBlobStoreV2Settings()); + break; + } + case TRELLIX_HX_ALERTS_SETTINGS: + { + mergeTrellixHxAlertsSettings(other.getTrellixHxAlertsSettings()); + break; + } + case GOOGLE_CLOUD_STORAGE_EVENT_DRIVEN_SETTINGS: + { + mergeGoogleCloudStorageEventDrivenSettings( + other.getGoogleCloudStorageEventDrivenSettings()); + break; + } + case CROWDSTRIKE_ALERTS_SETTINGS: + { + mergeCrowdstrikeAlertsSettings(other.getCrowdstrikeAlertsSettings()); + break; + } + case TRELLIX_HX_BULK_ACQS_SETTINGS: + { + mergeTrellixHxBulkAcqsSettings(other.getTrellixHxBulkAcqsSettings()); + break; + } + case MIMECAST_MAIL_V2_SETTINGS: + { + mergeMimecastMailV2Settings(other.getMimecastMailV2Settings()); + break; + } + case THREAT_CONNECT_IOC_V3_SETTINGS: + { + mergeThreatConnectIocV3Settings(other.getThreatConnectIocV3Settings()); + break; + } + case CUSTOM_API_SETTINGS: + { + mergeCustomApiSettings(other.getCustomApiSettings()); + break; + } + case DETAILS_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + feedSourceType_ = input.readEnum(); + bitField2_ |= 0x00001000; + break; + } // case 8 + case 18: + { + logType_ = input.readStringRequireUtf8(); + bitField2_ |= 0x00002000; + break; + } // case 18 + case 26: + { + input.readMessage( + internalGetAnomaliSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 3; + break; + } // case 26 + case 34: + { + input.readMessage( + internalGetAzureAdContextSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 4; + break; + } // case 34 + case 42: + { + input.readMessage( + internalGetCloudPassageSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 5; + break; + } // case 42 + case 50: + { + input.readMessage( + internalGetCortexXdrSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 6; + break; + } // case 50 + case 58: + { + input.readMessage( + internalGetDuoAuthSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 7; + break; + } // case 58 + case 66: + { + input.readMessage( + internalGetDuoUserContextSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 8; + break; + } // case 66 + case 74: + { + input.readMessage( + internalGetMicrosoftGraphAlertSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 9; + break; + } // case 74 + case 82: + { + input.readMessage( + internalGetMicrosoftSecurityCenterAlertSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 10; + break; + } // case 82 + case 90: + { + input.readMessage( + internalGetMimecastMailSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 11; + break; + } // case 90 + case 98: + { + input.readMessage( + internalGetOffice365SettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 12; + break; + } // case 98 + case 106: + { + input.readMessage( + internalGetProofpointMailSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 13; + break; + } // case 106 + case 114: + { + input.readMessage( + internalGetRecordedFutureIocSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 14; + break; + } // case 114 + case 122: + { + input.readMessage( + internalGetWorkdaySettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 15; + break; + } // case 122 + case 130: + { + input.readMessage( + internalGetPanIocSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 16; + break; + } // case 130 + case 138: + { + input.readMessage( + internalGetOktaSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 17; + break; + } // case 138 + case 146: + { + input.readMessage( + internalGetOktaUserContextSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 18; + break; + } // case 146 + case 154: + { + input.readMessage( + internalGetFoxItStixSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 19; + break; + } // case 154 + case 162: + { + input.readMessage( + internalGetThreatConnectIocSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 20; + break; + } // case 162 + case 170: + { + input.readMessage( + internalGetServiceNowCmdbSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 21; + break; + } // case 170 + case 178: + { + input.readMessage( + internalGetImpervaWafSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 22; + break; + } // case 178 + case 186: + { + input.readMessage( + internalGetThinkstCanarySettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 23; + break; + } // case 186 + case 194: + { + input.readMessage( + internalGetRhIsacIocSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 24; + break; + } // case 194 + case 202: + { + input.readMessage( + internalGetRapid7InsightSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 25; + break; + } // case 202 + case 210: + { + input.readMessage( + internalGetSalesforceSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 26; + break; + } // case 210 + case 218: + { + input.readMessage( + internalGetNetskopeAlertSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 27; + break; + } // case 218 + case 226: + { + input.readMessage( + internalGetAzureMdmIntuneSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 28; + break; + } // case 226 + case 234: + { + input.readMessage( + internalGetAzureAdSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 29; + break; + } // case 234 + case 242: + { + input.readMessage( + internalGetProofpointOnDemandSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 30; + break; + } // case 242 + case 250: + { + input.readMessage( + internalGetWorkspaceUsersSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 31; + break; + } // case 250 + case 258: + { + input.readMessage( + internalGetWorkspaceActivitySettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 32; + break; + } // case 258 + case 266: + { + input.readMessage( + internalGetWorkspaceAlertsSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 33; + break; + } // case 266 + case 274: + { + input.readMessage( + internalGetWorkspacePrivilegesSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 34; + break; + } // case 274 + case 282: + { + input.readMessage( + internalGetWorkspaceMobileSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 35; + break; + } // case 282 + case 290: + { + input.readMessage( + internalGetWorkspaceChromeOsSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 36; + break; + } // case 290 + case 298: + { + input.readMessage( + internalGetWorkspaceGroupsSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 37; + break; + } // case 298 + case 306: + { + input.readMessage( + internalGetAzureAdAuditSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 38; + break; + } // case 306 + case 314: + { + input.readMessage( + internalGetSymantecEventExportSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 39; + break; + } // case 314 + case 322: + { + input.readMessage( + internalGetQualysVmSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 40; + break; + } // case 322 + case 330: + { + input.readMessage( + internalGetPanPrismaCloudSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 41; + break; + } // case 330 + case 338: + { + input.readMessage( + internalGetGcsSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 42; + break; + } // case 338 + case 346: + { + input.readMessage( + internalGetHttpSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 43; + break; + } // case 346 + case 354: + { + input.readMessage( + internalGetSftpSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 44; + break; + } // case 354 + case 362: + { + input.readMessage( + internalGetAmazonS3SettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 45; + break; + } // case 362 + case 370: + { + input.readMessage( + internalGetAzureBlobStoreSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 46; + break; + } // case 370 + case 378: + { + input.readMessage( + internalGetAmazonSqsSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 47; + break; + } // case 378 + case 386: + { + input.readMessage( + internalGetGoogleCloudIdentityDevicesSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 48; + break; + } // case 386 + case 394: + { + input.readMessage( + internalGetGoogleCloudIdentityDeviceUsersSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 49; + break; + } // case 394 + case 402: + { + input.readMessage( + internalGetCrowdstrikeDetectsSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 50; + break; + } // case 402 + case 410: + { + assetNamespace_ = input.readStringRequireUtf8(); + bitField2_ |= 0x00004000; + break; + } // case 410 + case 418: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField2_ |= 0x00008000; + break; + } // case 418 + case 426: + { + input.readMessage( + internalGetMandiantIocSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 53; + break; + } // case 426 + case 434: + { + input.readMessage( + internalGetSentineloneAlertSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 54; + break; + } // case 434 + case 442: + { + input.readMessage( + internalGetQualysScanSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 55; + break; + } // case 442 + case 450: + { + input.readMessage( + internalGetPubsubSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 56; + break; + } // case 450 + case 458: + { + input.readMessage( + internalGetAmazonKinesisFirehoseSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 57; + break; + } // case 458 + case 466: + { + input.readMessage( + internalGetWebhookSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 58; + break; + } // case 466 + case 474: + { + input.readMessage( + internalGetDummyLogTypeSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 59; + break; + } // case 474 + case 482: + { + input.readMessage( + internalGetHttpsPushGoogleCloudPubsubSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 60; + break; + } // case 482 + case 490: + { + input.readMessage( + internalGetHttpsPushAmazonKinesisFirehoseSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 61; + break; + } // case 490 + case 498: + { + input.readMessage( + internalGetHttpsPushWebhookSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 62; + break; + } // case 498 + case 506: + { + input.readMessage( + internalGetAwsEc2HostsSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 63; + break; + } // case 506 + case 514: + { + input.readMessage( + internalGetAwsEc2InstancesSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 64; + break; + } // case 514 + case 522: + { + input.readMessage( + internalGetAwsEc2VpcsSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 65; + break; + } // case 522 + case 530: + { + input.readMessage( + internalGetAwsIamSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 66; + break; + } // case 530 + case 562: + { + input.readMessage( + internalGetNetskopeAlertV2SettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 70; + break; + } // case 562 + case 570: + { + input.readMessage( + internalGetGcsV2SettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 71; + break; + } // case 570 + case 578: + { + input.readMessage( + internalGetAmazonS3V2SettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 72; + break; + } // case 578 + case 586: + { + input.readMessage( + internalGetAmazonSqsV2SettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 73; + break; + } // case 586 + case 594: + { + input.readMessage( + internalGetAzureEventHubSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 74; + break; + } // case 594 + case 602: + { + input.readMessage( + internalGetTrellixHxHostsSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 75; + break; + } // case 602 + case 610: + { + input.readMessage( + internalGetAzureBlobStoreV2SettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 76; + break; + } // case 610 + case 618: + { + input.readMessage( + internalGetTrellixHxAlertsSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 77; + break; + } // case 618 + case 626: + { + input.readMessage( + internalGetGoogleCloudStorageEventDrivenSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 78; + break; + } // case 626 + case 634: + { + input.readMessage( + internalGetCrowdstrikeAlertsSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 79; + break; + } // case 634 + case 642: + { + input.readMessage( + internalGetTrellixHxBulkAcqsSettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 80; + break; + } // case 642 + case 648: + { + stsMigrationReadiness_ = input.readEnum(); + bitField2_ |= 0x00010000; + break; + } // case 648 + case 658: + { + input.readMessage( + internalGetMimecastMailV2SettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 82; + break; + } // case 658 + case 666: + { + input.readMessage( + internalGetThreatConnectIocV3SettingsFieldBuilder().getBuilder(), + extensionRegistry); + detailsCase_ = 83; + break; + } // case 666 + case 674: + { + input.readMessage( + internalGetLastV2MigrationAttemptTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField2_ |= 0x00020000; + break; + } // case 674 + case 682: + { + input.readMessage( + internalGetCustomApiSettingsFieldBuilder().getBuilder(), extensionRegistry); + detailsCase_ = 85; + break; + } // case 682 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int detailsCase_ = 0; + private java.lang.Object details_; + + public DetailsCase getDetailsCase() { + return DetailsCase.forNumber(detailsCase_); + } + + public Builder clearDetails() { + detailsCase_ = 0; + details_ = null; + onChanged(); + return this; + } + + private int bitField0_; + private int bitField1_; + private int bitField2_; + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AnomaliIocSettings, + com.google.cloud.chronicle.v1.AnomaliIocSettings.Builder, + com.google.cloud.chronicle.v1.AnomaliIocSettingsOrBuilder> + anomaliSettingsBuilder_; + + /** + * + * + *
+     * Anomali IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AnomaliIocSettings anomali_settings = 3; + * + * @return Whether the anomaliSettings field is set. + */ + @java.lang.Override + public boolean hasAnomaliSettings() { + return detailsCase_ == 3; + } + + /** + * + * + *
+     * Anomali IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AnomaliIocSettings anomali_settings = 3; + * + * @return The anomaliSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AnomaliIocSettings getAnomaliSettings() { + if (anomaliSettingsBuilder_ == null) { + if (detailsCase_ == 3) { + return (com.google.cloud.chronicle.v1.AnomaliIocSettings) details_; + } + return com.google.cloud.chronicle.v1.AnomaliIocSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 3) { + return anomaliSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.AnomaliIocSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Anomali IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AnomaliIocSettings anomali_settings = 3; + */ + public Builder setAnomaliSettings(com.google.cloud.chronicle.v1.AnomaliIocSettings value) { + if (anomaliSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + anomaliSettingsBuilder_.setMessage(value); + } + detailsCase_ = 3; + return this; + } + + /** + * + * + *
+     * Anomali IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AnomaliIocSettings anomali_settings = 3; + */ + public Builder setAnomaliSettings( + com.google.cloud.chronicle.v1.AnomaliIocSettings.Builder builderForValue) { + if (anomaliSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + anomaliSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 3; + return this; + } + + /** + * + * + *
+     * Anomali IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AnomaliIocSettings anomali_settings = 3; + */ + public Builder mergeAnomaliSettings(com.google.cloud.chronicle.v1.AnomaliIocSettings value) { + if (anomaliSettingsBuilder_ == null) { + if (detailsCase_ == 3 + && details_ != com.google.cloud.chronicle.v1.AnomaliIocSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.AnomaliIocSettings.newBuilder( + (com.google.cloud.chronicle.v1.AnomaliIocSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 3) { + anomaliSettingsBuilder_.mergeFrom(value); + } else { + anomaliSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 3; + return this; + } + + /** + * + * + *
+     * Anomali IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AnomaliIocSettings anomali_settings = 3; + */ + public Builder clearAnomaliSettings() { + if (anomaliSettingsBuilder_ == null) { + if (detailsCase_ == 3) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 3) { + detailsCase_ = 0; + details_ = null; + } + anomaliSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Anomali IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AnomaliIocSettings anomali_settings = 3; + */ + public com.google.cloud.chronicle.v1.AnomaliIocSettings.Builder getAnomaliSettingsBuilder() { + return internalGetAnomaliSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Anomali IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AnomaliIocSettings anomali_settings = 3; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AnomaliIocSettingsOrBuilder getAnomaliSettingsOrBuilder() { + if ((detailsCase_ == 3) && (anomaliSettingsBuilder_ != null)) { + return anomaliSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 3) { + return (com.google.cloud.chronicle.v1.AnomaliIocSettings) details_; + } + return com.google.cloud.chronicle.v1.AnomaliIocSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Anomali IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AnomaliIocSettings anomali_settings = 3; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AnomaliIocSettings, + com.google.cloud.chronicle.v1.AnomaliIocSettings.Builder, + com.google.cloud.chronicle.v1.AnomaliIocSettingsOrBuilder> + internalGetAnomaliSettingsFieldBuilder() { + if (anomaliSettingsBuilder_ == null) { + if (!(detailsCase_ == 3)) { + details_ = com.google.cloud.chronicle.v1.AnomaliIocSettings.getDefaultInstance(); + } + anomaliSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AnomaliIocSettings, + com.google.cloud.chronicle.v1.AnomaliIocSettings.Builder, + com.google.cloud.chronicle.v1.AnomaliIocSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.AnomaliIocSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 3; + onChanged(); + return anomaliSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureADContextSettings, + com.google.cloud.chronicle.v1.AzureADContextSettings.Builder, + com.google.cloud.chronicle.v1.AzureADContextSettingsOrBuilder> + azureAdContextSettingsBuilder_; + + /** + * + * + *
+     * Azure AD Context settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureADContextSettings azure_ad_context_settings = 4; + * + * @return Whether the azureAdContextSettings field is set. + */ + @java.lang.Override + public boolean hasAzureAdContextSettings() { + return detailsCase_ == 4; + } + + /** + * + * + *
+     * Azure AD Context settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureADContextSettings azure_ad_context_settings = 4; + * + * @return The azureAdContextSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureADContextSettings getAzureAdContextSettings() { + if (azureAdContextSettingsBuilder_ == null) { + if (detailsCase_ == 4) { + return (com.google.cloud.chronicle.v1.AzureADContextSettings) details_; + } + return com.google.cloud.chronicle.v1.AzureADContextSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 4) { + return azureAdContextSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.AzureADContextSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Azure AD Context settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureADContextSettings azure_ad_context_settings = 4; + */ + public Builder setAzureAdContextSettings( + com.google.cloud.chronicle.v1.AzureADContextSettings value) { + if (azureAdContextSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + azureAdContextSettingsBuilder_.setMessage(value); + } + detailsCase_ = 4; + return this; + } + + /** + * + * + *
+     * Azure AD Context settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureADContextSettings azure_ad_context_settings = 4; + */ + public Builder setAzureAdContextSettings( + com.google.cloud.chronicle.v1.AzureADContextSettings.Builder builderForValue) { + if (azureAdContextSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + azureAdContextSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 4; + return this; + } + + /** + * + * + *
+     * Azure AD Context settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureADContextSettings azure_ad_context_settings = 4; + */ + public Builder mergeAzureAdContextSettings( + com.google.cloud.chronicle.v1.AzureADContextSettings value) { + if (azureAdContextSettingsBuilder_ == null) { + if (detailsCase_ == 4 + && details_ + != com.google.cloud.chronicle.v1.AzureADContextSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.AzureADContextSettings.newBuilder( + (com.google.cloud.chronicle.v1.AzureADContextSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 4) { + azureAdContextSettingsBuilder_.mergeFrom(value); + } else { + azureAdContextSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 4; + return this; + } + + /** + * + * + *
+     * Azure AD Context settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureADContextSettings azure_ad_context_settings = 4; + */ + public Builder clearAzureAdContextSettings() { + if (azureAdContextSettingsBuilder_ == null) { + if (detailsCase_ == 4) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 4) { + detailsCase_ = 0; + details_ = null; + } + azureAdContextSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Azure AD Context settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureADContextSettings azure_ad_context_settings = 4; + */ + public com.google.cloud.chronicle.v1.AzureADContextSettings.Builder + getAzureAdContextSettingsBuilder() { + return internalGetAzureAdContextSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Azure AD Context settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureADContextSettings azure_ad_context_settings = 4; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureADContextSettingsOrBuilder + getAzureAdContextSettingsOrBuilder() { + if ((detailsCase_ == 4) && (azureAdContextSettingsBuilder_ != null)) { + return azureAdContextSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 4) { + return (com.google.cloud.chronicle.v1.AzureADContextSettings) details_; + } + return com.google.cloud.chronicle.v1.AzureADContextSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Azure AD Context settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureADContextSettings azure_ad_context_settings = 4; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureADContextSettings, + com.google.cloud.chronicle.v1.AzureADContextSettings.Builder, + com.google.cloud.chronicle.v1.AzureADContextSettingsOrBuilder> + internalGetAzureAdContextSettingsFieldBuilder() { + if (azureAdContextSettingsBuilder_ == null) { + if (!(detailsCase_ == 4)) { + details_ = com.google.cloud.chronicle.v1.AzureADContextSettings.getDefaultInstance(); + } + azureAdContextSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureADContextSettings, + com.google.cloud.chronicle.v1.AzureADContextSettings.Builder, + com.google.cloud.chronicle.v1.AzureADContextSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.AzureADContextSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 4; + onChanged(); + return azureAdContextSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CloudPassageSettings, + com.google.cloud.chronicle.v1.CloudPassageSettings.Builder, + com.google.cloud.chronicle.v1.CloudPassageSettingsOrBuilder> + cloudPassageSettingsBuilder_; + + /** + * + * + *
+     * Cloud Passage settings.
+     * 
+ * + * .google.cloud.chronicle.v1.CloudPassageSettings cloud_passage_settings = 5; + * + * @return Whether the cloudPassageSettings field is set. + */ + @java.lang.Override + public boolean hasCloudPassageSettings() { + return detailsCase_ == 5; + } + + /** + * + * + *
+     * Cloud Passage settings.
+     * 
+ * + * .google.cloud.chronicle.v1.CloudPassageSettings cloud_passage_settings = 5; + * + * @return The cloudPassageSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CloudPassageSettings getCloudPassageSettings() { + if (cloudPassageSettingsBuilder_ == null) { + if (detailsCase_ == 5) { + return (com.google.cloud.chronicle.v1.CloudPassageSettings) details_; + } + return com.google.cloud.chronicle.v1.CloudPassageSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 5) { + return cloudPassageSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.CloudPassageSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Cloud Passage settings.
+     * 
+ * + * .google.cloud.chronicle.v1.CloudPassageSettings cloud_passage_settings = 5; + */ + public Builder setCloudPassageSettings( + com.google.cloud.chronicle.v1.CloudPassageSettings value) { + if (cloudPassageSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + cloudPassageSettingsBuilder_.setMessage(value); + } + detailsCase_ = 5; + return this; + } + + /** + * + * + *
+     * Cloud Passage settings.
+     * 
+ * + * .google.cloud.chronicle.v1.CloudPassageSettings cloud_passage_settings = 5; + */ + public Builder setCloudPassageSettings( + com.google.cloud.chronicle.v1.CloudPassageSettings.Builder builderForValue) { + if (cloudPassageSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + cloudPassageSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 5; + return this; + } + + /** + * + * + *
+     * Cloud Passage settings.
+     * 
+ * + * .google.cloud.chronicle.v1.CloudPassageSettings cloud_passage_settings = 5; + */ + public Builder mergeCloudPassageSettings( + com.google.cloud.chronicle.v1.CloudPassageSettings value) { + if (cloudPassageSettingsBuilder_ == null) { + if (detailsCase_ == 5 + && details_ + != com.google.cloud.chronicle.v1.CloudPassageSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.CloudPassageSettings.newBuilder( + (com.google.cloud.chronicle.v1.CloudPassageSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 5) { + cloudPassageSettingsBuilder_.mergeFrom(value); + } else { + cloudPassageSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 5; + return this; + } + + /** + * + * + *
+     * Cloud Passage settings.
+     * 
+ * + * .google.cloud.chronicle.v1.CloudPassageSettings cloud_passage_settings = 5; + */ + public Builder clearCloudPassageSettings() { + if (cloudPassageSettingsBuilder_ == null) { + if (detailsCase_ == 5) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 5) { + detailsCase_ = 0; + details_ = null; + } + cloudPassageSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Cloud Passage settings.
+     * 
+ * + * .google.cloud.chronicle.v1.CloudPassageSettings cloud_passage_settings = 5; + */ + public com.google.cloud.chronicle.v1.CloudPassageSettings.Builder + getCloudPassageSettingsBuilder() { + return internalGetCloudPassageSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Cloud Passage settings.
+     * 
+ * + * .google.cloud.chronicle.v1.CloudPassageSettings cloud_passage_settings = 5; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CloudPassageSettingsOrBuilder + getCloudPassageSettingsOrBuilder() { + if ((detailsCase_ == 5) && (cloudPassageSettingsBuilder_ != null)) { + return cloudPassageSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 5) { + return (com.google.cloud.chronicle.v1.CloudPassageSettings) details_; + } + return com.google.cloud.chronicle.v1.CloudPassageSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Cloud Passage settings.
+     * 
+ * + * .google.cloud.chronicle.v1.CloudPassageSettings cloud_passage_settings = 5; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CloudPassageSettings, + com.google.cloud.chronicle.v1.CloudPassageSettings.Builder, + com.google.cloud.chronicle.v1.CloudPassageSettingsOrBuilder> + internalGetCloudPassageSettingsFieldBuilder() { + if (cloudPassageSettingsBuilder_ == null) { + if (!(detailsCase_ == 5)) { + details_ = com.google.cloud.chronicle.v1.CloudPassageSettings.getDefaultInstance(); + } + cloudPassageSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CloudPassageSettings, + com.google.cloud.chronicle.v1.CloudPassageSettings.Builder, + com.google.cloud.chronicle.v1.CloudPassageSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.CloudPassageSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 5; + onChanged(); + return cloudPassageSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CortexXDRSettings, + com.google.cloud.chronicle.v1.CortexXDRSettings.Builder, + com.google.cloud.chronicle.v1.CortexXDRSettingsOrBuilder> + cortexXdrSettingsBuilder_; + + /** + * + * + *
+     * Cortex XDR settings.
+     * 
+ * + * .google.cloud.chronicle.v1.CortexXDRSettings cortex_xdr_settings = 6; + * + * @return Whether the cortexXdrSettings field is set. + */ + @java.lang.Override + public boolean hasCortexXdrSettings() { + return detailsCase_ == 6; + } + + /** + * + * + *
+     * Cortex XDR settings.
+     * 
+ * + * .google.cloud.chronicle.v1.CortexXDRSettings cortex_xdr_settings = 6; + * + * @return The cortexXdrSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CortexXDRSettings getCortexXdrSettings() { + if (cortexXdrSettingsBuilder_ == null) { + if (detailsCase_ == 6) { + return (com.google.cloud.chronicle.v1.CortexXDRSettings) details_; + } + return com.google.cloud.chronicle.v1.CortexXDRSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 6) { + return cortexXdrSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.CortexXDRSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Cortex XDR settings.
+     * 
+ * + * .google.cloud.chronicle.v1.CortexXDRSettings cortex_xdr_settings = 6; + */ + public Builder setCortexXdrSettings(com.google.cloud.chronicle.v1.CortexXDRSettings value) { + if (cortexXdrSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + cortexXdrSettingsBuilder_.setMessage(value); + } + detailsCase_ = 6; + return this; + } + + /** + * + * + *
+     * Cortex XDR settings.
+     * 
+ * + * .google.cloud.chronicle.v1.CortexXDRSettings cortex_xdr_settings = 6; + */ + public Builder setCortexXdrSettings( + com.google.cloud.chronicle.v1.CortexXDRSettings.Builder builderForValue) { + if (cortexXdrSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + cortexXdrSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 6; + return this; + } + + /** + * + * + *
+     * Cortex XDR settings.
+     * 
+ * + * .google.cloud.chronicle.v1.CortexXDRSettings cortex_xdr_settings = 6; + */ + public Builder mergeCortexXdrSettings(com.google.cloud.chronicle.v1.CortexXDRSettings value) { + if (cortexXdrSettingsBuilder_ == null) { + if (detailsCase_ == 6 + && details_ != com.google.cloud.chronicle.v1.CortexXDRSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.CortexXDRSettings.newBuilder( + (com.google.cloud.chronicle.v1.CortexXDRSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 6) { + cortexXdrSettingsBuilder_.mergeFrom(value); + } else { + cortexXdrSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 6; + return this; + } + + /** + * + * + *
+     * Cortex XDR settings.
+     * 
+ * + * .google.cloud.chronicle.v1.CortexXDRSettings cortex_xdr_settings = 6; + */ + public Builder clearCortexXdrSettings() { + if (cortexXdrSettingsBuilder_ == null) { + if (detailsCase_ == 6) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 6) { + detailsCase_ = 0; + details_ = null; + } + cortexXdrSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Cortex XDR settings.
+     * 
+ * + * .google.cloud.chronicle.v1.CortexXDRSettings cortex_xdr_settings = 6; + */ + public com.google.cloud.chronicle.v1.CortexXDRSettings.Builder getCortexXdrSettingsBuilder() { + return internalGetCortexXdrSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Cortex XDR settings.
+     * 
+ * + * .google.cloud.chronicle.v1.CortexXDRSettings cortex_xdr_settings = 6; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CortexXDRSettingsOrBuilder + getCortexXdrSettingsOrBuilder() { + if ((detailsCase_ == 6) && (cortexXdrSettingsBuilder_ != null)) { + return cortexXdrSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 6) { + return (com.google.cloud.chronicle.v1.CortexXDRSettings) details_; + } + return com.google.cloud.chronicle.v1.CortexXDRSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Cortex XDR settings.
+     * 
+ * + * .google.cloud.chronicle.v1.CortexXDRSettings cortex_xdr_settings = 6; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CortexXDRSettings, + com.google.cloud.chronicle.v1.CortexXDRSettings.Builder, + com.google.cloud.chronicle.v1.CortexXDRSettingsOrBuilder> + internalGetCortexXdrSettingsFieldBuilder() { + if (cortexXdrSettingsBuilder_ == null) { + if (!(detailsCase_ == 6)) { + details_ = com.google.cloud.chronicle.v1.CortexXDRSettings.getDefaultInstance(); + } + cortexXdrSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CortexXDRSettings, + com.google.cloud.chronicle.v1.CortexXDRSettings.Builder, + com.google.cloud.chronicle.v1.CortexXDRSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.CortexXDRSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 6; + onChanged(); + return cortexXdrSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.DuoAuthSettings, + com.google.cloud.chronicle.v1.DuoAuthSettings.Builder, + com.google.cloud.chronicle.v1.DuoAuthSettingsOrBuilder> + duoAuthSettingsBuilder_; + + /** + * + * + *
+     * Duo Auth settings.
+     * 
+ * + * .google.cloud.chronicle.v1.DuoAuthSettings duo_auth_settings = 7; + * + * @return Whether the duoAuthSettings field is set. + */ + @java.lang.Override + public boolean hasDuoAuthSettings() { + return detailsCase_ == 7; + } + + /** + * + * + *
+     * Duo Auth settings.
+     * 
+ * + * .google.cloud.chronicle.v1.DuoAuthSettings duo_auth_settings = 7; + * + * @return The duoAuthSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.DuoAuthSettings getDuoAuthSettings() { + if (duoAuthSettingsBuilder_ == null) { + if (detailsCase_ == 7) { + return (com.google.cloud.chronicle.v1.DuoAuthSettings) details_; + } + return com.google.cloud.chronicle.v1.DuoAuthSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 7) { + return duoAuthSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.DuoAuthSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Duo Auth settings.
+     * 
+ * + * .google.cloud.chronicle.v1.DuoAuthSettings duo_auth_settings = 7; + */ + public Builder setDuoAuthSettings(com.google.cloud.chronicle.v1.DuoAuthSettings value) { + if (duoAuthSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + duoAuthSettingsBuilder_.setMessage(value); + } + detailsCase_ = 7; + return this; + } + + /** + * + * + *
+     * Duo Auth settings.
+     * 
+ * + * .google.cloud.chronicle.v1.DuoAuthSettings duo_auth_settings = 7; + */ + public Builder setDuoAuthSettings( + com.google.cloud.chronicle.v1.DuoAuthSettings.Builder builderForValue) { + if (duoAuthSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + duoAuthSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 7; + return this; + } + + /** + * + * + *
+     * Duo Auth settings.
+     * 
+ * + * .google.cloud.chronicle.v1.DuoAuthSettings duo_auth_settings = 7; + */ + public Builder mergeDuoAuthSettings(com.google.cloud.chronicle.v1.DuoAuthSettings value) { + if (duoAuthSettingsBuilder_ == null) { + if (detailsCase_ == 7 + && details_ != com.google.cloud.chronicle.v1.DuoAuthSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.DuoAuthSettings.newBuilder( + (com.google.cloud.chronicle.v1.DuoAuthSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 7) { + duoAuthSettingsBuilder_.mergeFrom(value); + } else { + duoAuthSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 7; + return this; + } + + /** + * + * + *
+     * Duo Auth settings.
+     * 
+ * + * .google.cloud.chronicle.v1.DuoAuthSettings duo_auth_settings = 7; + */ + public Builder clearDuoAuthSettings() { + if (duoAuthSettingsBuilder_ == null) { + if (detailsCase_ == 7) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 7) { + detailsCase_ = 0; + details_ = null; + } + duoAuthSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Duo Auth settings.
+     * 
+ * + * .google.cloud.chronicle.v1.DuoAuthSettings duo_auth_settings = 7; + */ + public com.google.cloud.chronicle.v1.DuoAuthSettings.Builder getDuoAuthSettingsBuilder() { + return internalGetDuoAuthSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Duo Auth settings.
+     * 
+ * + * .google.cloud.chronicle.v1.DuoAuthSettings duo_auth_settings = 7; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.DuoAuthSettingsOrBuilder getDuoAuthSettingsOrBuilder() { + if ((detailsCase_ == 7) && (duoAuthSettingsBuilder_ != null)) { + return duoAuthSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 7) { + return (com.google.cloud.chronicle.v1.DuoAuthSettings) details_; + } + return com.google.cloud.chronicle.v1.DuoAuthSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Duo Auth settings.
+     * 
+ * + * .google.cloud.chronicle.v1.DuoAuthSettings duo_auth_settings = 7; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.DuoAuthSettings, + com.google.cloud.chronicle.v1.DuoAuthSettings.Builder, + com.google.cloud.chronicle.v1.DuoAuthSettingsOrBuilder> + internalGetDuoAuthSettingsFieldBuilder() { + if (duoAuthSettingsBuilder_ == null) { + if (!(detailsCase_ == 7)) { + details_ = com.google.cloud.chronicle.v1.DuoAuthSettings.getDefaultInstance(); + } + duoAuthSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.DuoAuthSettings, + com.google.cloud.chronicle.v1.DuoAuthSettings.Builder, + com.google.cloud.chronicle.v1.DuoAuthSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.DuoAuthSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 7; + onChanged(); + return duoAuthSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.DuoUserContextSettings, + com.google.cloud.chronicle.v1.DuoUserContextSettings.Builder, + com.google.cloud.chronicle.v1.DuoUserContextSettingsOrBuilder> + duoUserContextSettingsBuilder_; + + /** + * + * + *
+     * Duo User Context settings.
+     * 
+ * + * .google.cloud.chronicle.v1.DuoUserContextSettings duo_user_context_settings = 8; + * + * @return Whether the duoUserContextSettings field is set. + */ + @java.lang.Override + public boolean hasDuoUserContextSettings() { + return detailsCase_ == 8; + } + + /** + * + * + *
+     * Duo User Context settings.
+     * 
+ * + * .google.cloud.chronicle.v1.DuoUserContextSettings duo_user_context_settings = 8; + * + * @return The duoUserContextSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.DuoUserContextSettings getDuoUserContextSettings() { + if (duoUserContextSettingsBuilder_ == null) { + if (detailsCase_ == 8) { + return (com.google.cloud.chronicle.v1.DuoUserContextSettings) details_; + } + return com.google.cloud.chronicle.v1.DuoUserContextSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 8) { + return duoUserContextSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.DuoUserContextSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Duo User Context settings.
+     * 
+ * + * .google.cloud.chronicle.v1.DuoUserContextSettings duo_user_context_settings = 8; + */ + public Builder setDuoUserContextSettings( + com.google.cloud.chronicle.v1.DuoUserContextSettings value) { + if (duoUserContextSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + duoUserContextSettingsBuilder_.setMessage(value); + } + detailsCase_ = 8; + return this; + } + + /** + * + * + *
+     * Duo User Context settings.
+     * 
+ * + * .google.cloud.chronicle.v1.DuoUserContextSettings duo_user_context_settings = 8; + */ + public Builder setDuoUserContextSettings( + com.google.cloud.chronicle.v1.DuoUserContextSettings.Builder builderForValue) { + if (duoUserContextSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + duoUserContextSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 8; + return this; + } + + /** + * + * + *
+     * Duo User Context settings.
+     * 
+ * + * .google.cloud.chronicle.v1.DuoUserContextSettings duo_user_context_settings = 8; + */ + public Builder mergeDuoUserContextSettings( + com.google.cloud.chronicle.v1.DuoUserContextSettings value) { + if (duoUserContextSettingsBuilder_ == null) { + if (detailsCase_ == 8 + && details_ + != com.google.cloud.chronicle.v1.DuoUserContextSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.DuoUserContextSettings.newBuilder( + (com.google.cloud.chronicle.v1.DuoUserContextSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 8) { + duoUserContextSettingsBuilder_.mergeFrom(value); + } else { + duoUserContextSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 8; + return this; + } + + /** + * + * + *
+     * Duo User Context settings.
+     * 
+ * + * .google.cloud.chronicle.v1.DuoUserContextSettings duo_user_context_settings = 8; + */ + public Builder clearDuoUserContextSettings() { + if (duoUserContextSettingsBuilder_ == null) { + if (detailsCase_ == 8) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 8) { + detailsCase_ = 0; + details_ = null; + } + duoUserContextSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Duo User Context settings.
+     * 
+ * + * .google.cloud.chronicle.v1.DuoUserContextSettings duo_user_context_settings = 8; + */ + public com.google.cloud.chronicle.v1.DuoUserContextSettings.Builder + getDuoUserContextSettingsBuilder() { + return internalGetDuoUserContextSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Duo User Context settings.
+     * 
+ * + * .google.cloud.chronicle.v1.DuoUserContextSettings duo_user_context_settings = 8; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.DuoUserContextSettingsOrBuilder + getDuoUserContextSettingsOrBuilder() { + if ((detailsCase_ == 8) && (duoUserContextSettingsBuilder_ != null)) { + return duoUserContextSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 8) { + return (com.google.cloud.chronicle.v1.DuoUserContextSettings) details_; + } + return com.google.cloud.chronicle.v1.DuoUserContextSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Duo User Context settings.
+     * 
+ * + * .google.cloud.chronicle.v1.DuoUserContextSettings duo_user_context_settings = 8; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.DuoUserContextSettings, + com.google.cloud.chronicle.v1.DuoUserContextSettings.Builder, + com.google.cloud.chronicle.v1.DuoUserContextSettingsOrBuilder> + internalGetDuoUserContextSettingsFieldBuilder() { + if (duoUserContextSettingsBuilder_ == null) { + if (!(detailsCase_ == 8)) { + details_ = com.google.cloud.chronicle.v1.DuoUserContextSettings.getDefaultInstance(); + } + duoUserContextSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.DuoUserContextSettings, + com.google.cloud.chronicle.v1.DuoUserContextSettings.Builder, + com.google.cloud.chronicle.v1.DuoUserContextSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.DuoUserContextSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 8; + onChanged(); + return duoUserContextSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings, + com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings.Builder, + com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettingsOrBuilder> + microsoftGraphAlertSettingsBuilder_; + + /** + * + * + *
+     * Microsoft Graph Alert settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftGraphAlertSettings microsoft_graph_alert_settings = 9; + * + * + * @return Whether the microsoftGraphAlertSettings field is set. + */ + @java.lang.Override + public boolean hasMicrosoftGraphAlertSettings() { + return detailsCase_ == 9; + } + + /** + * + * + *
+     * Microsoft Graph Alert settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftGraphAlertSettings microsoft_graph_alert_settings = 9; + * + * + * @return The microsoftGraphAlertSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings + getMicrosoftGraphAlertSettings() { + if (microsoftGraphAlertSettingsBuilder_ == null) { + if (detailsCase_ == 9) { + return (com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings) details_; + } + return com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 9) { + return microsoftGraphAlertSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Microsoft Graph Alert settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftGraphAlertSettings microsoft_graph_alert_settings = 9; + * + */ + public Builder setMicrosoftGraphAlertSettings( + com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings value) { + if (microsoftGraphAlertSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + microsoftGraphAlertSettingsBuilder_.setMessage(value); + } + detailsCase_ = 9; + return this; + } + + /** + * + * + *
+     * Microsoft Graph Alert settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftGraphAlertSettings microsoft_graph_alert_settings = 9; + * + */ + public Builder setMicrosoftGraphAlertSettings( + com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings.Builder builderForValue) { + if (microsoftGraphAlertSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + microsoftGraphAlertSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 9; + return this; + } + + /** + * + * + *
+     * Microsoft Graph Alert settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftGraphAlertSettings microsoft_graph_alert_settings = 9; + * + */ + public Builder mergeMicrosoftGraphAlertSettings( + com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings value) { + if (microsoftGraphAlertSettingsBuilder_ == null) { + if (detailsCase_ == 9 + && details_ + != com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings.newBuilder( + (com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 9) { + microsoftGraphAlertSettingsBuilder_.mergeFrom(value); + } else { + microsoftGraphAlertSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 9; + return this; + } + + /** + * + * + *
+     * Microsoft Graph Alert settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftGraphAlertSettings microsoft_graph_alert_settings = 9; + * + */ + public Builder clearMicrosoftGraphAlertSettings() { + if (microsoftGraphAlertSettingsBuilder_ == null) { + if (detailsCase_ == 9) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 9) { + detailsCase_ = 0; + details_ = null; + } + microsoftGraphAlertSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Microsoft Graph Alert settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftGraphAlertSettings microsoft_graph_alert_settings = 9; + * + */ + public com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings.Builder + getMicrosoftGraphAlertSettingsBuilder() { + return internalGetMicrosoftGraphAlertSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Microsoft Graph Alert settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftGraphAlertSettings microsoft_graph_alert_settings = 9; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettingsOrBuilder + getMicrosoftGraphAlertSettingsOrBuilder() { + if ((detailsCase_ == 9) && (microsoftGraphAlertSettingsBuilder_ != null)) { + return microsoftGraphAlertSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 9) { + return (com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings) details_; + } + return com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Microsoft Graph Alert settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftGraphAlertSettings microsoft_graph_alert_settings = 9; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings, + com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings.Builder, + com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettingsOrBuilder> + internalGetMicrosoftGraphAlertSettingsFieldBuilder() { + if (microsoftGraphAlertSettingsBuilder_ == null) { + if (!(detailsCase_ == 9)) { + details_ = com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings.getDefaultInstance(); + } + microsoftGraphAlertSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings, + com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings.Builder, + com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 9; + onChanged(); + return microsoftGraphAlertSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings, + com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings.Builder, + com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettingsOrBuilder> + microsoftSecurityCenterAlertSettingsBuilder_; + + /** + * + * + *
+     * Microsoft Security center alert settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings microsoft_security_center_alert_settings = 10; + * + * + * @return Whether the microsoftSecurityCenterAlertSettings field is set. + */ + @java.lang.Override + public boolean hasMicrosoftSecurityCenterAlertSettings() { + return detailsCase_ == 10; + } + + /** + * + * + *
+     * Microsoft Security center alert settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings microsoft_security_center_alert_settings = 10; + * + * + * @return The microsoftSecurityCenterAlertSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings + getMicrosoftSecurityCenterAlertSettings() { + if (microsoftSecurityCenterAlertSettingsBuilder_ == null) { + if (detailsCase_ == 10) { + return (com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings) details_; + } + return com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings + .getDefaultInstance(); + } else { + if (detailsCase_ == 10) { + return microsoftSecurityCenterAlertSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Microsoft Security center alert settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings microsoft_security_center_alert_settings = 10; + * + */ + public Builder setMicrosoftSecurityCenterAlertSettings( + com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings value) { + if (microsoftSecurityCenterAlertSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + microsoftSecurityCenterAlertSettingsBuilder_.setMessage(value); + } + detailsCase_ = 10; + return this; + } + + /** + * + * + *
+     * Microsoft Security center alert settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings microsoft_security_center_alert_settings = 10; + * + */ + public Builder setMicrosoftSecurityCenterAlertSettings( + com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings.Builder + builderForValue) { + if (microsoftSecurityCenterAlertSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + microsoftSecurityCenterAlertSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 10; + return this; + } + + /** + * + * + *
+     * Microsoft Security center alert settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings microsoft_security_center_alert_settings = 10; + * + */ + public Builder mergeMicrosoftSecurityCenterAlertSettings( + com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings value) { + if (microsoftSecurityCenterAlertSettingsBuilder_ == null) { + if (detailsCase_ == 10 + && details_ + != com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings + .getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings.newBuilder( + (com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 10) { + microsoftSecurityCenterAlertSettingsBuilder_.mergeFrom(value); + } else { + microsoftSecurityCenterAlertSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 10; + return this; + } + + /** + * + * + *
+     * Microsoft Security center alert settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings microsoft_security_center_alert_settings = 10; + * + */ + public Builder clearMicrosoftSecurityCenterAlertSettings() { + if (microsoftSecurityCenterAlertSettingsBuilder_ == null) { + if (detailsCase_ == 10) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 10) { + detailsCase_ = 0; + details_ = null; + } + microsoftSecurityCenterAlertSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Microsoft Security center alert settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings microsoft_security_center_alert_settings = 10; + * + */ + public com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings.Builder + getMicrosoftSecurityCenterAlertSettingsBuilder() { + return internalGetMicrosoftSecurityCenterAlertSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Microsoft Security center alert settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings microsoft_security_center_alert_settings = 10; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettingsOrBuilder + getMicrosoftSecurityCenterAlertSettingsOrBuilder() { + if ((detailsCase_ == 10) && (microsoftSecurityCenterAlertSettingsBuilder_ != null)) { + return microsoftSecurityCenterAlertSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 10) { + return (com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings) details_; + } + return com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Microsoft Security center alert settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings microsoft_security_center_alert_settings = 10; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings, + com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings.Builder, + com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettingsOrBuilder> + internalGetMicrosoftSecurityCenterAlertSettingsFieldBuilder() { + if (microsoftSecurityCenterAlertSettingsBuilder_ == null) { + if (!(detailsCase_ == 10)) { + details_ = + com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings + .getDefaultInstance(); + } + microsoftSecurityCenterAlertSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings, + com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings.Builder, + com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 10; + onChanged(); + return microsoftSecurityCenterAlertSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MimecastMailSettings, + com.google.cloud.chronicle.v1.MimecastMailSettings.Builder, + com.google.cloud.chronicle.v1.MimecastMailSettingsOrBuilder> + mimecastMailSettingsBuilder_; + + /** + * + * + *
+     * Mimecast mail settings.
+     * 
+ * + * .google.cloud.chronicle.v1.MimecastMailSettings mimecast_mail_settings = 11; + * + * @return Whether the mimecastMailSettings field is set. + */ + @java.lang.Override + public boolean hasMimecastMailSettings() { + return detailsCase_ == 11; + } + + /** + * + * + *
+     * Mimecast mail settings.
+     * 
+ * + * .google.cloud.chronicle.v1.MimecastMailSettings mimecast_mail_settings = 11; + * + * @return The mimecastMailSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MimecastMailSettings getMimecastMailSettings() { + if (mimecastMailSettingsBuilder_ == null) { + if (detailsCase_ == 11) { + return (com.google.cloud.chronicle.v1.MimecastMailSettings) details_; + } + return com.google.cloud.chronicle.v1.MimecastMailSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 11) { + return mimecastMailSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.MimecastMailSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Mimecast mail settings.
+     * 
+ * + * .google.cloud.chronicle.v1.MimecastMailSettings mimecast_mail_settings = 11; + */ + public Builder setMimecastMailSettings( + com.google.cloud.chronicle.v1.MimecastMailSettings value) { + if (mimecastMailSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + mimecastMailSettingsBuilder_.setMessage(value); + } + detailsCase_ = 11; + return this; + } + + /** + * + * + *
+     * Mimecast mail settings.
+     * 
+ * + * .google.cloud.chronicle.v1.MimecastMailSettings mimecast_mail_settings = 11; + */ + public Builder setMimecastMailSettings( + com.google.cloud.chronicle.v1.MimecastMailSettings.Builder builderForValue) { + if (mimecastMailSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + mimecastMailSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 11; + return this; + } + + /** + * + * + *
+     * Mimecast mail settings.
+     * 
+ * + * .google.cloud.chronicle.v1.MimecastMailSettings mimecast_mail_settings = 11; + */ + public Builder mergeMimecastMailSettings( + com.google.cloud.chronicle.v1.MimecastMailSettings value) { + if (mimecastMailSettingsBuilder_ == null) { + if (detailsCase_ == 11 + && details_ + != com.google.cloud.chronicle.v1.MimecastMailSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.MimecastMailSettings.newBuilder( + (com.google.cloud.chronicle.v1.MimecastMailSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 11) { + mimecastMailSettingsBuilder_.mergeFrom(value); + } else { + mimecastMailSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 11; + return this; + } + + /** + * + * + *
+     * Mimecast mail settings.
+     * 
+ * + * .google.cloud.chronicle.v1.MimecastMailSettings mimecast_mail_settings = 11; + */ + public Builder clearMimecastMailSettings() { + if (mimecastMailSettingsBuilder_ == null) { + if (detailsCase_ == 11) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 11) { + detailsCase_ = 0; + details_ = null; + } + mimecastMailSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Mimecast mail settings.
+     * 
+ * + * .google.cloud.chronicle.v1.MimecastMailSettings mimecast_mail_settings = 11; + */ + public com.google.cloud.chronicle.v1.MimecastMailSettings.Builder + getMimecastMailSettingsBuilder() { + return internalGetMimecastMailSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Mimecast mail settings.
+     * 
+ * + * .google.cloud.chronicle.v1.MimecastMailSettings mimecast_mail_settings = 11; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MimecastMailSettingsOrBuilder + getMimecastMailSettingsOrBuilder() { + if ((detailsCase_ == 11) && (mimecastMailSettingsBuilder_ != null)) { + return mimecastMailSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 11) { + return (com.google.cloud.chronicle.v1.MimecastMailSettings) details_; + } + return com.google.cloud.chronicle.v1.MimecastMailSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Mimecast mail settings.
+     * 
+ * + * .google.cloud.chronicle.v1.MimecastMailSettings mimecast_mail_settings = 11; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MimecastMailSettings, + com.google.cloud.chronicle.v1.MimecastMailSettings.Builder, + com.google.cloud.chronicle.v1.MimecastMailSettingsOrBuilder> + internalGetMimecastMailSettingsFieldBuilder() { + if (mimecastMailSettingsBuilder_ == null) { + if (!(detailsCase_ == 11)) { + details_ = com.google.cloud.chronicle.v1.MimecastMailSettings.getDefaultInstance(); + } + mimecastMailSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MimecastMailSettings, + com.google.cloud.chronicle.v1.MimecastMailSettings.Builder, + com.google.cloud.chronicle.v1.MimecastMailSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.MimecastMailSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 11; + onChanged(); + return mimecastMailSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.Office365Settings, + com.google.cloud.chronicle.v1.Office365Settings.Builder, + com.google.cloud.chronicle.v1.Office365SettingsOrBuilder> + office365SettingsBuilder_; + + /** + * + * + *
+     * Office 365 settings.
+     * 
+ * + * .google.cloud.chronicle.v1.Office365Settings office365_settings = 12; + * + * @return Whether the office365Settings field is set. + */ + @java.lang.Override + public boolean hasOffice365Settings() { + return detailsCase_ == 12; + } + + /** + * + * + *
+     * Office 365 settings.
+     * 
+ * + * .google.cloud.chronicle.v1.Office365Settings office365_settings = 12; + * + * @return The office365Settings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.Office365Settings getOffice365Settings() { + if (office365SettingsBuilder_ == null) { + if (detailsCase_ == 12) { + return (com.google.cloud.chronicle.v1.Office365Settings) details_; + } + return com.google.cloud.chronicle.v1.Office365Settings.getDefaultInstance(); + } else { + if (detailsCase_ == 12) { + return office365SettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.Office365Settings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Office 365 settings.
+     * 
+ * + * .google.cloud.chronicle.v1.Office365Settings office365_settings = 12; + */ + public Builder setOffice365Settings(com.google.cloud.chronicle.v1.Office365Settings value) { + if (office365SettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + office365SettingsBuilder_.setMessage(value); + } + detailsCase_ = 12; + return this; + } + + /** + * + * + *
+     * Office 365 settings.
+     * 
+ * + * .google.cloud.chronicle.v1.Office365Settings office365_settings = 12; + */ + public Builder setOffice365Settings( + com.google.cloud.chronicle.v1.Office365Settings.Builder builderForValue) { + if (office365SettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + office365SettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 12; + return this; + } + + /** + * + * + *
+     * Office 365 settings.
+     * 
+ * + * .google.cloud.chronicle.v1.Office365Settings office365_settings = 12; + */ + public Builder mergeOffice365Settings(com.google.cloud.chronicle.v1.Office365Settings value) { + if (office365SettingsBuilder_ == null) { + if (detailsCase_ == 12 + && details_ != com.google.cloud.chronicle.v1.Office365Settings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.Office365Settings.newBuilder( + (com.google.cloud.chronicle.v1.Office365Settings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 12) { + office365SettingsBuilder_.mergeFrom(value); + } else { + office365SettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 12; + return this; + } + + /** + * + * + *
+     * Office 365 settings.
+     * 
+ * + * .google.cloud.chronicle.v1.Office365Settings office365_settings = 12; + */ + public Builder clearOffice365Settings() { + if (office365SettingsBuilder_ == null) { + if (detailsCase_ == 12) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 12) { + detailsCase_ = 0; + details_ = null; + } + office365SettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Office 365 settings.
+     * 
+ * + * .google.cloud.chronicle.v1.Office365Settings office365_settings = 12; + */ + public com.google.cloud.chronicle.v1.Office365Settings.Builder getOffice365SettingsBuilder() { + return internalGetOffice365SettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Office 365 settings.
+     * 
+ * + * .google.cloud.chronicle.v1.Office365Settings office365_settings = 12; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.Office365SettingsOrBuilder + getOffice365SettingsOrBuilder() { + if ((detailsCase_ == 12) && (office365SettingsBuilder_ != null)) { + return office365SettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 12) { + return (com.google.cloud.chronicle.v1.Office365Settings) details_; + } + return com.google.cloud.chronicle.v1.Office365Settings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Office 365 settings.
+     * 
+ * + * .google.cloud.chronicle.v1.Office365Settings office365_settings = 12; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.Office365Settings, + com.google.cloud.chronicle.v1.Office365Settings.Builder, + com.google.cloud.chronicle.v1.Office365SettingsOrBuilder> + internalGetOffice365SettingsFieldBuilder() { + if (office365SettingsBuilder_ == null) { + if (!(detailsCase_ == 12)) { + details_ = com.google.cloud.chronicle.v1.Office365Settings.getDefaultInstance(); + } + office365SettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.Office365Settings, + com.google.cloud.chronicle.v1.Office365Settings.Builder, + com.google.cloud.chronicle.v1.Office365SettingsOrBuilder>( + (com.google.cloud.chronicle.v1.Office365Settings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 12; + onChanged(); + return office365SettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.ProofpointMailSettings, + com.google.cloud.chronicle.v1.ProofpointMailSettings.Builder, + com.google.cloud.chronicle.v1.ProofpointMailSettingsOrBuilder> + proofpointMailSettingsBuilder_; + + /** + * + * + *
+     * Proofpoint mail settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ProofpointMailSettings proofpoint_mail_settings = 13; + * + * @return Whether the proofpointMailSettings field is set. + */ + @java.lang.Override + public boolean hasProofpointMailSettings() { + return detailsCase_ == 13; + } + + /** + * + * + *
+     * Proofpoint mail settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ProofpointMailSettings proofpoint_mail_settings = 13; + * + * @return The proofpointMailSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ProofpointMailSettings getProofpointMailSettings() { + if (proofpointMailSettingsBuilder_ == null) { + if (detailsCase_ == 13) { + return (com.google.cloud.chronicle.v1.ProofpointMailSettings) details_; + } + return com.google.cloud.chronicle.v1.ProofpointMailSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 13) { + return proofpointMailSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.ProofpointMailSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Proofpoint mail settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ProofpointMailSettings proofpoint_mail_settings = 13; + */ + public Builder setProofpointMailSettings( + com.google.cloud.chronicle.v1.ProofpointMailSettings value) { + if (proofpointMailSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + proofpointMailSettingsBuilder_.setMessage(value); + } + detailsCase_ = 13; + return this; + } + + /** + * + * + *
+     * Proofpoint mail settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ProofpointMailSettings proofpoint_mail_settings = 13; + */ + public Builder setProofpointMailSettings( + com.google.cloud.chronicle.v1.ProofpointMailSettings.Builder builderForValue) { + if (proofpointMailSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + proofpointMailSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 13; + return this; + } + + /** + * + * + *
+     * Proofpoint mail settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ProofpointMailSettings proofpoint_mail_settings = 13; + */ + public Builder mergeProofpointMailSettings( + com.google.cloud.chronicle.v1.ProofpointMailSettings value) { + if (proofpointMailSettingsBuilder_ == null) { + if (detailsCase_ == 13 + && details_ + != com.google.cloud.chronicle.v1.ProofpointMailSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.ProofpointMailSettings.newBuilder( + (com.google.cloud.chronicle.v1.ProofpointMailSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 13) { + proofpointMailSettingsBuilder_.mergeFrom(value); + } else { + proofpointMailSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 13; + return this; + } + + /** + * + * + *
+     * Proofpoint mail settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ProofpointMailSettings proofpoint_mail_settings = 13; + */ + public Builder clearProofpointMailSettings() { + if (proofpointMailSettingsBuilder_ == null) { + if (detailsCase_ == 13) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 13) { + detailsCase_ = 0; + details_ = null; + } + proofpointMailSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Proofpoint mail settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ProofpointMailSettings proofpoint_mail_settings = 13; + */ + public com.google.cloud.chronicle.v1.ProofpointMailSettings.Builder + getProofpointMailSettingsBuilder() { + return internalGetProofpointMailSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Proofpoint mail settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ProofpointMailSettings proofpoint_mail_settings = 13; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ProofpointMailSettingsOrBuilder + getProofpointMailSettingsOrBuilder() { + if ((detailsCase_ == 13) && (proofpointMailSettingsBuilder_ != null)) { + return proofpointMailSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 13) { + return (com.google.cloud.chronicle.v1.ProofpointMailSettings) details_; + } + return com.google.cloud.chronicle.v1.ProofpointMailSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Proofpoint mail settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ProofpointMailSettings proofpoint_mail_settings = 13; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.ProofpointMailSettings, + com.google.cloud.chronicle.v1.ProofpointMailSettings.Builder, + com.google.cloud.chronicle.v1.ProofpointMailSettingsOrBuilder> + internalGetProofpointMailSettingsFieldBuilder() { + if (proofpointMailSettingsBuilder_ == null) { + if (!(detailsCase_ == 13)) { + details_ = com.google.cloud.chronicle.v1.ProofpointMailSettings.getDefaultInstance(); + } + proofpointMailSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.ProofpointMailSettings, + com.google.cloud.chronicle.v1.ProofpointMailSettings.Builder, + com.google.cloud.chronicle.v1.ProofpointMailSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.ProofpointMailSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 13; + onChanged(); + return proofpointMailSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.RecordedFutureIocSettings, + com.google.cloud.chronicle.v1.RecordedFutureIocSettings.Builder, + com.google.cloud.chronicle.v1.RecordedFutureIocSettingsOrBuilder> + recordedFutureIocSettingsBuilder_; + + /** + * + * + *
+     * Recorded Future IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.RecordedFutureIocSettings recorded_future_ioc_settings = 14; + * + * + * @return Whether the recordedFutureIocSettings field is set. + */ + @java.lang.Override + public boolean hasRecordedFutureIocSettings() { + return detailsCase_ == 14; + } + + /** + * + * + *
+     * Recorded Future IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.RecordedFutureIocSettings recorded_future_ioc_settings = 14; + * + * + * @return The recordedFutureIocSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.RecordedFutureIocSettings getRecordedFutureIocSettings() { + if (recordedFutureIocSettingsBuilder_ == null) { + if (detailsCase_ == 14) { + return (com.google.cloud.chronicle.v1.RecordedFutureIocSettings) details_; + } + return com.google.cloud.chronicle.v1.RecordedFutureIocSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 14) { + return recordedFutureIocSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.RecordedFutureIocSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Recorded Future IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.RecordedFutureIocSettings recorded_future_ioc_settings = 14; + * + */ + public Builder setRecordedFutureIocSettings( + com.google.cloud.chronicle.v1.RecordedFutureIocSettings value) { + if (recordedFutureIocSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + recordedFutureIocSettingsBuilder_.setMessage(value); + } + detailsCase_ = 14; + return this; + } + + /** + * + * + *
+     * Recorded Future IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.RecordedFutureIocSettings recorded_future_ioc_settings = 14; + * + */ + public Builder setRecordedFutureIocSettings( + com.google.cloud.chronicle.v1.RecordedFutureIocSettings.Builder builderForValue) { + if (recordedFutureIocSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + recordedFutureIocSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 14; + return this; + } + + /** + * + * + *
+     * Recorded Future IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.RecordedFutureIocSettings recorded_future_ioc_settings = 14; + * + */ + public Builder mergeRecordedFutureIocSettings( + com.google.cloud.chronicle.v1.RecordedFutureIocSettings value) { + if (recordedFutureIocSettingsBuilder_ == null) { + if (detailsCase_ == 14 + && details_ + != com.google.cloud.chronicle.v1.RecordedFutureIocSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.RecordedFutureIocSettings.newBuilder( + (com.google.cloud.chronicle.v1.RecordedFutureIocSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 14) { + recordedFutureIocSettingsBuilder_.mergeFrom(value); + } else { + recordedFutureIocSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 14; + return this; + } + + /** + * + * + *
+     * Recorded Future IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.RecordedFutureIocSettings recorded_future_ioc_settings = 14; + * + */ + public Builder clearRecordedFutureIocSettings() { + if (recordedFutureIocSettingsBuilder_ == null) { + if (detailsCase_ == 14) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 14) { + detailsCase_ = 0; + details_ = null; + } + recordedFutureIocSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Recorded Future IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.RecordedFutureIocSettings recorded_future_ioc_settings = 14; + * + */ + public com.google.cloud.chronicle.v1.RecordedFutureIocSettings.Builder + getRecordedFutureIocSettingsBuilder() { + return internalGetRecordedFutureIocSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Recorded Future IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.RecordedFutureIocSettings recorded_future_ioc_settings = 14; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.RecordedFutureIocSettingsOrBuilder + getRecordedFutureIocSettingsOrBuilder() { + if ((detailsCase_ == 14) && (recordedFutureIocSettingsBuilder_ != null)) { + return recordedFutureIocSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 14) { + return (com.google.cloud.chronicle.v1.RecordedFutureIocSettings) details_; + } + return com.google.cloud.chronicle.v1.RecordedFutureIocSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Recorded Future IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.RecordedFutureIocSettings recorded_future_ioc_settings = 14; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.RecordedFutureIocSettings, + com.google.cloud.chronicle.v1.RecordedFutureIocSettings.Builder, + com.google.cloud.chronicle.v1.RecordedFutureIocSettingsOrBuilder> + internalGetRecordedFutureIocSettingsFieldBuilder() { + if (recordedFutureIocSettingsBuilder_ == null) { + if (!(detailsCase_ == 14)) { + details_ = com.google.cloud.chronicle.v1.RecordedFutureIocSettings.getDefaultInstance(); + } + recordedFutureIocSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.RecordedFutureIocSettings, + com.google.cloud.chronicle.v1.RecordedFutureIocSettings.Builder, + com.google.cloud.chronicle.v1.RecordedFutureIocSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.RecordedFutureIocSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 14; + onChanged(); + return recordedFutureIocSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WorkdaySettings, + com.google.cloud.chronicle.v1.WorkdaySettings.Builder, + com.google.cloud.chronicle.v1.WorkdaySettingsOrBuilder> + workdaySettingsBuilder_; + + /** + * + * + *
+     * Workday settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkdaySettings workday_settings = 15; + * + * @return Whether the workdaySettings field is set. + */ + @java.lang.Override + public boolean hasWorkdaySettings() { + return detailsCase_ == 15; + } + + /** + * + * + *
+     * Workday settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkdaySettings workday_settings = 15; + * + * @return The workdaySettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkdaySettings getWorkdaySettings() { + if (workdaySettingsBuilder_ == null) { + if (detailsCase_ == 15) { + return (com.google.cloud.chronicle.v1.WorkdaySettings) details_; + } + return com.google.cloud.chronicle.v1.WorkdaySettings.getDefaultInstance(); + } else { + if (detailsCase_ == 15) { + return workdaySettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.WorkdaySettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Workday settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkdaySettings workday_settings = 15; + */ + public Builder setWorkdaySettings(com.google.cloud.chronicle.v1.WorkdaySettings value) { + if (workdaySettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + workdaySettingsBuilder_.setMessage(value); + } + detailsCase_ = 15; + return this; + } + + /** + * + * + *
+     * Workday settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkdaySettings workday_settings = 15; + */ + public Builder setWorkdaySettings( + com.google.cloud.chronicle.v1.WorkdaySettings.Builder builderForValue) { + if (workdaySettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + workdaySettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 15; + return this; + } + + /** + * + * + *
+     * Workday settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkdaySettings workday_settings = 15; + */ + public Builder mergeWorkdaySettings(com.google.cloud.chronicle.v1.WorkdaySettings value) { + if (workdaySettingsBuilder_ == null) { + if (detailsCase_ == 15 + && details_ != com.google.cloud.chronicle.v1.WorkdaySettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.WorkdaySettings.newBuilder( + (com.google.cloud.chronicle.v1.WorkdaySettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 15) { + workdaySettingsBuilder_.mergeFrom(value); + } else { + workdaySettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 15; + return this; + } + + /** + * + * + *
+     * Workday settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkdaySettings workday_settings = 15; + */ + public Builder clearWorkdaySettings() { + if (workdaySettingsBuilder_ == null) { + if (detailsCase_ == 15) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 15) { + detailsCase_ = 0; + details_ = null; + } + workdaySettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Workday settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkdaySettings workday_settings = 15; + */ + public com.google.cloud.chronicle.v1.WorkdaySettings.Builder getWorkdaySettingsBuilder() { + return internalGetWorkdaySettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Workday settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkdaySettings workday_settings = 15; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkdaySettingsOrBuilder getWorkdaySettingsOrBuilder() { + if ((detailsCase_ == 15) && (workdaySettingsBuilder_ != null)) { + return workdaySettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 15) { + return (com.google.cloud.chronicle.v1.WorkdaySettings) details_; + } + return com.google.cloud.chronicle.v1.WorkdaySettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Workday settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkdaySettings workday_settings = 15; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WorkdaySettings, + com.google.cloud.chronicle.v1.WorkdaySettings.Builder, + com.google.cloud.chronicle.v1.WorkdaySettingsOrBuilder> + internalGetWorkdaySettingsFieldBuilder() { + if (workdaySettingsBuilder_ == null) { + if (!(detailsCase_ == 15)) { + details_ = com.google.cloud.chronicle.v1.WorkdaySettings.getDefaultInstance(); + } + workdaySettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WorkdaySettings, + com.google.cloud.chronicle.v1.WorkdaySettings.Builder, + com.google.cloud.chronicle.v1.WorkdaySettingsOrBuilder>( + (com.google.cloud.chronicle.v1.WorkdaySettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 15; + onChanged(); + return workdaySettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.PanIocSettings, + com.google.cloud.chronicle.v1.PanIocSettings.Builder, + com.google.cloud.chronicle.v1.PanIocSettingsOrBuilder> + panIocSettingsBuilder_; + + /** + * + * + *
+     * PAN IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.PanIocSettings pan_ioc_settings = 16; + * + * @return Whether the panIocSettings field is set. + */ + @java.lang.Override + public boolean hasPanIocSettings() { + return detailsCase_ == 16; + } + + /** + * + * + *
+     * PAN IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.PanIocSettings pan_ioc_settings = 16; + * + * @return The panIocSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.PanIocSettings getPanIocSettings() { + if (panIocSettingsBuilder_ == null) { + if (detailsCase_ == 16) { + return (com.google.cloud.chronicle.v1.PanIocSettings) details_; + } + return com.google.cloud.chronicle.v1.PanIocSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 16) { + return panIocSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.PanIocSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * PAN IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.PanIocSettings pan_ioc_settings = 16; + */ + public Builder setPanIocSettings(com.google.cloud.chronicle.v1.PanIocSettings value) { + if (panIocSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + panIocSettingsBuilder_.setMessage(value); + } + detailsCase_ = 16; + return this; + } + + /** + * + * + *
+     * PAN IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.PanIocSettings pan_ioc_settings = 16; + */ + public Builder setPanIocSettings( + com.google.cloud.chronicle.v1.PanIocSettings.Builder builderForValue) { + if (panIocSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + panIocSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 16; + return this; + } + + /** + * + * + *
+     * PAN IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.PanIocSettings pan_ioc_settings = 16; + */ + public Builder mergePanIocSettings(com.google.cloud.chronicle.v1.PanIocSettings value) { + if (panIocSettingsBuilder_ == null) { + if (detailsCase_ == 16 + && details_ != com.google.cloud.chronicle.v1.PanIocSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.PanIocSettings.newBuilder( + (com.google.cloud.chronicle.v1.PanIocSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 16) { + panIocSettingsBuilder_.mergeFrom(value); + } else { + panIocSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 16; + return this; + } + + /** + * + * + *
+     * PAN IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.PanIocSettings pan_ioc_settings = 16; + */ + public Builder clearPanIocSettings() { + if (panIocSettingsBuilder_ == null) { + if (detailsCase_ == 16) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 16) { + detailsCase_ = 0; + details_ = null; + } + panIocSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * PAN IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.PanIocSettings pan_ioc_settings = 16; + */ + public com.google.cloud.chronicle.v1.PanIocSettings.Builder getPanIocSettingsBuilder() { + return internalGetPanIocSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * PAN IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.PanIocSettings pan_ioc_settings = 16; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.PanIocSettingsOrBuilder getPanIocSettingsOrBuilder() { + if ((detailsCase_ == 16) && (panIocSettingsBuilder_ != null)) { + return panIocSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 16) { + return (com.google.cloud.chronicle.v1.PanIocSettings) details_; + } + return com.google.cloud.chronicle.v1.PanIocSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * PAN IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.PanIocSettings pan_ioc_settings = 16; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.PanIocSettings, + com.google.cloud.chronicle.v1.PanIocSettings.Builder, + com.google.cloud.chronicle.v1.PanIocSettingsOrBuilder> + internalGetPanIocSettingsFieldBuilder() { + if (panIocSettingsBuilder_ == null) { + if (!(detailsCase_ == 16)) { + details_ = com.google.cloud.chronicle.v1.PanIocSettings.getDefaultInstance(); + } + panIocSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.PanIocSettings, + com.google.cloud.chronicle.v1.PanIocSettings.Builder, + com.google.cloud.chronicle.v1.PanIocSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.PanIocSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 16; + onChanged(); + return panIocSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OktaSettings, + com.google.cloud.chronicle.v1.OktaSettings.Builder, + com.google.cloud.chronicle.v1.OktaSettingsOrBuilder> + oktaSettingsBuilder_; + + /** + * + * + *
+     * Okta settings.
+     * 
+ * + * .google.cloud.chronicle.v1.OktaSettings okta_settings = 17; + * + * @return Whether the oktaSettings field is set. + */ + @java.lang.Override + public boolean hasOktaSettings() { + return detailsCase_ == 17; + } + + /** + * + * + *
+     * Okta settings.
+     * 
+ * + * .google.cloud.chronicle.v1.OktaSettings okta_settings = 17; + * + * @return The oktaSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OktaSettings getOktaSettings() { + if (oktaSettingsBuilder_ == null) { + if (detailsCase_ == 17) { + return (com.google.cloud.chronicle.v1.OktaSettings) details_; + } + return com.google.cloud.chronicle.v1.OktaSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 17) { + return oktaSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.OktaSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Okta settings.
+     * 
+ * + * .google.cloud.chronicle.v1.OktaSettings okta_settings = 17; + */ + public Builder setOktaSettings(com.google.cloud.chronicle.v1.OktaSettings value) { + if (oktaSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + oktaSettingsBuilder_.setMessage(value); + } + detailsCase_ = 17; + return this; + } + + /** + * + * + *
+     * Okta settings.
+     * 
+ * + * .google.cloud.chronicle.v1.OktaSettings okta_settings = 17; + */ + public Builder setOktaSettings( + com.google.cloud.chronicle.v1.OktaSettings.Builder builderForValue) { + if (oktaSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + oktaSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 17; + return this; + } + + /** + * + * + *
+     * Okta settings.
+     * 
+ * + * .google.cloud.chronicle.v1.OktaSettings okta_settings = 17; + */ + public Builder mergeOktaSettings(com.google.cloud.chronicle.v1.OktaSettings value) { + if (oktaSettingsBuilder_ == null) { + if (detailsCase_ == 17 + && details_ != com.google.cloud.chronicle.v1.OktaSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.OktaSettings.newBuilder( + (com.google.cloud.chronicle.v1.OktaSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 17) { + oktaSettingsBuilder_.mergeFrom(value); + } else { + oktaSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 17; + return this; + } + + /** + * + * + *
+     * Okta settings.
+     * 
+ * + * .google.cloud.chronicle.v1.OktaSettings okta_settings = 17; + */ + public Builder clearOktaSettings() { + if (oktaSettingsBuilder_ == null) { + if (detailsCase_ == 17) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 17) { + detailsCase_ = 0; + details_ = null; + } + oktaSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Okta settings.
+     * 
+ * + * .google.cloud.chronicle.v1.OktaSettings okta_settings = 17; + */ + public com.google.cloud.chronicle.v1.OktaSettings.Builder getOktaSettingsBuilder() { + return internalGetOktaSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Okta settings.
+     * 
+ * + * .google.cloud.chronicle.v1.OktaSettings okta_settings = 17; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OktaSettingsOrBuilder getOktaSettingsOrBuilder() { + if ((detailsCase_ == 17) && (oktaSettingsBuilder_ != null)) { + return oktaSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 17) { + return (com.google.cloud.chronicle.v1.OktaSettings) details_; + } + return com.google.cloud.chronicle.v1.OktaSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Okta settings.
+     * 
+ * + * .google.cloud.chronicle.v1.OktaSettings okta_settings = 17; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OktaSettings, + com.google.cloud.chronicle.v1.OktaSettings.Builder, + com.google.cloud.chronicle.v1.OktaSettingsOrBuilder> + internalGetOktaSettingsFieldBuilder() { + if (oktaSettingsBuilder_ == null) { + if (!(detailsCase_ == 17)) { + details_ = com.google.cloud.chronicle.v1.OktaSettings.getDefaultInstance(); + } + oktaSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OktaSettings, + com.google.cloud.chronicle.v1.OktaSettings.Builder, + com.google.cloud.chronicle.v1.OktaSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.OktaSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 17; + onChanged(); + return oktaSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OktaUserContextSettings, + com.google.cloud.chronicle.v1.OktaUserContextSettings.Builder, + com.google.cloud.chronicle.v1.OktaUserContextSettingsOrBuilder> + oktaUserContextSettingsBuilder_; + + /** + * + * + *
+     * Okta user context settings.
+     * 
+ * + * .google.cloud.chronicle.v1.OktaUserContextSettings okta_user_context_settings = 18; + * + * + * @return Whether the oktaUserContextSettings field is set. + */ + @java.lang.Override + public boolean hasOktaUserContextSettings() { + return detailsCase_ == 18; + } + + /** + * + * + *
+     * Okta user context settings.
+     * 
+ * + * .google.cloud.chronicle.v1.OktaUserContextSettings okta_user_context_settings = 18; + * + * + * @return The oktaUserContextSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OktaUserContextSettings getOktaUserContextSettings() { + if (oktaUserContextSettingsBuilder_ == null) { + if (detailsCase_ == 18) { + return (com.google.cloud.chronicle.v1.OktaUserContextSettings) details_; + } + return com.google.cloud.chronicle.v1.OktaUserContextSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 18) { + return oktaUserContextSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.OktaUserContextSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Okta user context settings.
+     * 
+ * + * .google.cloud.chronicle.v1.OktaUserContextSettings okta_user_context_settings = 18; + * + */ + public Builder setOktaUserContextSettings( + com.google.cloud.chronicle.v1.OktaUserContextSettings value) { + if (oktaUserContextSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + oktaUserContextSettingsBuilder_.setMessage(value); + } + detailsCase_ = 18; + return this; + } + + /** + * + * + *
+     * Okta user context settings.
+     * 
+ * + * .google.cloud.chronicle.v1.OktaUserContextSettings okta_user_context_settings = 18; + * + */ + public Builder setOktaUserContextSettings( + com.google.cloud.chronicle.v1.OktaUserContextSettings.Builder builderForValue) { + if (oktaUserContextSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + oktaUserContextSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 18; + return this; + } + + /** + * + * + *
+     * Okta user context settings.
+     * 
+ * + * .google.cloud.chronicle.v1.OktaUserContextSettings okta_user_context_settings = 18; + * + */ + public Builder mergeOktaUserContextSettings( + com.google.cloud.chronicle.v1.OktaUserContextSettings value) { + if (oktaUserContextSettingsBuilder_ == null) { + if (detailsCase_ == 18 + && details_ + != com.google.cloud.chronicle.v1.OktaUserContextSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.OktaUserContextSettings.newBuilder( + (com.google.cloud.chronicle.v1.OktaUserContextSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 18) { + oktaUserContextSettingsBuilder_.mergeFrom(value); + } else { + oktaUserContextSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 18; + return this; + } + + /** + * + * + *
+     * Okta user context settings.
+     * 
+ * + * .google.cloud.chronicle.v1.OktaUserContextSettings okta_user_context_settings = 18; + * + */ + public Builder clearOktaUserContextSettings() { + if (oktaUserContextSettingsBuilder_ == null) { + if (detailsCase_ == 18) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 18) { + detailsCase_ = 0; + details_ = null; + } + oktaUserContextSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Okta user context settings.
+     * 
+ * + * .google.cloud.chronicle.v1.OktaUserContextSettings okta_user_context_settings = 18; + * + */ + public com.google.cloud.chronicle.v1.OktaUserContextSettings.Builder + getOktaUserContextSettingsBuilder() { + return internalGetOktaUserContextSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Okta user context settings.
+     * 
+ * + * .google.cloud.chronicle.v1.OktaUserContextSettings okta_user_context_settings = 18; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OktaUserContextSettingsOrBuilder + getOktaUserContextSettingsOrBuilder() { + if ((detailsCase_ == 18) && (oktaUserContextSettingsBuilder_ != null)) { + return oktaUserContextSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 18) { + return (com.google.cloud.chronicle.v1.OktaUserContextSettings) details_; + } + return com.google.cloud.chronicle.v1.OktaUserContextSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Okta user context settings.
+     * 
+ * + * .google.cloud.chronicle.v1.OktaUserContextSettings okta_user_context_settings = 18; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OktaUserContextSettings, + com.google.cloud.chronicle.v1.OktaUserContextSettings.Builder, + com.google.cloud.chronicle.v1.OktaUserContextSettingsOrBuilder> + internalGetOktaUserContextSettingsFieldBuilder() { + if (oktaUserContextSettingsBuilder_ == null) { + if (!(detailsCase_ == 18)) { + details_ = com.google.cloud.chronicle.v1.OktaUserContextSettings.getDefaultInstance(); + } + oktaUserContextSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OktaUserContextSettings, + com.google.cloud.chronicle.v1.OktaUserContextSettings.Builder, + com.google.cloud.chronicle.v1.OktaUserContextSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.OktaUserContextSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 18; + onChanged(); + return oktaUserContextSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.FoxITStixSettings, + com.google.cloud.chronicle.v1.FoxITStixSettings.Builder, + com.google.cloud.chronicle.v1.FoxITStixSettingsOrBuilder> + foxItStixSettingsBuilder_; + + /** + * + * + *
+     * Fox-IT STIX settings.
+     * 
+ * + * .google.cloud.chronicle.v1.FoxITStixSettings fox_it_stix_settings = 19; + * + * @return Whether the foxItStixSettings field is set. + */ + @java.lang.Override + public boolean hasFoxItStixSettings() { + return detailsCase_ == 19; + } + + /** + * + * + *
+     * Fox-IT STIX settings.
+     * 
+ * + * .google.cloud.chronicle.v1.FoxITStixSettings fox_it_stix_settings = 19; + * + * @return The foxItStixSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.FoxITStixSettings getFoxItStixSettings() { + if (foxItStixSettingsBuilder_ == null) { + if (detailsCase_ == 19) { + return (com.google.cloud.chronicle.v1.FoxITStixSettings) details_; + } + return com.google.cloud.chronicle.v1.FoxITStixSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 19) { + return foxItStixSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.FoxITStixSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Fox-IT STIX settings.
+     * 
+ * + * .google.cloud.chronicle.v1.FoxITStixSettings fox_it_stix_settings = 19; + */ + public Builder setFoxItStixSettings(com.google.cloud.chronicle.v1.FoxITStixSettings value) { + if (foxItStixSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + foxItStixSettingsBuilder_.setMessage(value); + } + detailsCase_ = 19; + return this; + } + + /** + * + * + *
+     * Fox-IT STIX settings.
+     * 
+ * + * .google.cloud.chronicle.v1.FoxITStixSettings fox_it_stix_settings = 19; + */ + public Builder setFoxItStixSettings( + com.google.cloud.chronicle.v1.FoxITStixSettings.Builder builderForValue) { + if (foxItStixSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + foxItStixSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 19; + return this; + } + + /** + * + * + *
+     * Fox-IT STIX settings.
+     * 
+ * + * .google.cloud.chronicle.v1.FoxITStixSettings fox_it_stix_settings = 19; + */ + public Builder mergeFoxItStixSettings(com.google.cloud.chronicle.v1.FoxITStixSettings value) { + if (foxItStixSettingsBuilder_ == null) { + if (detailsCase_ == 19 + && details_ != com.google.cloud.chronicle.v1.FoxITStixSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.FoxITStixSettings.newBuilder( + (com.google.cloud.chronicle.v1.FoxITStixSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 19) { + foxItStixSettingsBuilder_.mergeFrom(value); + } else { + foxItStixSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 19; + return this; + } + + /** + * + * + *
+     * Fox-IT STIX settings.
+     * 
+ * + * .google.cloud.chronicle.v1.FoxITStixSettings fox_it_stix_settings = 19; + */ + public Builder clearFoxItStixSettings() { + if (foxItStixSettingsBuilder_ == null) { + if (detailsCase_ == 19) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 19) { + detailsCase_ = 0; + details_ = null; + } + foxItStixSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Fox-IT STIX settings.
+     * 
+ * + * .google.cloud.chronicle.v1.FoxITStixSettings fox_it_stix_settings = 19; + */ + public com.google.cloud.chronicle.v1.FoxITStixSettings.Builder getFoxItStixSettingsBuilder() { + return internalGetFoxItStixSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Fox-IT STIX settings.
+     * 
+ * + * .google.cloud.chronicle.v1.FoxITStixSettings fox_it_stix_settings = 19; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.FoxITStixSettingsOrBuilder + getFoxItStixSettingsOrBuilder() { + if ((detailsCase_ == 19) && (foxItStixSettingsBuilder_ != null)) { + return foxItStixSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 19) { + return (com.google.cloud.chronicle.v1.FoxITStixSettings) details_; + } + return com.google.cloud.chronicle.v1.FoxITStixSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Fox-IT STIX settings.
+     * 
+ * + * .google.cloud.chronicle.v1.FoxITStixSettings fox_it_stix_settings = 19; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.FoxITStixSettings, + com.google.cloud.chronicle.v1.FoxITStixSettings.Builder, + com.google.cloud.chronicle.v1.FoxITStixSettingsOrBuilder> + internalGetFoxItStixSettingsFieldBuilder() { + if (foxItStixSettingsBuilder_ == null) { + if (!(detailsCase_ == 19)) { + details_ = com.google.cloud.chronicle.v1.FoxITStixSettings.getDefaultInstance(); + } + foxItStixSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.FoxITStixSettings, + com.google.cloud.chronicle.v1.FoxITStixSettings.Builder, + com.google.cloud.chronicle.v1.FoxITStixSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.FoxITStixSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 19; + onChanged(); + return foxItStixSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.ThreatConnectIoCSettings, + com.google.cloud.chronicle.v1.ThreatConnectIoCSettings.Builder, + com.google.cloud.chronicle.v1.ThreatConnectIoCSettingsOrBuilder> + threatConnectIocSettingsBuilder_; + + /** + * + * + *
+     * ThreatConnect IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ThreatConnectIoCSettings threat_connect_ioc_settings = 20; + * + * + * @return Whether the threatConnectIocSettings field is set. + */ + @java.lang.Override + public boolean hasThreatConnectIocSettings() { + return detailsCase_ == 20; + } + + /** + * + * + *
+     * ThreatConnect IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ThreatConnectIoCSettings threat_connect_ioc_settings = 20; + * + * + * @return The threatConnectIocSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ThreatConnectIoCSettings getThreatConnectIocSettings() { + if (threatConnectIocSettingsBuilder_ == null) { + if (detailsCase_ == 20) { + return (com.google.cloud.chronicle.v1.ThreatConnectIoCSettings) details_; + } + return com.google.cloud.chronicle.v1.ThreatConnectIoCSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 20) { + return threatConnectIocSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.ThreatConnectIoCSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * ThreatConnect IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ThreatConnectIoCSettings threat_connect_ioc_settings = 20; + * + */ + public Builder setThreatConnectIocSettings( + com.google.cloud.chronicle.v1.ThreatConnectIoCSettings value) { + if (threatConnectIocSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + threatConnectIocSettingsBuilder_.setMessage(value); + } + detailsCase_ = 20; + return this; + } + + /** + * + * + *
+     * ThreatConnect IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ThreatConnectIoCSettings threat_connect_ioc_settings = 20; + * + */ + public Builder setThreatConnectIocSettings( + com.google.cloud.chronicle.v1.ThreatConnectIoCSettings.Builder builderForValue) { + if (threatConnectIocSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + threatConnectIocSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 20; + return this; + } + + /** + * + * + *
+     * ThreatConnect IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ThreatConnectIoCSettings threat_connect_ioc_settings = 20; + * + */ + public Builder mergeThreatConnectIocSettings( + com.google.cloud.chronicle.v1.ThreatConnectIoCSettings value) { + if (threatConnectIocSettingsBuilder_ == null) { + if (detailsCase_ == 20 + && details_ + != com.google.cloud.chronicle.v1.ThreatConnectIoCSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.ThreatConnectIoCSettings.newBuilder( + (com.google.cloud.chronicle.v1.ThreatConnectIoCSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 20) { + threatConnectIocSettingsBuilder_.mergeFrom(value); + } else { + threatConnectIocSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 20; + return this; + } + + /** + * + * + *
+     * ThreatConnect IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ThreatConnectIoCSettings threat_connect_ioc_settings = 20; + * + */ + public Builder clearThreatConnectIocSettings() { + if (threatConnectIocSettingsBuilder_ == null) { + if (detailsCase_ == 20) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 20) { + detailsCase_ = 0; + details_ = null; + } + threatConnectIocSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * ThreatConnect IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ThreatConnectIoCSettings threat_connect_ioc_settings = 20; + * + */ + public com.google.cloud.chronicle.v1.ThreatConnectIoCSettings.Builder + getThreatConnectIocSettingsBuilder() { + return internalGetThreatConnectIocSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * ThreatConnect IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ThreatConnectIoCSettings threat_connect_ioc_settings = 20; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ThreatConnectIoCSettingsOrBuilder + getThreatConnectIocSettingsOrBuilder() { + if ((detailsCase_ == 20) && (threatConnectIocSettingsBuilder_ != null)) { + return threatConnectIocSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 20) { + return (com.google.cloud.chronicle.v1.ThreatConnectIoCSettings) details_; + } + return com.google.cloud.chronicle.v1.ThreatConnectIoCSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * ThreatConnect IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ThreatConnectIoCSettings threat_connect_ioc_settings = 20; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.ThreatConnectIoCSettings, + com.google.cloud.chronicle.v1.ThreatConnectIoCSettings.Builder, + com.google.cloud.chronicle.v1.ThreatConnectIoCSettingsOrBuilder> + internalGetThreatConnectIocSettingsFieldBuilder() { + if (threatConnectIocSettingsBuilder_ == null) { + if (!(detailsCase_ == 20)) { + details_ = com.google.cloud.chronicle.v1.ThreatConnectIoCSettings.getDefaultInstance(); + } + threatConnectIocSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.ThreatConnectIoCSettings, + com.google.cloud.chronicle.v1.ThreatConnectIoCSettings.Builder, + com.google.cloud.chronicle.v1.ThreatConnectIoCSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.ThreatConnectIoCSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 20; + onChanged(); + return threatConnectIocSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.ServiceNowCMDBSettings, + com.google.cloud.chronicle.v1.ServiceNowCMDBSettings.Builder, + com.google.cloud.chronicle.v1.ServiceNowCMDBSettingsOrBuilder> + serviceNowCmdbSettingsBuilder_; + + /** + * + * + *
+     * ServiceNow CMDB settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ServiceNowCMDBSettings service_now_cmdb_settings = 21; + * + * + * @return Whether the serviceNowCmdbSettings field is set. + */ + @java.lang.Override + public boolean hasServiceNowCmdbSettings() { + return detailsCase_ == 21; + } + + /** + * + * + *
+     * ServiceNow CMDB settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ServiceNowCMDBSettings service_now_cmdb_settings = 21; + * + * + * @return The serviceNowCmdbSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ServiceNowCMDBSettings getServiceNowCmdbSettings() { + if (serviceNowCmdbSettingsBuilder_ == null) { + if (detailsCase_ == 21) { + return (com.google.cloud.chronicle.v1.ServiceNowCMDBSettings) details_; + } + return com.google.cloud.chronicle.v1.ServiceNowCMDBSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 21) { + return serviceNowCmdbSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.ServiceNowCMDBSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * ServiceNow CMDB settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ServiceNowCMDBSettings service_now_cmdb_settings = 21; + * + */ + public Builder setServiceNowCmdbSettings( + com.google.cloud.chronicle.v1.ServiceNowCMDBSettings value) { + if (serviceNowCmdbSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + serviceNowCmdbSettingsBuilder_.setMessage(value); + } + detailsCase_ = 21; + return this; + } + + /** + * + * + *
+     * ServiceNow CMDB settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ServiceNowCMDBSettings service_now_cmdb_settings = 21; + * + */ + public Builder setServiceNowCmdbSettings( + com.google.cloud.chronicle.v1.ServiceNowCMDBSettings.Builder builderForValue) { + if (serviceNowCmdbSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + serviceNowCmdbSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 21; + return this; + } + + /** + * + * + *
+     * ServiceNow CMDB settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ServiceNowCMDBSettings service_now_cmdb_settings = 21; + * + */ + public Builder mergeServiceNowCmdbSettings( + com.google.cloud.chronicle.v1.ServiceNowCMDBSettings value) { + if (serviceNowCmdbSettingsBuilder_ == null) { + if (detailsCase_ == 21 + && details_ + != com.google.cloud.chronicle.v1.ServiceNowCMDBSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.ServiceNowCMDBSettings.newBuilder( + (com.google.cloud.chronicle.v1.ServiceNowCMDBSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 21) { + serviceNowCmdbSettingsBuilder_.mergeFrom(value); + } else { + serviceNowCmdbSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 21; + return this; + } + + /** + * + * + *
+     * ServiceNow CMDB settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ServiceNowCMDBSettings service_now_cmdb_settings = 21; + * + */ + public Builder clearServiceNowCmdbSettings() { + if (serviceNowCmdbSettingsBuilder_ == null) { + if (detailsCase_ == 21) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 21) { + detailsCase_ = 0; + details_ = null; + } + serviceNowCmdbSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * ServiceNow CMDB settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ServiceNowCMDBSettings service_now_cmdb_settings = 21; + * + */ + public com.google.cloud.chronicle.v1.ServiceNowCMDBSettings.Builder + getServiceNowCmdbSettingsBuilder() { + return internalGetServiceNowCmdbSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * ServiceNow CMDB settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ServiceNowCMDBSettings service_now_cmdb_settings = 21; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ServiceNowCMDBSettingsOrBuilder + getServiceNowCmdbSettingsOrBuilder() { + if ((detailsCase_ == 21) && (serviceNowCmdbSettingsBuilder_ != null)) { + return serviceNowCmdbSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 21) { + return (com.google.cloud.chronicle.v1.ServiceNowCMDBSettings) details_; + } + return com.google.cloud.chronicle.v1.ServiceNowCMDBSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * ServiceNow CMDB settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ServiceNowCMDBSettings service_now_cmdb_settings = 21; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.ServiceNowCMDBSettings, + com.google.cloud.chronicle.v1.ServiceNowCMDBSettings.Builder, + com.google.cloud.chronicle.v1.ServiceNowCMDBSettingsOrBuilder> + internalGetServiceNowCmdbSettingsFieldBuilder() { + if (serviceNowCmdbSettingsBuilder_ == null) { + if (!(detailsCase_ == 21)) { + details_ = com.google.cloud.chronicle.v1.ServiceNowCMDBSettings.getDefaultInstance(); + } + serviceNowCmdbSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.ServiceNowCMDBSettings, + com.google.cloud.chronicle.v1.ServiceNowCMDBSettings.Builder, + com.google.cloud.chronicle.v1.ServiceNowCMDBSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.ServiceNowCMDBSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 21; + onChanged(); + return serviceNowCmdbSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.ImpervaWAFSettings, + com.google.cloud.chronicle.v1.ImpervaWAFSettings.Builder, + com.google.cloud.chronicle.v1.ImpervaWAFSettingsOrBuilder> + impervaWafSettingsBuilder_; + + /** + * + * + *
+     * Imperva WAF settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ImpervaWAFSettings imperva_waf_settings = 22; + * + * @return Whether the impervaWafSettings field is set. + */ + @java.lang.Override + public boolean hasImpervaWafSettings() { + return detailsCase_ == 22; + } + + /** + * + * + *
+     * Imperva WAF settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ImpervaWAFSettings imperva_waf_settings = 22; + * + * @return The impervaWafSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ImpervaWAFSettings getImpervaWafSettings() { + if (impervaWafSettingsBuilder_ == null) { + if (detailsCase_ == 22) { + return (com.google.cloud.chronicle.v1.ImpervaWAFSettings) details_; + } + return com.google.cloud.chronicle.v1.ImpervaWAFSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 22) { + return impervaWafSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.ImpervaWAFSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Imperva WAF settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ImpervaWAFSettings imperva_waf_settings = 22; + */ + public Builder setImpervaWafSettings(com.google.cloud.chronicle.v1.ImpervaWAFSettings value) { + if (impervaWafSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + impervaWafSettingsBuilder_.setMessage(value); + } + detailsCase_ = 22; + return this; + } + + /** + * + * + *
+     * Imperva WAF settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ImpervaWAFSettings imperva_waf_settings = 22; + */ + public Builder setImpervaWafSettings( + com.google.cloud.chronicle.v1.ImpervaWAFSettings.Builder builderForValue) { + if (impervaWafSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + impervaWafSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 22; + return this; + } + + /** + * + * + *
+     * Imperva WAF settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ImpervaWAFSettings imperva_waf_settings = 22; + */ + public Builder mergeImpervaWafSettings(com.google.cloud.chronicle.v1.ImpervaWAFSettings value) { + if (impervaWafSettingsBuilder_ == null) { + if (detailsCase_ == 22 + && details_ != com.google.cloud.chronicle.v1.ImpervaWAFSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.ImpervaWAFSettings.newBuilder( + (com.google.cloud.chronicle.v1.ImpervaWAFSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 22) { + impervaWafSettingsBuilder_.mergeFrom(value); + } else { + impervaWafSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 22; + return this; + } + + /** + * + * + *
+     * Imperva WAF settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ImpervaWAFSettings imperva_waf_settings = 22; + */ + public Builder clearImpervaWafSettings() { + if (impervaWafSettingsBuilder_ == null) { + if (detailsCase_ == 22) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 22) { + detailsCase_ = 0; + details_ = null; + } + impervaWafSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Imperva WAF settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ImpervaWAFSettings imperva_waf_settings = 22; + */ + public com.google.cloud.chronicle.v1.ImpervaWAFSettings.Builder getImpervaWafSettingsBuilder() { + return internalGetImpervaWafSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Imperva WAF settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ImpervaWAFSettings imperva_waf_settings = 22; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ImpervaWAFSettingsOrBuilder + getImpervaWafSettingsOrBuilder() { + if ((detailsCase_ == 22) && (impervaWafSettingsBuilder_ != null)) { + return impervaWafSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 22) { + return (com.google.cloud.chronicle.v1.ImpervaWAFSettings) details_; + } + return com.google.cloud.chronicle.v1.ImpervaWAFSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Imperva WAF settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ImpervaWAFSettings imperva_waf_settings = 22; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.ImpervaWAFSettings, + com.google.cloud.chronicle.v1.ImpervaWAFSettings.Builder, + com.google.cloud.chronicle.v1.ImpervaWAFSettingsOrBuilder> + internalGetImpervaWafSettingsFieldBuilder() { + if (impervaWafSettingsBuilder_ == null) { + if (!(detailsCase_ == 22)) { + details_ = com.google.cloud.chronicle.v1.ImpervaWAFSettings.getDefaultInstance(); + } + impervaWafSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.ImpervaWAFSettings, + com.google.cloud.chronicle.v1.ImpervaWAFSettings.Builder, + com.google.cloud.chronicle.v1.ImpervaWAFSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.ImpervaWAFSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 22; + onChanged(); + return impervaWafSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.ThinkstCanarySettings, + com.google.cloud.chronicle.v1.ThinkstCanarySettings.Builder, + com.google.cloud.chronicle.v1.ThinkstCanarySettingsOrBuilder> + thinkstCanarySettingsBuilder_; + + /** + * + * + *
+     * Thinkst Canary settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ThinkstCanarySettings thinkst_canary_settings = 23; + * + * @return Whether the thinkstCanarySettings field is set. + */ + @java.lang.Override + public boolean hasThinkstCanarySettings() { + return detailsCase_ == 23; + } + + /** + * + * + *
+     * Thinkst Canary settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ThinkstCanarySettings thinkst_canary_settings = 23; + * + * @return The thinkstCanarySettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ThinkstCanarySettings getThinkstCanarySettings() { + if (thinkstCanarySettingsBuilder_ == null) { + if (detailsCase_ == 23) { + return (com.google.cloud.chronicle.v1.ThinkstCanarySettings) details_; + } + return com.google.cloud.chronicle.v1.ThinkstCanarySettings.getDefaultInstance(); + } else { + if (detailsCase_ == 23) { + return thinkstCanarySettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.ThinkstCanarySettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Thinkst Canary settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ThinkstCanarySettings thinkst_canary_settings = 23; + */ + public Builder setThinkstCanarySettings( + com.google.cloud.chronicle.v1.ThinkstCanarySettings value) { + if (thinkstCanarySettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + thinkstCanarySettingsBuilder_.setMessage(value); + } + detailsCase_ = 23; + return this; + } + + /** + * + * + *
+     * Thinkst Canary settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ThinkstCanarySettings thinkst_canary_settings = 23; + */ + public Builder setThinkstCanarySettings( + com.google.cloud.chronicle.v1.ThinkstCanarySettings.Builder builderForValue) { + if (thinkstCanarySettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + thinkstCanarySettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 23; + return this; + } + + /** + * + * + *
+     * Thinkst Canary settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ThinkstCanarySettings thinkst_canary_settings = 23; + */ + public Builder mergeThinkstCanarySettings( + com.google.cloud.chronicle.v1.ThinkstCanarySettings value) { + if (thinkstCanarySettingsBuilder_ == null) { + if (detailsCase_ == 23 + && details_ + != com.google.cloud.chronicle.v1.ThinkstCanarySettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.ThinkstCanarySettings.newBuilder( + (com.google.cloud.chronicle.v1.ThinkstCanarySettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 23) { + thinkstCanarySettingsBuilder_.mergeFrom(value); + } else { + thinkstCanarySettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 23; + return this; + } + + /** + * + * + *
+     * Thinkst Canary settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ThinkstCanarySettings thinkst_canary_settings = 23; + */ + public Builder clearThinkstCanarySettings() { + if (thinkstCanarySettingsBuilder_ == null) { + if (detailsCase_ == 23) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 23) { + detailsCase_ = 0; + details_ = null; + } + thinkstCanarySettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Thinkst Canary settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ThinkstCanarySettings thinkst_canary_settings = 23; + */ + public com.google.cloud.chronicle.v1.ThinkstCanarySettings.Builder + getThinkstCanarySettingsBuilder() { + return internalGetThinkstCanarySettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Thinkst Canary settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ThinkstCanarySettings thinkst_canary_settings = 23; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ThinkstCanarySettingsOrBuilder + getThinkstCanarySettingsOrBuilder() { + if ((detailsCase_ == 23) && (thinkstCanarySettingsBuilder_ != null)) { + return thinkstCanarySettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 23) { + return (com.google.cloud.chronicle.v1.ThinkstCanarySettings) details_; + } + return com.google.cloud.chronicle.v1.ThinkstCanarySettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Thinkst Canary settings.
+     * 
+ * + * .google.cloud.chronicle.v1.ThinkstCanarySettings thinkst_canary_settings = 23; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.ThinkstCanarySettings, + com.google.cloud.chronicle.v1.ThinkstCanarySettings.Builder, + com.google.cloud.chronicle.v1.ThinkstCanarySettingsOrBuilder> + internalGetThinkstCanarySettingsFieldBuilder() { + if (thinkstCanarySettingsBuilder_ == null) { + if (!(detailsCase_ == 23)) { + details_ = com.google.cloud.chronicle.v1.ThinkstCanarySettings.getDefaultInstance(); + } + thinkstCanarySettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.ThinkstCanarySettings, + com.google.cloud.chronicle.v1.ThinkstCanarySettings.Builder, + com.google.cloud.chronicle.v1.ThinkstCanarySettingsOrBuilder>( + (com.google.cloud.chronicle.v1.ThinkstCanarySettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 23; + onChanged(); + return thinkstCanarySettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.RHIsacIocSettings, + com.google.cloud.chronicle.v1.RHIsacIocSettings.Builder, + com.google.cloud.chronicle.v1.RHIsacIocSettingsOrBuilder> + rhIsacIocSettingsBuilder_; + + /** + * + * + *
+     * RH-ISAC IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.RHIsacIocSettings rh_isac_ioc_settings = 24; + * + * @return Whether the rhIsacIocSettings field is set. + */ + @java.lang.Override + public boolean hasRhIsacIocSettings() { + return detailsCase_ == 24; + } + + /** + * + * + *
+     * RH-ISAC IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.RHIsacIocSettings rh_isac_ioc_settings = 24; + * + * @return The rhIsacIocSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.RHIsacIocSettings getRhIsacIocSettings() { + if (rhIsacIocSettingsBuilder_ == null) { + if (detailsCase_ == 24) { + return (com.google.cloud.chronicle.v1.RHIsacIocSettings) details_; + } + return com.google.cloud.chronicle.v1.RHIsacIocSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 24) { + return rhIsacIocSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.RHIsacIocSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * RH-ISAC IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.RHIsacIocSettings rh_isac_ioc_settings = 24; + */ + public Builder setRhIsacIocSettings(com.google.cloud.chronicle.v1.RHIsacIocSettings value) { + if (rhIsacIocSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + rhIsacIocSettingsBuilder_.setMessage(value); + } + detailsCase_ = 24; + return this; + } + + /** + * + * + *
+     * RH-ISAC IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.RHIsacIocSettings rh_isac_ioc_settings = 24; + */ + public Builder setRhIsacIocSettings( + com.google.cloud.chronicle.v1.RHIsacIocSettings.Builder builderForValue) { + if (rhIsacIocSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + rhIsacIocSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 24; + return this; + } + + /** + * + * + *
+     * RH-ISAC IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.RHIsacIocSettings rh_isac_ioc_settings = 24; + */ + public Builder mergeRhIsacIocSettings(com.google.cloud.chronicle.v1.RHIsacIocSettings value) { + if (rhIsacIocSettingsBuilder_ == null) { + if (detailsCase_ == 24 + && details_ != com.google.cloud.chronicle.v1.RHIsacIocSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.RHIsacIocSettings.newBuilder( + (com.google.cloud.chronicle.v1.RHIsacIocSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 24) { + rhIsacIocSettingsBuilder_.mergeFrom(value); + } else { + rhIsacIocSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 24; + return this; + } + + /** + * + * + *
+     * RH-ISAC IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.RHIsacIocSettings rh_isac_ioc_settings = 24; + */ + public Builder clearRhIsacIocSettings() { + if (rhIsacIocSettingsBuilder_ == null) { + if (detailsCase_ == 24) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 24) { + detailsCase_ = 0; + details_ = null; + } + rhIsacIocSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * RH-ISAC IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.RHIsacIocSettings rh_isac_ioc_settings = 24; + */ + public com.google.cloud.chronicle.v1.RHIsacIocSettings.Builder getRhIsacIocSettingsBuilder() { + return internalGetRhIsacIocSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * RH-ISAC IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.RHIsacIocSettings rh_isac_ioc_settings = 24; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.RHIsacIocSettingsOrBuilder + getRhIsacIocSettingsOrBuilder() { + if ((detailsCase_ == 24) && (rhIsacIocSettingsBuilder_ != null)) { + return rhIsacIocSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 24) { + return (com.google.cloud.chronicle.v1.RHIsacIocSettings) details_; + } + return com.google.cloud.chronicle.v1.RHIsacIocSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * RH-ISAC IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.RHIsacIocSettings rh_isac_ioc_settings = 24; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.RHIsacIocSettings, + com.google.cloud.chronicle.v1.RHIsacIocSettings.Builder, + com.google.cloud.chronicle.v1.RHIsacIocSettingsOrBuilder> + internalGetRhIsacIocSettingsFieldBuilder() { + if (rhIsacIocSettingsBuilder_ == null) { + if (!(detailsCase_ == 24)) { + details_ = com.google.cloud.chronicle.v1.RHIsacIocSettings.getDefaultInstance(); + } + rhIsacIocSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.RHIsacIocSettings, + com.google.cloud.chronicle.v1.RHIsacIocSettings.Builder, + com.google.cloud.chronicle.v1.RHIsacIocSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.RHIsacIocSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 24; + onChanged(); + return rhIsacIocSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.Rapid7InsightSettings, + com.google.cloud.chronicle.v1.Rapid7InsightSettings.Builder, + com.google.cloud.chronicle.v1.Rapid7InsightSettingsOrBuilder> + rapid7InsightSettingsBuilder_; + + /** + * + * + *
+     * Rapid7 Insight settings.
+     * 
+ * + * .google.cloud.chronicle.v1.Rapid7InsightSettings rapid7_insight_settings = 25; + * + * @return Whether the rapid7InsightSettings field is set. + */ + @java.lang.Override + public boolean hasRapid7InsightSettings() { + return detailsCase_ == 25; + } + + /** + * + * + *
+     * Rapid7 Insight settings.
+     * 
+ * + * .google.cloud.chronicle.v1.Rapid7InsightSettings rapid7_insight_settings = 25; + * + * @return The rapid7InsightSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.Rapid7InsightSettings getRapid7InsightSettings() { + if (rapid7InsightSettingsBuilder_ == null) { + if (detailsCase_ == 25) { + return (com.google.cloud.chronicle.v1.Rapid7InsightSettings) details_; + } + return com.google.cloud.chronicle.v1.Rapid7InsightSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 25) { + return rapid7InsightSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.Rapid7InsightSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Rapid7 Insight settings.
+     * 
+ * + * .google.cloud.chronicle.v1.Rapid7InsightSettings rapid7_insight_settings = 25; + */ + public Builder setRapid7InsightSettings( + com.google.cloud.chronicle.v1.Rapid7InsightSettings value) { + if (rapid7InsightSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + rapid7InsightSettingsBuilder_.setMessage(value); + } + detailsCase_ = 25; + return this; + } + + /** + * + * + *
+     * Rapid7 Insight settings.
+     * 
+ * + * .google.cloud.chronicle.v1.Rapid7InsightSettings rapid7_insight_settings = 25; + */ + public Builder setRapid7InsightSettings( + com.google.cloud.chronicle.v1.Rapid7InsightSettings.Builder builderForValue) { + if (rapid7InsightSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + rapid7InsightSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 25; + return this; + } + + /** + * + * + *
+     * Rapid7 Insight settings.
+     * 
+ * + * .google.cloud.chronicle.v1.Rapid7InsightSettings rapid7_insight_settings = 25; + */ + public Builder mergeRapid7InsightSettings( + com.google.cloud.chronicle.v1.Rapid7InsightSettings value) { + if (rapid7InsightSettingsBuilder_ == null) { + if (detailsCase_ == 25 + && details_ + != com.google.cloud.chronicle.v1.Rapid7InsightSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.Rapid7InsightSettings.newBuilder( + (com.google.cloud.chronicle.v1.Rapid7InsightSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 25) { + rapid7InsightSettingsBuilder_.mergeFrom(value); + } else { + rapid7InsightSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 25; + return this; + } + + /** + * + * + *
+     * Rapid7 Insight settings.
+     * 
+ * + * .google.cloud.chronicle.v1.Rapid7InsightSettings rapid7_insight_settings = 25; + */ + public Builder clearRapid7InsightSettings() { + if (rapid7InsightSettingsBuilder_ == null) { + if (detailsCase_ == 25) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 25) { + detailsCase_ = 0; + details_ = null; + } + rapid7InsightSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Rapid7 Insight settings.
+     * 
+ * + * .google.cloud.chronicle.v1.Rapid7InsightSettings rapid7_insight_settings = 25; + */ + public com.google.cloud.chronicle.v1.Rapid7InsightSettings.Builder + getRapid7InsightSettingsBuilder() { + return internalGetRapid7InsightSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Rapid7 Insight settings.
+     * 
+ * + * .google.cloud.chronicle.v1.Rapid7InsightSettings rapid7_insight_settings = 25; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.Rapid7InsightSettingsOrBuilder + getRapid7InsightSettingsOrBuilder() { + if ((detailsCase_ == 25) && (rapid7InsightSettingsBuilder_ != null)) { + return rapid7InsightSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 25) { + return (com.google.cloud.chronicle.v1.Rapid7InsightSettings) details_; + } + return com.google.cloud.chronicle.v1.Rapid7InsightSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Rapid7 Insight settings.
+     * 
+ * + * .google.cloud.chronicle.v1.Rapid7InsightSettings rapid7_insight_settings = 25; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.Rapid7InsightSettings, + com.google.cloud.chronicle.v1.Rapid7InsightSettings.Builder, + com.google.cloud.chronicle.v1.Rapid7InsightSettingsOrBuilder> + internalGetRapid7InsightSettingsFieldBuilder() { + if (rapid7InsightSettingsBuilder_ == null) { + if (!(detailsCase_ == 25)) { + details_ = com.google.cloud.chronicle.v1.Rapid7InsightSettings.getDefaultInstance(); + } + rapid7InsightSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.Rapid7InsightSettings, + com.google.cloud.chronicle.v1.Rapid7InsightSettings.Builder, + com.google.cloud.chronicle.v1.Rapid7InsightSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.Rapid7InsightSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 25; + onChanged(); + return rapid7InsightSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SalesforceSettings, + com.google.cloud.chronicle.v1.SalesforceSettings.Builder, + com.google.cloud.chronicle.v1.SalesforceSettingsOrBuilder> + salesforceSettingsBuilder_; + + /** + * + * + *
+     * Salesforce settings.
+     * 
+ * + * .google.cloud.chronicle.v1.SalesforceSettings salesforce_settings = 26; + * + * @return Whether the salesforceSettings field is set. + */ + @java.lang.Override + public boolean hasSalesforceSettings() { + return detailsCase_ == 26; + } + + /** + * + * + *
+     * Salesforce settings.
+     * 
+ * + * .google.cloud.chronicle.v1.SalesforceSettings salesforce_settings = 26; + * + * @return The salesforceSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SalesforceSettings getSalesforceSettings() { + if (salesforceSettingsBuilder_ == null) { + if (detailsCase_ == 26) { + return (com.google.cloud.chronicle.v1.SalesforceSettings) details_; + } + return com.google.cloud.chronicle.v1.SalesforceSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 26) { + return salesforceSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.SalesforceSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Salesforce settings.
+     * 
+ * + * .google.cloud.chronicle.v1.SalesforceSettings salesforce_settings = 26; + */ + public Builder setSalesforceSettings(com.google.cloud.chronicle.v1.SalesforceSettings value) { + if (salesforceSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + salesforceSettingsBuilder_.setMessage(value); + } + detailsCase_ = 26; + return this; + } + + /** + * + * + *
+     * Salesforce settings.
+     * 
+ * + * .google.cloud.chronicle.v1.SalesforceSettings salesforce_settings = 26; + */ + public Builder setSalesforceSettings( + com.google.cloud.chronicle.v1.SalesforceSettings.Builder builderForValue) { + if (salesforceSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + salesforceSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 26; + return this; + } + + /** + * + * + *
+     * Salesforce settings.
+     * 
+ * + * .google.cloud.chronicle.v1.SalesforceSettings salesforce_settings = 26; + */ + public Builder mergeSalesforceSettings(com.google.cloud.chronicle.v1.SalesforceSettings value) { + if (salesforceSettingsBuilder_ == null) { + if (detailsCase_ == 26 + && details_ != com.google.cloud.chronicle.v1.SalesforceSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.SalesforceSettings.newBuilder( + (com.google.cloud.chronicle.v1.SalesforceSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 26) { + salesforceSettingsBuilder_.mergeFrom(value); + } else { + salesforceSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 26; + return this; + } + + /** + * + * + *
+     * Salesforce settings.
+     * 
+ * + * .google.cloud.chronicle.v1.SalesforceSettings salesforce_settings = 26; + */ + public Builder clearSalesforceSettings() { + if (salesforceSettingsBuilder_ == null) { + if (detailsCase_ == 26) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 26) { + detailsCase_ = 0; + details_ = null; + } + salesforceSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Salesforce settings.
+     * 
+ * + * .google.cloud.chronicle.v1.SalesforceSettings salesforce_settings = 26; + */ + public com.google.cloud.chronicle.v1.SalesforceSettings.Builder getSalesforceSettingsBuilder() { + return internalGetSalesforceSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Salesforce settings.
+     * 
+ * + * .google.cloud.chronicle.v1.SalesforceSettings salesforce_settings = 26; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SalesforceSettingsOrBuilder + getSalesforceSettingsOrBuilder() { + if ((detailsCase_ == 26) && (salesforceSettingsBuilder_ != null)) { + return salesforceSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 26) { + return (com.google.cloud.chronicle.v1.SalesforceSettings) details_; + } + return com.google.cloud.chronicle.v1.SalesforceSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Salesforce settings.
+     * 
+ * + * .google.cloud.chronicle.v1.SalesforceSettings salesforce_settings = 26; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SalesforceSettings, + com.google.cloud.chronicle.v1.SalesforceSettings.Builder, + com.google.cloud.chronicle.v1.SalesforceSettingsOrBuilder> + internalGetSalesforceSettingsFieldBuilder() { + if (salesforceSettingsBuilder_ == null) { + if (!(detailsCase_ == 26)) { + details_ = com.google.cloud.chronicle.v1.SalesforceSettings.getDefaultInstance(); + } + salesforceSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SalesforceSettings, + com.google.cloud.chronicle.v1.SalesforceSettings.Builder, + com.google.cloud.chronicle.v1.SalesforceSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.SalesforceSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 26; + onChanged(); + return salesforceSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.NetskopeAlertSettings, + com.google.cloud.chronicle.v1.NetskopeAlertSettings.Builder, + com.google.cloud.chronicle.v1.NetskopeAlertSettingsOrBuilder> + netskopeAlertSettingsBuilder_; + + /** + * + * + *
+     * Netskope alert settings.
+     * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertSettings netskope_alert_settings = 27; + * + * @return Whether the netskopeAlertSettings field is set. + */ + @java.lang.Override + public boolean hasNetskopeAlertSettings() { + return detailsCase_ == 27; + } + + /** + * + * + *
+     * Netskope alert settings.
+     * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertSettings netskope_alert_settings = 27; + * + * @return The netskopeAlertSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.NetskopeAlertSettings getNetskopeAlertSettings() { + if (netskopeAlertSettingsBuilder_ == null) { + if (detailsCase_ == 27) { + return (com.google.cloud.chronicle.v1.NetskopeAlertSettings) details_; + } + return com.google.cloud.chronicle.v1.NetskopeAlertSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 27) { + return netskopeAlertSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.NetskopeAlertSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Netskope alert settings.
+     * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertSettings netskope_alert_settings = 27; + */ + public Builder setNetskopeAlertSettings( + com.google.cloud.chronicle.v1.NetskopeAlertSettings value) { + if (netskopeAlertSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + netskopeAlertSettingsBuilder_.setMessage(value); + } + detailsCase_ = 27; + return this; + } + + /** + * + * + *
+     * Netskope alert settings.
+     * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertSettings netskope_alert_settings = 27; + */ + public Builder setNetskopeAlertSettings( + com.google.cloud.chronicle.v1.NetskopeAlertSettings.Builder builderForValue) { + if (netskopeAlertSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + netskopeAlertSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 27; + return this; + } + + /** + * + * + *
+     * Netskope alert settings.
+     * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertSettings netskope_alert_settings = 27; + */ + public Builder mergeNetskopeAlertSettings( + com.google.cloud.chronicle.v1.NetskopeAlertSettings value) { + if (netskopeAlertSettingsBuilder_ == null) { + if (detailsCase_ == 27 + && details_ + != com.google.cloud.chronicle.v1.NetskopeAlertSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.NetskopeAlertSettings.newBuilder( + (com.google.cloud.chronicle.v1.NetskopeAlertSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 27) { + netskopeAlertSettingsBuilder_.mergeFrom(value); + } else { + netskopeAlertSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 27; + return this; + } + + /** + * + * + *
+     * Netskope alert settings.
+     * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertSettings netskope_alert_settings = 27; + */ + public Builder clearNetskopeAlertSettings() { + if (netskopeAlertSettingsBuilder_ == null) { + if (detailsCase_ == 27) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 27) { + detailsCase_ = 0; + details_ = null; + } + netskopeAlertSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Netskope alert settings.
+     * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertSettings netskope_alert_settings = 27; + */ + public com.google.cloud.chronicle.v1.NetskopeAlertSettings.Builder + getNetskopeAlertSettingsBuilder() { + return internalGetNetskopeAlertSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Netskope alert settings.
+     * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertSettings netskope_alert_settings = 27; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.NetskopeAlertSettingsOrBuilder + getNetskopeAlertSettingsOrBuilder() { + if ((detailsCase_ == 27) && (netskopeAlertSettingsBuilder_ != null)) { + return netskopeAlertSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 27) { + return (com.google.cloud.chronicle.v1.NetskopeAlertSettings) details_; + } + return com.google.cloud.chronicle.v1.NetskopeAlertSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Netskope alert settings.
+     * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertSettings netskope_alert_settings = 27; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.NetskopeAlertSettings, + com.google.cloud.chronicle.v1.NetskopeAlertSettings.Builder, + com.google.cloud.chronicle.v1.NetskopeAlertSettingsOrBuilder> + internalGetNetskopeAlertSettingsFieldBuilder() { + if (netskopeAlertSettingsBuilder_ == null) { + if (!(detailsCase_ == 27)) { + details_ = com.google.cloud.chronicle.v1.NetskopeAlertSettings.getDefaultInstance(); + } + netskopeAlertSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.NetskopeAlertSettings, + com.google.cloud.chronicle.v1.NetskopeAlertSettings.Builder, + com.google.cloud.chronicle.v1.NetskopeAlertSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.NetskopeAlertSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 27; + onChanged(); + return netskopeAlertSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureMDMIntuneSettings, + com.google.cloud.chronicle.v1.AzureMDMIntuneSettings.Builder, + com.google.cloud.chronicle.v1.AzureMDMIntuneSettingsOrBuilder> + azureMdmIntuneSettingsBuilder_; + + /** + * + * + *
+     * Azure MDM Intune settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureMDMIntuneSettings azure_mdm_intune_settings = 28; + * + * + * @return Whether the azureMdmIntuneSettings field is set. + */ + @java.lang.Override + public boolean hasAzureMdmIntuneSettings() { + return detailsCase_ == 28; + } + + /** + * + * + *
+     * Azure MDM Intune settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureMDMIntuneSettings azure_mdm_intune_settings = 28; + * + * + * @return The azureMdmIntuneSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureMDMIntuneSettings getAzureMdmIntuneSettings() { + if (azureMdmIntuneSettingsBuilder_ == null) { + if (detailsCase_ == 28) { + return (com.google.cloud.chronicle.v1.AzureMDMIntuneSettings) details_; + } + return com.google.cloud.chronicle.v1.AzureMDMIntuneSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 28) { + return azureMdmIntuneSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.AzureMDMIntuneSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Azure MDM Intune settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureMDMIntuneSettings azure_mdm_intune_settings = 28; + * + */ + public Builder setAzureMdmIntuneSettings( + com.google.cloud.chronicle.v1.AzureMDMIntuneSettings value) { + if (azureMdmIntuneSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + azureMdmIntuneSettingsBuilder_.setMessage(value); + } + detailsCase_ = 28; + return this; + } + + /** + * + * + *
+     * Azure MDM Intune settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureMDMIntuneSettings azure_mdm_intune_settings = 28; + * + */ + public Builder setAzureMdmIntuneSettings( + com.google.cloud.chronicle.v1.AzureMDMIntuneSettings.Builder builderForValue) { + if (azureMdmIntuneSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + azureMdmIntuneSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 28; + return this; + } + + /** + * + * + *
+     * Azure MDM Intune settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureMDMIntuneSettings azure_mdm_intune_settings = 28; + * + */ + public Builder mergeAzureMdmIntuneSettings( + com.google.cloud.chronicle.v1.AzureMDMIntuneSettings value) { + if (azureMdmIntuneSettingsBuilder_ == null) { + if (detailsCase_ == 28 + && details_ + != com.google.cloud.chronicle.v1.AzureMDMIntuneSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.AzureMDMIntuneSettings.newBuilder( + (com.google.cloud.chronicle.v1.AzureMDMIntuneSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 28) { + azureMdmIntuneSettingsBuilder_.mergeFrom(value); + } else { + azureMdmIntuneSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 28; + return this; + } + + /** + * + * + *
+     * Azure MDM Intune settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureMDMIntuneSettings azure_mdm_intune_settings = 28; + * + */ + public Builder clearAzureMdmIntuneSettings() { + if (azureMdmIntuneSettingsBuilder_ == null) { + if (detailsCase_ == 28) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 28) { + detailsCase_ = 0; + details_ = null; + } + azureMdmIntuneSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Azure MDM Intune settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureMDMIntuneSettings azure_mdm_intune_settings = 28; + * + */ + public com.google.cloud.chronicle.v1.AzureMDMIntuneSettings.Builder + getAzureMdmIntuneSettingsBuilder() { + return internalGetAzureMdmIntuneSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Azure MDM Intune settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureMDMIntuneSettings azure_mdm_intune_settings = 28; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureMDMIntuneSettingsOrBuilder + getAzureMdmIntuneSettingsOrBuilder() { + if ((detailsCase_ == 28) && (azureMdmIntuneSettingsBuilder_ != null)) { + return azureMdmIntuneSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 28) { + return (com.google.cloud.chronicle.v1.AzureMDMIntuneSettings) details_; + } + return com.google.cloud.chronicle.v1.AzureMDMIntuneSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Azure MDM Intune settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureMDMIntuneSettings azure_mdm_intune_settings = 28; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureMDMIntuneSettings, + com.google.cloud.chronicle.v1.AzureMDMIntuneSettings.Builder, + com.google.cloud.chronicle.v1.AzureMDMIntuneSettingsOrBuilder> + internalGetAzureMdmIntuneSettingsFieldBuilder() { + if (azureMdmIntuneSettingsBuilder_ == null) { + if (!(detailsCase_ == 28)) { + details_ = com.google.cloud.chronicle.v1.AzureMDMIntuneSettings.getDefaultInstance(); + } + azureMdmIntuneSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureMDMIntuneSettings, + com.google.cloud.chronicle.v1.AzureMDMIntuneSettings.Builder, + com.google.cloud.chronicle.v1.AzureMDMIntuneSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.AzureMDMIntuneSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 28; + onChanged(); + return azureMdmIntuneSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureADSettings, + com.google.cloud.chronicle.v1.AzureADSettings.Builder, + com.google.cloud.chronicle.v1.AzureADSettingsOrBuilder> + azureAdSettingsBuilder_; + + /** + * + * + *
+     * Azure AD settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureADSettings azure_ad_settings = 29; + * + * @return Whether the azureAdSettings field is set. + */ + @java.lang.Override + public boolean hasAzureAdSettings() { + return detailsCase_ == 29; + } + + /** + * + * + *
+     * Azure AD settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureADSettings azure_ad_settings = 29; + * + * @return The azureAdSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureADSettings getAzureAdSettings() { + if (azureAdSettingsBuilder_ == null) { + if (detailsCase_ == 29) { + return (com.google.cloud.chronicle.v1.AzureADSettings) details_; + } + return com.google.cloud.chronicle.v1.AzureADSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 29) { + return azureAdSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.AzureADSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Azure AD settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureADSettings azure_ad_settings = 29; + */ + public Builder setAzureAdSettings(com.google.cloud.chronicle.v1.AzureADSettings value) { + if (azureAdSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + azureAdSettingsBuilder_.setMessage(value); + } + detailsCase_ = 29; + return this; + } + + /** + * + * + *
+     * Azure AD settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureADSettings azure_ad_settings = 29; + */ + public Builder setAzureAdSettings( + com.google.cloud.chronicle.v1.AzureADSettings.Builder builderForValue) { + if (azureAdSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + azureAdSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 29; + return this; + } + + /** + * + * + *
+     * Azure AD settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureADSettings azure_ad_settings = 29; + */ + public Builder mergeAzureAdSettings(com.google.cloud.chronicle.v1.AzureADSettings value) { + if (azureAdSettingsBuilder_ == null) { + if (detailsCase_ == 29 + && details_ != com.google.cloud.chronicle.v1.AzureADSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.AzureADSettings.newBuilder( + (com.google.cloud.chronicle.v1.AzureADSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 29) { + azureAdSettingsBuilder_.mergeFrom(value); + } else { + azureAdSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 29; + return this; + } + + /** + * + * + *
+     * Azure AD settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureADSettings azure_ad_settings = 29; + */ + public Builder clearAzureAdSettings() { + if (azureAdSettingsBuilder_ == null) { + if (detailsCase_ == 29) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 29) { + detailsCase_ = 0; + details_ = null; + } + azureAdSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Azure AD settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureADSettings azure_ad_settings = 29; + */ + public com.google.cloud.chronicle.v1.AzureADSettings.Builder getAzureAdSettingsBuilder() { + return internalGetAzureAdSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Azure AD settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureADSettings azure_ad_settings = 29; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureADSettingsOrBuilder getAzureAdSettingsOrBuilder() { + if ((detailsCase_ == 29) && (azureAdSettingsBuilder_ != null)) { + return azureAdSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 29) { + return (com.google.cloud.chronicle.v1.AzureADSettings) details_; + } + return com.google.cloud.chronicle.v1.AzureADSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Azure AD settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureADSettings azure_ad_settings = 29; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureADSettings, + com.google.cloud.chronicle.v1.AzureADSettings.Builder, + com.google.cloud.chronicle.v1.AzureADSettingsOrBuilder> + internalGetAzureAdSettingsFieldBuilder() { + if (azureAdSettingsBuilder_ == null) { + if (!(detailsCase_ == 29)) { + details_ = com.google.cloud.chronicle.v1.AzureADSettings.getDefaultInstance(); + } + azureAdSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureADSettings, + com.google.cloud.chronicle.v1.AzureADSettings.Builder, + com.google.cloud.chronicle.v1.AzureADSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.AzureADSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 29; + onChanged(); + return azureAdSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.ProofpointOnDemandSettings, + com.google.cloud.chronicle.v1.ProofpointOnDemandSettings.Builder, + com.google.cloud.chronicle.v1.ProofpointOnDemandSettingsOrBuilder> + proofpointOnDemandSettingsBuilder_; + + /** + * + * + *
+     * Proofpoint On-Demand settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.ProofpointOnDemandSettings proofpoint_on_demand_settings = 30; + * + * + * @return Whether the proofpointOnDemandSettings field is set. + */ + @java.lang.Override + public boolean hasProofpointOnDemandSettings() { + return detailsCase_ == 30; + } + + /** + * + * + *
+     * Proofpoint On-Demand settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.ProofpointOnDemandSettings proofpoint_on_demand_settings = 30; + * + * + * @return The proofpointOnDemandSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ProofpointOnDemandSettings + getProofpointOnDemandSettings() { + if (proofpointOnDemandSettingsBuilder_ == null) { + if (detailsCase_ == 30) { + return (com.google.cloud.chronicle.v1.ProofpointOnDemandSettings) details_; + } + return com.google.cloud.chronicle.v1.ProofpointOnDemandSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 30) { + return proofpointOnDemandSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.ProofpointOnDemandSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Proofpoint On-Demand settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.ProofpointOnDemandSettings proofpoint_on_demand_settings = 30; + * + */ + public Builder setProofpointOnDemandSettings( + com.google.cloud.chronicle.v1.ProofpointOnDemandSettings value) { + if (proofpointOnDemandSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + proofpointOnDemandSettingsBuilder_.setMessage(value); + } + detailsCase_ = 30; + return this; + } + + /** + * + * + *
+     * Proofpoint On-Demand settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.ProofpointOnDemandSettings proofpoint_on_demand_settings = 30; + * + */ + public Builder setProofpointOnDemandSettings( + com.google.cloud.chronicle.v1.ProofpointOnDemandSettings.Builder builderForValue) { + if (proofpointOnDemandSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + proofpointOnDemandSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 30; + return this; + } + + /** + * + * + *
+     * Proofpoint On-Demand settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.ProofpointOnDemandSettings proofpoint_on_demand_settings = 30; + * + */ + public Builder mergeProofpointOnDemandSettings( + com.google.cloud.chronicle.v1.ProofpointOnDemandSettings value) { + if (proofpointOnDemandSettingsBuilder_ == null) { + if (detailsCase_ == 30 + && details_ + != com.google.cloud.chronicle.v1.ProofpointOnDemandSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.ProofpointOnDemandSettings.newBuilder( + (com.google.cloud.chronicle.v1.ProofpointOnDemandSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 30) { + proofpointOnDemandSettingsBuilder_.mergeFrom(value); + } else { + proofpointOnDemandSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 30; + return this; + } + + /** + * + * + *
+     * Proofpoint On-Demand settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.ProofpointOnDemandSettings proofpoint_on_demand_settings = 30; + * + */ + public Builder clearProofpointOnDemandSettings() { + if (proofpointOnDemandSettingsBuilder_ == null) { + if (detailsCase_ == 30) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 30) { + detailsCase_ = 0; + details_ = null; + } + proofpointOnDemandSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Proofpoint On-Demand settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.ProofpointOnDemandSettings proofpoint_on_demand_settings = 30; + * + */ + public com.google.cloud.chronicle.v1.ProofpointOnDemandSettings.Builder + getProofpointOnDemandSettingsBuilder() { + return internalGetProofpointOnDemandSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Proofpoint On-Demand settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.ProofpointOnDemandSettings proofpoint_on_demand_settings = 30; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ProofpointOnDemandSettingsOrBuilder + getProofpointOnDemandSettingsOrBuilder() { + if ((detailsCase_ == 30) && (proofpointOnDemandSettingsBuilder_ != null)) { + return proofpointOnDemandSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 30) { + return (com.google.cloud.chronicle.v1.ProofpointOnDemandSettings) details_; + } + return com.google.cloud.chronicle.v1.ProofpointOnDemandSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Proofpoint On-Demand settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.ProofpointOnDemandSettings proofpoint_on_demand_settings = 30; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.ProofpointOnDemandSettings, + com.google.cloud.chronicle.v1.ProofpointOnDemandSettings.Builder, + com.google.cloud.chronicle.v1.ProofpointOnDemandSettingsOrBuilder> + internalGetProofpointOnDemandSettingsFieldBuilder() { + if (proofpointOnDemandSettingsBuilder_ == null) { + if (!(detailsCase_ == 30)) { + details_ = com.google.cloud.chronicle.v1.ProofpointOnDemandSettings.getDefaultInstance(); + } + proofpointOnDemandSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.ProofpointOnDemandSettings, + com.google.cloud.chronicle.v1.ProofpointOnDemandSettings.Builder, + com.google.cloud.chronicle.v1.ProofpointOnDemandSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.ProofpointOnDemandSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 30; + onChanged(); + return proofpointOnDemandSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WorkspaceUsersSettings, + com.google.cloud.chronicle.v1.WorkspaceUsersSettings.Builder, + com.google.cloud.chronicle.v1.WorkspaceUsersSettingsOrBuilder> + workspaceUsersSettingsBuilder_; + + /** + * + * + *
+     * Workspace users settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceUsersSettings workspace_users_settings = 31; + * + * @return Whether the workspaceUsersSettings field is set. + */ + @java.lang.Override + public boolean hasWorkspaceUsersSettings() { + return detailsCase_ == 31; + } + + /** + * + * + *
+     * Workspace users settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceUsersSettings workspace_users_settings = 31; + * + * @return The workspaceUsersSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceUsersSettings getWorkspaceUsersSettings() { + if (workspaceUsersSettingsBuilder_ == null) { + if (detailsCase_ == 31) { + return (com.google.cloud.chronicle.v1.WorkspaceUsersSettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspaceUsersSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 31) { + return workspaceUsersSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.WorkspaceUsersSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Workspace users settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceUsersSettings workspace_users_settings = 31; + */ + public Builder setWorkspaceUsersSettings( + com.google.cloud.chronicle.v1.WorkspaceUsersSettings value) { + if (workspaceUsersSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + workspaceUsersSettingsBuilder_.setMessage(value); + } + detailsCase_ = 31; + return this; + } + + /** + * + * + *
+     * Workspace users settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceUsersSettings workspace_users_settings = 31; + */ + public Builder setWorkspaceUsersSettings( + com.google.cloud.chronicle.v1.WorkspaceUsersSettings.Builder builderForValue) { + if (workspaceUsersSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + workspaceUsersSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 31; + return this; + } + + /** + * + * + *
+     * Workspace users settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceUsersSettings workspace_users_settings = 31; + */ + public Builder mergeWorkspaceUsersSettings( + com.google.cloud.chronicle.v1.WorkspaceUsersSettings value) { + if (workspaceUsersSettingsBuilder_ == null) { + if (detailsCase_ == 31 + && details_ + != com.google.cloud.chronicle.v1.WorkspaceUsersSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.WorkspaceUsersSettings.newBuilder( + (com.google.cloud.chronicle.v1.WorkspaceUsersSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 31) { + workspaceUsersSettingsBuilder_.mergeFrom(value); + } else { + workspaceUsersSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 31; + return this; + } + + /** + * + * + *
+     * Workspace users settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceUsersSettings workspace_users_settings = 31; + */ + public Builder clearWorkspaceUsersSettings() { + if (workspaceUsersSettingsBuilder_ == null) { + if (detailsCase_ == 31) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 31) { + detailsCase_ = 0; + details_ = null; + } + workspaceUsersSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Workspace users settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceUsersSettings workspace_users_settings = 31; + */ + public com.google.cloud.chronicle.v1.WorkspaceUsersSettings.Builder + getWorkspaceUsersSettingsBuilder() { + return internalGetWorkspaceUsersSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Workspace users settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceUsersSettings workspace_users_settings = 31; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceUsersSettingsOrBuilder + getWorkspaceUsersSettingsOrBuilder() { + if ((detailsCase_ == 31) && (workspaceUsersSettingsBuilder_ != null)) { + return workspaceUsersSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 31) { + return (com.google.cloud.chronicle.v1.WorkspaceUsersSettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspaceUsersSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Workspace users settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceUsersSettings workspace_users_settings = 31; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WorkspaceUsersSettings, + com.google.cloud.chronicle.v1.WorkspaceUsersSettings.Builder, + com.google.cloud.chronicle.v1.WorkspaceUsersSettingsOrBuilder> + internalGetWorkspaceUsersSettingsFieldBuilder() { + if (workspaceUsersSettingsBuilder_ == null) { + if (!(detailsCase_ == 31)) { + details_ = com.google.cloud.chronicle.v1.WorkspaceUsersSettings.getDefaultInstance(); + } + workspaceUsersSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WorkspaceUsersSettings, + com.google.cloud.chronicle.v1.WorkspaceUsersSettings.Builder, + com.google.cloud.chronicle.v1.WorkspaceUsersSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.WorkspaceUsersSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 31; + onChanged(); + return workspaceUsersSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WorkspaceActivitySettings, + com.google.cloud.chronicle.v1.WorkspaceActivitySettings.Builder, + com.google.cloud.chronicle.v1.WorkspaceActivitySettingsOrBuilder> + workspaceActivitySettingsBuilder_; + + /** + * + * + *
+     * Workspace activity settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceActivitySettings workspace_activity_settings = 32; + * + * + * @return Whether the workspaceActivitySettings field is set. + */ + @java.lang.Override + public boolean hasWorkspaceActivitySettings() { + return detailsCase_ == 32; + } + + /** + * + * + *
+     * Workspace activity settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceActivitySettings workspace_activity_settings = 32; + * + * + * @return The workspaceActivitySettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceActivitySettings getWorkspaceActivitySettings() { + if (workspaceActivitySettingsBuilder_ == null) { + if (detailsCase_ == 32) { + return (com.google.cloud.chronicle.v1.WorkspaceActivitySettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspaceActivitySettings.getDefaultInstance(); + } else { + if (detailsCase_ == 32) { + return workspaceActivitySettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.WorkspaceActivitySettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Workspace activity settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceActivitySettings workspace_activity_settings = 32; + * + */ + public Builder setWorkspaceActivitySettings( + com.google.cloud.chronicle.v1.WorkspaceActivitySettings value) { + if (workspaceActivitySettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + workspaceActivitySettingsBuilder_.setMessage(value); + } + detailsCase_ = 32; + return this; + } + + /** + * + * + *
+     * Workspace activity settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceActivitySettings workspace_activity_settings = 32; + * + */ + public Builder setWorkspaceActivitySettings( + com.google.cloud.chronicle.v1.WorkspaceActivitySettings.Builder builderForValue) { + if (workspaceActivitySettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + workspaceActivitySettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 32; + return this; + } + + /** + * + * + *
+     * Workspace activity settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceActivitySettings workspace_activity_settings = 32; + * + */ + public Builder mergeWorkspaceActivitySettings( + com.google.cloud.chronicle.v1.WorkspaceActivitySettings value) { + if (workspaceActivitySettingsBuilder_ == null) { + if (detailsCase_ == 32 + && details_ + != com.google.cloud.chronicle.v1.WorkspaceActivitySettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.WorkspaceActivitySettings.newBuilder( + (com.google.cloud.chronicle.v1.WorkspaceActivitySettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 32) { + workspaceActivitySettingsBuilder_.mergeFrom(value); + } else { + workspaceActivitySettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 32; + return this; + } + + /** + * + * + *
+     * Workspace activity settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceActivitySettings workspace_activity_settings = 32; + * + */ + public Builder clearWorkspaceActivitySettings() { + if (workspaceActivitySettingsBuilder_ == null) { + if (detailsCase_ == 32) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 32) { + detailsCase_ = 0; + details_ = null; + } + workspaceActivitySettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Workspace activity settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceActivitySettings workspace_activity_settings = 32; + * + */ + public com.google.cloud.chronicle.v1.WorkspaceActivitySettings.Builder + getWorkspaceActivitySettingsBuilder() { + return internalGetWorkspaceActivitySettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Workspace activity settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceActivitySettings workspace_activity_settings = 32; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceActivitySettingsOrBuilder + getWorkspaceActivitySettingsOrBuilder() { + if ((detailsCase_ == 32) && (workspaceActivitySettingsBuilder_ != null)) { + return workspaceActivitySettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 32) { + return (com.google.cloud.chronicle.v1.WorkspaceActivitySettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspaceActivitySettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Workspace activity settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceActivitySettings workspace_activity_settings = 32; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WorkspaceActivitySettings, + com.google.cloud.chronicle.v1.WorkspaceActivitySettings.Builder, + com.google.cloud.chronicle.v1.WorkspaceActivitySettingsOrBuilder> + internalGetWorkspaceActivitySettingsFieldBuilder() { + if (workspaceActivitySettingsBuilder_ == null) { + if (!(detailsCase_ == 32)) { + details_ = com.google.cloud.chronicle.v1.WorkspaceActivitySettings.getDefaultInstance(); + } + workspaceActivitySettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WorkspaceActivitySettings, + com.google.cloud.chronicle.v1.WorkspaceActivitySettings.Builder, + com.google.cloud.chronicle.v1.WorkspaceActivitySettingsOrBuilder>( + (com.google.cloud.chronicle.v1.WorkspaceActivitySettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 32; + onChanged(); + return workspaceActivitySettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WorkspaceAlertsSettings, + com.google.cloud.chronicle.v1.WorkspaceAlertsSettings.Builder, + com.google.cloud.chronicle.v1.WorkspaceAlertsSettingsOrBuilder> + workspaceAlertsSettingsBuilder_; + + /** + * + * + *
+     * Workspace alerts settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceAlertsSettings workspace_alerts_settings = 33; + * + * + * @return Whether the workspaceAlertsSettings field is set. + */ + @java.lang.Override + public boolean hasWorkspaceAlertsSettings() { + return detailsCase_ == 33; + } + + /** + * + * + *
+     * Workspace alerts settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceAlertsSettings workspace_alerts_settings = 33; + * + * + * @return The workspaceAlertsSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceAlertsSettings getWorkspaceAlertsSettings() { + if (workspaceAlertsSettingsBuilder_ == null) { + if (detailsCase_ == 33) { + return (com.google.cloud.chronicle.v1.WorkspaceAlertsSettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspaceAlertsSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 33) { + return workspaceAlertsSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.WorkspaceAlertsSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Workspace alerts settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceAlertsSettings workspace_alerts_settings = 33; + * + */ + public Builder setWorkspaceAlertsSettings( + com.google.cloud.chronicle.v1.WorkspaceAlertsSettings value) { + if (workspaceAlertsSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + workspaceAlertsSettingsBuilder_.setMessage(value); + } + detailsCase_ = 33; + return this; + } + + /** + * + * + *
+     * Workspace alerts settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceAlertsSettings workspace_alerts_settings = 33; + * + */ + public Builder setWorkspaceAlertsSettings( + com.google.cloud.chronicle.v1.WorkspaceAlertsSettings.Builder builderForValue) { + if (workspaceAlertsSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + workspaceAlertsSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 33; + return this; + } + + /** + * + * + *
+     * Workspace alerts settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceAlertsSettings workspace_alerts_settings = 33; + * + */ + public Builder mergeWorkspaceAlertsSettings( + com.google.cloud.chronicle.v1.WorkspaceAlertsSettings value) { + if (workspaceAlertsSettingsBuilder_ == null) { + if (detailsCase_ == 33 + && details_ + != com.google.cloud.chronicle.v1.WorkspaceAlertsSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.WorkspaceAlertsSettings.newBuilder( + (com.google.cloud.chronicle.v1.WorkspaceAlertsSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 33) { + workspaceAlertsSettingsBuilder_.mergeFrom(value); + } else { + workspaceAlertsSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 33; + return this; + } + + /** + * + * + *
+     * Workspace alerts settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceAlertsSettings workspace_alerts_settings = 33; + * + */ + public Builder clearWorkspaceAlertsSettings() { + if (workspaceAlertsSettingsBuilder_ == null) { + if (detailsCase_ == 33) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 33) { + detailsCase_ = 0; + details_ = null; + } + workspaceAlertsSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Workspace alerts settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceAlertsSettings workspace_alerts_settings = 33; + * + */ + public com.google.cloud.chronicle.v1.WorkspaceAlertsSettings.Builder + getWorkspaceAlertsSettingsBuilder() { + return internalGetWorkspaceAlertsSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Workspace alerts settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceAlertsSettings workspace_alerts_settings = 33; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceAlertsSettingsOrBuilder + getWorkspaceAlertsSettingsOrBuilder() { + if ((detailsCase_ == 33) && (workspaceAlertsSettingsBuilder_ != null)) { + return workspaceAlertsSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 33) { + return (com.google.cloud.chronicle.v1.WorkspaceAlertsSettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspaceAlertsSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Workspace alerts settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceAlertsSettings workspace_alerts_settings = 33; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WorkspaceAlertsSettings, + com.google.cloud.chronicle.v1.WorkspaceAlertsSettings.Builder, + com.google.cloud.chronicle.v1.WorkspaceAlertsSettingsOrBuilder> + internalGetWorkspaceAlertsSettingsFieldBuilder() { + if (workspaceAlertsSettingsBuilder_ == null) { + if (!(detailsCase_ == 33)) { + details_ = com.google.cloud.chronicle.v1.WorkspaceAlertsSettings.getDefaultInstance(); + } + workspaceAlertsSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WorkspaceAlertsSettings, + com.google.cloud.chronicle.v1.WorkspaceAlertsSettings.Builder, + com.google.cloud.chronicle.v1.WorkspaceAlertsSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.WorkspaceAlertsSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 33; + onChanged(); + return workspaceAlertsSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings, + com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings.Builder, + com.google.cloud.chronicle.v1.WorkspacePrivilegesSettingsOrBuilder> + workspacePrivilegesSettingsBuilder_; + + /** + * + * + *
+     * Workspace privileges settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.WorkspacePrivilegesSettings workspace_privileges_settings = 34; + * + * + * @return Whether the workspacePrivilegesSettings field is set. + */ + @java.lang.Override + public boolean hasWorkspacePrivilegesSettings() { + return detailsCase_ == 34; + } + + /** + * + * + *
+     * Workspace privileges settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.WorkspacePrivilegesSettings workspace_privileges_settings = 34; + * + * + * @return The workspacePrivilegesSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings + getWorkspacePrivilegesSettings() { + if (workspacePrivilegesSettingsBuilder_ == null) { + if (detailsCase_ == 34) { + return (com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 34) { + return workspacePrivilegesSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Workspace privileges settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.WorkspacePrivilegesSettings workspace_privileges_settings = 34; + * + */ + public Builder setWorkspacePrivilegesSettings( + com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings value) { + if (workspacePrivilegesSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + workspacePrivilegesSettingsBuilder_.setMessage(value); + } + detailsCase_ = 34; + return this; + } + + /** + * + * + *
+     * Workspace privileges settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.WorkspacePrivilegesSettings workspace_privileges_settings = 34; + * + */ + public Builder setWorkspacePrivilegesSettings( + com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings.Builder builderForValue) { + if (workspacePrivilegesSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + workspacePrivilegesSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 34; + return this; + } + + /** + * + * + *
+     * Workspace privileges settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.WorkspacePrivilegesSettings workspace_privileges_settings = 34; + * + */ + public Builder mergeWorkspacePrivilegesSettings( + com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings value) { + if (workspacePrivilegesSettingsBuilder_ == null) { + if (detailsCase_ == 34 + && details_ + != com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings.newBuilder( + (com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 34) { + workspacePrivilegesSettingsBuilder_.mergeFrom(value); + } else { + workspacePrivilegesSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 34; + return this; + } + + /** + * + * + *
+     * Workspace privileges settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.WorkspacePrivilegesSettings workspace_privileges_settings = 34; + * + */ + public Builder clearWorkspacePrivilegesSettings() { + if (workspacePrivilegesSettingsBuilder_ == null) { + if (detailsCase_ == 34) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 34) { + detailsCase_ = 0; + details_ = null; + } + workspacePrivilegesSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Workspace privileges settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.WorkspacePrivilegesSettings workspace_privileges_settings = 34; + * + */ + public com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings.Builder + getWorkspacePrivilegesSettingsBuilder() { + return internalGetWorkspacePrivilegesSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Workspace privileges settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.WorkspacePrivilegesSettings workspace_privileges_settings = 34; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspacePrivilegesSettingsOrBuilder + getWorkspacePrivilegesSettingsOrBuilder() { + if ((detailsCase_ == 34) && (workspacePrivilegesSettingsBuilder_ != null)) { + return workspacePrivilegesSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 34) { + return (com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Workspace privileges settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.WorkspacePrivilegesSettings workspace_privileges_settings = 34; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings, + com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings.Builder, + com.google.cloud.chronicle.v1.WorkspacePrivilegesSettingsOrBuilder> + internalGetWorkspacePrivilegesSettingsFieldBuilder() { + if (workspacePrivilegesSettingsBuilder_ == null) { + if (!(detailsCase_ == 34)) { + details_ = com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings.getDefaultInstance(); + } + workspacePrivilegesSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings, + com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings.Builder, + com.google.cloud.chronicle.v1.WorkspacePrivilegesSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 34; + onChanged(); + return workspacePrivilegesSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WorkspaceMobileSettings, + com.google.cloud.chronicle.v1.WorkspaceMobileSettings.Builder, + com.google.cloud.chronicle.v1.WorkspaceMobileSettingsOrBuilder> + workspaceMobileSettingsBuilder_; + + /** + * + * + *
+     * Workspace mobile settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceMobileSettings workspace_mobile_settings = 35; + * + * + * @return Whether the workspaceMobileSettings field is set. + */ + @java.lang.Override + public boolean hasWorkspaceMobileSettings() { + return detailsCase_ == 35; + } + + /** + * + * + *
+     * Workspace mobile settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceMobileSettings workspace_mobile_settings = 35; + * + * + * @return The workspaceMobileSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceMobileSettings getWorkspaceMobileSettings() { + if (workspaceMobileSettingsBuilder_ == null) { + if (detailsCase_ == 35) { + return (com.google.cloud.chronicle.v1.WorkspaceMobileSettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspaceMobileSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 35) { + return workspaceMobileSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.WorkspaceMobileSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Workspace mobile settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceMobileSettings workspace_mobile_settings = 35; + * + */ + public Builder setWorkspaceMobileSettings( + com.google.cloud.chronicle.v1.WorkspaceMobileSettings value) { + if (workspaceMobileSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + workspaceMobileSettingsBuilder_.setMessage(value); + } + detailsCase_ = 35; + return this; + } + + /** + * + * + *
+     * Workspace mobile settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceMobileSettings workspace_mobile_settings = 35; + * + */ + public Builder setWorkspaceMobileSettings( + com.google.cloud.chronicle.v1.WorkspaceMobileSettings.Builder builderForValue) { + if (workspaceMobileSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + workspaceMobileSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 35; + return this; + } + + /** + * + * + *
+     * Workspace mobile settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceMobileSettings workspace_mobile_settings = 35; + * + */ + public Builder mergeWorkspaceMobileSettings( + com.google.cloud.chronicle.v1.WorkspaceMobileSettings value) { + if (workspaceMobileSettingsBuilder_ == null) { + if (detailsCase_ == 35 + && details_ + != com.google.cloud.chronicle.v1.WorkspaceMobileSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.WorkspaceMobileSettings.newBuilder( + (com.google.cloud.chronicle.v1.WorkspaceMobileSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 35) { + workspaceMobileSettingsBuilder_.mergeFrom(value); + } else { + workspaceMobileSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 35; + return this; + } + + /** + * + * + *
+     * Workspace mobile settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceMobileSettings workspace_mobile_settings = 35; + * + */ + public Builder clearWorkspaceMobileSettings() { + if (workspaceMobileSettingsBuilder_ == null) { + if (detailsCase_ == 35) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 35) { + detailsCase_ = 0; + details_ = null; + } + workspaceMobileSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Workspace mobile settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceMobileSettings workspace_mobile_settings = 35; + * + */ + public com.google.cloud.chronicle.v1.WorkspaceMobileSettings.Builder + getWorkspaceMobileSettingsBuilder() { + return internalGetWorkspaceMobileSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Workspace mobile settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceMobileSettings workspace_mobile_settings = 35; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceMobileSettingsOrBuilder + getWorkspaceMobileSettingsOrBuilder() { + if ((detailsCase_ == 35) && (workspaceMobileSettingsBuilder_ != null)) { + return workspaceMobileSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 35) { + return (com.google.cloud.chronicle.v1.WorkspaceMobileSettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspaceMobileSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Workspace mobile settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceMobileSettings workspace_mobile_settings = 35; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WorkspaceMobileSettings, + com.google.cloud.chronicle.v1.WorkspaceMobileSettings.Builder, + com.google.cloud.chronicle.v1.WorkspaceMobileSettingsOrBuilder> + internalGetWorkspaceMobileSettingsFieldBuilder() { + if (workspaceMobileSettingsBuilder_ == null) { + if (!(detailsCase_ == 35)) { + details_ = com.google.cloud.chronicle.v1.WorkspaceMobileSettings.getDefaultInstance(); + } + workspaceMobileSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WorkspaceMobileSettings, + com.google.cloud.chronicle.v1.WorkspaceMobileSettings.Builder, + com.google.cloud.chronicle.v1.WorkspaceMobileSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.WorkspaceMobileSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 35; + onChanged(); + return workspaceMobileSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings, + com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings.Builder, + com.google.cloud.chronicle.v1.WorkspaceChromeOSSettingsOrBuilder> + workspaceChromeOsSettingsBuilder_; + + /** + * + * + *
+     * Workspace ChromeOS settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceChromeOSSettings workspace_chrome_os_settings = 36; + * + * + * @return Whether the workspaceChromeOsSettings field is set. + */ + @java.lang.Override + public boolean hasWorkspaceChromeOsSettings() { + return detailsCase_ == 36; + } + + /** + * + * + *
+     * Workspace ChromeOS settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceChromeOSSettings workspace_chrome_os_settings = 36; + * + * + * @return The workspaceChromeOsSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings getWorkspaceChromeOsSettings() { + if (workspaceChromeOsSettingsBuilder_ == null) { + if (detailsCase_ == 36) { + return (com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 36) { + return workspaceChromeOsSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Workspace ChromeOS settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceChromeOSSettings workspace_chrome_os_settings = 36; + * + */ + public Builder setWorkspaceChromeOsSettings( + com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings value) { + if (workspaceChromeOsSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + workspaceChromeOsSettingsBuilder_.setMessage(value); + } + detailsCase_ = 36; + return this; + } + + /** + * + * + *
+     * Workspace ChromeOS settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceChromeOSSettings workspace_chrome_os_settings = 36; + * + */ + public Builder setWorkspaceChromeOsSettings( + com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings.Builder builderForValue) { + if (workspaceChromeOsSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + workspaceChromeOsSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 36; + return this; + } + + /** + * + * + *
+     * Workspace ChromeOS settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceChromeOSSettings workspace_chrome_os_settings = 36; + * + */ + public Builder mergeWorkspaceChromeOsSettings( + com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings value) { + if (workspaceChromeOsSettingsBuilder_ == null) { + if (detailsCase_ == 36 + && details_ + != com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings.newBuilder( + (com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 36) { + workspaceChromeOsSettingsBuilder_.mergeFrom(value); + } else { + workspaceChromeOsSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 36; + return this; + } + + /** + * + * + *
+     * Workspace ChromeOS settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceChromeOSSettings workspace_chrome_os_settings = 36; + * + */ + public Builder clearWorkspaceChromeOsSettings() { + if (workspaceChromeOsSettingsBuilder_ == null) { + if (detailsCase_ == 36) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 36) { + detailsCase_ = 0; + details_ = null; + } + workspaceChromeOsSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Workspace ChromeOS settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceChromeOSSettings workspace_chrome_os_settings = 36; + * + */ + public com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings.Builder + getWorkspaceChromeOsSettingsBuilder() { + return internalGetWorkspaceChromeOsSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Workspace ChromeOS settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceChromeOSSettings workspace_chrome_os_settings = 36; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceChromeOSSettingsOrBuilder + getWorkspaceChromeOsSettingsOrBuilder() { + if ((detailsCase_ == 36) && (workspaceChromeOsSettingsBuilder_ != null)) { + return workspaceChromeOsSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 36) { + return (com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Workspace ChromeOS settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceChromeOSSettings workspace_chrome_os_settings = 36; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings, + com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings.Builder, + com.google.cloud.chronicle.v1.WorkspaceChromeOSSettingsOrBuilder> + internalGetWorkspaceChromeOsSettingsFieldBuilder() { + if (workspaceChromeOsSettingsBuilder_ == null) { + if (!(detailsCase_ == 36)) { + details_ = com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings.getDefaultInstance(); + } + workspaceChromeOsSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings, + com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings.Builder, + com.google.cloud.chronicle.v1.WorkspaceChromeOSSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 36; + onChanged(); + return workspaceChromeOsSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WorkspaceGroupsSettings, + com.google.cloud.chronicle.v1.WorkspaceGroupsSettings.Builder, + com.google.cloud.chronicle.v1.WorkspaceGroupsSettingsOrBuilder> + workspaceGroupsSettingsBuilder_; + + /** + * + * + *
+     * Workspace Groups settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceGroupsSettings workspace_groups_settings = 37; + * + * + * @return Whether the workspaceGroupsSettings field is set. + */ + @java.lang.Override + public boolean hasWorkspaceGroupsSettings() { + return detailsCase_ == 37; + } + + /** + * + * + *
+     * Workspace Groups settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceGroupsSettings workspace_groups_settings = 37; + * + * + * @return The workspaceGroupsSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceGroupsSettings getWorkspaceGroupsSettings() { + if (workspaceGroupsSettingsBuilder_ == null) { + if (detailsCase_ == 37) { + return (com.google.cloud.chronicle.v1.WorkspaceGroupsSettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspaceGroupsSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 37) { + return workspaceGroupsSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.WorkspaceGroupsSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Workspace Groups settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceGroupsSettings workspace_groups_settings = 37; + * + */ + public Builder setWorkspaceGroupsSettings( + com.google.cloud.chronicle.v1.WorkspaceGroupsSettings value) { + if (workspaceGroupsSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + workspaceGroupsSettingsBuilder_.setMessage(value); + } + detailsCase_ = 37; + return this; + } + + /** + * + * + *
+     * Workspace Groups settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceGroupsSettings workspace_groups_settings = 37; + * + */ + public Builder setWorkspaceGroupsSettings( + com.google.cloud.chronicle.v1.WorkspaceGroupsSettings.Builder builderForValue) { + if (workspaceGroupsSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + workspaceGroupsSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 37; + return this; + } + + /** + * + * + *
+     * Workspace Groups settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceGroupsSettings workspace_groups_settings = 37; + * + */ + public Builder mergeWorkspaceGroupsSettings( + com.google.cloud.chronicle.v1.WorkspaceGroupsSettings value) { + if (workspaceGroupsSettingsBuilder_ == null) { + if (detailsCase_ == 37 + && details_ + != com.google.cloud.chronicle.v1.WorkspaceGroupsSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.WorkspaceGroupsSettings.newBuilder( + (com.google.cloud.chronicle.v1.WorkspaceGroupsSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 37) { + workspaceGroupsSettingsBuilder_.mergeFrom(value); + } else { + workspaceGroupsSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 37; + return this; + } + + /** + * + * + *
+     * Workspace Groups settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceGroupsSettings workspace_groups_settings = 37; + * + */ + public Builder clearWorkspaceGroupsSettings() { + if (workspaceGroupsSettingsBuilder_ == null) { + if (detailsCase_ == 37) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 37) { + detailsCase_ = 0; + details_ = null; + } + workspaceGroupsSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Workspace Groups settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceGroupsSettings workspace_groups_settings = 37; + * + */ + public com.google.cloud.chronicle.v1.WorkspaceGroupsSettings.Builder + getWorkspaceGroupsSettingsBuilder() { + return internalGetWorkspaceGroupsSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Workspace Groups settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceGroupsSettings workspace_groups_settings = 37; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceGroupsSettingsOrBuilder + getWorkspaceGroupsSettingsOrBuilder() { + if ((detailsCase_ == 37) && (workspaceGroupsSettingsBuilder_ != null)) { + return workspaceGroupsSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 37) { + return (com.google.cloud.chronicle.v1.WorkspaceGroupsSettings) details_; + } + return com.google.cloud.chronicle.v1.WorkspaceGroupsSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Workspace Groups settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WorkspaceGroupsSettings workspace_groups_settings = 37; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WorkspaceGroupsSettings, + com.google.cloud.chronicle.v1.WorkspaceGroupsSettings.Builder, + com.google.cloud.chronicle.v1.WorkspaceGroupsSettingsOrBuilder> + internalGetWorkspaceGroupsSettingsFieldBuilder() { + if (workspaceGroupsSettingsBuilder_ == null) { + if (!(detailsCase_ == 37)) { + details_ = com.google.cloud.chronicle.v1.WorkspaceGroupsSettings.getDefaultInstance(); + } + workspaceGroupsSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WorkspaceGroupsSettings, + com.google.cloud.chronicle.v1.WorkspaceGroupsSettings.Builder, + com.google.cloud.chronicle.v1.WorkspaceGroupsSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.WorkspaceGroupsSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 37; + onChanged(); + return workspaceGroupsSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureADAuditSettings, + com.google.cloud.chronicle.v1.AzureADAuditSettings.Builder, + com.google.cloud.chronicle.v1.AzureADAuditSettingsOrBuilder> + azureAdAuditSettingsBuilder_; + + /** + * + * + *
+     * Azure AD Audit settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureADAuditSettings azure_ad_audit_settings = 38; + * + * @return Whether the azureAdAuditSettings field is set. + */ + @java.lang.Override + public boolean hasAzureAdAuditSettings() { + return detailsCase_ == 38; + } + + /** + * + * + *
+     * Azure AD Audit settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureADAuditSettings azure_ad_audit_settings = 38; + * + * @return The azureAdAuditSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureADAuditSettings getAzureAdAuditSettings() { + if (azureAdAuditSettingsBuilder_ == null) { + if (detailsCase_ == 38) { + return (com.google.cloud.chronicle.v1.AzureADAuditSettings) details_; + } + return com.google.cloud.chronicle.v1.AzureADAuditSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 38) { + return azureAdAuditSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.AzureADAuditSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Azure AD Audit settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureADAuditSettings azure_ad_audit_settings = 38; + */ + public Builder setAzureAdAuditSettings( + com.google.cloud.chronicle.v1.AzureADAuditSettings value) { + if (azureAdAuditSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + azureAdAuditSettingsBuilder_.setMessage(value); + } + detailsCase_ = 38; + return this; + } + + /** + * + * + *
+     * Azure AD Audit settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureADAuditSettings azure_ad_audit_settings = 38; + */ + public Builder setAzureAdAuditSettings( + com.google.cloud.chronicle.v1.AzureADAuditSettings.Builder builderForValue) { + if (azureAdAuditSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + azureAdAuditSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 38; + return this; + } + + /** + * + * + *
+     * Azure AD Audit settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureADAuditSettings azure_ad_audit_settings = 38; + */ + public Builder mergeAzureAdAuditSettings( + com.google.cloud.chronicle.v1.AzureADAuditSettings value) { + if (azureAdAuditSettingsBuilder_ == null) { + if (detailsCase_ == 38 + && details_ + != com.google.cloud.chronicle.v1.AzureADAuditSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.AzureADAuditSettings.newBuilder( + (com.google.cloud.chronicle.v1.AzureADAuditSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 38) { + azureAdAuditSettingsBuilder_.mergeFrom(value); + } else { + azureAdAuditSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 38; + return this; + } + + /** + * + * + *
+     * Azure AD Audit settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureADAuditSettings azure_ad_audit_settings = 38; + */ + public Builder clearAzureAdAuditSettings() { + if (azureAdAuditSettingsBuilder_ == null) { + if (detailsCase_ == 38) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 38) { + detailsCase_ = 0; + details_ = null; + } + azureAdAuditSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Azure AD Audit settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureADAuditSettings azure_ad_audit_settings = 38; + */ + public com.google.cloud.chronicle.v1.AzureADAuditSettings.Builder + getAzureAdAuditSettingsBuilder() { + return internalGetAzureAdAuditSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Azure AD Audit settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureADAuditSettings azure_ad_audit_settings = 38; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureADAuditSettingsOrBuilder + getAzureAdAuditSettingsOrBuilder() { + if ((detailsCase_ == 38) && (azureAdAuditSettingsBuilder_ != null)) { + return azureAdAuditSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 38) { + return (com.google.cloud.chronicle.v1.AzureADAuditSettings) details_; + } + return com.google.cloud.chronicle.v1.AzureADAuditSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Azure AD Audit settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureADAuditSettings azure_ad_audit_settings = 38; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureADAuditSettings, + com.google.cloud.chronicle.v1.AzureADAuditSettings.Builder, + com.google.cloud.chronicle.v1.AzureADAuditSettingsOrBuilder> + internalGetAzureAdAuditSettingsFieldBuilder() { + if (azureAdAuditSettingsBuilder_ == null) { + if (!(detailsCase_ == 38)) { + details_ = com.google.cloud.chronicle.v1.AzureADAuditSettings.getDefaultInstance(); + } + azureAdAuditSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureADAuditSettings, + com.google.cloud.chronicle.v1.AzureADAuditSettings.Builder, + com.google.cloud.chronicle.v1.AzureADAuditSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.AzureADAuditSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 38; + onChanged(); + return azureAdAuditSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SymantecEventExportSettings, + com.google.cloud.chronicle.v1.SymantecEventExportSettings.Builder, + com.google.cloud.chronicle.v1.SymantecEventExportSettingsOrBuilder> + symantecEventExportSettingsBuilder_; + + /** + * + * + *
+     * Symantec Event Export settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SymantecEventExportSettings symantec_event_export_settings = 39; + * + * + * @return Whether the symantecEventExportSettings field is set. + */ + @java.lang.Override + public boolean hasSymantecEventExportSettings() { + return detailsCase_ == 39; + } + + /** + * + * + *
+     * Symantec Event Export settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SymantecEventExportSettings symantec_event_export_settings = 39; + * + * + * @return The symantecEventExportSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SymantecEventExportSettings + getSymantecEventExportSettings() { + if (symantecEventExportSettingsBuilder_ == null) { + if (detailsCase_ == 39) { + return (com.google.cloud.chronicle.v1.SymantecEventExportSettings) details_; + } + return com.google.cloud.chronicle.v1.SymantecEventExportSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 39) { + return symantecEventExportSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.SymantecEventExportSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Symantec Event Export settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SymantecEventExportSettings symantec_event_export_settings = 39; + * + */ + public Builder setSymantecEventExportSettings( + com.google.cloud.chronicle.v1.SymantecEventExportSettings value) { + if (symantecEventExportSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + symantecEventExportSettingsBuilder_.setMessage(value); + } + detailsCase_ = 39; + return this; + } + + /** + * + * + *
+     * Symantec Event Export settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SymantecEventExportSettings symantec_event_export_settings = 39; + * + */ + public Builder setSymantecEventExportSettings( + com.google.cloud.chronicle.v1.SymantecEventExportSettings.Builder builderForValue) { + if (symantecEventExportSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + symantecEventExportSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 39; + return this; + } + + /** + * + * + *
+     * Symantec Event Export settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SymantecEventExportSettings symantec_event_export_settings = 39; + * + */ + public Builder mergeSymantecEventExportSettings( + com.google.cloud.chronicle.v1.SymantecEventExportSettings value) { + if (symantecEventExportSettingsBuilder_ == null) { + if (detailsCase_ == 39 + && details_ + != com.google.cloud.chronicle.v1.SymantecEventExportSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.SymantecEventExportSettings.newBuilder( + (com.google.cloud.chronicle.v1.SymantecEventExportSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 39) { + symantecEventExportSettingsBuilder_.mergeFrom(value); + } else { + symantecEventExportSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 39; + return this; + } + + /** + * + * + *
+     * Symantec Event Export settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SymantecEventExportSettings symantec_event_export_settings = 39; + * + */ + public Builder clearSymantecEventExportSettings() { + if (symantecEventExportSettingsBuilder_ == null) { + if (detailsCase_ == 39) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 39) { + detailsCase_ = 0; + details_ = null; + } + symantecEventExportSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Symantec Event Export settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SymantecEventExportSettings symantec_event_export_settings = 39; + * + */ + public com.google.cloud.chronicle.v1.SymantecEventExportSettings.Builder + getSymantecEventExportSettingsBuilder() { + return internalGetSymantecEventExportSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Symantec Event Export settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SymantecEventExportSettings symantec_event_export_settings = 39; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SymantecEventExportSettingsOrBuilder + getSymantecEventExportSettingsOrBuilder() { + if ((detailsCase_ == 39) && (symantecEventExportSettingsBuilder_ != null)) { + return symantecEventExportSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 39) { + return (com.google.cloud.chronicle.v1.SymantecEventExportSettings) details_; + } + return com.google.cloud.chronicle.v1.SymantecEventExportSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Symantec Event Export settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SymantecEventExportSettings symantec_event_export_settings = 39; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SymantecEventExportSettings, + com.google.cloud.chronicle.v1.SymantecEventExportSettings.Builder, + com.google.cloud.chronicle.v1.SymantecEventExportSettingsOrBuilder> + internalGetSymantecEventExportSettingsFieldBuilder() { + if (symantecEventExportSettingsBuilder_ == null) { + if (!(detailsCase_ == 39)) { + details_ = com.google.cloud.chronicle.v1.SymantecEventExportSettings.getDefaultInstance(); + } + symantecEventExportSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SymantecEventExportSettings, + com.google.cloud.chronicle.v1.SymantecEventExportSettings.Builder, + com.google.cloud.chronicle.v1.SymantecEventExportSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.SymantecEventExportSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 39; + onChanged(); + return symantecEventExportSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.QualysVMSettings, + com.google.cloud.chronicle.v1.QualysVMSettings.Builder, + com.google.cloud.chronicle.v1.QualysVMSettingsOrBuilder> + qualysVmSettingsBuilder_; + + /** + * + * + *
+     * Qualys VM settings
+     * 
+ * + * .google.cloud.chronicle.v1.QualysVMSettings qualys_vm_settings = 40; + * + * @return Whether the qualysVmSettings field is set. + */ + @java.lang.Override + public boolean hasQualysVmSettings() { + return detailsCase_ == 40; + } + + /** + * + * + *
+     * Qualys VM settings
+     * 
+ * + * .google.cloud.chronicle.v1.QualysVMSettings qualys_vm_settings = 40; + * + * @return The qualysVmSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.QualysVMSettings getQualysVmSettings() { + if (qualysVmSettingsBuilder_ == null) { + if (detailsCase_ == 40) { + return (com.google.cloud.chronicle.v1.QualysVMSettings) details_; + } + return com.google.cloud.chronicle.v1.QualysVMSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 40) { + return qualysVmSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.QualysVMSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Qualys VM settings
+     * 
+ * + * .google.cloud.chronicle.v1.QualysVMSettings qualys_vm_settings = 40; + */ + public Builder setQualysVmSettings(com.google.cloud.chronicle.v1.QualysVMSettings value) { + if (qualysVmSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + qualysVmSettingsBuilder_.setMessage(value); + } + detailsCase_ = 40; + return this; + } + + /** + * + * + *
+     * Qualys VM settings
+     * 
+ * + * .google.cloud.chronicle.v1.QualysVMSettings qualys_vm_settings = 40; + */ + public Builder setQualysVmSettings( + com.google.cloud.chronicle.v1.QualysVMSettings.Builder builderForValue) { + if (qualysVmSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + qualysVmSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 40; + return this; + } + + /** + * + * + *
+     * Qualys VM settings
+     * 
+ * + * .google.cloud.chronicle.v1.QualysVMSettings qualys_vm_settings = 40; + */ + public Builder mergeQualysVmSettings(com.google.cloud.chronicle.v1.QualysVMSettings value) { + if (qualysVmSettingsBuilder_ == null) { + if (detailsCase_ == 40 + && details_ != com.google.cloud.chronicle.v1.QualysVMSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.QualysVMSettings.newBuilder( + (com.google.cloud.chronicle.v1.QualysVMSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 40) { + qualysVmSettingsBuilder_.mergeFrom(value); + } else { + qualysVmSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 40; + return this; + } + + /** + * + * + *
+     * Qualys VM settings
+     * 
+ * + * .google.cloud.chronicle.v1.QualysVMSettings qualys_vm_settings = 40; + */ + public Builder clearQualysVmSettings() { + if (qualysVmSettingsBuilder_ == null) { + if (detailsCase_ == 40) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 40) { + detailsCase_ = 0; + details_ = null; + } + qualysVmSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Qualys VM settings
+     * 
+ * + * .google.cloud.chronicle.v1.QualysVMSettings qualys_vm_settings = 40; + */ + public com.google.cloud.chronicle.v1.QualysVMSettings.Builder getQualysVmSettingsBuilder() { + return internalGetQualysVmSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Qualys VM settings
+     * 
+ * + * .google.cloud.chronicle.v1.QualysVMSettings qualys_vm_settings = 40; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.QualysVMSettingsOrBuilder getQualysVmSettingsOrBuilder() { + if ((detailsCase_ == 40) && (qualysVmSettingsBuilder_ != null)) { + return qualysVmSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 40) { + return (com.google.cloud.chronicle.v1.QualysVMSettings) details_; + } + return com.google.cloud.chronicle.v1.QualysVMSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Qualys VM settings
+     * 
+ * + * .google.cloud.chronicle.v1.QualysVMSettings qualys_vm_settings = 40; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.QualysVMSettings, + com.google.cloud.chronicle.v1.QualysVMSettings.Builder, + com.google.cloud.chronicle.v1.QualysVMSettingsOrBuilder> + internalGetQualysVmSettingsFieldBuilder() { + if (qualysVmSettingsBuilder_ == null) { + if (!(detailsCase_ == 40)) { + details_ = com.google.cloud.chronicle.v1.QualysVMSettings.getDefaultInstance(); + } + qualysVmSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.QualysVMSettings, + com.google.cloud.chronicle.v1.QualysVMSettings.Builder, + com.google.cloud.chronicle.v1.QualysVMSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.QualysVMSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 40; + onChanged(); + return qualysVmSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.PanPrismaCloudSettings, + com.google.cloud.chronicle.v1.PanPrismaCloudSettings.Builder, + com.google.cloud.chronicle.v1.PanPrismaCloudSettingsOrBuilder> + panPrismaCloudSettingsBuilder_; + + /** + * + * + *
+     * PAN Prisma Cloud settings.
+     * 
+ * + * .google.cloud.chronicle.v1.PanPrismaCloudSettings pan_prisma_cloud_settings = 41; + * + * + * @return Whether the panPrismaCloudSettings field is set. + */ + @java.lang.Override + public boolean hasPanPrismaCloudSettings() { + return detailsCase_ == 41; + } + + /** + * + * + *
+     * PAN Prisma Cloud settings.
+     * 
+ * + * .google.cloud.chronicle.v1.PanPrismaCloudSettings pan_prisma_cloud_settings = 41; + * + * + * @return The panPrismaCloudSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.PanPrismaCloudSettings getPanPrismaCloudSettings() { + if (panPrismaCloudSettingsBuilder_ == null) { + if (detailsCase_ == 41) { + return (com.google.cloud.chronicle.v1.PanPrismaCloudSettings) details_; + } + return com.google.cloud.chronicle.v1.PanPrismaCloudSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 41) { + return panPrismaCloudSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.PanPrismaCloudSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * PAN Prisma Cloud settings.
+     * 
+ * + * .google.cloud.chronicle.v1.PanPrismaCloudSettings pan_prisma_cloud_settings = 41; + * + */ + public Builder setPanPrismaCloudSettings( + com.google.cloud.chronicle.v1.PanPrismaCloudSettings value) { + if (panPrismaCloudSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + panPrismaCloudSettingsBuilder_.setMessage(value); + } + detailsCase_ = 41; + return this; + } + + /** + * + * + *
+     * PAN Prisma Cloud settings.
+     * 
+ * + * .google.cloud.chronicle.v1.PanPrismaCloudSettings pan_prisma_cloud_settings = 41; + * + */ + public Builder setPanPrismaCloudSettings( + com.google.cloud.chronicle.v1.PanPrismaCloudSettings.Builder builderForValue) { + if (panPrismaCloudSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + panPrismaCloudSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 41; + return this; + } + + /** + * + * + *
+     * PAN Prisma Cloud settings.
+     * 
+ * + * .google.cloud.chronicle.v1.PanPrismaCloudSettings pan_prisma_cloud_settings = 41; + * + */ + public Builder mergePanPrismaCloudSettings( + com.google.cloud.chronicle.v1.PanPrismaCloudSettings value) { + if (panPrismaCloudSettingsBuilder_ == null) { + if (detailsCase_ == 41 + && details_ + != com.google.cloud.chronicle.v1.PanPrismaCloudSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.PanPrismaCloudSettings.newBuilder( + (com.google.cloud.chronicle.v1.PanPrismaCloudSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 41) { + panPrismaCloudSettingsBuilder_.mergeFrom(value); + } else { + panPrismaCloudSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 41; + return this; + } + + /** + * + * + *
+     * PAN Prisma Cloud settings.
+     * 
+ * + * .google.cloud.chronicle.v1.PanPrismaCloudSettings pan_prisma_cloud_settings = 41; + * + */ + public Builder clearPanPrismaCloudSettings() { + if (panPrismaCloudSettingsBuilder_ == null) { + if (detailsCase_ == 41) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 41) { + detailsCase_ = 0; + details_ = null; + } + panPrismaCloudSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * PAN Prisma Cloud settings.
+     * 
+ * + * .google.cloud.chronicle.v1.PanPrismaCloudSettings pan_prisma_cloud_settings = 41; + * + */ + public com.google.cloud.chronicle.v1.PanPrismaCloudSettings.Builder + getPanPrismaCloudSettingsBuilder() { + return internalGetPanPrismaCloudSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * PAN Prisma Cloud settings.
+     * 
+ * + * .google.cloud.chronicle.v1.PanPrismaCloudSettings pan_prisma_cloud_settings = 41; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.PanPrismaCloudSettingsOrBuilder + getPanPrismaCloudSettingsOrBuilder() { + if ((detailsCase_ == 41) && (panPrismaCloudSettingsBuilder_ != null)) { + return panPrismaCloudSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 41) { + return (com.google.cloud.chronicle.v1.PanPrismaCloudSettings) details_; + } + return com.google.cloud.chronicle.v1.PanPrismaCloudSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * PAN Prisma Cloud settings.
+     * 
+ * + * .google.cloud.chronicle.v1.PanPrismaCloudSettings pan_prisma_cloud_settings = 41; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.PanPrismaCloudSettings, + com.google.cloud.chronicle.v1.PanPrismaCloudSettings.Builder, + com.google.cloud.chronicle.v1.PanPrismaCloudSettingsOrBuilder> + internalGetPanPrismaCloudSettingsFieldBuilder() { + if (panPrismaCloudSettingsBuilder_ == null) { + if (!(detailsCase_ == 41)) { + details_ = com.google.cloud.chronicle.v1.PanPrismaCloudSettings.getDefaultInstance(); + } + panPrismaCloudSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.PanPrismaCloudSettings, + com.google.cloud.chronicle.v1.PanPrismaCloudSettings.Builder, + com.google.cloud.chronicle.v1.PanPrismaCloudSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.PanPrismaCloudSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 41; + onChanged(); + return panPrismaCloudSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.GoogleCloudStorageSettings, + com.google.cloud.chronicle.v1.GoogleCloudStorageSettings.Builder, + com.google.cloud.chronicle.v1.GoogleCloudStorageSettingsOrBuilder> + gcsSettingsBuilder_; + + /** + * + * + *
+     * Google Cloud Storage settings.
+     * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageSettings gcs_settings = 42; + * + * @return Whether the gcsSettings field is set. + */ + @java.lang.Override + public boolean hasGcsSettings() { + return detailsCase_ == 42; + } + + /** + * + * + *
+     * Google Cloud Storage settings.
+     * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageSettings gcs_settings = 42; + * + * @return The gcsSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudStorageSettings getGcsSettings() { + if (gcsSettingsBuilder_ == null) { + if (detailsCase_ == 42) { + return (com.google.cloud.chronicle.v1.GoogleCloudStorageSettings) details_; + } + return com.google.cloud.chronicle.v1.GoogleCloudStorageSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 42) { + return gcsSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.GoogleCloudStorageSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Google Cloud Storage settings.
+     * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageSettings gcs_settings = 42; + */ + public Builder setGcsSettings(com.google.cloud.chronicle.v1.GoogleCloudStorageSettings value) { + if (gcsSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + gcsSettingsBuilder_.setMessage(value); + } + detailsCase_ = 42; + return this; + } + + /** + * + * + *
+     * Google Cloud Storage settings.
+     * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageSettings gcs_settings = 42; + */ + public Builder setGcsSettings( + com.google.cloud.chronicle.v1.GoogleCloudStorageSettings.Builder builderForValue) { + if (gcsSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + gcsSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 42; + return this; + } + + /** + * + * + *
+     * Google Cloud Storage settings.
+     * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageSettings gcs_settings = 42; + */ + public Builder mergeGcsSettings( + com.google.cloud.chronicle.v1.GoogleCloudStorageSettings value) { + if (gcsSettingsBuilder_ == null) { + if (detailsCase_ == 42 + && details_ + != com.google.cloud.chronicle.v1.GoogleCloudStorageSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.GoogleCloudStorageSettings.newBuilder( + (com.google.cloud.chronicle.v1.GoogleCloudStorageSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 42) { + gcsSettingsBuilder_.mergeFrom(value); + } else { + gcsSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 42; + return this; + } + + /** + * + * + *
+     * Google Cloud Storage settings.
+     * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageSettings gcs_settings = 42; + */ + public Builder clearGcsSettings() { + if (gcsSettingsBuilder_ == null) { + if (detailsCase_ == 42) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 42) { + detailsCase_ = 0; + details_ = null; + } + gcsSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Google Cloud Storage settings.
+     * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageSettings gcs_settings = 42; + */ + public com.google.cloud.chronicle.v1.GoogleCloudStorageSettings.Builder + getGcsSettingsBuilder() { + return internalGetGcsSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Google Cloud Storage settings.
+     * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageSettings gcs_settings = 42; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudStorageSettingsOrBuilder + getGcsSettingsOrBuilder() { + if ((detailsCase_ == 42) && (gcsSettingsBuilder_ != null)) { + return gcsSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 42) { + return (com.google.cloud.chronicle.v1.GoogleCloudStorageSettings) details_; + } + return com.google.cloud.chronicle.v1.GoogleCloudStorageSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Google Cloud Storage settings.
+     * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageSettings gcs_settings = 42; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.GoogleCloudStorageSettings, + com.google.cloud.chronicle.v1.GoogleCloudStorageSettings.Builder, + com.google.cloud.chronicle.v1.GoogleCloudStorageSettingsOrBuilder> + internalGetGcsSettingsFieldBuilder() { + if (gcsSettingsBuilder_ == null) { + if (!(detailsCase_ == 42)) { + details_ = com.google.cloud.chronicle.v1.GoogleCloudStorageSettings.getDefaultInstance(); + } + gcsSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.GoogleCloudStorageSettings, + com.google.cloud.chronicle.v1.GoogleCloudStorageSettings.Builder, + com.google.cloud.chronicle.v1.GoogleCloudStorageSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.GoogleCloudStorageSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 42; + onChanged(); + return gcsSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpSettings, + com.google.cloud.chronicle.v1.HttpSettings.Builder, + com.google.cloud.chronicle.v1.HttpSettingsOrBuilder> + httpSettingsBuilder_; + + /** + * + * + *
+     * HTTP settings.
+     * 
+ * + * .google.cloud.chronicle.v1.HttpSettings http_settings = 43; + * + * @return Whether the httpSettings field is set. + */ + @java.lang.Override + public boolean hasHttpSettings() { + return detailsCase_ == 43; + } + + /** + * + * + *
+     * HTTP settings.
+     * 
+ * + * .google.cloud.chronicle.v1.HttpSettings http_settings = 43; + * + * @return The httpSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpSettings getHttpSettings() { + if (httpSettingsBuilder_ == null) { + if (detailsCase_ == 43) { + return (com.google.cloud.chronicle.v1.HttpSettings) details_; + } + return com.google.cloud.chronicle.v1.HttpSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 43) { + return httpSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.HttpSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * HTTP settings.
+     * 
+ * + * .google.cloud.chronicle.v1.HttpSettings http_settings = 43; + */ + public Builder setHttpSettings(com.google.cloud.chronicle.v1.HttpSettings value) { + if (httpSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + httpSettingsBuilder_.setMessage(value); + } + detailsCase_ = 43; + return this; + } + + /** + * + * + *
+     * HTTP settings.
+     * 
+ * + * .google.cloud.chronicle.v1.HttpSettings http_settings = 43; + */ + public Builder setHttpSettings( + com.google.cloud.chronicle.v1.HttpSettings.Builder builderForValue) { + if (httpSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + httpSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 43; + return this; + } + + /** + * + * + *
+     * HTTP settings.
+     * 
+ * + * .google.cloud.chronicle.v1.HttpSettings http_settings = 43; + */ + public Builder mergeHttpSettings(com.google.cloud.chronicle.v1.HttpSettings value) { + if (httpSettingsBuilder_ == null) { + if (detailsCase_ == 43 + && details_ != com.google.cloud.chronicle.v1.HttpSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.HttpSettings.newBuilder( + (com.google.cloud.chronicle.v1.HttpSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 43) { + httpSettingsBuilder_.mergeFrom(value); + } else { + httpSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 43; + return this; + } + + /** + * + * + *
+     * HTTP settings.
+     * 
+ * + * .google.cloud.chronicle.v1.HttpSettings http_settings = 43; + */ + public Builder clearHttpSettings() { + if (httpSettingsBuilder_ == null) { + if (detailsCase_ == 43) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 43) { + detailsCase_ = 0; + details_ = null; + } + httpSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * HTTP settings.
+     * 
+ * + * .google.cloud.chronicle.v1.HttpSettings http_settings = 43; + */ + public com.google.cloud.chronicle.v1.HttpSettings.Builder getHttpSettingsBuilder() { + return internalGetHttpSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * HTTP settings.
+     * 
+ * + * .google.cloud.chronicle.v1.HttpSettings http_settings = 43; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpSettingsOrBuilder getHttpSettingsOrBuilder() { + if ((detailsCase_ == 43) && (httpSettingsBuilder_ != null)) { + return httpSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 43) { + return (com.google.cloud.chronicle.v1.HttpSettings) details_; + } + return com.google.cloud.chronicle.v1.HttpSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * HTTP settings.
+     * 
+ * + * .google.cloud.chronicle.v1.HttpSettings http_settings = 43; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpSettings, + com.google.cloud.chronicle.v1.HttpSettings.Builder, + com.google.cloud.chronicle.v1.HttpSettingsOrBuilder> + internalGetHttpSettingsFieldBuilder() { + if (httpSettingsBuilder_ == null) { + if (!(detailsCase_ == 43)) { + details_ = com.google.cloud.chronicle.v1.HttpSettings.getDefaultInstance(); + } + httpSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpSettings, + com.google.cloud.chronicle.v1.HttpSettings.Builder, + com.google.cloud.chronicle.v1.HttpSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.HttpSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 43; + onChanged(); + return httpSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SftpSettings, + com.google.cloud.chronicle.v1.SftpSettings.Builder, + com.google.cloud.chronicle.v1.SftpSettingsOrBuilder> + sftpSettingsBuilder_; + + /** + * + * + *
+     * SFTP settings.
+     * 
+ * + * .google.cloud.chronicle.v1.SftpSettings sftp_settings = 44; + * + * @return Whether the sftpSettings field is set. + */ + @java.lang.Override + public boolean hasSftpSettings() { + return detailsCase_ == 44; + } + + /** + * + * + *
+     * SFTP settings.
+     * 
+ * + * .google.cloud.chronicle.v1.SftpSettings sftp_settings = 44; + * + * @return The sftpSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SftpSettings getSftpSettings() { + if (sftpSettingsBuilder_ == null) { + if (detailsCase_ == 44) { + return (com.google.cloud.chronicle.v1.SftpSettings) details_; + } + return com.google.cloud.chronicle.v1.SftpSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 44) { + return sftpSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.SftpSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * SFTP settings.
+     * 
+ * + * .google.cloud.chronicle.v1.SftpSettings sftp_settings = 44; + */ + public Builder setSftpSettings(com.google.cloud.chronicle.v1.SftpSettings value) { + if (sftpSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + sftpSettingsBuilder_.setMessage(value); + } + detailsCase_ = 44; + return this; + } + + /** + * + * + *
+     * SFTP settings.
+     * 
+ * + * .google.cloud.chronicle.v1.SftpSettings sftp_settings = 44; + */ + public Builder setSftpSettings( + com.google.cloud.chronicle.v1.SftpSettings.Builder builderForValue) { + if (sftpSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + sftpSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 44; + return this; + } + + /** + * + * + *
+     * SFTP settings.
+     * 
+ * + * .google.cloud.chronicle.v1.SftpSettings sftp_settings = 44; + */ + public Builder mergeSftpSettings(com.google.cloud.chronicle.v1.SftpSettings value) { + if (sftpSettingsBuilder_ == null) { + if (detailsCase_ == 44 + && details_ != com.google.cloud.chronicle.v1.SftpSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.SftpSettings.newBuilder( + (com.google.cloud.chronicle.v1.SftpSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 44) { + sftpSettingsBuilder_.mergeFrom(value); + } else { + sftpSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 44; + return this; + } + + /** + * + * + *
+     * SFTP settings.
+     * 
+ * + * .google.cloud.chronicle.v1.SftpSettings sftp_settings = 44; + */ + public Builder clearSftpSettings() { + if (sftpSettingsBuilder_ == null) { + if (detailsCase_ == 44) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 44) { + detailsCase_ = 0; + details_ = null; + } + sftpSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * SFTP settings.
+     * 
+ * + * .google.cloud.chronicle.v1.SftpSettings sftp_settings = 44; + */ + public com.google.cloud.chronicle.v1.SftpSettings.Builder getSftpSettingsBuilder() { + return internalGetSftpSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * SFTP settings.
+     * 
+ * + * .google.cloud.chronicle.v1.SftpSettings sftp_settings = 44; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SftpSettingsOrBuilder getSftpSettingsOrBuilder() { + if ((detailsCase_ == 44) && (sftpSettingsBuilder_ != null)) { + return sftpSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 44) { + return (com.google.cloud.chronicle.v1.SftpSettings) details_; + } + return com.google.cloud.chronicle.v1.SftpSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * SFTP settings.
+     * 
+ * + * .google.cloud.chronicle.v1.SftpSettings sftp_settings = 44; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SftpSettings, + com.google.cloud.chronicle.v1.SftpSettings.Builder, + com.google.cloud.chronicle.v1.SftpSettingsOrBuilder> + internalGetSftpSettingsFieldBuilder() { + if (sftpSettingsBuilder_ == null) { + if (!(detailsCase_ == 44)) { + details_ = com.google.cloud.chronicle.v1.SftpSettings.getDefaultInstance(); + } + sftpSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SftpSettings, + com.google.cloud.chronicle.v1.SftpSettings.Builder, + com.google.cloud.chronicle.v1.SftpSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.SftpSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 44; + onChanged(); + return sftpSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AmazonS3Settings, + com.google.cloud.chronicle.v1.AmazonS3Settings.Builder, + com.google.cloud.chronicle.v1.AmazonS3SettingsOrBuilder> + amazonS3SettingsBuilder_; + + /** + * + * + *
+     * Amazon S3 settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonS3Settings amazon_s3_settings = 45; + * + * @return Whether the amazonS3Settings field is set. + */ + @java.lang.Override + public boolean hasAmazonS3Settings() { + return detailsCase_ == 45; + } + + /** + * + * + *
+     * Amazon S3 settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonS3Settings amazon_s3_settings = 45; + * + * @return The amazonS3Settings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonS3Settings getAmazonS3Settings() { + if (amazonS3SettingsBuilder_ == null) { + if (detailsCase_ == 45) { + return (com.google.cloud.chronicle.v1.AmazonS3Settings) details_; + } + return com.google.cloud.chronicle.v1.AmazonS3Settings.getDefaultInstance(); + } else { + if (detailsCase_ == 45) { + return amazonS3SettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.AmazonS3Settings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Amazon S3 settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonS3Settings amazon_s3_settings = 45; + */ + public Builder setAmazonS3Settings(com.google.cloud.chronicle.v1.AmazonS3Settings value) { + if (amazonS3SettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + amazonS3SettingsBuilder_.setMessage(value); + } + detailsCase_ = 45; + return this; + } + + /** + * + * + *
+     * Amazon S3 settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonS3Settings amazon_s3_settings = 45; + */ + public Builder setAmazonS3Settings( + com.google.cloud.chronicle.v1.AmazonS3Settings.Builder builderForValue) { + if (amazonS3SettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + amazonS3SettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 45; + return this; + } + + /** + * + * + *
+     * Amazon S3 settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonS3Settings amazon_s3_settings = 45; + */ + public Builder mergeAmazonS3Settings(com.google.cloud.chronicle.v1.AmazonS3Settings value) { + if (amazonS3SettingsBuilder_ == null) { + if (detailsCase_ == 45 + && details_ != com.google.cloud.chronicle.v1.AmazonS3Settings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.AmazonS3Settings.newBuilder( + (com.google.cloud.chronicle.v1.AmazonS3Settings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 45) { + amazonS3SettingsBuilder_.mergeFrom(value); + } else { + amazonS3SettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 45; + return this; + } + + /** + * + * + *
+     * Amazon S3 settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonS3Settings amazon_s3_settings = 45; + */ + public Builder clearAmazonS3Settings() { + if (amazonS3SettingsBuilder_ == null) { + if (detailsCase_ == 45) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 45) { + detailsCase_ = 0; + details_ = null; + } + amazonS3SettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Amazon S3 settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonS3Settings amazon_s3_settings = 45; + */ + public com.google.cloud.chronicle.v1.AmazonS3Settings.Builder getAmazonS3SettingsBuilder() { + return internalGetAmazonS3SettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Amazon S3 settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonS3Settings amazon_s3_settings = 45; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonS3SettingsOrBuilder getAmazonS3SettingsOrBuilder() { + if ((detailsCase_ == 45) && (amazonS3SettingsBuilder_ != null)) { + return amazonS3SettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 45) { + return (com.google.cloud.chronicle.v1.AmazonS3Settings) details_; + } + return com.google.cloud.chronicle.v1.AmazonS3Settings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Amazon S3 settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonS3Settings amazon_s3_settings = 45; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AmazonS3Settings, + com.google.cloud.chronicle.v1.AmazonS3Settings.Builder, + com.google.cloud.chronicle.v1.AmazonS3SettingsOrBuilder> + internalGetAmazonS3SettingsFieldBuilder() { + if (amazonS3SettingsBuilder_ == null) { + if (!(detailsCase_ == 45)) { + details_ = com.google.cloud.chronicle.v1.AmazonS3Settings.getDefaultInstance(); + } + amazonS3SettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AmazonS3Settings, + com.google.cloud.chronicle.v1.AmazonS3Settings.Builder, + com.google.cloud.chronicle.v1.AmazonS3SettingsOrBuilder>( + (com.google.cloud.chronicle.v1.AmazonS3Settings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 45; + onChanged(); + return amazonS3SettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureBlobStoreSettings, + com.google.cloud.chronicle.v1.AzureBlobStoreSettings.Builder, + com.google.cloud.chronicle.v1.AzureBlobStoreSettingsOrBuilder> + azureBlobStoreSettingsBuilder_; + + /** + * + * + *
+     * Azure Blob Storage settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreSettings azure_blob_store_settings = 46; + * + * + * @return Whether the azureBlobStoreSettings field is set. + */ + @java.lang.Override + public boolean hasAzureBlobStoreSettings() { + return detailsCase_ == 46; + } + + /** + * + * + *
+     * Azure Blob Storage settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreSettings azure_blob_store_settings = 46; + * + * + * @return The azureBlobStoreSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureBlobStoreSettings getAzureBlobStoreSettings() { + if (azureBlobStoreSettingsBuilder_ == null) { + if (detailsCase_ == 46) { + return (com.google.cloud.chronicle.v1.AzureBlobStoreSettings) details_; + } + return com.google.cloud.chronicle.v1.AzureBlobStoreSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 46) { + return azureBlobStoreSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.AzureBlobStoreSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Azure Blob Storage settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreSettings azure_blob_store_settings = 46; + * + */ + public Builder setAzureBlobStoreSettings( + com.google.cloud.chronicle.v1.AzureBlobStoreSettings value) { + if (azureBlobStoreSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + azureBlobStoreSettingsBuilder_.setMessage(value); + } + detailsCase_ = 46; + return this; + } + + /** + * + * + *
+     * Azure Blob Storage settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreSettings azure_blob_store_settings = 46; + * + */ + public Builder setAzureBlobStoreSettings( + com.google.cloud.chronicle.v1.AzureBlobStoreSettings.Builder builderForValue) { + if (azureBlobStoreSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + azureBlobStoreSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 46; + return this; + } + + /** + * + * + *
+     * Azure Blob Storage settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreSettings azure_blob_store_settings = 46; + * + */ + public Builder mergeAzureBlobStoreSettings( + com.google.cloud.chronicle.v1.AzureBlobStoreSettings value) { + if (azureBlobStoreSettingsBuilder_ == null) { + if (detailsCase_ == 46 + && details_ + != com.google.cloud.chronicle.v1.AzureBlobStoreSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.AzureBlobStoreSettings.newBuilder( + (com.google.cloud.chronicle.v1.AzureBlobStoreSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 46) { + azureBlobStoreSettingsBuilder_.mergeFrom(value); + } else { + azureBlobStoreSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 46; + return this; + } + + /** + * + * + *
+     * Azure Blob Storage settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreSettings azure_blob_store_settings = 46; + * + */ + public Builder clearAzureBlobStoreSettings() { + if (azureBlobStoreSettingsBuilder_ == null) { + if (detailsCase_ == 46) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 46) { + detailsCase_ = 0; + details_ = null; + } + azureBlobStoreSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Azure Blob Storage settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreSettings azure_blob_store_settings = 46; + * + */ + public com.google.cloud.chronicle.v1.AzureBlobStoreSettings.Builder + getAzureBlobStoreSettingsBuilder() { + return internalGetAzureBlobStoreSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Azure Blob Storage settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreSettings azure_blob_store_settings = 46; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureBlobStoreSettingsOrBuilder + getAzureBlobStoreSettingsOrBuilder() { + if ((detailsCase_ == 46) && (azureBlobStoreSettingsBuilder_ != null)) { + return azureBlobStoreSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 46) { + return (com.google.cloud.chronicle.v1.AzureBlobStoreSettings) details_; + } + return com.google.cloud.chronicle.v1.AzureBlobStoreSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Azure Blob Storage settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreSettings azure_blob_store_settings = 46; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureBlobStoreSettings, + com.google.cloud.chronicle.v1.AzureBlobStoreSettings.Builder, + com.google.cloud.chronicle.v1.AzureBlobStoreSettingsOrBuilder> + internalGetAzureBlobStoreSettingsFieldBuilder() { + if (azureBlobStoreSettingsBuilder_ == null) { + if (!(detailsCase_ == 46)) { + details_ = com.google.cloud.chronicle.v1.AzureBlobStoreSettings.getDefaultInstance(); + } + azureBlobStoreSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureBlobStoreSettings, + com.google.cloud.chronicle.v1.AzureBlobStoreSettings.Builder, + com.google.cloud.chronicle.v1.AzureBlobStoreSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.AzureBlobStoreSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 46; + onChanged(); + return azureBlobStoreSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AmazonSQSSettings, + com.google.cloud.chronicle.v1.AmazonSQSSettings.Builder, + com.google.cloud.chronicle.v1.AmazonSQSSettingsOrBuilder> + amazonSqsSettingsBuilder_; + + /** + * + * + *
+     * Amazon SQS settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSSettings amazon_sqs_settings = 47; + * + * @return Whether the amazonSqsSettings field is set. + */ + @java.lang.Override + public boolean hasAmazonSqsSettings() { + return detailsCase_ == 47; + } + + /** + * + * + *
+     * Amazon SQS settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSSettings amazon_sqs_settings = 47; + * + * @return The amazonSqsSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonSQSSettings getAmazonSqsSettings() { + if (amazonSqsSettingsBuilder_ == null) { + if (detailsCase_ == 47) { + return (com.google.cloud.chronicle.v1.AmazonSQSSettings) details_; + } + return com.google.cloud.chronicle.v1.AmazonSQSSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 47) { + return amazonSqsSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.AmazonSQSSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Amazon SQS settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSSettings amazon_sqs_settings = 47; + */ + public Builder setAmazonSqsSettings(com.google.cloud.chronicle.v1.AmazonSQSSettings value) { + if (amazonSqsSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + amazonSqsSettingsBuilder_.setMessage(value); + } + detailsCase_ = 47; + return this; + } + + /** + * + * + *
+     * Amazon SQS settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSSettings amazon_sqs_settings = 47; + */ + public Builder setAmazonSqsSettings( + com.google.cloud.chronicle.v1.AmazonSQSSettings.Builder builderForValue) { + if (amazonSqsSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + amazonSqsSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 47; + return this; + } + + /** + * + * + *
+     * Amazon SQS settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSSettings amazon_sqs_settings = 47; + */ + public Builder mergeAmazonSqsSettings(com.google.cloud.chronicle.v1.AmazonSQSSettings value) { + if (amazonSqsSettingsBuilder_ == null) { + if (detailsCase_ == 47 + && details_ != com.google.cloud.chronicle.v1.AmazonSQSSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.AmazonSQSSettings.newBuilder( + (com.google.cloud.chronicle.v1.AmazonSQSSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 47) { + amazonSqsSettingsBuilder_.mergeFrom(value); + } else { + amazonSqsSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 47; + return this; + } + + /** + * + * + *
+     * Amazon SQS settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSSettings amazon_sqs_settings = 47; + */ + public Builder clearAmazonSqsSettings() { + if (amazonSqsSettingsBuilder_ == null) { + if (detailsCase_ == 47) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 47) { + detailsCase_ = 0; + details_ = null; + } + amazonSqsSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Amazon SQS settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSSettings amazon_sqs_settings = 47; + */ + public com.google.cloud.chronicle.v1.AmazonSQSSettings.Builder getAmazonSqsSettingsBuilder() { + return internalGetAmazonSqsSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Amazon SQS settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSSettings amazon_sqs_settings = 47; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonSQSSettingsOrBuilder + getAmazonSqsSettingsOrBuilder() { + if ((detailsCase_ == 47) && (amazonSqsSettingsBuilder_ != null)) { + return amazonSqsSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 47) { + return (com.google.cloud.chronicle.v1.AmazonSQSSettings) details_; + } + return com.google.cloud.chronicle.v1.AmazonSQSSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Amazon SQS settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSSettings amazon_sqs_settings = 47; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AmazonSQSSettings, + com.google.cloud.chronicle.v1.AmazonSQSSettings.Builder, + com.google.cloud.chronicle.v1.AmazonSQSSettingsOrBuilder> + internalGetAmazonSqsSettingsFieldBuilder() { + if (amazonSqsSettingsBuilder_ == null) { + if (!(detailsCase_ == 47)) { + details_ = com.google.cloud.chronicle.v1.AmazonSQSSettings.getDefaultInstance(); + } + amazonSqsSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AmazonSQSSettings, + com.google.cloud.chronicle.v1.AmazonSQSSettings.Builder, + com.google.cloud.chronicle.v1.AmazonSQSSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.AmazonSQSSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 47; + onChanged(); + return amazonSqsSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings, + com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings.Builder, + com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettingsOrBuilder> + googleCloudIdentityDevicesSettingsBuilder_; + + /** + * + * + *
+     * Google Cloud Identity Devices settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings google_cloud_identity_devices_settings = 48; + * + * + * @return Whether the googleCloudIdentityDevicesSettings field is set. + */ + @java.lang.Override + public boolean hasGoogleCloudIdentityDevicesSettings() { + return detailsCase_ == 48; + } + + /** + * + * + *
+     * Google Cloud Identity Devices settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings google_cloud_identity_devices_settings = 48; + * + * + * @return The googleCloudIdentityDevicesSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings + getGoogleCloudIdentityDevicesSettings() { + if (googleCloudIdentityDevicesSettingsBuilder_ == null) { + if (detailsCase_ == 48) { + return (com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings) details_; + } + return com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings + .getDefaultInstance(); + } else { + if (detailsCase_ == 48) { + return googleCloudIdentityDevicesSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Google Cloud Identity Devices settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings google_cloud_identity_devices_settings = 48; + * + */ + public Builder setGoogleCloudIdentityDevicesSettings( + com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings value) { + if (googleCloudIdentityDevicesSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + googleCloudIdentityDevicesSettingsBuilder_.setMessage(value); + } + detailsCase_ = 48; + return this; + } + + /** + * + * + *
+     * Google Cloud Identity Devices settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings google_cloud_identity_devices_settings = 48; + * + */ + public Builder setGoogleCloudIdentityDevicesSettings( + com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings.Builder builderForValue) { + if (googleCloudIdentityDevicesSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + googleCloudIdentityDevicesSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 48; + return this; + } + + /** + * + * + *
+     * Google Cloud Identity Devices settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings google_cloud_identity_devices_settings = 48; + * + */ + public Builder mergeGoogleCloudIdentityDevicesSettings( + com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings value) { + if (googleCloudIdentityDevicesSettingsBuilder_ == null) { + if (detailsCase_ == 48 + && details_ + != com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings + .getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings.newBuilder( + (com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 48) { + googleCloudIdentityDevicesSettingsBuilder_.mergeFrom(value); + } else { + googleCloudIdentityDevicesSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 48; + return this; + } + + /** + * + * + *
+     * Google Cloud Identity Devices settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings google_cloud_identity_devices_settings = 48; + * + */ + public Builder clearGoogleCloudIdentityDevicesSettings() { + if (googleCloudIdentityDevicesSettingsBuilder_ == null) { + if (detailsCase_ == 48) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 48) { + detailsCase_ = 0; + details_ = null; + } + googleCloudIdentityDevicesSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Google Cloud Identity Devices settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings google_cloud_identity_devices_settings = 48; + * + */ + public com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings.Builder + getGoogleCloudIdentityDevicesSettingsBuilder() { + return internalGetGoogleCloudIdentityDevicesSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Google Cloud Identity Devices settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings google_cloud_identity_devices_settings = 48; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettingsOrBuilder + getGoogleCloudIdentityDevicesSettingsOrBuilder() { + if ((detailsCase_ == 48) && (googleCloudIdentityDevicesSettingsBuilder_ != null)) { + return googleCloudIdentityDevicesSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 48) { + return (com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings) details_; + } + return com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Google Cloud Identity Devices settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings google_cloud_identity_devices_settings = 48; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings, + com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings.Builder, + com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettingsOrBuilder> + internalGetGoogleCloudIdentityDevicesSettingsFieldBuilder() { + if (googleCloudIdentityDevicesSettingsBuilder_ == null) { + if (!(detailsCase_ == 48)) { + details_ = + com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings.getDefaultInstance(); + } + googleCloudIdentityDevicesSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings, + com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings.Builder, + com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 48; + onChanged(); + return googleCloudIdentityDevicesSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings, + com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings.Builder, + com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettingsOrBuilder> + googleCloudIdentityDeviceUsersSettingsBuilder_; + + /** + * + * + *
+     * Google Cloud Identity Device Users settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings google_cloud_identity_device_users_settings = 49; + * + * + * @return Whether the googleCloudIdentityDeviceUsersSettings field is set. + */ + @java.lang.Override + public boolean hasGoogleCloudIdentityDeviceUsersSettings() { + return detailsCase_ == 49; + } + + /** + * + * + *
+     * Google Cloud Identity Device Users settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings google_cloud_identity_device_users_settings = 49; + * + * + * @return The googleCloudIdentityDeviceUsersSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings + getGoogleCloudIdentityDeviceUsersSettings() { + if (googleCloudIdentityDeviceUsersSettingsBuilder_ == null) { + if (detailsCase_ == 49) { + return (com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings) details_; + } + return com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings + .getDefaultInstance(); + } else { + if (detailsCase_ == 49) { + return googleCloudIdentityDeviceUsersSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Google Cloud Identity Device Users settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings google_cloud_identity_device_users_settings = 49; + * + */ + public Builder setGoogleCloudIdentityDeviceUsersSettings( + com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings value) { + if (googleCloudIdentityDeviceUsersSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + googleCloudIdentityDeviceUsersSettingsBuilder_.setMessage(value); + } + detailsCase_ = 49; + return this; + } + + /** + * + * + *
+     * Google Cloud Identity Device Users settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings google_cloud_identity_device_users_settings = 49; + * + */ + public Builder setGoogleCloudIdentityDeviceUsersSettings( + com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings.Builder + builderForValue) { + if (googleCloudIdentityDeviceUsersSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + googleCloudIdentityDeviceUsersSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 49; + return this; + } + + /** + * + * + *
+     * Google Cloud Identity Device Users settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings google_cloud_identity_device_users_settings = 49; + * + */ + public Builder mergeGoogleCloudIdentityDeviceUsersSettings( + com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings value) { + if (googleCloudIdentityDeviceUsersSettingsBuilder_ == null) { + if (detailsCase_ == 49 + && details_ + != com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings + .getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings.newBuilder( + (com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings) + details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 49) { + googleCloudIdentityDeviceUsersSettingsBuilder_.mergeFrom(value); + } else { + googleCloudIdentityDeviceUsersSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 49; + return this; + } + + /** + * + * + *
+     * Google Cloud Identity Device Users settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings google_cloud_identity_device_users_settings = 49; + * + */ + public Builder clearGoogleCloudIdentityDeviceUsersSettings() { + if (googleCloudIdentityDeviceUsersSettingsBuilder_ == null) { + if (detailsCase_ == 49) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 49) { + detailsCase_ = 0; + details_ = null; + } + googleCloudIdentityDeviceUsersSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Google Cloud Identity Device Users settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings google_cloud_identity_device_users_settings = 49; + * + */ + public com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings.Builder + getGoogleCloudIdentityDeviceUsersSettingsBuilder() { + return internalGetGoogleCloudIdentityDeviceUsersSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Google Cloud Identity Device Users settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings google_cloud_identity_device_users_settings = 49; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettingsOrBuilder + getGoogleCloudIdentityDeviceUsersSettingsOrBuilder() { + if ((detailsCase_ == 49) && (googleCloudIdentityDeviceUsersSettingsBuilder_ != null)) { + return googleCloudIdentityDeviceUsersSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 49) { + return (com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings) details_; + } + return com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Google Cloud Identity Device Users settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings google_cloud_identity_device_users_settings = 49; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings, + com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings.Builder, + com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettingsOrBuilder> + internalGetGoogleCloudIdentityDeviceUsersSettingsFieldBuilder() { + if (googleCloudIdentityDeviceUsersSettingsBuilder_ == null) { + if (!(detailsCase_ == 49)) { + details_ = + com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings + .getDefaultInstance(); + } + googleCloudIdentityDeviceUsersSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings, + com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings.Builder, + com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 49; + onChanged(); + return googleCloudIdentityDeviceUsersSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings, + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.Builder, + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettingsOrBuilder> + crowdstrikeDetectsSettingsBuilder_; + + /** + * + * + *
+     * CrowdStrike Detects API settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CrowdStrikeDetectsSettings crowdstrike_detects_settings = 50; + * + * + * @return Whether the crowdstrikeDetectsSettings field is set. + */ + @java.lang.Override + public boolean hasCrowdstrikeDetectsSettings() { + return detailsCase_ == 50; + } + + /** + * + * + *
+     * CrowdStrike Detects API settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CrowdStrikeDetectsSettings crowdstrike_detects_settings = 50; + * + * + * @return The crowdstrikeDetectsSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings + getCrowdstrikeDetectsSettings() { + if (crowdstrikeDetectsSettingsBuilder_ == null) { + if (detailsCase_ == 50) { + return (com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings) details_; + } + return com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 50) { + return crowdstrikeDetectsSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * CrowdStrike Detects API settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CrowdStrikeDetectsSettings crowdstrike_detects_settings = 50; + * + */ + public Builder setCrowdstrikeDetectsSettings( + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings value) { + if (crowdstrikeDetectsSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + crowdstrikeDetectsSettingsBuilder_.setMessage(value); + } + detailsCase_ = 50; + return this; + } + + /** + * + * + *
+     * CrowdStrike Detects API settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CrowdStrikeDetectsSettings crowdstrike_detects_settings = 50; + * + */ + public Builder setCrowdstrikeDetectsSettings( + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.Builder builderForValue) { + if (crowdstrikeDetectsSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + crowdstrikeDetectsSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 50; + return this; + } + + /** + * + * + *
+     * CrowdStrike Detects API settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CrowdStrikeDetectsSettings crowdstrike_detects_settings = 50; + * + */ + public Builder mergeCrowdstrikeDetectsSettings( + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings value) { + if (crowdstrikeDetectsSettingsBuilder_ == null) { + if (detailsCase_ == 50 + && details_ + != com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.newBuilder( + (com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 50) { + crowdstrikeDetectsSettingsBuilder_.mergeFrom(value); + } else { + crowdstrikeDetectsSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 50; + return this; + } + + /** + * + * + *
+     * CrowdStrike Detects API settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CrowdStrikeDetectsSettings crowdstrike_detects_settings = 50; + * + */ + public Builder clearCrowdstrikeDetectsSettings() { + if (crowdstrikeDetectsSettingsBuilder_ == null) { + if (detailsCase_ == 50) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 50) { + detailsCase_ = 0; + details_ = null; + } + crowdstrikeDetectsSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * CrowdStrike Detects API settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CrowdStrikeDetectsSettings crowdstrike_detects_settings = 50; + * + */ + public com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.Builder + getCrowdstrikeDetectsSettingsBuilder() { + return internalGetCrowdstrikeDetectsSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * CrowdStrike Detects API settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CrowdStrikeDetectsSettings crowdstrike_detects_settings = 50; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettingsOrBuilder + getCrowdstrikeDetectsSettingsOrBuilder() { + if ((detailsCase_ == 50) && (crowdstrikeDetectsSettingsBuilder_ != null)) { + return crowdstrikeDetectsSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 50) { + return (com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings) details_; + } + return com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * CrowdStrike Detects API settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.CrowdStrikeDetectsSettings crowdstrike_detects_settings = 50; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings, + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.Builder, + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettingsOrBuilder> + internalGetCrowdstrikeDetectsSettingsFieldBuilder() { + if (crowdstrikeDetectsSettingsBuilder_ == null) { + if (!(detailsCase_ == 50)) { + details_ = com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.getDefaultInstance(); + } + crowdstrikeDetectsSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings, + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings.Builder, + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 50; + onChanged(); + return crowdstrikeDetectsSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MandiantIoCSettings, + com.google.cloud.chronicle.v1.MandiantIoCSettings.Builder, + com.google.cloud.chronicle.v1.MandiantIoCSettingsOrBuilder> + mandiantIocSettingsBuilder_; + + /** + * + * + *
+     * Mandiant IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.MandiantIoCSettings mandiant_ioc_settings = 53; + * + * @return Whether the mandiantIocSettings field is set. + */ + @java.lang.Override + public boolean hasMandiantIocSettings() { + return detailsCase_ == 53; + } + + /** + * + * + *
+     * Mandiant IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.MandiantIoCSettings mandiant_ioc_settings = 53; + * + * @return The mandiantIocSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MandiantIoCSettings getMandiantIocSettings() { + if (mandiantIocSettingsBuilder_ == null) { + if (detailsCase_ == 53) { + return (com.google.cloud.chronicle.v1.MandiantIoCSettings) details_; + } + return com.google.cloud.chronicle.v1.MandiantIoCSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 53) { + return mandiantIocSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.MandiantIoCSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Mandiant IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.MandiantIoCSettings mandiant_ioc_settings = 53; + */ + public Builder setMandiantIocSettings(com.google.cloud.chronicle.v1.MandiantIoCSettings value) { + if (mandiantIocSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + mandiantIocSettingsBuilder_.setMessage(value); + } + detailsCase_ = 53; + return this; + } + + /** + * + * + *
+     * Mandiant IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.MandiantIoCSettings mandiant_ioc_settings = 53; + */ + public Builder setMandiantIocSettings( + com.google.cloud.chronicle.v1.MandiantIoCSettings.Builder builderForValue) { + if (mandiantIocSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + mandiantIocSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 53; + return this; + } + + /** + * + * + *
+     * Mandiant IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.MandiantIoCSettings mandiant_ioc_settings = 53; + */ + public Builder mergeMandiantIocSettings( + com.google.cloud.chronicle.v1.MandiantIoCSettings value) { + if (mandiantIocSettingsBuilder_ == null) { + if (detailsCase_ == 53 + && details_ != com.google.cloud.chronicle.v1.MandiantIoCSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.MandiantIoCSettings.newBuilder( + (com.google.cloud.chronicle.v1.MandiantIoCSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 53) { + mandiantIocSettingsBuilder_.mergeFrom(value); + } else { + mandiantIocSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 53; + return this; + } + + /** + * + * + *
+     * Mandiant IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.MandiantIoCSettings mandiant_ioc_settings = 53; + */ + public Builder clearMandiantIocSettings() { + if (mandiantIocSettingsBuilder_ == null) { + if (detailsCase_ == 53) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 53) { + detailsCase_ = 0; + details_ = null; + } + mandiantIocSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Mandiant IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.MandiantIoCSettings mandiant_ioc_settings = 53; + */ + public com.google.cloud.chronicle.v1.MandiantIoCSettings.Builder + getMandiantIocSettingsBuilder() { + return internalGetMandiantIocSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Mandiant IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.MandiantIoCSettings mandiant_ioc_settings = 53; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MandiantIoCSettingsOrBuilder + getMandiantIocSettingsOrBuilder() { + if ((detailsCase_ == 53) && (mandiantIocSettingsBuilder_ != null)) { + return mandiantIocSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 53) { + return (com.google.cloud.chronicle.v1.MandiantIoCSettings) details_; + } + return com.google.cloud.chronicle.v1.MandiantIoCSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Mandiant IOC settings.
+     * 
+ * + * .google.cloud.chronicle.v1.MandiantIoCSettings mandiant_ioc_settings = 53; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MandiantIoCSettings, + com.google.cloud.chronicle.v1.MandiantIoCSettings.Builder, + com.google.cloud.chronicle.v1.MandiantIoCSettingsOrBuilder> + internalGetMandiantIocSettingsFieldBuilder() { + if (mandiantIocSettingsBuilder_ == null) { + if (!(detailsCase_ == 53)) { + details_ = com.google.cloud.chronicle.v1.MandiantIoCSettings.getDefaultInstance(); + } + mandiantIocSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MandiantIoCSettings, + com.google.cloud.chronicle.v1.MandiantIoCSettings.Builder, + com.google.cloud.chronicle.v1.MandiantIoCSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.MandiantIoCSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 53; + onChanged(); + return mandiantIocSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SentineloneAlertSettings, + com.google.cloud.chronicle.v1.SentineloneAlertSettings.Builder, + com.google.cloud.chronicle.v1.SentineloneAlertSettingsOrBuilder> + sentineloneAlertSettingsBuilder_; + + /** + * + * + *
+     * SentinelOne Alert settings.
+     * 
+ * + * .google.cloud.chronicle.v1.SentineloneAlertSettings sentinelone_alert_settings = 54; + * + * + * @return Whether the sentineloneAlertSettings field is set. + */ + @java.lang.Override + public boolean hasSentineloneAlertSettings() { + return detailsCase_ == 54; + } + + /** + * + * + *
+     * SentinelOne Alert settings.
+     * 
+ * + * .google.cloud.chronicle.v1.SentineloneAlertSettings sentinelone_alert_settings = 54; + * + * + * @return The sentineloneAlertSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SentineloneAlertSettings getSentineloneAlertSettings() { + if (sentineloneAlertSettingsBuilder_ == null) { + if (detailsCase_ == 54) { + return (com.google.cloud.chronicle.v1.SentineloneAlertSettings) details_; + } + return com.google.cloud.chronicle.v1.SentineloneAlertSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 54) { + return sentineloneAlertSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.SentineloneAlertSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * SentinelOne Alert settings.
+     * 
+ * + * .google.cloud.chronicle.v1.SentineloneAlertSettings sentinelone_alert_settings = 54; + * + */ + public Builder setSentineloneAlertSettings( + com.google.cloud.chronicle.v1.SentineloneAlertSettings value) { + if (sentineloneAlertSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + sentineloneAlertSettingsBuilder_.setMessage(value); + } + detailsCase_ = 54; + return this; + } + + /** + * + * + *
+     * SentinelOne Alert settings.
+     * 
+ * + * .google.cloud.chronicle.v1.SentineloneAlertSettings sentinelone_alert_settings = 54; + * + */ + public Builder setSentineloneAlertSettings( + com.google.cloud.chronicle.v1.SentineloneAlertSettings.Builder builderForValue) { + if (sentineloneAlertSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + sentineloneAlertSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 54; + return this; + } + + /** + * + * + *
+     * SentinelOne Alert settings.
+     * 
+ * + * .google.cloud.chronicle.v1.SentineloneAlertSettings sentinelone_alert_settings = 54; + * + */ + public Builder mergeSentineloneAlertSettings( + com.google.cloud.chronicle.v1.SentineloneAlertSettings value) { + if (sentineloneAlertSettingsBuilder_ == null) { + if (detailsCase_ == 54 + && details_ + != com.google.cloud.chronicle.v1.SentineloneAlertSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.SentineloneAlertSettings.newBuilder( + (com.google.cloud.chronicle.v1.SentineloneAlertSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 54) { + sentineloneAlertSettingsBuilder_.mergeFrom(value); + } else { + sentineloneAlertSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 54; + return this; + } + + /** + * + * + *
+     * SentinelOne Alert settings.
+     * 
+ * + * .google.cloud.chronicle.v1.SentineloneAlertSettings sentinelone_alert_settings = 54; + * + */ + public Builder clearSentineloneAlertSettings() { + if (sentineloneAlertSettingsBuilder_ == null) { + if (detailsCase_ == 54) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 54) { + detailsCase_ = 0; + details_ = null; + } + sentineloneAlertSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * SentinelOne Alert settings.
+     * 
+ * + * .google.cloud.chronicle.v1.SentineloneAlertSettings sentinelone_alert_settings = 54; + * + */ + public com.google.cloud.chronicle.v1.SentineloneAlertSettings.Builder + getSentineloneAlertSettingsBuilder() { + return internalGetSentineloneAlertSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * SentinelOne Alert settings.
+     * 
+ * + * .google.cloud.chronicle.v1.SentineloneAlertSettings sentinelone_alert_settings = 54; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SentineloneAlertSettingsOrBuilder + getSentineloneAlertSettingsOrBuilder() { + if ((detailsCase_ == 54) && (sentineloneAlertSettingsBuilder_ != null)) { + return sentineloneAlertSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 54) { + return (com.google.cloud.chronicle.v1.SentineloneAlertSettings) details_; + } + return com.google.cloud.chronicle.v1.SentineloneAlertSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * SentinelOne Alert settings.
+     * 
+ * + * .google.cloud.chronicle.v1.SentineloneAlertSettings sentinelone_alert_settings = 54; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SentineloneAlertSettings, + com.google.cloud.chronicle.v1.SentineloneAlertSettings.Builder, + com.google.cloud.chronicle.v1.SentineloneAlertSettingsOrBuilder> + internalGetSentineloneAlertSettingsFieldBuilder() { + if (sentineloneAlertSettingsBuilder_ == null) { + if (!(detailsCase_ == 54)) { + details_ = com.google.cloud.chronicle.v1.SentineloneAlertSettings.getDefaultInstance(); + } + sentineloneAlertSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SentineloneAlertSettings, + com.google.cloud.chronicle.v1.SentineloneAlertSettings.Builder, + com.google.cloud.chronicle.v1.SentineloneAlertSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.SentineloneAlertSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 54; + onChanged(); + return sentineloneAlertSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.QualysScanSettings, + com.google.cloud.chronicle.v1.QualysScanSettings.Builder, + com.google.cloud.chronicle.v1.QualysScanSettingsOrBuilder> + qualysScanSettingsBuilder_; + + /** + * + * + *
+     * Qualys Scan Settings
+     * 
+ * + * .google.cloud.chronicle.v1.QualysScanSettings qualys_scan_settings = 55; + * + * @return Whether the qualysScanSettings field is set. + */ + @java.lang.Override + public boolean hasQualysScanSettings() { + return detailsCase_ == 55; + } + + /** + * + * + *
+     * Qualys Scan Settings
+     * 
+ * + * .google.cloud.chronicle.v1.QualysScanSettings qualys_scan_settings = 55; + * + * @return The qualysScanSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.QualysScanSettings getQualysScanSettings() { + if (qualysScanSettingsBuilder_ == null) { + if (detailsCase_ == 55) { + return (com.google.cloud.chronicle.v1.QualysScanSettings) details_; + } + return com.google.cloud.chronicle.v1.QualysScanSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 55) { + return qualysScanSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.QualysScanSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Qualys Scan Settings
+     * 
+ * + * .google.cloud.chronicle.v1.QualysScanSettings qualys_scan_settings = 55; + */ + public Builder setQualysScanSettings(com.google.cloud.chronicle.v1.QualysScanSettings value) { + if (qualysScanSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + qualysScanSettingsBuilder_.setMessage(value); + } + detailsCase_ = 55; + return this; + } + + /** + * + * + *
+     * Qualys Scan Settings
+     * 
+ * + * .google.cloud.chronicle.v1.QualysScanSettings qualys_scan_settings = 55; + */ + public Builder setQualysScanSettings( + com.google.cloud.chronicle.v1.QualysScanSettings.Builder builderForValue) { + if (qualysScanSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + qualysScanSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 55; + return this; + } + + /** + * + * + *
+     * Qualys Scan Settings
+     * 
+ * + * .google.cloud.chronicle.v1.QualysScanSettings qualys_scan_settings = 55; + */ + public Builder mergeQualysScanSettings(com.google.cloud.chronicle.v1.QualysScanSettings value) { + if (qualysScanSettingsBuilder_ == null) { + if (detailsCase_ == 55 + && details_ != com.google.cloud.chronicle.v1.QualysScanSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.QualysScanSettings.newBuilder( + (com.google.cloud.chronicle.v1.QualysScanSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 55) { + qualysScanSettingsBuilder_.mergeFrom(value); + } else { + qualysScanSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 55; + return this; + } + + /** + * + * + *
+     * Qualys Scan Settings
+     * 
+ * + * .google.cloud.chronicle.v1.QualysScanSettings qualys_scan_settings = 55; + */ + public Builder clearQualysScanSettings() { + if (qualysScanSettingsBuilder_ == null) { + if (detailsCase_ == 55) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 55) { + detailsCase_ = 0; + details_ = null; + } + qualysScanSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Qualys Scan Settings
+     * 
+ * + * .google.cloud.chronicle.v1.QualysScanSettings qualys_scan_settings = 55; + */ + public com.google.cloud.chronicle.v1.QualysScanSettings.Builder getQualysScanSettingsBuilder() { + return internalGetQualysScanSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Qualys Scan Settings
+     * 
+ * + * .google.cloud.chronicle.v1.QualysScanSettings qualys_scan_settings = 55; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.QualysScanSettingsOrBuilder + getQualysScanSettingsOrBuilder() { + if ((detailsCase_ == 55) && (qualysScanSettingsBuilder_ != null)) { + return qualysScanSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 55) { + return (com.google.cloud.chronicle.v1.QualysScanSettings) details_; + } + return com.google.cloud.chronicle.v1.QualysScanSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Qualys Scan Settings
+     * 
+ * + * .google.cloud.chronicle.v1.QualysScanSettings qualys_scan_settings = 55; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.QualysScanSettings, + com.google.cloud.chronicle.v1.QualysScanSettings.Builder, + com.google.cloud.chronicle.v1.QualysScanSettingsOrBuilder> + internalGetQualysScanSettingsFieldBuilder() { + if (qualysScanSettingsBuilder_ == null) { + if (!(detailsCase_ == 55)) { + details_ = com.google.cloud.chronicle.v1.QualysScanSettings.getDefaultInstance(); + } + qualysScanSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.QualysScanSettings, + com.google.cloud.chronicle.v1.QualysScanSettings.Builder, + com.google.cloud.chronicle.v1.QualysScanSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.QualysScanSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 55; + onChanged(); + return qualysScanSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.PubsubSettings, + com.google.cloud.chronicle.v1.PubsubSettings.Builder, + com.google.cloud.chronicle.v1.PubsubSettingsOrBuilder> + pubsubSettingsBuilder_; + + /** + * + * + *
+     * Pub/Sub settings.
+     * 
+ * + * .google.cloud.chronicle.v1.PubsubSettings pubsub_settings = 56; + * + * @return Whether the pubsubSettings field is set. + */ + @java.lang.Override + public boolean hasPubsubSettings() { + return detailsCase_ == 56; + } + + /** + * + * + *
+     * Pub/Sub settings.
+     * 
+ * + * .google.cloud.chronicle.v1.PubsubSettings pubsub_settings = 56; + * + * @return The pubsubSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.PubsubSettings getPubsubSettings() { + if (pubsubSettingsBuilder_ == null) { + if (detailsCase_ == 56) { + return (com.google.cloud.chronicle.v1.PubsubSettings) details_; + } + return com.google.cloud.chronicle.v1.PubsubSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 56) { + return pubsubSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.PubsubSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Pub/Sub settings.
+     * 
+ * + * .google.cloud.chronicle.v1.PubsubSettings pubsub_settings = 56; + */ + public Builder setPubsubSettings(com.google.cloud.chronicle.v1.PubsubSettings value) { + if (pubsubSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + pubsubSettingsBuilder_.setMessage(value); + } + detailsCase_ = 56; + return this; + } + + /** + * + * + *
+     * Pub/Sub settings.
+     * 
+ * + * .google.cloud.chronicle.v1.PubsubSettings pubsub_settings = 56; + */ + public Builder setPubsubSettings( + com.google.cloud.chronicle.v1.PubsubSettings.Builder builderForValue) { + if (pubsubSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + pubsubSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 56; + return this; + } + + /** + * + * + *
+     * Pub/Sub settings.
+     * 
+ * + * .google.cloud.chronicle.v1.PubsubSettings pubsub_settings = 56; + */ + public Builder mergePubsubSettings(com.google.cloud.chronicle.v1.PubsubSettings value) { + if (pubsubSettingsBuilder_ == null) { + if (detailsCase_ == 56 + && details_ != com.google.cloud.chronicle.v1.PubsubSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.PubsubSettings.newBuilder( + (com.google.cloud.chronicle.v1.PubsubSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 56) { + pubsubSettingsBuilder_.mergeFrom(value); + } else { + pubsubSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 56; + return this; + } + + /** + * + * + *
+     * Pub/Sub settings.
+     * 
+ * + * .google.cloud.chronicle.v1.PubsubSettings pubsub_settings = 56; + */ + public Builder clearPubsubSettings() { + if (pubsubSettingsBuilder_ == null) { + if (detailsCase_ == 56) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 56) { + detailsCase_ = 0; + details_ = null; + } + pubsubSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Pub/Sub settings.
+     * 
+ * + * .google.cloud.chronicle.v1.PubsubSettings pubsub_settings = 56; + */ + public com.google.cloud.chronicle.v1.PubsubSettings.Builder getPubsubSettingsBuilder() { + return internalGetPubsubSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Pub/Sub settings.
+     * 
+ * + * .google.cloud.chronicle.v1.PubsubSettings pubsub_settings = 56; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.PubsubSettingsOrBuilder getPubsubSettingsOrBuilder() { + if ((detailsCase_ == 56) && (pubsubSettingsBuilder_ != null)) { + return pubsubSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 56) { + return (com.google.cloud.chronicle.v1.PubsubSettings) details_; + } + return com.google.cloud.chronicle.v1.PubsubSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Pub/Sub settings.
+     * 
+ * + * .google.cloud.chronicle.v1.PubsubSettings pubsub_settings = 56; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.PubsubSettings, + com.google.cloud.chronicle.v1.PubsubSettings.Builder, + com.google.cloud.chronicle.v1.PubsubSettingsOrBuilder> + internalGetPubsubSettingsFieldBuilder() { + if (pubsubSettingsBuilder_ == null) { + if (!(detailsCase_ == 56)) { + details_ = com.google.cloud.chronicle.v1.PubsubSettings.getDefaultInstance(); + } + pubsubSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.PubsubSettings, + com.google.cloud.chronicle.v1.PubsubSettings.Builder, + com.google.cloud.chronicle.v1.PubsubSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.PubsubSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 56; + onChanged(); + return pubsubSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings, + com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings.Builder, + com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettingsOrBuilder> + amazonKinesisFirehoseSettingsBuilder_; + + /** + * + * + *
+     * Amazon Kinesis Firehose settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings amazon_kinesis_firehose_settings = 57; + * + * + * @return Whether the amazonKinesisFirehoseSettings field is set. + */ + @java.lang.Override + public boolean hasAmazonKinesisFirehoseSettings() { + return detailsCase_ == 57; + } + + /** + * + * + *
+     * Amazon Kinesis Firehose settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings amazon_kinesis_firehose_settings = 57; + * + * + * @return The amazonKinesisFirehoseSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings + getAmazonKinesisFirehoseSettings() { + if (amazonKinesisFirehoseSettingsBuilder_ == null) { + if (detailsCase_ == 57) { + return (com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings) details_; + } + return com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 57) { + return amazonKinesisFirehoseSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Amazon Kinesis Firehose settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings amazon_kinesis_firehose_settings = 57; + * + */ + public Builder setAmazonKinesisFirehoseSettings( + com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings value) { + if (amazonKinesisFirehoseSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + amazonKinesisFirehoseSettingsBuilder_.setMessage(value); + } + detailsCase_ = 57; + return this; + } + + /** + * + * + *
+     * Amazon Kinesis Firehose settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings amazon_kinesis_firehose_settings = 57; + * + */ + public Builder setAmazonKinesisFirehoseSettings( + com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings.Builder builderForValue) { + if (amazonKinesisFirehoseSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + amazonKinesisFirehoseSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 57; + return this; + } + + /** + * + * + *
+     * Amazon Kinesis Firehose settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings amazon_kinesis_firehose_settings = 57; + * + */ + public Builder mergeAmazonKinesisFirehoseSettings( + com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings value) { + if (amazonKinesisFirehoseSettingsBuilder_ == null) { + if (detailsCase_ == 57 + && details_ + != com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings + .getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings.newBuilder( + (com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 57) { + amazonKinesisFirehoseSettingsBuilder_.mergeFrom(value); + } else { + amazonKinesisFirehoseSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 57; + return this; + } + + /** + * + * + *
+     * Amazon Kinesis Firehose settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings amazon_kinesis_firehose_settings = 57; + * + */ + public Builder clearAmazonKinesisFirehoseSettings() { + if (amazonKinesisFirehoseSettingsBuilder_ == null) { + if (detailsCase_ == 57) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 57) { + detailsCase_ = 0; + details_ = null; + } + amazonKinesisFirehoseSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Amazon Kinesis Firehose settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings amazon_kinesis_firehose_settings = 57; + * + */ + public com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings.Builder + getAmazonKinesisFirehoseSettingsBuilder() { + return internalGetAmazonKinesisFirehoseSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Amazon Kinesis Firehose settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings amazon_kinesis_firehose_settings = 57; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettingsOrBuilder + getAmazonKinesisFirehoseSettingsOrBuilder() { + if ((detailsCase_ == 57) && (amazonKinesisFirehoseSettingsBuilder_ != null)) { + return amazonKinesisFirehoseSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 57) { + return (com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings) details_; + } + return com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Amazon Kinesis Firehose settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings amazon_kinesis_firehose_settings = 57; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings, + com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings.Builder, + com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettingsOrBuilder> + internalGetAmazonKinesisFirehoseSettingsFieldBuilder() { + if (amazonKinesisFirehoseSettingsBuilder_ == null) { + if (!(detailsCase_ == 57)) { + details_ = + com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings.getDefaultInstance(); + } + amazonKinesisFirehoseSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings, + com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings.Builder, + com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 57; + onChanged(); + return amazonKinesisFirehoseSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WebhookSettings, + com.google.cloud.chronicle.v1.WebhookSettings.Builder, + com.google.cloud.chronicle.v1.WebhookSettingsOrBuilder> + webhookSettingsBuilder_; + + /** + * + * + *
+     * Webhook settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WebhookSettings webhook_settings = 58; + * + * @return Whether the webhookSettings field is set. + */ + @java.lang.Override + public boolean hasWebhookSettings() { + return detailsCase_ == 58; + } + + /** + * + * + *
+     * Webhook settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WebhookSettings webhook_settings = 58; + * + * @return The webhookSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WebhookSettings getWebhookSettings() { + if (webhookSettingsBuilder_ == null) { + if (detailsCase_ == 58) { + return (com.google.cloud.chronicle.v1.WebhookSettings) details_; + } + return com.google.cloud.chronicle.v1.WebhookSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 58) { + return webhookSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.WebhookSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Webhook settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WebhookSettings webhook_settings = 58; + */ + public Builder setWebhookSettings(com.google.cloud.chronicle.v1.WebhookSettings value) { + if (webhookSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + webhookSettingsBuilder_.setMessage(value); + } + detailsCase_ = 58; + return this; + } + + /** + * + * + *
+     * Webhook settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WebhookSettings webhook_settings = 58; + */ + public Builder setWebhookSettings( + com.google.cloud.chronicle.v1.WebhookSettings.Builder builderForValue) { + if (webhookSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + webhookSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 58; + return this; + } + + /** + * + * + *
+     * Webhook settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WebhookSettings webhook_settings = 58; + */ + public Builder mergeWebhookSettings(com.google.cloud.chronicle.v1.WebhookSettings value) { + if (webhookSettingsBuilder_ == null) { + if (detailsCase_ == 58 + && details_ != com.google.cloud.chronicle.v1.WebhookSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.WebhookSettings.newBuilder( + (com.google.cloud.chronicle.v1.WebhookSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 58) { + webhookSettingsBuilder_.mergeFrom(value); + } else { + webhookSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 58; + return this; + } + + /** + * + * + *
+     * Webhook settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WebhookSettings webhook_settings = 58; + */ + public Builder clearWebhookSettings() { + if (webhookSettingsBuilder_ == null) { + if (detailsCase_ == 58) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 58) { + detailsCase_ = 0; + details_ = null; + } + webhookSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Webhook settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WebhookSettings webhook_settings = 58; + */ + public com.google.cloud.chronicle.v1.WebhookSettings.Builder getWebhookSettingsBuilder() { + return internalGetWebhookSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Webhook settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WebhookSettings webhook_settings = 58; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WebhookSettingsOrBuilder getWebhookSettingsOrBuilder() { + if ((detailsCase_ == 58) && (webhookSettingsBuilder_ != null)) { + return webhookSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 58) { + return (com.google.cloud.chronicle.v1.WebhookSettings) details_; + } + return com.google.cloud.chronicle.v1.WebhookSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Webhook settings.
+     * 
+ * + * .google.cloud.chronicle.v1.WebhookSettings webhook_settings = 58; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WebhookSettings, + com.google.cloud.chronicle.v1.WebhookSettings.Builder, + com.google.cloud.chronicle.v1.WebhookSettingsOrBuilder> + internalGetWebhookSettingsFieldBuilder() { + if (webhookSettingsBuilder_ == null) { + if (!(detailsCase_ == 58)) { + details_ = com.google.cloud.chronicle.v1.WebhookSettings.getDefaultInstance(); + } + webhookSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WebhookSettings, + com.google.cloud.chronicle.v1.WebhookSettings.Builder, + com.google.cloud.chronicle.v1.WebhookSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.WebhookSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 58; + onChanged(); + return webhookSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.DummyLogTypeSettings, + com.google.cloud.chronicle.v1.DummyLogTypeSettings.Builder, + com.google.cloud.chronicle.v1.DummyLogTypeSettingsOrBuilder> + dummyLogTypeSettingsBuilder_; + + /** + * + * + *
+     * DummyLogType Settings.
+     * 
+ * + * .google.cloud.chronicle.v1.DummyLogTypeSettings dummy_log_type_settings = 59; + * + * @return Whether the dummyLogTypeSettings field is set. + */ + @java.lang.Override + public boolean hasDummyLogTypeSettings() { + return detailsCase_ == 59; + } + + /** + * + * + *
+     * DummyLogType Settings.
+     * 
+ * + * .google.cloud.chronicle.v1.DummyLogTypeSettings dummy_log_type_settings = 59; + * + * @return The dummyLogTypeSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.DummyLogTypeSettings getDummyLogTypeSettings() { + if (dummyLogTypeSettingsBuilder_ == null) { + if (detailsCase_ == 59) { + return (com.google.cloud.chronicle.v1.DummyLogTypeSettings) details_; + } + return com.google.cloud.chronicle.v1.DummyLogTypeSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 59) { + return dummyLogTypeSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.DummyLogTypeSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * DummyLogType Settings.
+     * 
+ * + * .google.cloud.chronicle.v1.DummyLogTypeSettings dummy_log_type_settings = 59; + */ + public Builder setDummyLogTypeSettings( + com.google.cloud.chronicle.v1.DummyLogTypeSettings value) { + if (dummyLogTypeSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + dummyLogTypeSettingsBuilder_.setMessage(value); + } + detailsCase_ = 59; + return this; + } + + /** + * + * + *
+     * DummyLogType Settings.
+     * 
+ * + * .google.cloud.chronicle.v1.DummyLogTypeSettings dummy_log_type_settings = 59; + */ + public Builder setDummyLogTypeSettings( + com.google.cloud.chronicle.v1.DummyLogTypeSettings.Builder builderForValue) { + if (dummyLogTypeSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + dummyLogTypeSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 59; + return this; + } + + /** + * + * + *
+     * DummyLogType Settings.
+     * 
+ * + * .google.cloud.chronicle.v1.DummyLogTypeSettings dummy_log_type_settings = 59; + */ + public Builder mergeDummyLogTypeSettings( + com.google.cloud.chronicle.v1.DummyLogTypeSettings value) { + if (dummyLogTypeSettingsBuilder_ == null) { + if (detailsCase_ == 59 + && details_ + != com.google.cloud.chronicle.v1.DummyLogTypeSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.DummyLogTypeSettings.newBuilder( + (com.google.cloud.chronicle.v1.DummyLogTypeSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 59) { + dummyLogTypeSettingsBuilder_.mergeFrom(value); + } else { + dummyLogTypeSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 59; + return this; + } + + /** + * + * + *
+     * DummyLogType Settings.
+     * 
+ * + * .google.cloud.chronicle.v1.DummyLogTypeSettings dummy_log_type_settings = 59; + */ + public Builder clearDummyLogTypeSettings() { + if (dummyLogTypeSettingsBuilder_ == null) { + if (detailsCase_ == 59) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 59) { + detailsCase_ = 0; + details_ = null; + } + dummyLogTypeSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * DummyLogType Settings.
+     * 
+ * + * .google.cloud.chronicle.v1.DummyLogTypeSettings dummy_log_type_settings = 59; + */ + public com.google.cloud.chronicle.v1.DummyLogTypeSettings.Builder + getDummyLogTypeSettingsBuilder() { + return internalGetDummyLogTypeSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * DummyLogType Settings.
+     * 
+ * + * .google.cloud.chronicle.v1.DummyLogTypeSettings dummy_log_type_settings = 59; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.DummyLogTypeSettingsOrBuilder + getDummyLogTypeSettingsOrBuilder() { + if ((detailsCase_ == 59) && (dummyLogTypeSettingsBuilder_ != null)) { + return dummyLogTypeSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 59) { + return (com.google.cloud.chronicle.v1.DummyLogTypeSettings) details_; + } + return com.google.cloud.chronicle.v1.DummyLogTypeSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * DummyLogType Settings.
+     * 
+ * + * .google.cloud.chronicle.v1.DummyLogTypeSettings dummy_log_type_settings = 59; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.DummyLogTypeSettings, + com.google.cloud.chronicle.v1.DummyLogTypeSettings.Builder, + com.google.cloud.chronicle.v1.DummyLogTypeSettingsOrBuilder> + internalGetDummyLogTypeSettingsFieldBuilder() { + if (dummyLogTypeSettingsBuilder_ == null) { + if (!(detailsCase_ == 59)) { + details_ = com.google.cloud.chronicle.v1.DummyLogTypeSettings.getDefaultInstance(); + } + dummyLogTypeSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.DummyLogTypeSettings, + com.google.cloud.chronicle.v1.DummyLogTypeSettings.Builder, + com.google.cloud.chronicle.v1.DummyLogTypeSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.DummyLogTypeSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 59; + onChanged(); + return dummyLogTypeSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings, + com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings.Builder, + com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettingsOrBuilder> + httpsPushGoogleCloudPubsubSettingsBuilder_; + + /** + * + * + *
+     * Https push Google Pub/Sub settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings https_push_google_cloud_pubsub_settings = 60; + * + * + * @return Whether the httpsPushGoogleCloudPubsubSettings field is set. + */ + @java.lang.Override + public boolean hasHttpsPushGoogleCloudPubsubSettings() { + return detailsCase_ == 60; + } + + /** + * + * + *
+     * Https push Google Pub/Sub settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings https_push_google_cloud_pubsub_settings = 60; + * + * + * @return The httpsPushGoogleCloudPubsubSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings + getHttpsPushGoogleCloudPubsubSettings() { + if (httpsPushGoogleCloudPubsubSettingsBuilder_ == null) { + if (detailsCase_ == 60) { + return (com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings) details_; + } + return com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings + .getDefaultInstance(); + } else { + if (detailsCase_ == 60) { + return httpsPushGoogleCloudPubsubSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Https push Google Pub/Sub settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings https_push_google_cloud_pubsub_settings = 60; + * + */ + public Builder setHttpsPushGoogleCloudPubsubSettings( + com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings value) { + if (httpsPushGoogleCloudPubsubSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + httpsPushGoogleCloudPubsubSettingsBuilder_.setMessage(value); + } + detailsCase_ = 60; + return this; + } + + /** + * + * + *
+     * Https push Google Pub/Sub settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings https_push_google_cloud_pubsub_settings = 60; + * + */ + public Builder setHttpsPushGoogleCloudPubsubSettings( + com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings.Builder builderForValue) { + if (httpsPushGoogleCloudPubsubSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + httpsPushGoogleCloudPubsubSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 60; + return this; + } + + /** + * + * + *
+     * Https push Google Pub/Sub settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings https_push_google_cloud_pubsub_settings = 60; + * + */ + public Builder mergeHttpsPushGoogleCloudPubsubSettings( + com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings value) { + if (httpsPushGoogleCloudPubsubSettingsBuilder_ == null) { + if (detailsCase_ == 60 + && details_ + != com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings + .getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings.newBuilder( + (com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 60) { + httpsPushGoogleCloudPubsubSettingsBuilder_.mergeFrom(value); + } else { + httpsPushGoogleCloudPubsubSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 60; + return this; + } + + /** + * + * + *
+     * Https push Google Pub/Sub settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings https_push_google_cloud_pubsub_settings = 60; + * + */ + public Builder clearHttpsPushGoogleCloudPubsubSettings() { + if (httpsPushGoogleCloudPubsubSettingsBuilder_ == null) { + if (detailsCase_ == 60) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 60) { + detailsCase_ = 0; + details_ = null; + } + httpsPushGoogleCloudPubsubSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Https push Google Pub/Sub settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings https_push_google_cloud_pubsub_settings = 60; + * + */ + public com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings.Builder + getHttpsPushGoogleCloudPubsubSettingsBuilder() { + return internalGetHttpsPushGoogleCloudPubsubSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Https push Google Pub/Sub settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings https_push_google_cloud_pubsub_settings = 60; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettingsOrBuilder + getHttpsPushGoogleCloudPubsubSettingsOrBuilder() { + if ((detailsCase_ == 60) && (httpsPushGoogleCloudPubsubSettingsBuilder_ != null)) { + return httpsPushGoogleCloudPubsubSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 60) { + return (com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings) details_; + } + return com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Https push Google Pub/Sub settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings https_push_google_cloud_pubsub_settings = 60; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings, + com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings.Builder, + com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettingsOrBuilder> + internalGetHttpsPushGoogleCloudPubsubSettingsFieldBuilder() { + if (httpsPushGoogleCloudPubsubSettingsBuilder_ == null) { + if (!(detailsCase_ == 60)) { + details_ = + com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings.getDefaultInstance(); + } + httpsPushGoogleCloudPubsubSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings, + com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings.Builder, + com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 60; + onChanged(); + return httpsPushGoogleCloudPubsubSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings, + com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings.Builder, + com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettingsOrBuilder> + httpsPushAmazonKinesisFirehoseSettingsBuilder_; + + /** + * + * + *
+     * Https push Amazon Kinesis Firehose settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings https_push_amazon_kinesis_firehose_settings = 61; + * + * + * @return Whether the httpsPushAmazonKinesisFirehoseSettings field is set. + */ + @java.lang.Override + public boolean hasHttpsPushAmazonKinesisFirehoseSettings() { + return detailsCase_ == 61; + } + + /** + * + * + *
+     * Https push Amazon Kinesis Firehose settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings https_push_amazon_kinesis_firehose_settings = 61; + * + * + * @return The httpsPushAmazonKinesisFirehoseSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings + getHttpsPushAmazonKinesisFirehoseSettings() { + if (httpsPushAmazonKinesisFirehoseSettingsBuilder_ == null) { + if (detailsCase_ == 61) { + return (com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings) details_; + } + return com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings + .getDefaultInstance(); + } else { + if (detailsCase_ == 61) { + return httpsPushAmazonKinesisFirehoseSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Https push Amazon Kinesis Firehose settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings https_push_amazon_kinesis_firehose_settings = 61; + * + */ + public Builder setHttpsPushAmazonKinesisFirehoseSettings( + com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings value) { + if (httpsPushAmazonKinesisFirehoseSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + httpsPushAmazonKinesisFirehoseSettingsBuilder_.setMessage(value); + } + detailsCase_ = 61; + return this; + } + + /** + * + * + *
+     * Https push Amazon Kinesis Firehose settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings https_push_amazon_kinesis_firehose_settings = 61; + * + */ + public Builder setHttpsPushAmazonKinesisFirehoseSettings( + com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings.Builder + builderForValue) { + if (httpsPushAmazonKinesisFirehoseSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + httpsPushAmazonKinesisFirehoseSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 61; + return this; + } + + /** + * + * + *
+     * Https push Amazon Kinesis Firehose settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings https_push_amazon_kinesis_firehose_settings = 61; + * + */ + public Builder mergeHttpsPushAmazonKinesisFirehoseSettings( + com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings value) { + if (httpsPushAmazonKinesisFirehoseSettingsBuilder_ == null) { + if (detailsCase_ == 61 + && details_ + != com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings + .getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings.newBuilder( + (com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings) + details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 61) { + httpsPushAmazonKinesisFirehoseSettingsBuilder_.mergeFrom(value); + } else { + httpsPushAmazonKinesisFirehoseSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 61; + return this; + } + + /** + * + * + *
+     * Https push Amazon Kinesis Firehose settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings https_push_amazon_kinesis_firehose_settings = 61; + * + */ + public Builder clearHttpsPushAmazonKinesisFirehoseSettings() { + if (httpsPushAmazonKinesisFirehoseSettingsBuilder_ == null) { + if (detailsCase_ == 61) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 61) { + detailsCase_ = 0; + details_ = null; + } + httpsPushAmazonKinesisFirehoseSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Https push Amazon Kinesis Firehose settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings https_push_amazon_kinesis_firehose_settings = 61; + * + */ + public com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings.Builder + getHttpsPushAmazonKinesisFirehoseSettingsBuilder() { + return internalGetHttpsPushAmazonKinesisFirehoseSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Https push Amazon Kinesis Firehose settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings https_push_amazon_kinesis_firehose_settings = 61; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettingsOrBuilder + getHttpsPushAmazonKinesisFirehoseSettingsOrBuilder() { + if ((detailsCase_ == 61) && (httpsPushAmazonKinesisFirehoseSettingsBuilder_ != null)) { + return httpsPushAmazonKinesisFirehoseSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 61) { + return (com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings) details_; + } + return com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Https push Amazon Kinesis Firehose settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings https_push_amazon_kinesis_firehose_settings = 61; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings, + com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings.Builder, + com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettingsOrBuilder> + internalGetHttpsPushAmazonKinesisFirehoseSettingsFieldBuilder() { + if (httpsPushAmazonKinesisFirehoseSettingsBuilder_ == null) { + if (!(detailsCase_ == 61)) { + details_ = + com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings + .getDefaultInstance(); + } + httpsPushAmazonKinesisFirehoseSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings, + com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings.Builder, + com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 61; + onChanged(); + return httpsPushAmazonKinesisFirehoseSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpsPushWebhookSettings, + com.google.cloud.chronicle.v1.HttpsPushWebhookSettings.Builder, + com.google.cloud.chronicle.v1.HttpsPushWebhookSettingsOrBuilder> + httpsPushWebhookSettingsBuilder_; + + /** + * + * + *
+     * Https push Webhook settings.
+     * 
+ * + * .google.cloud.chronicle.v1.HttpsPushWebhookSettings https_push_webhook_settings = 62; + * + * + * @return Whether the httpsPushWebhookSettings field is set. + */ + @java.lang.Override + public boolean hasHttpsPushWebhookSettings() { + return detailsCase_ == 62; + } + + /** + * + * + *
+     * Https push Webhook settings.
+     * 
+ * + * .google.cloud.chronicle.v1.HttpsPushWebhookSettings https_push_webhook_settings = 62; + * + * + * @return The httpsPushWebhookSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpsPushWebhookSettings getHttpsPushWebhookSettings() { + if (httpsPushWebhookSettingsBuilder_ == null) { + if (detailsCase_ == 62) { + return (com.google.cloud.chronicle.v1.HttpsPushWebhookSettings) details_; + } + return com.google.cloud.chronicle.v1.HttpsPushWebhookSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 62) { + return httpsPushWebhookSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.HttpsPushWebhookSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Https push Webhook settings.
+     * 
+ * + * .google.cloud.chronicle.v1.HttpsPushWebhookSettings https_push_webhook_settings = 62; + * + */ + public Builder setHttpsPushWebhookSettings( + com.google.cloud.chronicle.v1.HttpsPushWebhookSettings value) { + if (httpsPushWebhookSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + httpsPushWebhookSettingsBuilder_.setMessage(value); + } + detailsCase_ = 62; + return this; + } + + /** + * + * + *
+     * Https push Webhook settings.
+     * 
+ * + * .google.cloud.chronicle.v1.HttpsPushWebhookSettings https_push_webhook_settings = 62; + * + */ + public Builder setHttpsPushWebhookSettings( + com.google.cloud.chronicle.v1.HttpsPushWebhookSettings.Builder builderForValue) { + if (httpsPushWebhookSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + httpsPushWebhookSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 62; + return this; + } + + /** + * + * + *
+     * Https push Webhook settings.
+     * 
+ * + * .google.cloud.chronicle.v1.HttpsPushWebhookSettings https_push_webhook_settings = 62; + * + */ + public Builder mergeHttpsPushWebhookSettings( + com.google.cloud.chronicle.v1.HttpsPushWebhookSettings value) { + if (httpsPushWebhookSettingsBuilder_ == null) { + if (detailsCase_ == 62 + && details_ + != com.google.cloud.chronicle.v1.HttpsPushWebhookSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.HttpsPushWebhookSettings.newBuilder( + (com.google.cloud.chronicle.v1.HttpsPushWebhookSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 62) { + httpsPushWebhookSettingsBuilder_.mergeFrom(value); + } else { + httpsPushWebhookSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 62; + return this; + } + + /** + * + * + *
+     * Https push Webhook settings.
+     * 
+ * + * .google.cloud.chronicle.v1.HttpsPushWebhookSettings https_push_webhook_settings = 62; + * + */ + public Builder clearHttpsPushWebhookSettings() { + if (httpsPushWebhookSettingsBuilder_ == null) { + if (detailsCase_ == 62) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 62) { + detailsCase_ = 0; + details_ = null; + } + httpsPushWebhookSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Https push Webhook settings.
+     * 
+ * + * .google.cloud.chronicle.v1.HttpsPushWebhookSettings https_push_webhook_settings = 62; + * + */ + public com.google.cloud.chronicle.v1.HttpsPushWebhookSettings.Builder + getHttpsPushWebhookSettingsBuilder() { + return internalGetHttpsPushWebhookSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Https push Webhook settings.
+     * 
+ * + * .google.cloud.chronicle.v1.HttpsPushWebhookSettings https_push_webhook_settings = 62; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpsPushWebhookSettingsOrBuilder + getHttpsPushWebhookSettingsOrBuilder() { + if ((detailsCase_ == 62) && (httpsPushWebhookSettingsBuilder_ != null)) { + return httpsPushWebhookSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 62) { + return (com.google.cloud.chronicle.v1.HttpsPushWebhookSettings) details_; + } + return com.google.cloud.chronicle.v1.HttpsPushWebhookSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Https push Webhook settings.
+     * 
+ * + * .google.cloud.chronicle.v1.HttpsPushWebhookSettings https_push_webhook_settings = 62; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpsPushWebhookSettings, + com.google.cloud.chronicle.v1.HttpsPushWebhookSettings.Builder, + com.google.cloud.chronicle.v1.HttpsPushWebhookSettingsOrBuilder> + internalGetHttpsPushWebhookSettingsFieldBuilder() { + if (httpsPushWebhookSettingsBuilder_ == null) { + if (!(detailsCase_ == 62)) { + details_ = com.google.cloud.chronicle.v1.HttpsPushWebhookSettings.getDefaultInstance(); + } + httpsPushWebhookSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpsPushWebhookSettings, + com.google.cloud.chronicle.v1.HttpsPushWebhookSettings.Builder, + com.google.cloud.chronicle.v1.HttpsPushWebhookSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.HttpsPushWebhookSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 62; + onChanged(); + return httpsPushWebhookSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AWSEC2HostsSettings, + com.google.cloud.chronicle.v1.AWSEC2HostsSettings.Builder, + com.google.cloud.chronicle.v1.AWSEC2HostsSettingsOrBuilder> + awsEc2HostsSettingsBuilder_; + + /** + * + * + *
+     * AWS EC2 Hosts settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSEC2HostsSettings aws_ec2_hosts_settings = 63; + * + * @return Whether the awsEc2HostsSettings field is set. + */ + @java.lang.Override + public boolean hasAwsEc2HostsSettings() { + return detailsCase_ == 63; + } + + /** + * + * + *
+     * AWS EC2 Hosts settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSEC2HostsSettings aws_ec2_hosts_settings = 63; + * + * @return The awsEc2HostsSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSEC2HostsSettings getAwsEc2HostsSettings() { + if (awsEc2HostsSettingsBuilder_ == null) { + if (detailsCase_ == 63) { + return (com.google.cloud.chronicle.v1.AWSEC2HostsSettings) details_; + } + return com.google.cloud.chronicle.v1.AWSEC2HostsSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 63) { + return awsEc2HostsSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.AWSEC2HostsSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * AWS EC2 Hosts settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSEC2HostsSettings aws_ec2_hosts_settings = 63; + */ + public Builder setAwsEc2HostsSettings(com.google.cloud.chronicle.v1.AWSEC2HostsSettings value) { + if (awsEc2HostsSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + awsEc2HostsSettingsBuilder_.setMessage(value); + } + detailsCase_ = 63; + return this; + } + + /** + * + * + *
+     * AWS EC2 Hosts settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSEC2HostsSettings aws_ec2_hosts_settings = 63; + */ + public Builder setAwsEc2HostsSettings( + com.google.cloud.chronicle.v1.AWSEC2HostsSettings.Builder builderForValue) { + if (awsEc2HostsSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + awsEc2HostsSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 63; + return this; + } + + /** + * + * + *
+     * AWS EC2 Hosts settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSEC2HostsSettings aws_ec2_hosts_settings = 63; + */ + public Builder mergeAwsEc2HostsSettings( + com.google.cloud.chronicle.v1.AWSEC2HostsSettings value) { + if (awsEc2HostsSettingsBuilder_ == null) { + if (detailsCase_ == 63 + && details_ != com.google.cloud.chronicle.v1.AWSEC2HostsSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.AWSEC2HostsSettings.newBuilder( + (com.google.cloud.chronicle.v1.AWSEC2HostsSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 63) { + awsEc2HostsSettingsBuilder_.mergeFrom(value); + } else { + awsEc2HostsSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 63; + return this; + } + + /** + * + * + *
+     * AWS EC2 Hosts settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSEC2HostsSettings aws_ec2_hosts_settings = 63; + */ + public Builder clearAwsEc2HostsSettings() { + if (awsEc2HostsSettingsBuilder_ == null) { + if (detailsCase_ == 63) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 63) { + detailsCase_ = 0; + details_ = null; + } + awsEc2HostsSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * AWS EC2 Hosts settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSEC2HostsSettings aws_ec2_hosts_settings = 63; + */ + public com.google.cloud.chronicle.v1.AWSEC2HostsSettings.Builder + getAwsEc2HostsSettingsBuilder() { + return internalGetAwsEc2HostsSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * AWS EC2 Hosts settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSEC2HostsSettings aws_ec2_hosts_settings = 63; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSEC2HostsSettingsOrBuilder + getAwsEc2HostsSettingsOrBuilder() { + if ((detailsCase_ == 63) && (awsEc2HostsSettingsBuilder_ != null)) { + return awsEc2HostsSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 63) { + return (com.google.cloud.chronicle.v1.AWSEC2HostsSettings) details_; + } + return com.google.cloud.chronicle.v1.AWSEC2HostsSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * AWS EC2 Hosts settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSEC2HostsSettings aws_ec2_hosts_settings = 63; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AWSEC2HostsSettings, + com.google.cloud.chronicle.v1.AWSEC2HostsSettings.Builder, + com.google.cloud.chronicle.v1.AWSEC2HostsSettingsOrBuilder> + internalGetAwsEc2HostsSettingsFieldBuilder() { + if (awsEc2HostsSettingsBuilder_ == null) { + if (!(detailsCase_ == 63)) { + details_ = com.google.cloud.chronicle.v1.AWSEC2HostsSettings.getDefaultInstance(); + } + awsEc2HostsSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AWSEC2HostsSettings, + com.google.cloud.chronicle.v1.AWSEC2HostsSettings.Builder, + com.google.cloud.chronicle.v1.AWSEC2HostsSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.AWSEC2HostsSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 63; + onChanged(); + return awsEc2HostsSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AWSEC2InstancesSettings, + com.google.cloud.chronicle.v1.AWSEC2InstancesSettings.Builder, + com.google.cloud.chronicle.v1.AWSEC2InstancesSettingsOrBuilder> + awsEc2InstancesSettingsBuilder_; + + /** + * + * + *
+     * AWS EC2 Instances settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSEC2InstancesSettings aws_ec2_instances_settings = 64; + * + * + * @return Whether the awsEc2InstancesSettings field is set. + */ + @java.lang.Override + public boolean hasAwsEc2InstancesSettings() { + return detailsCase_ == 64; + } + + /** + * + * + *
+     * AWS EC2 Instances settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSEC2InstancesSettings aws_ec2_instances_settings = 64; + * + * + * @return The awsEc2InstancesSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSEC2InstancesSettings getAwsEc2InstancesSettings() { + if (awsEc2InstancesSettingsBuilder_ == null) { + if (detailsCase_ == 64) { + return (com.google.cloud.chronicle.v1.AWSEC2InstancesSettings) details_; + } + return com.google.cloud.chronicle.v1.AWSEC2InstancesSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 64) { + return awsEc2InstancesSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.AWSEC2InstancesSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * AWS EC2 Instances settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSEC2InstancesSettings aws_ec2_instances_settings = 64; + * + */ + public Builder setAwsEc2InstancesSettings( + com.google.cloud.chronicle.v1.AWSEC2InstancesSettings value) { + if (awsEc2InstancesSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + awsEc2InstancesSettingsBuilder_.setMessage(value); + } + detailsCase_ = 64; + return this; + } + + /** + * + * + *
+     * AWS EC2 Instances settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSEC2InstancesSettings aws_ec2_instances_settings = 64; + * + */ + public Builder setAwsEc2InstancesSettings( + com.google.cloud.chronicle.v1.AWSEC2InstancesSettings.Builder builderForValue) { + if (awsEc2InstancesSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + awsEc2InstancesSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 64; + return this; + } + + /** + * + * + *
+     * AWS EC2 Instances settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSEC2InstancesSettings aws_ec2_instances_settings = 64; + * + */ + public Builder mergeAwsEc2InstancesSettings( + com.google.cloud.chronicle.v1.AWSEC2InstancesSettings value) { + if (awsEc2InstancesSettingsBuilder_ == null) { + if (detailsCase_ == 64 + && details_ + != com.google.cloud.chronicle.v1.AWSEC2InstancesSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.AWSEC2InstancesSettings.newBuilder( + (com.google.cloud.chronicle.v1.AWSEC2InstancesSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 64) { + awsEc2InstancesSettingsBuilder_.mergeFrom(value); + } else { + awsEc2InstancesSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 64; + return this; + } + + /** + * + * + *
+     * AWS EC2 Instances settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSEC2InstancesSettings aws_ec2_instances_settings = 64; + * + */ + public Builder clearAwsEc2InstancesSettings() { + if (awsEc2InstancesSettingsBuilder_ == null) { + if (detailsCase_ == 64) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 64) { + detailsCase_ = 0; + details_ = null; + } + awsEc2InstancesSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * AWS EC2 Instances settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSEC2InstancesSettings aws_ec2_instances_settings = 64; + * + */ + public com.google.cloud.chronicle.v1.AWSEC2InstancesSettings.Builder + getAwsEc2InstancesSettingsBuilder() { + return internalGetAwsEc2InstancesSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * AWS EC2 Instances settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSEC2InstancesSettings aws_ec2_instances_settings = 64; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSEC2InstancesSettingsOrBuilder + getAwsEc2InstancesSettingsOrBuilder() { + if ((detailsCase_ == 64) && (awsEc2InstancesSettingsBuilder_ != null)) { + return awsEc2InstancesSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 64) { + return (com.google.cloud.chronicle.v1.AWSEC2InstancesSettings) details_; + } + return com.google.cloud.chronicle.v1.AWSEC2InstancesSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * AWS EC2 Instances settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSEC2InstancesSettings aws_ec2_instances_settings = 64; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AWSEC2InstancesSettings, + com.google.cloud.chronicle.v1.AWSEC2InstancesSettings.Builder, + com.google.cloud.chronicle.v1.AWSEC2InstancesSettingsOrBuilder> + internalGetAwsEc2InstancesSettingsFieldBuilder() { + if (awsEc2InstancesSettingsBuilder_ == null) { + if (!(detailsCase_ == 64)) { + details_ = com.google.cloud.chronicle.v1.AWSEC2InstancesSettings.getDefaultInstance(); + } + awsEc2InstancesSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AWSEC2InstancesSettings, + com.google.cloud.chronicle.v1.AWSEC2InstancesSettings.Builder, + com.google.cloud.chronicle.v1.AWSEC2InstancesSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.AWSEC2InstancesSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 64; + onChanged(); + return awsEc2InstancesSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AWSEC2VpcsSettings, + com.google.cloud.chronicle.v1.AWSEC2VpcsSettings.Builder, + com.google.cloud.chronicle.v1.AWSEC2VpcsSettingsOrBuilder> + awsEc2VpcsSettingsBuilder_; + + /** + * + * + *
+     * AWS EC2 Vpcs settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSEC2VpcsSettings aws_ec2_vpcs_settings = 65; + * + * @return Whether the awsEc2VpcsSettings field is set. + */ + @java.lang.Override + public boolean hasAwsEc2VpcsSettings() { + return detailsCase_ == 65; + } + + /** + * + * + *
+     * AWS EC2 Vpcs settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSEC2VpcsSettings aws_ec2_vpcs_settings = 65; + * + * @return The awsEc2VpcsSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSEC2VpcsSettings getAwsEc2VpcsSettings() { + if (awsEc2VpcsSettingsBuilder_ == null) { + if (detailsCase_ == 65) { + return (com.google.cloud.chronicle.v1.AWSEC2VpcsSettings) details_; + } + return com.google.cloud.chronicle.v1.AWSEC2VpcsSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 65) { + return awsEc2VpcsSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.AWSEC2VpcsSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * AWS EC2 Vpcs settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSEC2VpcsSettings aws_ec2_vpcs_settings = 65; + */ + public Builder setAwsEc2VpcsSettings(com.google.cloud.chronicle.v1.AWSEC2VpcsSettings value) { + if (awsEc2VpcsSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + awsEc2VpcsSettingsBuilder_.setMessage(value); + } + detailsCase_ = 65; + return this; + } + + /** + * + * + *
+     * AWS EC2 Vpcs settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSEC2VpcsSettings aws_ec2_vpcs_settings = 65; + */ + public Builder setAwsEc2VpcsSettings( + com.google.cloud.chronicle.v1.AWSEC2VpcsSettings.Builder builderForValue) { + if (awsEc2VpcsSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + awsEc2VpcsSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 65; + return this; + } + + /** + * + * + *
+     * AWS EC2 Vpcs settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSEC2VpcsSettings aws_ec2_vpcs_settings = 65; + */ + public Builder mergeAwsEc2VpcsSettings(com.google.cloud.chronicle.v1.AWSEC2VpcsSettings value) { + if (awsEc2VpcsSettingsBuilder_ == null) { + if (detailsCase_ == 65 + && details_ != com.google.cloud.chronicle.v1.AWSEC2VpcsSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.AWSEC2VpcsSettings.newBuilder( + (com.google.cloud.chronicle.v1.AWSEC2VpcsSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 65) { + awsEc2VpcsSettingsBuilder_.mergeFrom(value); + } else { + awsEc2VpcsSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 65; + return this; + } + + /** + * + * + *
+     * AWS EC2 Vpcs settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSEC2VpcsSettings aws_ec2_vpcs_settings = 65; + */ + public Builder clearAwsEc2VpcsSettings() { + if (awsEc2VpcsSettingsBuilder_ == null) { + if (detailsCase_ == 65) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 65) { + detailsCase_ = 0; + details_ = null; + } + awsEc2VpcsSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * AWS EC2 Vpcs settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSEC2VpcsSettings aws_ec2_vpcs_settings = 65; + */ + public com.google.cloud.chronicle.v1.AWSEC2VpcsSettings.Builder getAwsEc2VpcsSettingsBuilder() { + return internalGetAwsEc2VpcsSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * AWS EC2 Vpcs settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSEC2VpcsSettings aws_ec2_vpcs_settings = 65; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSEC2VpcsSettingsOrBuilder + getAwsEc2VpcsSettingsOrBuilder() { + if ((detailsCase_ == 65) && (awsEc2VpcsSettingsBuilder_ != null)) { + return awsEc2VpcsSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 65) { + return (com.google.cloud.chronicle.v1.AWSEC2VpcsSettings) details_; + } + return com.google.cloud.chronicle.v1.AWSEC2VpcsSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * AWS EC2 Vpcs settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSEC2VpcsSettings aws_ec2_vpcs_settings = 65; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AWSEC2VpcsSettings, + com.google.cloud.chronicle.v1.AWSEC2VpcsSettings.Builder, + com.google.cloud.chronicle.v1.AWSEC2VpcsSettingsOrBuilder> + internalGetAwsEc2VpcsSettingsFieldBuilder() { + if (awsEc2VpcsSettingsBuilder_ == null) { + if (!(detailsCase_ == 65)) { + details_ = com.google.cloud.chronicle.v1.AWSEC2VpcsSettings.getDefaultInstance(); + } + awsEc2VpcsSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AWSEC2VpcsSettings, + com.google.cloud.chronicle.v1.AWSEC2VpcsSettings.Builder, + com.google.cloud.chronicle.v1.AWSEC2VpcsSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.AWSEC2VpcsSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 65; + onChanged(); + return awsEc2VpcsSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AWSIAMSettings, + com.google.cloud.chronicle.v1.AWSIAMSettings.Builder, + com.google.cloud.chronicle.v1.AWSIAMSettingsOrBuilder> + awsIamSettingsBuilder_; + + /** + * + * + *
+     * AWS IAM settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSIAMSettings aws_iam_settings = 66; + * + * @return Whether the awsIamSettings field is set. + */ + @java.lang.Override + public boolean hasAwsIamSettings() { + return detailsCase_ == 66; + } + + /** + * + * + *
+     * AWS IAM settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSIAMSettings aws_iam_settings = 66; + * + * @return The awsIamSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSIAMSettings getAwsIamSettings() { + if (awsIamSettingsBuilder_ == null) { + if (detailsCase_ == 66) { + return (com.google.cloud.chronicle.v1.AWSIAMSettings) details_; + } + return com.google.cloud.chronicle.v1.AWSIAMSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 66) { + return awsIamSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.AWSIAMSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * AWS IAM settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSIAMSettings aws_iam_settings = 66; + */ + public Builder setAwsIamSettings(com.google.cloud.chronicle.v1.AWSIAMSettings value) { + if (awsIamSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + awsIamSettingsBuilder_.setMessage(value); + } + detailsCase_ = 66; + return this; + } + + /** + * + * + *
+     * AWS IAM settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSIAMSettings aws_iam_settings = 66; + */ + public Builder setAwsIamSettings( + com.google.cloud.chronicle.v1.AWSIAMSettings.Builder builderForValue) { + if (awsIamSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + awsIamSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 66; + return this; + } + + /** + * + * + *
+     * AWS IAM settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSIAMSettings aws_iam_settings = 66; + */ + public Builder mergeAwsIamSettings(com.google.cloud.chronicle.v1.AWSIAMSettings value) { + if (awsIamSettingsBuilder_ == null) { + if (detailsCase_ == 66 + && details_ != com.google.cloud.chronicle.v1.AWSIAMSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.AWSIAMSettings.newBuilder( + (com.google.cloud.chronicle.v1.AWSIAMSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 66) { + awsIamSettingsBuilder_.mergeFrom(value); + } else { + awsIamSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 66; + return this; + } + + /** + * + * + *
+     * AWS IAM settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSIAMSettings aws_iam_settings = 66; + */ + public Builder clearAwsIamSettings() { + if (awsIamSettingsBuilder_ == null) { + if (detailsCase_ == 66) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 66) { + detailsCase_ = 0; + details_ = null; + } + awsIamSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * AWS IAM settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSIAMSettings aws_iam_settings = 66; + */ + public com.google.cloud.chronicle.v1.AWSIAMSettings.Builder getAwsIamSettingsBuilder() { + return internalGetAwsIamSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * AWS IAM settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSIAMSettings aws_iam_settings = 66; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AWSIAMSettingsOrBuilder getAwsIamSettingsOrBuilder() { + if ((detailsCase_ == 66) && (awsIamSettingsBuilder_ != null)) { + return awsIamSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 66) { + return (com.google.cloud.chronicle.v1.AWSIAMSettings) details_; + } + return com.google.cloud.chronicle.v1.AWSIAMSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * AWS IAM settings.
+     * 
+ * + * .google.cloud.chronicle.v1.AWSIAMSettings aws_iam_settings = 66; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AWSIAMSettings, + com.google.cloud.chronicle.v1.AWSIAMSettings.Builder, + com.google.cloud.chronicle.v1.AWSIAMSettingsOrBuilder> + internalGetAwsIamSettingsFieldBuilder() { + if (awsIamSettingsBuilder_ == null) { + if (!(detailsCase_ == 66)) { + details_ = com.google.cloud.chronicle.v1.AWSIAMSettings.getDefaultInstance(); + } + awsIamSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AWSIAMSettings, + com.google.cloud.chronicle.v1.AWSIAMSettings.Builder, + com.google.cloud.chronicle.v1.AWSIAMSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.AWSIAMSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 66; + onChanged(); + return awsIamSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.NetskopeAlertV2Settings, + com.google.cloud.chronicle.v1.NetskopeAlertV2Settings.Builder, + com.google.cloud.chronicle.v1.NetskopeAlertV2SettingsOrBuilder> + netskopeAlertV2SettingsBuilder_; + + /** + * + * + *
+     * Netskope alert V2 settings.
+     * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertV2Settings netskope_alert_v2_settings = 70; + * + * + * @return Whether the netskopeAlertV2Settings field is set. + */ + @java.lang.Override + public boolean hasNetskopeAlertV2Settings() { + return detailsCase_ == 70; + } + + /** + * + * + *
+     * Netskope alert V2 settings.
+     * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertV2Settings netskope_alert_v2_settings = 70; + * + * + * @return The netskopeAlertV2Settings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.NetskopeAlertV2Settings getNetskopeAlertV2Settings() { + if (netskopeAlertV2SettingsBuilder_ == null) { + if (detailsCase_ == 70) { + return (com.google.cloud.chronicle.v1.NetskopeAlertV2Settings) details_; + } + return com.google.cloud.chronicle.v1.NetskopeAlertV2Settings.getDefaultInstance(); + } else { + if (detailsCase_ == 70) { + return netskopeAlertV2SettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.NetskopeAlertV2Settings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Netskope alert V2 settings.
+     * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertV2Settings netskope_alert_v2_settings = 70; + * + */ + public Builder setNetskopeAlertV2Settings( + com.google.cloud.chronicle.v1.NetskopeAlertV2Settings value) { + if (netskopeAlertV2SettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + netskopeAlertV2SettingsBuilder_.setMessage(value); + } + detailsCase_ = 70; + return this; + } + + /** + * + * + *
+     * Netskope alert V2 settings.
+     * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertV2Settings netskope_alert_v2_settings = 70; + * + */ + public Builder setNetskopeAlertV2Settings( + com.google.cloud.chronicle.v1.NetskopeAlertV2Settings.Builder builderForValue) { + if (netskopeAlertV2SettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + netskopeAlertV2SettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 70; + return this; + } + + /** + * + * + *
+     * Netskope alert V2 settings.
+     * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertV2Settings netskope_alert_v2_settings = 70; + * + */ + public Builder mergeNetskopeAlertV2Settings( + com.google.cloud.chronicle.v1.NetskopeAlertV2Settings value) { + if (netskopeAlertV2SettingsBuilder_ == null) { + if (detailsCase_ == 70 + && details_ + != com.google.cloud.chronicle.v1.NetskopeAlertV2Settings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.NetskopeAlertV2Settings.newBuilder( + (com.google.cloud.chronicle.v1.NetskopeAlertV2Settings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 70) { + netskopeAlertV2SettingsBuilder_.mergeFrom(value); + } else { + netskopeAlertV2SettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 70; + return this; + } + + /** + * + * + *
+     * Netskope alert V2 settings.
+     * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertV2Settings netskope_alert_v2_settings = 70; + * + */ + public Builder clearNetskopeAlertV2Settings() { + if (netskopeAlertV2SettingsBuilder_ == null) { + if (detailsCase_ == 70) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 70) { + detailsCase_ = 0; + details_ = null; + } + netskopeAlertV2SettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Netskope alert V2 settings.
+     * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertV2Settings netskope_alert_v2_settings = 70; + * + */ + public com.google.cloud.chronicle.v1.NetskopeAlertV2Settings.Builder + getNetskopeAlertV2SettingsBuilder() { + return internalGetNetskopeAlertV2SettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Netskope alert V2 settings.
+     * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertV2Settings netskope_alert_v2_settings = 70; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.NetskopeAlertV2SettingsOrBuilder + getNetskopeAlertV2SettingsOrBuilder() { + if ((detailsCase_ == 70) && (netskopeAlertV2SettingsBuilder_ != null)) { + return netskopeAlertV2SettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 70) { + return (com.google.cloud.chronicle.v1.NetskopeAlertV2Settings) details_; + } + return com.google.cloud.chronicle.v1.NetskopeAlertV2Settings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Netskope alert V2 settings.
+     * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertV2Settings netskope_alert_v2_settings = 70; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.NetskopeAlertV2Settings, + com.google.cloud.chronicle.v1.NetskopeAlertV2Settings.Builder, + com.google.cloud.chronicle.v1.NetskopeAlertV2SettingsOrBuilder> + internalGetNetskopeAlertV2SettingsFieldBuilder() { + if (netskopeAlertV2SettingsBuilder_ == null) { + if (!(detailsCase_ == 70)) { + details_ = com.google.cloud.chronicle.v1.NetskopeAlertV2Settings.getDefaultInstance(); + } + netskopeAlertV2SettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.NetskopeAlertV2Settings, + com.google.cloud.chronicle.v1.NetskopeAlertV2Settings.Builder, + com.google.cloud.chronicle.v1.NetskopeAlertV2SettingsOrBuilder>( + (com.google.cloud.chronicle.v1.NetskopeAlertV2Settings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 70; + onChanged(); + return netskopeAlertV2SettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings, + com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings.Builder, + com.google.cloud.chronicle.v1.GoogleCloudStorageV2SettingsOrBuilder> + gcsV2SettingsBuilder_; + + /** + * + * + *
+     * Settings for Google Cloud Storage Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageV2Settings gcs_v2_settings = 71; + * + * @return Whether the gcsV2Settings field is set. + */ + @java.lang.Override + public boolean hasGcsV2Settings() { + return detailsCase_ == 71; + } + + /** + * + * + *
+     * Settings for Google Cloud Storage Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageV2Settings gcs_v2_settings = 71; + * + * @return The gcsV2Settings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings getGcsV2Settings() { + if (gcsV2SettingsBuilder_ == null) { + if (detailsCase_ == 71) { + return (com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings) details_; + } + return com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings.getDefaultInstance(); + } else { + if (detailsCase_ == 71) { + return gcsV2SettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Settings for Google Cloud Storage Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageV2Settings gcs_v2_settings = 71; + */ + public Builder setGcsV2Settings( + com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings value) { + if (gcsV2SettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + gcsV2SettingsBuilder_.setMessage(value); + } + detailsCase_ = 71; + return this; + } + + /** + * + * + *
+     * Settings for Google Cloud Storage Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageV2Settings gcs_v2_settings = 71; + */ + public Builder setGcsV2Settings( + com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings.Builder builderForValue) { + if (gcsV2SettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + gcsV2SettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 71; + return this; + } + + /** + * + * + *
+     * Settings for Google Cloud Storage Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageV2Settings gcs_v2_settings = 71; + */ + public Builder mergeGcsV2Settings( + com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings value) { + if (gcsV2SettingsBuilder_ == null) { + if (detailsCase_ == 71 + && details_ + != com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings + .getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings.newBuilder( + (com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 71) { + gcsV2SettingsBuilder_.mergeFrom(value); + } else { + gcsV2SettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 71; + return this; + } + + /** + * + * + *
+     * Settings for Google Cloud Storage Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageV2Settings gcs_v2_settings = 71; + */ + public Builder clearGcsV2Settings() { + if (gcsV2SettingsBuilder_ == null) { + if (detailsCase_ == 71) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 71) { + detailsCase_ = 0; + details_ = null; + } + gcsV2SettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Settings for Google Cloud Storage Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageV2Settings gcs_v2_settings = 71; + */ + public com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings.Builder + getGcsV2SettingsBuilder() { + return internalGetGcsV2SettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Settings for Google Cloud Storage Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageV2Settings gcs_v2_settings = 71; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudStorageV2SettingsOrBuilder + getGcsV2SettingsOrBuilder() { + if ((detailsCase_ == 71) && (gcsV2SettingsBuilder_ != null)) { + return gcsV2SettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 71) { + return (com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings) details_; + } + return com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Settings for Google Cloud Storage Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageV2Settings gcs_v2_settings = 71; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings, + com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings.Builder, + com.google.cloud.chronicle.v1.GoogleCloudStorageV2SettingsOrBuilder> + internalGetGcsV2SettingsFieldBuilder() { + if (gcsV2SettingsBuilder_ == null) { + if (!(detailsCase_ == 71)) { + details_ = + com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings.getDefaultInstance(); + } + gcsV2SettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings, + com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings.Builder, + com.google.cloud.chronicle.v1.GoogleCloudStorageV2SettingsOrBuilder>( + (com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 71; + onChanged(); + return gcsV2SettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AmazonS3V2Settings, + com.google.cloud.chronicle.v1.AmazonS3V2Settings.Builder, + com.google.cloud.chronicle.v1.AmazonS3V2SettingsOrBuilder> + amazonS3V2SettingsBuilder_; + + /** + * + * + *
+     * Settings for S3 Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonS3V2Settings amazon_s3_v2_settings = 72; + * + * @return Whether the amazonS3V2Settings field is set. + */ + @java.lang.Override + public boolean hasAmazonS3V2Settings() { + return detailsCase_ == 72; + } + + /** + * + * + *
+     * Settings for S3 Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonS3V2Settings amazon_s3_v2_settings = 72; + * + * @return The amazonS3V2Settings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonS3V2Settings getAmazonS3V2Settings() { + if (amazonS3V2SettingsBuilder_ == null) { + if (detailsCase_ == 72) { + return (com.google.cloud.chronicle.v1.AmazonS3V2Settings) details_; + } + return com.google.cloud.chronicle.v1.AmazonS3V2Settings.getDefaultInstance(); + } else { + if (detailsCase_ == 72) { + return amazonS3V2SettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.AmazonS3V2Settings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Settings for S3 Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonS3V2Settings amazon_s3_v2_settings = 72; + */ + public Builder setAmazonS3V2Settings(com.google.cloud.chronicle.v1.AmazonS3V2Settings value) { + if (amazonS3V2SettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + amazonS3V2SettingsBuilder_.setMessage(value); + } + detailsCase_ = 72; + return this; + } + + /** + * + * + *
+     * Settings for S3 Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonS3V2Settings amazon_s3_v2_settings = 72; + */ + public Builder setAmazonS3V2Settings( + com.google.cloud.chronicle.v1.AmazonS3V2Settings.Builder builderForValue) { + if (amazonS3V2SettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + amazonS3V2SettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 72; + return this; + } + + /** + * + * + *
+     * Settings for S3 Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonS3V2Settings amazon_s3_v2_settings = 72; + */ + public Builder mergeAmazonS3V2Settings(com.google.cloud.chronicle.v1.AmazonS3V2Settings value) { + if (amazonS3V2SettingsBuilder_ == null) { + if (detailsCase_ == 72 + && details_ != com.google.cloud.chronicle.v1.AmazonS3V2Settings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.AmazonS3V2Settings.newBuilder( + (com.google.cloud.chronicle.v1.AmazonS3V2Settings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 72) { + amazonS3V2SettingsBuilder_.mergeFrom(value); + } else { + amazonS3V2SettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 72; + return this; + } + + /** + * + * + *
+     * Settings for S3 Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonS3V2Settings amazon_s3_v2_settings = 72; + */ + public Builder clearAmazonS3V2Settings() { + if (amazonS3V2SettingsBuilder_ == null) { + if (detailsCase_ == 72) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 72) { + detailsCase_ = 0; + details_ = null; + } + amazonS3V2SettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Settings for S3 Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonS3V2Settings amazon_s3_v2_settings = 72; + */ + public com.google.cloud.chronicle.v1.AmazonS3V2Settings.Builder getAmazonS3V2SettingsBuilder() { + return internalGetAmazonS3V2SettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Settings for S3 Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonS3V2Settings amazon_s3_v2_settings = 72; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonS3V2SettingsOrBuilder + getAmazonS3V2SettingsOrBuilder() { + if ((detailsCase_ == 72) && (amazonS3V2SettingsBuilder_ != null)) { + return amazonS3V2SettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 72) { + return (com.google.cloud.chronicle.v1.AmazonS3V2Settings) details_; + } + return com.google.cloud.chronicle.v1.AmazonS3V2Settings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Settings for S3 Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonS3V2Settings amazon_s3_v2_settings = 72; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AmazonS3V2Settings, + com.google.cloud.chronicle.v1.AmazonS3V2Settings.Builder, + com.google.cloud.chronicle.v1.AmazonS3V2SettingsOrBuilder> + internalGetAmazonS3V2SettingsFieldBuilder() { + if (amazonS3V2SettingsBuilder_ == null) { + if (!(detailsCase_ == 72)) { + details_ = com.google.cloud.chronicle.v1.AmazonS3V2Settings.getDefaultInstance(); + } + amazonS3V2SettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AmazonS3V2Settings, + com.google.cloud.chronicle.v1.AmazonS3V2Settings.Builder, + com.google.cloud.chronicle.v1.AmazonS3V2SettingsOrBuilder>( + (com.google.cloud.chronicle.v1.AmazonS3V2Settings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 72; + onChanged(); + return amazonS3V2SettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AmazonSQSV2Settings, + com.google.cloud.chronicle.v1.AmazonSQSV2Settings.Builder, + com.google.cloud.chronicle.v1.AmazonSQSV2SettingsOrBuilder> + amazonSqsV2SettingsBuilder_; + + /** + * + * + *
+     * Settings for SQS Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSV2Settings amazon_sqs_v2_settings = 73; + * + * @return Whether the amazonSqsV2Settings field is set. + */ + @java.lang.Override + public boolean hasAmazonSqsV2Settings() { + return detailsCase_ == 73; + } + + /** + * + * + *
+     * Settings for SQS Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSV2Settings amazon_sqs_v2_settings = 73; + * + * @return The amazonSqsV2Settings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonSQSV2Settings getAmazonSqsV2Settings() { + if (amazonSqsV2SettingsBuilder_ == null) { + if (detailsCase_ == 73) { + return (com.google.cloud.chronicle.v1.AmazonSQSV2Settings) details_; + } + return com.google.cloud.chronicle.v1.AmazonSQSV2Settings.getDefaultInstance(); + } else { + if (detailsCase_ == 73) { + return amazonSqsV2SettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.AmazonSQSV2Settings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Settings for SQS Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSV2Settings amazon_sqs_v2_settings = 73; + */ + public Builder setAmazonSqsV2Settings(com.google.cloud.chronicle.v1.AmazonSQSV2Settings value) { + if (amazonSqsV2SettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + amazonSqsV2SettingsBuilder_.setMessage(value); + } + detailsCase_ = 73; + return this; + } + + /** + * + * + *
+     * Settings for SQS Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSV2Settings amazon_sqs_v2_settings = 73; + */ + public Builder setAmazonSqsV2Settings( + com.google.cloud.chronicle.v1.AmazonSQSV2Settings.Builder builderForValue) { + if (amazonSqsV2SettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + amazonSqsV2SettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 73; + return this; + } + + /** + * + * + *
+     * Settings for SQS Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSV2Settings amazon_sqs_v2_settings = 73; + */ + public Builder mergeAmazonSqsV2Settings( + com.google.cloud.chronicle.v1.AmazonSQSV2Settings value) { + if (amazonSqsV2SettingsBuilder_ == null) { + if (detailsCase_ == 73 + && details_ != com.google.cloud.chronicle.v1.AmazonSQSV2Settings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.AmazonSQSV2Settings.newBuilder( + (com.google.cloud.chronicle.v1.AmazonSQSV2Settings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 73) { + amazonSqsV2SettingsBuilder_.mergeFrom(value); + } else { + amazonSqsV2SettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 73; + return this; + } + + /** + * + * + *
+     * Settings for SQS Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSV2Settings amazon_sqs_v2_settings = 73; + */ + public Builder clearAmazonSqsV2Settings() { + if (amazonSqsV2SettingsBuilder_ == null) { + if (detailsCase_ == 73) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 73) { + detailsCase_ = 0; + details_ = null; + } + amazonSqsV2SettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Settings for SQS Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSV2Settings amazon_sqs_v2_settings = 73; + */ + public com.google.cloud.chronicle.v1.AmazonSQSV2Settings.Builder + getAmazonSqsV2SettingsBuilder() { + return internalGetAmazonSqsV2SettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Settings for SQS Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSV2Settings amazon_sqs_v2_settings = 73; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AmazonSQSV2SettingsOrBuilder + getAmazonSqsV2SettingsOrBuilder() { + if ((detailsCase_ == 73) && (amazonSqsV2SettingsBuilder_ != null)) { + return amazonSqsV2SettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 73) { + return (com.google.cloud.chronicle.v1.AmazonSQSV2Settings) details_; + } + return com.google.cloud.chronicle.v1.AmazonSQSV2Settings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Settings for SQS Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSV2Settings amazon_sqs_v2_settings = 73; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AmazonSQSV2Settings, + com.google.cloud.chronicle.v1.AmazonSQSV2Settings.Builder, + com.google.cloud.chronicle.v1.AmazonSQSV2SettingsOrBuilder> + internalGetAmazonSqsV2SettingsFieldBuilder() { + if (amazonSqsV2SettingsBuilder_ == null) { + if (!(detailsCase_ == 73)) { + details_ = com.google.cloud.chronicle.v1.AmazonSQSV2Settings.getDefaultInstance(); + } + amazonSqsV2SettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AmazonSQSV2Settings, + com.google.cloud.chronicle.v1.AmazonSQSV2Settings.Builder, + com.google.cloud.chronicle.v1.AmazonSQSV2SettingsOrBuilder>( + (com.google.cloud.chronicle.v1.AmazonSQSV2Settings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 73; + onChanged(); + return amazonSqsV2SettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureEventHubSettings, + com.google.cloud.chronicle.v1.AzureEventHubSettings.Builder, + com.google.cloud.chronicle.v1.AzureEventHubSettingsOrBuilder> + azureEventHubSettingsBuilder_; + + /** + * + * + *
+     * Settings for Omniflow based native ingestion from azure event hub.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureEventHubSettings azure_event_hub_settings = 74; + * + * @return Whether the azureEventHubSettings field is set. + */ + @java.lang.Override + public boolean hasAzureEventHubSettings() { + return detailsCase_ == 74; + } + + /** + * + * + *
+     * Settings for Omniflow based native ingestion from azure event hub.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureEventHubSettings azure_event_hub_settings = 74; + * + * @return The azureEventHubSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureEventHubSettings getAzureEventHubSettings() { + if (azureEventHubSettingsBuilder_ == null) { + if (detailsCase_ == 74) { + return (com.google.cloud.chronicle.v1.AzureEventHubSettings) details_; + } + return com.google.cloud.chronicle.v1.AzureEventHubSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 74) { + return azureEventHubSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.AzureEventHubSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Settings for Omniflow based native ingestion from azure event hub.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureEventHubSettings azure_event_hub_settings = 74; + */ + public Builder setAzureEventHubSettings( + com.google.cloud.chronicle.v1.AzureEventHubSettings value) { + if (azureEventHubSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + azureEventHubSettingsBuilder_.setMessage(value); + } + detailsCase_ = 74; + return this; + } + + /** + * + * + *
+     * Settings for Omniflow based native ingestion from azure event hub.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureEventHubSettings azure_event_hub_settings = 74; + */ + public Builder setAzureEventHubSettings( + com.google.cloud.chronicle.v1.AzureEventHubSettings.Builder builderForValue) { + if (azureEventHubSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + azureEventHubSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 74; + return this; + } + + /** + * + * + *
+     * Settings for Omniflow based native ingestion from azure event hub.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureEventHubSettings azure_event_hub_settings = 74; + */ + public Builder mergeAzureEventHubSettings( + com.google.cloud.chronicle.v1.AzureEventHubSettings value) { + if (azureEventHubSettingsBuilder_ == null) { + if (detailsCase_ == 74 + && details_ + != com.google.cloud.chronicle.v1.AzureEventHubSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.AzureEventHubSettings.newBuilder( + (com.google.cloud.chronicle.v1.AzureEventHubSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 74) { + azureEventHubSettingsBuilder_.mergeFrom(value); + } else { + azureEventHubSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 74; + return this; + } + + /** + * + * + *
+     * Settings for Omniflow based native ingestion from azure event hub.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureEventHubSettings azure_event_hub_settings = 74; + */ + public Builder clearAzureEventHubSettings() { + if (azureEventHubSettingsBuilder_ == null) { + if (detailsCase_ == 74) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 74) { + detailsCase_ = 0; + details_ = null; + } + azureEventHubSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Settings for Omniflow based native ingestion from azure event hub.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureEventHubSettings azure_event_hub_settings = 74; + */ + public com.google.cloud.chronicle.v1.AzureEventHubSettings.Builder + getAzureEventHubSettingsBuilder() { + return internalGetAzureEventHubSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Settings for Omniflow based native ingestion from azure event hub.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureEventHubSettings azure_event_hub_settings = 74; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureEventHubSettingsOrBuilder + getAzureEventHubSettingsOrBuilder() { + if ((detailsCase_ == 74) && (azureEventHubSettingsBuilder_ != null)) { + return azureEventHubSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 74) { + return (com.google.cloud.chronicle.v1.AzureEventHubSettings) details_; + } + return com.google.cloud.chronicle.v1.AzureEventHubSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Settings for Omniflow based native ingestion from azure event hub.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureEventHubSettings azure_event_hub_settings = 74; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureEventHubSettings, + com.google.cloud.chronicle.v1.AzureEventHubSettings.Builder, + com.google.cloud.chronicle.v1.AzureEventHubSettingsOrBuilder> + internalGetAzureEventHubSettingsFieldBuilder() { + if (azureEventHubSettingsBuilder_ == null) { + if (!(detailsCase_ == 74)) { + details_ = com.google.cloud.chronicle.v1.AzureEventHubSettings.getDefaultInstance(); + } + azureEventHubSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureEventHubSettings, + com.google.cloud.chronicle.v1.AzureEventHubSettings.Builder, + com.google.cloud.chronicle.v1.AzureEventHubSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.AzureEventHubSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 74; + onChanged(); + return azureEventHubSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.TrellixHxHostsSettings, + com.google.cloud.chronicle.v1.TrellixHxHostsSettings.Builder, + com.google.cloud.chronicle.v1.TrellixHxHostsSettingsOrBuilder> + trellixHxHostsSettingsBuilder_; + + /** + * + * + *
+     * Settings for Trellix HX Host Metadata.
+     * 
+ * + * .google.cloud.chronicle.v1.TrellixHxHostsSettings trellix_hx_hosts_settings = 75; + * + * + * @return Whether the trellixHxHostsSettings field is set. + */ + @java.lang.Override + public boolean hasTrellixHxHostsSettings() { + return detailsCase_ == 75; + } + + /** + * + * + *
+     * Settings for Trellix HX Host Metadata.
+     * 
+ * + * .google.cloud.chronicle.v1.TrellixHxHostsSettings trellix_hx_hosts_settings = 75; + * + * + * @return The trellixHxHostsSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixHxHostsSettings getTrellixHxHostsSettings() { + if (trellixHxHostsSettingsBuilder_ == null) { + if (detailsCase_ == 75) { + return (com.google.cloud.chronicle.v1.TrellixHxHostsSettings) details_; + } + return com.google.cloud.chronicle.v1.TrellixHxHostsSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 75) { + return trellixHxHostsSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.TrellixHxHostsSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Settings for Trellix HX Host Metadata.
+     * 
+ * + * .google.cloud.chronicle.v1.TrellixHxHostsSettings trellix_hx_hosts_settings = 75; + * + */ + public Builder setTrellixHxHostsSettings( + com.google.cloud.chronicle.v1.TrellixHxHostsSettings value) { + if (trellixHxHostsSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + trellixHxHostsSettingsBuilder_.setMessage(value); + } + detailsCase_ = 75; + return this; + } + + /** + * + * + *
+     * Settings for Trellix HX Host Metadata.
+     * 
+ * + * .google.cloud.chronicle.v1.TrellixHxHostsSettings trellix_hx_hosts_settings = 75; + * + */ + public Builder setTrellixHxHostsSettings( + com.google.cloud.chronicle.v1.TrellixHxHostsSettings.Builder builderForValue) { + if (trellixHxHostsSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + trellixHxHostsSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 75; + return this; + } + + /** + * + * + *
+     * Settings for Trellix HX Host Metadata.
+     * 
+ * + * .google.cloud.chronicle.v1.TrellixHxHostsSettings trellix_hx_hosts_settings = 75; + * + */ + public Builder mergeTrellixHxHostsSettings( + com.google.cloud.chronicle.v1.TrellixHxHostsSettings value) { + if (trellixHxHostsSettingsBuilder_ == null) { + if (detailsCase_ == 75 + && details_ + != com.google.cloud.chronicle.v1.TrellixHxHostsSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.TrellixHxHostsSettings.newBuilder( + (com.google.cloud.chronicle.v1.TrellixHxHostsSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 75) { + trellixHxHostsSettingsBuilder_.mergeFrom(value); + } else { + trellixHxHostsSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 75; + return this; + } + + /** + * + * + *
+     * Settings for Trellix HX Host Metadata.
+     * 
+ * + * .google.cloud.chronicle.v1.TrellixHxHostsSettings trellix_hx_hosts_settings = 75; + * + */ + public Builder clearTrellixHxHostsSettings() { + if (trellixHxHostsSettingsBuilder_ == null) { + if (detailsCase_ == 75) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 75) { + detailsCase_ = 0; + details_ = null; + } + trellixHxHostsSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Settings for Trellix HX Host Metadata.
+     * 
+ * + * .google.cloud.chronicle.v1.TrellixHxHostsSettings trellix_hx_hosts_settings = 75; + * + */ + public com.google.cloud.chronicle.v1.TrellixHxHostsSettings.Builder + getTrellixHxHostsSettingsBuilder() { + return internalGetTrellixHxHostsSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Settings for Trellix HX Host Metadata.
+     * 
+ * + * .google.cloud.chronicle.v1.TrellixHxHostsSettings trellix_hx_hosts_settings = 75; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixHxHostsSettingsOrBuilder + getTrellixHxHostsSettingsOrBuilder() { + if ((detailsCase_ == 75) && (trellixHxHostsSettingsBuilder_ != null)) { + return trellixHxHostsSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 75) { + return (com.google.cloud.chronicle.v1.TrellixHxHostsSettings) details_; + } + return com.google.cloud.chronicle.v1.TrellixHxHostsSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Settings for Trellix HX Host Metadata.
+     * 
+ * + * .google.cloud.chronicle.v1.TrellixHxHostsSettings trellix_hx_hosts_settings = 75; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.TrellixHxHostsSettings, + com.google.cloud.chronicle.v1.TrellixHxHostsSettings.Builder, + com.google.cloud.chronicle.v1.TrellixHxHostsSettingsOrBuilder> + internalGetTrellixHxHostsSettingsFieldBuilder() { + if (trellixHxHostsSettingsBuilder_ == null) { + if (!(detailsCase_ == 75)) { + details_ = com.google.cloud.chronicle.v1.TrellixHxHostsSettings.getDefaultInstance(); + } + trellixHxHostsSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.TrellixHxHostsSettings, + com.google.cloud.chronicle.v1.TrellixHxHostsSettings.Builder, + com.google.cloud.chronicle.v1.TrellixHxHostsSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.TrellixHxHostsSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 75; + onChanged(); + return trellixHxHostsSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings, + com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings.Builder, + com.google.cloud.chronicle.v1.AzureBlobStoreV2SettingsOrBuilder> + azureBlobStoreV2SettingsBuilder_; + + /** + * + * + *
+     * Settings for Azure Blobstore Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreV2Settings azure_blob_store_v2_settings = 76; + * + * + * @return Whether the azureBlobStoreV2Settings field is set. + */ + @java.lang.Override + public boolean hasAzureBlobStoreV2Settings() { + return detailsCase_ == 76; + } + + /** + * + * + *
+     * Settings for Azure Blobstore Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreV2Settings azure_blob_store_v2_settings = 76; + * + * + * @return The azureBlobStoreV2Settings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings getAzureBlobStoreV2Settings() { + if (azureBlobStoreV2SettingsBuilder_ == null) { + if (detailsCase_ == 76) { + return (com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings) details_; + } + return com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings.getDefaultInstance(); + } else { + if (detailsCase_ == 76) { + return azureBlobStoreV2SettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Settings for Azure Blobstore Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreV2Settings azure_blob_store_v2_settings = 76; + * + */ + public Builder setAzureBlobStoreV2Settings( + com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings value) { + if (azureBlobStoreV2SettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + azureBlobStoreV2SettingsBuilder_.setMessage(value); + } + detailsCase_ = 76; + return this; + } + + /** + * + * + *
+     * Settings for Azure Blobstore Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreV2Settings azure_blob_store_v2_settings = 76; + * + */ + public Builder setAzureBlobStoreV2Settings( + com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings.Builder builderForValue) { + if (azureBlobStoreV2SettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + azureBlobStoreV2SettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 76; + return this; + } + + /** + * + * + *
+     * Settings for Azure Blobstore Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreV2Settings azure_blob_store_v2_settings = 76; + * + */ + public Builder mergeAzureBlobStoreV2Settings( + com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings value) { + if (azureBlobStoreV2SettingsBuilder_ == null) { + if (detailsCase_ == 76 + && details_ + != com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings.newBuilder( + (com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 76) { + azureBlobStoreV2SettingsBuilder_.mergeFrom(value); + } else { + azureBlobStoreV2SettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 76; + return this; + } + + /** + * + * + *
+     * Settings for Azure Blobstore Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreV2Settings azure_blob_store_v2_settings = 76; + * + */ + public Builder clearAzureBlobStoreV2Settings() { + if (azureBlobStoreV2SettingsBuilder_ == null) { + if (detailsCase_ == 76) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 76) { + detailsCase_ = 0; + details_ = null; + } + azureBlobStoreV2SettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Settings for Azure Blobstore Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreV2Settings azure_blob_store_v2_settings = 76; + * + */ + public com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings.Builder + getAzureBlobStoreV2SettingsBuilder() { + return internalGetAzureBlobStoreV2SettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Settings for Azure Blobstore Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreV2Settings azure_blob_store_v2_settings = 76; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AzureBlobStoreV2SettingsOrBuilder + getAzureBlobStoreV2SettingsOrBuilder() { + if ((detailsCase_ == 76) && (azureBlobStoreV2SettingsBuilder_ != null)) { + return azureBlobStoreV2SettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 76) { + return (com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings) details_; + } + return com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Settings for Azure Blobstore Omniflow feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreV2Settings azure_blob_store_v2_settings = 76; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings, + com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings.Builder, + com.google.cloud.chronicle.v1.AzureBlobStoreV2SettingsOrBuilder> + internalGetAzureBlobStoreV2SettingsFieldBuilder() { + if (azureBlobStoreV2SettingsBuilder_ == null) { + if (!(detailsCase_ == 76)) { + details_ = com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings.getDefaultInstance(); + } + azureBlobStoreV2SettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings, + com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings.Builder, + com.google.cloud.chronicle.v1.AzureBlobStoreV2SettingsOrBuilder>( + (com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 76; + onChanged(); + return azureBlobStoreV2SettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.TrellixHxAlertsSettings, + com.google.cloud.chronicle.v1.TrellixHxAlertsSettings.Builder, + com.google.cloud.chronicle.v1.TrellixHxAlertsSettingsOrBuilder> + trellixHxAlertsSettingsBuilder_; + + /** + * + * + *
+     * Settings for Trellix HX Alerts Metadata.
+     * 
+ * + * .google.cloud.chronicle.v1.TrellixHxAlertsSettings trellix_hx_alerts_settings = 77; + * + * + * @return Whether the trellixHxAlertsSettings field is set. + */ + @java.lang.Override + public boolean hasTrellixHxAlertsSettings() { + return detailsCase_ == 77; + } + + /** + * + * + *
+     * Settings for Trellix HX Alerts Metadata.
+     * 
+ * + * .google.cloud.chronicle.v1.TrellixHxAlertsSettings trellix_hx_alerts_settings = 77; + * + * + * @return The trellixHxAlertsSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixHxAlertsSettings getTrellixHxAlertsSettings() { + if (trellixHxAlertsSettingsBuilder_ == null) { + if (detailsCase_ == 77) { + return (com.google.cloud.chronicle.v1.TrellixHxAlertsSettings) details_; + } + return com.google.cloud.chronicle.v1.TrellixHxAlertsSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 77) { + return trellixHxAlertsSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.TrellixHxAlertsSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Settings for Trellix HX Alerts Metadata.
+     * 
+ * + * .google.cloud.chronicle.v1.TrellixHxAlertsSettings trellix_hx_alerts_settings = 77; + * + */ + public Builder setTrellixHxAlertsSettings( + com.google.cloud.chronicle.v1.TrellixHxAlertsSettings value) { + if (trellixHxAlertsSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + trellixHxAlertsSettingsBuilder_.setMessage(value); + } + detailsCase_ = 77; + return this; + } + + /** + * + * + *
+     * Settings for Trellix HX Alerts Metadata.
+     * 
+ * + * .google.cloud.chronicle.v1.TrellixHxAlertsSettings trellix_hx_alerts_settings = 77; + * + */ + public Builder setTrellixHxAlertsSettings( + com.google.cloud.chronicle.v1.TrellixHxAlertsSettings.Builder builderForValue) { + if (trellixHxAlertsSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + trellixHxAlertsSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 77; + return this; + } + + /** + * + * + *
+     * Settings for Trellix HX Alerts Metadata.
+     * 
+ * + * .google.cloud.chronicle.v1.TrellixHxAlertsSettings trellix_hx_alerts_settings = 77; + * + */ + public Builder mergeTrellixHxAlertsSettings( + com.google.cloud.chronicle.v1.TrellixHxAlertsSettings value) { + if (trellixHxAlertsSettingsBuilder_ == null) { + if (detailsCase_ == 77 + && details_ + != com.google.cloud.chronicle.v1.TrellixHxAlertsSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.TrellixHxAlertsSettings.newBuilder( + (com.google.cloud.chronicle.v1.TrellixHxAlertsSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 77) { + trellixHxAlertsSettingsBuilder_.mergeFrom(value); + } else { + trellixHxAlertsSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 77; + return this; + } + + /** + * + * + *
+     * Settings for Trellix HX Alerts Metadata.
+     * 
+ * + * .google.cloud.chronicle.v1.TrellixHxAlertsSettings trellix_hx_alerts_settings = 77; + * + */ + public Builder clearTrellixHxAlertsSettings() { + if (trellixHxAlertsSettingsBuilder_ == null) { + if (detailsCase_ == 77) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 77) { + detailsCase_ = 0; + details_ = null; + } + trellixHxAlertsSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Settings for Trellix HX Alerts Metadata.
+     * 
+ * + * .google.cloud.chronicle.v1.TrellixHxAlertsSettings trellix_hx_alerts_settings = 77; + * + */ + public com.google.cloud.chronicle.v1.TrellixHxAlertsSettings.Builder + getTrellixHxAlertsSettingsBuilder() { + return internalGetTrellixHxAlertsSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Settings for Trellix HX Alerts Metadata.
+     * 
+ * + * .google.cloud.chronicle.v1.TrellixHxAlertsSettings trellix_hx_alerts_settings = 77; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixHxAlertsSettingsOrBuilder + getTrellixHxAlertsSettingsOrBuilder() { + if ((detailsCase_ == 77) && (trellixHxAlertsSettingsBuilder_ != null)) { + return trellixHxAlertsSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 77) { + return (com.google.cloud.chronicle.v1.TrellixHxAlertsSettings) details_; + } + return com.google.cloud.chronicle.v1.TrellixHxAlertsSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Settings for Trellix HX Alerts Metadata.
+     * 
+ * + * .google.cloud.chronicle.v1.TrellixHxAlertsSettings trellix_hx_alerts_settings = 77; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.TrellixHxAlertsSettings, + com.google.cloud.chronicle.v1.TrellixHxAlertsSettings.Builder, + com.google.cloud.chronicle.v1.TrellixHxAlertsSettingsOrBuilder> + internalGetTrellixHxAlertsSettingsFieldBuilder() { + if (trellixHxAlertsSettingsBuilder_ == null) { + if (!(detailsCase_ == 77)) { + details_ = com.google.cloud.chronicle.v1.TrellixHxAlertsSettings.getDefaultInstance(); + } + trellixHxAlertsSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.TrellixHxAlertsSettings, + com.google.cloud.chronicle.v1.TrellixHxAlertsSettings.Builder, + com.google.cloud.chronicle.v1.TrellixHxAlertsSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.TrellixHxAlertsSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 77; + onChanged(); + return trellixHxAlertsSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings, + com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings.Builder, + com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettingsOrBuilder> + googleCloudStorageEventDrivenSettingsBuilder_; + + /** + * + * + *
+     * Settings for Omniflow based Google Cloud Storage event driven feeds.
+     * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings google_cloud_storage_event_driven_settings = 78; + * + * + * @return Whether the googleCloudStorageEventDrivenSettings field is set. + */ + @java.lang.Override + public boolean hasGoogleCloudStorageEventDrivenSettings() { + return detailsCase_ == 78; + } + + /** + * + * + *
+     * Settings for Omniflow based Google Cloud Storage event driven feeds.
+     * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings google_cloud_storage_event_driven_settings = 78; + * + * + * @return The googleCloudStorageEventDrivenSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings + getGoogleCloudStorageEventDrivenSettings() { + if (googleCloudStorageEventDrivenSettingsBuilder_ == null) { + if (detailsCase_ == 78) { + return (com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings) details_; + } + return com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings + .getDefaultInstance(); + } else { + if (detailsCase_ == 78) { + return googleCloudStorageEventDrivenSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Settings for Omniflow based Google Cloud Storage event driven feeds.
+     * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings google_cloud_storage_event_driven_settings = 78; + * + */ + public Builder setGoogleCloudStorageEventDrivenSettings( + com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings value) { + if (googleCloudStorageEventDrivenSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + googleCloudStorageEventDrivenSettingsBuilder_.setMessage(value); + } + detailsCase_ = 78; + return this; + } + + /** + * + * + *
+     * Settings for Omniflow based Google Cloud Storage event driven feeds.
+     * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings google_cloud_storage_event_driven_settings = 78; + * + */ + public Builder setGoogleCloudStorageEventDrivenSettings( + com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings.Builder + builderForValue) { + if (googleCloudStorageEventDrivenSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + googleCloudStorageEventDrivenSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 78; + return this; + } + + /** + * + * + *
+     * Settings for Omniflow based Google Cloud Storage event driven feeds.
+     * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings google_cloud_storage_event_driven_settings = 78; + * + */ + public Builder mergeGoogleCloudStorageEventDrivenSettings( + com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings value) { + if (googleCloudStorageEventDrivenSettingsBuilder_ == null) { + if (detailsCase_ == 78 + && details_ + != com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings + .getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings.newBuilder( + (com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings) + details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 78) { + googleCloudStorageEventDrivenSettingsBuilder_.mergeFrom(value); + } else { + googleCloudStorageEventDrivenSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 78; + return this; + } + + /** + * + * + *
+     * Settings for Omniflow based Google Cloud Storage event driven feeds.
+     * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings google_cloud_storage_event_driven_settings = 78; + * + */ + public Builder clearGoogleCloudStorageEventDrivenSettings() { + if (googleCloudStorageEventDrivenSettingsBuilder_ == null) { + if (detailsCase_ == 78) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 78) { + detailsCase_ = 0; + details_ = null; + } + googleCloudStorageEventDrivenSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Settings for Omniflow based Google Cloud Storage event driven feeds.
+     * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings google_cloud_storage_event_driven_settings = 78; + * + */ + public com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings.Builder + getGoogleCloudStorageEventDrivenSettingsBuilder() { + return internalGetGoogleCloudStorageEventDrivenSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Settings for Omniflow based Google Cloud Storage event driven feeds.
+     * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings google_cloud_storage_event_driven_settings = 78; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettingsOrBuilder + getGoogleCloudStorageEventDrivenSettingsOrBuilder() { + if ((detailsCase_ == 78) && (googleCloudStorageEventDrivenSettingsBuilder_ != null)) { + return googleCloudStorageEventDrivenSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 78) { + return (com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings) details_; + } + return com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings + .getDefaultInstance(); + } + } + + /** + * + * + *
+     * Settings for Omniflow based Google Cloud Storage event driven feeds.
+     * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings google_cloud_storage_event_driven_settings = 78; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings, + com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings.Builder, + com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettingsOrBuilder> + internalGetGoogleCloudStorageEventDrivenSettingsFieldBuilder() { + if (googleCloudStorageEventDrivenSettingsBuilder_ == null) { + if (!(detailsCase_ == 78)) { + details_ = + com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings + .getDefaultInstance(); + } + googleCloudStorageEventDrivenSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings, + com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings.Builder, + com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 78; + onChanged(); + return googleCloudStorageEventDrivenSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings, + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.Builder, + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettingsOrBuilder> + crowdstrikeAlertsSettingsBuilder_; + + /** + * + * + *
+     * CrowdStrike Alerts API settings.
+     * 
+ * + * .google.cloud.chronicle.v1.CrowdStrikeAlertsSettings crowdstrike_alerts_settings = 79; + * + * + * @return Whether the crowdstrikeAlertsSettings field is set. + */ + @java.lang.Override + public boolean hasCrowdstrikeAlertsSettings() { + return detailsCase_ == 79; + } + + /** + * + * + *
+     * CrowdStrike Alerts API settings.
+     * 
+ * + * .google.cloud.chronicle.v1.CrowdStrikeAlertsSettings crowdstrike_alerts_settings = 79; + * + * + * @return The crowdstrikeAlertsSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings getCrowdstrikeAlertsSettings() { + if (crowdstrikeAlertsSettingsBuilder_ == null) { + if (detailsCase_ == 79) { + return (com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings) details_; + } + return com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 79) { + return crowdstrikeAlertsSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * CrowdStrike Alerts API settings.
+     * 
+ * + * .google.cloud.chronicle.v1.CrowdStrikeAlertsSettings crowdstrike_alerts_settings = 79; + * + */ + public Builder setCrowdstrikeAlertsSettings( + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings value) { + if (crowdstrikeAlertsSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + crowdstrikeAlertsSettingsBuilder_.setMessage(value); + } + detailsCase_ = 79; + return this; + } + + /** + * + * + *
+     * CrowdStrike Alerts API settings.
+     * 
+ * + * .google.cloud.chronicle.v1.CrowdStrikeAlertsSettings crowdstrike_alerts_settings = 79; + * + */ + public Builder setCrowdstrikeAlertsSettings( + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.Builder builderForValue) { + if (crowdstrikeAlertsSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + crowdstrikeAlertsSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 79; + return this; + } + + /** + * + * + *
+     * CrowdStrike Alerts API settings.
+     * 
+ * + * .google.cloud.chronicle.v1.CrowdStrikeAlertsSettings crowdstrike_alerts_settings = 79; + * + */ + public Builder mergeCrowdstrikeAlertsSettings( + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings value) { + if (crowdstrikeAlertsSettingsBuilder_ == null) { + if (detailsCase_ == 79 + && details_ + != com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.newBuilder( + (com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 79) { + crowdstrikeAlertsSettingsBuilder_.mergeFrom(value); + } else { + crowdstrikeAlertsSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 79; + return this; + } + + /** + * + * + *
+     * CrowdStrike Alerts API settings.
+     * 
+ * + * .google.cloud.chronicle.v1.CrowdStrikeAlertsSettings crowdstrike_alerts_settings = 79; + * + */ + public Builder clearCrowdstrikeAlertsSettings() { + if (crowdstrikeAlertsSettingsBuilder_ == null) { + if (detailsCase_ == 79) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 79) { + detailsCase_ = 0; + details_ = null; + } + crowdstrikeAlertsSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * CrowdStrike Alerts API settings.
+     * 
+ * + * .google.cloud.chronicle.v1.CrowdStrikeAlertsSettings crowdstrike_alerts_settings = 79; + * + */ + public com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.Builder + getCrowdstrikeAlertsSettingsBuilder() { + return internalGetCrowdstrikeAlertsSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * CrowdStrike Alerts API settings.
+     * 
+ * + * .google.cloud.chronicle.v1.CrowdStrikeAlertsSettings crowdstrike_alerts_settings = 79; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettingsOrBuilder + getCrowdstrikeAlertsSettingsOrBuilder() { + if ((detailsCase_ == 79) && (crowdstrikeAlertsSettingsBuilder_ != null)) { + return crowdstrikeAlertsSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 79) { + return (com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings) details_; + } + return com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * CrowdStrike Alerts API settings.
+     * 
+ * + * .google.cloud.chronicle.v1.CrowdStrikeAlertsSettings crowdstrike_alerts_settings = 79; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings, + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.Builder, + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettingsOrBuilder> + internalGetCrowdstrikeAlertsSettingsFieldBuilder() { + if (crowdstrikeAlertsSettingsBuilder_ == null) { + if (!(detailsCase_ == 79)) { + details_ = com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.getDefaultInstance(); + } + crowdstrikeAlertsSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings, + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings.Builder, + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 79; + onChanged(); + return crowdstrikeAlertsSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings, + com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings.Builder, + com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettingsOrBuilder> + trellixHxBulkAcqsSettingsBuilder_; + + /** + * + * + *
+     * Settings for Trellix HX Bulk Acquisitions Metadata.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings trellix_hx_bulk_acqs_settings = 80; + * + * + * @return Whether the trellixHxBulkAcqsSettings field is set. + */ + @java.lang.Override + public boolean hasTrellixHxBulkAcqsSettings() { + return detailsCase_ == 80; + } + + /** + * + * + *
+     * Settings for Trellix HX Bulk Acquisitions Metadata.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings trellix_hx_bulk_acqs_settings = 80; + * + * + * @return The trellixHxBulkAcqsSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings getTrellixHxBulkAcqsSettings() { + if (trellixHxBulkAcqsSettingsBuilder_ == null) { + if (detailsCase_ == 80) { + return (com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings) details_; + } + return com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings.getDefaultInstance(); + } else { + if (detailsCase_ == 80) { + return trellixHxBulkAcqsSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Settings for Trellix HX Bulk Acquisitions Metadata.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings trellix_hx_bulk_acqs_settings = 80; + * + */ + public Builder setTrellixHxBulkAcqsSettings( + com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings value) { + if (trellixHxBulkAcqsSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + trellixHxBulkAcqsSettingsBuilder_.setMessage(value); + } + detailsCase_ = 80; + return this; + } + + /** + * + * + *
+     * Settings for Trellix HX Bulk Acquisitions Metadata.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings trellix_hx_bulk_acqs_settings = 80; + * + */ + public Builder setTrellixHxBulkAcqsSettings( + com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings.Builder builderForValue) { + if (trellixHxBulkAcqsSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + trellixHxBulkAcqsSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 80; + return this; + } + + /** + * + * + *
+     * Settings for Trellix HX Bulk Acquisitions Metadata.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings trellix_hx_bulk_acqs_settings = 80; + * + */ + public Builder mergeTrellixHxBulkAcqsSettings( + com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings value) { + if (trellixHxBulkAcqsSettingsBuilder_ == null) { + if (detailsCase_ == 80 + && details_ + != com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings.newBuilder( + (com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 80) { + trellixHxBulkAcqsSettingsBuilder_.mergeFrom(value); + } else { + trellixHxBulkAcqsSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 80; + return this; + } + + /** + * + * + *
+     * Settings for Trellix HX Bulk Acquisitions Metadata.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings trellix_hx_bulk_acqs_settings = 80; + * + */ + public Builder clearTrellixHxBulkAcqsSettings() { + if (trellixHxBulkAcqsSettingsBuilder_ == null) { + if (detailsCase_ == 80) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 80) { + detailsCase_ = 0; + details_ = null; + } + trellixHxBulkAcqsSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Settings for Trellix HX Bulk Acquisitions Metadata.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings trellix_hx_bulk_acqs_settings = 80; + * + */ + public com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings.Builder + getTrellixHxBulkAcqsSettingsBuilder() { + return internalGetTrellixHxBulkAcqsSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Settings for Trellix HX Bulk Acquisitions Metadata.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings trellix_hx_bulk_acqs_settings = 80; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettingsOrBuilder + getTrellixHxBulkAcqsSettingsOrBuilder() { + if ((detailsCase_ == 80) && (trellixHxBulkAcqsSettingsBuilder_ != null)) { + return trellixHxBulkAcqsSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 80) { + return (com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings) details_; + } + return com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Settings for Trellix HX Bulk Acquisitions Metadata.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings trellix_hx_bulk_acqs_settings = 80; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings, + com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings.Builder, + com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettingsOrBuilder> + internalGetTrellixHxBulkAcqsSettingsFieldBuilder() { + if (trellixHxBulkAcqsSettingsBuilder_ == null) { + if (!(detailsCase_ == 80)) { + details_ = com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings.getDefaultInstance(); + } + trellixHxBulkAcqsSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings, + com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings.Builder, + com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettingsOrBuilder>( + (com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 80; + onChanged(); + return trellixHxBulkAcqsSettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MimecastMailV2Settings, + com.google.cloud.chronicle.v1.MimecastMailV2Settings.Builder, + com.google.cloud.chronicle.v1.MimecastMailV2SettingsOrBuilder> + mimecastMailV2SettingsBuilder_; + + /** + * + * + *
+     * Required. Mimecast mail v2 settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MimecastMailV2Settings mimecast_mail_v2_settings = 82 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the mimecastMailV2Settings field is set. + */ + @java.lang.Override + public boolean hasMimecastMailV2Settings() { + return detailsCase_ == 82; + } + + /** + * + * + *
+     * Required. Mimecast mail v2 settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MimecastMailV2Settings mimecast_mail_v2_settings = 82 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The mimecastMailV2Settings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MimecastMailV2Settings getMimecastMailV2Settings() { + if (mimecastMailV2SettingsBuilder_ == null) { + if (detailsCase_ == 82) { + return (com.google.cloud.chronicle.v1.MimecastMailV2Settings) details_; + } + return com.google.cloud.chronicle.v1.MimecastMailV2Settings.getDefaultInstance(); + } else { + if (detailsCase_ == 82) { + return mimecastMailV2SettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.MimecastMailV2Settings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Required. Mimecast mail v2 settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MimecastMailV2Settings mimecast_mail_v2_settings = 82 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setMimecastMailV2Settings( + com.google.cloud.chronicle.v1.MimecastMailV2Settings value) { + if (mimecastMailV2SettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + mimecastMailV2SettingsBuilder_.setMessage(value); + } + detailsCase_ = 82; + return this; + } + + /** + * + * + *
+     * Required. Mimecast mail v2 settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MimecastMailV2Settings mimecast_mail_v2_settings = 82 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setMimecastMailV2Settings( + com.google.cloud.chronicle.v1.MimecastMailV2Settings.Builder builderForValue) { + if (mimecastMailV2SettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + mimecastMailV2SettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 82; + return this; + } + + /** + * + * + *
+     * Required. Mimecast mail v2 settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MimecastMailV2Settings mimecast_mail_v2_settings = 82 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeMimecastMailV2Settings( + com.google.cloud.chronicle.v1.MimecastMailV2Settings value) { + if (mimecastMailV2SettingsBuilder_ == null) { + if (detailsCase_ == 82 + && details_ + != com.google.cloud.chronicle.v1.MimecastMailV2Settings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.MimecastMailV2Settings.newBuilder( + (com.google.cloud.chronicle.v1.MimecastMailV2Settings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 82) { + mimecastMailV2SettingsBuilder_.mergeFrom(value); + } else { + mimecastMailV2SettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 82; + return this; + } + + /** + * + * + *
+     * Required. Mimecast mail v2 settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MimecastMailV2Settings mimecast_mail_v2_settings = 82 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearMimecastMailV2Settings() { + if (mimecastMailV2SettingsBuilder_ == null) { + if (detailsCase_ == 82) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 82) { + detailsCase_ = 0; + details_ = null; + } + mimecastMailV2SettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Required. Mimecast mail v2 settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MimecastMailV2Settings mimecast_mail_v2_settings = 82 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.MimecastMailV2Settings.Builder + getMimecastMailV2SettingsBuilder() { + return internalGetMimecastMailV2SettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Required. Mimecast mail v2 settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MimecastMailV2Settings mimecast_mail_v2_settings = 82 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MimecastMailV2SettingsOrBuilder + getMimecastMailV2SettingsOrBuilder() { + if ((detailsCase_ == 82) && (mimecastMailV2SettingsBuilder_ != null)) { + return mimecastMailV2SettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 82) { + return (com.google.cloud.chronicle.v1.MimecastMailV2Settings) details_; + } + return com.google.cloud.chronicle.v1.MimecastMailV2Settings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Required. Mimecast mail v2 settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MimecastMailV2Settings mimecast_mail_v2_settings = 82 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MimecastMailV2Settings, + com.google.cloud.chronicle.v1.MimecastMailV2Settings.Builder, + com.google.cloud.chronicle.v1.MimecastMailV2SettingsOrBuilder> + internalGetMimecastMailV2SettingsFieldBuilder() { + if (mimecastMailV2SettingsBuilder_ == null) { + if (!(detailsCase_ == 82)) { + details_ = com.google.cloud.chronicle.v1.MimecastMailV2Settings.getDefaultInstance(); + } + mimecastMailV2SettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MimecastMailV2Settings, + com.google.cloud.chronicle.v1.MimecastMailV2Settings.Builder, + com.google.cloud.chronicle.v1.MimecastMailV2SettingsOrBuilder>( + (com.google.cloud.chronicle.v1.MimecastMailV2Settings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 82; + onChanged(); + return mimecastMailV2SettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings, + com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings.Builder, + com.google.cloud.chronicle.v1.ThreatConnectIoCV3SettingsOrBuilder> + threatConnectIocV3SettingsBuilder_; + + /** + * + * + *
+     * Threat Connect IOC V3 settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.ThreatConnectIoCV3Settings threat_connect_ioc_v3_settings = 83; + * + * + * @return Whether the threatConnectIocV3Settings field is set. + */ + @java.lang.Override + public boolean hasThreatConnectIocV3Settings() { + return detailsCase_ == 83; + } + + /** + * + * + *
+     * Threat Connect IOC V3 settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.ThreatConnectIoCV3Settings threat_connect_ioc_v3_settings = 83; + * + * + * @return The threatConnectIocV3Settings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings + getThreatConnectIocV3Settings() { + if (threatConnectIocV3SettingsBuilder_ == null) { + if (detailsCase_ == 83) { + return (com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings) details_; + } + return com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings.getDefaultInstance(); + } else { + if (detailsCase_ == 83) { + return threatConnectIocV3SettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Threat Connect IOC V3 settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.ThreatConnectIoCV3Settings threat_connect_ioc_v3_settings = 83; + * + */ + public Builder setThreatConnectIocV3Settings( + com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings value) { + if (threatConnectIocV3SettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + threatConnectIocV3SettingsBuilder_.setMessage(value); + } + detailsCase_ = 83; + return this; + } + + /** + * + * + *
+     * Threat Connect IOC V3 settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.ThreatConnectIoCV3Settings threat_connect_ioc_v3_settings = 83; + * + */ + public Builder setThreatConnectIocV3Settings( + com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings.Builder builderForValue) { + if (threatConnectIocV3SettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + threatConnectIocV3SettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 83; + return this; + } + + /** + * + * + *
+     * Threat Connect IOC V3 settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.ThreatConnectIoCV3Settings threat_connect_ioc_v3_settings = 83; + * + */ + public Builder mergeThreatConnectIocV3Settings( + com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings value) { + if (threatConnectIocV3SettingsBuilder_ == null) { + if (detailsCase_ == 83 + && details_ + != com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings.newBuilder( + (com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 83) { + threatConnectIocV3SettingsBuilder_.mergeFrom(value); + } else { + threatConnectIocV3SettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 83; + return this; + } + + /** + * + * + *
+     * Threat Connect IOC V3 settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.ThreatConnectIoCV3Settings threat_connect_ioc_v3_settings = 83; + * + */ + public Builder clearThreatConnectIocV3Settings() { + if (threatConnectIocV3SettingsBuilder_ == null) { + if (detailsCase_ == 83) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 83) { + detailsCase_ = 0; + details_ = null; + } + threatConnectIocV3SettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Threat Connect IOC V3 settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.ThreatConnectIoCV3Settings threat_connect_ioc_v3_settings = 83; + * + */ + public com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings.Builder + getThreatConnectIocV3SettingsBuilder() { + return internalGetThreatConnectIocV3SettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Threat Connect IOC V3 settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.ThreatConnectIoCV3Settings threat_connect_ioc_v3_settings = 83; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ThreatConnectIoCV3SettingsOrBuilder + getThreatConnectIocV3SettingsOrBuilder() { + if ((detailsCase_ == 83) && (threatConnectIocV3SettingsBuilder_ != null)) { + return threatConnectIocV3SettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 83) { + return (com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings) details_; + } + return com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Threat Connect IOC V3 settings.
+     * 
+ * + * + * .google.cloud.chronicle.v1.ThreatConnectIoCV3Settings threat_connect_ioc_v3_settings = 83; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings, + com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings.Builder, + com.google.cloud.chronicle.v1.ThreatConnectIoCV3SettingsOrBuilder> + internalGetThreatConnectIocV3SettingsFieldBuilder() { + if (threatConnectIocV3SettingsBuilder_ == null) { + if (!(detailsCase_ == 83)) { + details_ = com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings.getDefaultInstance(); + } + threatConnectIocV3SettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings, + com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings.Builder, + com.google.cloud.chronicle.v1.ThreatConnectIoCV3SettingsOrBuilder>( + (com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 83; + onChanged(); + return threatConnectIocV3SettingsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPISettings, + com.google.cloud.chronicle.v1.CustomAPISettings.Builder, + com.google.cloud.chronicle.v1.CustomAPISettingsOrBuilder> + customApiSettingsBuilder_; + + /** + * + * + *
+     * Settings for Custom API (Codeless) Feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPISettings custom_api_settings = 85; + * + * @return Whether the customApiSettings field is set. + */ + @java.lang.Override + public boolean hasCustomApiSettings() { + return detailsCase_ == 85; + } + + /** + * + * + *
+     * Settings for Custom API (Codeless) Feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPISettings custom_api_settings = 85; + * + * @return The customApiSettings. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPISettings getCustomApiSettings() { + if (customApiSettingsBuilder_ == null) { + if (detailsCase_ == 85) { + return (com.google.cloud.chronicle.v1.CustomAPISettings) details_; + } + return com.google.cloud.chronicle.v1.CustomAPISettings.getDefaultInstance(); + } else { + if (detailsCase_ == 85) { + return customApiSettingsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.CustomAPISettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Settings for Custom API (Codeless) Feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPISettings custom_api_settings = 85; + */ + public Builder setCustomApiSettings(com.google.cloud.chronicle.v1.CustomAPISettings value) { + if (customApiSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + customApiSettingsBuilder_.setMessage(value); + } + detailsCase_ = 85; + return this; + } + + /** + * + * + *
+     * Settings for Custom API (Codeless) Feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPISettings custom_api_settings = 85; + */ + public Builder setCustomApiSettings( + com.google.cloud.chronicle.v1.CustomAPISettings.Builder builderForValue) { + if (customApiSettingsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + customApiSettingsBuilder_.setMessage(builderForValue.build()); + } + detailsCase_ = 85; + return this; + } + + /** + * + * + *
+     * Settings for Custom API (Codeless) Feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPISettings custom_api_settings = 85; + */ + public Builder mergeCustomApiSettings(com.google.cloud.chronicle.v1.CustomAPISettings value) { + if (customApiSettingsBuilder_ == null) { + if (detailsCase_ == 85 + && details_ != com.google.cloud.chronicle.v1.CustomAPISettings.getDefaultInstance()) { + details_ = + com.google.cloud.chronicle.v1.CustomAPISettings.newBuilder( + (com.google.cloud.chronicle.v1.CustomAPISettings) details_) + .mergeFrom(value) + .buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + if (detailsCase_ == 85) { + customApiSettingsBuilder_.mergeFrom(value); + } else { + customApiSettingsBuilder_.setMessage(value); + } + } + detailsCase_ = 85; + return this; + } + + /** + * + * + *
+     * Settings for Custom API (Codeless) Feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPISettings custom_api_settings = 85; + */ + public Builder clearCustomApiSettings() { + if (customApiSettingsBuilder_ == null) { + if (detailsCase_ == 85) { + detailsCase_ = 0; + details_ = null; + onChanged(); + } + } else { + if (detailsCase_ == 85) { + detailsCase_ = 0; + details_ = null; + } + customApiSettingsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Settings for Custom API (Codeless) Feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPISettings custom_api_settings = 85; + */ + public com.google.cloud.chronicle.v1.CustomAPISettings.Builder getCustomApiSettingsBuilder() { + return internalGetCustomApiSettingsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Settings for Custom API (Codeless) Feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPISettings custom_api_settings = 85; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.CustomAPISettingsOrBuilder + getCustomApiSettingsOrBuilder() { + if ((detailsCase_ == 85) && (customApiSettingsBuilder_ != null)) { + return customApiSettingsBuilder_.getMessageOrBuilder(); + } else { + if (detailsCase_ == 85) { + return (com.google.cloud.chronicle.v1.CustomAPISettings) details_; + } + return com.google.cloud.chronicle.v1.CustomAPISettings.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Settings for Custom API (Codeless) Feeds.
+     * 
+ * + * .google.cloud.chronicle.v1.CustomAPISettings custom_api_settings = 85; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPISettings, + com.google.cloud.chronicle.v1.CustomAPISettings.Builder, + com.google.cloud.chronicle.v1.CustomAPISettingsOrBuilder> + internalGetCustomApiSettingsFieldBuilder() { + if (customApiSettingsBuilder_ == null) { + if (!(detailsCase_ == 85)) { + details_ = com.google.cloud.chronicle.v1.CustomAPISettings.getDefaultInstance(); + } + customApiSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.CustomAPISettings, + com.google.cloud.chronicle.v1.CustomAPISettings.Builder, + com.google.cloud.chronicle.v1.CustomAPISettingsOrBuilder>( + (com.google.cloud.chronicle.v1.CustomAPISettings) details_, + getParentForChildren(), + isClean()); + details_ = null; + } + detailsCase_ = 85; + onChanged(); + return customApiSettingsBuilder_; + } + + private int feedSourceType_ = 0; + + /** + * + * + *
+     * Source Type of the feed.
+     * 
+ * + * .google.cloud.chronicle.v1.FeedDetails.FeedSourceType feed_source_type = 1; + * + * @return The enum numeric value on the wire for feedSourceType. + */ + @java.lang.Override + public int getFeedSourceTypeValue() { + return feedSourceType_; + } + + /** + * + * + *
+     * Source Type of the feed.
+     * 
+ * + * .google.cloud.chronicle.v1.FeedDetails.FeedSourceType feed_source_type = 1; + * + * @param value The enum numeric value on the wire for feedSourceType to set. + * @return This builder for chaining. + */ + public Builder setFeedSourceTypeValue(int value) { + feedSourceType_ = value; + bitField2_ |= 0x00001000; + onChanged(); + return this; + } + + /** + * + * + *
+     * Source Type of the feed.
+     * 
+ * + * .google.cloud.chronicle.v1.FeedDetails.FeedSourceType feed_source_type = 1; + * + * @return The feedSourceType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType getFeedSourceType() { + com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType result = + com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType.forNumber(feedSourceType_); + return result == null + ? com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * Source Type of the feed.
+     * 
+ * + * .google.cloud.chronicle.v1.FeedDetails.FeedSourceType feed_source_type = 1; + * + * @param value The feedSourceType to set. + * @return This builder for chaining. + */ + public Builder setFeedSourceType( + com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField2_ |= 0x00001000; + feedSourceType_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Source Type of the feed.
+     * 
+ * + * .google.cloud.chronicle.v1.FeedDetails.FeedSourceType feed_source_type = 1; + * + * @return This builder for chaining. + */ + public Builder clearFeedSourceType() { + bitField2_ = (bitField2_ & ~0x00001000); + feedSourceType_ = 0; + onChanged(); + return this; + } + + private java.lang.Object logType_ = ""; + + /** + * + * + *
+     * LogType.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type}
+     * 
+ * + * string log_type = 2 [(.google.api.resource_reference) = { ... } + * + * @return The logType. + */ + public java.lang.String getLogType() { + java.lang.Object ref = logType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + logType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * LogType.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type}
+     * 
+ * + * string log_type = 2 [(.google.api.resource_reference) = { ... } + * + * @return The bytes for logType. + */ + public com.google.protobuf.ByteString getLogTypeBytes() { + java.lang.Object ref = logType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + logType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * LogType.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type}
+     * 
+ * + * string log_type = 2 [(.google.api.resource_reference) = { ... } + * + * @param value The logType to set. + * @return This builder for chaining. + */ + public Builder setLogType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + logType_ = value; + bitField2_ |= 0x00002000; + onChanged(); + return this; + } + + /** + * + * + *
+     * LogType.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type}
+     * 
+ * + * string log_type = 2 [(.google.api.resource_reference) = { ... } + * + * @return This builder for chaining. + */ + public Builder clearLogType() { + logType_ = getDefaultInstance().getLogType(); + bitField2_ = (bitField2_ & ~0x00002000); + onChanged(); + return this; + } + + /** + * + * + *
+     * LogType.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type}
+     * 
+ * + * string log_type = 2 [(.google.api.resource_reference) = { ... } + * + * @param value The bytes for logType to set. + * @return This builder for chaining. + */ + public Builder setLogTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + logType_ = value; + bitField2_ |= 0x00002000; + onChanged(); + return this; + } + + private java.lang.Object assetNamespace_ = ""; + + /** + * + * + *
+     * The asset namespace to apply to all logs ingested through this feed.
+     * 
+ * + * string asset_namespace = 51; + * + * @return The assetNamespace. + */ + public java.lang.String getAssetNamespace() { + java.lang.Object ref = assetNamespace_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + assetNamespace_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * The asset namespace to apply to all logs ingested through this feed.
+     * 
+ * + * string asset_namespace = 51; + * + * @return The bytes for assetNamespace. + */ + public com.google.protobuf.ByteString getAssetNamespaceBytes() { + java.lang.Object ref = assetNamespace_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + assetNamespace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * The asset namespace to apply to all logs ingested through this feed.
+     * 
+ * + * string asset_namespace = 51; + * + * @param value The assetNamespace to set. + * @return This builder for chaining. + */ + public Builder setAssetNamespace(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + assetNamespace_ = value; + bitField2_ |= 0x00004000; + onChanged(); + return this; + } + + /** + * + * + *
+     * The asset namespace to apply to all logs ingested through this feed.
+     * 
+ * + * string asset_namespace = 51; + * + * @return This builder for chaining. + */ + public Builder clearAssetNamespace() { + assetNamespace_ = getDefaultInstance().getAssetNamespace(); + bitField2_ = (bitField2_ & ~0x00004000); + onChanged(); + return this; + } + + /** + * + * + *
+     * The asset namespace to apply to all logs ingested through this feed.
+     * 
+ * + * string asset_namespace = 51; + * + * @param value The bytes for assetNamespace to set. + * @return This builder for chaining. + */ + public Builder setAssetNamespaceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + assetNamespace_ = value; + bitField2_ |= 0x00004000; + onChanged(); + return this; + } + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { + if (labels_ == null) { + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + } + return labels_; + } + + private com.google.protobuf.MapField + internalGetMutableLabels() { + if (labels_ == null) { + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + } + if (!labels_.isMutable()) { + labels_ = labels_.copy(); + } + bitField2_ |= 0x00008000; + onChanged(); + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + + /** + * + * + *
+     * The ingestion metadata labels to apply to all logs ingested through this
+     * feed, and the resulting normalized data.
+     * 
+ * + * map<string, string> labels = 52; + */ + @java.lang.Override + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetLabels().getMap().containsKey(key); + } + + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + + /** + * + * + *
+     * The ingestion metadata labels to apply to all logs ingested through this
+     * feed, and the resulting normalized data.
+     * 
+ * + * map<string, string> labels = 52; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + + /** + * + * + *
+     * The ingestion metadata labels to apply to all logs ingested through this
+     * feed, and the resulting normalized data.
+     * 
+ * + * map<string, string> labels = 52; + */ + @java.lang.Override + public /* nullable */ java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + + /** + * + * + *
+     * The ingestion metadata labels to apply to all logs ingested through this
+     * feed, and the resulting normalized data.
+     * 
+ * + * map<string, string> labels = 52; + */ + @java.lang.Override + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearLabels() { + bitField2_ = (bitField2_ & ~0x00008000); + internalGetMutableLabels().getMutableMap().clear(); + return this; + } + + /** + * + * + *
+     * The ingestion metadata labels to apply to all logs ingested through this
+     * feed, and the resulting normalized data.
+     * 
+ * + * map<string, string> labels = 52; + */ + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); + return this; + } + + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map getMutableLabels() { + bitField2_ |= 0x00008000; + return internalGetMutableLabels().getMutableMap(); + } + + /** + * + * + *
+     * The ingestion metadata labels to apply to all logs ingested through this
+     * feed, and the resulting normalized data.
+     * 
+ * + * map<string, string> labels = 52; + */ + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); + bitField2_ |= 0x00008000; + return this; + } + + /** + * + * + *
+     * The ingestion metadata labels to apply to all logs ingested through this
+     * feed, and the resulting normalized data.
+     * 
+ * + * map<string, string> labels = 52; + */ + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); + bitField2_ |= 0x00008000; + return this; + } + + private int stsMigrationReadiness_ = 0; + + /** + * + * + *
+     * Optional. The status of the feed's migration to STS.
+     * 
+ * + * + * .google.cloud.chronicle.v1.FeedDetails.STSMigrationReadiness sts_migration_readiness = 81 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for stsMigrationReadiness. + */ + @java.lang.Override + public int getStsMigrationReadinessValue() { + return stsMigrationReadiness_; + } + + /** + * + * + *
+     * Optional. The status of the feed's migration to STS.
+     * 
+ * + * + * .google.cloud.chronicle.v1.FeedDetails.STSMigrationReadiness sts_migration_readiness = 81 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The enum numeric value on the wire for stsMigrationReadiness to set. + * @return This builder for chaining. + */ + public Builder setStsMigrationReadinessValue(int value) { + stsMigrationReadiness_ = value; + bitField2_ |= 0x00010000; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The status of the feed's migration to STS.
+     * 
+ * + * + * .google.cloud.chronicle.v1.FeedDetails.STSMigrationReadiness sts_migration_readiness = 81 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The stsMigrationReadiness. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedDetails.STSMigrationReadiness + getStsMigrationReadiness() { + com.google.cloud.chronicle.v1.FeedDetails.STSMigrationReadiness result = + com.google.cloud.chronicle.v1.FeedDetails.STSMigrationReadiness.forNumber( + stsMigrationReadiness_); + return result == null + ? com.google.cloud.chronicle.v1.FeedDetails.STSMigrationReadiness.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * Optional. The status of the feed's migration to STS.
+     * 
+ * + * + * .google.cloud.chronicle.v1.FeedDetails.STSMigrationReadiness sts_migration_readiness = 81 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The stsMigrationReadiness to set. + * @return This builder for chaining. + */ + public Builder setStsMigrationReadiness( + com.google.cloud.chronicle.v1.FeedDetails.STSMigrationReadiness value) { + if (value == null) { + throw new NullPointerException(); + } + bitField2_ |= 0x00010000; + stsMigrationReadiness_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The status of the feed's migration to STS.
+     * 
+ * + * + * .google.cloud.chronicle.v1.FeedDetails.STSMigrationReadiness sts_migration_readiness = 81 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearStsMigrationReadiness() { + bitField2_ = (bitField2_ & ~0x00010000); + stsMigrationReadiness_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp lastV2MigrationAttemptTime_; + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + lastV2MigrationAttemptTimeBuilder_; + + /** + * + * + *
+     * Optional. The time of the last attempt to migrate the feed to STS V2.
+     * 
+ * + * + * .google.protobuf.Timestamp last_v2_migration_attempt_time = 84 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the lastV2MigrationAttemptTime field is set. + */ + public boolean hasLastV2MigrationAttemptTime() { + return ((bitField2_ & 0x00020000) != 0); + } + + /** + * + * + *
+     * Optional. The time of the last attempt to migrate the feed to STS V2.
+     * 
+ * + * + * .google.protobuf.Timestamp last_v2_migration_attempt_time = 84 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The lastV2MigrationAttemptTime. + */ + public com.google.protobuf.Timestamp getLastV2MigrationAttemptTime() { + if (lastV2MigrationAttemptTimeBuilder_ == null) { + return lastV2MigrationAttemptTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastV2MigrationAttemptTime_; + } else { + return lastV2MigrationAttemptTimeBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Optional. The time of the last attempt to migrate the feed to STS V2.
+     * 
+ * + * + * .google.protobuf.Timestamp last_v2_migration_attempt_time = 84 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setLastV2MigrationAttemptTime(com.google.protobuf.Timestamp value) { + if (lastV2MigrationAttemptTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + lastV2MigrationAttemptTime_ = value; + } else { + lastV2MigrationAttemptTimeBuilder_.setMessage(value); + } + bitField2_ |= 0x00020000; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The time of the last attempt to migrate the feed to STS V2.
+     * 
+ * + * + * .google.protobuf.Timestamp last_v2_migration_attempt_time = 84 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setLastV2MigrationAttemptTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (lastV2MigrationAttemptTimeBuilder_ == null) { + lastV2MigrationAttemptTime_ = builderForValue.build(); + } else { + lastV2MigrationAttemptTimeBuilder_.setMessage(builderForValue.build()); + } + bitField2_ |= 0x00020000; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The time of the last attempt to migrate the feed to STS V2.
+     * 
+ * + * + * .google.protobuf.Timestamp last_v2_migration_attempt_time = 84 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeLastV2MigrationAttemptTime(com.google.protobuf.Timestamp value) { + if (lastV2MigrationAttemptTimeBuilder_ == null) { + if (((bitField2_ & 0x00020000) != 0) + && lastV2MigrationAttemptTime_ != null + && lastV2MigrationAttemptTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getLastV2MigrationAttemptTimeBuilder().mergeFrom(value); + } else { + lastV2MigrationAttemptTime_ = value; + } + } else { + lastV2MigrationAttemptTimeBuilder_.mergeFrom(value); + } + if (lastV2MigrationAttemptTime_ != null) { + bitField2_ |= 0x00020000; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Optional. The time of the last attempt to migrate the feed to STS V2.
+     * 
+ * + * + * .google.protobuf.Timestamp last_v2_migration_attempt_time = 84 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearLastV2MigrationAttemptTime() { + bitField2_ = (bitField2_ & ~0x00020000); + lastV2MigrationAttemptTime_ = null; + if (lastV2MigrationAttemptTimeBuilder_ != null) { + lastV2MigrationAttemptTimeBuilder_.dispose(); + lastV2MigrationAttemptTimeBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The time of the last attempt to migrate the feed to STS V2.
+     * 
+ * + * + * .google.protobuf.Timestamp last_v2_migration_attempt_time = 84 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.protobuf.Timestamp.Builder getLastV2MigrationAttemptTimeBuilder() { + bitField2_ |= 0x00020000; + onChanged(); + return internalGetLastV2MigrationAttemptTimeFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Optional. The time of the last attempt to migrate the feed to STS V2.
+     * 
+ * + * + * .google.protobuf.Timestamp last_v2_migration_attempt_time = 84 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.protobuf.TimestampOrBuilder getLastV2MigrationAttemptTimeOrBuilder() { + if (lastV2MigrationAttemptTimeBuilder_ != null) { + return lastV2MigrationAttemptTimeBuilder_.getMessageOrBuilder(); + } else { + return lastV2MigrationAttemptTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastV2MigrationAttemptTime_; + } + } + + /** + * + * + *
+     * Optional. The time of the last attempt to migrate the feed to STS V2.
+     * 
+ * + * + * .google.protobuf.Timestamp last_v2_migration_attempt_time = 84 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + internalGetLastV2MigrationAttemptTimeFieldBuilder() { + if (lastV2MigrationAttemptTimeBuilder_ == null) { + lastV2MigrationAttemptTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getLastV2MigrationAttemptTime(), getParentForChildren(), isClean()); + lastV2MigrationAttemptTime_ = null; + } + return lastV2MigrationAttemptTimeBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.FeedDetails) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.FeedDetails) + private static final com.google.cloud.chronicle.v1.FeedDetails DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.FeedDetails(); + } + + public static com.google.cloud.chronicle.v1.FeedDetails getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FeedDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedDetails getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedDetailsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedDetailsOrBuilder.java new file mode 100644 index 000000000000..f108e5c31803 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedDetailsOrBuilder.java @@ -0,0 +1,3227 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface FeedDetailsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.FeedDetails) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Anomali IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AnomaliIocSettings anomali_settings = 3; + * + * @return Whether the anomaliSettings field is set. + */ + boolean hasAnomaliSettings(); + + /** + * + * + *
+   * Anomali IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AnomaliIocSettings anomali_settings = 3; + * + * @return The anomaliSettings. + */ + com.google.cloud.chronicle.v1.AnomaliIocSettings getAnomaliSettings(); + + /** + * + * + *
+   * Anomali IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AnomaliIocSettings anomali_settings = 3; + */ + com.google.cloud.chronicle.v1.AnomaliIocSettingsOrBuilder getAnomaliSettingsOrBuilder(); + + /** + * + * + *
+   * Azure AD Context settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureADContextSettings azure_ad_context_settings = 4; + * + * @return Whether the azureAdContextSettings field is set. + */ + boolean hasAzureAdContextSettings(); + + /** + * + * + *
+   * Azure AD Context settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureADContextSettings azure_ad_context_settings = 4; + * + * @return The azureAdContextSettings. + */ + com.google.cloud.chronicle.v1.AzureADContextSettings getAzureAdContextSettings(); + + /** + * + * + *
+   * Azure AD Context settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureADContextSettings azure_ad_context_settings = 4; + */ + com.google.cloud.chronicle.v1.AzureADContextSettingsOrBuilder + getAzureAdContextSettingsOrBuilder(); + + /** + * + * + *
+   * Cloud Passage settings.
+   * 
+ * + * .google.cloud.chronicle.v1.CloudPassageSettings cloud_passage_settings = 5; + * + * @return Whether the cloudPassageSettings field is set. + */ + boolean hasCloudPassageSettings(); + + /** + * + * + *
+   * Cloud Passage settings.
+   * 
+ * + * .google.cloud.chronicle.v1.CloudPassageSettings cloud_passage_settings = 5; + * + * @return The cloudPassageSettings. + */ + com.google.cloud.chronicle.v1.CloudPassageSettings getCloudPassageSettings(); + + /** + * + * + *
+   * Cloud Passage settings.
+   * 
+ * + * .google.cloud.chronicle.v1.CloudPassageSettings cloud_passage_settings = 5; + */ + com.google.cloud.chronicle.v1.CloudPassageSettingsOrBuilder getCloudPassageSettingsOrBuilder(); + + /** + * + * + *
+   * Cortex XDR settings.
+   * 
+ * + * .google.cloud.chronicle.v1.CortexXDRSettings cortex_xdr_settings = 6; + * + * @return Whether the cortexXdrSettings field is set. + */ + boolean hasCortexXdrSettings(); + + /** + * + * + *
+   * Cortex XDR settings.
+   * 
+ * + * .google.cloud.chronicle.v1.CortexXDRSettings cortex_xdr_settings = 6; + * + * @return The cortexXdrSettings. + */ + com.google.cloud.chronicle.v1.CortexXDRSettings getCortexXdrSettings(); + + /** + * + * + *
+   * Cortex XDR settings.
+   * 
+ * + * .google.cloud.chronicle.v1.CortexXDRSettings cortex_xdr_settings = 6; + */ + com.google.cloud.chronicle.v1.CortexXDRSettingsOrBuilder getCortexXdrSettingsOrBuilder(); + + /** + * + * + *
+   * Duo Auth settings.
+   * 
+ * + * .google.cloud.chronicle.v1.DuoAuthSettings duo_auth_settings = 7; + * + * @return Whether the duoAuthSettings field is set. + */ + boolean hasDuoAuthSettings(); + + /** + * + * + *
+   * Duo Auth settings.
+   * 
+ * + * .google.cloud.chronicle.v1.DuoAuthSettings duo_auth_settings = 7; + * + * @return The duoAuthSettings. + */ + com.google.cloud.chronicle.v1.DuoAuthSettings getDuoAuthSettings(); + + /** + * + * + *
+   * Duo Auth settings.
+   * 
+ * + * .google.cloud.chronicle.v1.DuoAuthSettings duo_auth_settings = 7; + */ + com.google.cloud.chronicle.v1.DuoAuthSettingsOrBuilder getDuoAuthSettingsOrBuilder(); + + /** + * + * + *
+   * Duo User Context settings.
+   * 
+ * + * .google.cloud.chronicle.v1.DuoUserContextSettings duo_user_context_settings = 8; + * + * @return Whether the duoUserContextSettings field is set. + */ + boolean hasDuoUserContextSettings(); + + /** + * + * + *
+   * Duo User Context settings.
+   * 
+ * + * .google.cloud.chronicle.v1.DuoUserContextSettings duo_user_context_settings = 8; + * + * @return The duoUserContextSettings. + */ + com.google.cloud.chronicle.v1.DuoUserContextSettings getDuoUserContextSettings(); + + /** + * + * + *
+   * Duo User Context settings.
+   * 
+ * + * .google.cloud.chronicle.v1.DuoUserContextSettings duo_user_context_settings = 8; + */ + com.google.cloud.chronicle.v1.DuoUserContextSettingsOrBuilder + getDuoUserContextSettingsOrBuilder(); + + /** + * + * + *
+   * Microsoft Graph Alert settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftGraphAlertSettings microsoft_graph_alert_settings = 9; + * + * + * @return Whether the microsoftGraphAlertSettings field is set. + */ + boolean hasMicrosoftGraphAlertSettings(); + + /** + * + * + *
+   * Microsoft Graph Alert settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftGraphAlertSettings microsoft_graph_alert_settings = 9; + * + * + * @return The microsoftGraphAlertSettings. + */ + com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings getMicrosoftGraphAlertSettings(); + + /** + * + * + *
+   * Microsoft Graph Alert settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftGraphAlertSettings microsoft_graph_alert_settings = 9; + * + */ + com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettingsOrBuilder + getMicrosoftGraphAlertSettingsOrBuilder(); + + /** + * + * + *
+   * Microsoft Security center alert settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings microsoft_security_center_alert_settings = 10; + * + * + * @return Whether the microsoftSecurityCenterAlertSettings field is set. + */ + boolean hasMicrosoftSecurityCenterAlertSettings(); + + /** + * + * + *
+   * Microsoft Security center alert settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings microsoft_security_center_alert_settings = 10; + * + * + * @return The microsoftSecurityCenterAlertSettings. + */ + com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings + getMicrosoftSecurityCenterAlertSettings(); + + /** + * + * + *
+   * Microsoft Security center alert settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings microsoft_security_center_alert_settings = 10; + * + */ + com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettingsOrBuilder + getMicrosoftSecurityCenterAlertSettingsOrBuilder(); + + /** + * + * + *
+   * Mimecast mail settings.
+   * 
+ * + * .google.cloud.chronicle.v1.MimecastMailSettings mimecast_mail_settings = 11; + * + * @return Whether the mimecastMailSettings field is set. + */ + boolean hasMimecastMailSettings(); + + /** + * + * + *
+   * Mimecast mail settings.
+   * 
+ * + * .google.cloud.chronicle.v1.MimecastMailSettings mimecast_mail_settings = 11; + * + * @return The mimecastMailSettings. + */ + com.google.cloud.chronicle.v1.MimecastMailSettings getMimecastMailSettings(); + + /** + * + * + *
+   * Mimecast mail settings.
+   * 
+ * + * .google.cloud.chronicle.v1.MimecastMailSettings mimecast_mail_settings = 11; + */ + com.google.cloud.chronicle.v1.MimecastMailSettingsOrBuilder getMimecastMailSettingsOrBuilder(); + + /** + * + * + *
+   * Office 365 settings.
+   * 
+ * + * .google.cloud.chronicle.v1.Office365Settings office365_settings = 12; + * + * @return Whether the office365Settings field is set. + */ + boolean hasOffice365Settings(); + + /** + * + * + *
+   * Office 365 settings.
+   * 
+ * + * .google.cloud.chronicle.v1.Office365Settings office365_settings = 12; + * + * @return The office365Settings. + */ + com.google.cloud.chronicle.v1.Office365Settings getOffice365Settings(); + + /** + * + * + *
+   * Office 365 settings.
+   * 
+ * + * .google.cloud.chronicle.v1.Office365Settings office365_settings = 12; + */ + com.google.cloud.chronicle.v1.Office365SettingsOrBuilder getOffice365SettingsOrBuilder(); + + /** + * + * + *
+   * Proofpoint mail settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ProofpointMailSettings proofpoint_mail_settings = 13; + * + * @return Whether the proofpointMailSettings field is set. + */ + boolean hasProofpointMailSettings(); + + /** + * + * + *
+   * Proofpoint mail settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ProofpointMailSettings proofpoint_mail_settings = 13; + * + * @return The proofpointMailSettings. + */ + com.google.cloud.chronicle.v1.ProofpointMailSettings getProofpointMailSettings(); + + /** + * + * + *
+   * Proofpoint mail settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ProofpointMailSettings proofpoint_mail_settings = 13; + */ + com.google.cloud.chronicle.v1.ProofpointMailSettingsOrBuilder + getProofpointMailSettingsOrBuilder(); + + /** + * + * + *
+   * Recorded Future IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.RecordedFutureIocSettings recorded_future_ioc_settings = 14; + * + * + * @return Whether the recordedFutureIocSettings field is set. + */ + boolean hasRecordedFutureIocSettings(); + + /** + * + * + *
+   * Recorded Future IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.RecordedFutureIocSettings recorded_future_ioc_settings = 14; + * + * + * @return The recordedFutureIocSettings. + */ + com.google.cloud.chronicle.v1.RecordedFutureIocSettings getRecordedFutureIocSettings(); + + /** + * + * + *
+   * Recorded Future IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.RecordedFutureIocSettings recorded_future_ioc_settings = 14; + * + */ + com.google.cloud.chronicle.v1.RecordedFutureIocSettingsOrBuilder + getRecordedFutureIocSettingsOrBuilder(); + + /** + * + * + *
+   * Workday settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkdaySettings workday_settings = 15; + * + * @return Whether the workdaySettings field is set. + */ + boolean hasWorkdaySettings(); + + /** + * + * + *
+   * Workday settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkdaySettings workday_settings = 15; + * + * @return The workdaySettings. + */ + com.google.cloud.chronicle.v1.WorkdaySettings getWorkdaySettings(); + + /** + * + * + *
+   * Workday settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkdaySettings workday_settings = 15; + */ + com.google.cloud.chronicle.v1.WorkdaySettingsOrBuilder getWorkdaySettingsOrBuilder(); + + /** + * + * + *
+   * PAN IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.PanIocSettings pan_ioc_settings = 16; + * + * @return Whether the panIocSettings field is set. + */ + boolean hasPanIocSettings(); + + /** + * + * + *
+   * PAN IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.PanIocSettings pan_ioc_settings = 16; + * + * @return The panIocSettings. + */ + com.google.cloud.chronicle.v1.PanIocSettings getPanIocSettings(); + + /** + * + * + *
+   * PAN IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.PanIocSettings pan_ioc_settings = 16; + */ + com.google.cloud.chronicle.v1.PanIocSettingsOrBuilder getPanIocSettingsOrBuilder(); + + /** + * + * + *
+   * Okta settings.
+   * 
+ * + * .google.cloud.chronicle.v1.OktaSettings okta_settings = 17; + * + * @return Whether the oktaSettings field is set. + */ + boolean hasOktaSettings(); + + /** + * + * + *
+   * Okta settings.
+   * 
+ * + * .google.cloud.chronicle.v1.OktaSettings okta_settings = 17; + * + * @return The oktaSettings. + */ + com.google.cloud.chronicle.v1.OktaSettings getOktaSettings(); + + /** + * + * + *
+   * Okta settings.
+   * 
+ * + * .google.cloud.chronicle.v1.OktaSettings okta_settings = 17; + */ + com.google.cloud.chronicle.v1.OktaSettingsOrBuilder getOktaSettingsOrBuilder(); + + /** + * + * + *
+   * Okta user context settings.
+   * 
+ * + * .google.cloud.chronicle.v1.OktaUserContextSettings okta_user_context_settings = 18; + * + * + * @return Whether the oktaUserContextSettings field is set. + */ + boolean hasOktaUserContextSettings(); + + /** + * + * + *
+   * Okta user context settings.
+   * 
+ * + * .google.cloud.chronicle.v1.OktaUserContextSettings okta_user_context_settings = 18; + * + * + * @return The oktaUserContextSettings. + */ + com.google.cloud.chronicle.v1.OktaUserContextSettings getOktaUserContextSettings(); + + /** + * + * + *
+   * Okta user context settings.
+   * 
+ * + * .google.cloud.chronicle.v1.OktaUserContextSettings okta_user_context_settings = 18; + * + */ + com.google.cloud.chronicle.v1.OktaUserContextSettingsOrBuilder + getOktaUserContextSettingsOrBuilder(); + + /** + * + * + *
+   * Fox-IT STIX settings.
+   * 
+ * + * .google.cloud.chronicle.v1.FoxITStixSettings fox_it_stix_settings = 19; + * + * @return Whether the foxItStixSettings field is set. + */ + boolean hasFoxItStixSettings(); + + /** + * + * + *
+   * Fox-IT STIX settings.
+   * 
+ * + * .google.cloud.chronicle.v1.FoxITStixSettings fox_it_stix_settings = 19; + * + * @return The foxItStixSettings. + */ + com.google.cloud.chronicle.v1.FoxITStixSettings getFoxItStixSettings(); + + /** + * + * + *
+   * Fox-IT STIX settings.
+   * 
+ * + * .google.cloud.chronicle.v1.FoxITStixSettings fox_it_stix_settings = 19; + */ + com.google.cloud.chronicle.v1.FoxITStixSettingsOrBuilder getFoxItStixSettingsOrBuilder(); + + /** + * + * + *
+   * ThreatConnect IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ThreatConnectIoCSettings threat_connect_ioc_settings = 20; + * + * + * @return Whether the threatConnectIocSettings field is set. + */ + boolean hasThreatConnectIocSettings(); + + /** + * + * + *
+   * ThreatConnect IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ThreatConnectIoCSettings threat_connect_ioc_settings = 20; + * + * + * @return The threatConnectIocSettings. + */ + com.google.cloud.chronicle.v1.ThreatConnectIoCSettings getThreatConnectIocSettings(); + + /** + * + * + *
+   * ThreatConnect IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ThreatConnectIoCSettings threat_connect_ioc_settings = 20; + * + */ + com.google.cloud.chronicle.v1.ThreatConnectIoCSettingsOrBuilder + getThreatConnectIocSettingsOrBuilder(); + + /** + * + * + *
+   * ServiceNow CMDB settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ServiceNowCMDBSettings service_now_cmdb_settings = 21; + * + * @return Whether the serviceNowCmdbSettings field is set. + */ + boolean hasServiceNowCmdbSettings(); + + /** + * + * + *
+   * ServiceNow CMDB settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ServiceNowCMDBSettings service_now_cmdb_settings = 21; + * + * @return The serviceNowCmdbSettings. + */ + com.google.cloud.chronicle.v1.ServiceNowCMDBSettings getServiceNowCmdbSettings(); + + /** + * + * + *
+   * ServiceNow CMDB settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ServiceNowCMDBSettings service_now_cmdb_settings = 21; + */ + com.google.cloud.chronicle.v1.ServiceNowCMDBSettingsOrBuilder + getServiceNowCmdbSettingsOrBuilder(); + + /** + * + * + *
+   * Imperva WAF settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ImpervaWAFSettings imperva_waf_settings = 22; + * + * @return Whether the impervaWafSettings field is set. + */ + boolean hasImpervaWafSettings(); + + /** + * + * + *
+   * Imperva WAF settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ImpervaWAFSettings imperva_waf_settings = 22; + * + * @return The impervaWafSettings. + */ + com.google.cloud.chronicle.v1.ImpervaWAFSettings getImpervaWafSettings(); + + /** + * + * + *
+   * Imperva WAF settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ImpervaWAFSettings imperva_waf_settings = 22; + */ + com.google.cloud.chronicle.v1.ImpervaWAFSettingsOrBuilder getImpervaWafSettingsOrBuilder(); + + /** + * + * + *
+   * Thinkst Canary settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ThinkstCanarySettings thinkst_canary_settings = 23; + * + * @return Whether the thinkstCanarySettings field is set. + */ + boolean hasThinkstCanarySettings(); + + /** + * + * + *
+   * Thinkst Canary settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ThinkstCanarySettings thinkst_canary_settings = 23; + * + * @return The thinkstCanarySettings. + */ + com.google.cloud.chronicle.v1.ThinkstCanarySettings getThinkstCanarySettings(); + + /** + * + * + *
+   * Thinkst Canary settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ThinkstCanarySettings thinkst_canary_settings = 23; + */ + com.google.cloud.chronicle.v1.ThinkstCanarySettingsOrBuilder getThinkstCanarySettingsOrBuilder(); + + /** + * + * + *
+   * RH-ISAC IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.RHIsacIocSettings rh_isac_ioc_settings = 24; + * + * @return Whether the rhIsacIocSettings field is set. + */ + boolean hasRhIsacIocSettings(); + + /** + * + * + *
+   * RH-ISAC IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.RHIsacIocSettings rh_isac_ioc_settings = 24; + * + * @return The rhIsacIocSettings. + */ + com.google.cloud.chronicle.v1.RHIsacIocSettings getRhIsacIocSettings(); + + /** + * + * + *
+   * RH-ISAC IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.RHIsacIocSettings rh_isac_ioc_settings = 24; + */ + com.google.cloud.chronicle.v1.RHIsacIocSettingsOrBuilder getRhIsacIocSettingsOrBuilder(); + + /** + * + * + *
+   * Rapid7 Insight settings.
+   * 
+ * + * .google.cloud.chronicle.v1.Rapid7InsightSettings rapid7_insight_settings = 25; + * + * @return Whether the rapid7InsightSettings field is set. + */ + boolean hasRapid7InsightSettings(); + + /** + * + * + *
+   * Rapid7 Insight settings.
+   * 
+ * + * .google.cloud.chronicle.v1.Rapid7InsightSettings rapid7_insight_settings = 25; + * + * @return The rapid7InsightSettings. + */ + com.google.cloud.chronicle.v1.Rapid7InsightSettings getRapid7InsightSettings(); + + /** + * + * + *
+   * Rapid7 Insight settings.
+   * 
+ * + * .google.cloud.chronicle.v1.Rapid7InsightSettings rapid7_insight_settings = 25; + */ + com.google.cloud.chronicle.v1.Rapid7InsightSettingsOrBuilder getRapid7InsightSettingsOrBuilder(); + + /** + * + * + *
+   * Salesforce settings.
+   * 
+ * + * .google.cloud.chronicle.v1.SalesforceSettings salesforce_settings = 26; + * + * @return Whether the salesforceSettings field is set. + */ + boolean hasSalesforceSettings(); + + /** + * + * + *
+   * Salesforce settings.
+   * 
+ * + * .google.cloud.chronicle.v1.SalesforceSettings salesforce_settings = 26; + * + * @return The salesforceSettings. + */ + com.google.cloud.chronicle.v1.SalesforceSettings getSalesforceSettings(); + + /** + * + * + *
+   * Salesforce settings.
+   * 
+ * + * .google.cloud.chronicle.v1.SalesforceSettings salesforce_settings = 26; + */ + com.google.cloud.chronicle.v1.SalesforceSettingsOrBuilder getSalesforceSettingsOrBuilder(); + + /** + * + * + *
+   * Netskope alert settings.
+   * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertSettings netskope_alert_settings = 27; + * + * @return Whether the netskopeAlertSettings field is set. + */ + boolean hasNetskopeAlertSettings(); + + /** + * + * + *
+   * Netskope alert settings.
+   * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertSettings netskope_alert_settings = 27; + * + * @return The netskopeAlertSettings. + */ + com.google.cloud.chronicle.v1.NetskopeAlertSettings getNetskopeAlertSettings(); + + /** + * + * + *
+   * Netskope alert settings.
+   * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertSettings netskope_alert_settings = 27; + */ + com.google.cloud.chronicle.v1.NetskopeAlertSettingsOrBuilder getNetskopeAlertSettingsOrBuilder(); + + /** + * + * + *
+   * Azure MDM Intune settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureMDMIntuneSettings azure_mdm_intune_settings = 28; + * + * @return Whether the azureMdmIntuneSettings field is set. + */ + boolean hasAzureMdmIntuneSettings(); + + /** + * + * + *
+   * Azure MDM Intune settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureMDMIntuneSettings azure_mdm_intune_settings = 28; + * + * @return The azureMdmIntuneSettings. + */ + com.google.cloud.chronicle.v1.AzureMDMIntuneSettings getAzureMdmIntuneSettings(); + + /** + * + * + *
+   * Azure MDM Intune settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureMDMIntuneSettings azure_mdm_intune_settings = 28; + */ + com.google.cloud.chronicle.v1.AzureMDMIntuneSettingsOrBuilder + getAzureMdmIntuneSettingsOrBuilder(); + + /** + * + * + *
+   * Azure AD settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureADSettings azure_ad_settings = 29; + * + * @return Whether the azureAdSettings field is set. + */ + boolean hasAzureAdSettings(); + + /** + * + * + *
+   * Azure AD settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureADSettings azure_ad_settings = 29; + * + * @return The azureAdSettings. + */ + com.google.cloud.chronicle.v1.AzureADSettings getAzureAdSettings(); + + /** + * + * + *
+   * Azure AD settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureADSettings azure_ad_settings = 29; + */ + com.google.cloud.chronicle.v1.AzureADSettingsOrBuilder getAzureAdSettingsOrBuilder(); + + /** + * + * + *
+   * Proofpoint On-Demand settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ProofpointOnDemandSettings proofpoint_on_demand_settings = 30; + * + * + * @return Whether the proofpointOnDemandSettings field is set. + */ + boolean hasProofpointOnDemandSettings(); + + /** + * + * + *
+   * Proofpoint On-Demand settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ProofpointOnDemandSettings proofpoint_on_demand_settings = 30; + * + * + * @return The proofpointOnDemandSettings. + */ + com.google.cloud.chronicle.v1.ProofpointOnDemandSettings getProofpointOnDemandSettings(); + + /** + * + * + *
+   * Proofpoint On-Demand settings.
+   * 
+ * + * .google.cloud.chronicle.v1.ProofpointOnDemandSettings proofpoint_on_demand_settings = 30; + * + */ + com.google.cloud.chronicle.v1.ProofpointOnDemandSettingsOrBuilder + getProofpointOnDemandSettingsOrBuilder(); + + /** + * + * + *
+   * Workspace users settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceUsersSettings workspace_users_settings = 31; + * + * @return Whether the workspaceUsersSettings field is set. + */ + boolean hasWorkspaceUsersSettings(); + + /** + * + * + *
+   * Workspace users settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceUsersSettings workspace_users_settings = 31; + * + * @return The workspaceUsersSettings. + */ + com.google.cloud.chronicle.v1.WorkspaceUsersSettings getWorkspaceUsersSettings(); + + /** + * + * + *
+   * Workspace users settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceUsersSettings workspace_users_settings = 31; + */ + com.google.cloud.chronicle.v1.WorkspaceUsersSettingsOrBuilder + getWorkspaceUsersSettingsOrBuilder(); + + /** + * + * + *
+   * Workspace activity settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceActivitySettings workspace_activity_settings = 32; + * + * + * @return Whether the workspaceActivitySettings field is set. + */ + boolean hasWorkspaceActivitySettings(); + + /** + * + * + *
+   * Workspace activity settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceActivitySettings workspace_activity_settings = 32; + * + * + * @return The workspaceActivitySettings. + */ + com.google.cloud.chronicle.v1.WorkspaceActivitySettings getWorkspaceActivitySettings(); + + /** + * + * + *
+   * Workspace activity settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceActivitySettings workspace_activity_settings = 32; + * + */ + com.google.cloud.chronicle.v1.WorkspaceActivitySettingsOrBuilder + getWorkspaceActivitySettingsOrBuilder(); + + /** + * + * + *
+   * Workspace alerts settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceAlertsSettings workspace_alerts_settings = 33; + * + * @return Whether the workspaceAlertsSettings field is set. + */ + boolean hasWorkspaceAlertsSettings(); + + /** + * + * + *
+   * Workspace alerts settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceAlertsSettings workspace_alerts_settings = 33; + * + * @return The workspaceAlertsSettings. + */ + com.google.cloud.chronicle.v1.WorkspaceAlertsSettings getWorkspaceAlertsSettings(); + + /** + * + * + *
+   * Workspace alerts settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceAlertsSettings workspace_alerts_settings = 33; + */ + com.google.cloud.chronicle.v1.WorkspaceAlertsSettingsOrBuilder + getWorkspaceAlertsSettingsOrBuilder(); + + /** + * + * + *
+   * Workspace privileges settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.WorkspacePrivilegesSettings workspace_privileges_settings = 34; + * + * + * @return Whether the workspacePrivilegesSettings field is set. + */ + boolean hasWorkspacePrivilegesSettings(); + + /** + * + * + *
+   * Workspace privileges settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.WorkspacePrivilegesSettings workspace_privileges_settings = 34; + * + * + * @return The workspacePrivilegesSettings. + */ + com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings getWorkspacePrivilegesSettings(); + + /** + * + * + *
+   * Workspace privileges settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.WorkspacePrivilegesSettings workspace_privileges_settings = 34; + * + */ + com.google.cloud.chronicle.v1.WorkspacePrivilegesSettingsOrBuilder + getWorkspacePrivilegesSettingsOrBuilder(); + + /** + * + * + *
+   * Workspace mobile settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceMobileSettings workspace_mobile_settings = 35; + * + * @return Whether the workspaceMobileSettings field is set. + */ + boolean hasWorkspaceMobileSettings(); + + /** + * + * + *
+   * Workspace mobile settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceMobileSettings workspace_mobile_settings = 35; + * + * @return The workspaceMobileSettings. + */ + com.google.cloud.chronicle.v1.WorkspaceMobileSettings getWorkspaceMobileSettings(); + + /** + * + * + *
+   * Workspace mobile settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceMobileSettings workspace_mobile_settings = 35; + */ + com.google.cloud.chronicle.v1.WorkspaceMobileSettingsOrBuilder + getWorkspaceMobileSettingsOrBuilder(); + + /** + * + * + *
+   * Workspace ChromeOS settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceChromeOSSettings workspace_chrome_os_settings = 36; + * + * + * @return Whether the workspaceChromeOsSettings field is set. + */ + boolean hasWorkspaceChromeOsSettings(); + + /** + * + * + *
+   * Workspace ChromeOS settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceChromeOSSettings workspace_chrome_os_settings = 36; + * + * + * @return The workspaceChromeOsSettings. + */ + com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings getWorkspaceChromeOsSettings(); + + /** + * + * + *
+   * Workspace ChromeOS settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceChromeOSSettings workspace_chrome_os_settings = 36; + * + */ + com.google.cloud.chronicle.v1.WorkspaceChromeOSSettingsOrBuilder + getWorkspaceChromeOsSettingsOrBuilder(); + + /** + * + * + *
+   * Workspace Groups settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceGroupsSettings workspace_groups_settings = 37; + * + * @return Whether the workspaceGroupsSettings field is set. + */ + boolean hasWorkspaceGroupsSettings(); + + /** + * + * + *
+   * Workspace Groups settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceGroupsSettings workspace_groups_settings = 37; + * + * @return The workspaceGroupsSettings. + */ + com.google.cloud.chronicle.v1.WorkspaceGroupsSettings getWorkspaceGroupsSettings(); + + /** + * + * + *
+   * Workspace Groups settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WorkspaceGroupsSettings workspace_groups_settings = 37; + */ + com.google.cloud.chronicle.v1.WorkspaceGroupsSettingsOrBuilder + getWorkspaceGroupsSettingsOrBuilder(); + + /** + * + * + *
+   * Azure AD Audit settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureADAuditSettings azure_ad_audit_settings = 38; + * + * @return Whether the azureAdAuditSettings field is set. + */ + boolean hasAzureAdAuditSettings(); + + /** + * + * + *
+   * Azure AD Audit settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureADAuditSettings azure_ad_audit_settings = 38; + * + * @return The azureAdAuditSettings. + */ + com.google.cloud.chronicle.v1.AzureADAuditSettings getAzureAdAuditSettings(); + + /** + * + * + *
+   * Azure AD Audit settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureADAuditSettings azure_ad_audit_settings = 38; + */ + com.google.cloud.chronicle.v1.AzureADAuditSettingsOrBuilder getAzureAdAuditSettingsOrBuilder(); + + /** + * + * + *
+   * Symantec Event Export settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SymantecEventExportSettings symantec_event_export_settings = 39; + * + * + * @return Whether the symantecEventExportSettings field is set. + */ + boolean hasSymantecEventExportSettings(); + + /** + * + * + *
+   * Symantec Event Export settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SymantecEventExportSettings symantec_event_export_settings = 39; + * + * + * @return The symantecEventExportSettings. + */ + com.google.cloud.chronicle.v1.SymantecEventExportSettings getSymantecEventExportSettings(); + + /** + * + * + *
+   * Symantec Event Export settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SymantecEventExportSettings symantec_event_export_settings = 39; + * + */ + com.google.cloud.chronicle.v1.SymantecEventExportSettingsOrBuilder + getSymantecEventExportSettingsOrBuilder(); + + /** + * + * + *
+   * Qualys VM settings
+   * 
+ * + * .google.cloud.chronicle.v1.QualysVMSettings qualys_vm_settings = 40; + * + * @return Whether the qualysVmSettings field is set. + */ + boolean hasQualysVmSettings(); + + /** + * + * + *
+   * Qualys VM settings
+   * 
+ * + * .google.cloud.chronicle.v1.QualysVMSettings qualys_vm_settings = 40; + * + * @return The qualysVmSettings. + */ + com.google.cloud.chronicle.v1.QualysVMSettings getQualysVmSettings(); + + /** + * + * + *
+   * Qualys VM settings
+   * 
+ * + * .google.cloud.chronicle.v1.QualysVMSettings qualys_vm_settings = 40; + */ + com.google.cloud.chronicle.v1.QualysVMSettingsOrBuilder getQualysVmSettingsOrBuilder(); + + /** + * + * + *
+   * PAN Prisma Cloud settings.
+   * 
+ * + * .google.cloud.chronicle.v1.PanPrismaCloudSettings pan_prisma_cloud_settings = 41; + * + * @return Whether the panPrismaCloudSettings field is set. + */ + boolean hasPanPrismaCloudSettings(); + + /** + * + * + *
+   * PAN Prisma Cloud settings.
+   * 
+ * + * .google.cloud.chronicle.v1.PanPrismaCloudSettings pan_prisma_cloud_settings = 41; + * + * @return The panPrismaCloudSettings. + */ + com.google.cloud.chronicle.v1.PanPrismaCloudSettings getPanPrismaCloudSettings(); + + /** + * + * + *
+   * PAN Prisma Cloud settings.
+   * 
+ * + * .google.cloud.chronicle.v1.PanPrismaCloudSettings pan_prisma_cloud_settings = 41; + */ + com.google.cloud.chronicle.v1.PanPrismaCloudSettingsOrBuilder + getPanPrismaCloudSettingsOrBuilder(); + + /** + * + * + *
+   * Google Cloud Storage settings.
+   * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageSettings gcs_settings = 42; + * + * @return Whether the gcsSettings field is set. + */ + boolean hasGcsSettings(); + + /** + * + * + *
+   * Google Cloud Storage settings.
+   * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageSettings gcs_settings = 42; + * + * @return The gcsSettings. + */ + com.google.cloud.chronicle.v1.GoogleCloudStorageSettings getGcsSettings(); + + /** + * + * + *
+   * Google Cloud Storage settings.
+   * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageSettings gcs_settings = 42; + */ + com.google.cloud.chronicle.v1.GoogleCloudStorageSettingsOrBuilder getGcsSettingsOrBuilder(); + + /** + * + * + *
+   * HTTP settings.
+   * 
+ * + * .google.cloud.chronicle.v1.HttpSettings http_settings = 43; + * + * @return Whether the httpSettings field is set. + */ + boolean hasHttpSettings(); + + /** + * + * + *
+   * HTTP settings.
+   * 
+ * + * .google.cloud.chronicle.v1.HttpSettings http_settings = 43; + * + * @return The httpSettings. + */ + com.google.cloud.chronicle.v1.HttpSettings getHttpSettings(); + + /** + * + * + *
+   * HTTP settings.
+   * 
+ * + * .google.cloud.chronicle.v1.HttpSettings http_settings = 43; + */ + com.google.cloud.chronicle.v1.HttpSettingsOrBuilder getHttpSettingsOrBuilder(); + + /** + * + * + *
+   * SFTP settings.
+   * 
+ * + * .google.cloud.chronicle.v1.SftpSettings sftp_settings = 44; + * + * @return Whether the sftpSettings field is set. + */ + boolean hasSftpSettings(); + + /** + * + * + *
+   * SFTP settings.
+   * 
+ * + * .google.cloud.chronicle.v1.SftpSettings sftp_settings = 44; + * + * @return The sftpSettings. + */ + com.google.cloud.chronicle.v1.SftpSettings getSftpSettings(); + + /** + * + * + *
+   * SFTP settings.
+   * 
+ * + * .google.cloud.chronicle.v1.SftpSettings sftp_settings = 44; + */ + com.google.cloud.chronicle.v1.SftpSettingsOrBuilder getSftpSettingsOrBuilder(); + + /** + * + * + *
+   * Amazon S3 settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AmazonS3Settings amazon_s3_settings = 45; + * + * @return Whether the amazonS3Settings field is set. + */ + boolean hasAmazonS3Settings(); + + /** + * + * + *
+   * Amazon S3 settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AmazonS3Settings amazon_s3_settings = 45; + * + * @return The amazonS3Settings. + */ + com.google.cloud.chronicle.v1.AmazonS3Settings getAmazonS3Settings(); + + /** + * + * + *
+   * Amazon S3 settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AmazonS3Settings amazon_s3_settings = 45; + */ + com.google.cloud.chronicle.v1.AmazonS3SettingsOrBuilder getAmazonS3SettingsOrBuilder(); + + /** + * + * + *
+   * Azure Blob Storage settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreSettings azure_blob_store_settings = 46; + * + * @return Whether the azureBlobStoreSettings field is set. + */ + boolean hasAzureBlobStoreSettings(); + + /** + * + * + *
+   * Azure Blob Storage settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreSettings azure_blob_store_settings = 46; + * + * @return The azureBlobStoreSettings. + */ + com.google.cloud.chronicle.v1.AzureBlobStoreSettings getAzureBlobStoreSettings(); + + /** + * + * + *
+   * Azure Blob Storage settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreSettings azure_blob_store_settings = 46; + */ + com.google.cloud.chronicle.v1.AzureBlobStoreSettingsOrBuilder + getAzureBlobStoreSettingsOrBuilder(); + + /** + * + * + *
+   * Amazon SQS settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSSettings amazon_sqs_settings = 47; + * + * @return Whether the amazonSqsSettings field is set. + */ + boolean hasAmazonSqsSettings(); + + /** + * + * + *
+   * Amazon SQS settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSSettings amazon_sqs_settings = 47; + * + * @return The amazonSqsSettings. + */ + com.google.cloud.chronicle.v1.AmazonSQSSettings getAmazonSqsSettings(); + + /** + * + * + *
+   * Amazon SQS settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSSettings amazon_sqs_settings = 47; + */ + com.google.cloud.chronicle.v1.AmazonSQSSettingsOrBuilder getAmazonSqsSettingsOrBuilder(); + + /** + * + * + *
+   * Google Cloud Identity Devices settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings google_cloud_identity_devices_settings = 48; + * + * + * @return Whether the googleCloudIdentityDevicesSettings field is set. + */ + boolean hasGoogleCloudIdentityDevicesSettings(); + + /** + * + * + *
+   * Google Cloud Identity Devices settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings google_cloud_identity_devices_settings = 48; + * + * + * @return The googleCloudIdentityDevicesSettings. + */ + com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings + getGoogleCloudIdentityDevicesSettings(); + + /** + * + * + *
+   * Google Cloud Identity Devices settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings google_cloud_identity_devices_settings = 48; + * + */ + com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettingsOrBuilder + getGoogleCloudIdentityDevicesSettingsOrBuilder(); + + /** + * + * + *
+   * Google Cloud Identity Device Users settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings google_cloud_identity_device_users_settings = 49; + * + * + * @return Whether the googleCloudIdentityDeviceUsersSettings field is set. + */ + boolean hasGoogleCloudIdentityDeviceUsersSettings(); + + /** + * + * + *
+   * Google Cloud Identity Device Users settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings google_cloud_identity_device_users_settings = 49; + * + * + * @return The googleCloudIdentityDeviceUsersSettings. + */ + com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings + getGoogleCloudIdentityDeviceUsersSettings(); + + /** + * + * + *
+   * Google Cloud Identity Device Users settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings google_cloud_identity_device_users_settings = 49; + * + */ + com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettingsOrBuilder + getGoogleCloudIdentityDeviceUsersSettingsOrBuilder(); + + /** + * + * + *
+   * CrowdStrike Detects API settings.
+   * 
+ * + * .google.cloud.chronicle.v1.CrowdStrikeDetectsSettings crowdstrike_detects_settings = 50; + * + * + * @return Whether the crowdstrikeDetectsSettings field is set. + */ + boolean hasCrowdstrikeDetectsSettings(); + + /** + * + * + *
+   * CrowdStrike Detects API settings.
+   * 
+ * + * .google.cloud.chronicle.v1.CrowdStrikeDetectsSettings crowdstrike_detects_settings = 50; + * + * + * @return The crowdstrikeDetectsSettings. + */ + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettings getCrowdstrikeDetectsSettings(); + + /** + * + * + *
+   * CrowdStrike Detects API settings.
+   * 
+ * + * .google.cloud.chronicle.v1.CrowdStrikeDetectsSettings crowdstrike_detects_settings = 50; + * + */ + com.google.cloud.chronicle.v1.CrowdStrikeDetectsSettingsOrBuilder + getCrowdstrikeDetectsSettingsOrBuilder(); + + /** + * + * + *
+   * Mandiant IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.MandiantIoCSettings mandiant_ioc_settings = 53; + * + * @return Whether the mandiantIocSettings field is set. + */ + boolean hasMandiantIocSettings(); + + /** + * + * + *
+   * Mandiant IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.MandiantIoCSettings mandiant_ioc_settings = 53; + * + * @return The mandiantIocSettings. + */ + com.google.cloud.chronicle.v1.MandiantIoCSettings getMandiantIocSettings(); + + /** + * + * + *
+   * Mandiant IOC settings.
+   * 
+ * + * .google.cloud.chronicle.v1.MandiantIoCSettings mandiant_ioc_settings = 53; + */ + com.google.cloud.chronicle.v1.MandiantIoCSettingsOrBuilder getMandiantIocSettingsOrBuilder(); + + /** + * + * + *
+   * SentinelOne Alert settings.
+   * 
+ * + * .google.cloud.chronicle.v1.SentineloneAlertSettings sentinelone_alert_settings = 54; + * + * + * @return Whether the sentineloneAlertSettings field is set. + */ + boolean hasSentineloneAlertSettings(); + + /** + * + * + *
+   * SentinelOne Alert settings.
+   * 
+ * + * .google.cloud.chronicle.v1.SentineloneAlertSettings sentinelone_alert_settings = 54; + * + * + * @return The sentineloneAlertSettings. + */ + com.google.cloud.chronicle.v1.SentineloneAlertSettings getSentineloneAlertSettings(); + + /** + * + * + *
+   * SentinelOne Alert settings.
+   * 
+ * + * .google.cloud.chronicle.v1.SentineloneAlertSettings sentinelone_alert_settings = 54; + * + */ + com.google.cloud.chronicle.v1.SentineloneAlertSettingsOrBuilder + getSentineloneAlertSettingsOrBuilder(); + + /** + * + * + *
+   * Qualys Scan Settings
+   * 
+ * + * .google.cloud.chronicle.v1.QualysScanSettings qualys_scan_settings = 55; + * + * @return Whether the qualysScanSettings field is set. + */ + boolean hasQualysScanSettings(); + + /** + * + * + *
+   * Qualys Scan Settings
+   * 
+ * + * .google.cloud.chronicle.v1.QualysScanSettings qualys_scan_settings = 55; + * + * @return The qualysScanSettings. + */ + com.google.cloud.chronicle.v1.QualysScanSettings getQualysScanSettings(); + + /** + * + * + *
+   * Qualys Scan Settings
+   * 
+ * + * .google.cloud.chronicle.v1.QualysScanSettings qualys_scan_settings = 55; + */ + com.google.cloud.chronicle.v1.QualysScanSettingsOrBuilder getQualysScanSettingsOrBuilder(); + + /** + * + * + *
+   * Pub/Sub settings.
+   * 
+ * + * .google.cloud.chronicle.v1.PubsubSettings pubsub_settings = 56; + * + * @return Whether the pubsubSettings field is set. + */ + boolean hasPubsubSettings(); + + /** + * + * + *
+   * Pub/Sub settings.
+   * 
+ * + * .google.cloud.chronicle.v1.PubsubSettings pubsub_settings = 56; + * + * @return The pubsubSettings. + */ + com.google.cloud.chronicle.v1.PubsubSettings getPubsubSettings(); + + /** + * + * + *
+   * Pub/Sub settings.
+   * 
+ * + * .google.cloud.chronicle.v1.PubsubSettings pubsub_settings = 56; + */ + com.google.cloud.chronicle.v1.PubsubSettingsOrBuilder getPubsubSettingsOrBuilder(); + + /** + * + * + *
+   * Amazon Kinesis Firehose settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings amazon_kinesis_firehose_settings = 57; + * + * + * @return Whether the amazonKinesisFirehoseSettings field is set. + */ + boolean hasAmazonKinesisFirehoseSettings(); + + /** + * + * + *
+   * Amazon Kinesis Firehose settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings amazon_kinesis_firehose_settings = 57; + * + * + * @return The amazonKinesisFirehoseSettings. + */ + com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings getAmazonKinesisFirehoseSettings(); + + /** + * + * + *
+   * Amazon Kinesis Firehose settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AmazonKinesisFirehoseSettings amazon_kinesis_firehose_settings = 57; + * + */ + com.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettingsOrBuilder + getAmazonKinesisFirehoseSettingsOrBuilder(); + + /** + * + * + *
+   * Webhook settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WebhookSettings webhook_settings = 58; + * + * @return Whether the webhookSettings field is set. + */ + boolean hasWebhookSettings(); + + /** + * + * + *
+   * Webhook settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WebhookSettings webhook_settings = 58; + * + * @return The webhookSettings. + */ + com.google.cloud.chronicle.v1.WebhookSettings getWebhookSettings(); + + /** + * + * + *
+   * Webhook settings.
+   * 
+ * + * .google.cloud.chronicle.v1.WebhookSettings webhook_settings = 58; + */ + com.google.cloud.chronicle.v1.WebhookSettingsOrBuilder getWebhookSettingsOrBuilder(); + + /** + * + * + *
+   * DummyLogType Settings.
+   * 
+ * + * .google.cloud.chronicle.v1.DummyLogTypeSettings dummy_log_type_settings = 59; + * + * @return Whether the dummyLogTypeSettings field is set. + */ + boolean hasDummyLogTypeSettings(); + + /** + * + * + *
+   * DummyLogType Settings.
+   * 
+ * + * .google.cloud.chronicle.v1.DummyLogTypeSettings dummy_log_type_settings = 59; + * + * @return The dummyLogTypeSettings. + */ + com.google.cloud.chronicle.v1.DummyLogTypeSettings getDummyLogTypeSettings(); + + /** + * + * + *
+   * DummyLogType Settings.
+   * 
+ * + * .google.cloud.chronicle.v1.DummyLogTypeSettings dummy_log_type_settings = 59; + */ + com.google.cloud.chronicle.v1.DummyLogTypeSettingsOrBuilder getDummyLogTypeSettingsOrBuilder(); + + /** + * + * + *
+   * Https push Google Pub/Sub settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings https_push_google_cloud_pubsub_settings = 60; + * + * + * @return Whether the httpsPushGoogleCloudPubsubSettings field is set. + */ + boolean hasHttpsPushGoogleCloudPubsubSettings(); + + /** + * + * + *
+   * Https push Google Pub/Sub settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings https_push_google_cloud_pubsub_settings = 60; + * + * + * @return The httpsPushGoogleCloudPubsubSettings. + */ + com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings + getHttpsPushGoogleCloudPubsubSettings(); + + /** + * + * + *
+   * Https push Google Pub/Sub settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings https_push_google_cloud_pubsub_settings = 60; + * + */ + com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettingsOrBuilder + getHttpsPushGoogleCloudPubsubSettingsOrBuilder(); + + /** + * + * + *
+   * Https push Amazon Kinesis Firehose settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings https_push_amazon_kinesis_firehose_settings = 61; + * + * + * @return Whether the httpsPushAmazonKinesisFirehoseSettings field is set. + */ + boolean hasHttpsPushAmazonKinesisFirehoseSettings(); + + /** + * + * + *
+   * Https push Amazon Kinesis Firehose settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings https_push_amazon_kinesis_firehose_settings = 61; + * + * + * @return The httpsPushAmazonKinesisFirehoseSettings. + */ + com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings + getHttpsPushAmazonKinesisFirehoseSettings(); + + /** + * + * + *
+   * Https push Amazon Kinesis Firehose settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings https_push_amazon_kinesis_firehose_settings = 61; + * + */ + com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettingsOrBuilder + getHttpsPushAmazonKinesisFirehoseSettingsOrBuilder(); + + /** + * + * + *
+   * Https push Webhook settings.
+   * 
+ * + * .google.cloud.chronicle.v1.HttpsPushWebhookSettings https_push_webhook_settings = 62; + * + * + * @return Whether the httpsPushWebhookSettings field is set. + */ + boolean hasHttpsPushWebhookSettings(); + + /** + * + * + *
+   * Https push Webhook settings.
+   * 
+ * + * .google.cloud.chronicle.v1.HttpsPushWebhookSettings https_push_webhook_settings = 62; + * + * + * @return The httpsPushWebhookSettings. + */ + com.google.cloud.chronicle.v1.HttpsPushWebhookSettings getHttpsPushWebhookSettings(); + + /** + * + * + *
+   * Https push Webhook settings.
+   * 
+ * + * .google.cloud.chronicle.v1.HttpsPushWebhookSettings https_push_webhook_settings = 62; + * + */ + com.google.cloud.chronicle.v1.HttpsPushWebhookSettingsOrBuilder + getHttpsPushWebhookSettingsOrBuilder(); + + /** + * + * + *
+   * AWS EC2 Hosts settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSEC2HostsSettings aws_ec2_hosts_settings = 63; + * + * @return Whether the awsEc2HostsSettings field is set. + */ + boolean hasAwsEc2HostsSettings(); + + /** + * + * + *
+   * AWS EC2 Hosts settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSEC2HostsSettings aws_ec2_hosts_settings = 63; + * + * @return The awsEc2HostsSettings. + */ + com.google.cloud.chronicle.v1.AWSEC2HostsSettings getAwsEc2HostsSettings(); + + /** + * + * + *
+   * AWS EC2 Hosts settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSEC2HostsSettings aws_ec2_hosts_settings = 63; + */ + com.google.cloud.chronicle.v1.AWSEC2HostsSettingsOrBuilder getAwsEc2HostsSettingsOrBuilder(); + + /** + * + * + *
+   * AWS EC2 Instances settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSEC2InstancesSettings aws_ec2_instances_settings = 64; + * + * + * @return Whether the awsEc2InstancesSettings field is set. + */ + boolean hasAwsEc2InstancesSettings(); + + /** + * + * + *
+   * AWS EC2 Instances settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSEC2InstancesSettings aws_ec2_instances_settings = 64; + * + * + * @return The awsEc2InstancesSettings. + */ + com.google.cloud.chronicle.v1.AWSEC2InstancesSettings getAwsEc2InstancesSettings(); + + /** + * + * + *
+   * AWS EC2 Instances settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSEC2InstancesSettings aws_ec2_instances_settings = 64; + * + */ + com.google.cloud.chronicle.v1.AWSEC2InstancesSettingsOrBuilder + getAwsEc2InstancesSettingsOrBuilder(); + + /** + * + * + *
+   * AWS EC2 Vpcs settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSEC2VpcsSettings aws_ec2_vpcs_settings = 65; + * + * @return Whether the awsEc2VpcsSettings field is set. + */ + boolean hasAwsEc2VpcsSettings(); + + /** + * + * + *
+   * AWS EC2 Vpcs settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSEC2VpcsSettings aws_ec2_vpcs_settings = 65; + * + * @return The awsEc2VpcsSettings. + */ + com.google.cloud.chronicle.v1.AWSEC2VpcsSettings getAwsEc2VpcsSettings(); + + /** + * + * + *
+   * AWS EC2 Vpcs settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSEC2VpcsSettings aws_ec2_vpcs_settings = 65; + */ + com.google.cloud.chronicle.v1.AWSEC2VpcsSettingsOrBuilder getAwsEc2VpcsSettingsOrBuilder(); + + /** + * + * + *
+   * AWS IAM settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSIAMSettings aws_iam_settings = 66; + * + * @return Whether the awsIamSettings field is set. + */ + boolean hasAwsIamSettings(); + + /** + * + * + *
+   * AWS IAM settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSIAMSettings aws_iam_settings = 66; + * + * @return The awsIamSettings. + */ + com.google.cloud.chronicle.v1.AWSIAMSettings getAwsIamSettings(); + + /** + * + * + *
+   * AWS IAM settings.
+   * 
+ * + * .google.cloud.chronicle.v1.AWSIAMSettings aws_iam_settings = 66; + */ + com.google.cloud.chronicle.v1.AWSIAMSettingsOrBuilder getAwsIamSettingsOrBuilder(); + + /** + * + * + *
+   * Netskope alert V2 settings.
+   * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertV2Settings netskope_alert_v2_settings = 70; + * + * + * @return Whether the netskopeAlertV2Settings field is set. + */ + boolean hasNetskopeAlertV2Settings(); + + /** + * + * + *
+   * Netskope alert V2 settings.
+   * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertV2Settings netskope_alert_v2_settings = 70; + * + * + * @return The netskopeAlertV2Settings. + */ + com.google.cloud.chronicle.v1.NetskopeAlertV2Settings getNetskopeAlertV2Settings(); + + /** + * + * + *
+   * Netskope alert V2 settings.
+   * 
+ * + * .google.cloud.chronicle.v1.NetskopeAlertV2Settings netskope_alert_v2_settings = 70; + * + */ + com.google.cloud.chronicle.v1.NetskopeAlertV2SettingsOrBuilder + getNetskopeAlertV2SettingsOrBuilder(); + + /** + * + * + *
+   * Settings for Google Cloud Storage Omniflow feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageV2Settings gcs_v2_settings = 71; + * + * @return Whether the gcsV2Settings field is set. + */ + boolean hasGcsV2Settings(); + + /** + * + * + *
+   * Settings for Google Cloud Storage Omniflow feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageV2Settings gcs_v2_settings = 71; + * + * @return The gcsV2Settings. + */ + com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings getGcsV2Settings(); + + /** + * + * + *
+   * Settings for Google Cloud Storage Omniflow feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.GoogleCloudStorageV2Settings gcs_v2_settings = 71; + */ + com.google.cloud.chronicle.v1.GoogleCloudStorageV2SettingsOrBuilder getGcsV2SettingsOrBuilder(); + + /** + * + * + *
+   * Settings for S3 Omniflow feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.AmazonS3V2Settings amazon_s3_v2_settings = 72; + * + * @return Whether the amazonS3V2Settings field is set. + */ + boolean hasAmazonS3V2Settings(); + + /** + * + * + *
+   * Settings for S3 Omniflow feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.AmazonS3V2Settings amazon_s3_v2_settings = 72; + * + * @return The amazonS3V2Settings. + */ + com.google.cloud.chronicle.v1.AmazonS3V2Settings getAmazonS3V2Settings(); + + /** + * + * + *
+   * Settings for S3 Omniflow feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.AmazonS3V2Settings amazon_s3_v2_settings = 72; + */ + com.google.cloud.chronicle.v1.AmazonS3V2SettingsOrBuilder getAmazonS3V2SettingsOrBuilder(); + + /** + * + * + *
+   * Settings for SQS Omniflow feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSV2Settings amazon_sqs_v2_settings = 73; + * + * @return Whether the amazonSqsV2Settings field is set. + */ + boolean hasAmazonSqsV2Settings(); + + /** + * + * + *
+   * Settings for SQS Omniflow feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSV2Settings amazon_sqs_v2_settings = 73; + * + * @return The amazonSqsV2Settings. + */ + com.google.cloud.chronicle.v1.AmazonSQSV2Settings getAmazonSqsV2Settings(); + + /** + * + * + *
+   * Settings for SQS Omniflow feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.AmazonSQSV2Settings amazon_sqs_v2_settings = 73; + */ + com.google.cloud.chronicle.v1.AmazonSQSV2SettingsOrBuilder getAmazonSqsV2SettingsOrBuilder(); + + /** + * + * + *
+   * Settings for Omniflow based native ingestion from azure event hub.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureEventHubSettings azure_event_hub_settings = 74; + * + * @return Whether the azureEventHubSettings field is set. + */ + boolean hasAzureEventHubSettings(); + + /** + * + * + *
+   * Settings for Omniflow based native ingestion from azure event hub.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureEventHubSettings azure_event_hub_settings = 74; + * + * @return The azureEventHubSettings. + */ + com.google.cloud.chronicle.v1.AzureEventHubSettings getAzureEventHubSettings(); + + /** + * + * + *
+   * Settings for Omniflow based native ingestion from azure event hub.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureEventHubSettings azure_event_hub_settings = 74; + */ + com.google.cloud.chronicle.v1.AzureEventHubSettingsOrBuilder getAzureEventHubSettingsOrBuilder(); + + /** + * + * + *
+   * Settings for Trellix HX Host Metadata.
+   * 
+ * + * .google.cloud.chronicle.v1.TrellixHxHostsSettings trellix_hx_hosts_settings = 75; + * + * @return Whether the trellixHxHostsSettings field is set. + */ + boolean hasTrellixHxHostsSettings(); + + /** + * + * + *
+   * Settings for Trellix HX Host Metadata.
+   * 
+ * + * .google.cloud.chronicle.v1.TrellixHxHostsSettings trellix_hx_hosts_settings = 75; + * + * @return The trellixHxHostsSettings. + */ + com.google.cloud.chronicle.v1.TrellixHxHostsSettings getTrellixHxHostsSettings(); + + /** + * + * + *
+   * Settings for Trellix HX Host Metadata.
+   * 
+ * + * .google.cloud.chronicle.v1.TrellixHxHostsSettings trellix_hx_hosts_settings = 75; + */ + com.google.cloud.chronicle.v1.TrellixHxHostsSettingsOrBuilder + getTrellixHxHostsSettingsOrBuilder(); + + /** + * + * + *
+   * Settings for Azure Blobstore Omniflow feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreV2Settings azure_blob_store_v2_settings = 76; + * + * + * @return Whether the azureBlobStoreV2Settings field is set. + */ + boolean hasAzureBlobStoreV2Settings(); + + /** + * + * + *
+   * Settings for Azure Blobstore Omniflow feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreV2Settings azure_blob_store_v2_settings = 76; + * + * + * @return The azureBlobStoreV2Settings. + */ + com.google.cloud.chronicle.v1.AzureBlobStoreV2Settings getAzureBlobStoreV2Settings(); + + /** + * + * + *
+   * Settings for Azure Blobstore Omniflow feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.AzureBlobStoreV2Settings azure_blob_store_v2_settings = 76; + * + */ + com.google.cloud.chronicle.v1.AzureBlobStoreV2SettingsOrBuilder + getAzureBlobStoreV2SettingsOrBuilder(); + + /** + * + * + *
+   * Settings for Trellix HX Alerts Metadata.
+   * 
+ * + * .google.cloud.chronicle.v1.TrellixHxAlertsSettings trellix_hx_alerts_settings = 77; + * + * + * @return Whether the trellixHxAlertsSettings field is set. + */ + boolean hasTrellixHxAlertsSettings(); + + /** + * + * + *
+   * Settings for Trellix HX Alerts Metadata.
+   * 
+ * + * .google.cloud.chronicle.v1.TrellixHxAlertsSettings trellix_hx_alerts_settings = 77; + * + * + * @return The trellixHxAlertsSettings. + */ + com.google.cloud.chronicle.v1.TrellixHxAlertsSettings getTrellixHxAlertsSettings(); + + /** + * + * + *
+   * Settings for Trellix HX Alerts Metadata.
+   * 
+ * + * .google.cloud.chronicle.v1.TrellixHxAlertsSettings trellix_hx_alerts_settings = 77; + * + */ + com.google.cloud.chronicle.v1.TrellixHxAlertsSettingsOrBuilder + getTrellixHxAlertsSettingsOrBuilder(); + + /** + * + * + *
+   * Settings for Omniflow based Google Cloud Storage event driven feeds.
+   * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings google_cloud_storage_event_driven_settings = 78; + * + * + * @return Whether the googleCloudStorageEventDrivenSettings field is set. + */ + boolean hasGoogleCloudStorageEventDrivenSettings(); + + /** + * + * + *
+   * Settings for Omniflow based Google Cloud Storage event driven feeds.
+   * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings google_cloud_storage_event_driven_settings = 78; + * + * + * @return The googleCloudStorageEventDrivenSettings. + */ + com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings + getGoogleCloudStorageEventDrivenSettings(); + + /** + * + * + *
+   * Settings for Omniflow based Google Cloud Storage event driven feeds.
+   * 
+ * + * + * .google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings google_cloud_storage_event_driven_settings = 78; + * + */ + com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettingsOrBuilder + getGoogleCloudStorageEventDrivenSettingsOrBuilder(); + + /** + * + * + *
+   * CrowdStrike Alerts API settings.
+   * 
+ * + * .google.cloud.chronicle.v1.CrowdStrikeAlertsSettings crowdstrike_alerts_settings = 79; + * + * + * @return Whether the crowdstrikeAlertsSettings field is set. + */ + boolean hasCrowdstrikeAlertsSettings(); + + /** + * + * + *
+   * CrowdStrike Alerts API settings.
+   * 
+ * + * .google.cloud.chronicle.v1.CrowdStrikeAlertsSettings crowdstrike_alerts_settings = 79; + * + * + * @return The crowdstrikeAlertsSettings. + */ + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettings getCrowdstrikeAlertsSettings(); + + /** + * + * + *
+   * CrowdStrike Alerts API settings.
+   * 
+ * + * .google.cloud.chronicle.v1.CrowdStrikeAlertsSettings crowdstrike_alerts_settings = 79; + * + */ + com.google.cloud.chronicle.v1.CrowdStrikeAlertsSettingsOrBuilder + getCrowdstrikeAlertsSettingsOrBuilder(); + + /** + * + * + *
+   * Settings for Trellix HX Bulk Acquisitions Metadata.
+   * 
+ * + * .google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings trellix_hx_bulk_acqs_settings = 80; + * + * + * @return Whether the trellixHxBulkAcqsSettings field is set. + */ + boolean hasTrellixHxBulkAcqsSettings(); + + /** + * + * + *
+   * Settings for Trellix HX Bulk Acquisitions Metadata.
+   * 
+ * + * .google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings trellix_hx_bulk_acqs_settings = 80; + * + * + * @return The trellixHxBulkAcqsSettings. + */ + com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings getTrellixHxBulkAcqsSettings(); + + /** + * + * + *
+   * Settings for Trellix HX Bulk Acquisitions Metadata.
+   * 
+ * + * .google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings trellix_hx_bulk_acqs_settings = 80; + * + */ + com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettingsOrBuilder + getTrellixHxBulkAcqsSettingsOrBuilder(); + + /** + * + * + *
+   * Required. Mimecast mail v2 settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MimecastMailV2Settings mimecast_mail_v2_settings = 82 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the mimecastMailV2Settings field is set. + */ + boolean hasMimecastMailV2Settings(); + + /** + * + * + *
+   * Required. Mimecast mail v2 settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MimecastMailV2Settings mimecast_mail_v2_settings = 82 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The mimecastMailV2Settings. + */ + com.google.cloud.chronicle.v1.MimecastMailV2Settings getMimecastMailV2Settings(); + + /** + * + * + *
+   * Required. Mimecast mail v2 settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MimecastMailV2Settings mimecast_mail_v2_settings = 82 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.chronicle.v1.MimecastMailV2SettingsOrBuilder + getMimecastMailV2SettingsOrBuilder(); + + /** + * + * + *
+   * Threat Connect IOC V3 settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.ThreatConnectIoCV3Settings threat_connect_ioc_v3_settings = 83; + * + * + * @return Whether the threatConnectIocV3Settings field is set. + */ + boolean hasThreatConnectIocV3Settings(); + + /** + * + * + *
+   * Threat Connect IOC V3 settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.ThreatConnectIoCV3Settings threat_connect_ioc_v3_settings = 83; + * + * + * @return The threatConnectIocV3Settings. + */ + com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings getThreatConnectIocV3Settings(); + + /** + * + * + *
+   * Threat Connect IOC V3 settings.
+   * 
+ * + * + * .google.cloud.chronicle.v1.ThreatConnectIoCV3Settings threat_connect_ioc_v3_settings = 83; + * + */ + com.google.cloud.chronicle.v1.ThreatConnectIoCV3SettingsOrBuilder + getThreatConnectIocV3SettingsOrBuilder(); + + /** + * + * + *
+   * Settings for Custom API (Codeless) Feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPISettings custom_api_settings = 85; + * + * @return Whether the customApiSettings field is set. + */ + boolean hasCustomApiSettings(); + + /** + * + * + *
+   * Settings for Custom API (Codeless) Feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPISettings custom_api_settings = 85; + * + * @return The customApiSettings. + */ + com.google.cloud.chronicle.v1.CustomAPISettings getCustomApiSettings(); + + /** + * + * + *
+   * Settings for Custom API (Codeless) Feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.CustomAPISettings custom_api_settings = 85; + */ + com.google.cloud.chronicle.v1.CustomAPISettingsOrBuilder getCustomApiSettingsOrBuilder(); + + /** + * + * + *
+   * Source Type of the feed.
+   * 
+ * + * .google.cloud.chronicle.v1.FeedDetails.FeedSourceType feed_source_type = 1; + * + * @return The enum numeric value on the wire for feedSourceType. + */ + int getFeedSourceTypeValue(); + + /** + * + * + *
+   * Source Type of the feed.
+   * 
+ * + * .google.cloud.chronicle.v1.FeedDetails.FeedSourceType feed_source_type = 1; + * + * @return The feedSourceType. + */ + com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType getFeedSourceType(); + + /** + * + * + *
+   * LogType.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type}
+   * 
+ * + * string log_type = 2 [(.google.api.resource_reference) = { ... } + * + * @return The logType. + */ + java.lang.String getLogType(); + + /** + * + * + *
+   * LogType.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type}
+   * 
+ * + * string log_type = 2 [(.google.api.resource_reference) = { ... } + * + * @return The bytes for logType. + */ + com.google.protobuf.ByteString getLogTypeBytes(); + + /** + * + * + *
+   * The asset namespace to apply to all logs ingested through this feed.
+   * 
+ * + * string asset_namespace = 51; + * + * @return The assetNamespace. + */ + java.lang.String getAssetNamespace(); + + /** + * + * + *
+   * The asset namespace to apply to all logs ingested through this feed.
+   * 
+ * + * string asset_namespace = 51; + * + * @return The bytes for assetNamespace. + */ + com.google.protobuf.ByteString getAssetNamespaceBytes(); + + /** + * + * + *
+   * The ingestion metadata labels to apply to all logs ingested through this
+   * feed, and the resulting normalized data.
+   * 
+ * + * map<string, string> labels = 52; + */ + int getLabelsCount(); + + /** + * + * + *
+   * The ingestion metadata labels to apply to all logs ingested through this
+   * feed, and the resulting normalized data.
+   * 
+ * + * map<string, string> labels = 52; + */ + boolean containsLabels(java.lang.String key); + + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getLabels(); + + /** + * + * + *
+   * The ingestion metadata labels to apply to all logs ingested through this
+   * feed, and the resulting normalized data.
+   * 
+ * + * map<string, string> labels = 52; + */ + java.util.Map getLabelsMap(); + + /** + * + * + *
+   * The ingestion metadata labels to apply to all logs ingested through this
+   * feed, and the resulting normalized data.
+   * 
+ * + * map<string, string> labels = 52; + */ + /* nullable */ + java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); + + /** + * + * + *
+   * The ingestion metadata labels to apply to all logs ingested through this
+   * feed, and the resulting normalized data.
+   * 
+ * + * map<string, string> labels = 52; + */ + java.lang.String getLabelsOrThrow(java.lang.String key); + + /** + * + * + *
+   * Optional. The status of the feed's migration to STS.
+   * 
+ * + * + * .google.cloud.chronicle.v1.FeedDetails.STSMigrationReadiness sts_migration_readiness = 81 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for stsMigrationReadiness. + */ + int getStsMigrationReadinessValue(); + + /** + * + * + *
+   * Optional. The status of the feed's migration to STS.
+   * 
+ * + * + * .google.cloud.chronicle.v1.FeedDetails.STSMigrationReadiness sts_migration_readiness = 81 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The stsMigrationReadiness. + */ + com.google.cloud.chronicle.v1.FeedDetails.STSMigrationReadiness getStsMigrationReadiness(); + + /** + * + * + *
+   * Optional. The time of the last attempt to migrate the feed to STS V2.
+   * 
+ * + * + * .google.protobuf.Timestamp last_v2_migration_attempt_time = 84 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the lastV2MigrationAttemptTime field is set. + */ + boolean hasLastV2MigrationAttemptTime(); + + /** + * + * + *
+   * Optional. The time of the last attempt to migrate the feed to STS V2.
+   * 
+ * + * + * .google.protobuf.Timestamp last_v2_migration_attempt_time = 84 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The lastV2MigrationAttemptTime. + */ + com.google.protobuf.Timestamp getLastV2MigrationAttemptTime(); + + /** + * + * + *
+   * Optional. The time of the last attempt to migrate the feed to STS V2.
+   * 
+ * + * + * .google.protobuf.Timestamp last_v2_migration_attempt_time = 84 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.protobuf.TimestampOrBuilder getLastV2MigrationAttemptTimeOrBuilder(); + + com.google.cloud.chronicle.v1.FeedDetails.DetailsCase getDetailsCase(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedFailureDetails.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedFailureDetails.java new file mode 100644 index 000000000000..1f24e4819007 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedFailureDetails.java @@ -0,0 +1,1100 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * FeedFailureDetails contains details about the errors thrown by chronicle for
+ * the feeds. These are user visible details. These details help user identify
+ * the root cause and take appropriate action for the feed errors.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.FeedFailureDetails} + */ +@com.google.protobuf.Generated +public final class FeedFailureDetails extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.FeedFailureDetails) + FeedFailureDetailsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "FeedFailureDetails"); + } + + // Use FeedFailureDetails.newBuilder() to construct. + private FeedFailureDetails(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private FeedFailureDetails() { + errorCode_ = ""; + errorCause_ = ""; + errorAction_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FeedFailureDetails_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FeedFailureDetails_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.FeedFailureDetails.class, + com.google.cloud.chronicle.v1.FeedFailureDetails.Builder.class); + } + + public static final int ERROR_CODE_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object errorCode_ = ""; + + /** + * + * + *
+   * Output only. error_code contains the error code for the feed. The field is
+   * populated for the feeds with failed status.
+   * 
+ * + * string error_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The errorCode. + */ + @java.lang.Override + public java.lang.String getErrorCode() { + java.lang.Object ref = errorCode_; + 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(); + errorCode_ = s; + return s; + } + } + + /** + * + * + *
+   * Output only. error_code contains the error code for the feed. The field is
+   * populated for the feeds with failed status.
+   * 
+ * + * string error_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for errorCode. + */ + @java.lang.Override + public com.google.protobuf.ByteString getErrorCodeBytes() { + java.lang.Object ref = errorCode_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + errorCode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int HTTP_ERROR_CODE_FIELD_NUMBER = 2; + private int httpErrorCode_ = 0; + + /** + * + * + *
+   * Output only. http_error_code contains the HTTP error code for the feed
+   * failure. feed transfer failure may or may not result in http error code.
+   * 
+ * + * int32 http_error_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The httpErrorCode. + */ + @java.lang.Override + public int getHttpErrorCode() { + return httpErrorCode_; + } + + public static final int ERROR_CAUSE_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object errorCause_ = ""; + + /** + * + * + *
+   * Output only. error_cause contains the information regarding the failure
+   * cause.
+   * 
+ * + * string error_cause = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The errorCause. + */ + @java.lang.Override + public java.lang.String getErrorCause() { + java.lang.Object ref = errorCause_; + 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(); + errorCause_ = s; + return s; + } + } + + /** + * + * + *
+   * Output only. error_cause contains the information regarding the failure
+   * cause.
+   * 
+ * + * string error_cause = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for errorCause. + */ + @java.lang.Override + public com.google.protobuf.ByteString getErrorCauseBytes() { + java.lang.Object ref = errorCause_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + errorCause_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ERROR_ACTION_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object errorAction_ = ""; + + /** + * + * + *
+   * Output only. error_action contains the user action prescribed for
+   * remediation of feed error.
+   * 
+ * + * string error_action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The errorAction. + */ + @java.lang.Override + public java.lang.String getErrorAction() { + java.lang.Object ref = errorAction_; + 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(); + errorAction_ = s; + return s; + } + } + + /** + * + * + *
+   * Output only. error_action contains the user action prescribed for
+   * remediation of feed error.
+   * 
+ * + * string error_action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for errorAction. + */ + @java.lang.Override + public com.google.protobuf.ByteString getErrorActionBytes() { + java.lang.Object ref = errorAction_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + errorAction_ = 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.GeneratedMessage.isStringEmpty(errorCode_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, errorCode_); + } + if (httpErrorCode_ != 0) { + output.writeInt32(2, httpErrorCode_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errorCause_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, errorCause_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errorAction_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, errorAction_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errorCode_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, errorCode_); + } + if (httpErrorCode_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, httpErrorCode_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errorCause_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, errorCause_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errorAction_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, errorAction_); + } + 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.cloud.chronicle.v1.FeedFailureDetails)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.FeedFailureDetails other = + (com.google.cloud.chronicle.v1.FeedFailureDetails) obj; + + if (!getErrorCode().equals(other.getErrorCode())) return false; + if (getHttpErrorCode() != other.getHttpErrorCode()) return false; + if (!getErrorCause().equals(other.getErrorCause())) return false; + if (!getErrorAction().equals(other.getErrorAction())) 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) + ERROR_CODE_FIELD_NUMBER; + hash = (53 * hash) + getErrorCode().hashCode(); + hash = (37 * hash) + HTTP_ERROR_CODE_FIELD_NUMBER; + hash = (53 * hash) + getHttpErrorCode(); + hash = (37 * hash) + ERROR_CAUSE_FIELD_NUMBER; + hash = (53 * hash) + getErrorCause().hashCode(); + hash = (37 * hash) + ERROR_ACTION_FIELD_NUMBER; + hash = (53 * hash) + getErrorAction().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.FeedFailureDetails parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.FeedFailureDetails parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FeedFailureDetails parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.FeedFailureDetails 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.cloud.chronicle.v1.FeedFailureDetails parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.FeedFailureDetails parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FeedFailureDetails parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.FeedFailureDetails parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FeedFailureDetails parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.FeedFailureDetails parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FeedFailureDetails parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.FeedFailureDetails parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.FeedFailureDetails 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * FeedFailureDetails contains details about the errors thrown by chronicle for
+   * the feeds. These are user visible details. These details help user identify
+   * the root cause and take appropriate action for the feed errors.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.FeedFailureDetails} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.FeedFailureDetails) + com.google.cloud.chronicle.v1.FeedFailureDetailsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FeedFailureDetails_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FeedFailureDetails_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.FeedFailureDetails.class, + com.google.cloud.chronicle.v1.FeedFailureDetails.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.FeedFailureDetails.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + errorCode_ = ""; + httpErrorCode_ = 0; + errorCause_ = ""; + errorAction_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FeedFailureDetails_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedFailureDetails getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.FeedFailureDetails.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedFailureDetails build() { + com.google.cloud.chronicle.v1.FeedFailureDetails result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedFailureDetails buildPartial() { + com.google.cloud.chronicle.v1.FeedFailureDetails result = + new com.google.cloud.chronicle.v1.FeedFailureDetails(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.FeedFailureDetails result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.errorCode_ = errorCode_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.httpErrorCode_ = httpErrorCode_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.errorCause_ = errorCause_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.errorAction_ = errorAction_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.FeedFailureDetails) { + return mergeFrom((com.google.cloud.chronicle.v1.FeedFailureDetails) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.FeedFailureDetails other) { + if (other == com.google.cloud.chronicle.v1.FeedFailureDetails.getDefaultInstance()) + return this; + if (!other.getErrorCode().isEmpty()) { + errorCode_ = other.errorCode_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getHttpErrorCode() != 0) { + setHttpErrorCode(other.getHttpErrorCode()); + } + if (!other.getErrorCause().isEmpty()) { + errorCause_ = other.errorCause_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getErrorAction().isEmpty()) { + errorAction_ = other.errorAction_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + errorCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + httpErrorCode_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + errorCause_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + errorAction_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object errorCode_ = ""; + + /** + * + * + *
+     * Output only. error_code contains the error code for the feed. The field is
+     * populated for the feeds with failed status.
+     * 
+ * + * string error_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The errorCode. + */ + public java.lang.String getErrorCode() { + java.lang.Object ref = errorCode_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + errorCode_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Output only. error_code contains the error code for the feed. The field is
+     * populated for the feeds with failed status.
+     * 
+ * + * string error_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for errorCode. + */ + public com.google.protobuf.ByteString getErrorCodeBytes() { + java.lang.Object ref = errorCode_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + errorCode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Output only. error_code contains the error code for the feed. The field is
+     * populated for the feeds with failed status.
+     * 
+ * + * string error_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The errorCode to set. + * @return This builder for chaining. + */ + public Builder setErrorCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + errorCode_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. error_code contains the error code for the feed. The field is
+     * populated for the feeds with failed status.
+     * 
+ * + * string error_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearErrorCode() { + errorCode_ = getDefaultInstance().getErrorCode(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. error_code contains the error code for the feed. The field is
+     * populated for the feeds with failed status.
+     * 
+ * + * string error_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for errorCode to set. + * @return This builder for chaining. + */ + public Builder setErrorCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + errorCode_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int httpErrorCode_; + + /** + * + * + *
+     * Output only. http_error_code contains the HTTP error code for the feed
+     * failure. feed transfer failure may or may not result in http error code.
+     * 
+ * + * int32 http_error_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The httpErrorCode. + */ + @java.lang.Override + public int getHttpErrorCode() { + return httpErrorCode_; + } + + /** + * + * + *
+     * Output only. http_error_code contains the HTTP error code for the feed
+     * failure. feed transfer failure may or may not result in http error code.
+     * 
+ * + * int32 http_error_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The httpErrorCode to set. + * @return This builder for chaining. + */ + public Builder setHttpErrorCode(int value) { + + httpErrorCode_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. http_error_code contains the HTTP error code for the feed
+     * failure. feed transfer failure may or may not result in http error code.
+     * 
+ * + * int32 http_error_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearHttpErrorCode() { + bitField0_ = (bitField0_ & ~0x00000002); + httpErrorCode_ = 0; + onChanged(); + return this; + } + + private java.lang.Object errorCause_ = ""; + + /** + * + * + *
+     * Output only. error_cause contains the information regarding the failure
+     * cause.
+     * 
+ * + * string error_cause = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The errorCause. + */ + public java.lang.String getErrorCause() { + java.lang.Object ref = errorCause_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + errorCause_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Output only. error_cause contains the information regarding the failure
+     * cause.
+     * 
+ * + * string error_cause = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for errorCause. + */ + public com.google.protobuf.ByteString getErrorCauseBytes() { + java.lang.Object ref = errorCause_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + errorCause_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Output only. error_cause contains the information regarding the failure
+     * cause.
+     * 
+ * + * string error_cause = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The errorCause to set. + * @return This builder for chaining. + */ + public Builder setErrorCause(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + errorCause_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. error_cause contains the information regarding the failure
+     * cause.
+     * 
+ * + * string error_cause = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearErrorCause() { + errorCause_ = getDefaultInstance().getErrorCause(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. error_cause contains the information regarding the failure
+     * cause.
+     * 
+ * + * string error_cause = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for errorCause to set. + * @return This builder for chaining. + */ + public Builder setErrorCauseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + errorCause_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object errorAction_ = ""; + + /** + * + * + *
+     * Output only. error_action contains the user action prescribed for
+     * remediation of feed error.
+     * 
+ * + * string error_action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The errorAction. + */ + public java.lang.String getErrorAction() { + java.lang.Object ref = errorAction_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + errorAction_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Output only. error_action contains the user action prescribed for
+     * remediation of feed error.
+     * 
+ * + * string error_action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for errorAction. + */ + public com.google.protobuf.ByteString getErrorActionBytes() { + java.lang.Object ref = errorAction_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + errorAction_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Output only. error_action contains the user action prescribed for
+     * remediation of feed error.
+     * 
+ * + * string error_action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The errorAction to set. + * @return This builder for chaining. + */ + public Builder setErrorAction(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + errorAction_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. error_action contains the user action prescribed for
+     * remediation of feed error.
+     * 
+ * + * string error_action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearErrorAction() { + errorAction_ = getDefaultInstance().getErrorAction(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. error_action contains the user action prescribed for
+     * remediation of feed error.
+     * 
+ * + * string error_action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for errorAction to set. + * @return This builder for chaining. + */ + public Builder setErrorActionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + errorAction_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.FeedFailureDetails) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.FeedFailureDetails) + private static final com.google.cloud.chronicle.v1.FeedFailureDetails DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.FeedFailureDetails(); + } + + public static com.google.cloud.chronicle.v1.FeedFailureDetails getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FeedFailureDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedFailureDetails getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedFailureDetailsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedFailureDetailsOrBuilder.java new file mode 100644 index 000000000000..ffd03a2fdd65 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedFailureDetailsOrBuilder.java @@ -0,0 +1,126 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface FeedFailureDetailsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.FeedFailureDetails) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. error_code contains the error code for the feed. The field is
+   * populated for the feeds with failed status.
+   * 
+ * + * string error_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The errorCode. + */ + java.lang.String getErrorCode(); + + /** + * + * + *
+   * Output only. error_code contains the error code for the feed. The field is
+   * populated for the feeds with failed status.
+   * 
+ * + * string error_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for errorCode. + */ + com.google.protobuf.ByteString getErrorCodeBytes(); + + /** + * + * + *
+   * Output only. http_error_code contains the HTTP error code for the feed
+   * failure. feed transfer failure may or may not result in http error code.
+   * 
+ * + * int32 http_error_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The httpErrorCode. + */ + int getHttpErrorCode(); + + /** + * + * + *
+   * Output only. error_cause contains the information regarding the failure
+   * cause.
+   * 
+ * + * string error_cause = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The errorCause. + */ + java.lang.String getErrorCause(); + + /** + * + * + *
+   * Output only. error_cause contains the information regarding the failure
+   * cause.
+   * 
+ * + * string error_cause = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for errorCause. + */ + com.google.protobuf.ByteString getErrorCauseBytes(); + + /** + * + * + *
+   * Output only. error_action contains the user action prescribed for
+   * remediation of feed error.
+   * 
+ * + * string error_action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The errorAction. + */ + java.lang.String getErrorAction(); + + /** + * + * + *
+   * Output only. error_action contains the user action prescribed for
+   * remediation of feed error.
+   * 
+ * + * string error_action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for errorAction. + */ + com.google.protobuf.ByteString getErrorActionBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedName.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedName.java new file mode 100644 index 000000000000..ed7656f6e822 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedName.java @@ -0,0 +1,260 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1; + +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; +import org.jspecify.annotations.NullMarked; +import org.jspecify.annotations.Nullable; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@NullMarked +@Generated("by gapic-generator-java") +public class FeedName implements ResourceName { + private static final PathTemplate PROJECT_LOCATION_INSTANCE_FEED = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}"); + private volatile Map fieldValuesMap; + private final String project; + private final String location; + private final String instance; + private final String feed; + + @Deprecated + protected FeedName() { + project = null; + location = null; + instance = null; + feed = null; + } + + private FeedName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + instance = Preconditions.checkNotNull(builder.getInstance()); + feed = Preconditions.checkNotNull(builder.getFeed()); + } + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getInstance() { + return instance; + } + + public String getFeed() { + return feed; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static FeedName of(String project, String location, String instance, String feed) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setInstance(instance) + .setFeed(feed) + .build(); + } + + public static String format(String project, String location, String instance, String feed) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setInstance(instance) + .setFeed(feed) + .build() + .toString(); + } + + public static @Nullable FeedName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PROJECT_LOCATION_INSTANCE_FEED.validatedMatch( + formattedString, "FeedName.parse: formattedString not in valid format"); + return of( + matchMap.get("project"), + matchMap.get("location"), + matchMap.get("instance"), + matchMap.get("feed")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List<@Nullable FeedName> values) { + List list = new ArrayList<>(values.size()); + for (FeedName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_LOCATION_INSTANCE_FEED.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (location != null) { + fieldMapBuilder.put("location", location); + } + if (instance != null) { + fieldMapBuilder.put("instance", instance); + } + if (feed != null) { + fieldMapBuilder.put("feed", feed); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PROJECT_LOCATION_INSTANCE_FEED.instantiate( + "project", project, "location", location, "instance", instance, "feed", feed); + } + + @Override + public boolean equals(@Nullable Object o) { + if (o == this) { + return true; + } + if (o != null && getClass() == o.getClass()) { + FeedName that = ((FeedName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.location, that.location) + && Objects.equals(this.instance, that.instance) + && Objects.equals(this.feed, that.feed); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(location); + h *= 1000003; + h ^= Objects.hashCode(instance); + h *= 1000003; + h ^= Objects.hashCode(feed); + return h; + } + + /** Builder for projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}. */ + public static class Builder { + private String project; + private String location; + private String instance; + private String feed; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getInstance() { + return instance; + } + + public String getFeed() { + return feed; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setLocation(String location) { + this.location = location; + return this; + } + + public Builder setInstance(String instance) { + this.instance = instance; + return this; + } + + public Builder setFeed(String feed) { + this.feed = feed; + return this; + } + + private Builder(FeedName feedName) { + this.project = feedName.project; + this.location = feedName.location; + this.instance = feedName.instance; + this.feed = feedName.feed; + } + + public FeedName build() { + return new FeedName(this); + } + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedOrBuilder.java new file mode 100644 index 000000000000..074851d72bc8 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedOrBuilder.java @@ -0,0 +1,345 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface FeedOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.Feed) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The resource name of the feed.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + + /** + * + * + *
+   * The resource name of the feed.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Output only. Unique identifier for the feed.
+   * 
+ * + * + * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @return The uid. + */ + java.lang.String getUid(); + + /** + * + * + *
+   * Output only. Unique identifier for the feed.
+   * 
+ * + * + * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @return The bytes for uid. + */ + com.google.protobuf.ByteString getUidBytes(); + + /** + * + * + *
+   * Customer-provided feed name.
+   * 
+ * + * string display_name = 2; + * + * @return The displayName. + */ + java.lang.String getDisplayName(); + + /** + * + * + *
+   * Customer-provided feed name.
+   * 
+ * + * string display_name = 2; + * + * @return The bytes for displayName. + */ + com.google.protobuf.ByteString getDisplayNameBytes(); + + /** + * + * + *
+   * Additional details of the feed, these details are dynamic and will be
+   * different for each of the feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.FeedDetails details = 3; + * + * @return Whether the details field is set. + */ + boolean hasDetails(); + + /** + * + * + *
+   * Additional details of the feed, these details are dynamic and will be
+   * different for each of the feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.FeedDetails details = 3; + * + * @return The details. + */ + com.google.cloud.chronicle.v1.FeedDetails getDetails(); + + /** + * + * + *
+   * Additional details of the feed, these details are dynamic and will be
+   * different for each of the feeds.
+   * 
+ * + * .google.cloud.chronicle.v1.FeedDetails details = 3; + */ + com.google.cloud.chronicle.v1.FeedDetailsOrBuilder getDetailsOrBuilder(); + + /** + * + * + *
+   * Output only. State of the feed.
+   * 
+ * + * + * .google.cloud.chronicle.v1.Feed.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for state. + */ + int getStateValue(); + + /** + * + * + *
+   * Output only. State of the feed.
+   * 
+ * + * + * .google.cloud.chronicle.v1.Feed.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + com.google.cloud.chronicle.v1.Feed.State getState(); + + /** + * + * + *
+   * Output only. Details about the most recent failure when feed state is
+   * FAILED.
+   * 
+ * + * string failure_msg = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The failureMsg. + */ + java.lang.String getFailureMsg(); + + /** + * + * + *
+   * Output only. Details about the most recent failure when feed state is
+   * FAILED.
+   * 
+ * + * string failure_msg = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for failureMsg. + */ + com.google.protobuf.ByteString getFailureMsgBytes(); + + /** + * + * + *
+   * Output only. Whether this feed can be updated or deleted.
+   * 
+ * + * bool read_only = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The readOnly. + */ + boolean getReadOnly(); + + /** + * + * + *
+   * Output only. Latest timestamp when the transfer was successful for the
+   * feed.
+   * 
+ * + * + * .google.protobuf.Timestamp last_feed_initiation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the lastFeedInitiationTime field is set. + */ + boolean hasLastFeedInitiationTime(); + + /** + * + * + *
+   * Output only. Latest timestamp when the transfer was successful for the
+   * feed.
+   * 
+ * + * + * .google.protobuf.Timestamp last_feed_initiation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The lastFeedInitiationTime. + */ + com.google.protobuf.Timestamp getLastFeedInitiationTime(); + + /** + * + * + *
+   * Output only. Latest timestamp when the transfer was successful for the
+   * feed.
+   * 
+ * + * + * .google.protobuf.Timestamp last_feed_initiation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getLastFeedInitiationTimeOrBuilder(); + + /** + * + * + *
+   * Output only. Failure details for the feed. If the feed is in the failure
+   * state, this field will contain the details of the error cause and actions.
+   * 
+ * + * + * .google.cloud.chronicle.v1.FeedFailureDetails failure_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the failureDetails field is set. + */ + boolean hasFailureDetails(); + + /** + * + * + *
+   * Output only. Failure details for the feed. If the feed is in the failure
+   * state, this field will contain the details of the error cause and actions.
+   * 
+ * + * + * .google.cloud.chronicle.v1.FeedFailureDetails failure_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The failureDetails. + */ + com.google.cloud.chronicle.v1.FeedFailureDetails getFailureDetails(); + + /** + * + * + *
+   * Output only. Failure details for the feed. If the feed is in the failure
+   * state, this field will contain the details of the error cause and actions.
+   * 
+ * + * + * .google.cloud.chronicle.v1.FeedFailureDetails failure_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.FeedFailureDetailsOrBuilder getFailureDetailsOrBuilder(); + + /** + * + * + *
+   * Output only. Reference ID, this field will contain the legacy id of the
+   * feed.
+   * 
+ * + * string reference_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The referenceId. + */ + java.lang.String getReferenceId(); + + /** + * + * + *
+   * Output only. Reference ID, this field will contain the legacy id of the
+   * feed.
+   * 
+ * + * string reference_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for referenceId. + */ + com.google.protobuf.ByteString getReferenceIdBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedPack.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedPack.java new file mode 100644 index 000000000000..9dea188bd99b --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedPack.java @@ -0,0 +1,2602 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * FeedPack is a logical container for related LogTypes for which feeds can be
+ * configured.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.FeedPack} + */ +@com.google.protobuf.Generated +public final class FeedPack extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.FeedPack) + FeedPackOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "FeedPack"); + } + + // Use FeedPack.newBuilder() to construct. + private FeedPack(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private FeedPack() { + name_ = ""; + displayName_ = ""; + description_ = ""; + icon_ = com.google.protobuf.ByteString.EMPTY; + categories_ = com.google.protobuf.LazyStringArrayList.emptyList(); + packType_ = 0; + packLogTypes_ = java.util.Collections.emptyList(); + packDocumentation_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FeedPack_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FeedPack_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.FeedPack.class, + com.google.cloud.chronicle.v1.FeedPack.Builder.class); + } + + /** + * + * + *
+   * Type of feed pack. Feeds Page currently only lists PRODUCT_BASED packs.
+   * 
+ * + * Protobuf enum {@code google.cloud.chronicle.v1.FeedPack.PackType} + */ + public enum PackType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Unspecified feed pack type.
+     * 
+ * + * PACK_TYPE_UNSPECIFIED = 0; + */ + PACK_TYPE_UNSPECIFIED(0), + /** + * + * + *
+     * Product based feed pack type.
+     * 
+ * + * PRODUCT_BASED = 1; + */ + PRODUCT_BASED(1), + /** + * + * + *
+     * Use case based feed pack type.
+     * 
+ * + * USECASE_BASED = 2; + */ + USECASE_BASED(2), + /** + * + * + *
+     * Onboarding feed pack type.
+     * 
+ * + * ONBOARDING = 3; + */ + ONBOARDING(3), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "PackType"); + } + + /** + * + * + *
+     * Unspecified feed pack type.
+     * 
+ * + * PACK_TYPE_UNSPECIFIED = 0; + */ + public static final int PACK_TYPE_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
+     * Product based feed pack type.
+     * 
+ * + * PRODUCT_BASED = 1; + */ + public static final int PRODUCT_BASED_VALUE = 1; + + /** + * + * + *
+     * Use case based feed pack type.
+     * 
+ * + * USECASE_BASED = 2; + */ + public static final int USECASE_BASED_VALUE = 2; + + /** + * + * + *
+     * Onboarding feed pack type.
+     * 
+ * + * ONBOARDING = 3; + */ + public static final int ONBOARDING_VALUE = 3; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static PackType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static PackType forNumber(int value) { + switch (value) { + case 0: + return PACK_TYPE_UNSPECIFIED; + case 1: + return PRODUCT_BASED; + case 2: + return USECASE_BASED; + case 3: + return ONBOARDING; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PackType findValueByNumber(int number) { + return PackType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedPack.getDescriptor().getEnumTypes().get(0); + } + + private static final PackType[] VALUES = values(); + + public static PackType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private PackType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.chronicle.v1.FeedPack.PackType) + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + + /** + * + * + *
+   * Identifier. The resource name of the feed pack.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feed_pack}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + + /** + * + * + *
+   * Identifier. The resource name of the feed pack.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feed_pack}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object displayName_ = ""; + + /** + * + * + *
+   * Output only. The display name of the feed pack.
+   * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The displayName. + */ + @java.lang.Override + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + 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(); + displayName_ = s; + return s; + } + } + + /** + * + * + *
+   * Output only. The display name of the feed pack.
+   * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for displayName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DESCRIPTION_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object description_ = ""; + + /** + * + * + *
+   * Output only. The description of the feed pack.
+   * 
+ * + * string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + 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(); + description_ = s; + return s; + } + } + + /** + * + * + *
+   * Output only. The description of the feed pack.
+   * 
+ * + * string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ICON_FIELD_NUMBER = 4; + private com.google.protobuf.ByteString icon_ = com.google.protobuf.ByteString.EMPTY; + + /** + * + * + *
+   * Output only. The icon image of the content pack in base64 in png format.
+   * 
+ * + * bytes icon = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The icon. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIcon() { + return icon_; + } + + public static final int CATEGORIES_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList categories_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + /** + * + * + *
+   * Output only. Categories the featured content is associated with. In case of
+   * product feed packs, there will be only one category.
+   * 
+ * + * repeated string categories = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return A list containing the categories. + */ + public com.google.protobuf.ProtocolStringList getCategoriesList() { + return categories_; + } + + /** + * + * + *
+   * Output only. Categories the featured content is associated with. In case of
+   * product feed packs, there will be only one category.
+   * 
+ * + * repeated string categories = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The count of categories. + */ + public int getCategoriesCount() { + return categories_.size(); + } + + /** + * + * + *
+   * Output only. Categories the featured content is associated with. In case of
+   * product feed packs, there will be only one category.
+   * 
+ * + * repeated string categories = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the element to return. + * @return The categories at the given index. + */ + public java.lang.String getCategories(int index) { + return categories_.get(index); + } + + /** + * + * + *
+   * Output only. Categories the featured content is associated with. In case of
+   * product feed packs, there will be only one category.
+   * 
+ * + * repeated string categories = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the value to return. + * @return The bytes of the categories at the given index. + */ + public com.google.protobuf.ByteString getCategoriesBytes(int index) { + return categories_.getByteString(index); + } + + public static final int PACK_TYPE_FIELD_NUMBER = 6; + private int packType_ = 0; + + /** + * + * + *
+   * Output only. Type of pack.
+   * 
+ * + * + * .google.cloud.chronicle.v1.FeedPack.PackType pack_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for packType. + */ + @java.lang.Override + public int getPackTypeValue() { + return packType_; + } + + /** + * + * + *
+   * Output only. Type of pack.
+   * 
+ * + * + * .google.cloud.chronicle.v1.FeedPack.PackType pack_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The packType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedPack.PackType getPackType() { + com.google.cloud.chronicle.v1.FeedPack.PackType result = + com.google.cloud.chronicle.v1.FeedPack.PackType.forNumber(packType_); + return result == null ? com.google.cloud.chronicle.v1.FeedPack.PackType.UNRECOGNIZED : result; + } + + public static final int PACK_LOG_TYPES_FIELD_NUMBER = 7; + + @SuppressWarnings("serial") + private java.util.List packLogTypes_; + + /** + * + * + *
+   * Output only. Log types featured in the pack.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.util.List getPackLogTypesList() { + return packLogTypes_; + } + + /** + * + * + *
+   * Output only. Log types featured in the pack.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.util.List + getPackLogTypesOrBuilderList() { + return packLogTypes_; + } + + /** + * + * + *
+   * Output only. Log types featured in the pack.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public int getPackLogTypesCount() { + return packLogTypes_.size(); + } + + /** + * + * + *
+   * Output only. Log types featured in the pack.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.PackLogType getPackLogTypes(int index) { + return packLogTypes_.get(index); + } + + /** + * + * + *
+   * Output only. Log types featured in the pack.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.PackLogTypeOrBuilder getPackLogTypesOrBuilder(int index) { + return packLogTypes_.get(index); + } + + public static final int HIDDEN_FIELD_NUMBER = 8; + private boolean hidden_ = false; + + /** + * + * + *
+   * Output only. Whether the feed pack should be displayed in the Feeds Page.
+   * 
+ * + * bool hidden = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The hidden. + */ + @java.lang.Override + public boolean getHidden() { + return hidden_; + } + + public static final int PACK_DOCUMENTATION_FIELD_NUMBER = 9; + + @SuppressWarnings("serial") + private volatile java.lang.Object packDocumentation_ = ""; + + /** + * + * + *
+   * Output only. Pack specific documentation in markdown format.
+   * 
+ * + * string pack_documentation = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The packDocumentation. + */ + @java.lang.Override + public java.lang.String getPackDocumentation() { + java.lang.Object ref = packDocumentation_; + 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(); + packDocumentation_ = s; + return s; + } + } + + /** + * + * + *
+   * Output only. Pack specific documentation in markdown format.
+   * 
+ * + * string pack_documentation = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for packDocumentation. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPackDocumentationBytes() { + java.lang.Object ref = packDocumentation_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + packDocumentation_ = 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.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, displayName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, description_); + } + if (!icon_.isEmpty()) { + output.writeBytes(4, icon_); + } + for (int i = 0; i < categories_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, categories_.getRaw(i)); + } + if (packType_ + != com.google.cloud.chronicle.v1.FeedPack.PackType.PACK_TYPE_UNSPECIFIED.getNumber()) { + output.writeEnum(6, packType_); + } + for (int i = 0; i < packLogTypes_.size(); i++) { + output.writeMessage(7, packLogTypes_.get(i)); + } + if (hidden_ != false) { + output.writeBool(8, hidden_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(packDocumentation_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 9, packDocumentation_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, displayName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, description_); + } + if (!icon_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, icon_); + } + { + int dataSize = 0; + for (int i = 0; i < categories_.size(); i++) { + dataSize += computeStringSizeNoTag(categories_.getRaw(i)); + } + size += dataSize; + size += 1 * getCategoriesList().size(); + } + if (packType_ + != com.google.cloud.chronicle.v1.FeedPack.PackType.PACK_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, packType_); + } + for (int i = 0; i < packLogTypes_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, packLogTypes_.get(i)); + } + if (hidden_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, hidden_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(packDocumentation_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(9, packDocumentation_); + } + 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.cloud.chronicle.v1.FeedPack)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.FeedPack other = (com.google.cloud.chronicle.v1.FeedPack) obj; + + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getIcon().equals(other.getIcon())) return false; + if (!getCategoriesList().equals(other.getCategoriesList())) return false; + if (packType_ != other.packType_) return false; + if (!getPackLogTypesList().equals(other.getPackLogTypesList())) return false; + if (getHidden() != other.getHidden()) return false; + if (!getPackDocumentation().equals(other.getPackDocumentation())) 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) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; + hash = (53 * hash) + getDisplayName().hashCode(); + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + hash = (37 * hash) + ICON_FIELD_NUMBER; + hash = (53 * hash) + getIcon().hashCode(); + if (getCategoriesCount() > 0) { + hash = (37 * hash) + CATEGORIES_FIELD_NUMBER; + hash = (53 * hash) + getCategoriesList().hashCode(); + } + hash = (37 * hash) + PACK_TYPE_FIELD_NUMBER; + hash = (53 * hash) + packType_; + if (getPackLogTypesCount() > 0) { + hash = (37 * hash) + PACK_LOG_TYPES_FIELD_NUMBER; + hash = (53 * hash) + getPackLogTypesList().hashCode(); + } + hash = (37 * hash) + HIDDEN_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHidden()); + hash = (37 * hash) + PACK_DOCUMENTATION_FIELD_NUMBER; + hash = (53 * hash) + getPackDocumentation().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.FeedPack parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.FeedPack parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FeedPack parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.FeedPack 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.cloud.chronicle.v1.FeedPack parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.FeedPack parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FeedPack parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.FeedPack parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FeedPack parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.FeedPack parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FeedPack parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.FeedPack parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.FeedPack 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * FeedPack is a logical container for related LogTypes for which feeds can be
+   * configured.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.FeedPack} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.FeedPack) + com.google.cloud.chronicle.v1.FeedPackOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FeedPack_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FeedPack_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.FeedPack.class, + com.google.cloud.chronicle.v1.FeedPack.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.FeedPack.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + displayName_ = ""; + description_ = ""; + icon_ = com.google.protobuf.ByteString.EMPTY; + categories_ = com.google.protobuf.LazyStringArrayList.emptyList(); + packType_ = 0; + if (packLogTypesBuilder_ == null) { + packLogTypes_ = java.util.Collections.emptyList(); + } else { + packLogTypes_ = null; + packLogTypesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000040); + hidden_ = false; + packDocumentation_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FeedPack_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedPack getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.FeedPack.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedPack build() { + com.google.cloud.chronicle.v1.FeedPack result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedPack buildPartial() { + com.google.cloud.chronicle.v1.FeedPack result = + new com.google.cloud.chronicle.v1.FeedPack(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.google.cloud.chronicle.v1.FeedPack result) { + if (packLogTypesBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0)) { + packLogTypes_ = java.util.Collections.unmodifiableList(packLogTypes_); + bitField0_ = (bitField0_ & ~0x00000040); + } + result.packLogTypes_ = packLogTypes_; + } else { + result.packLogTypes_ = packLogTypesBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.chronicle.v1.FeedPack result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.displayName_ = displayName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.description_ = description_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.icon_ = icon_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + categories_.makeImmutable(); + result.categories_ = categories_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.packType_ = packType_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.hidden_ = hidden_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.packDocumentation_ = packDocumentation_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.FeedPack) { + return mergeFrom((com.google.cloud.chronicle.v1.FeedPack) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.FeedPack other) { + if (other == com.google.cloud.chronicle.v1.FeedPack.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getDisplayName().isEmpty()) { + displayName_ = other.displayName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getIcon().isEmpty()) { + setIcon(other.getIcon()); + } + if (!other.categories_.isEmpty()) { + if (categories_.isEmpty()) { + categories_ = other.categories_; + bitField0_ |= 0x00000010; + } else { + ensureCategoriesIsMutable(); + categories_.addAll(other.categories_); + } + onChanged(); + } + if (other.packType_ != 0) { + setPackTypeValue(other.getPackTypeValue()); + } + if (packLogTypesBuilder_ == null) { + if (!other.packLogTypes_.isEmpty()) { + if (packLogTypes_.isEmpty()) { + packLogTypes_ = other.packLogTypes_; + bitField0_ = (bitField0_ & ~0x00000040); + } else { + ensurePackLogTypesIsMutable(); + packLogTypes_.addAll(other.packLogTypes_); + } + onChanged(); + } + } else { + if (!other.packLogTypes_.isEmpty()) { + if (packLogTypesBuilder_.isEmpty()) { + packLogTypesBuilder_.dispose(); + packLogTypesBuilder_ = null; + packLogTypes_ = other.packLogTypes_; + bitField0_ = (bitField0_ & ~0x00000040); + packLogTypesBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetPackLogTypesFieldBuilder() + : null; + } else { + packLogTypesBuilder_.addAllMessages(other.packLogTypes_); + } + } + } + if (other.getHidden() != false) { + setHidden(other.getHidden()); + } + if (!other.getPackDocumentation().isEmpty()) { + packDocumentation_ = other.packDocumentation_; + bitField0_ |= 0x00000100; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + icon_ = input.readBytes(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureCategoriesIsMutable(); + categories_.add(s); + break; + } // case 42 + case 48: + { + packType_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 58: + { + com.google.cloud.chronicle.v1.PackLogType m = + input.readMessage( + com.google.cloud.chronicle.v1.PackLogType.parser(), extensionRegistry); + if (packLogTypesBuilder_ == null) { + ensurePackLogTypesIsMutable(); + packLogTypes_.add(m); + } else { + packLogTypesBuilder_.addMessage(m); + } + break; + } // case 58 + case 64: + { + hidden_ = input.readBool(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 74: + { + packDocumentation_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + + /** + * + * + *
+     * Identifier. The resource name of the feed pack.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feed_pack}
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Identifier. The resource name of the feed pack.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feed_pack}
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Identifier. The resource name of the feed pack.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feed_pack}
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Identifier. The resource name of the feed pack.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feed_pack}
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Identifier. The resource name of the feed pack.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feed_pack}
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object displayName_ = ""; + + /** + * + * + *
+     * Output only. The display name of the feed pack.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The displayName. + */ + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Output only. The display name of the feed pack.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for displayName. + */ + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Output only. The display name of the feed pack.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + displayName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The display name of the feed pack.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearDisplayName() { + displayName_ = getDefaultInstance().getDisplayName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The display name of the feed pack.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + + /** + * + * + *
+     * Output only. The description of the feed pack.
+     * 
+ * + * string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Output only. The description of the feed pack.
+     * 
+ * + * string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for description. + */ + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Output only. The description of the feed pack.
+     * 
+ * + * string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + description_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The description of the feed pack.
+     * 
+ * + * string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearDescription() { + description_ = getDefaultInstance().getDescription(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The description of the feed pack.
+     * 
+ * + * string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private com.google.protobuf.ByteString icon_ = com.google.protobuf.ByteString.EMPTY; + + /** + * + * + *
+     * Output only. The icon image of the content pack in base64 in png format.
+     * 
+ * + * bytes icon = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The icon. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIcon() { + return icon_; + } + + /** + * + * + *
+     * Output only. The icon image of the content pack in base64 in png format.
+     * 
+ * + * bytes icon = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The icon to set. + * @return This builder for chaining. + */ + public Builder setIcon(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + icon_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The icon image of the content pack in base64 in png format.
+     * 
+ * + * bytes icon = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearIcon() { + bitField0_ = (bitField0_ & ~0x00000008); + icon_ = getDefaultInstance().getIcon(); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList categories_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureCategoriesIsMutable() { + if (!categories_.isModifiable()) { + categories_ = new com.google.protobuf.LazyStringArrayList(categories_); + } + bitField0_ |= 0x00000010; + } + + /** + * + * + *
+     * Output only. Categories the featured content is associated with. In case of
+     * product feed packs, there will be only one category.
+     * 
+ * + * repeated string categories = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return A list containing the categories. + */ + public com.google.protobuf.ProtocolStringList getCategoriesList() { + categories_.makeImmutable(); + return categories_; + } + + /** + * + * + *
+     * Output only. Categories the featured content is associated with. In case of
+     * product feed packs, there will be only one category.
+     * 
+ * + * repeated string categories = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The count of categories. + */ + public int getCategoriesCount() { + return categories_.size(); + } + + /** + * + * + *
+     * Output only. Categories the featured content is associated with. In case of
+     * product feed packs, there will be only one category.
+     * 
+ * + * repeated string categories = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the element to return. + * @return The categories at the given index. + */ + public java.lang.String getCategories(int index) { + return categories_.get(index); + } + + /** + * + * + *
+     * Output only. Categories the featured content is associated with. In case of
+     * product feed packs, there will be only one category.
+     * 
+ * + * repeated string categories = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the value to return. + * @return The bytes of the categories at the given index. + */ + public com.google.protobuf.ByteString getCategoriesBytes(int index) { + return categories_.getByteString(index); + } + + /** + * + * + *
+     * Output only. Categories the featured content is associated with. In case of
+     * product feed packs, there will be only one category.
+     * 
+ * + * repeated string categories = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index to set the value at. + * @param value The categories to set. + * @return This builder for chaining. + */ + public Builder setCategories(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCategoriesIsMutable(); + categories_.set(index, value); + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Categories the featured content is associated with. In case of
+     * product feed packs, there will be only one category.
+     * 
+ * + * repeated string categories = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The categories to add. + * @return This builder for chaining. + */ + public Builder addCategories(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCategoriesIsMutable(); + categories_.add(value); + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Categories the featured content is associated with. In case of
+     * product feed packs, there will be only one category.
+     * 
+ * + * repeated string categories = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param values The categories to add. + * @return This builder for chaining. + */ + public Builder addAllCategories(java.lang.Iterable values) { + ensureCategoriesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, categories_); + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Categories the featured content is associated with. In case of
+     * product feed packs, there will be only one category.
+     * 
+ * + * repeated string categories = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearCategories() { + categories_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + ; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Categories the featured content is associated with. In case of
+     * product feed packs, there will be only one category.
+     * 
+ * + * repeated string categories = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes of the categories to add. + * @return This builder for chaining. + */ + public Builder addCategoriesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureCategoriesIsMutable(); + categories_.add(value); + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private int packType_ = 0; + + /** + * + * + *
+     * Output only. Type of pack.
+     * 
+ * + * + * .google.cloud.chronicle.v1.FeedPack.PackType pack_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for packType. + */ + @java.lang.Override + public int getPackTypeValue() { + return packType_; + } + + /** + * + * + *
+     * Output only. Type of pack.
+     * 
+ * + * + * .google.cloud.chronicle.v1.FeedPack.PackType pack_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The enum numeric value on the wire for packType to set. + * @return This builder for chaining. + */ + public Builder setPackTypeValue(int value) { + packType_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Type of pack.
+     * 
+ * + * + * .google.cloud.chronicle.v1.FeedPack.PackType pack_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The packType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedPack.PackType getPackType() { + com.google.cloud.chronicle.v1.FeedPack.PackType result = + com.google.cloud.chronicle.v1.FeedPack.PackType.forNumber(packType_); + return result == null ? com.google.cloud.chronicle.v1.FeedPack.PackType.UNRECOGNIZED : result; + } + + /** + * + * + *
+     * Output only. Type of pack.
+     * 
+ * + * + * .google.cloud.chronicle.v1.FeedPack.PackType pack_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The packType to set. + * @return This builder for chaining. + */ + public Builder setPackType(com.google.cloud.chronicle.v1.FeedPack.PackType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000020; + packType_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Type of pack.
+     * 
+ * + * + * .google.cloud.chronicle.v1.FeedPack.PackType pack_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearPackType() { + bitField0_ = (bitField0_ & ~0x00000020); + packType_ = 0; + onChanged(); + return this; + } + + private java.util.List packLogTypes_ = + java.util.Collections.emptyList(); + + private void ensurePackLogTypesIsMutable() { + if (!((bitField0_ & 0x00000040) != 0)) { + packLogTypes_ = + new java.util.ArrayList(packLogTypes_); + bitField0_ |= 0x00000040; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.PackLogType, + com.google.cloud.chronicle.v1.PackLogType.Builder, + com.google.cloud.chronicle.v1.PackLogTypeOrBuilder> + packLogTypesBuilder_; + + /** + * + * + *
+     * Output only. Log types featured in the pack.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List getPackLogTypesList() { + if (packLogTypesBuilder_ == null) { + return java.util.Collections.unmodifiableList(packLogTypes_); + } else { + return packLogTypesBuilder_.getMessageList(); + } + } + + /** + * + * + *
+     * Output only. Log types featured in the pack.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public int getPackLogTypesCount() { + if (packLogTypesBuilder_ == null) { + return packLogTypes_.size(); + } else { + return packLogTypesBuilder_.getCount(); + } + } + + /** + * + * + *
+     * Output only. Log types featured in the pack.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.PackLogType getPackLogTypes(int index) { + if (packLogTypesBuilder_ == null) { + return packLogTypes_.get(index); + } else { + return packLogTypesBuilder_.getMessage(index); + } + } + + /** + * + * + *
+     * Output only. Log types featured in the pack.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setPackLogTypes(int index, com.google.cloud.chronicle.v1.PackLogType value) { + if (packLogTypesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePackLogTypesIsMutable(); + packLogTypes_.set(index, value); + onChanged(); + } else { + packLogTypesBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Output only. Log types featured in the pack.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setPackLogTypes( + int index, com.google.cloud.chronicle.v1.PackLogType.Builder builderForValue) { + if (packLogTypesBuilder_ == null) { + ensurePackLogTypesIsMutable(); + packLogTypes_.set(index, builderForValue.build()); + onChanged(); + } else { + packLogTypesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Output only. Log types featured in the pack.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addPackLogTypes(com.google.cloud.chronicle.v1.PackLogType value) { + if (packLogTypesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePackLogTypesIsMutable(); + packLogTypes_.add(value); + onChanged(); + } else { + packLogTypesBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+     * Output only. Log types featured in the pack.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addPackLogTypes(int index, com.google.cloud.chronicle.v1.PackLogType value) { + if (packLogTypesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePackLogTypesIsMutable(); + packLogTypes_.add(index, value); + onChanged(); + } else { + packLogTypesBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Output only. Log types featured in the pack.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addPackLogTypes( + com.google.cloud.chronicle.v1.PackLogType.Builder builderForValue) { + if (packLogTypesBuilder_ == null) { + ensurePackLogTypesIsMutable(); + packLogTypes_.add(builderForValue.build()); + onChanged(); + } else { + packLogTypesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Output only. Log types featured in the pack.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addPackLogTypes( + int index, com.google.cloud.chronicle.v1.PackLogType.Builder builderForValue) { + if (packLogTypesBuilder_ == null) { + ensurePackLogTypesIsMutable(); + packLogTypes_.add(index, builderForValue.build()); + onChanged(); + } else { + packLogTypesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Output only. Log types featured in the pack.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addAllPackLogTypes( + java.lang.Iterable values) { + if (packLogTypesBuilder_ == null) { + ensurePackLogTypesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packLogTypes_); + onChanged(); + } else { + packLogTypesBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+     * Output only. Log types featured in the pack.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearPackLogTypes() { + if (packLogTypesBuilder_ == null) { + packLogTypes_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + } else { + packLogTypesBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Output only. Log types featured in the pack.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder removePackLogTypes(int index) { + if (packLogTypesBuilder_ == null) { + ensurePackLogTypesIsMutable(); + packLogTypes_.remove(index); + onChanged(); + } else { + packLogTypesBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+     * Output only. Log types featured in the pack.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.PackLogType.Builder getPackLogTypesBuilder(int index) { + return internalGetPackLogTypesFieldBuilder().getBuilder(index); + } + + /** + * + * + *
+     * Output only. Log types featured in the pack.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.PackLogTypeOrBuilder getPackLogTypesOrBuilder(int index) { + if (packLogTypesBuilder_ == null) { + return packLogTypes_.get(index); + } else { + return packLogTypesBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
+     * Output only. Log types featured in the pack.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List + getPackLogTypesOrBuilderList() { + if (packLogTypesBuilder_ != null) { + return packLogTypesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(packLogTypes_); + } + } + + /** + * + * + *
+     * Output only. Log types featured in the pack.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.PackLogType.Builder addPackLogTypesBuilder() { + return internalGetPackLogTypesFieldBuilder() + .addBuilder(com.google.cloud.chronicle.v1.PackLogType.getDefaultInstance()); + } + + /** + * + * + *
+     * Output only. Log types featured in the pack.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.PackLogType.Builder addPackLogTypesBuilder(int index) { + return internalGetPackLogTypesFieldBuilder() + .addBuilder(index, com.google.cloud.chronicle.v1.PackLogType.getDefaultInstance()); + } + + /** + * + * + *
+     * Output only. Log types featured in the pack.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List + getPackLogTypesBuilderList() { + return internalGetPackLogTypesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.PackLogType, + com.google.cloud.chronicle.v1.PackLogType.Builder, + com.google.cloud.chronicle.v1.PackLogTypeOrBuilder> + internalGetPackLogTypesFieldBuilder() { + if (packLogTypesBuilder_ == null) { + packLogTypesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.PackLogType, + com.google.cloud.chronicle.v1.PackLogType.Builder, + com.google.cloud.chronicle.v1.PackLogTypeOrBuilder>( + packLogTypes_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); + packLogTypes_ = null; + } + return packLogTypesBuilder_; + } + + private boolean hidden_; + + /** + * + * + *
+     * Output only. Whether the feed pack should be displayed in the Feeds Page.
+     * 
+ * + * bool hidden = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The hidden. + */ + @java.lang.Override + public boolean getHidden() { + return hidden_; + } + + /** + * + * + *
+     * Output only. Whether the feed pack should be displayed in the Feeds Page.
+     * 
+ * + * bool hidden = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The hidden to set. + * @return This builder for chaining. + */ + public Builder setHidden(boolean value) { + + hidden_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Whether the feed pack should be displayed in the Feeds Page.
+     * 
+ * + * bool hidden = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearHidden() { + bitField0_ = (bitField0_ & ~0x00000080); + hidden_ = false; + onChanged(); + return this; + } + + private java.lang.Object packDocumentation_ = ""; + + /** + * + * + *
+     * Output only. Pack specific documentation in markdown format.
+     * 
+ * + * string pack_documentation = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The packDocumentation. + */ + public java.lang.String getPackDocumentation() { + java.lang.Object ref = packDocumentation_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + packDocumentation_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Output only. Pack specific documentation in markdown format.
+     * 
+ * + * string pack_documentation = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for packDocumentation. + */ + public com.google.protobuf.ByteString getPackDocumentationBytes() { + java.lang.Object ref = packDocumentation_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + packDocumentation_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Output only. Pack specific documentation in markdown format.
+     * 
+ * + * string pack_documentation = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The packDocumentation to set. + * @return This builder for chaining. + */ + public Builder setPackDocumentation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + packDocumentation_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Pack specific documentation in markdown format.
+     * 
+ * + * string pack_documentation = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearPackDocumentation() { + packDocumentation_ = getDefaultInstance().getPackDocumentation(); + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Pack specific documentation in markdown format.
+     * 
+ * + * string pack_documentation = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for packDocumentation to set. + * @return This builder for chaining. + */ + public Builder setPackDocumentationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packDocumentation_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.FeedPack) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.FeedPack) + private static final com.google.cloud.chronicle.v1.FeedPack DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.FeedPack(); + } + + public static com.google.cloud.chronicle.v1.FeedPack getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FeedPack parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedPack getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedPackName.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedPackName.java new file mode 100644 index 000000000000..306a607ad855 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedPackName.java @@ -0,0 +1,262 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1; + +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; +import org.jspecify.annotations.NullMarked; +import org.jspecify.annotations.Nullable; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@NullMarked +@Generated("by gapic-generator-java") +public class FeedPackName implements ResourceName { + private static final PathTemplate PROJECT_LOCATION_INSTANCE_FEED_PACK = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feed_pack}"); + private volatile Map fieldValuesMap; + private final String project; + private final String location; + private final String instance; + private final String feedPack; + + @Deprecated + protected FeedPackName() { + project = null; + location = null; + instance = null; + feedPack = null; + } + + private FeedPackName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + instance = Preconditions.checkNotNull(builder.getInstance()); + feedPack = Preconditions.checkNotNull(builder.getFeedPack()); + } + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getInstance() { + return instance; + } + + public String getFeedPack() { + return feedPack; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static FeedPackName of(String project, String location, String instance, String feedPack) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setInstance(instance) + .setFeedPack(feedPack) + .build(); + } + + public static String format(String project, String location, String instance, String feedPack) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setInstance(instance) + .setFeedPack(feedPack) + .build() + .toString(); + } + + public static @Nullable FeedPackName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PROJECT_LOCATION_INSTANCE_FEED_PACK.validatedMatch( + formattedString, "FeedPackName.parse: formattedString not in valid format"); + return of( + matchMap.get("project"), + matchMap.get("location"), + matchMap.get("instance"), + matchMap.get("feed_pack")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List<@Nullable FeedPackName> values) { + List list = new ArrayList<>(values.size()); + for (FeedPackName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_LOCATION_INSTANCE_FEED_PACK.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (location != null) { + fieldMapBuilder.put("location", location); + } + if (instance != null) { + fieldMapBuilder.put("instance", instance); + } + if (feedPack != null) { + fieldMapBuilder.put("feed_pack", feedPack); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PROJECT_LOCATION_INSTANCE_FEED_PACK.instantiate( + "project", project, "location", location, "instance", instance, "feed_pack", feedPack); + } + + @Override + public boolean equals(@Nullable Object o) { + if (o == this) { + return true; + } + if (o != null && getClass() == o.getClass()) { + FeedPackName that = ((FeedPackName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.location, that.location) + && Objects.equals(this.instance, that.instance) + && Objects.equals(this.feedPack, that.feedPack); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(location); + h *= 1000003; + h ^= Objects.hashCode(instance); + h *= 1000003; + h ^= Objects.hashCode(feedPack); + return h; + } + + /** + * Builder for projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feed_pack}. + */ + public static class Builder { + private String project; + private String location; + private String instance; + private String feedPack; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getInstance() { + return instance; + } + + public String getFeedPack() { + return feedPack; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setLocation(String location) { + this.location = location; + return this; + } + + public Builder setInstance(String instance) { + this.instance = instance; + return this; + } + + public Builder setFeedPack(String feedPack) { + this.feedPack = feedPack; + return this; + } + + private Builder(FeedPackName feedPackName) { + this.project = feedPackName.project; + this.location = feedPackName.location; + this.instance = feedPackName.instance; + this.feedPack = feedPackName.feedPack; + } + + public FeedPackName build() { + return new FeedPackName(this); + } + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedPackOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedPackOrBuilder.java new file mode 100644 index 000000000000..2dd1c5e16c4f --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedPackOrBuilder.java @@ -0,0 +1,316 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface FeedPackOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.FeedPack) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Identifier. The resource name of the feed pack.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feed_pack}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The name. + */ + java.lang.String getName(); + + /** + * + * + *
+   * Identifier. The resource name of the feed pack.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feed_pack}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Output only. The display name of the feed pack.
+   * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The displayName. + */ + java.lang.String getDisplayName(); + + /** + * + * + *
+   * Output only. The display name of the feed pack.
+   * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for displayName. + */ + com.google.protobuf.ByteString getDisplayNameBytes(); + + /** + * + * + *
+   * Output only. The description of the feed pack.
+   * 
+ * + * string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The description. + */ + java.lang.String getDescription(); + + /** + * + * + *
+   * Output only. The description of the feed pack.
+   * 
+ * + * string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for description. + */ + com.google.protobuf.ByteString getDescriptionBytes(); + + /** + * + * + *
+   * Output only. The icon image of the content pack in base64 in png format.
+   * 
+ * + * bytes icon = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The icon. + */ + com.google.protobuf.ByteString getIcon(); + + /** + * + * + *
+   * Output only. Categories the featured content is associated with. In case of
+   * product feed packs, there will be only one category.
+   * 
+ * + * repeated string categories = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return A list containing the categories. + */ + java.util.List getCategoriesList(); + + /** + * + * + *
+   * Output only. Categories the featured content is associated with. In case of
+   * product feed packs, there will be only one category.
+   * 
+ * + * repeated string categories = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The count of categories. + */ + int getCategoriesCount(); + + /** + * + * + *
+   * Output only. Categories the featured content is associated with. In case of
+   * product feed packs, there will be only one category.
+   * 
+ * + * repeated string categories = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the element to return. + * @return The categories at the given index. + */ + java.lang.String getCategories(int index); + + /** + * + * + *
+   * Output only. Categories the featured content is associated with. In case of
+   * product feed packs, there will be only one category.
+   * 
+ * + * repeated string categories = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the value to return. + * @return The bytes of the categories at the given index. + */ + com.google.protobuf.ByteString getCategoriesBytes(int index); + + /** + * + * + *
+   * Output only. Type of pack.
+   * 
+ * + * + * .google.cloud.chronicle.v1.FeedPack.PackType pack_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for packType. + */ + int getPackTypeValue(); + + /** + * + * + *
+   * Output only. Type of pack.
+   * 
+ * + * + * .google.cloud.chronicle.v1.FeedPack.PackType pack_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The packType. + */ + com.google.cloud.chronicle.v1.FeedPack.PackType getPackType(); + + /** + * + * + *
+   * Output only. Log types featured in the pack.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.List getPackLogTypesList(); + + /** + * + * + *
+   * Output only. Log types featured in the pack.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.PackLogType getPackLogTypes(int index); + + /** + * + * + *
+   * Output only. Log types featured in the pack.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + int getPackLogTypesCount(); + + /** + * + * + *
+   * Output only. Log types featured in the pack.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.List + getPackLogTypesOrBuilderList(); + + /** + * + * + *
+   * Output only. Log types featured in the pack.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.PackLogType pack_log_types = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.PackLogTypeOrBuilder getPackLogTypesOrBuilder(int index); + + /** + * + * + *
+   * Output only. Whether the feed pack should be displayed in the Feeds Page.
+   * 
+ * + * bool hidden = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The hidden. + */ + boolean getHidden(); + + /** + * + * + *
+   * Output only. Pack specific documentation in markdown format.
+   * 
+ * + * string pack_documentation = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The packDocumentation. + */ + java.lang.String getPackDocumentation(); + + /** + * + * + *
+   * Output only. Pack specific documentation in markdown format.
+   * 
+ * + * string pack_documentation = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for packDocumentation. + */ + com.google.protobuf.ByteString getPackDocumentationBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedProto.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedProto.java new file mode 100644 index 000000000000..25337c9f7e1c --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedProto.java @@ -0,0 +1,3308 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public final class FeedProto extends com.google.protobuf.GeneratedFile { + private FeedProto() {} + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "FeedProto"); + } + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_FeedPack_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_FeedPack_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_PackLogType_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_PackLogType_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_Feed_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_Feed_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_FeedFailureDetails_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_FeedFailureDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_FeedServiceAccount_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_FeedServiceAccount_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_FeedDetails_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_FeedDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_FeedDetails_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_FeedDetails_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_DummyLogTypeSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_DummyLogTypeSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_HttpsPushGoogleCloudPubSubSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_HttpsPushGoogleCloudPubSubSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_HttpsPushAmazonKinesisFirehoseSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_HttpsPushAmazonKinesisFirehoseSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_HttpsPushWebhookSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_HttpsPushWebhookSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_SentineloneAlertSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_SentineloneAlertSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_QualysScanSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_QualysScanSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_PubsubSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_PubsubSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_AmazonKinesisFirehoseSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_AmazonKinesisFirehoseSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_WebhookSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_WebhookSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_AmazonSQSSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_AmazonSQSSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_AnomaliIocSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_AnomaliIocSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_AzureADSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_AzureADSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_AzureADAuditSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_AzureADAuditSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_AzureADContextSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_AzureADContextSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_CloudPassageSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_CloudPassageSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_CortexXDRSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_CortexXDRSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_CrowdStrikeDetectsSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_CrowdStrikeDetectsSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_CrowdStrikeAlertsSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_CrowdStrikeAlertsSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_DuoAuthSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_DuoAuthSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_DuoUserContextSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_DuoUserContextSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_MicrosoftGraphAlertSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_MicrosoftGraphAlertSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_MicrosoftSecurityCenterAlertSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_MicrosoftSecurityCenterAlertSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_MimecastMailSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_MimecastMailSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_MimecastMailV2Settings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_MimecastMailV2Settings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_Office365Settings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_Office365Settings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_ProofpointMailSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_ProofpointMailSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_ProofpointOnDemandSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_ProofpointOnDemandSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_RecordedFutureIocSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_RecordedFutureIocSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_WorkdaySettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_WorkdaySettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_PanIocSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_PanIocSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_OktaSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_OktaSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_OktaUserContextSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_OktaUserContextSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_FoxITStixSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_FoxITStixSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_ThreatConnectIoCSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_ThreatConnectIoCSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_ThreatConnectIoCV3Settings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_ThreatConnectIoCV3Settings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_ServiceNowCMDBSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_ServiceNowCMDBSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_ImpervaWAFSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_ImpervaWAFSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_ThinkstCanarySettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_ThinkstCanarySettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_RHIsacIocSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_RHIsacIocSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_Rapid7InsightSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_Rapid7InsightSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_SalesforceSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_SalesforceSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_MandiantIoCSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_MandiantIoCSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_NetskopeAlertSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_NetskopeAlertSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_NetskopeAlertV2Settings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_NetskopeAlertV2Settings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_AzureMDMIntuneSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_AzureMDMIntuneSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_WorkspaceUsersSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_WorkspaceUsersSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_WorkspaceActivitySettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_WorkspaceActivitySettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_WorkspaceAlertsSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_WorkspaceAlertsSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_WorkspacePrivilegesSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_WorkspacePrivilegesSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_WorkspaceMobileSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_WorkspaceMobileSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_WorkspaceChromeOSSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_WorkspaceChromeOSSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_WorkspaceGroupsSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_WorkspaceGroupsSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_GoogleCloudIdentityDevicesSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_GoogleCloudIdentityDevicesSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_GoogleCloudIdentityDeviceUsersSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_GoogleCloudIdentityDeviceUsersSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_SymantecEventExportSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_SymantecEventExportSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_QualysVMSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_QualysVMSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_PanPrismaCloudSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_PanPrismaCloudSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_SftpSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_SftpSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_GoogleCloudStorageSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_GoogleCloudStorageSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_HttpSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_HttpSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_AmazonS3Settings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_AmazonS3Settings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_AzureBlobStoreSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_AzureBlobStoreSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_AWSEC2HostsSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_AWSEC2HostsSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_AWSEC2InstancesSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_AWSEC2InstancesSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_AWSEC2VpcsSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_AWSEC2VpcsSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_AWSIAMSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_AWSIAMSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_AzureAuth_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_AzureAuth_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_SQSAuth_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_SQSAuth_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_SQSAuthV2_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_SQSAuthV2_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_SQSV2AwsIamRoleAuth_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_SQSV2AwsIamRoleAuth_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_SQSV2AccessKeySecretAuth_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_SQSV2AccessKeySecretAuth_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_SQSAccessKeySecretAuth_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_SQSAccessKeySecretAuth_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_AdditionalS3AccessKeySecretAuth_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_AdditionalS3AccessKeySecretAuth_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_S3Auth_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_S3Auth_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_OAuthRefreshToken_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_OAuthRefreshToken_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_SftpAuth_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_SftpAuth_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_HttpHeaderAuth_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_HttpHeaderAuth_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_HeaderKeyValue_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_HeaderKeyValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_UsernameSecretAuth_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_UsernameSecretAuth_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_MicrosoftOAuthClientCredentials_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_MicrosoftOAuthClientCredentials_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_OAuthClientCredentials_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_OAuthClientCredentials_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_OAuthPasswordGrantCredentials_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_OAuthPasswordGrantCredentials_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_PanPrismaAuth_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_PanPrismaAuth_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_OAuthJWTCredentials_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_OAuthJWTCredentials_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_RSCredentials_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_RSCredentials_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_Claims_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_Claims_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_SSLClientKeypair_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_SSLClientKeypair_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_WorkdayAuth_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_WorkdayAuth_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_GoogleCloudStorageV2Settings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_GoogleCloudStorageV2Settings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_GoogleCloudStorageEventDrivenSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_GoogleCloudStorageEventDrivenSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_S3AuthV2_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_S3AuthV2_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_S3V2AwsIamRoleAuth_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_S3V2AwsIamRoleAuth_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_S3V2AccessKeySecretAuth_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_S3V2AccessKeySecretAuth_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_AmazonS3V2Settings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_AmazonS3V2Settings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_MssoAuthentication_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_MssoAuthentication_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_MimecastV2OAuthClientCredentials_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_MimecastV2OAuthClientCredentials_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_TrellixIAMAuthentication_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_TrellixIAMAuthentication_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_TrellixLocalAuthentication_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_TrellixLocalAuthentication_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_TrellixStarXAuthentication_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_TrellixStarXAuthentication_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_TrellixHxHostsSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_TrellixHxHostsSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_TrellixHxAlertsSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_TrellixHxAlertsSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_TrellixHxBulkAcqsSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_TrellixHxBulkAcqsSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_AzureEventHubSettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_AzureEventHubSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_AmazonSQSV2Settings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_AmazonSQSV2Settings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_AzureBlobStoreV2Settings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_AzureBlobStoreV2Settings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_AzureV2WorkloadIdentityFederation_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_AzureV2WorkloadIdentityFederation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_AzureAuthV2_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_AzureAuthV2_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_FeedSourceTypeSchema_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_FeedSourceTypeSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_LogTypeSchema_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_LogTypeSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_LogTypeSchema_DetailsFieldSchemaAlternative_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_LogTypeSchema_DetailsFieldSchemaAlternative_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_LogTypeSchema_DetailsFieldSchemaSet_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_LogTypeSchema_DetailsFieldSchemaSet_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_LogTypeSchema_DetailsFieldSchema_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_LogTypeSchema_DetailsFieldSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_LogTypeSchema_EnumFieldSchema_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_LogTypeSchema_EnumFieldSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_FetchServiceAccountForCustomerRequest_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_FetchServiceAccountForCustomerRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_ListFeedSourceTypeSchemasRequest_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_ListFeedSourceTypeSchemasRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_ListFeedSourceTypeSchemasResponse_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_ListFeedSourceTypeSchemasResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_ListLogTypeSchemasRequest_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_ListLogTypeSchemasRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_ListLogTypeSchemasResponse_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_ListLogTypeSchemasResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_ImportPushLogsRequest_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_ImportPushLogsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_UpdateFeedRequest_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_UpdateFeedRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_ListFeedsRequest_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_ListFeedsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_ListFeedsResponse_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_ListFeedsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_ListFeedPacksRequest_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_ListFeedPacksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_ListFeedPacksResponse_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_ListFeedPacksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_GetFeedPackRequest_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_GetFeedPackRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_CreateFeedRequest_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_CreateFeedRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_GetFeedRequest_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_GetFeedRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_DeleteFeedRequest_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_DeleteFeedRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_EnableFeedRequest_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_EnableFeedRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_GenerateSecretRequest_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_GenerateSecretRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_GenerateSecretResponse_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_GenerateSecretResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_DisableFeedRequest_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_DisableFeedRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_CustomAPIHeaderKeyValue_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_CustomAPIHeaderKeyValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_CustomAPIHeaderAuth_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_CustomAPIHeaderAuth_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_CustomAPIQueryKeyValue_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_CustomAPIQueryKeyValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_CustomAPIQueryAuth_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_CustomAPIQueryAuth_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_CustomAPINoAuth_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_CustomAPINoAuth_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_CustomAPISettings_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_CustomAPISettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_CustomAPITransferNode_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_CustomAPITransferNode_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_CustomAPIDependentRequestsConfig_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_CustomAPIDependentRequestsConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_CustomAPIRequestConfig_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_CustomAPIRequestConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_CustomAPIResponseConfig_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_CustomAPIResponseConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_NoneStrategy_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_NoneStrategy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_LatestTimestampStrategy_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_LatestTimestampStrategy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_LatestRecordStrategy_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_LatestRecordStrategy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_IteratorStrategy_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_CustomAPICheckpointConfig_IteratorStrategy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_CustomAPIPagination_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_CustomAPIPagination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_CustomAPIPagination_NonePagination_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_CustomAPIPagination_NonePagination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_CustomAPIPagination_TokenPagination_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_CustomAPIPagination_TokenPagination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_CustomAPIPagination_LinkPagination_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_CustomAPIPagination_LinkPagination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_CustomAPIPagination_OffsetPagination_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_CustomAPIPagination_OffsetPagination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_chronicle_v1_CustomAPIPagination_PageNumberPagination_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_chronicle_v1_CustomAPIPagination_PageNumberPagination_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n" + + "$google/cloud/chronicle/v1/feed.proto\022\031" + + "google.cloud.chronicle.v1\032\034google/api/an" + + "notations.proto\032\027google/api/client.proto" + + "\032\037google/api/field_behavior.proto\032\033googl" + + "e/api/field_info.proto\032\031google/api/httpb" + + "ody.proto\032\031google/api/resource.proto\032\033google/protobuf/empty.proto\032" + + " google/protobuf/field_mask.proto\032\037google/protobuf/timestamp.proto\"\257\004\n" + + "\010FeedPack\022\021\n" + + "\004name\030\001 \001(\tB\003\340A\010\022\031\n" + + "\014display_name\030\002 \001(\tB\003\340A\003\022\030\n" + + "\013description\030\003 \001(\tB\003\340A\003\022\021\n" + + "\004icon\030\004 \001(\014B\003\340A\003\022\027\n\n" + + "categories\030\005 \003(\tB\003\340A\003\022D\n" + + "\tpack_type\030\006 \001(\016" + + "2,.google.cloud.chronicle.v1.FeedPack.PackTypeB\003\340A\003\022C\n" + + "\016pack_log_types\030\007 \003(\0132&.go" + + "ogle.cloud.chronicle.v1.PackLogTypeB\003\340A\003\022\023\n" + + "\006hidden\030\010 \001(\010B\003\340A\003\022\037\n" + + "\022pack_documentation\030\t \001(\tB\003\340A\003\"[\n" + + "\010PackType\022\031\n" + + "\025PACK_TYPE_UNSPECIFIED\020\000\022\021\n\r" + + "PRODUCT_BASED\020\001\022\021\n\r" + + "USECASE_BASED\020\002\022\016\n\n" + + "ONBOARDING\020\003:\220\001\352A\214\001\n" + + "!chronicle.googleapis.com/FeedPack\022Rprojects/" + + "{project}/locations/{location}/instances/{instance}/feedPacks/{feed_pack}*" + + "\tfeedPacks2\010feedPack\"\202\002\n" + + "\013PackLogType\022\020\n" + + "\010log_type\030\001 \001(\t\022\020\n" + + "\010required\030\002 \001(\010\022\032\n" + + "\022has_default_parser\030\003 \001(\010\022V\n" + + "\027recommended_source_type\030\004" + + " \001(\01625.google.cloud.chronicle.v1.FeedDetails.FeedSourceType\022\024\n" + + "\014display_name\030\005 \001(\t\022#\n" + + "\033configuration_documentation\030\006 \001(\t\022 \n" + + "\030additional_documentation\030\007 \001(\t\"\347\004\n" + + "\004Feed\022\014\n" + + "\004name\030\001 \001(\t\022\030\n" + + "\003uid\030\t \001(\tB\013\340A\003\342\214\317\327\010\002\010\001\022\024\n" + + "\014display_name\030\002 \001(\t\0227\n" + + "\007details\030\003 \001(\0132&.google.cloud.chronicle.v1.FeedDetails\0229\n" + + "\005state\030\004" + + " \001(\0162%.google.cloud.chronicle.v1.Feed.StateB\003\340A\003\022\030\n" + + "\013failure_msg\030\005 \001(\tB\003\340A\003\022\026\n" + + "\tread_only\030\006 \001(\010B\003\340A\003\022B\n" + + "\031last_feed_initiation_time\030\007" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022K\n" + + "\017failure_details\030\010" + + " \001(\0132-.google.cloud.chronicle.v1.FeedFailureDetailsB\003\340A\003\022\031\n" + + "\014reference_id\030\n" + + " \001(\tB\003\340A\003\"`\n" + + "\005State\022\025\n" + + "\021STATE_UNSPECIFIED\020\000\022\n\n" + + "\006ACTIVE\020\001\022\014\n" + + "\010INACTIVE\020\002\022\013\n" + + "\007RUNNING\020\003\022\r\n" + + "\tSUCCEEDED\020\004\022\n\n" + + "\006FAILED\020\005:m\352Aj\n" + + "\035chronicle.googleapis.com/Feed\022Iprojects/{project}/l" + + "ocations/{location}/instances/{instance}/feeds/{feed}\"\200\001\n" + + "\022FeedFailureDetails\022\027\n\n" + + "error_code\030\001 \001(\tB\003\340A\003\022\034\n" + + "\017http_error_code\030\002 \001(\005B\003\340A\003\022\030\n" + + "\013error_cause\030\003 \001(\tB\003\340A\003\022\031\n" + + "\014error_action\030\004 \001(\tB\003\340A\003\"\323\001\n" + + "\022FeedServiceAccount\022\014\n" + + "\004name\030\001 \001(\t\022\022\n\n" + + "subject_id\030\002 \001(\t:\232\001\352A\226\001\n" + + "+chronicle.googleapis.com/FeedServiceAccount\022gprojects/{project}/locati" + + "ons/{location}/instances/{instance}/feed" + + "ServiceAccounts/{feed_service_account}\"\200<\n" + + "\013FeedDetails\022I\n" + + "\020anomali_settings\030\003 \001(\013" + + "2-.google.cloud.chronicle.v1.AnomaliIocSettingsH\000\022V\n" + + "\031azure_ad_context_settings\030\004" + + " \001(\01321.google.cloud.chronicle.v1.AzureADContextSettingsH\000\022Q\n" + + "\026cloud_passage_settings\030\005" + + " \001(\0132/.google.cloud.chronicle.v1.CloudPassageSettingsH\000\022K\n" + + "\023cortex_xdr_settings\030\006" + + " \001(\0132,.google.cloud.chronicle.v1.CortexXDRSettingsH\000\022G\n" + + "\021duo_auth_settings\030\007" + + " \001(\0132*.google.cloud.chronicle.v1.DuoAuthSettingsH\000\022V\n" + + "\031duo_user_context_settings\030\010" + + " \001(\01321.google.cloud.chronicle.v1.DuoUserContextSettingsH\000\022`\n" + + "\036microsoft_graph_alert_settings\030\t" + + " \001(\01326.google.cloud.chronicle.v1.MicrosoftGraphAlertSettingsH\000\022s\n" + + "(microsoft_security_center_alert_settings\030\n" + + " \001(\0132?.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettingsH\000\022Q\n" + + "\026mimecast_mail_settings\030\013" + + " \001(\0132/.google.cloud.chronicle.v1.MimecastMailSettingsH\000\022J\n" + + "\022office365_settings\030\014" + + " \001(\0132,.google.cloud.chronicle.v1.Office365SettingsH\000\022U\n" + + "\030proofpoint_mail_settings\030\r" + + " \001(\01321.google.cloud.chronicle.v1.ProofpointMailSettingsH\000\022\\\n" + + "\034recorded_future_ioc_settings\030\016 \001(\01324." + + "google.cloud.chronicle.v1.RecordedFutureIocSettingsH\000\022F\n" + + "\020workday_settings\030\017 \001(\0132" + + "*.google.cloud.chronicle.v1.WorkdaySettingsH\000\022E\n" + + "\020pan_ioc_settings\030\020" + + " \001(\0132).google.cloud.chronicle.v1.PanIocSettingsH\000\022@\n\r" + + "okta_settings\030\021 \001(\0132\'.google.cloud.chronicle.v1.OktaSettingsH\000\022X\n" + + "\032okta_user_context_settings\030\022" + + " \001(\01322.google.cloud.chronicle.v1.OktaUserContextSettingsH\000\022L\n" + + "\024fox_it_stix_settings\030\023" + + " \001(\0132,.google.cloud.chronicle.v1.FoxITStixSettingsH\000\022Z\n" + + "\033threat_connect_ioc_settings\030\024 \001(\01323.google.clo" + + "ud.chronicle.v1.ThreatConnectIoCSettingsH\000\022V\n" + + "\031service_now_cmdb_settings\030\025 \001(\01321." + + "google.cloud.chronicle.v1.ServiceNowCMDBSettingsH\000\022M\n" + + "\024imperva_waf_settings\030\026 \001(\013" + + "2-.google.cloud.chronicle.v1.ImpervaWAFSettingsH\000\022S\n" + + "\027thinkst_canary_settings\030\027 \001" + + "(\01320.google.cloud.chronicle.v1.ThinkstCanarySettingsH\000\022L\n" + + "\024rh_isac_ioc_settings\030\030" + + " \001(\0132,.google.cloud.chronicle.v1.RHIsacIocSettingsH\000\022S\n" + + "\027rapid7_insight_settings\030\031" + + " \001(\01320.google.cloud.chronicle.v1.Rapid7InsightSettingsH\000\022L\n" + + "\023salesforce_settings\030\032" + + " \001(\0132-.google.cloud.chronicle.v1.SalesforceSettingsH\000\022S\n" + + "\027netskope_alert_settings\030\033" + + " \001(\01320.google.cloud.chronicle.v1.NetskopeAlertSettingsH\000\022V\n" + + "\031azure_mdm_intune_settings\030\034" + + " \001(\01321.google.cloud.chronicle.v1.AzureMDMIntuneSettingsH\000\022G\n" + + "\021azure_ad_settings\030\035" + + " \001(\0132*.google.cloud.chronicle.v1.AzureADSettingsH\000\022^\n" + + "\035proofpoint_on_demand_settings\030\036" + + " \001(\01325.google.cloud.chronicle.v1.ProofpointOnDemandSettingsH\000\022U\n" + + "\030workspace_users_settings\030\037 \001(\01321.google" + + ".cloud.chronicle.v1.WorkspaceUsersSettingsH\000\022[\n" + + "\033workspace_activity_settings\030 \001(" + + "\01324.google.cloud.chronicle.v1.WorkspaceActivitySettingsH\000\022W\n" + + "\031workspace_alerts_settings\030!" + + " \001(\01322.google.cloud.chronicle.v1.WorkspaceAlertsSettingsH\000\022_\n" + + "\035workspace_privileges_settings\030\" \001(\01326.google.cloud" + + ".chronicle.v1.WorkspacePrivilegesSettingsH\000\022W\n" + + "\031workspace_mobile_settings\030# \001(\01322" + + ".google.cloud.chronicle.v1.WorkspaceMobileSettingsH\000\022\\\n" + + "\034workspace_chrome_os_settings\030$" + + " \001(\01324.google.cloud.chronicle.v1.WorkspaceChromeOSSettingsH\000\022W\n" + + "\031workspace_groups_settings\030%" + + " \001(\01322.google.cloud.chronicle.v1.WorkspaceGroupsSettingsH\000\022R\n" + + "\027azure_ad_audit_settings\030& \001(\0132/.google.cl" + + "oud.chronicle.v1.AzureADAuditSettingsH\000\022`\n" + + "\036symantec_event_export_settings\030\' \001(\0132" + + "6.google.cloud.chronicle.v1.SymantecEventExportSettingsH\000\022I\n" + + "\022qualys_vm_settings\030(" + + " \001(\0132+.google.cloud.chronicle.v1.QualysVMSettingsH\000\022V\n" + + "\031pan_prisma_cloud_settings\030)" + + " \001(\01321.google.cloud.chronicle.v1.PanPrismaCloudSettingsH\000\022M\n" + + "\014gcs_settings\030* \001" + + "(\01325.google.cloud.chronicle.v1.GoogleCloudStorageSettingsH\000\022@\n\r" + + "http_settings\030+ \001(\0132\'.google.cloud.chronicle.v1.HttpSettingsH\000\022@\n\r" + + "sftp_settings\030, \001(\0132\'.google.cloud.chronicle.v1.SftpSettingsH\000\022I\n" + + "\022amazon_s3_settings\030-" + + " \001(\0132+.google.cloud.chronicle.v1.AmazonS3SettingsH\000\022V\n" + + "\031azure_blob_store_settings\030." + + " \001(\01321.google.cloud.chronicle.v1.AzureBlobStoreSettingsH\000\022K\n" + + "\023amazon_sqs_settings\030/" + + " \001(\0132,.google.cloud.chronicle.v1.AmazonSQSSettingsH\000\022o\n" + + "&google_cloud_identity_devices_settings\0300 \001(\0132" + + "=.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettingsH\000\022x\n" + + "+google_cloud_identity_device_users_settings\0301 \001(\0132A." + + "google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettingsH\000\022]\n" + + "\034crowdstrike_detects_settings\0302 \001(\01325.google.cloud." + + "chronicle.v1.CrowdStrikeDetectsSettingsH\000\022O\n" + + "\025mandiant_ioc_settings\0305 \001(\0132..googl" + + "e.cloud.chronicle.v1.MandiantIoCSettingsH\000\022Y\n" + + "\032sentinelone_alert_settings\0306 \001(\01323" + + ".google.cloud.chronicle.v1.SentineloneAlertSettingsH\000\022M\n" + + "\024qualys_scan_settings\0307 " + + "\001(\0132-.google.cloud.chronicle.v1.QualysScanSettingsH\000\022D\n" + + "\017pubsub_settings\0308 \001(\0132)." + + "google.cloud.chronicle.v1.PubsubSettingsH\000\022d\n" + + " amazon_kinesis_firehose_settings\0309" + + " \001(\01328.google.cloud.chronicle.v1.AmazonKinesisFirehoseSettingsH\000\022F\n" + + "\020webhook_settings\030:" + + " \001(\0132*.google.cloud.chronicle.v1.WebhookSettingsH\000\022R\n" + + "\027dummy_log_type_settings\030;" + + " \001(\0132/.google.cloud.chronicle.v1.DummyLogTypeSettingsH\000\022p\n" + + "\'https_push_google_cloud_pubsub_settings\030< \001(\0132=.google.c" + + "loud.chronicle.v1.HttpsPushGoogleCloudPubSubSettingsH\000\022x\n" + + "+https_push_amazon_kinesis_firehose_settings\030= \001(\0132A.google.clo" + + "ud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettingsH\000\022Z\n" + + "\033https_push_webhook_settings\030>" + + " \001(\01323.google.cloud.chronicle.v1.HttpsPushWebhookSettingsH\000\022P\n" + + "\026aws_ec2_hosts_settings\030?" + + " \001(\0132..google.cloud.chronicle.v1.AWSEC2HostsSettingsH\000\022X\n" + + "\032aws_ec2_instances_settings\030@ \001(\01322.google.clou" + + "d.chronicle.v1.AWSEC2InstancesSettingsH\000\022N\n" + + "\025aws_ec2_vpcs_settings\030A \001(\0132-.google" + + ".cloud.chronicle.v1.AWSEC2VpcsSettingsH\000\022E\n" + + "\020aws_iam_settings\030B" + + " \001(\0132).google.cloud.chronicle.v1.AWSIAMSettingsH\000\022X\n" + + "\032netskope_alert_v2_settings\030F \001(\01322.google.clo" + + "ud.chronicle.v1.NetskopeAlertV2SettingsH\000\022R\n" + + "\017gcs_v2_settings\030G \001(\01327.google.clou" + + "d.chronicle.v1.GoogleCloudStorageV2SettingsH\000\022N\n" + + "\025amazon_s3_v2_settings\030H \001(\0132-.g" + + "oogle.cloud.chronicle.v1.AmazonS3V2SettingsH\000\022P\n" + + "\026amazon_sqs_v2_settings\030I \001(\0132.." + + "google.cloud.chronicle.v1.AmazonSQSV2SettingsH\000\022T\n" + + "\030azure_event_hub_settings\030J \001(" + + "\01320.google.cloud.chronicle.v1.AzureEventHubSettingsH\000\022V\n" + + "\031trellix_hx_hosts_settings\030K" + + " \001(\01321.google.cloud.chronicle.v1.TrellixHxHostsSettingsH\000\022[\n" + + "\034azure_blob_store_v2_settings\030L" + + " \001(\01323.google.cloud.chronicle.v1.AzureBlobStoreV2SettingsH\000\022X\n" + + "\032trellix_hx_alerts_settings\030M \001(\01322.google." + + "cloud.chronicle.v1.TrellixHxAlertsSettingsH\000\022v\n" + + "*google_cloud_storage_event_driven_settings\030N \001(\0132@.google.cloud.chronicl" + + "e.v1.GoogleCloudStorageEventDrivenSettingsH\000\022[\n" + + "\033crowdstrike_alerts_settings\030O \001(" + + "\01324.google.cloud.chronicle.v1.CrowdStrikeAlertsSettingsH\000\022]\n" + + "\035trellix_hx_bulk_acqs_settings\030P" + + " \001(\01324.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettingsH\000\022[\n" + + "\031mimecast_mail_v2_settings\030R \001(\01321.google.clo" + + "ud.chronicle.v1.MimecastMailV2SettingsB\003\340A\002H\000\022_\n" + + "\036threat_connect_ioc_v3_settings\030S" + + " \001(\01325.google.cloud.chronicle.v1.ThreatConnectIoCV3SettingsH\000\022K\n" + + "\023custom_api_settings\030U" + + " \001(\0132,.google.cloud.chronicle.v1.CustomAPISettingsH\000\022O\n" + + "\020feed_source_type\030\001" + + " \001(\01625.google.cloud.chronicle.v1.FeedDetails.FeedSourceType\0227\n" + + "\010log_type\030\002 \001(\tB%\372A\"\n" + + " chronicle.googleapis.com/LogType\022\027\n" + + "\017asset_namespace\0303 \001(\t\022B\n" + + "\006labels\0304 \003(\01322.google.cloud.chronicle.v1.FeedDetails.LabelsEntry\022b\n" + + "\027sts_migration_readiness\030Q " + + "\001(\0162<.google.cloud.chronicle.v1.FeedDetails.STSMigrationReadinessB\003\340A\001\022G\n" + + "\036last_v2_migration_attempt_time\030T" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\001\032-\n" + + "\013LabelsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001\"\335\003\n" + + "\016FeedSourceType\022 \n" + + "\034FEED_SOURCE_TYPE_UNSPECIFIED\020\000\022\030\n" + + "\024GOOGLE_CLOUD_STORAGE\020\001\022\010\n" + + "\004HTTP\020\002\022\010\n" + + "\004SFTP\020\003\022\r\n" + + "\tAMAZON_S3\020\004\022\023\n" + + "\017AZURE_BLOBSTORE\020\005\022\007\n" + + "\003API\020\006\022\016\n\n" + + "AMAZON_SQS\020\007\022\n\n" + + "\006PUBSUB\020\010\022\033\n" + + "\027AMAZON_KINESIS_FIREHOSE\020\t\022\013\n" + + "\007WEBHOOK\020\n" + + "\022\"\n" + + "\036HTTPS_PUSH_GOOGLE_CLOUD_PUBSUB\020\013\022&\n" + + "\"HTTPS_PUSH_AMAZON_KINESIS_FIREHOSE\020\014\022\026\n" + + "\022HTTPS_PUSH_WEBHOOK\020\r" + + "\022\023\n" + + "\017AZURE_EVENT_HUB\020\021\022\033\n" + + "\027GOOGLE_CLOUD_STORAGE_V2\020\022\022\020\n" + + "\014AMAZON_S3_V2\020\023\022\021\n\r" + + "AMAZON_SQS_V2\020\024\022\026\n" + + "\022AZURE_BLOBSTORE_V2\020\025\022%\n" + + "!GOOGLE_CLOUD_STORAGE_EVENT_DRIVEN\020\026\022\016\n\n" + + "CUSTOM_API\020\027\"v\n" + + "\025STSMigrationReadiness\022\'\n" + + "#STS_MIGRATION_READINESS_UNSPECIFIED\020\000\022\r\n" + + "\tNOT_READY\020\001\022\t\n" + + "\005READY\020\002\022\032\n" + + "\026AUTH_RECONFIG_REQUIRED\020\003B\t\n" + + "\007details\"t\n" + + "\024DummyLogTypeSettings\022F\n" + + "\016authentication\030\001" + + " \001(\0132).google.cloud.chronicle.v1.HttpHeaderAuthB\003\340A\004\022\024\n" + + "\014api_endpoint\030\002 \001(\t\"B\n" + + "\"HttpsPushGoogleCloudPubSubSettings\022\034\n" + + "\017split_delimiter\030\001 \001(\tB\003\340A\001\"F\n" + + "&HttpsPushAmazonKinesisFirehoseSettings\022\034\n" + + "\017split_delimiter\030\001 \001(\tB\003\340A\001\"8\n" + + "\030HttpsPushWebhookSettings\022\034\n" + + "\017split_delimiter\030\001 \001(\tB\003\340A\001\"\261\001\n" + + "\030SentineloneAlertSettings\022F\n" + + "\016authentication\030\001" + + " \001(\0132).google.cloud.chronicle.v1.HttpHeaderAuthB\003\340A\004\022\020\n" + + "\010hostname\030\002 \001(\t\022\032\n" + + "\022initial_start_time\030\003 \001(\t\022\037\n" + + "\027is_alert_api_subscribed\030\004 \001(\010\"\271\002\n" + + "\022QualysScanSettings\022J\n" + + "\016authentication\030\001" + + " \001(\0132-.google.cloud.chronicle.v1.UsernameSecretAuthB\003\340A\004\022\020\n" + + "\010hostname\030\002 \001(\t\022G\n" + + "\010api_type\030\003 \001(\01625.googl" + + "e.cloud.chronicle.v1.QualysScanSettings.ApiType\"|\n" + + "\007ApiType\022\030\n" + + "\024API_TYPE_UNSPECIFIED\020\000\022\027\n" + + "\023SCAN_SUMMARY_OUTPUT\020\001\022\032\n" + + "\026SCAN_COMPLIANCE_OUTPUT\020\002\022\"\n" + + "\036SCAN_COMPLIANCE_CONTROL_OUTPUT\020\003\"6\n" + + "\016PubsubSettings\022$\n" + + "\034google_service_account_email\030\001 \001(\t\"\037\n" + + "\035AmazonKinesisFirehoseSettings\"\021\n" + + "\017WebhookSettings\"\201\002\n" + + "\021AmazonSQSSettings\0223\n" + + "\006region\030\001 \001(\0162#.google.cloud.chronicle.v1.S3Region\022\r\n" + + "\005queue\030\002 \001(\t\022\026\n" + + "\016account_number\030\003 \001(\t\022?\n" + + "\016authentication\030\004" + + " \001(\0132\".google.cloud.chronicle.v1.SQSAuthB\003\340A\004\022O\n" + + "\026source_deletion_option\030\005" + + " \001(\0162/.google.cloud.chronicle.v1.SourceDeletionOption\"w\n" + + "\022AnomaliIocSettings\022J\n" + + "\016authentication\030\001 \001(\0132-.google.clo" + + "ud.chronicle.v1.UsernameSecretAuthB\003\340A\004\022\025\n" + + "\010hostname\030\002 \001(\tB\003\340A\001\"\246\001\n" + + "\017AzureADSettings\022W\n" + + "\016authentication\030\001 \001(\0132:.google.clou" + + "d.chronicle.v1.MicrosoftOAuthClientCredentialsB\003\340A\004\022\021\n" + + "\ttenant_id\030\002 \001(\t\022\020\n" + + "\010hostname\030\003 \001(\t\022\025\n\r" + + "auth_endpoint\030\004 \001(\t\"\253\001\n" + + "\024AzureADAuditSettings\022W\n" + + "\016authentication\030\001 \001(\013" + + "2:.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsB\003\340A\004\022\021\n" + + "\ttenant_id\030\002 \001(\t\022\020\n" + + "\010hostname\030\003 \001(\t\022\025\n\r" + + "auth_endpoint\030\004 \001(\t\"\340\001\n" + + "\026AzureADContextSettings\022W\n" + + "\016authentication\030\001 \001(\0132:.google.cloud.chronicl" + + "e.v1.MicrosoftOAuthClientCredentialsB\003\340A\004\022\030\n" + + "\020retrieve_devices\030\002 \001(\010\022\027\n" + + "\017retrieve_groups\030\003 \001(\010\022\021\n" + + "\ttenant_id\030\004 \001(\t\022\020\n" + + "\010hostname\030\005 \001(\t\022\025\n\r" + + "auth_endpoint\030\006 \001(\t\"w\n" + + "\024CloudPassageSettings\022J\n" + + "\016authentication\030\001 \001(\013" + + "2-.google.cloud.chronicle.v1.UsernameSecretAuthB\003\340A\004\022\023\n" + + "\013event_types\030\002 \003(\t\"\177\n" + + "\021CortexXDRSettings\022F\n" + + "\016authentication\030\001 \001(\0132)" + + ".google.cloud.chronicle.v1.HttpHeaderAuthB\003\340A\004\022\020\n" + + "\010hostname\030\002 \001(\t\022\020\n" + + "\010endpoint\030\003 \001(\t\"\312\002\n" + + "\032CrowdStrikeDetectsSettings\022N\n" + + "\016authentication\030\001" + + " \001(\01321.google.cloud.chronicle.v1.OAuthClientCredentialsB\003\340A\004\022\020\n" + + "\010hostname\030\002 \001(\t\022`\n" + + "\016ingestion_type\030\003 \001(\0162C.go" + + "ogle.cloud.chronicle.v1.CrowdStrikeDetectsSettings.IngestionTypeB\003\340A\001\"h\n\r" + + "IngestionType\022\036\n" + + "\032INGESTION_TYPE_UNSPECIFIED\020\000\022\035\n" + + "\031BRING_ONLY_NEW_DETECTIONS\020\001\022\030\n" + + "\024BRING_ALL_DETECTIONS\020\002\"\305\002\n" + + "\031CrowdStrikeAlertsSettings\022N\n" + + "\016authentication\030\001 \001(\01321.google.c" + + "loud.chronicle.v1.OAuthClientCredentialsB\003\340A\002\022\025\n" + + "\010hostname\030\002 \001(\tB\003\340A\002\022_\n" + + "\016ingestion_type\030\003 \001(\0162B.google.cloud.chronicle.v1" + + ".CrowdStrikeAlertsSettings.IngestionTypeB\003\340A\001\"`\n\r" + + "IngestionType\022\036\n" + + "\032INGESTION_TYPE_UNSPECIFIED\020\000\022\024\n" + + "\020BRING_ALL_ALERTS\020\001\022\031\n" + + "\025BRING_ONLY_NEW_ALERTS\020\002\"o\n" + + "\017DuoAuthSettings\022J\n" + + "\016authentication\030\001 \001(\0132-.google.clou" + + "d.chronicle.v1.UsernameSecretAuthB\003\340A\004\022\020\n" + + "\010hostname\030\002 \001(\t\"v\n" + + "\026DuoUserContextSettings\022J\n" + + "\016authentication\030\001 \001(\0132-.google.clou" + + "d.chronicle.v1.UsernameSecretAuthB\003\340A\004\022\020\n" + + "\010hostname\030\002 \001(\t\"\262\001\n" + + "\033MicrosoftGraphAlertSettings\022W\n" + + "\016authentication\030\001 \001(\0132:.googl" + + "e.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsB\003\340A\004\022\021\n" + + "\ttenant_id\030\002 \001(\t\022\020\n" + + "\010hostname\030\003 \001(\t\022\025\n\r" + + "auth_endpoint\030\004 \001(\t\"\324\001\n" + + "$MicrosoftSecurityCenterAlertSettings\022W\n" + + "\016authentication\030\001 \001(\0132:.google.cloud.ch" + + "ronicle.v1.MicrosoftOAuthClientCredentialsB\003\340A\004\022\027\n" + + "\017subscription_id\030\002 \001(\t\022\021\n" + + "\ttenant_id\030\003 \001(\t\022\020\n" + + "\010hostname\030\004 \001(\t\022\025\n\r" + + "auth_endpoint\030\005 \001(\t\"p\n" + + "\024MimecastMailSettings\022F\n" + + "\016authentication\030\001" + + " \001(\0132).google.cloud.chronicle.v1.HttpHeaderAuthB\003\340A\004\022\020\n" + + "\010hostname\030\002 \001(\t\"t\n" + + "\026MimecastMailV2Settings\022Z\n" + + "\020auth_credentials\030\001 \001(\0132;.google.cloud.chroni" + + "cle.v1.MimecastV2OAuthClientCredentialsB\003\340A\002\"\223\003\n" + + "\021Office365Settings\022W\n" + + "\016authentication\030\001" + + " \001(\0132:.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsB\003\340A\004\022\021\n" + + "\ttenant_id\030\002 \001(\t\022N\n" + + "\014content_type\030\003 \001(\01628.g" + + "oogle.cloud.chronicle.v1.Office365Settings.ContentType\022\020\n" + + "\010hostname\030\004 \001(\t\022\025\n\r" + + "auth_endpoint\030\005 \001(\t\"\230\001\n" + + "\013ContentType\022\034\n" + + "\030CONTENT_TYPE_UNSPECIFIED\020\000\022 \n" + + "\034AUDIT_AZURE_ACTIVE_DIRECTORY\020\001\022\022\n" + + "\016AUDIT_EXCHANGE\020\002\022\025\n" + + "\021AUDIT_SHARE_POINT\020\003\022\021\n\r" + + "AUDIT_GENERAL\020\004\022\013\n" + + "\007DLP_ALL\020\005\"d\n" + + "\026ProofpointMailSettings\022J\n" + + "\016authentication\030\001" + + " \001(\0132-.google.cloud.chronicle.v1.UsernameSecretAuthB\003\340A\004\"x\n" + + "\032ProofpointOnDemandSettings\022F\n" + + "\016authentication\030\001" + + " \001(\0132).google.cloud.chronicle.v1.HttpHeaderAuthB\003\340A\004\022\022\n\n" + + "cluster_id\030\002 \001(\t\"c\n" + + "\031RecordedFutureIocSettings\022F\n" + + "\016authentication\030\001" + + " \001(\0132).google.cloud.chronicle.v1.HttpHeaderAuthB\003\340A\004\"{\n" + + "\017WorkdaySettings\022C\n" + + "\016authentication\030\001" + + " \001(\0132&.google.cloud.chronicle.v1.WorkdayAuthB\003\340A\004\022\020\n" + + "\010hostname\030\002 \001(\t\022\021\n" + + "\ttenant_id\030\003 \001(\t\"w\n" + + "\016PanIocSettings\022F\n" + + "\016authentication\030\001" + + " \001(\0132).google.cloud.chronicle.v1.HttpHeaderAuthB\003\340A\004\022\017\n" + + "\007feed_id\030\002 \001(\t\022\014\n" + + "\004feed\030\003 \001(\t\"h\n" + + "\014OktaSettings\022F\n" + + "\016authentication\030\001" + + " \001(\0132).google.cloud.chronicle.v1.HttpHeaderAuthB\003\340A\004\022\020\n" + + "\010hostname\030\002 \001(\t\"\227\001\n" + + "\027OktaUserContextSettings\022F\n" + + "\016authentication\030\001" + + " \001(\0132).google.cloud.chronicle.v1.HttpHeaderAuthB\003\340A\004\022\020\n" + + "\010hostname\030\002 \001(\t\022\"\n" + + "\032manager_id_reference_field\030\003 \001(\t\"\307\001\n" + + "\021FoxITStixSettings\022J\n" + + "\016authentication\030\001" + + " \001(\0132-.google.cloud.chronicle.v1.UsernameSecretAuthB\003\340A\004\0228\n" + + "\003ssl\030\002 \001(\0132+.google.cloud.chronicle.v1.SSLClientKeypair\022\030\n" + + "\020poll_service_uri\030\003 \001(\t\022\022\n\n" + + "collection\030\004 \001(\t\"\210\001\n" + + "\030ThreatConnectIoCSettings\022J\n" + + "\016authentication\030\001" + + " \001(\0132-.google.cloud.chronicle.v1.UsernameSecretAuthB\003\340A\004\022\020\n" + + "\010hostname\030\002 \001(\t\022\016\n" + + "\006owners\030\003 \003(\t\"\333\001\n" + + "\032ThreatConnectIoCV3Settings\022M\n" + + "\016authentication\030\001 \001(\0132-." + + "google.cloud.chronicle.v1.UsernameSecretAuthB\006\340A\002\340A\004\022\025\n" + + "\010hostname\030\002 \001(\tB\003\340A\002\022\023\n" + + "\006owners\030\003 \003(\tB\003\340A\002\022\026\n" + + "\ttql_query\030\004 \001(\tB\003\340A\001\022\023\n" + + "\006fields\030\005 \003(\tB\003\340A\001\022\025\n" + + "\010schedule\030\006 \001(\005B\003\340A\001\"\210\001\n" + + "\026ServiceNowCMDBSettings\022J\n" + + "\016authentication\030\001" + + " \001(\0132-.google.cloud.chronicle.v1.UsernameSecretAuthB\003\340A\004\022\020\n" + + "\010hostname\030\002 \001(\t\022\020\n" + + "\010feedname\030\003 \001(\t\"\\\n" + + "\022ImpervaWAFSettings\022F\n" + + "\016authentication\030\001" + + " \001(\0132).google.cloud.chronicle.v1.HttpHeaderAuthB\003\340A\004\"q\n" + + "\025ThinkstCanarySettings\022F\n" + + "\016authentication\030\001" + + " \001(\0132).google.cloud.chronicle.v1.HttpHeaderAuthB\003\340A\004\022\020\n" + + "\010hostname\030\002 \001(\t\"c\n" + + "\021RHIsacIocSettings\022N\n" + + "\016authentication\030\001 \001(\01321." + + "google.cloud.chronicle.v1.OAuthClientCredentialsB\003\340A\004\"\203\001\n" + + "\025Rapid7InsightSettings\022F\n" + + "\016authentication\030\001" + + " \001(\0132).google.cloud.chronicle.v1.HttpHeaderAuthB\003\340A\004\022\020\n" + + "\010endpoint\030\002 \001(\t\022\020\n" + + "\010hostname\030\003 \001(\t\"\362\001\n" + + "\022SalesforceSettings\022b\n" + + "\031oauth_password_grant_auth\030\001" + + " \001(\01328.google.cloud.chronicle.v1.OAuthPasswordGrantCredentialsB\003\340A\004H\000\022T\n" + + "\025oauth_jwt_credentials\030\002 \001(\0132..google.cloud.chr", + "onicle.v1.OAuthJWTCredentialsB\003\340A\004H\000\022\020\n" + + "\010hostname\030\003 \001(\tB\020\n" + + "\016authentication\"\215\001\n" + + "\023MandiantIoCSettings\022F\n" + + "\016authentication\030\001 \001(\013" + + "2).google.cloud.chronicle.v1.HttpHeaderAuthB\003\340A\004\022.\n\n" + + "start_time\030\002 \001(\0132\032.google.protobuf.Timestamp\"\231\001\n" + + "\025NetskopeAlertSettings\022F\n" + + "\016authentication\030\001" + + " \001(\0132).google.cloud.chronicle.v1.HttpHeaderAuthB\003\340A\004\022\020\n" + + "\010hostname\030\002 \001(\t\022\020\n" + + "\010feedname\030\003 \001(\t\022\024\n" + + "\014content_type\030\004 \001(\t\"\244\001\n" + + "\027NetskopeAlertV2Settings\022F\n" + + "\016authentication\030\001" + + " \001(\0132).google.cloud.chronicle.v1.HttpHeaderAuthB\003\340A\004\022\020\n" + + "\010hostname\030\002 \001(\t\022\030\n" + + "\020content_category\030\003 \001(\t\022\025\n\r" + + "content_types\030\004 \003(\t\"\255\001\n" + + "\026AzureMDMIntuneSettings\022W\n" + + "\016authentication\030\001 \001(\0132:.google." + + "cloud.chronicle.v1.MicrosoftOAuthClientCredentialsB\003\340A\004\022\021\n" + + "\ttenant_id\030\002 \001(\t\022\020\n" + + "\010hostname\030\003 \001(\t\022\025\n\r" + + "auth_endpoint\030\004 \001(\t\"\302\002\n" + + "\026WorkspaceUsersSettings\022K\n" + + "\016authentication\030\001" + + " \001(\0132..google.cloud.chronicle.v1.OAuthJWTCredentialsB\003\340A\004\022\035\n" + + "\025workspace_customer_id\030\002 \001(\t\022^\n" + + "\017projection_type\030\003 \001(\0162@.go" + + "ogle.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionTypeB\003\340A\001\"\\\n" + + "\016ProjectionType\022\037\n" + + "\033PROJECTION_TYPE_UNSPECIFIED\020\000\022\024\n" + + "\020BASIC_PROJECTION\020\001\022\023\n" + + "\017FULL_PROJECTION\020\002\"\235\001\n" + + "\031WorkspaceActivitySettings\022K\n" + + "\016authentication\030\001" + + " \001(\0132..google.cloud.chronicle.v1.OAuthJWTCredentialsB\003\340A\004\022\035\n" + + "\025workspace_customer_id\030\002 \001(\t\022\024\n" + + "\014applications\030\003 \003(\t\"\205\001\n" + + "\027WorkspaceAlertsSettings\022K\n" + + "\016authentication\030\001" + + " \001(\0132..google.cloud.chronicle.v1.OAuthJWTCredentialsB\003\340A\004\022\035\n" + + "\025workspace_customer_id\030\002 \001(\t\"\211\001\n" + + "\033WorkspacePrivilegesSettings\022K\n" + + "\016authentication\030\001 \001(\0132..googl" + + "e.cloud.chronicle.v1.OAuthJWTCredentialsB\003\340A\004\022\035\n" + + "\025workspace_customer_id\030\002 \001(\t\"\205\001\n" + + "\027WorkspaceMobileSettings\022K\n" + + "\016authentication\030\001" + + " \001(\0132..google.cloud.chronicle.v1.OAuthJWTCredentialsB\003\340A\004\022\035\n" + + "\025workspace_customer_id\030\002 \001(\t\"\207\001\n" + + "\031WorkspaceChromeOSSettings\022K\n" + + "\016authentication\030\001 \001(\0132..google.clou" + + "d.chronicle.v1.OAuthJWTCredentialsB\003\340A\004\022\035\n" + + "\025workspace_customer_id\030\002 \001(\t\"\205\001\n" + + "\027WorkspaceGroupsSettings\022K\n" + + "\016authentication\030\001 \001" + + "(\0132..google.cloud.chronicle.v1.OAuthJWTCredentialsB\003\340A\004\022\035\n" + + "\025workspace_customer_id\030\002 \001(\t\"\206\001\n" + + "\"GoogleCloudIdentityDevicesSettings\022K\n" + + "\016authentication\030\001 \001(\0132..google.c" + + "loud.chronicle.v1.OAuthJWTCredentialsB\003\340A\004\022\023\n" + + "\013api_version\030\002 \001(\t\"u\n" + + "&GoogleCloudIdentityDeviceUsersSettings\022K\n" + + "\016authentication\030\001" + + " \001(\0132..google.cloud.chronicle.v1.OAuthJWTCredentialsB\003\340A\004\"h\n" + + "\033SymantecEventExportSettings\022I\n" + + "\016authentication\030\001 \001(\0132,." + + "google.cloud.chronicle.v1.OAuthRefreshTokenB\003\340A\004\"p\n" + + "\020QualysVMSettings\022J\n" + + "\016authentication\030\001" + + " \001(\0132-.google.cloud.chronicle.v1.UsernameSecretAuthB\003\340A\004\022\020\n" + + "\010hostname\030\002 \001(\t\"q\n" + + "\026PanPrismaCloudSettings\022E\n" + + "\016authentication\030\001" + + " \001(\0132(.google.cloud.chronicle.v1.PanPrismaAuthB\003\340A\004\022\020\n" + + "\010hostname\030\002 \001(\t\"\355\001\n" + + "\014SftpSettings\022@\n" + + "\016authentication\030\001 \001(\0132#" + + ".google.cloud.chronicle.v1.SftpAuthB\003\340A\004\022\013\n" + + "\003uri\030\002 \001(\t\022=\n" + + "\013source_type\030\003 \001(\0162(.google.cloud.chronicle.v1.URISourceType\022O\n" + + "\026source_deletion_option\030\004 \001(\0162/.google.cl" + + "oud.chronicle.v1.SourceDeletionOption\"\350\001\n" + + "\032GoogleCloudStorageSettings\022\022\n\n" + + "bucket_uri\030\001 \001(\t\022=\n" + + "\013source_type\030\002 \001(\0162(.google.cloud.chronicle.v1.URISourceType\022O\n" + + "\026source_deletion_option\030\003" + + " \001(\0162/.google.cloud.chronicle.v1.SourceDeletionOption\022&\n" + + "\031chronicle_service_account\030\004 \001(\tB\003\340A\003\"\253\001\n" + + "\014HttpSettings\022\013\n" + + "\003uri\030\001 \001(\t\022=\n" + + "\013source_type\030\002 \001(\0162(.google.cloud.chronicle.v1.URISourceType\022O\n" + + "\026source_deletion_option\030\003 \001(\0162/." + + "google.cloud.chronicle.v1.SourceDeletionOption\"\362\001\n" + + "\020AmazonS3Settings\022>\n" + + "\016authentication\030\001" + + " \001(\0132!.google.cloud.chronicle.v1.S3AuthB\003\340A\004\022\016\n" + + "\006s3_uri\030\002 \001(\t\022=\n" + + "\013source_type\030\003 \001(\0162(.google.cloud.chronicle.v1.URISourceType\022O\n" + + "\026source_deletion_option\030\004 \001" + + "(\0162/.google.cloud.chronicle.v1.SourceDeletionOption\"\376\001\n" + + "\026AzureBlobStoreSettings\022A\n" + + "\016authentication\030\001" + + " \001(\0132$.google.cloud.chronicle.v1.AzureAuthB\003\340A\004\022\021\n" + + "\tazure_uri\030\002 \001(\t\022=\n" + + "\013source_type\030\003 \001(\0162(.google.cloud.chronicle.v1.URISourceType\022O\n" + + "\026source_deletion_option\030\004" + + " \001(\0162/.google.cloud.chronicle.v1.SourceDeletionOption\"a\n" + + "\023AWSEC2HostsSettings\022J\n" + + "\016authentication\030\001 \001(\0132-.go" + + "ogle.cloud.chronicle.v1.UsernameSecretAuthB\003\340A\004\"e\n" + + "\027AWSEC2InstancesSettings\022J\n" + + "\016authentication\030\001" + + " \001(\0132-.google.cloud.chronicle.v1.UsernameSecretAuthB\003\340A\004\"`\n" + + "\022AWSEC2VpcsSettings\022J\n" + + "\016authentication\030\001 \001(\0132-.g" + + "oogle.cloud.chronicle.v1.UsernameSecretAuthB\003\340A\004\"\350\001\n" + + "\016AWSIAMSettings\022J\n" + + "\016authentication\030\002" + + " \001(\0132-.google.cloud.chronicle.v1.UsernameSecretAuthB\003\340A\004\022C\n" + + "\010api_type\030\003 \001(\01621.google.cloud.chronicle.v1.AWSIAMSettings.ApiType\"E\n" + + "\007ApiType\022\030\n" + + "\024API_TYPE_UNSPECIFIED\020\000\022\t\n" + + "\005USERS\020\001\022\t\n" + + "\005ROLES\020\002\022\n\n" + + "\006GROUPS\020\003\"C\n" + + "\tAzureAuth\022\024\n\n" + + "shared_key\030\001 \001(\tH\000\022\023\n" + + "\tsas_token\030\002 \001(\tH\000B\013\n" + + "\tauth_type\"\312\001\n" + + "\007SQSAuth\022U\n" + + "\032sqs_access_key_secret_auth\030\001 \001(\013" + + "21.google.cloud.chronicle.v1.SQSAccessKeySecretAuth\022h\n" + + "$additional_s3_access_key_secret_auth\030\002 \001(\0132:.google.cloud.chronic" + + "le.v1.AdditionalS3AccessKeySecretAuth\"\315\001\n" + + "\tSQSAuthV2\022a\n" + + "\035sqs_v2_access_key_secret_auth\030\003" + + " \001(\01323.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuthB\003\340A\002H\000\022P\n" + + "\021aws_iam_role_auth\030\005" + + " \001(\0132..google.cloud.chronicle.v1.SQSV2AwsIamRoleAuthB\003\340A\002H\000B\013\n" + + "\tauth_type\"C\n" + + "\023SQSV2AwsIamRoleAuth\022\030\n" + + "\020aws_iam_role_arn\030\001 \001(\t\022\022\n\n" + + "subject_id\030\002 \001(\t\"L\n" + + "\030SQSV2AccessKeySecretAuth\022\025\n\r" + + "access_key_id\030\001 \001(\t\022\031\n" + + "\021secret_access_key\030\002 \001(\t\"J\n" + + "\026SQSAccessKeySecretAuth\022\025\n\r" + + "access_key_id\030\001 \001(\t\022\031\n" + + "\021secret_access_key\030\002 \001(\t\"S\n" + + "\037AdditionalS3AccessKeySecretAuth\022\025\n\r" + + "access_key_id\030\001 \001(\t\022\031\n" + + "\021secret_access_key\030\002 \001(\t\"\256\001\n" + + "\006S3Auth\022\025\n\r" + + "access_key_id\030\001 \001(\t\022\031\n" + + "\021secret_access_key\030\002 \001(\t\022\021\n" + + "\tclient_id\030\003 \001(\t\022\025\n\r" + + "client_secret\030\004 \001(\t\022\023\n" + + "\013refresh_uri\030\005 \001(\t\0223\n" + + "\006region\030\006 \001(\0162#.google.cloud.chronicle.v1.S3Region\"l\n" + + "\021OAuthRefreshToken\022\026\n" + + "\016token_endpoint\030\001 \001(\t\022\021\n" + + "\tclient_id\030\002 \001(\t\022\025\n\r" + + "client_secret\030\003 \001(\t\022\025\n\r" + + "refresh_token\030\004 \001(\t\"c\n" + + "\010SftpAuth\022\020\n" + + "\010username\030\001 \001(\t\022\020\n" + + "\010password\030\002 \001(\t\022\023\n" + + "\013private_key\030\003 \001(\t\022\036\n" + + "\026private_key_passphrase\030\004 \001(\t\"V\n" + + "\016HttpHeaderAuth\022D\n" + + "\021header_key_values\030\001" + + " \003(\0132).google.cloud.chronicle.v1.HeaderKeyValue\",\n" + + "\016HeaderKeyValue\022\013\n" + + "\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t\"2\n" + + "\022UsernameSecretAuth\022\014\n" + + "\004user\030\001 \001(\t\022\016\n" + + "\006secret\030\002 \001(\t\"K\n" + + "\037MicrosoftOAuthClientCredentials\022\021\n" + + "\tclient_id\030\001 \001(\t\022\025\n\r" + + "client_secret\030\002 \001(\t\"Z\n" + + "\026OAuthClientCredentials\022\026\n" + + "\016token_endpoint\030\001 \001(\t\022\021\n" + + "\tclient_id\030\002 \001(\t\022\025\n\r" + + "client_secret\030\003 \001(\t\"\201\001\n" + + "\035OAuthPasswordGrantCredentials\022\026\n" + + "\016token_endpoint\030\001 \001(\t\022\021\n" + + "\tclient_id\030\002 \001(\t\022\025\n\r" + + "client_secret\030\003 \001(\t\022\014\n" + + "\004user\030\004 \001(\t\022\020\n" + + "\010password\030\005 \001(\t\"/\n\r" + + "PanPrismaAuth\022\014\n" + + "\004user\030\001 \001(\t\022\020\n" + + "\010password\030\002 \001(\t\"\263\001\n" + + "\023OAuthJWTCredentials\022B\n" + + "\016rs_credentials\030\003" + + " \001(\0132(.google.cloud.chronicle.v1.RSCredentialsH\000\022\026\n" + + "\016token_endpoint\030\001 \001(\t\0221\n" + + "\006claims\030\002 \001(\0132!.google.cloud.chronicle.v1.ClaimsB\r\n" + + "\013credentials\"$\n\r" + + "RSCredentials\022\023\n" + + "\013private_key\030\001 \001(\t\";\n" + + "\006Claims\022\016\n" + + "\006issuer\030\001 \001(\t\022\017\n" + + "\007subject\030\002 \001(\t\022\020\n" + + "\010audience\030\003 \001(\t\"H\n" + + "\020SSLClientKeypair\022\033\n" + + "\023encoded_private_key\030\001 \001(\t\022\027\n" + + "\017ssl_certificate\030\002 \001(\t\"\204\001\n" + + "\013WorkdayAuth\022\014\n" + + "\004user\030\001 \001(\t\022\016\n" + + "\006secret\030\002 \001(\t\022\026\n" + + "\016token_endpoint\030\003 \001(\t\022\021\n" + + "\tclient_id\030\004 \001(\t\022\025\n\r" + + "client_secret\030\005 \001(\t\022\025\n\r" + + "refresh_token\030\006 \001(\t\"\366\001\n" + + "\034GoogleCloudStorageV2Settings\022\027\n\n" + + "bucket_uri\030\001 \001(\tB\003\340A\002\022V\n" + + "\026source_deletion_option\030\002" + + " \001(\01621.google.cloud.chronicle.v1.SourceDeletionOptionV2B\003\340A\001\022&\n" + + "\031chronicle_service_account\030\003 \001(\tB\003\340A\003\022\036\n" + + "\021max_lookback_days\030\004 \001(\005B\003\340A\001\022\035\n" + + "\020include_prefixes\030\005 \003(\tB\003\340A\001\"\241\002\n" + + "%GoogleCloudStorageEventDrivenSettings\022\027\n\n" + + "bucket_uri\030\001 \001(\tB\003\340A\002\022 \n" + + "\023pubsub_subscription\030\002 \001(\tB\003\340A\002\022V\n" + + "\026source_deletion_option\030\003 \001(\01621.google.c" + + "loud.chronicle.v1.SourceDeletionOptionV2B\003\340A\001\022&\n" + + "\031chronicle_service_account\030\004 \001(\tB\003\340A\003\022\036\n" + + "\021max_lookback_days\030\005 \001(\005B\003\340A\001\022\035\n" + + "\020include_prefixes\030\006 \003(\tB\003\340A\001\"\271\001\n" + + "\010S3AuthV2\022T\n" + + "\026access_key_secret_auth\030\003 \001(\01322.goog" + + "le.cloud.chronicle.v1.S3V2AccessKeySecretAuthH\000\022J\n" + + "\021aws_iam_role_auth\030\005 \001(\0132-.goo" + + "gle.cloud.chronicle.v1.S3V2AwsIamRoleAuthH\000B\013\n" + + "\tauth_type\"B\n" + + "\022S3V2AwsIamRoleAuth\022\030\n" + + "\020aws_iam_role_arn\030\001 \001(\t\022\022\n\n" + + "subject_id\030\002 \001(\t\"U\n" + + "\027S3V2AccessKeySecretAuth\022\032\n\r" + + "access_key_id\030\001 \001(\tB\003\340A\002\022\036\n" + + "\021secret_access_key\030\002 \001(\tB\003\340A\002\"\252\002\n" + + "\022AmazonS3V2Settings\022@\n" + + "\016authentication\030\001" + + " \001(\0132#.google.cloud.chronicle.v1.S3AuthV2B\003\340A\002\022\023\n" + + "\006s3_uri\030\002 \001(\tB\003\340A\002\022V\n" + + "\026source_deletion_option\030\003 \001(\01621.goog" + + "le.cloud.chronicle.v1.SourceDeletionOptionV2B\003\340A\001\022\036\n" + + "\021max_lookback_days\030\004 \001(\005B\003\340A\001\022&\n" + + "\031chronicle_service_account\030\005 \001(\tB\003\340A\003\022\035\n" + + "\020include_prefixes\030\006 \003(\tB\003\340A\001\"]\n" + + "\022MssoAuthentication\022\025\n" + + "\010username\030\001 \001(\tB\003\340A\002\022\025\n" + + "\010password\030\002 \001(\tB\003\340A\002\022\031\n" + + "\014api_endpoint\030\003 \001(\tB\003\340A\002\"V\n" + + " MimecastV2OAuthClientCredentials\022\026\n" + + "\tclient_id\030\001 \001(\tB\003\340A\002\022\032\n\r" + + "client_secret\030\002 \001(\tB\003\340A\002\"b\n" + + "\030TrellixIAMAuthentication\022\026\n" + + "\tclient_id\030\001 \001(\tB\003\340A\002\022\032\n\r" + + "client_secret\030\002 \001(\tB\003\340A\002\022\022\n" + + "\005scope\030\003 \001(\tB\003\340A\002\"\202\001\n" + + "\032TrellixLocalAuthentication\022\025\n" + + "\010username\030\001 \001(\tB\003\340A\002\022\025\n" + + "\010password\030\002 \001(\tB\003\340A\002\022\033\n" + + "\016token_endpoint\030\003 \001(\tB\003\340A\002\022\031\n" + + "\014token_header\030\004 \001(\tB\003\340A\002\"\223\002\n" + + "\032TrellixStarXAuthentication\022B\n" + + "\004msso\030\001" + + " \001(\0132-.google.cloud.chronicle.v1.MssoAuthenticationB\003\340A\004H\000\022O\n" + + "\013trellix_iam\030\002" + + " \001(\01323.google.cloud.chronicle.v1.TrellixIAMAuthenticationB\003\340A\004H\000\022S\n\r" + + "trellix_local\030\003" + + " \001(\01325.google.cloud.chronicle.v1.TrellixLocalAuthenticationB\003\340A\004H\000B\013\n" + + "\tauth_type\"\203\001\n" + + "\026TrellixHxHostsSettings\022R\n" + + "\016authentication\030\001" + + " \001(\01325.google.cloud.chronicle.v1.TrellixStarXAuthenticationB\003\340A\002\022\025\n" + + "\010endpoint\030\002 \001(\tB\003\340A\002\"\204\001\n" + + "\027TrellixHxAlertsSettings\022R\n" + + "\016authentication\030\001 \001(\01325.googl" + + "e.cloud.chronicle.v1.TrellixStarXAuthenticationB\003\340A\002\022\025\n" + + "\010endpoint\030\002 \001(\tB\003\340A\002\"\206\001\n" + + "\031TrellixHxBulkAcqsSettings\022R\n" + + "\016authentication\030\001" + + " \001(\01325.google.cloud.chronicle.v1.TrellixStarXAuthenticationB\003\340A\002\022\025\n" + + "\010endpoint\030\002 \001(\tB\003\340A\002\"\205\002\n" + + "\025AzureEventHubSettings\022\021\n" + + "\004name\030\001 \001(\tB\003\340A\002\022\033\n" + + "\016consumer_group\030\002 \001(\tB\003\340A\002\022(\n" + + "\033event_hub_connection_string\030\003 \001(\tB\003\340A\002\022,\n" + + "\037azure_storage_connection_string\030\004 \001(\tB\003\340A\001\022$\n" + + "\027azure_storage_container\030\005 \001(\tB\003\340A\001\022\034\n" + + "\017azure_sas_token\030\006 \001(\tB\003\340A\001\022 \n" + + "\023event_hub_namespace\030\007 \001(\tB\003\340A\003\"\300\002\n" + + "\023AmazonSQSV2Settings\022\022\n" + + "\005queue\030\001 \001(\tB\003\340A\002\022\023\n" + + "\006s3_uri\030\002 \001(\tB\003\340A\002\022A\n" + + "\016authentication\030\003" + + " \001(\0132$.google.cloud.chronicle.v1.SQSAuthV2B\003\340A\002\022V\n" + + "\026source_deletion_option\030\004 \001(\016" + + "21.google.cloud.chronicle.v1.SourceDeletionOptionV2B\003\340A\001\022\036\n" + + "\021max_lookback_days\030\005 \001(\005B\003\340A\001\022&\n" + + "\031chronicle_service_account\030\006 \001(\tB\003\340A\003\022\035\n" + + "\020include_prefixes\030\007 \003(\tB\003\340A\001\"\266\002\n" + + "\030AzureBlobStoreV2Settings\022\026\n" + + "\tazure_uri\030\001 \001(\tB\003\340A\002\022C\n" + + "\016authentication\030\003 \001(\0132&.g" + + "oogle.cloud.chronicle.v1.AzureAuthV2B\003\340A\002\022V\n" + + "\026source_deletion_option\030\004 \001(\01621.goog" + + "le.cloud.chronicle.v1.SourceDeletionOptionV2B\003\340A\001\022\036\n" + + "\021max_lookback_days\030\005 \001(\005B\003\340A\001\022&\n" + + "\031chronicle_service_account\030\006 \001(\tB\003\340A\003\022\035\n" + + "\020include_prefixes\030\007 \003(\tB\003\340A\001\"l\n" + + "!AzureV2WorkloadIdentityFederation\022\026\n" + + "\tclient_id\030\001 \001(\tB\003\340A\002\022\026\n" + + "\ttenant_id\030\002 \001(\tB\003\340A\002\022\027\n" + + "\n" + + "subject_id\030\003 \001(\tB\003\340A\002\"\303\001\n" + + "\013AzureAuthV2\022\031\n\n" + + "access_key\030\001 \001(\tB\003\340A\002H\000\022\030\n" + + "\tsas_token\030\002 \001(\tB\003\340A\002H\000\022r\n" + + "%azure_v2_workload_identity_federation\030\003 \001(\0132<.google.cloud.chroni" + + "cle.v1.AzureV2WorkloadIdentityFederationB\003\340A\002H\000B\013\n" + + "\tauth_type\"\320\002\n" + + "\024FeedSourceTypeSchema\022\014\n" + + "\004name\030\001 \001(\t\022\024\n" + + "\014display_name\030\002 \001(\t\022\023\n" + + "\013description\030\003 \001(\t\022\021\n" + + "\tread_only\030\004 \001(\010\022O\n" + + "\020feed_source_type\030\005 \001(\01625.google.clo" + + "ud.chronicle.v1.FeedDetails.FeedSourceType:\232\001\352A\226\001\n" + + "-chronicle.googleapis.com/FeedSourceTypeSchema\022eprojects/{project}/loc" + + "ations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}\"\213" + + "\t\n\r" + + "LogTypeSchema\022\014\n" + + "\004name\030\001 \001(\t\022\024\n" + + "\014display_name\030\002 \001(\t\022\020\n" + + "\010log_type\030\003 \001(\t\022\021\n" + + "\tread_only\030\004 \001(\010\022 \n" + + "\030supporting_documentation\030\005 \001(\t\022Z\n" + + "\025details_field_schemas\030\006 \003(\0132;.go" + + "ogle.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema\022q\n" + + "!details_field_schema_alternatives\030\007 \003(\0132F.google.cloud.chron" + + "icle.v1.LogTypeSchema.DetailsFieldSchemaAlternative\032\202\001\n" + + "\035DetailsFieldSchemaAlternative\022a\n" + + "\031details_field_schema_sets\030\001 \003(\013" + + "2>.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet\032\236\001\n" + + "\025DetailsFieldSchemaSet\022\024\n" + + "\014display_name\030\001 \001(\t\022\023\n" + + "\013description\030\002 \001(\t\022Z\n" + + "\025details_field_schemas\030\003" + + " \003(\0132;.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema\032\234\002\n" + + "\022DetailsFieldSchema\022\022\n\n" + + "field_path\030\001 \001(\t\022\024\n" + + "\014display_name\030\002 \001(\t\022\023\n" + + "\013description\030\003 \001(\t\0225\n" + + "\004type\030\004 \001(\0162\'.google.cloud.chronicle.v1.SemanticType\022T\n" + + "\022enum_field_schemas\030\005 \003(\01328.goo" + + "gle.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema\022\020\n" + + "\010required\030\006 \001(\010\022\025\n\r" + + "example_input\030\007 \001(\t\022\021\n" + + "\tread_only\030\010 \001(\010\032K\n" + + "\017EnumFieldSchema\022\r\n" + + "\005value\030\001 \001(\t\022\024\n" + + "\014display_name\030\002 \001(\t\022\023\n" + + "\013description\030\003 \001(\t:\255\001\352A\251\001\n" + + "&chronicle.googleapis.com/LogTypeSchema\022\177pr" + + "ojects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas" + + "/{feed_source_type}/logTypeSchemas/{log_type}\"l\n" + + "%FetchServiceAccountForCustomerRequest\022C\n" + + "\006parent\030\001 \001(" + + "\tB3\340A\002\372A-\022+chronicle.googleapis.com/FeedServiceAccount\"\220\001\n" + + " ListFeedSourceTypeSchemasRequest\022E\n" + + "\006parent\030\001 \001(" + + "\tB5\340A\002\372A/\022-chronicle.googleapis.com/FeedSourceTypeSchema\022\021\n" + + "\tpage_size\030\002 \001(\005\022\022\n\n" + + "page_token\030\003 \001(\t\"\217\001\n" + + "!ListFeedSourceTypeSchemasResponse\022Q\n" + + "\030feed_source_type_schemas\030\001" + + " \003(\0132/.google.cloud.chronicle.v1.FeedSourceTypeSchema\022\027\n" + + "\017next_page_token\030\002 \001(\t\"\202\001\n" + + "\031ListLogTypeSchemasRequest\022>\n" + + "\006parent\030\001 \001(" + + "\tB.\340A\002\372A(\022&chronicle.googleapis.com/LogTypeSchema\022\021\n" + + "\tpage_size\030\002 \001(\005\022\022\n\n" + + "page_token\030\003 \001(\t\"y\n" + + "\032ListLogTypeSchemasResponse\022B\n" + + "\020log_type_schemas\030\001 \003(\0132(." + + "google.cloud.chronicle.v1.LogTypeSchema\022\027\n" + + "\017next_page_token\030\002 \001(\t\"\221\001\n" + + "\025ImportPushLogsRequest\0225\n" + + "\006parent\030\001 \001(\tB%\340A\002\372A\037\n" + + "\035chronicle.googleapis.com/Feed\022,\n" + + "\thttp_body\030\002 \001(\0132\024.google.api.HttpBodyB\003\340A\002\022\023\n" + + "\006secret\030\003 \001(\tB\003\340A\005\"}\n" + + "\021UpdateFeedRequest\0222\n" + + "\004feed\030\001 \001(\0132\037.google.cloud.chronicle.v1.FeedB\003\340A\002\0224\n" + + "\013update_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\"p\n" + + "\020ListFeedsRequest\0225\n" + + "\006parent\030\001 \001(" + + "\tB%\340A\002\372A\037\022\035chronicle.googleapis.com/Feed\022\021\n" + + "\tpage_size\030\002 \001(\005\022\022\n\n" + + "page_token\030\003 \001(\t\"\\\n" + + "\021ListFeedsResponse\022.\n" + + "\005feeds\030\001 \003(\0132\037.google.cloud.chronicle.v1.Feed\022\027\n" + + "\017next_page_token\030\002 \001(\t\"\202\001\n" + + "\024ListFeedPacksRequest\0229\n" + + "\006parent\030\001 \001(" + + "\tB)\340A\002\372A#\022!chronicle.googleapis.com/FeedPack\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\"i\n" + + "\025ListFeedPacksResponse\0227\n\n" + + "feed_packs\030\001 \003(\0132#.google.cloud.chronicle.v1.FeedPack\022\027\n" + + "\017next_page_token\030\002 \001(\t\"M\n" + + "\022GetFeedPackRequest\0227\n" + + "\004name\030\001 \001(\tB)\340A\002\372A#\n" + + "!chronicle.googleapis.com/FeedPack\"~\n" + + "\021CreateFeedRequest\0225\n" + + "\006parent\030\001 \001(" + + "\tB%\340A\002\372A\037\022\035chronicle.googleapis.com/Feed\0222\n" + + "\004feed\030\002 \001(\0132\037.google.cloud.chronicle.v1.FeedB\003\340A\002\"E\n" + + "\016GetFeedRequest\0223\n" + + "\004name\030\001 \001(\tB%\340A\002\372A\037\n" + + "\035chronicle.googleapis.com/Feed\"e\n" + + "\021DeleteFeedRequest\0223\n" + + "\004name\030\001 \001(\tB%\340A\002\372A\037\n" + + "\035chronicle.googleapis.com/Feed\022\033\n" + + "\016delete_backlog\030\002 \001(\010B\003\340A\001\"H\n" + + "\021EnableFeedRequest\0223\n" + + "\004name\030\001 \001(\tB%\340A\002\372A\037\n" + + "\035chronicle.googleapis.com/Feed\"L\n" + + "\025GenerateSecretRequest\0223\n" + + "\004name\030\001 \001(\tB%\340A\002\372A\037\n" + + "\035chronicle.googleapis.com/Feed\"(\n" + + "\026GenerateSecretResponse\022\016\n" + + "\006secret\030\001 \001(\t\"I\n" + + "\022DisableFeedRequest\0223\n" + + "\004name\030\001 \001(\tB%\340A\002\372A\037\n" + + "\035chronicle.googleapis.com/Feed\"?\n" + + "\027CustomAPIHeaderKeyValue\022\020\n" + + "\003key\030\001 \001(\tB\003\340A\002\022\022\n" + + "\005value\030\002 \001(\tB\003\340A\002\"i\n" + + "\023CustomAPIHeaderAuth\022R\n" + + "\021header_key_values\030\001 \003(\01322.googl" + + "e.cloud.chronicle.v1.CustomAPIHeaderKeyValueB\003\340A\001\">\n" + + "\026CustomAPIQueryKeyValue\022\020\n" + + "\003key\030\001 \001(\tB\003\340A\002\022\022\n" + + "\005value\030\002 \001(\tB\003\340A\002\"f\n" + + "\022CustomAPIQueryAuth\022P\n" + + "\020query_key_values\030\001 \003(" + + "\01321.google.cloud.chronicle.v1.CustomAPIQueryKeyValueB\003\340A\001\"\021\n" + + "\017CustomAPINoAuth\"\223\004\n" + + "\021CustomAPISettings\022=\n" + + "\007no_auth\030\010 \001(\0132*.go" + + "ogle.cloud.chronicle.v1.CustomAPINoAuthH\000\022C\n\n" + + "basic_auth\030\003" + + " \001(\0132-.google.cloud.chronicle.v1.UsernameSecretAuthH\000\022U\n" + + "\030oauth_client_credentials\030\004" + + " \001(\01321.google.cloud.chronicle.v1.OAuthClientCredentialsH\000\022E\n" + + "\013header_auth\030\005" + + " \001(\0132..google.cloud.chronicle.v1.CustomAPIHeaderAuthH\000\022C\n\n" + + "query_auth\030\t" + + " \001(\0132-.google.cloud.chronicle.v1.CustomAPIQueryAuthH\000\022\025\n" + + "\010base_url\030\001 \001(\tB\003\340A\002\022\036\n" + + "\021polling_frequency\030\002 \001(\005B\003\340A\001\022N\n" + + "\017primary_request\030\006" + + " \001(\01320.google.cloud.chronicle.v1.CustomAPITransferNodeB\003\340A\002B\020\n" + + "\016authentication\"\305\003\n" + + "\025CustomAPITransferNode\022P\n" + + "\020request_settings\030\001 \001(\01321.google.cloud.ch" + + "ronicle.v1.CustomAPIRequestConfigB\003\340A\002\022Q\n" + + "\020response_mapping\030\002 \001(\01322.google.cloud." + + "chronicle.v1.CustomAPIResponseConfigB\003\340A\002\022P\n" + + "\023pagination_strategy\030\003 \001(\0132..google." + + "cloud.chronicle.v1.CustomAPIPaginationB\003\340A\002\022P\n\r" + + "checkpointing\030\004 \001(\01324.google.clou" + + "d.chronicle.v1.CustomAPICheckpointConfigB\003\340A\002\022c\n" + + "\031dependent_requests_config\030\010 \001(\013" + + "2;.google.cloud.chronicle.v1.CustomAPIDependentRequestsConfigB\003\340A\001\"\264\001\n" + + " CustomAPIDependentRequestsConfig\022\036\n" + + "\021item_id_json_path\030\001 \001(\tB\003\340A\002\022\035\n" + + "\020item_id_variable\030\002 \001(\tB\003\340A\001\022Q\n" + + "\022dependent_requests\030\003 \003(\01320.goo" + + "gle.cloud.chronicle.v1.CustomAPITransferNodeB\003\340A\001\"\235\003\n" + + "\026CustomAPIRequestConfig\022\032\n\r" + + "endpoint_path\030\001 \001(\tB\003\340A\002\022V\n" + + "\013http_method\030\002" + + " \001(\0162<.google.cloud.chronicle.v1.CustomAPIRequestConfig.HttpMethodB\003\340A\002\022\031\n" + + "\014request_body\030\003 \001(\tB\003\340A\001\022H\n" + + "\020query_parameters\030\004" + + " \003(\0132).google.cloud.chronicle.v1.HeaderKeyValueB\003\340A\001\022F\n" + + "\016custom_headers\030\005 \003(\0132)." + + "google.cloud.chronicle.v1.HeaderKeyValueB\003\340A\001\022$\n" + + "\027max_requests_per_minute\030\006 \001(\005B\003\340A\001\"<\n\n" + + "HttpMethod\022\033\n" + + "\027HTTP_METHOD_UNSPECIFIED\020\000\022\007\n" + + "\003GET\020\001\022\010\n" + + "\004POST\020\002\"8\n" + + "\027CustomAPIResponseConfig\022\035\n" + + "\020target_data_path\030\001 \003(\tB\003\340A\002\"\360\005\n" + + "\031CustomAPICheckpointConfig\022Z\n\r" + + "none_strategy\030\001 \001(\0132A.google.cloud.chronicl" + + "e.v1.CustomAPICheckpointConfig.NoneStrategyH\000\022q\n" + + "\031latest_timestamp_strategy\030\002 \001(\013" + + "2L.google.cloud.chronicle.v1.CustomAPICh" + + "eckpointConfig.LatestTimestampStrategyH\000\022k\n" + + "\026latest_record_strategy\030\003 \001(\0132I.googl" + + "e.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategyH\000\022b\n" + + "\021iterator_strategy\030\004 \001(\0132E.google.cloud.chronicl" + + "e.v1.CustomAPICheckpointConfig.IteratorStrategyH\000\032\016\n" + + "\014NoneStrategy\032_\n" + + "\027LatestTimestampStrategy\022\"\n" + + "\025checkpoint_value_path\030\001 \001(\tB\003\340A\002\022 \n" + + "\023checkpoint_variable\030\002 \001(\tB\003\340A\002\032\\\n" + + "\024LatestRecordStrategy\022\"\n" + + "\025checkpoint", + "_value_path\030\001 \001(\tB\003\340A\002\022 \n\023checkpoint_var" + + "iable\030\002 \001(\tB\003\340A\002\032X\n\020IteratorStrategy\022\"\n\025" + + "checkpoint_value_path\030\001 \001(\tB\003\340A\002\022 \n\023chec" + + "kpoint_variable\030\002 \001(\tB\003\340A\002B\n\n\010strategy\"\335" + + "\005\n\023CustomAPIPagination\022M\n\004none\030\004 \001(\0132=.g" + + "oogle.cloud.chronicle.v1.CustomAPIPagina" + + "tion.NonePaginationH\000\022O\n\005token\030\005 \001(\0132>.g" + + "oogle.cloud.chronicle.v1.CustomAPIPagina" + + "tion.TokenPaginationH\000\022M\n\004link\030\006 \001(\0132=.g" + + "oogle.cloud.chronicle.v1.CustomAPIPagina" + + "tion.LinkPaginationH\000\022Q\n\006offset\030\007 \001(\0132?." + + "google.cloud.chronicle.v1.CustomAPIPagin" + + "ation.OffsetPaginationH\000\022Z\n\013page_number\030" + + "\010 \001(\0132C.google.cloud.chronicle.v1.Custom" + + "APIPagination.PageNumberPaginationH\000\032\020\n\016" + + "NonePagination\032S\n\017TokenPagination\022&\n\031nex" + + "t_page_token_json_path\030\001 \001(\tB\003\340A\002\022\030\n\013que" + + "ry_param\030\002 \001(\tB\003\340A\002\0327\n\016LinkPagination\022%\n" + + "\030next_page_link_json_path\030\001 \001(\tB\003\340A\002\0323\n\020" + + "OffsetPagination\022\037\n\022offset_query_param\030\001" + + " \001(\tB\003\340A\002\032<\n\024PageNumberPagination\022$\n\027pag" + + "e_number_query_param\030\001 \001(\tB\003\340A\002B\025\n\023pagin" + + "ation_strategy*_\n\rURISourceType\022\037\n\033URI_S" + + "OURCE_TYPE_UNSPECIFIED\020\000\022\t\n\005FILES\020\001\022\013\n\007F" + + "OLDERS\020\002\022\025\n\021FOLDERS_RECURSIVE\020\003*\244\001\n\024Sour" + + "ceDeletionOption\022&\n\"SOURCE_DELETION_OPTI" + + "ON_UNSPECIFIED\020\000\022\031\n\025SOURCE_DELETION_NEVE" + + "R\020\001\022\036\n\032SOURCE_DELETION_ON_SUCCESS\020\002\022)\n%S" + + "OURCE_DELETION_ON_SUCCESS_FILES_ONLY\020\003*^" + + "\n\026SourceDeletionOptionV2\022)\n%SOURCE_DELET" + + "ION_OPTION_V2_UNSPECIFIED\020\000\022\t\n\005NEVER\020\001\022\016" + + "\n\nON_SUCCESS\020\002*\332\004\n\010S3Region\022\031\n\025S3_REGION" + + "_UNSPECIFIED\020\000\022\r\n\tUS_EAST_1\020\001\022\r\n\tUS_EAST" + + "_2\020\002\022\r\n\tUS_WEST_1\020\003\022\r\n\tUS_WEST_2\020\004\022\020\n\014US" + + "_GOV_CLOUD\020\005\022\021\n\rUS_GOV_EAST_1\020\006\022\r\n\tEU_WE" + + "ST_1\020\007\022\r\n\tEU_WEST_2\020\010\022\r\n\tEU_WEST_3\020\t\022\020\n\014" + + "EU_CENTRAL_1\020\n\022\016\n\nEU_NORTH_1\020\013\022\016\n\nEU_SOU" + + "TH_1\020\025\022\016\n\nAP_SOUTH_1\020\014\022\022\n\016AP_SOUTHEAST_1" + + "\020\r\022\022\n\016AP_SOUTHEAST_2\020\016\022\022\n\016AP_SOUTHEAST_3" + + "\020\026\022\022\n\016AP_NORTHEAST_1\020\017\022\022\n\016AP_NORTHEAST_2" + + "\020\020\022\022\n\016AP_NORTHEAST_3\020\027\022\r\n\tAP_EAST_1\020\030\022\r\n" + + "\tSA_EAST_1\020\021\022\016\n\nCN_NORTH_1\020\022\022\022\n\016CN_NORTH" + + "WEST_1\020\023\022\020\n\014CA_CENTRAL_1\020\024\022\016\n\nAF_SOUTH_1" + + "\020\031\022\016\n\nME_SOUTH_1\020\032\022\016\n\nAP_SOUTH_2\020\033\022\022\n\016AP" + + "_SOUTHEAST_4\020\034\022\r\n\tCA_WEST_1\020\035\022\016\n\nEU_SOUT" + + "H_2\020\036\022\020\n\014EU_CENTRAL_2\020\037\022\020\n\014IL_CENTRAL_1\020" + + " \022\020\n\014ME_CENTRAL_1\020!*\364\001\n\014SemanticType\022\035\n\031" + + "SEMANTIC_TYPE_UNSPECIFIED\020\000\022\010\n\004BOOL\020\001\022\010\n" + + "\004ENUM\020\002\022\022\n\016KEY_VALUE_LIST\020\003\022\025\n\021MAP_STRIN" + + "G_STRING\020\004\022\n\n\006STRING\020\005\022\017\n\013STRING_LIST\020\006\022" + + "\024\n\020STRING_MULTILINE\020\007\022\033\n\027STRING_MULTILIN" + + "E_SECRET\020\010\022\021\n\rSTRING_SECRET\020\t\022\016\n\nSTRING_" + + "URI\020\n\022\023\n\017STRING_URI_LIST\020\0132\315\026\n\014FeedsServ" + + "ice\022\206\002\n\036FetchServiceAccountForCustomer\022@" + + ".google.cloud.chronicle.v1.FetchServiceA" + + "ccountForCustomerRequest\032-.google.cloud." + + "chronicle.v1.FeedServiceAccount\"s\332A\006pare" + + "nt\202\323\344\223\002d\022b/v1/{parent=projects/*/locatio" + + "ns/*/instances/*}/feedServiceAccounts:fe" + + "tchServiceAccountForCustomer\022\256\001\n\nCreateF" + + "eed\022,.google.cloud.chronicle.v1.CreateFe" + + "edRequest\032\037.google.cloud.chronicle.v1.Fe" + + "ed\"Q\332A\013parent,feed\202\323\344\223\002=\"5/v1/{parent=pr" + + "ojects/*/locations/*/instances/*}/feeds:" + + "\004feed\022\233\001\n\007GetFeed\022).google.cloud.chronic" + + "le.v1.GetFeedRequest\032\037.google.cloud.chro" + + "nicle.v1.Feed\"D\332A\004name\202\323\344\223\0027\0225/v1/{name=" + + "projects/*/locations/*/instances/*/feeds" + + "/*}\022\230\001\n\nDeleteFeed\022,.google.cloud.chroni" + + "cle.v1.DeleteFeedRequest\032\026.google.protob" + + "uf.Empty\"D\332A\004name\202\323\344\223\0027*5/v1/{name=proje" + + "cts/*/locations/*/instances/*/feeds/*}\022\253" + + "\001\n\nEnableFeed\022,.google.cloud.chronicle.v" + + "1.EnableFeedRequest\032\037.google.cloud.chron" + + "icle.v1.Feed\"N\332A\004name\202\323\344\223\002A\" + * FeedServiceAccount is a resource that wraps the feed service account's name. + * + * + * Protobuf type {@code google.cloud.chronicle.v1.FeedServiceAccount} + */ +@com.google.protobuf.Generated +public final class FeedServiceAccount extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.FeedServiceAccount) + FeedServiceAccountOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "FeedServiceAccount"); + } + + // Use FeedServiceAccount.newBuilder() to construct. + private FeedServiceAccount(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private FeedServiceAccount() { + name_ = ""; + subjectId_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FeedServiceAccount_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FeedServiceAccount_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.FeedServiceAccount.class, + com.google.cloud.chronicle.v1.FeedServiceAccount.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + + /** + * + * + *
+   * The resource name of the feedServiceAccount.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feedServiceAccounts/{feedserviceaccount}
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + + /** + * + * + *
+   * The resource name of the feedServiceAccount.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feedServiceAccounts/{feedserviceaccount}
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SUBJECT_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object subjectId_ = ""; + + /** + * + * + *
+   * Unique identifier for the service account.
+   * 
+ * + * string subject_id = 2; + * + * @return The subjectId. + */ + @java.lang.Override + public java.lang.String getSubjectId() { + java.lang.Object ref = subjectId_; + 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(); + subjectId_ = s; + return s; + } + } + + /** + * + * + *
+   * Unique identifier for the service account.
+   * 
+ * + * string subject_id = 2; + * + * @return The bytes for subjectId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSubjectIdBytes() { + java.lang.Object ref = subjectId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + subjectId_ = 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.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subjectId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, subjectId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subjectId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, subjectId_); + } + 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.cloud.chronicle.v1.FeedServiceAccount)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.FeedServiceAccount other = + (com.google.cloud.chronicle.v1.FeedServiceAccount) obj; + + if (!getName().equals(other.getName())) return false; + if (!getSubjectId().equals(other.getSubjectId())) 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) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + SUBJECT_ID_FIELD_NUMBER; + hash = (53 * hash) + getSubjectId().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.FeedServiceAccount parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.FeedServiceAccount parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FeedServiceAccount parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.FeedServiceAccount 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.cloud.chronicle.v1.FeedServiceAccount parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.FeedServiceAccount parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FeedServiceAccount parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.FeedServiceAccount parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FeedServiceAccount parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.FeedServiceAccount parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FeedServiceAccount parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.FeedServiceAccount parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.FeedServiceAccount 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * FeedServiceAccount is a resource that wraps the feed service account's name.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.FeedServiceAccount} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.FeedServiceAccount) + com.google.cloud.chronicle.v1.FeedServiceAccountOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FeedServiceAccount_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FeedServiceAccount_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.FeedServiceAccount.class, + com.google.cloud.chronicle.v1.FeedServiceAccount.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.FeedServiceAccount.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + subjectId_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FeedServiceAccount_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedServiceAccount getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.FeedServiceAccount.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedServiceAccount build() { + com.google.cloud.chronicle.v1.FeedServiceAccount result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedServiceAccount buildPartial() { + com.google.cloud.chronicle.v1.FeedServiceAccount result = + new com.google.cloud.chronicle.v1.FeedServiceAccount(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.FeedServiceAccount result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.subjectId_ = subjectId_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.FeedServiceAccount) { + return mergeFrom((com.google.cloud.chronicle.v1.FeedServiceAccount) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.FeedServiceAccount other) { + if (other == com.google.cloud.chronicle.v1.FeedServiceAccount.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSubjectId().isEmpty()) { + subjectId_ = other.subjectId_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + subjectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + + /** + * + * + *
+     * The resource name of the feedServiceAccount.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feedServiceAccounts/{feedserviceaccount}
+     * 
+ * + * string name = 1; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * The resource name of the feedServiceAccount.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feedServiceAccounts/{feedserviceaccount}
+     * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * The resource name of the feedServiceAccount.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feedServiceAccounts/{feedserviceaccount}
+     * 
+ * + * string name = 1; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * The resource name of the feedServiceAccount.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feedServiceAccounts/{feedserviceaccount}
+     * 
+ * + * string name = 1; + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * The resource name of the feedServiceAccount.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feedServiceAccounts/{feedserviceaccount}
+     * 
+ * + * string name = 1; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object subjectId_ = ""; + + /** + * + * + *
+     * Unique identifier for the service account.
+     * 
+ * + * string subject_id = 2; + * + * @return The subjectId. + */ + public java.lang.String getSubjectId() { + java.lang.Object ref = subjectId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + subjectId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Unique identifier for the service account.
+     * 
+ * + * string subject_id = 2; + * + * @return The bytes for subjectId. + */ + public com.google.protobuf.ByteString getSubjectIdBytes() { + java.lang.Object ref = subjectId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + subjectId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Unique identifier for the service account.
+     * 
+ * + * string subject_id = 2; + * + * @param value The subjectId to set. + * @return This builder for chaining. + */ + public Builder setSubjectId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + subjectId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Unique identifier for the service account.
+     * 
+ * + * string subject_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearSubjectId() { + subjectId_ = getDefaultInstance().getSubjectId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Unique identifier for the service account.
+     * 
+ * + * string subject_id = 2; + * + * @param value The bytes for subjectId to set. + * @return This builder for chaining. + */ + public Builder setSubjectIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subjectId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.FeedServiceAccount) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.FeedServiceAccount) + private static final com.google.cloud.chronicle.v1.FeedServiceAccount DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.FeedServiceAccount(); + } + + public static com.google.cloud.chronicle.v1.FeedServiceAccount getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FeedServiceAccount parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedServiceAccount getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedServiceAccountName.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedServiceAccountName.java new file mode 100644 index 000000000000..011bfa214f8e --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedServiceAccountName.java @@ -0,0 +1,272 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1; + +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; +import org.jspecify.annotations.NullMarked; +import org.jspecify.annotations.Nullable; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@NullMarked +@Generated("by gapic-generator-java") +public class FeedServiceAccountName implements ResourceName { + private static final PathTemplate PROJECT_LOCATION_INSTANCE_FEED_SERVICE_ACCOUNT = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/instances/{instance}/feedServiceAccounts/{feed_service_account}"); + private volatile Map fieldValuesMap; + private final String project; + private final String location; + private final String instance; + private final String feedServiceAccount; + + @Deprecated + protected FeedServiceAccountName() { + project = null; + location = null; + instance = null; + feedServiceAccount = null; + } + + private FeedServiceAccountName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + instance = Preconditions.checkNotNull(builder.getInstance()); + feedServiceAccount = Preconditions.checkNotNull(builder.getFeedServiceAccount()); + } + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getInstance() { + return instance; + } + + public String getFeedServiceAccount() { + return feedServiceAccount; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static FeedServiceAccountName of( + String project, String location, String instance, String feedServiceAccount) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setInstance(instance) + .setFeedServiceAccount(feedServiceAccount) + .build(); + } + + public static String format( + String project, String location, String instance, String feedServiceAccount) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setInstance(instance) + .setFeedServiceAccount(feedServiceAccount) + .build() + .toString(); + } + + public static @Nullable FeedServiceAccountName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PROJECT_LOCATION_INSTANCE_FEED_SERVICE_ACCOUNT.validatedMatch( + formattedString, "FeedServiceAccountName.parse: formattedString not in valid format"); + return of( + matchMap.get("project"), + matchMap.get("location"), + matchMap.get("instance"), + matchMap.get("feed_service_account")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List<@Nullable FeedServiceAccountName> values) { + List list = new ArrayList<>(values.size()); + for (FeedServiceAccountName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_LOCATION_INSTANCE_FEED_SERVICE_ACCOUNT.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (location != null) { + fieldMapBuilder.put("location", location); + } + if (instance != null) { + fieldMapBuilder.put("instance", instance); + } + if (feedServiceAccount != null) { + fieldMapBuilder.put("feed_service_account", feedServiceAccount); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PROJECT_LOCATION_INSTANCE_FEED_SERVICE_ACCOUNT.instantiate( + "project", + project, + "location", + location, + "instance", + instance, + "feed_service_account", + feedServiceAccount); + } + + @Override + public boolean equals(@Nullable Object o) { + if (o == this) { + return true; + } + if (o != null && getClass() == o.getClass()) { + FeedServiceAccountName that = ((FeedServiceAccountName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.location, that.location) + && Objects.equals(this.instance, that.instance) + && Objects.equals(this.feedServiceAccount, that.feedServiceAccount); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(location); + h *= 1000003; + h ^= Objects.hashCode(instance); + h *= 1000003; + h ^= Objects.hashCode(feedServiceAccount); + return h; + } + + /** + * Builder for + * projects/{project}/locations/{location}/instances/{instance}/feedServiceAccounts/{feed_service_account}. + */ + public static class Builder { + private String project; + private String location; + private String instance; + private String feedServiceAccount; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getInstance() { + return instance; + } + + public String getFeedServiceAccount() { + return feedServiceAccount; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setLocation(String location) { + this.location = location; + return this; + } + + public Builder setInstance(String instance) { + this.instance = instance; + return this; + } + + public Builder setFeedServiceAccount(String feedServiceAccount) { + this.feedServiceAccount = feedServiceAccount; + return this; + } + + private Builder(FeedServiceAccountName feedServiceAccountName) { + this.project = feedServiceAccountName.project; + this.location = feedServiceAccountName.location; + this.instance = feedServiceAccountName.instance; + this.feedServiceAccount = feedServiceAccountName.feedServiceAccount; + } + + public FeedServiceAccountName build() { + return new FeedServiceAccountName(this); + } + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedServiceAccountOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedServiceAccountOrBuilder.java new file mode 100644 index 000000000000..0d5dec0d81dc --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedServiceAccountOrBuilder.java @@ -0,0 +1,84 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface FeedServiceAccountOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.FeedServiceAccount) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The resource name of the feedServiceAccount.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feedServiceAccounts/{feedserviceaccount}
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + + /** + * + * + *
+   * The resource name of the feedServiceAccount.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feedServiceAccounts/{feedserviceaccount}
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Unique identifier for the service account.
+   * 
+ * + * string subject_id = 2; + * + * @return The subjectId. + */ + java.lang.String getSubjectId(); + + /** + * + * + *
+   * Unique identifier for the service account.
+   * 
+ * + * string subject_id = 2; + * + * @return The bytes for subjectId. + */ + com.google.protobuf.ByteString getSubjectIdBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedSourceTypeSchema.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedSourceTypeSchema.java new file mode 100644 index 000000000000..2f8a8388ea54 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedSourceTypeSchema.java @@ -0,0 +1,1264 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Metadata that pertains to feed source types (see
+ * Feed.FeedDetails.FeedSourceType) that is useful for building interfaces to
+ * construct valid Feed messages.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.FeedSourceTypeSchema} + */ +@com.google.protobuf.Generated +public final class FeedSourceTypeSchema extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.FeedSourceTypeSchema) + FeedSourceTypeSchemaOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "FeedSourceTypeSchema"); + } + + // Use FeedSourceTypeSchema.newBuilder() to construct. + private FeedSourceTypeSchema(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private FeedSourceTypeSchema() { + name_ = ""; + displayName_ = ""; + description_ = ""; + feedSourceType_ = 0; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FeedSourceTypeSchema_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FeedSourceTypeSchema_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.FeedSourceTypeSchema.class, + com.google.cloud.chronicle.v1.FeedSourceTypeSchema.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + + /** + * + * + *
+   * The resource name for this FeedSourceTypeSchema.
+   * Format:
+   * "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}".
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + + /** + * + * + *
+   * The resource name for this FeedSourceTypeSchema.
+   * Format:
+   * "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}".
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object displayName_ = ""; + + /** + * + * + *
+   * A human-readable name for this feed source type.
+   * 
+ * + * string display_name = 2; + * + * @return The displayName. + */ + @java.lang.Override + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + 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(); + displayName_ = s; + return s; + } + } + + /** + * + * + *
+   * A human-readable name for this feed source type.
+   * 
+ * + * string display_name = 2; + * + * @return The bytes for displayName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DESCRIPTION_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object description_ = ""; + + /** + * + * + *
+   * A human-readable description for this feed source type.
+   * 
+ * + * string description = 3; + * + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + 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(); + description_ = s; + return s; + } + } + + /** + * + * + *
+   * A human-readable description for this feed source type.
+   * 
+ * + * string description = 3; + * + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int READ_ONLY_FIELD_NUMBER = 4; + private boolean readOnly_ = false; + + /** + * + * + *
+   * Whether feeds having this source type, while they are expected to exist,
+   * should not be modified (created, edited, or deleted).
+   * 
+ * + * bool read_only = 4; + * + * @return The readOnly. + */ + @java.lang.Override + public boolean getReadOnly() { + return readOnly_; + } + + public static final int FEED_SOURCE_TYPE_FIELD_NUMBER = 5; + private int feedSourceType_ = 0; + + /** + * + * + *
+   * The value to be used in the `details.feed_source_type` field in the Feed
+   * message.
+   * 
+ * + * .google.cloud.chronicle.v1.FeedDetails.FeedSourceType feed_source_type = 5; + * + * @return The enum numeric value on the wire for feedSourceType. + */ + @java.lang.Override + public int getFeedSourceTypeValue() { + return feedSourceType_; + } + + /** + * + * + *
+   * The value to be used in the `details.feed_source_type` field in the Feed
+   * message.
+   * 
+ * + * .google.cloud.chronicle.v1.FeedDetails.FeedSourceType feed_source_type = 5; + * + * @return The feedSourceType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType getFeedSourceType() { + com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType result = + com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType.forNumber(feedSourceType_); + return result == null + ? com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType.UNRECOGNIZED + : result; + } + + 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.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, displayName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, description_); + } + if (readOnly_ != false) { + output.writeBool(4, readOnly_); + } + if (feedSourceType_ + != com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType.FEED_SOURCE_TYPE_UNSPECIFIED + .getNumber()) { + output.writeEnum(5, feedSourceType_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, displayName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, description_); + } + if (readOnly_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, readOnly_); + } + if (feedSourceType_ + != com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType.FEED_SOURCE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, feedSourceType_); + } + 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.cloud.chronicle.v1.FeedSourceTypeSchema)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.FeedSourceTypeSchema other = + (com.google.cloud.chronicle.v1.FeedSourceTypeSchema) obj; + + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (getReadOnly() != other.getReadOnly()) return false; + if (feedSourceType_ != other.feedSourceType_) 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) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; + hash = (53 * hash) + getDisplayName().hashCode(); + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + hash = (37 * hash) + READ_ONLY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReadOnly()); + hash = (37 * hash) + FEED_SOURCE_TYPE_FIELD_NUMBER; + hash = (53 * hash) + feedSourceType_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.FeedSourceTypeSchema parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.FeedSourceTypeSchema parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FeedSourceTypeSchema parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.FeedSourceTypeSchema 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.cloud.chronicle.v1.FeedSourceTypeSchema parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.FeedSourceTypeSchema parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FeedSourceTypeSchema parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.FeedSourceTypeSchema parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FeedSourceTypeSchema parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.FeedSourceTypeSchema parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FeedSourceTypeSchema parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.FeedSourceTypeSchema parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.FeedSourceTypeSchema 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Metadata that pertains to feed source types (see
+   * Feed.FeedDetails.FeedSourceType) that is useful for building interfaces to
+   * construct valid Feed messages.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.FeedSourceTypeSchema} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.FeedSourceTypeSchema) + com.google.cloud.chronicle.v1.FeedSourceTypeSchemaOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FeedSourceTypeSchema_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FeedSourceTypeSchema_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.FeedSourceTypeSchema.class, + com.google.cloud.chronicle.v1.FeedSourceTypeSchema.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.FeedSourceTypeSchema.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + displayName_ = ""; + description_ = ""; + readOnly_ = false; + feedSourceType_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FeedSourceTypeSchema_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedSourceTypeSchema getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.FeedSourceTypeSchema.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedSourceTypeSchema build() { + com.google.cloud.chronicle.v1.FeedSourceTypeSchema result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedSourceTypeSchema buildPartial() { + com.google.cloud.chronicle.v1.FeedSourceTypeSchema result = + new com.google.cloud.chronicle.v1.FeedSourceTypeSchema(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.FeedSourceTypeSchema result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.displayName_ = displayName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.description_ = description_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.readOnly_ = readOnly_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.feedSourceType_ = feedSourceType_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.FeedSourceTypeSchema) { + return mergeFrom((com.google.cloud.chronicle.v1.FeedSourceTypeSchema) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.FeedSourceTypeSchema other) { + if (other == com.google.cloud.chronicle.v1.FeedSourceTypeSchema.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getDisplayName().isEmpty()) { + displayName_ = other.displayName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.getReadOnly() != false) { + setReadOnly(other.getReadOnly()); + } + if (other.feedSourceType_ != 0) { + setFeedSourceTypeValue(other.getFeedSourceTypeValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + readOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + feedSourceType_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + + /** + * + * + *
+     * The resource name for this FeedSourceTypeSchema.
+     * Format:
+     * "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}".
+     * 
+ * + * string name = 1; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * The resource name for this FeedSourceTypeSchema.
+     * Format:
+     * "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}".
+     * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * The resource name for this FeedSourceTypeSchema.
+     * Format:
+     * "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}".
+     * 
+ * + * string name = 1; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * The resource name for this FeedSourceTypeSchema.
+     * Format:
+     * "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}".
+     * 
+ * + * string name = 1; + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * The resource name for this FeedSourceTypeSchema.
+     * Format:
+     * "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}".
+     * 
+ * + * string name = 1; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object displayName_ = ""; + + /** + * + * + *
+     * A human-readable name for this feed source type.
+     * 
+ * + * string display_name = 2; + * + * @return The displayName. + */ + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * A human-readable name for this feed source type.
+     * 
+ * + * string display_name = 2; + * + * @return The bytes for displayName. + */ + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * A human-readable name for this feed source type.
+     * 
+ * + * string display_name = 2; + * + * @param value The displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + displayName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * A human-readable name for this feed source type.
+     * 
+ * + * string display_name = 2; + * + * @return This builder for chaining. + */ + public Builder clearDisplayName() { + displayName_ = getDefaultInstance().getDisplayName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * A human-readable name for this feed source type.
+     * 
+ * + * string display_name = 2; + * + * @param value The bytes for displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + + /** + * + * + *
+     * A human-readable description for this feed source type.
+     * 
+ * + * string description = 3; + * + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * A human-readable description for this feed source type.
+     * 
+ * + * string description = 3; + * + * @return The bytes for description. + */ + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * A human-readable description for this feed source type.
+     * 
+ * + * string description = 3; + * + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + description_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * A human-readable description for this feed source type.
+     * 
+ * + * string description = 3; + * + * @return This builder for chaining. + */ + public Builder clearDescription() { + description_ = getDefaultInstance().getDescription(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * A human-readable description for this feed source type.
+     * 
+ * + * string description = 3; + * + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private boolean readOnly_; + + /** + * + * + *
+     * Whether feeds having this source type, while they are expected to exist,
+     * should not be modified (created, edited, or deleted).
+     * 
+ * + * bool read_only = 4; + * + * @return The readOnly. + */ + @java.lang.Override + public boolean getReadOnly() { + return readOnly_; + } + + /** + * + * + *
+     * Whether feeds having this source type, while they are expected to exist,
+     * should not be modified (created, edited, or deleted).
+     * 
+ * + * bool read_only = 4; + * + * @param value The readOnly to set. + * @return This builder for chaining. + */ + public Builder setReadOnly(boolean value) { + + readOnly_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Whether feeds having this source type, while they are expected to exist,
+     * should not be modified (created, edited, or deleted).
+     * 
+ * + * bool read_only = 4; + * + * @return This builder for chaining. + */ + public Builder clearReadOnly() { + bitField0_ = (bitField0_ & ~0x00000008); + readOnly_ = false; + onChanged(); + return this; + } + + private int feedSourceType_ = 0; + + /** + * + * + *
+     * The value to be used in the `details.feed_source_type` field in the Feed
+     * message.
+     * 
+ * + * .google.cloud.chronicle.v1.FeedDetails.FeedSourceType feed_source_type = 5; + * + * @return The enum numeric value on the wire for feedSourceType. + */ + @java.lang.Override + public int getFeedSourceTypeValue() { + return feedSourceType_; + } + + /** + * + * + *
+     * The value to be used in the `details.feed_source_type` field in the Feed
+     * message.
+     * 
+ * + * .google.cloud.chronicle.v1.FeedDetails.FeedSourceType feed_source_type = 5; + * + * @param value The enum numeric value on the wire for feedSourceType to set. + * @return This builder for chaining. + */ + public Builder setFeedSourceTypeValue(int value) { + feedSourceType_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * The value to be used in the `details.feed_source_type` field in the Feed
+     * message.
+     * 
+ * + * .google.cloud.chronicle.v1.FeedDetails.FeedSourceType feed_source_type = 5; + * + * @return The feedSourceType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType getFeedSourceType() { + com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType result = + com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType.forNumber(feedSourceType_); + return result == null + ? com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * The value to be used in the `details.feed_source_type` field in the Feed
+     * message.
+     * 
+ * + * .google.cloud.chronicle.v1.FeedDetails.FeedSourceType feed_source_type = 5; + * + * @param value The feedSourceType to set. + * @return This builder for chaining. + */ + public Builder setFeedSourceType( + com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + feedSourceType_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * The value to be used in the `details.feed_source_type` field in the Feed
+     * message.
+     * 
+ * + * .google.cloud.chronicle.v1.FeedDetails.FeedSourceType feed_source_type = 5; + * + * @return This builder for chaining. + */ + public Builder clearFeedSourceType() { + bitField0_ = (bitField0_ & ~0x00000010); + feedSourceType_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.FeedSourceTypeSchema) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.FeedSourceTypeSchema) + private static final com.google.cloud.chronicle.v1.FeedSourceTypeSchema DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.FeedSourceTypeSchema(); + } + + public static com.google.cloud.chronicle.v1.FeedSourceTypeSchema getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FeedSourceTypeSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedSourceTypeSchema getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedSourceTypeSchemaName.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedSourceTypeSchemaName.java new file mode 100644 index 000000000000..1e9ac6b5e81c --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedSourceTypeSchemaName.java @@ -0,0 +1,272 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1; + +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; +import org.jspecify.annotations.NullMarked; +import org.jspecify.annotations.Nullable; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@NullMarked +@Generated("by gapic-generator-java") +public class FeedSourceTypeSchemaName implements ResourceName { + private static final PathTemplate PROJECT_LOCATION_INSTANCE_FEED_SOURCE_TYPE = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}"); + private volatile Map fieldValuesMap; + private final String project; + private final String location; + private final String instance; + private final String feedSourceType; + + @Deprecated + protected FeedSourceTypeSchemaName() { + project = null; + location = null; + instance = null; + feedSourceType = null; + } + + private FeedSourceTypeSchemaName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + instance = Preconditions.checkNotNull(builder.getInstance()); + feedSourceType = Preconditions.checkNotNull(builder.getFeedSourceType()); + } + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getInstance() { + return instance; + } + + public String getFeedSourceType() { + return feedSourceType; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static FeedSourceTypeSchemaName of( + String project, String location, String instance, String feedSourceType) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setInstance(instance) + .setFeedSourceType(feedSourceType) + .build(); + } + + public static String format( + String project, String location, String instance, String feedSourceType) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setInstance(instance) + .setFeedSourceType(feedSourceType) + .build() + .toString(); + } + + public static @Nullable FeedSourceTypeSchemaName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PROJECT_LOCATION_INSTANCE_FEED_SOURCE_TYPE.validatedMatch( + formattedString, "FeedSourceTypeSchemaName.parse: formattedString not in valid format"); + return of( + matchMap.get("project"), + matchMap.get("location"), + matchMap.get("instance"), + matchMap.get("feed_source_type")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List<@Nullable FeedSourceTypeSchemaName> values) { + List list = new ArrayList<>(values.size()); + for (FeedSourceTypeSchemaName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_LOCATION_INSTANCE_FEED_SOURCE_TYPE.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (location != null) { + fieldMapBuilder.put("location", location); + } + if (instance != null) { + fieldMapBuilder.put("instance", instance); + } + if (feedSourceType != null) { + fieldMapBuilder.put("feed_source_type", feedSourceType); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PROJECT_LOCATION_INSTANCE_FEED_SOURCE_TYPE.instantiate( + "project", + project, + "location", + location, + "instance", + instance, + "feed_source_type", + feedSourceType); + } + + @Override + public boolean equals(@Nullable Object o) { + if (o == this) { + return true; + } + if (o != null && getClass() == o.getClass()) { + FeedSourceTypeSchemaName that = ((FeedSourceTypeSchemaName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.location, that.location) + && Objects.equals(this.instance, that.instance) + && Objects.equals(this.feedSourceType, that.feedSourceType); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(location); + h *= 1000003; + h ^= Objects.hashCode(instance); + h *= 1000003; + h ^= Objects.hashCode(feedSourceType); + return h; + } + + /** + * Builder for + * projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}. + */ + public static class Builder { + private String project; + private String location; + private String instance; + private String feedSourceType; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getInstance() { + return instance; + } + + public String getFeedSourceType() { + return feedSourceType; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setLocation(String location) { + this.location = location; + return this; + } + + public Builder setInstance(String instance) { + this.instance = instance; + return this; + } + + public Builder setFeedSourceType(String feedSourceType) { + this.feedSourceType = feedSourceType; + return this; + } + + private Builder(FeedSourceTypeSchemaName feedSourceTypeSchemaName) { + this.project = feedSourceTypeSchemaName.project; + this.location = feedSourceTypeSchemaName.location; + this.instance = feedSourceTypeSchemaName.instance; + this.feedSourceType = feedSourceTypeSchemaName.feedSourceType; + } + + public FeedSourceTypeSchemaName build() { + return new FeedSourceTypeSchemaName(this); + } + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedSourceTypeSchemaOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedSourceTypeSchemaOrBuilder.java new file mode 100644 index 000000000000..82b18e241d8e --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FeedSourceTypeSchemaOrBuilder.java @@ -0,0 +1,152 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface FeedSourceTypeSchemaOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.FeedSourceTypeSchema) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The resource name for this FeedSourceTypeSchema.
+   * Format:
+   * "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}".
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + + /** + * + * + *
+   * The resource name for this FeedSourceTypeSchema.
+   * Format:
+   * "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}".
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * A human-readable name for this feed source type.
+   * 
+ * + * string display_name = 2; + * + * @return The displayName. + */ + java.lang.String getDisplayName(); + + /** + * + * + *
+   * A human-readable name for this feed source type.
+   * 
+ * + * string display_name = 2; + * + * @return The bytes for displayName. + */ + com.google.protobuf.ByteString getDisplayNameBytes(); + + /** + * + * + *
+   * A human-readable description for this feed source type.
+   * 
+ * + * string description = 3; + * + * @return The description. + */ + java.lang.String getDescription(); + + /** + * + * + *
+   * A human-readable description for this feed source type.
+   * 
+ * + * string description = 3; + * + * @return The bytes for description. + */ + com.google.protobuf.ByteString getDescriptionBytes(); + + /** + * + * + *
+   * Whether feeds having this source type, while they are expected to exist,
+   * should not be modified (created, edited, or deleted).
+   * 
+ * + * bool read_only = 4; + * + * @return The readOnly. + */ + boolean getReadOnly(); + + /** + * + * + *
+   * The value to be used in the `details.feed_source_type` field in the Feed
+   * message.
+   * 
+ * + * .google.cloud.chronicle.v1.FeedDetails.FeedSourceType feed_source_type = 5; + * + * @return The enum numeric value on the wire for feedSourceType. + */ + int getFeedSourceTypeValue(); + + /** + * + * + *
+   * The value to be used in the `details.feed_source_type` field in the Feed
+   * message.
+   * 
+ * + * .google.cloud.chronicle.v1.FeedDetails.FeedSourceType feed_source_type = 5; + * + * @return The feedSourceType. + */ + com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType getFeedSourceType(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FetchServiceAccountForCustomerRequest.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FetchServiceAccountForCustomerRequest.java new file mode 100644 index 000000000000..30f116a1a417 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FetchServiceAccountForCustomerRequest.java @@ -0,0 +1,638 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Request message for FetchServiceAccountForCustomer.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest} + */ +@com.google.protobuf.Generated +public final class FetchServiceAccountForCustomerRequest + extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest) + FetchServiceAccountForCustomerRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "FetchServiceAccountForCustomerRequest"); + } + + // Use FetchServiceAccountForCustomerRequest.newBuilder() to construct. + private FetchServiceAccountForCustomerRequest( + com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private FetchServiceAccountForCustomerRequest() { + parent_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FetchServiceAccountForCustomerRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FetchServiceAccountForCustomerRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest.class, + com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + + /** + * + * + *
+   * Required. The parent resource where this FeedServiceAccount will be
+   * created. Format:
+   * projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + 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(); + parent_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. The parent resource where this FeedServiceAccount will be
+   * created. Format:
+   * projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = 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.GeneratedMessage.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); + } + 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.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest other = + (com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest) obj; + + if (!getParent().equals(other.getParent())) 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) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest 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.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Request message for FetchServiceAccountForCustomer.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest) + com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FetchServiceAccountForCustomerRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FetchServiceAccountForCustomerRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest.class, + com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest.Builder.class); + } + + // Construct using + // com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FetchServiceAccountForCustomerRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest + getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest build() { + com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest buildPartial() { + com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest result = + new com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest) { + return mergeFrom( + (com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest other) { + if (other + == com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest + .getDefaultInstance()) return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object parent_ = ""; + + /** + * + * + *
+     * Required. The parent resource where this FeedServiceAccount will be
+     * created. Format:
+     * projects/{project}/locations/{location}/instances/{instance}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. The parent resource where this FeedServiceAccount will be
+     * created. Format:
+     * projects/{project}/locations/{location}/instances/{instance}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. The parent resource where this FeedServiceAccount will be
+     * created. Format:
+     * projects/{project}/locations/{location}/instances/{instance}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The parent resource where this FeedServiceAccount will be
+     * created. Format:
+     * projects/{project}/locations/{location}/instances/{instance}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + parent_ = getDefaultInstance().getParent(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The parent resource where this FeedServiceAccount will be
+     * created. Format:
+     * projects/{project}/locations/{location}/instances/{instance}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest) + private static final com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest(); + } + + public static com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchServiceAccountForCustomerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FetchServiceAccountForCustomerRequestOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FetchServiceAccountForCustomerRequestOrBuilder.java new file mode 100644 index 000000000000..d4e6d0f20981 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FetchServiceAccountForCustomerRequestOrBuilder.java @@ -0,0 +1,62 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface FetchServiceAccountForCustomerRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The parent resource where this FeedServiceAccount will be
+   * created. Format:
+   * projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + + /** + * + * + *
+   * Required. The parent resource where this FeedServiceAccount will be
+   * created. Format:
+   * projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FoxITStixSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FoxITStixSettings.java new file mode 100644 index 000000000000..586d2662c75c --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FoxITStixSettings.java @@ -0,0 +1,1384 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Fox-IT STIX settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.FoxITStixSettings} + */ +@com.google.protobuf.Generated +public final class FoxITStixSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.FoxITStixSettings) + FoxITStixSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "FoxITStixSettings"); + } + + // Use FoxITStixSettings.newBuilder() to construct. + private FoxITStixSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private FoxITStixSettings() { + pollServiceUri_ = ""; + collection_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FoxITStixSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FoxITStixSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.FoxITStixSettings.class, + com.google.cloud.chronicle.v1.FoxITStixSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + public static final int SSL_FIELD_NUMBER = 2; + private com.google.cloud.chronicle.v1.SSLClientKeypair ssl_; + + /** + * + * + *
+   * SSL client key pair.
+   * 
+ * + * .google.cloud.chronicle.v1.SSLClientKeypair ssl = 2; + * + * @return Whether the ssl field is set. + */ + @java.lang.Override + public boolean hasSsl() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+   * SSL client key pair.
+   * 
+ * + * .google.cloud.chronicle.v1.SSLClientKeypair ssl = 2; + * + * @return The ssl. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SSLClientKeypair getSsl() { + return ssl_ == null + ? com.google.cloud.chronicle.v1.SSLClientKeypair.getDefaultInstance() + : ssl_; + } + + /** + * + * + *
+   * SSL client key pair.
+   * 
+ * + * .google.cloud.chronicle.v1.SSLClientKeypair ssl = 2; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SSLClientKeypairOrBuilder getSslOrBuilder() { + return ssl_ == null + ? com.google.cloud.chronicle.v1.SSLClientKeypair.getDefaultInstance() + : ssl_; + } + + public static final int POLL_SERVICE_URI_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object pollServiceUri_ = ""; + + /** + * + * + *
+   * TAXII poll service URI.
+   * 
+ * + * string poll_service_uri = 3; + * + * @return The pollServiceUri. + */ + @java.lang.Override + public java.lang.String getPollServiceUri() { + java.lang.Object ref = pollServiceUri_; + 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(); + pollServiceUri_ = s; + return s; + } + } + + /** + * + * + *
+   * TAXII poll service URI.
+   * 
+ * + * string poll_service_uri = 3; + * + * @return The bytes for pollServiceUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPollServiceUriBytes() { + java.lang.Object ref = pollServiceUri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pollServiceUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int COLLECTION_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object collection_ = ""; + + /** + * + * + *
+   * Collection available at the poll service.
+   * 
+ * + * string collection = 4; + * + * @return The collection. + */ + @java.lang.Override + public java.lang.String getCollection() { + java.lang.Object ref = collection_; + 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(); + collection_ = s; + return s; + } + } + + /** + * + * + *
+   * Collection available at the poll service.
+   * 
+ * + * string collection = 4; + * + * @return The bytes for collection. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCollectionBytes() { + java.lang.Object ref = collection_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + collection_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getSsl()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pollServiceUri_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, pollServiceUri_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(collection_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, collection_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSsl()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pollServiceUri_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, pollServiceUri_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(collection_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, collection_); + } + 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.cloud.chronicle.v1.FoxITStixSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.FoxITStixSettings other = + (com.google.cloud.chronicle.v1.FoxITStixSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (hasSsl() != other.hasSsl()) return false; + if (hasSsl()) { + if (!getSsl().equals(other.getSsl())) return false; + } + if (!getPollServiceUri().equals(other.getPollServiceUri())) return false; + if (!getCollection().equals(other.getCollection())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + if (hasSsl()) { + hash = (37 * hash) + SSL_FIELD_NUMBER; + hash = (53 * hash) + getSsl().hashCode(); + } + hash = (37 * hash) + POLL_SERVICE_URI_FIELD_NUMBER; + hash = (53 * hash) + getPollServiceUri().hashCode(); + hash = (37 * hash) + COLLECTION_FIELD_NUMBER; + hash = (53 * hash) + getCollection().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.FoxITStixSettings parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.FoxITStixSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FoxITStixSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.FoxITStixSettings 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.cloud.chronicle.v1.FoxITStixSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.FoxITStixSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FoxITStixSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.FoxITStixSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FoxITStixSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.FoxITStixSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.FoxITStixSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.FoxITStixSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.FoxITStixSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Fox-IT STIX settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.FoxITStixSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.FoxITStixSettings) + com.google.cloud.chronicle.v1.FoxITStixSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FoxITStixSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FoxITStixSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.FoxITStixSettings.class, + com.google.cloud.chronicle.v1.FoxITStixSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.FoxITStixSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + internalGetSslFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + ssl_ = null; + if (sslBuilder_ != null) { + sslBuilder_.dispose(); + sslBuilder_ = null; + } + pollServiceUri_ = ""; + collection_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_FoxITStixSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FoxITStixSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.FoxITStixSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FoxITStixSettings build() { + com.google.cloud.chronicle.v1.FoxITStixSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FoxITStixSettings buildPartial() { + com.google.cloud.chronicle.v1.FoxITStixSettings result = + new com.google.cloud.chronicle.v1.FoxITStixSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.FoxITStixSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.ssl_ = sslBuilder_ == null ? ssl_ : sslBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.pollServiceUri_ = pollServiceUri_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.collection_ = collection_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.FoxITStixSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.FoxITStixSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.FoxITStixSettings other) { + if (other == com.google.cloud.chronicle.v1.FoxITStixSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (other.hasSsl()) { + mergeSsl(other.getSsl()); + } + if (!other.getPollServiceUri().isEmpty()) { + pollServiceUri_ = other.pollServiceUri_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getCollection().isEmpty()) { + collection_ = other.collection_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(internalGetSslFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + pollServiceUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + collection_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private com.google.cloud.chronicle.v1.SSLClientKeypair ssl_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SSLClientKeypair, + com.google.cloud.chronicle.v1.SSLClientKeypair.Builder, + com.google.cloud.chronicle.v1.SSLClientKeypairOrBuilder> + sslBuilder_; + + /** + * + * + *
+     * SSL client key pair.
+     * 
+ * + * .google.cloud.chronicle.v1.SSLClientKeypair ssl = 2; + * + * @return Whether the ssl field is set. + */ + public boolean hasSsl() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+     * SSL client key pair.
+     * 
+ * + * .google.cloud.chronicle.v1.SSLClientKeypair ssl = 2; + * + * @return The ssl. + */ + public com.google.cloud.chronicle.v1.SSLClientKeypair getSsl() { + if (sslBuilder_ == null) { + return ssl_ == null + ? com.google.cloud.chronicle.v1.SSLClientKeypair.getDefaultInstance() + : ssl_; + } else { + return sslBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * SSL client key pair.
+     * 
+ * + * .google.cloud.chronicle.v1.SSLClientKeypair ssl = 2; + */ + public Builder setSsl(com.google.cloud.chronicle.v1.SSLClientKeypair value) { + if (sslBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ssl_ = value; + } else { + sslBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * SSL client key pair.
+     * 
+ * + * .google.cloud.chronicle.v1.SSLClientKeypair ssl = 2; + */ + public Builder setSsl(com.google.cloud.chronicle.v1.SSLClientKeypair.Builder builderForValue) { + if (sslBuilder_ == null) { + ssl_ = builderForValue.build(); + } else { + sslBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * SSL client key pair.
+     * 
+ * + * .google.cloud.chronicle.v1.SSLClientKeypair ssl = 2; + */ + public Builder mergeSsl(com.google.cloud.chronicle.v1.SSLClientKeypair value) { + if (sslBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && ssl_ != null + && ssl_ != com.google.cloud.chronicle.v1.SSLClientKeypair.getDefaultInstance()) { + getSslBuilder().mergeFrom(value); + } else { + ssl_ = value; + } + } else { + sslBuilder_.mergeFrom(value); + } + if (ssl_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * SSL client key pair.
+     * 
+ * + * .google.cloud.chronicle.v1.SSLClientKeypair ssl = 2; + */ + public Builder clearSsl() { + bitField0_ = (bitField0_ & ~0x00000002); + ssl_ = null; + if (sslBuilder_ != null) { + sslBuilder_.dispose(); + sslBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * SSL client key pair.
+     * 
+ * + * .google.cloud.chronicle.v1.SSLClientKeypair ssl = 2; + */ + public com.google.cloud.chronicle.v1.SSLClientKeypair.Builder getSslBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return internalGetSslFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * SSL client key pair.
+     * 
+ * + * .google.cloud.chronicle.v1.SSLClientKeypair ssl = 2; + */ + public com.google.cloud.chronicle.v1.SSLClientKeypairOrBuilder getSslOrBuilder() { + if (sslBuilder_ != null) { + return sslBuilder_.getMessageOrBuilder(); + } else { + return ssl_ == null + ? com.google.cloud.chronicle.v1.SSLClientKeypair.getDefaultInstance() + : ssl_; + } + } + + /** + * + * + *
+     * SSL client key pair.
+     * 
+ * + * .google.cloud.chronicle.v1.SSLClientKeypair ssl = 2; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SSLClientKeypair, + com.google.cloud.chronicle.v1.SSLClientKeypair.Builder, + com.google.cloud.chronicle.v1.SSLClientKeypairOrBuilder> + internalGetSslFieldBuilder() { + if (sslBuilder_ == null) { + sslBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SSLClientKeypair, + com.google.cloud.chronicle.v1.SSLClientKeypair.Builder, + com.google.cloud.chronicle.v1.SSLClientKeypairOrBuilder>( + getSsl(), getParentForChildren(), isClean()); + ssl_ = null; + } + return sslBuilder_; + } + + private java.lang.Object pollServiceUri_ = ""; + + /** + * + * + *
+     * TAXII poll service URI.
+     * 
+ * + * string poll_service_uri = 3; + * + * @return The pollServiceUri. + */ + public java.lang.String getPollServiceUri() { + java.lang.Object ref = pollServiceUri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pollServiceUri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * TAXII poll service URI.
+     * 
+ * + * string poll_service_uri = 3; + * + * @return The bytes for pollServiceUri. + */ + public com.google.protobuf.ByteString getPollServiceUriBytes() { + java.lang.Object ref = pollServiceUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pollServiceUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * TAXII poll service URI.
+     * 
+ * + * string poll_service_uri = 3; + * + * @param value The pollServiceUri to set. + * @return This builder for chaining. + */ + public Builder setPollServiceUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + pollServiceUri_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * TAXII poll service URI.
+     * 
+ * + * string poll_service_uri = 3; + * + * @return This builder for chaining. + */ + public Builder clearPollServiceUri() { + pollServiceUri_ = getDefaultInstance().getPollServiceUri(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * TAXII poll service URI.
+     * 
+ * + * string poll_service_uri = 3; + * + * @param value The bytes for pollServiceUri to set. + * @return This builder for chaining. + */ + public Builder setPollServiceUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pollServiceUri_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object collection_ = ""; + + /** + * + * + *
+     * Collection available at the poll service.
+     * 
+ * + * string collection = 4; + * + * @return The collection. + */ + public java.lang.String getCollection() { + java.lang.Object ref = collection_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + collection_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Collection available at the poll service.
+     * 
+ * + * string collection = 4; + * + * @return The bytes for collection. + */ + public com.google.protobuf.ByteString getCollectionBytes() { + java.lang.Object ref = collection_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + collection_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Collection available at the poll service.
+     * 
+ * + * string collection = 4; + * + * @param value The collection to set. + * @return This builder for chaining. + */ + public Builder setCollection(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + collection_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Collection available at the poll service.
+     * 
+ * + * string collection = 4; + * + * @return This builder for chaining. + */ + public Builder clearCollection() { + collection_ = getDefaultInstance().getCollection(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+     * Collection available at the poll service.
+     * 
+ * + * string collection = 4; + * + * @param value The bytes for collection to set. + * @return This builder for chaining. + */ + public Builder setCollectionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + collection_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.FoxITStixSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.FoxITStixSettings) + private static final com.google.cloud.chronicle.v1.FoxITStixSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.FoxITStixSettings(); + } + + public static com.google.cloud.chronicle.v1.FoxITStixSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FoxITStixSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.FoxITStixSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FoxITStixSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FoxITStixSettingsOrBuilder.java new file mode 100644 index 000000000000..bfda6859bcf9 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/FoxITStixSettingsOrBuilder.java @@ -0,0 +1,160 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface FoxITStixSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.FoxITStixSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * SSL client key pair.
+   * 
+ * + * .google.cloud.chronicle.v1.SSLClientKeypair ssl = 2; + * + * @return Whether the ssl field is set. + */ + boolean hasSsl(); + + /** + * + * + *
+   * SSL client key pair.
+   * 
+ * + * .google.cloud.chronicle.v1.SSLClientKeypair ssl = 2; + * + * @return The ssl. + */ + com.google.cloud.chronicle.v1.SSLClientKeypair getSsl(); + + /** + * + * + *
+   * SSL client key pair.
+   * 
+ * + * .google.cloud.chronicle.v1.SSLClientKeypair ssl = 2; + */ + com.google.cloud.chronicle.v1.SSLClientKeypairOrBuilder getSslOrBuilder(); + + /** + * + * + *
+   * TAXII poll service URI.
+   * 
+ * + * string poll_service_uri = 3; + * + * @return The pollServiceUri. + */ + java.lang.String getPollServiceUri(); + + /** + * + * + *
+   * TAXII poll service URI.
+   * 
+ * + * string poll_service_uri = 3; + * + * @return The bytes for pollServiceUri. + */ + com.google.protobuf.ByteString getPollServiceUriBytes(); + + /** + * + * + *
+   * Collection available at the poll service.
+   * 
+ * + * string collection = 4; + * + * @return The collection. + */ + java.lang.String getCollection(); + + /** + * + * + *
+   * Collection available at the poll service.
+   * 
+ * + * string collection = 4; + * + * @return The bytes for collection. + */ + com.google.protobuf.ByteString getCollectionBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GenerateSecretRequest.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GenerateSecretRequest.java new file mode 100644 index 000000000000..fa6bda030676 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GenerateSecretRequest.java @@ -0,0 +1,624 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * GenerateSecret request message.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.GenerateSecretRequest} + */ +@com.google.protobuf.Generated +public final class GenerateSecretRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.GenerateSecretRequest) + GenerateSecretRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "GenerateSecretRequest"); + } + + // Use GenerateSecretRequest.newBuilder() to construct. + private GenerateSecretRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private GenerateSecretRequest() { + name_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GenerateSecretRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GenerateSecretRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.GenerateSecretRequest.class, + com.google.cloud.chronicle.v1.GenerateSecretRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + + /** + * + * + *
+   * Required. The name of the feed to for which to generate secret.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. The name of the feed to for which to generate secret.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = 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.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + } + 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.cloud.chronicle.v1.GenerateSecretRequest)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.GenerateSecretRequest other = + (com.google.cloud.chronicle.v1.GenerateSecretRequest) obj; + + if (!getName().equals(other.getName())) 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) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.GenerateSecretRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.GenerateSecretRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GenerateSecretRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.GenerateSecretRequest 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.cloud.chronicle.v1.GenerateSecretRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.GenerateSecretRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GenerateSecretRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.GenerateSecretRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GenerateSecretRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.GenerateSecretRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GenerateSecretRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.GenerateSecretRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.GenerateSecretRequest 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * GenerateSecret request message.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.GenerateSecretRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.GenerateSecretRequest) + com.google.cloud.chronicle.v1.GenerateSecretRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GenerateSecretRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GenerateSecretRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.GenerateSecretRequest.class, + com.google.cloud.chronicle.v1.GenerateSecretRequest.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.GenerateSecretRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GenerateSecretRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GenerateSecretRequest getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.GenerateSecretRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GenerateSecretRequest build() { + com.google.cloud.chronicle.v1.GenerateSecretRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GenerateSecretRequest buildPartial() { + com.google.cloud.chronicle.v1.GenerateSecretRequest result = + new com.google.cloud.chronicle.v1.GenerateSecretRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.GenerateSecretRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.GenerateSecretRequest) { + return mergeFrom((com.google.cloud.chronicle.v1.GenerateSecretRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.GenerateSecretRequest other) { + if (other == com.google.cloud.chronicle.v1.GenerateSecretRequest.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + + /** + * + * + *
+     * Required. The name of the feed to for which to generate secret.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. The name of the feed to for which to generate secret.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. The name of the feed to for which to generate secret.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The name of the feed to for which to generate secret.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The name of the feed to for which to generate secret.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.GenerateSecretRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.GenerateSecretRequest) + private static final com.google.cloud.chronicle.v1.GenerateSecretRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.GenerateSecretRequest(); + } + + public static com.google.cloud.chronicle.v1.GenerateSecretRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateSecretRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GenerateSecretRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GenerateSecretRequestOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GenerateSecretRequestOrBuilder.java new file mode 100644 index 000000000000..765e961535f2 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GenerateSecretRequestOrBuilder.java @@ -0,0 +1,62 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface GenerateSecretRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.GenerateSecretRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the feed to for which to generate secret.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + + /** + * + * + *
+   * Required. The name of the feed to for which to generate secret.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GenerateSecretResponse.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GenerateSecretResponse.java new file mode 100644 index 000000000000..fbe5d68abea4 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GenerateSecretResponse.java @@ -0,0 +1,603 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * GenerateSecret response message.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.GenerateSecretResponse} + */ +@com.google.protobuf.Generated +public final class GenerateSecretResponse extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.GenerateSecretResponse) + GenerateSecretResponseOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "GenerateSecretResponse"); + } + + // Use GenerateSecretResponse.newBuilder() to construct. + private GenerateSecretResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private GenerateSecretResponse() { + secret_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GenerateSecretResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GenerateSecretResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.GenerateSecretResponse.class, + com.google.cloud.chronicle.v1.GenerateSecretResponse.Builder.class); + } + + public static final int SECRET_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object secret_ = ""; + + /** + * + * + *
+   * The generated secret. Store the secret value at a safe place and use it
+   * while configuring your https push feed.
+   * 
+ * + * string secret = 1; + * + * @return The secret. + */ + @java.lang.Override + public java.lang.String getSecret() { + java.lang.Object ref = secret_; + 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(); + secret_ = s; + return s; + } + } + + /** + * + * + *
+   * The generated secret. Store the secret value at a safe place and use it
+   * while configuring your https push feed.
+   * 
+ * + * string secret = 1; + * + * @return The bytes for secret. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSecretBytes() { + java.lang.Object ref = secret_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + secret_ = 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.GeneratedMessage.isStringEmpty(secret_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, secret_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(secret_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, secret_); + } + 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.cloud.chronicle.v1.GenerateSecretResponse)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.GenerateSecretResponse other = + (com.google.cloud.chronicle.v1.GenerateSecretResponse) obj; + + if (!getSecret().equals(other.getSecret())) 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) + SECRET_FIELD_NUMBER; + hash = (53 * hash) + getSecret().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.GenerateSecretResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.GenerateSecretResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GenerateSecretResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.GenerateSecretResponse 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.cloud.chronicle.v1.GenerateSecretResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.GenerateSecretResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GenerateSecretResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.GenerateSecretResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GenerateSecretResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.GenerateSecretResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GenerateSecretResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.GenerateSecretResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.GenerateSecretResponse 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * GenerateSecret response message.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.GenerateSecretResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.GenerateSecretResponse) + com.google.cloud.chronicle.v1.GenerateSecretResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GenerateSecretResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GenerateSecretResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.GenerateSecretResponse.class, + com.google.cloud.chronicle.v1.GenerateSecretResponse.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.GenerateSecretResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + secret_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GenerateSecretResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GenerateSecretResponse getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.GenerateSecretResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GenerateSecretResponse build() { + com.google.cloud.chronicle.v1.GenerateSecretResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GenerateSecretResponse buildPartial() { + com.google.cloud.chronicle.v1.GenerateSecretResponse result = + new com.google.cloud.chronicle.v1.GenerateSecretResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.GenerateSecretResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.secret_ = secret_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.GenerateSecretResponse) { + return mergeFrom((com.google.cloud.chronicle.v1.GenerateSecretResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.GenerateSecretResponse other) { + if (other == com.google.cloud.chronicle.v1.GenerateSecretResponse.getDefaultInstance()) + return this; + if (!other.getSecret().isEmpty()) { + secret_ = other.secret_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + secret_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object secret_ = ""; + + /** + * + * + *
+     * The generated secret. Store the secret value at a safe place and use it
+     * while configuring your https push feed.
+     * 
+ * + * string secret = 1; + * + * @return The secret. + */ + public java.lang.String getSecret() { + java.lang.Object ref = secret_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + secret_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * The generated secret. Store the secret value at a safe place and use it
+     * while configuring your https push feed.
+     * 
+ * + * string secret = 1; + * + * @return The bytes for secret. + */ + public com.google.protobuf.ByteString getSecretBytes() { + java.lang.Object ref = secret_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + secret_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * The generated secret. Store the secret value at a safe place and use it
+     * while configuring your https push feed.
+     * 
+ * + * string secret = 1; + * + * @param value The secret to set. + * @return This builder for chaining. + */ + public Builder setSecret(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + secret_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * The generated secret. Store the secret value at a safe place and use it
+     * while configuring your https push feed.
+     * 
+ * + * string secret = 1; + * + * @return This builder for chaining. + */ + public Builder clearSecret() { + secret_ = getDefaultInstance().getSecret(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * The generated secret. Store the secret value at a safe place and use it
+     * while configuring your https push feed.
+     * 
+ * + * string secret = 1; + * + * @param value The bytes for secret to set. + * @return This builder for chaining. + */ + public Builder setSecretBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + secret_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.GenerateSecretResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.GenerateSecretResponse) + private static final com.google.cloud.chronicle.v1.GenerateSecretResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.GenerateSecretResponse(); + } + + public static com.google.cloud.chronicle.v1.GenerateSecretResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateSecretResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GenerateSecretResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GenerateSecretResponseOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GenerateSecretResponseOrBuilder.java new file mode 100644 index 000000000000..112ad8a41907 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GenerateSecretResponseOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface GenerateSecretResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.GenerateSecretResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The generated secret. Store the secret value at a safe place and use it
+   * while configuring your https push feed.
+   * 
+ * + * string secret = 1; + * + * @return The secret. + */ + java.lang.String getSecret(); + + /** + * + * + *
+   * The generated secret. Store the secret value at a safe place and use it
+   * while configuring your https push feed.
+   * 
+ * + * string secret = 1; + * + * @return The bytes for secret. + */ + com.google.protobuf.ByteString getSecretBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GetFeedPackRequest.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GetFeedPackRequest.java new file mode 100644 index 000000000000..33d170718b0f --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GetFeedPackRequest.java @@ -0,0 +1,624 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Request message for GetFeedPack.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.GetFeedPackRequest} + */ +@com.google.protobuf.Generated +public final class GetFeedPackRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.GetFeedPackRequest) + GetFeedPackRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "GetFeedPackRequest"); + } + + // Use GetFeedPackRequest.newBuilder() to construct. + private GetFeedPackRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private GetFeedPackRequest() { + name_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GetFeedPackRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GetFeedPackRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.GetFeedPackRequest.class, + com.google.cloud.chronicle.v1.GetFeedPackRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + + /** + * + * + *
+   * Required. The ID of the feed pack to retrieve.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feedPack}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. The ID of the feed pack to retrieve.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feedPack}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = 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.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + } + 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.cloud.chronicle.v1.GetFeedPackRequest)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.GetFeedPackRequest other = + (com.google.cloud.chronicle.v1.GetFeedPackRequest) obj; + + if (!getName().equals(other.getName())) 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) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.GetFeedPackRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.GetFeedPackRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GetFeedPackRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.GetFeedPackRequest 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.cloud.chronicle.v1.GetFeedPackRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.GetFeedPackRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GetFeedPackRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.GetFeedPackRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GetFeedPackRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.GetFeedPackRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GetFeedPackRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.GetFeedPackRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.GetFeedPackRequest 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Request message for GetFeedPack.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.GetFeedPackRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.GetFeedPackRequest) + com.google.cloud.chronicle.v1.GetFeedPackRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GetFeedPackRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GetFeedPackRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.GetFeedPackRequest.class, + com.google.cloud.chronicle.v1.GetFeedPackRequest.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.GetFeedPackRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GetFeedPackRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GetFeedPackRequest getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.GetFeedPackRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GetFeedPackRequest build() { + com.google.cloud.chronicle.v1.GetFeedPackRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GetFeedPackRequest buildPartial() { + com.google.cloud.chronicle.v1.GetFeedPackRequest result = + new com.google.cloud.chronicle.v1.GetFeedPackRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.GetFeedPackRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.GetFeedPackRequest) { + return mergeFrom((com.google.cloud.chronicle.v1.GetFeedPackRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.GetFeedPackRequest other) { + if (other == com.google.cloud.chronicle.v1.GetFeedPackRequest.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + + /** + * + * + *
+     * Required. The ID of the feed pack to retrieve.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feedPack}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. The ID of the feed pack to retrieve.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feedPack}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. The ID of the feed pack to retrieve.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feedPack}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The ID of the feed pack to retrieve.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feedPack}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The ID of the feed pack to retrieve.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feedPack}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.GetFeedPackRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.GetFeedPackRequest) + private static final com.google.cloud.chronicle.v1.GetFeedPackRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.GetFeedPackRequest(); + } + + public static com.google.cloud.chronicle.v1.GetFeedPackRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFeedPackRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GetFeedPackRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GetFeedPackRequestOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GetFeedPackRequestOrBuilder.java new file mode 100644 index 000000000000..00b2f7ac5108 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GetFeedPackRequestOrBuilder.java @@ -0,0 +1,62 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface GetFeedPackRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.GetFeedPackRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The ID of the feed pack to retrieve.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feedPack}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + + /** + * + * + *
+   * Required. The ID of the feed pack to retrieve.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feedPack}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GetFeedRequest.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GetFeedRequest.java new file mode 100644 index 000000000000..eccd5bc0413f --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GetFeedRequest.java @@ -0,0 +1,623 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Request message to retrieve a feed.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.GetFeedRequest} + */ +@com.google.protobuf.Generated +public final class GetFeedRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.GetFeedRequest) + GetFeedRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "GetFeedRequest"); + } + + // Use GetFeedRequest.newBuilder() to construct. + private GetFeedRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private GetFeedRequest() { + name_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GetFeedRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GetFeedRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.GetFeedRequest.class, + com.google.cloud.chronicle.v1.GetFeedRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + + /** + * + * + *
+   * Required. The ID of the feed to retrieve.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. The ID of the feed to retrieve.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = 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.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + } + 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.cloud.chronicle.v1.GetFeedRequest)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.GetFeedRequest other = + (com.google.cloud.chronicle.v1.GetFeedRequest) obj; + + if (!getName().equals(other.getName())) 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) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.GetFeedRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.GetFeedRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GetFeedRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.GetFeedRequest 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.cloud.chronicle.v1.GetFeedRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.GetFeedRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GetFeedRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.GetFeedRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GetFeedRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.GetFeedRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GetFeedRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.GetFeedRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.GetFeedRequest 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Request message to retrieve a feed.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.GetFeedRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.GetFeedRequest) + com.google.cloud.chronicle.v1.GetFeedRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GetFeedRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GetFeedRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.GetFeedRequest.class, + com.google.cloud.chronicle.v1.GetFeedRequest.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.GetFeedRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GetFeedRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GetFeedRequest getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.GetFeedRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GetFeedRequest build() { + com.google.cloud.chronicle.v1.GetFeedRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GetFeedRequest buildPartial() { + com.google.cloud.chronicle.v1.GetFeedRequest result = + new com.google.cloud.chronicle.v1.GetFeedRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.GetFeedRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.GetFeedRequest) { + return mergeFrom((com.google.cloud.chronicle.v1.GetFeedRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.GetFeedRequest other) { + if (other == com.google.cloud.chronicle.v1.GetFeedRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + + /** + * + * + *
+     * Required. The ID of the feed to retrieve.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. The ID of the feed to retrieve.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. The ID of the feed to retrieve.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The ID of the feed to retrieve.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The ID of the feed to retrieve.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.GetFeedRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.GetFeedRequest) + private static final com.google.cloud.chronicle.v1.GetFeedRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.GetFeedRequest(); + } + + public static com.google.cloud.chronicle.v1.GetFeedRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GetFeedRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GetFeedRequestOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GetFeedRequestOrBuilder.java new file mode 100644 index 000000000000..db7f203a8151 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GetFeedRequestOrBuilder.java @@ -0,0 +1,62 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface GetFeedRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.GetFeedRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The ID of the feed to retrieve.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + + /** + * + * + *
+   * Required. The ID of the feed to retrieve.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudIdentityDeviceUsersSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudIdentityDeviceUsersSettings.java new file mode 100644 index 000000000000..22ba1258c4ca --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudIdentityDeviceUsersSettings.java @@ -0,0 +1,739 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Google Cloud Identity Device Users settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings} + */ +@com.google.protobuf.Generated +public final class GoogleCloudIdentityDeviceUsersSettings + extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings) + GoogleCloudIdentityDeviceUsersSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "GoogleCloudIdentityDeviceUsersSettings"); + } + + // Use GoogleCloudIdentityDeviceUsersSettings.newBuilder() to construct. + private GoogleCloudIdentityDeviceUsersSettings( + com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private GoogleCloudIdentityDeviceUsersSettings() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GoogleCloudIdentityDeviceUsersSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GoogleCloudIdentityDeviceUsersSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings.class, + com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.OAuthJWTCredentials authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthJWTCredentials getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + 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.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings other = + (com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings 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.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Google Cloud Identity Device Users settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings) + com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GoogleCloudIdentityDeviceUsersSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GoogleCloudIdentityDeviceUsersSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings.class, + com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings.Builder.class); + } + + // Construct using + // com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GoogleCloudIdentityDeviceUsersSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings + getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings build() { + com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings buildPartial() { + com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings result = + new com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings) { + return mergeFrom( + (com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings other) { + if (other + == com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings + .getDefaultInstance()) return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.OAuthJWTCredentials authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentials getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.OAuthJWTCredentials value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.OAuthJWTCredentials value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings) + private static final com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings(); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GoogleCloudIdentityDeviceUsersSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudIdentityDeviceUsersSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudIdentityDeviceUsersSettingsOrBuilder.java new file mode 100644 index 000000000000..f9e0cfa99ce9 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudIdentityDeviceUsersSettingsOrBuilder.java @@ -0,0 +1,71 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface GoogleCloudIdentityDeviceUsersSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.GoogleCloudIdentityDeviceUsersSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.OAuthJWTCredentials getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudIdentityDevicesSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudIdentityDevicesSettings.java new file mode 100644 index 000000000000..0b77970f2ed5 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudIdentityDevicesSettings.java @@ -0,0 +1,924 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Google Cloud Identity Devices settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings} + */ +@com.google.protobuf.Generated +public final class GoogleCloudIdentityDevicesSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings) + GoogleCloudIdentityDevicesSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "GoogleCloudIdentityDevicesSettings"); + } + + // Use GoogleCloudIdentityDevicesSettings.newBuilder() to construct. + private GoogleCloudIdentityDevicesSettings( + com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private GoogleCloudIdentityDevicesSettings() { + apiVersion_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GoogleCloudIdentityDevicesSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GoogleCloudIdentityDevicesSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings.class, + com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.OAuthJWTCredentials authentication_; + + /** + * + * + *
+   * Input only. Authentication
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthJWTCredentials getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } + + public static final int API_VERSION_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object apiVersion_ = ""; + + /** + * + * + *
+   * API Version
+   * 
+ * + * string api_version = 2; + * + * @return The apiVersion. + */ + @java.lang.Override + public java.lang.String getApiVersion() { + java.lang.Object ref = apiVersion_; + 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(); + apiVersion_ = s; + return s; + } + } + + /** + * + * + *
+   * API Version
+   * 
+ * + * string api_version = 2; + * + * @return The bytes for apiVersion. + */ + @java.lang.Override + public com.google.protobuf.ByteString getApiVersionBytes() { + java.lang.Object ref = apiVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + apiVersion_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(apiVersion_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, apiVersion_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(apiVersion_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, apiVersion_); + } + 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.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings other = + (com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getApiVersion().equals(other.getApiVersion())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + API_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getApiVersion().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings 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.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Google Cloud Identity Devices settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings) + com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GoogleCloudIdentityDevicesSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GoogleCloudIdentityDevicesSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings.class, + com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + apiVersion_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GoogleCloudIdentityDevicesSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings + getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings build() { + com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings buildPartial() { + com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings result = + new com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.apiVersion_ = apiVersion_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings other) { + if (other + == com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getApiVersion().isEmpty()) { + apiVersion_ = other.apiVersion_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + apiVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.OAuthJWTCredentials authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentials getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.OAuthJWTCredentials value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.OAuthJWTCredentials value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object apiVersion_ = ""; + + /** + * + * + *
+     * API Version
+     * 
+ * + * string api_version = 2; + * + * @return The apiVersion. + */ + public java.lang.String getApiVersion() { + java.lang.Object ref = apiVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + apiVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Version
+     * 
+ * + * string api_version = 2; + * + * @return The bytes for apiVersion. + */ + public com.google.protobuf.ByteString getApiVersionBytes() { + java.lang.Object ref = apiVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + apiVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Version
+     * 
+ * + * string api_version = 2; + * + * @param value The apiVersion to set. + * @return This builder for chaining. + */ + public Builder setApiVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + apiVersion_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Version
+     * 
+ * + * string api_version = 2; + * + * @return This builder for chaining. + */ + public Builder clearApiVersion() { + apiVersion_ = getDefaultInstance().getApiVersion(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Version
+     * 
+ * + * string api_version = 2; + * + * @param value The bytes for apiVersion to set. + * @return This builder for chaining. + */ + public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiVersion_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings) + private static final com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings(); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GoogleCloudIdentityDevicesSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudIdentityDevicesSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudIdentityDevicesSettingsOrBuilder.java new file mode 100644 index 000000000000..cc26cfd8b14e --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudIdentityDevicesSettingsOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface GoogleCloudIdentityDevicesSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.GoogleCloudIdentityDevicesSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.OAuthJWTCredentials getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * API Version
+   * 
+ * + * string api_version = 2; + * + * @return The apiVersion. + */ + java.lang.String getApiVersion(); + + /** + * + * + *
+   * API Version
+   * 
+ * + * string api_version = 2; + * + * @return The bytes for apiVersion. + */ + com.google.protobuf.ByteString getApiVersionBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudStorageEventDrivenSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudStorageEventDrivenSettings.java new file mode 100644 index 000000000000..d042eea1acf3 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudStorageEventDrivenSettings.java @@ -0,0 +1,1576 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * GoogleCloudStorageEventDrivenSettings is the settings proto for Omniflow
+ * Google Cloud Storage feeds driven by pubsub events.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings} + */ +@com.google.protobuf.Generated +public final class GoogleCloudStorageEventDrivenSettings + extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings) + GoogleCloudStorageEventDrivenSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "GoogleCloudStorageEventDrivenSettings"); + } + + // Use GoogleCloudStorageEventDrivenSettings.newBuilder() to construct. + private GoogleCloudStorageEventDrivenSettings( + com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private GoogleCloudStorageEventDrivenSettings() { + bucketUri_ = ""; + pubsubSubscription_ = ""; + sourceDeletionOption_ = 0; + chronicleServiceAccount_ = ""; + includePrefixes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GoogleCloudStorageEventDrivenSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GoogleCloudStorageEventDrivenSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings.class, + com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings.Builder.class); + } + + public static final int BUCKET_URI_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object bucketUri_ = ""; + + /** + * + * + *
+   * Required. Google Cloud Storage Bucket URI for the feed.
+   * 
+ * + * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bucketUri. + */ + @java.lang.Override + public java.lang.String getBucketUri() { + java.lang.Object ref = bucketUri_; + 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(); + bucketUri_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Google Cloud Storage Bucket URI for the feed.
+   * 
+ * + * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for bucketUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getBucketUriBytes() { + java.lang.Object ref = bucketUri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + bucketUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PUBSUB_SUBSCRIPTION_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object pubsubSubscription_ = ""; + + /** + * + * + *
+   * Required. Subscription name for pubsub topic.
+   * 
+ * + * string pubsub_subscription = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The pubsubSubscription. + */ + @java.lang.Override + public java.lang.String getPubsubSubscription() { + java.lang.Object ref = pubsubSubscription_; + 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(); + pubsubSubscription_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Subscription name for pubsub topic.
+   * 
+ * + * string pubsub_subscription = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for pubsubSubscription. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPubsubSubscriptionBytes() { + java.lang.Object ref = pubsubSubscription_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pubsubSubscription_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SOURCE_DELETION_OPTION_FIELD_NUMBER = 3; + private int sourceDeletionOption_ = 0; + + /** + * + * + *
+   * Optional. Source deletion option determines if the data from the source is
+   * to be deleted after ingestion.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + @java.lang.Override + public int getSourceDeletionOptionValue() { + return sourceDeletionOption_; + } + + /** + * + * + *
+   * Optional. Source deletion option determines if the data from the source is
+   * to be deleted after ingestion.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The sourceDeletionOption. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SourceDeletionOptionV2 getSourceDeletionOption() { + com.google.cloud.chronicle.v1.SourceDeletionOptionV2 result = + com.google.cloud.chronicle.v1.SourceDeletionOptionV2.forNumber(sourceDeletionOption_); + return result == null + ? com.google.cloud.chronicle.v1.SourceDeletionOptionV2.UNRECOGNIZED + : result; + } + + public static final int CHRONICLE_SERVICE_ACCOUNT_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object chronicleServiceAccount_ = ""; + + /** + * + * + *
+   * Output only. SA that will read data, this is Storage Transfer Service SA of
+   * Customer's Tenancy Project.
+   * 
+ * + * string chronicle_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The chronicleServiceAccount. + */ + @java.lang.Override + public java.lang.String getChronicleServiceAccount() { + java.lang.Object ref = chronicleServiceAccount_; + 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(); + chronicleServiceAccount_ = s; + return s; + } + } + + /** + * + * + *
+   * Output only. SA that will read data, this is Storage Transfer Service SA of
+   * Customer's Tenancy Project.
+   * 
+ * + * string chronicle_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for chronicleServiceAccount. + */ + @java.lang.Override + public com.google.protobuf.ByteString getChronicleServiceAccountBytes() { + java.lang.Object ref = chronicleServiceAccount_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + chronicleServiceAccount_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MAX_LOOKBACK_DAYS_FIELD_NUMBER = 5; + private int maxLookbackDays_ = 0; + + /** + * + * + *
+   * Optional. Maximum File Age to ingest in days.
+   * 
+ * + * int32 max_lookback_days = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxLookbackDays. + */ + @java.lang.Override + public int getMaxLookbackDays() { + return maxLookbackDays_; + } + + public static final int INCLUDE_PREFIXES_FIELD_NUMBER = 6; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList includePrefixes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the includePrefixes. + */ + public com.google.protobuf.ProtocolStringList getIncludePrefixesList() { + return includePrefixes_; + } + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of includePrefixes. + */ + public int getIncludePrefixesCount() { + return includePrefixes_.size(); + } + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The includePrefixes at the given index. + */ + public java.lang.String getIncludePrefixes(int index) { + return includePrefixes_.get(index); + } + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the includePrefixes at the given index. + */ + public com.google.protobuf.ByteString getIncludePrefixesBytes(int index) { + return includePrefixes_.getByteString(index); + } + + 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.GeneratedMessage.isStringEmpty(bucketUri_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, bucketUri_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pubsubSubscription_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, pubsubSubscription_); + } + if (sourceDeletionOption_ + != com.google.cloud.chronicle.v1.SourceDeletionOptionV2 + .SOURCE_DELETION_OPTION_V2_UNSPECIFIED + .getNumber()) { + output.writeEnum(3, sourceDeletionOption_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(chronicleServiceAccount_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, chronicleServiceAccount_); + } + if (maxLookbackDays_ != 0) { + output.writeInt32(5, maxLookbackDays_); + } + for (int i = 0; i < includePrefixes_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 6, includePrefixes_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(bucketUri_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, bucketUri_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pubsubSubscription_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, pubsubSubscription_); + } + if (sourceDeletionOption_ + != com.google.cloud.chronicle.v1.SourceDeletionOptionV2 + .SOURCE_DELETION_OPTION_V2_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, sourceDeletionOption_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(chronicleServiceAccount_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, chronicleServiceAccount_); + } + if (maxLookbackDays_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, maxLookbackDays_); + } + { + int dataSize = 0; + for (int i = 0; i < includePrefixes_.size(); i++) { + dataSize += computeStringSizeNoTag(includePrefixes_.getRaw(i)); + } + size += dataSize; + size += 1 * getIncludePrefixesList().size(); + } + 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.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings other = + (com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings) obj; + + if (!getBucketUri().equals(other.getBucketUri())) return false; + if (!getPubsubSubscription().equals(other.getPubsubSubscription())) return false; + if (sourceDeletionOption_ != other.sourceDeletionOption_) return false; + if (!getChronicleServiceAccount().equals(other.getChronicleServiceAccount())) return false; + if (getMaxLookbackDays() != other.getMaxLookbackDays()) return false; + if (!getIncludePrefixesList().equals(other.getIncludePrefixesList())) 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) + BUCKET_URI_FIELD_NUMBER; + hash = (53 * hash) + getBucketUri().hashCode(); + hash = (37 * hash) + PUBSUB_SUBSCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getPubsubSubscription().hashCode(); + hash = (37 * hash) + SOURCE_DELETION_OPTION_FIELD_NUMBER; + hash = (53 * hash) + sourceDeletionOption_; + hash = (37 * hash) + CHRONICLE_SERVICE_ACCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getChronicleServiceAccount().hashCode(); + hash = (37 * hash) + MAX_LOOKBACK_DAYS_FIELD_NUMBER; + hash = (53 * hash) + getMaxLookbackDays(); + if (getIncludePrefixesCount() > 0) { + hash = (37 * hash) + INCLUDE_PREFIXES_FIELD_NUMBER; + hash = (53 * hash) + getIncludePrefixesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings 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.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * GoogleCloudStorageEventDrivenSettings is the settings proto for Omniflow
+   * Google Cloud Storage feeds driven by pubsub events.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings) + com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GoogleCloudStorageEventDrivenSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GoogleCloudStorageEventDrivenSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings.class, + com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings.Builder.class); + } + + // Construct using + // com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + bucketUri_ = ""; + pubsubSubscription_ = ""; + sourceDeletionOption_ = 0; + chronicleServiceAccount_ = ""; + maxLookbackDays_ = 0; + includePrefixes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GoogleCloudStorageEventDrivenSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings + getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings build() { + com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings buildPartial() { + com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings result = + new com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.bucketUri_ = bucketUri_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.pubsubSubscription_ = pubsubSubscription_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.sourceDeletionOption_ = sourceDeletionOption_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.chronicleServiceAccount_ = chronicleServiceAccount_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.maxLookbackDays_ = maxLookbackDays_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + includePrefixes_.makeImmutable(); + result.includePrefixes_ = includePrefixes_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings) { + return mergeFrom( + (com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings other) { + if (other + == com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings + .getDefaultInstance()) return this; + if (!other.getBucketUri().isEmpty()) { + bucketUri_ = other.bucketUri_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getPubsubSubscription().isEmpty()) { + pubsubSubscription_ = other.pubsubSubscription_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.sourceDeletionOption_ != 0) { + setSourceDeletionOptionValue(other.getSourceDeletionOptionValue()); + } + if (!other.getChronicleServiceAccount().isEmpty()) { + chronicleServiceAccount_ = other.chronicleServiceAccount_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.getMaxLookbackDays() != 0) { + setMaxLookbackDays(other.getMaxLookbackDays()); + } + if (!other.includePrefixes_.isEmpty()) { + if (includePrefixes_.isEmpty()) { + includePrefixes_ = other.includePrefixes_; + bitField0_ |= 0x00000020; + } else { + ensureIncludePrefixesIsMutable(); + includePrefixes_.addAll(other.includePrefixes_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + bucketUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + pubsubSubscription_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + sourceDeletionOption_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + chronicleServiceAccount_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + maxLookbackDays_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureIncludePrefixesIsMutable(); + includePrefixes_.add(s); + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object bucketUri_ = ""; + + /** + * + * + *
+     * Required. Google Cloud Storage Bucket URI for the feed.
+     * 
+ * + * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bucketUri. + */ + public java.lang.String getBucketUri() { + java.lang.Object ref = bucketUri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + bucketUri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Google Cloud Storage Bucket URI for the feed.
+     * 
+ * + * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for bucketUri. + */ + public com.google.protobuf.ByteString getBucketUriBytes() { + java.lang.Object ref = bucketUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + bucketUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Google Cloud Storage Bucket URI for the feed.
+     * 
+ * + * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bucketUri to set. + * @return This builder for chaining. + */ + public Builder setBucketUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bucketUri_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Google Cloud Storage Bucket URI for the feed.
+     * 
+ * + * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearBucketUri() { + bucketUri_ = getDefaultInstance().getBucketUri(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Google Cloud Storage Bucket URI for the feed.
+     * 
+ * + * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for bucketUri to set. + * @return This builder for chaining. + */ + public Builder setBucketUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bucketUri_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object pubsubSubscription_ = ""; + + /** + * + * + *
+     * Required. Subscription name for pubsub topic.
+     * 
+ * + * string pubsub_subscription = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The pubsubSubscription. + */ + public java.lang.String getPubsubSubscription() { + java.lang.Object ref = pubsubSubscription_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pubsubSubscription_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Subscription name for pubsub topic.
+     * 
+ * + * string pubsub_subscription = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for pubsubSubscription. + */ + public com.google.protobuf.ByteString getPubsubSubscriptionBytes() { + java.lang.Object ref = pubsubSubscription_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pubsubSubscription_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Subscription name for pubsub topic.
+     * 
+ * + * string pubsub_subscription = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The pubsubSubscription to set. + * @return This builder for chaining. + */ + public Builder setPubsubSubscription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + pubsubSubscription_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Subscription name for pubsub topic.
+     * 
+ * + * string pubsub_subscription = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearPubsubSubscription() { + pubsubSubscription_ = getDefaultInstance().getPubsubSubscription(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Subscription name for pubsub topic.
+     * 
+ * + * string pubsub_subscription = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for pubsubSubscription to set. + * @return This builder for chaining. + */ + public Builder setPubsubSubscriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pubsubSubscription_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int sourceDeletionOption_ = 0; + + /** + * + * + *
+     * Optional. Source deletion option determines if the data from the source is
+     * to be deleted after ingestion.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + @java.lang.Override + public int getSourceDeletionOptionValue() { + return sourceDeletionOption_; + } + + /** + * + * + *
+     * Optional. Source deletion option determines if the data from the source is
+     * to be deleted after ingestion.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The enum numeric value on the wire for sourceDeletionOption to set. + * @return This builder for chaining. + */ + public Builder setSourceDeletionOptionValue(int value) { + sourceDeletionOption_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Source deletion option determines if the data from the source is
+     * to be deleted after ingestion.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The sourceDeletionOption. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SourceDeletionOptionV2 getSourceDeletionOption() { + com.google.cloud.chronicle.v1.SourceDeletionOptionV2 result = + com.google.cloud.chronicle.v1.SourceDeletionOptionV2.forNumber(sourceDeletionOption_); + return result == null + ? com.google.cloud.chronicle.v1.SourceDeletionOptionV2.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * Optional. Source deletion option determines if the data from the source is
+     * to be deleted after ingestion.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The sourceDeletionOption to set. + * @return This builder for chaining. + */ + public Builder setSourceDeletionOption( + com.google.cloud.chronicle.v1.SourceDeletionOptionV2 value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + sourceDeletionOption_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Source deletion option determines if the data from the source is
+     * to be deleted after ingestion.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearSourceDeletionOption() { + bitField0_ = (bitField0_ & ~0x00000004); + sourceDeletionOption_ = 0; + onChanged(); + return this; + } + + private java.lang.Object chronicleServiceAccount_ = ""; + + /** + * + * + *
+     * Output only. SA that will read data, this is Storage Transfer Service SA of
+     * Customer's Tenancy Project.
+     * 
+ * + * string chronicle_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The chronicleServiceAccount. + */ + public java.lang.String getChronicleServiceAccount() { + java.lang.Object ref = chronicleServiceAccount_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + chronicleServiceAccount_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Output only. SA that will read data, this is Storage Transfer Service SA of
+     * Customer's Tenancy Project.
+     * 
+ * + * string chronicle_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The bytes for chronicleServiceAccount. + */ + public com.google.protobuf.ByteString getChronicleServiceAccountBytes() { + java.lang.Object ref = chronicleServiceAccount_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + chronicleServiceAccount_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Output only. SA that will read data, this is Storage Transfer Service SA of
+     * Customer's Tenancy Project.
+     * 
+ * + * string chronicle_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The chronicleServiceAccount to set. + * @return This builder for chaining. + */ + public Builder setChronicleServiceAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + chronicleServiceAccount_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. SA that will read data, this is Storage Transfer Service SA of
+     * Customer's Tenancy Project.
+     * 
+ * + * string chronicle_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearChronicleServiceAccount() { + chronicleServiceAccount_ = getDefaultInstance().getChronicleServiceAccount(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. SA that will read data, this is Storage Transfer Service SA of
+     * Customer's Tenancy Project.
+     * 
+ * + * string chronicle_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The bytes for chronicleServiceAccount to set. + * @return This builder for chaining. + */ + public Builder setChronicleServiceAccountBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + chronicleServiceAccount_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private int maxLookbackDays_; + + /** + * + * + *
+     * Optional. Maximum File Age to ingest in days.
+     * 
+ * + * int32 max_lookback_days = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxLookbackDays. + */ + @java.lang.Override + public int getMaxLookbackDays() { + return maxLookbackDays_; + } + + /** + * + * + *
+     * Optional. Maximum File Age to ingest in days.
+     * 
+ * + * int32 max_lookback_days = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The maxLookbackDays to set. + * @return This builder for chaining. + */ + public Builder setMaxLookbackDays(int value) { + + maxLookbackDays_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Maximum File Age to ingest in days.
+     * 
+ * + * int32 max_lookback_days = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearMaxLookbackDays() { + bitField0_ = (bitField0_ & ~0x00000010); + maxLookbackDays_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList includePrefixes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureIncludePrefixesIsMutable() { + if (!includePrefixes_.isModifiable()) { + includePrefixes_ = new com.google.protobuf.LazyStringArrayList(includePrefixes_); + } + bitField0_ |= 0x00000020; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the includePrefixes. + */ + public com.google.protobuf.ProtocolStringList getIncludePrefixesList() { + includePrefixes_.makeImmutable(); + return includePrefixes_; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of includePrefixes. + */ + public int getIncludePrefixesCount() { + return includePrefixes_.size(); + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The includePrefixes at the given index. + */ + public java.lang.String getIncludePrefixes(int index) { + return includePrefixes_.get(index); + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the includePrefixes at the given index. + */ + public com.google.protobuf.ByteString getIncludePrefixesBytes(int index) { + return includePrefixes_.getByteString(index); + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The includePrefixes to set. + * @return This builder for chaining. + */ + public Builder setIncludePrefixes(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureIncludePrefixesIsMutable(); + includePrefixes_.set(index, value); + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The includePrefixes to add. + * @return This builder for chaining. + */ + public Builder addIncludePrefixes(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureIncludePrefixesIsMutable(); + includePrefixes_.add(value); + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The includePrefixes to add. + * @return This builder for chaining. + */ + public Builder addAllIncludePrefixes(java.lang.Iterable values) { + ensureIncludePrefixesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includePrefixes_); + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearIncludePrefixes() { + includePrefixes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + ; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the includePrefixes to add. + * @return This builder for chaining. + */ + public Builder addIncludePrefixesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureIncludePrefixesIsMutable(); + includePrefixes_.add(value); + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings) + private static final com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings(); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GoogleCloudStorageEventDrivenSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudStorageEventDrivenSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudStorageEventDrivenSettingsOrBuilder.java new file mode 100644 index 000000000000..b55eb0be6de2 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudStorageEventDrivenSettingsOrBuilder.java @@ -0,0 +1,207 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface GoogleCloudStorageEventDrivenSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Google Cloud Storage Bucket URI for the feed.
+   * 
+ * + * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bucketUri. + */ + java.lang.String getBucketUri(); + + /** + * + * + *
+   * Required. Google Cloud Storage Bucket URI for the feed.
+   * 
+ * + * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for bucketUri. + */ + com.google.protobuf.ByteString getBucketUriBytes(); + + /** + * + * + *
+   * Required. Subscription name for pubsub topic.
+   * 
+ * + * string pubsub_subscription = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The pubsubSubscription. + */ + java.lang.String getPubsubSubscription(); + + /** + * + * + *
+   * Required. Subscription name for pubsub topic.
+   * 
+ * + * string pubsub_subscription = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for pubsubSubscription. + */ + com.google.protobuf.ByteString getPubsubSubscriptionBytes(); + + /** + * + * + *
+   * Optional. Source deletion option determines if the data from the source is
+   * to be deleted after ingestion.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + int getSourceDeletionOptionValue(); + + /** + * + * + *
+   * Optional. Source deletion option determines if the data from the source is
+   * to be deleted after ingestion.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The sourceDeletionOption. + */ + com.google.cloud.chronicle.v1.SourceDeletionOptionV2 getSourceDeletionOption(); + + /** + * + * + *
+   * Output only. SA that will read data, this is Storage Transfer Service SA of
+   * Customer's Tenancy Project.
+   * 
+ * + * string chronicle_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The chronicleServiceAccount. + */ + java.lang.String getChronicleServiceAccount(); + + /** + * + * + *
+   * Output only. SA that will read data, this is Storage Transfer Service SA of
+   * Customer's Tenancy Project.
+   * 
+ * + * string chronicle_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for chronicleServiceAccount. + */ + com.google.protobuf.ByteString getChronicleServiceAccountBytes(); + + /** + * + * + *
+   * Optional. Maximum File Age to ingest in days.
+   * 
+ * + * int32 max_lookback_days = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxLookbackDays. + */ + int getMaxLookbackDays(); + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the includePrefixes. + */ + java.util.List getIncludePrefixesList(); + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of includePrefixes. + */ + int getIncludePrefixesCount(); + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The includePrefixes at the given index. + */ + java.lang.String getIncludePrefixes(int index); + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the includePrefixes at the given index. + */ + com.google.protobuf.ByteString getIncludePrefixesBytes(int index); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudStorageSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudStorageSettings.java new file mode 100644 index 000000000000..08a24825ecb0 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudStorageSettings.java @@ -0,0 +1,1112 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Google Cloud Storage settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.GoogleCloudStorageSettings} + */ +@com.google.protobuf.Generated +public final class GoogleCloudStorageSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.GoogleCloudStorageSettings) + GoogleCloudStorageSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "GoogleCloudStorageSettings"); + } + + // Use GoogleCloudStorageSettings.newBuilder() to construct. + private GoogleCloudStorageSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private GoogleCloudStorageSettings() { + bucketUri_ = ""; + sourceType_ = 0; + sourceDeletionOption_ = 0; + chronicleServiceAccount_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GoogleCloudStorageSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GoogleCloudStorageSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.GoogleCloudStorageSettings.class, + com.google.cloud.chronicle.v1.GoogleCloudStorageSettings.Builder.class); + } + + public static final int BUCKET_URI_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object bucketUri_ = ""; + + /** + * + * + *
+   * Bucket URI.
+   * 
+ * + * string bucket_uri = 1; + * + * @return The bucketUri. + */ + @java.lang.Override + public java.lang.String getBucketUri() { + java.lang.Object ref = bucketUri_; + 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(); + bucketUri_ = s; + return s; + } + } + + /** + * + * + *
+   * Bucket URI.
+   * 
+ * + * string bucket_uri = 1; + * + * @return The bytes for bucketUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getBucketUriBytes() { + java.lang.Object ref = bucketUri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + bucketUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SOURCE_TYPE_FIELD_NUMBER = 2; + private int sourceType_ = 0; + + /** + * + * + *
+   * The URI source type.
+   * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 2; + * + * @return The enum numeric value on the wire for sourceType. + */ + @java.lang.Override + public int getSourceTypeValue() { + return sourceType_; + } + + /** + * + * + *
+   * The URI source type.
+   * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 2; + * + * @return The sourceType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.URISourceType getSourceType() { + com.google.cloud.chronicle.v1.URISourceType result = + com.google.cloud.chronicle.v1.URISourceType.forNumber(sourceType_); + return result == null ? com.google.cloud.chronicle.v1.URISourceType.UNRECOGNIZED : result; + } + + public static final int SOURCE_DELETION_OPTION_FIELD_NUMBER = 3; + private int sourceDeletionOption_ = 0; + + /** + * + * + *
+   * Source deletion option.
+   * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 3; + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + @java.lang.Override + public int getSourceDeletionOptionValue() { + return sourceDeletionOption_; + } + + /** + * + * + *
+   * Source deletion option.
+   * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 3; + * + * @return The sourceDeletionOption. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SourceDeletionOption getSourceDeletionOption() { + com.google.cloud.chronicle.v1.SourceDeletionOption result = + com.google.cloud.chronicle.v1.SourceDeletionOption.forNumber(sourceDeletionOption_); + return result == null + ? com.google.cloud.chronicle.v1.SourceDeletionOption.UNRECOGNIZED + : result; + } + + public static final int CHRONICLE_SERVICE_ACCOUNT_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object chronicleServiceAccount_ = ""; + + /** + * + * + *
+   * Output only. Service Account Chronicle will be using to pull data.
+   * 
+ * + * string chronicle_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The chronicleServiceAccount. + */ + @java.lang.Override + public java.lang.String getChronicleServiceAccount() { + java.lang.Object ref = chronicleServiceAccount_; + 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(); + chronicleServiceAccount_ = s; + return s; + } + } + + /** + * + * + *
+   * Output only. Service Account Chronicle will be using to pull data.
+   * 
+ * + * string chronicle_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for chronicleServiceAccount. + */ + @java.lang.Override + public com.google.protobuf.ByteString getChronicleServiceAccountBytes() { + java.lang.Object ref = chronicleServiceAccount_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + chronicleServiceAccount_ = 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.GeneratedMessage.isStringEmpty(bucketUri_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, bucketUri_); + } + if (sourceType_ + != com.google.cloud.chronicle.v1.URISourceType.URI_SOURCE_TYPE_UNSPECIFIED.getNumber()) { + output.writeEnum(2, sourceType_); + } + if (sourceDeletionOption_ + != com.google.cloud.chronicle.v1.SourceDeletionOption.SOURCE_DELETION_OPTION_UNSPECIFIED + .getNumber()) { + output.writeEnum(3, sourceDeletionOption_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(chronicleServiceAccount_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, chronicleServiceAccount_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(bucketUri_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, bucketUri_); + } + if (sourceType_ + != com.google.cloud.chronicle.v1.URISourceType.URI_SOURCE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, sourceType_); + } + if (sourceDeletionOption_ + != com.google.cloud.chronicle.v1.SourceDeletionOption.SOURCE_DELETION_OPTION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, sourceDeletionOption_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(chronicleServiceAccount_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, chronicleServiceAccount_); + } + 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.cloud.chronicle.v1.GoogleCloudStorageSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.GoogleCloudStorageSettings other = + (com.google.cloud.chronicle.v1.GoogleCloudStorageSettings) obj; + + if (!getBucketUri().equals(other.getBucketUri())) return false; + if (sourceType_ != other.sourceType_) return false; + if (sourceDeletionOption_ != other.sourceDeletionOption_) return false; + if (!getChronicleServiceAccount().equals(other.getChronicleServiceAccount())) 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) + BUCKET_URI_FIELD_NUMBER; + hash = (53 * hash) + getBucketUri().hashCode(); + hash = (37 * hash) + SOURCE_TYPE_FIELD_NUMBER; + hash = (53 * hash) + sourceType_; + hash = (37 * hash) + SOURCE_DELETION_OPTION_FIELD_NUMBER; + hash = (53 * hash) + sourceDeletionOption_; + hash = (37 * hash) + CHRONICLE_SERVICE_ACCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getChronicleServiceAccount().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageSettings 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.cloud.chronicle.v1.GoogleCloudStorageSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.GoogleCloudStorageSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Google Cloud Storage settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.GoogleCloudStorageSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.GoogleCloudStorageSettings) + com.google.cloud.chronicle.v1.GoogleCloudStorageSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GoogleCloudStorageSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GoogleCloudStorageSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.GoogleCloudStorageSettings.class, + com.google.cloud.chronicle.v1.GoogleCloudStorageSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.GoogleCloudStorageSettings.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + bucketUri_ = ""; + sourceType_ = 0; + sourceDeletionOption_ = 0; + chronicleServiceAccount_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GoogleCloudStorageSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudStorageSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.GoogleCloudStorageSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudStorageSettings build() { + com.google.cloud.chronicle.v1.GoogleCloudStorageSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudStorageSettings buildPartial() { + com.google.cloud.chronicle.v1.GoogleCloudStorageSettings result = + new com.google.cloud.chronicle.v1.GoogleCloudStorageSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.GoogleCloudStorageSettings result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.bucketUri_ = bucketUri_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.sourceType_ = sourceType_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.sourceDeletionOption_ = sourceDeletionOption_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.chronicleServiceAccount_ = chronicleServiceAccount_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.GoogleCloudStorageSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.GoogleCloudStorageSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.GoogleCloudStorageSettings other) { + if (other == com.google.cloud.chronicle.v1.GoogleCloudStorageSettings.getDefaultInstance()) + return this; + if (!other.getBucketUri().isEmpty()) { + bucketUri_ = other.bucketUri_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.sourceType_ != 0) { + setSourceTypeValue(other.getSourceTypeValue()); + } + if (other.sourceDeletionOption_ != 0) { + setSourceDeletionOptionValue(other.getSourceDeletionOptionValue()); + } + if (!other.getChronicleServiceAccount().isEmpty()) { + chronicleServiceAccount_ = other.chronicleServiceAccount_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + bucketUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + sourceType_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + sourceDeletionOption_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + chronicleServiceAccount_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object bucketUri_ = ""; + + /** + * + * + *
+     * Bucket URI.
+     * 
+ * + * string bucket_uri = 1; + * + * @return The bucketUri. + */ + public java.lang.String getBucketUri() { + java.lang.Object ref = bucketUri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + bucketUri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Bucket URI.
+     * 
+ * + * string bucket_uri = 1; + * + * @return The bytes for bucketUri. + */ + public com.google.protobuf.ByteString getBucketUriBytes() { + java.lang.Object ref = bucketUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + bucketUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Bucket URI.
+     * 
+ * + * string bucket_uri = 1; + * + * @param value The bucketUri to set. + * @return This builder for chaining. + */ + public Builder setBucketUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bucketUri_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Bucket URI.
+     * 
+ * + * string bucket_uri = 1; + * + * @return This builder for chaining. + */ + public Builder clearBucketUri() { + bucketUri_ = getDefaultInstance().getBucketUri(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Bucket URI.
+     * 
+ * + * string bucket_uri = 1; + * + * @param value The bytes for bucketUri to set. + * @return This builder for chaining. + */ + public Builder setBucketUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bucketUri_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int sourceType_ = 0; + + /** + * + * + *
+     * The URI source type.
+     * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 2; + * + * @return The enum numeric value on the wire for sourceType. + */ + @java.lang.Override + public int getSourceTypeValue() { + return sourceType_; + } + + /** + * + * + *
+     * The URI source type.
+     * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 2; + * + * @param value The enum numeric value on the wire for sourceType to set. + * @return This builder for chaining. + */ + public Builder setSourceTypeValue(int value) { + sourceType_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * The URI source type.
+     * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 2; + * + * @return The sourceType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.URISourceType getSourceType() { + com.google.cloud.chronicle.v1.URISourceType result = + com.google.cloud.chronicle.v1.URISourceType.forNumber(sourceType_); + return result == null ? com.google.cloud.chronicle.v1.URISourceType.UNRECOGNIZED : result; + } + + /** + * + * + *
+     * The URI source type.
+     * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 2; + * + * @param value The sourceType to set. + * @return This builder for chaining. + */ + public Builder setSourceType(com.google.cloud.chronicle.v1.URISourceType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + sourceType_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * The URI source type.
+     * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 2; + * + * @return This builder for chaining. + */ + public Builder clearSourceType() { + bitField0_ = (bitField0_ & ~0x00000002); + sourceType_ = 0; + onChanged(); + return this; + } + + private int sourceDeletionOption_ = 0; + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 3; + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + @java.lang.Override + public int getSourceDeletionOptionValue() { + return sourceDeletionOption_; + } + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 3; + * + * @param value The enum numeric value on the wire for sourceDeletionOption to set. + * @return This builder for chaining. + */ + public Builder setSourceDeletionOptionValue(int value) { + sourceDeletionOption_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 3; + * + * @return The sourceDeletionOption. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SourceDeletionOption getSourceDeletionOption() { + com.google.cloud.chronicle.v1.SourceDeletionOption result = + com.google.cloud.chronicle.v1.SourceDeletionOption.forNumber(sourceDeletionOption_); + return result == null + ? com.google.cloud.chronicle.v1.SourceDeletionOption.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 3; + * + * @param value The sourceDeletionOption to set. + * @return This builder for chaining. + */ + public Builder setSourceDeletionOption( + com.google.cloud.chronicle.v1.SourceDeletionOption value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + sourceDeletionOption_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 3; + * + * @return This builder for chaining. + */ + public Builder clearSourceDeletionOption() { + bitField0_ = (bitField0_ & ~0x00000004); + sourceDeletionOption_ = 0; + onChanged(); + return this; + } + + private java.lang.Object chronicleServiceAccount_ = ""; + + /** + * + * + *
+     * Output only. Service Account Chronicle will be using to pull data.
+     * 
+ * + * string chronicle_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The chronicleServiceAccount. + */ + public java.lang.String getChronicleServiceAccount() { + java.lang.Object ref = chronicleServiceAccount_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + chronicleServiceAccount_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Output only. Service Account Chronicle will be using to pull data.
+     * 
+ * + * string chronicle_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The bytes for chronicleServiceAccount. + */ + public com.google.protobuf.ByteString getChronicleServiceAccountBytes() { + java.lang.Object ref = chronicleServiceAccount_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + chronicleServiceAccount_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Output only. Service Account Chronicle will be using to pull data.
+     * 
+ * + * string chronicle_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The chronicleServiceAccount to set. + * @return This builder for chaining. + */ + public Builder setChronicleServiceAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + chronicleServiceAccount_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Service Account Chronicle will be using to pull data.
+     * 
+ * + * string chronicle_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearChronicleServiceAccount() { + chronicleServiceAccount_ = getDefaultInstance().getChronicleServiceAccount(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Service Account Chronicle will be using to pull data.
+     * 
+ * + * string chronicle_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The bytes for chronicleServiceAccount to set. + * @return This builder for chaining. + */ + public Builder setChronicleServiceAccountBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + chronicleServiceAccount_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.GoogleCloudStorageSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.GoogleCloudStorageSettings) + private static final com.google.cloud.chronicle.v1.GoogleCloudStorageSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.GoogleCloudStorageSettings(); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GoogleCloudStorageSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudStorageSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudStorageSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudStorageSettingsOrBuilder.java new file mode 100644 index 000000000000..663ed909323b --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudStorageSettingsOrBuilder.java @@ -0,0 +1,132 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface GoogleCloudStorageSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.GoogleCloudStorageSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Bucket URI.
+   * 
+ * + * string bucket_uri = 1; + * + * @return The bucketUri. + */ + java.lang.String getBucketUri(); + + /** + * + * + *
+   * Bucket URI.
+   * 
+ * + * string bucket_uri = 1; + * + * @return The bytes for bucketUri. + */ + com.google.protobuf.ByteString getBucketUriBytes(); + + /** + * + * + *
+   * The URI source type.
+   * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 2; + * + * @return The enum numeric value on the wire for sourceType. + */ + int getSourceTypeValue(); + + /** + * + * + *
+   * The URI source type.
+   * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 2; + * + * @return The sourceType. + */ + com.google.cloud.chronicle.v1.URISourceType getSourceType(); + + /** + * + * + *
+   * Source deletion option.
+   * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 3; + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + int getSourceDeletionOptionValue(); + + /** + * + * + *
+   * Source deletion option.
+   * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 3; + * + * @return The sourceDeletionOption. + */ + com.google.cloud.chronicle.v1.SourceDeletionOption getSourceDeletionOption(); + + /** + * + * + *
+   * Output only. Service Account Chronicle will be using to pull data.
+   * 
+ * + * string chronicle_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The chronicleServiceAccount. + */ + java.lang.String getChronicleServiceAccount(); + + /** + * + * + *
+   * Output only. Service Account Chronicle will be using to pull data.
+   * 
+ * + * string chronicle_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for chronicleServiceAccount. + */ + com.google.protobuf.ByteString getChronicleServiceAccountBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudStorageV2Settings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudStorageV2Settings.java new file mode 100644 index 000000000000..bbe05cd407d6 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudStorageV2Settings.java @@ -0,0 +1,1374 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * GoogleCloudStorageV2Settings is the settings proto for Omniflow Google Cloud
+ * Storage feeds.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.GoogleCloudStorageV2Settings} + */ +@com.google.protobuf.Generated +public final class GoogleCloudStorageV2Settings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.GoogleCloudStorageV2Settings) + GoogleCloudStorageV2SettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "GoogleCloudStorageV2Settings"); + } + + // Use GoogleCloudStorageV2Settings.newBuilder() to construct. + private GoogleCloudStorageV2Settings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private GoogleCloudStorageV2Settings() { + bucketUri_ = ""; + sourceDeletionOption_ = 0; + chronicleServiceAccount_ = ""; + includePrefixes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GoogleCloudStorageV2Settings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GoogleCloudStorageV2Settings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings.class, + com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings.Builder.class); + } + + public static final int BUCKET_URI_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object bucketUri_ = ""; + + /** + * + * + *
+   * Required. Google Cloud Storage Bucket URI for the feed.
+   * 
+ * + * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bucketUri. + */ + @java.lang.Override + public java.lang.String getBucketUri() { + java.lang.Object ref = bucketUri_; + 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(); + bucketUri_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Google Cloud Storage Bucket URI for the feed.
+   * 
+ * + * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for bucketUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getBucketUriBytes() { + java.lang.Object ref = bucketUri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + bucketUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SOURCE_DELETION_OPTION_FIELD_NUMBER = 2; + private int sourceDeletionOption_ = 0; + + /** + * + * + *
+   * Optional. Source deletion option determines if the data from the source is
+   * to be deleted after ingestion.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + @java.lang.Override + public int getSourceDeletionOptionValue() { + return sourceDeletionOption_; + } + + /** + * + * + *
+   * Optional. Source deletion option determines if the data from the source is
+   * to be deleted after ingestion.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The sourceDeletionOption. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SourceDeletionOptionV2 getSourceDeletionOption() { + com.google.cloud.chronicle.v1.SourceDeletionOptionV2 result = + com.google.cloud.chronicle.v1.SourceDeletionOptionV2.forNumber(sourceDeletionOption_); + return result == null + ? com.google.cloud.chronicle.v1.SourceDeletionOptionV2.UNRECOGNIZED + : result; + } + + public static final int CHRONICLE_SERVICE_ACCOUNT_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object chronicleServiceAccount_ = ""; + + /** + * + * + *
+   * Output only. SA that will read data, this is Storage Transfer Service SA of
+   * Customer's Tenancy Project.
+   * 
+ * + * string chronicle_service_account = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The chronicleServiceAccount. + */ + @java.lang.Override + public java.lang.String getChronicleServiceAccount() { + java.lang.Object ref = chronicleServiceAccount_; + 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(); + chronicleServiceAccount_ = s; + return s; + } + } + + /** + * + * + *
+   * Output only. SA that will read data, this is Storage Transfer Service SA of
+   * Customer's Tenancy Project.
+   * 
+ * + * string chronicle_service_account = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for chronicleServiceAccount. + */ + @java.lang.Override + public com.google.protobuf.ByteString getChronicleServiceAccountBytes() { + java.lang.Object ref = chronicleServiceAccount_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + chronicleServiceAccount_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MAX_LOOKBACK_DAYS_FIELD_NUMBER = 4; + private int maxLookbackDays_ = 0; + + /** + * + * + *
+   * Optional. Maximum File Age to ingest in days.
+   * 
+ * + * int32 max_lookback_days = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxLookbackDays. + */ + @java.lang.Override + public int getMaxLookbackDays() { + return maxLookbackDays_; + } + + public static final int INCLUDE_PREFIXES_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList includePrefixes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the includePrefixes. + */ + public com.google.protobuf.ProtocolStringList getIncludePrefixesList() { + return includePrefixes_; + } + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of includePrefixes. + */ + public int getIncludePrefixesCount() { + return includePrefixes_.size(); + } + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The includePrefixes at the given index. + */ + public java.lang.String getIncludePrefixes(int index) { + return includePrefixes_.get(index); + } + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the includePrefixes at the given index. + */ + public com.google.protobuf.ByteString getIncludePrefixesBytes(int index) { + return includePrefixes_.getByteString(index); + } + + 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.GeneratedMessage.isStringEmpty(bucketUri_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, bucketUri_); + } + if (sourceDeletionOption_ + != com.google.cloud.chronicle.v1.SourceDeletionOptionV2 + .SOURCE_DELETION_OPTION_V2_UNSPECIFIED + .getNumber()) { + output.writeEnum(2, sourceDeletionOption_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(chronicleServiceAccount_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, chronicleServiceAccount_); + } + if (maxLookbackDays_ != 0) { + output.writeInt32(4, maxLookbackDays_); + } + for (int i = 0; i < includePrefixes_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, includePrefixes_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(bucketUri_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, bucketUri_); + } + if (sourceDeletionOption_ + != com.google.cloud.chronicle.v1.SourceDeletionOptionV2 + .SOURCE_DELETION_OPTION_V2_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, sourceDeletionOption_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(chronicleServiceAccount_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, chronicleServiceAccount_); + } + if (maxLookbackDays_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, maxLookbackDays_); + } + { + int dataSize = 0; + for (int i = 0; i < includePrefixes_.size(); i++) { + dataSize += computeStringSizeNoTag(includePrefixes_.getRaw(i)); + } + size += dataSize; + size += 1 * getIncludePrefixesList().size(); + } + 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.cloud.chronicle.v1.GoogleCloudStorageV2Settings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings other = + (com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings) obj; + + if (!getBucketUri().equals(other.getBucketUri())) return false; + if (sourceDeletionOption_ != other.sourceDeletionOption_) return false; + if (!getChronicleServiceAccount().equals(other.getChronicleServiceAccount())) return false; + if (getMaxLookbackDays() != other.getMaxLookbackDays()) return false; + if (!getIncludePrefixesList().equals(other.getIncludePrefixesList())) 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) + BUCKET_URI_FIELD_NUMBER; + hash = (53 * hash) + getBucketUri().hashCode(); + hash = (37 * hash) + SOURCE_DELETION_OPTION_FIELD_NUMBER; + hash = (53 * hash) + sourceDeletionOption_; + hash = (37 * hash) + CHRONICLE_SERVICE_ACCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getChronicleServiceAccount().hashCode(); + hash = (37 * hash) + MAX_LOOKBACK_DAYS_FIELD_NUMBER; + hash = (53 * hash) + getMaxLookbackDays(); + if (getIncludePrefixesCount() > 0) { + hash = (37 * hash) + INCLUDE_PREFIXES_FIELD_NUMBER; + hash = (53 * hash) + getIncludePrefixesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings 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.cloud.chronicle.v1.GoogleCloudStorageV2Settings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.GoogleCloudStorageV2Settings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * GoogleCloudStorageV2Settings is the settings proto for Omniflow Google Cloud
+   * Storage feeds.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.GoogleCloudStorageV2Settings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.GoogleCloudStorageV2Settings) + com.google.cloud.chronicle.v1.GoogleCloudStorageV2SettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GoogleCloudStorageV2Settings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GoogleCloudStorageV2Settings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings.class, + com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + bucketUri_ = ""; + sourceDeletionOption_ = 0; + chronicleServiceAccount_ = ""; + maxLookbackDays_ = 0; + includePrefixes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_GoogleCloudStorageV2Settings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings build() { + com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings buildPartial() { + com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings result = + new com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.bucketUri_ = bucketUri_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.sourceDeletionOption_ = sourceDeletionOption_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.chronicleServiceAccount_ = chronicleServiceAccount_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.maxLookbackDays_ = maxLookbackDays_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + includePrefixes_.makeImmutable(); + result.includePrefixes_ = includePrefixes_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings) { + return mergeFrom((com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings other) { + if (other == com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings.getDefaultInstance()) + return this; + if (!other.getBucketUri().isEmpty()) { + bucketUri_ = other.bucketUri_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.sourceDeletionOption_ != 0) { + setSourceDeletionOptionValue(other.getSourceDeletionOptionValue()); + } + if (!other.getChronicleServiceAccount().isEmpty()) { + chronicleServiceAccount_ = other.chronicleServiceAccount_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.getMaxLookbackDays() != 0) { + setMaxLookbackDays(other.getMaxLookbackDays()); + } + if (!other.includePrefixes_.isEmpty()) { + if (includePrefixes_.isEmpty()) { + includePrefixes_ = other.includePrefixes_; + bitField0_ |= 0x00000010; + } else { + ensureIncludePrefixesIsMutable(); + includePrefixes_.addAll(other.includePrefixes_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + bucketUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + sourceDeletionOption_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + chronicleServiceAccount_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + maxLookbackDays_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureIncludePrefixesIsMutable(); + includePrefixes_.add(s); + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object bucketUri_ = ""; + + /** + * + * + *
+     * Required. Google Cloud Storage Bucket URI for the feed.
+     * 
+ * + * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bucketUri. + */ + public java.lang.String getBucketUri() { + java.lang.Object ref = bucketUri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + bucketUri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Google Cloud Storage Bucket URI for the feed.
+     * 
+ * + * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for bucketUri. + */ + public com.google.protobuf.ByteString getBucketUriBytes() { + java.lang.Object ref = bucketUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + bucketUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Google Cloud Storage Bucket URI for the feed.
+     * 
+ * + * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bucketUri to set. + * @return This builder for chaining. + */ + public Builder setBucketUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bucketUri_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Google Cloud Storage Bucket URI for the feed.
+     * 
+ * + * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearBucketUri() { + bucketUri_ = getDefaultInstance().getBucketUri(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Google Cloud Storage Bucket URI for the feed.
+     * 
+ * + * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for bucketUri to set. + * @return This builder for chaining. + */ + public Builder setBucketUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bucketUri_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int sourceDeletionOption_ = 0; + + /** + * + * + *
+     * Optional. Source deletion option determines if the data from the source is
+     * to be deleted after ingestion.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + @java.lang.Override + public int getSourceDeletionOptionValue() { + return sourceDeletionOption_; + } + + /** + * + * + *
+     * Optional. Source deletion option determines if the data from the source is
+     * to be deleted after ingestion.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The enum numeric value on the wire for sourceDeletionOption to set. + * @return This builder for chaining. + */ + public Builder setSourceDeletionOptionValue(int value) { + sourceDeletionOption_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Source deletion option determines if the data from the source is
+     * to be deleted after ingestion.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The sourceDeletionOption. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SourceDeletionOptionV2 getSourceDeletionOption() { + com.google.cloud.chronicle.v1.SourceDeletionOptionV2 result = + com.google.cloud.chronicle.v1.SourceDeletionOptionV2.forNumber(sourceDeletionOption_); + return result == null + ? com.google.cloud.chronicle.v1.SourceDeletionOptionV2.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * Optional. Source deletion option determines if the data from the source is
+     * to be deleted after ingestion.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The sourceDeletionOption to set. + * @return This builder for chaining. + */ + public Builder setSourceDeletionOption( + com.google.cloud.chronicle.v1.SourceDeletionOptionV2 value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + sourceDeletionOption_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Source deletion option determines if the data from the source is
+     * to be deleted after ingestion.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearSourceDeletionOption() { + bitField0_ = (bitField0_ & ~0x00000002); + sourceDeletionOption_ = 0; + onChanged(); + return this; + } + + private java.lang.Object chronicleServiceAccount_ = ""; + + /** + * + * + *
+     * Output only. SA that will read data, this is Storage Transfer Service SA of
+     * Customer's Tenancy Project.
+     * 
+ * + * string chronicle_service_account = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The chronicleServiceAccount. + */ + public java.lang.String getChronicleServiceAccount() { + java.lang.Object ref = chronicleServiceAccount_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + chronicleServiceAccount_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Output only. SA that will read data, this is Storage Transfer Service SA of
+     * Customer's Tenancy Project.
+     * 
+ * + * string chronicle_service_account = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The bytes for chronicleServiceAccount. + */ + public com.google.protobuf.ByteString getChronicleServiceAccountBytes() { + java.lang.Object ref = chronicleServiceAccount_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + chronicleServiceAccount_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Output only. SA that will read data, this is Storage Transfer Service SA of
+     * Customer's Tenancy Project.
+     * 
+ * + * string chronicle_service_account = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The chronicleServiceAccount to set. + * @return This builder for chaining. + */ + public Builder setChronicleServiceAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + chronicleServiceAccount_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. SA that will read data, this is Storage Transfer Service SA of
+     * Customer's Tenancy Project.
+     * 
+ * + * string chronicle_service_account = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearChronicleServiceAccount() { + chronicleServiceAccount_ = getDefaultInstance().getChronicleServiceAccount(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. SA that will read data, this is Storage Transfer Service SA of
+     * Customer's Tenancy Project.
+     * 
+ * + * string chronicle_service_account = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The bytes for chronicleServiceAccount to set. + * @return This builder for chaining. + */ + public Builder setChronicleServiceAccountBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + chronicleServiceAccount_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private int maxLookbackDays_; + + /** + * + * + *
+     * Optional. Maximum File Age to ingest in days.
+     * 
+ * + * int32 max_lookback_days = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxLookbackDays. + */ + @java.lang.Override + public int getMaxLookbackDays() { + return maxLookbackDays_; + } + + /** + * + * + *
+     * Optional. Maximum File Age to ingest in days.
+     * 
+ * + * int32 max_lookback_days = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The maxLookbackDays to set. + * @return This builder for chaining. + */ + public Builder setMaxLookbackDays(int value) { + + maxLookbackDays_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Maximum File Age to ingest in days.
+     * 
+ * + * int32 max_lookback_days = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearMaxLookbackDays() { + bitField0_ = (bitField0_ & ~0x00000008); + maxLookbackDays_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList includePrefixes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureIncludePrefixesIsMutable() { + if (!includePrefixes_.isModifiable()) { + includePrefixes_ = new com.google.protobuf.LazyStringArrayList(includePrefixes_); + } + bitField0_ |= 0x00000010; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the includePrefixes. + */ + public com.google.protobuf.ProtocolStringList getIncludePrefixesList() { + includePrefixes_.makeImmutable(); + return includePrefixes_; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of includePrefixes. + */ + public int getIncludePrefixesCount() { + return includePrefixes_.size(); + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The includePrefixes at the given index. + */ + public java.lang.String getIncludePrefixes(int index) { + return includePrefixes_.get(index); + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the includePrefixes at the given index. + */ + public com.google.protobuf.ByteString getIncludePrefixesBytes(int index) { + return includePrefixes_.getByteString(index); + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The includePrefixes to set. + * @return This builder for chaining. + */ + public Builder setIncludePrefixes(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureIncludePrefixesIsMutable(); + includePrefixes_.set(index, value); + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The includePrefixes to add. + * @return This builder for chaining. + */ + public Builder addIncludePrefixes(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureIncludePrefixesIsMutable(); + includePrefixes_.add(value); + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The includePrefixes to add. + * @return This builder for chaining. + */ + public Builder addAllIncludePrefixes(java.lang.Iterable values) { + ensureIncludePrefixesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includePrefixes_); + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearIncludePrefixes() { + includePrefixes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + ; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Optional list of object prefixes to include.
+     * 
+ * + * repeated string include_prefixes = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the includePrefixes to add. + * @return This builder for chaining. + */ + public Builder addIncludePrefixesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureIncludePrefixesIsMutable(); + includePrefixes_.add(value); + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.GoogleCloudStorageV2Settings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.GoogleCloudStorageV2Settings) + private static final com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings(); + } + + public static com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GoogleCloudStorageV2Settings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.GoogleCloudStorageV2Settings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudStorageV2SettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudStorageV2SettingsOrBuilder.java new file mode 100644 index 000000000000..bf5ba22c5d63 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/GoogleCloudStorageV2SettingsOrBuilder.java @@ -0,0 +1,181 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface GoogleCloudStorageV2SettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.GoogleCloudStorageV2Settings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Google Cloud Storage Bucket URI for the feed.
+   * 
+ * + * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bucketUri. + */ + java.lang.String getBucketUri(); + + /** + * + * + *
+   * Required. Google Cloud Storage Bucket URI for the feed.
+   * 
+ * + * string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for bucketUri. + */ + com.google.protobuf.ByteString getBucketUriBytes(); + + /** + * + * + *
+   * Optional. Source deletion option determines if the data from the source is
+   * to be deleted after ingestion.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + int getSourceDeletionOptionValue(); + + /** + * + * + *
+   * Optional. Source deletion option determines if the data from the source is
+   * to be deleted after ingestion.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SourceDeletionOptionV2 source_deletion_option = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The sourceDeletionOption. + */ + com.google.cloud.chronicle.v1.SourceDeletionOptionV2 getSourceDeletionOption(); + + /** + * + * + *
+   * Output only. SA that will read data, this is Storage Transfer Service SA of
+   * Customer's Tenancy Project.
+   * 
+ * + * string chronicle_service_account = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The chronicleServiceAccount. + */ + java.lang.String getChronicleServiceAccount(); + + /** + * + * + *
+   * Output only. SA that will read data, this is Storage Transfer Service SA of
+   * Customer's Tenancy Project.
+   * 
+ * + * string chronicle_service_account = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for chronicleServiceAccount. + */ + com.google.protobuf.ByteString getChronicleServiceAccountBytes(); + + /** + * + * + *
+   * Optional. Maximum File Age to ingest in days.
+   * 
+ * + * int32 max_lookback_days = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The maxLookbackDays. + */ + int getMaxLookbackDays(); + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the includePrefixes. + */ + java.util.List getIncludePrefixesList(); + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of includePrefixes. + */ + int getIncludePrefixesCount(); + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The includePrefixes at the given index. + */ + java.lang.String getIncludePrefixes(int index); + + /** + * + * + *
+   * Optional. Optional list of object prefixes to include.
+   * 
+ * + * repeated string include_prefixes = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the includePrefixes at the given index. + */ + com.google.protobuf.ByteString getIncludePrefixesBytes(int index); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HeaderKeyValue.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HeaderKeyValue.java new file mode 100644 index 000000000000..d68f0ad2be55 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HeaderKeyValue.java @@ -0,0 +1,784 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Header key-value pairs.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.HeaderKeyValue} + */ +@com.google.protobuf.Generated +public final class HeaderKeyValue extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.HeaderKeyValue) + HeaderKeyValueOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "HeaderKeyValue"); + } + + // Use HeaderKeyValue.newBuilder() to construct. + private HeaderKeyValue(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private HeaderKeyValue() { + key_ = ""; + value_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HeaderKeyValue_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HeaderKeyValue_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.HeaderKeyValue.class, + com.google.cloud.chronicle.v1.HeaderKeyValue.Builder.class); + } + + public static final int KEY_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object key_ = ""; + + /** + * + * + *
+   * Key.
+   * 
+ * + * string key = 1; + * + * @return The key. + */ + @java.lang.Override + public java.lang.String getKey() { + java.lang.Object ref = key_; + 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(); + key_ = s; + return s; + } + } + + /** + * + * + *
+   * Key.
+   * 
+ * + * string key = 1; + * + * @return The bytes for key. + */ + @java.lang.Override + public com.google.protobuf.ByteString getKeyBytes() { + java.lang.Object ref = key_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + key_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int VALUE_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object value_ = ""; + + /** + * + * + *
+   * Value.
+   * 
+ * + * string value = 2; + * + * @return The value. + */ + @java.lang.Override + public java.lang.String getValue() { + java.lang.Object ref = value_; + 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(); + value_ = s; + return s; + } + } + + /** + * + * + *
+   * Value.
+   * 
+ * + * string value = 2; + * + * @return The bytes for value. + */ + @java.lang.Override + public com.google.protobuf.ByteString getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + value_ = 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.GeneratedMessage.isStringEmpty(key_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, key_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, value_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(key_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, key_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, value_); + } + 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.cloud.chronicle.v1.HeaderKeyValue)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.HeaderKeyValue other = + (com.google.cloud.chronicle.v1.HeaderKeyValue) obj; + + if (!getKey().equals(other.getKey())) return false; + if (!getValue().equals(other.getValue())) 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) + KEY_FIELD_NUMBER; + hash = (53 * hash) + getKey().hashCode(); + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.HeaderKeyValue parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.HeaderKeyValue parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.HeaderKeyValue parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.HeaderKeyValue 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.cloud.chronicle.v1.HeaderKeyValue parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.HeaderKeyValue parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.HeaderKeyValue parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.HeaderKeyValue parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.HeaderKeyValue parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.HeaderKeyValue parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.HeaderKeyValue parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.HeaderKeyValue parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.HeaderKeyValue 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Header key-value pairs.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.HeaderKeyValue} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.HeaderKeyValue) + com.google.cloud.chronicle.v1.HeaderKeyValueOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HeaderKeyValue_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HeaderKeyValue_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.HeaderKeyValue.class, + com.google.cloud.chronicle.v1.HeaderKeyValue.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.HeaderKeyValue.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + key_ = ""; + value_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HeaderKeyValue_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.HeaderKeyValue getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.HeaderKeyValue.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.HeaderKeyValue build() { + com.google.cloud.chronicle.v1.HeaderKeyValue result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.HeaderKeyValue buildPartial() { + com.google.cloud.chronicle.v1.HeaderKeyValue result = + new com.google.cloud.chronicle.v1.HeaderKeyValue(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.HeaderKeyValue result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.key_ = key_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.value_ = value_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.HeaderKeyValue) { + return mergeFrom((com.google.cloud.chronicle.v1.HeaderKeyValue) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.HeaderKeyValue other) { + if (other == com.google.cloud.chronicle.v1.HeaderKeyValue.getDefaultInstance()) return this; + if (!other.getKey().isEmpty()) { + key_ = other.key_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getValue().isEmpty()) { + value_ = other.value_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + key_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + value_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object key_ = ""; + + /** + * + * + *
+     * Key.
+     * 
+ * + * string key = 1; + * + * @return The key. + */ + public java.lang.String getKey() { + java.lang.Object ref = key_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + key_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Key.
+     * 
+ * + * string key = 1; + * + * @return The bytes for key. + */ + public com.google.protobuf.ByteString getKeyBytes() { + java.lang.Object ref = key_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + key_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Key.
+     * 
+ * + * string key = 1; + * + * @param value The key to set. + * @return This builder for chaining. + */ + public Builder setKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + key_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Key.
+     * 
+ * + * string key = 1; + * + * @return This builder for chaining. + */ + public Builder clearKey() { + key_ = getDefaultInstance().getKey(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Key.
+     * 
+ * + * string key = 1; + * + * @param value The bytes for key to set. + * @return This builder for chaining. + */ + public Builder setKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object value_ = ""; + + /** + * + * + *
+     * Value.
+     * 
+ * + * string value = 2; + * + * @return The value. + */ + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Value.
+     * 
+ * + * string value = 2; + * + * @return The bytes for value. + */ + public com.google.protobuf.ByteString getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Value.
+     * 
+ * + * string value = 2; + * + * @param value The value to set. + * @return This builder for chaining. + */ + public Builder setValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + value_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Value.
+     * 
+ * + * string value = 2; + * + * @return This builder for chaining. + */ + public Builder clearValue() { + value_ = getDefaultInstance().getValue(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Value.
+     * 
+ * + * string value = 2; + * + * @param value The bytes for value to set. + * @return This builder for chaining. + */ + public Builder setValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + value_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.HeaderKeyValue) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.HeaderKeyValue) + private static final com.google.cloud.chronicle.v1.HeaderKeyValue DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.HeaderKeyValue(); + } + + public static com.google.cloud.chronicle.v1.HeaderKeyValue getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HeaderKeyValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.HeaderKeyValue getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HeaderKeyValueOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HeaderKeyValueOrBuilder.java new file mode 100644 index 000000000000..28ec6b8c288c --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HeaderKeyValueOrBuilder.java @@ -0,0 +1,80 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface HeaderKeyValueOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.HeaderKeyValue) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Key.
+   * 
+ * + * string key = 1; + * + * @return The key. + */ + java.lang.String getKey(); + + /** + * + * + *
+   * Key.
+   * 
+ * + * string key = 1; + * + * @return The bytes for key. + */ + com.google.protobuf.ByteString getKeyBytes(); + + /** + * + * + *
+   * Value.
+   * 
+ * + * string value = 2; + * + * @return The value. + */ + java.lang.String getValue(); + + /** + * + * + *
+   * Value.
+   * 
+ * + * string value = 2; + * + * @return The bytes for value. + */ + com.google.protobuf.ByteString getValueBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpHeaderAuth.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpHeaderAuth.java new file mode 100644 index 000000000000..44bba8099bea --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpHeaderAuth.java @@ -0,0 +1,931 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * HTTP header based authentication.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.HttpHeaderAuth} + */ +@com.google.protobuf.Generated +public final class HttpHeaderAuth extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.HttpHeaderAuth) + HttpHeaderAuthOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "HttpHeaderAuth"); + } + + // Use HttpHeaderAuth.newBuilder() to construct. + private HttpHeaderAuth(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private HttpHeaderAuth() { + headerKeyValues_ = java.util.Collections.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HttpHeaderAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HttpHeaderAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.HttpHeaderAuth.class, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder.class); + } + + public static final int HEADER_KEY_VALUES_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List headerKeyValues_; + + /** + * + * + *
+   * Header key-value pairs.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + @java.lang.Override + public java.util.List getHeaderKeyValuesList() { + return headerKeyValues_; + } + + /** + * + * + *
+   * Header key-value pairs.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + @java.lang.Override + public java.util.List + getHeaderKeyValuesOrBuilderList() { + return headerKeyValues_; + } + + /** + * + * + *
+   * Header key-value pairs.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + @java.lang.Override + public int getHeaderKeyValuesCount() { + return headerKeyValues_.size(); + } + + /** + * + * + *
+   * Header key-value pairs.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HeaderKeyValue getHeaderKeyValues(int index) { + return headerKeyValues_.get(index); + } + + /** + * + * + *
+   * Header key-value pairs.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HeaderKeyValueOrBuilder getHeaderKeyValuesOrBuilder( + int index) { + return headerKeyValues_.get(index); + } + + 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 { + for (int i = 0; i < headerKeyValues_.size(); i++) { + output.writeMessage(1, headerKeyValues_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < headerKeyValues_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, headerKeyValues_.get(i)); + } + 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.cloud.chronicle.v1.HttpHeaderAuth)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.HttpHeaderAuth other = + (com.google.cloud.chronicle.v1.HttpHeaderAuth) obj; + + if (!getHeaderKeyValuesList().equals(other.getHeaderKeyValuesList())) 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(); + if (getHeaderKeyValuesCount() > 0) { + hash = (37 * hash) + HEADER_KEY_VALUES_FIELD_NUMBER; + hash = (53 * hash) + getHeaderKeyValuesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.HttpHeaderAuth parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.HttpHeaderAuth parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.HttpHeaderAuth parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.HttpHeaderAuth 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.cloud.chronicle.v1.HttpHeaderAuth parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.HttpHeaderAuth parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.HttpHeaderAuth parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.HttpHeaderAuth parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.HttpHeaderAuth parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.HttpHeaderAuth parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.HttpHeaderAuth parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.HttpHeaderAuth parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.HttpHeaderAuth 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * HTTP header based authentication.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.HttpHeaderAuth} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.HttpHeaderAuth) + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HttpHeaderAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HttpHeaderAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.HttpHeaderAuth.class, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.HttpHeaderAuth.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (headerKeyValuesBuilder_ == null) { + headerKeyValues_ = java.util.Collections.emptyList(); + } else { + headerKeyValues_ = null; + headerKeyValuesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HttpHeaderAuth_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuth getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuth build() { + com.google.cloud.chronicle.v1.HttpHeaderAuth result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuth buildPartial() { + com.google.cloud.chronicle.v1.HttpHeaderAuth result = + new com.google.cloud.chronicle.v1.HttpHeaderAuth(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.google.cloud.chronicle.v1.HttpHeaderAuth result) { + if (headerKeyValuesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + headerKeyValues_ = java.util.Collections.unmodifiableList(headerKeyValues_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.headerKeyValues_ = headerKeyValues_; + } else { + result.headerKeyValues_ = headerKeyValuesBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.chronicle.v1.HttpHeaderAuth result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.HttpHeaderAuth) { + return mergeFrom((com.google.cloud.chronicle.v1.HttpHeaderAuth) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.HttpHeaderAuth other) { + if (other == com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance()) return this; + if (headerKeyValuesBuilder_ == null) { + if (!other.headerKeyValues_.isEmpty()) { + if (headerKeyValues_.isEmpty()) { + headerKeyValues_ = other.headerKeyValues_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureHeaderKeyValuesIsMutable(); + headerKeyValues_.addAll(other.headerKeyValues_); + } + onChanged(); + } + } else { + if (!other.headerKeyValues_.isEmpty()) { + if (headerKeyValuesBuilder_.isEmpty()) { + headerKeyValuesBuilder_.dispose(); + headerKeyValuesBuilder_ = null; + headerKeyValues_ = other.headerKeyValues_; + bitField0_ = (bitField0_ & ~0x00000001); + headerKeyValuesBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetHeaderKeyValuesFieldBuilder() + : null; + } else { + headerKeyValuesBuilder_.addAllMessages(other.headerKeyValues_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.cloud.chronicle.v1.HeaderKeyValue m = + input.readMessage( + com.google.cloud.chronicle.v1.HeaderKeyValue.parser(), extensionRegistry); + if (headerKeyValuesBuilder_ == null) { + ensureHeaderKeyValuesIsMutable(); + headerKeyValues_.add(m); + } else { + headerKeyValuesBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.util.List headerKeyValues_ = + java.util.Collections.emptyList(); + + private void ensureHeaderKeyValuesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + headerKeyValues_ = + new java.util.ArrayList(headerKeyValues_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.HeaderKeyValue, + com.google.cloud.chronicle.v1.HeaderKeyValue.Builder, + com.google.cloud.chronicle.v1.HeaderKeyValueOrBuilder> + headerKeyValuesBuilder_; + + /** + * + * + *
+     * Header key-value pairs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + public java.util.List getHeaderKeyValuesList() { + if (headerKeyValuesBuilder_ == null) { + return java.util.Collections.unmodifiableList(headerKeyValues_); + } else { + return headerKeyValuesBuilder_.getMessageList(); + } + } + + /** + * + * + *
+     * Header key-value pairs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + public int getHeaderKeyValuesCount() { + if (headerKeyValuesBuilder_ == null) { + return headerKeyValues_.size(); + } else { + return headerKeyValuesBuilder_.getCount(); + } + } + + /** + * + * + *
+     * Header key-value pairs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + public com.google.cloud.chronicle.v1.HeaderKeyValue getHeaderKeyValues(int index) { + if (headerKeyValuesBuilder_ == null) { + return headerKeyValues_.get(index); + } else { + return headerKeyValuesBuilder_.getMessage(index); + } + } + + /** + * + * + *
+     * Header key-value pairs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + public Builder setHeaderKeyValues( + int index, com.google.cloud.chronicle.v1.HeaderKeyValue value) { + if (headerKeyValuesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureHeaderKeyValuesIsMutable(); + headerKeyValues_.set(index, value); + onChanged(); + } else { + headerKeyValuesBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Header key-value pairs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + public Builder setHeaderKeyValues( + int index, com.google.cloud.chronicle.v1.HeaderKeyValue.Builder builderForValue) { + if (headerKeyValuesBuilder_ == null) { + ensureHeaderKeyValuesIsMutable(); + headerKeyValues_.set(index, builderForValue.build()); + onChanged(); + } else { + headerKeyValuesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Header key-value pairs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + public Builder addHeaderKeyValues(com.google.cloud.chronicle.v1.HeaderKeyValue value) { + if (headerKeyValuesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureHeaderKeyValuesIsMutable(); + headerKeyValues_.add(value); + onChanged(); + } else { + headerKeyValuesBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+     * Header key-value pairs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + public Builder addHeaderKeyValues( + int index, com.google.cloud.chronicle.v1.HeaderKeyValue value) { + if (headerKeyValuesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureHeaderKeyValuesIsMutable(); + headerKeyValues_.add(index, value); + onChanged(); + } else { + headerKeyValuesBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Header key-value pairs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + public Builder addHeaderKeyValues( + com.google.cloud.chronicle.v1.HeaderKeyValue.Builder builderForValue) { + if (headerKeyValuesBuilder_ == null) { + ensureHeaderKeyValuesIsMutable(); + headerKeyValues_.add(builderForValue.build()); + onChanged(); + } else { + headerKeyValuesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Header key-value pairs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + public Builder addHeaderKeyValues( + int index, com.google.cloud.chronicle.v1.HeaderKeyValue.Builder builderForValue) { + if (headerKeyValuesBuilder_ == null) { + ensureHeaderKeyValuesIsMutable(); + headerKeyValues_.add(index, builderForValue.build()); + onChanged(); + } else { + headerKeyValuesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Header key-value pairs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + public Builder addAllHeaderKeyValues( + java.lang.Iterable values) { + if (headerKeyValuesBuilder_ == null) { + ensureHeaderKeyValuesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, headerKeyValues_); + onChanged(); + } else { + headerKeyValuesBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+     * Header key-value pairs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + public Builder clearHeaderKeyValues() { + if (headerKeyValuesBuilder_ == null) { + headerKeyValues_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + headerKeyValuesBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Header key-value pairs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + public Builder removeHeaderKeyValues(int index) { + if (headerKeyValuesBuilder_ == null) { + ensureHeaderKeyValuesIsMutable(); + headerKeyValues_.remove(index); + onChanged(); + } else { + headerKeyValuesBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+     * Header key-value pairs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + public com.google.cloud.chronicle.v1.HeaderKeyValue.Builder getHeaderKeyValuesBuilder( + int index) { + return internalGetHeaderKeyValuesFieldBuilder().getBuilder(index); + } + + /** + * + * + *
+     * Header key-value pairs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + public com.google.cloud.chronicle.v1.HeaderKeyValueOrBuilder getHeaderKeyValuesOrBuilder( + int index) { + if (headerKeyValuesBuilder_ == null) { + return headerKeyValues_.get(index); + } else { + return headerKeyValuesBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
+     * Header key-value pairs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + public java.util.List + getHeaderKeyValuesOrBuilderList() { + if (headerKeyValuesBuilder_ != null) { + return headerKeyValuesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(headerKeyValues_); + } + } + + /** + * + * + *
+     * Header key-value pairs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + public com.google.cloud.chronicle.v1.HeaderKeyValue.Builder addHeaderKeyValuesBuilder() { + return internalGetHeaderKeyValuesFieldBuilder() + .addBuilder(com.google.cloud.chronicle.v1.HeaderKeyValue.getDefaultInstance()); + } + + /** + * + * + *
+     * Header key-value pairs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + public com.google.cloud.chronicle.v1.HeaderKeyValue.Builder addHeaderKeyValuesBuilder( + int index) { + return internalGetHeaderKeyValuesFieldBuilder() + .addBuilder(index, com.google.cloud.chronicle.v1.HeaderKeyValue.getDefaultInstance()); + } + + /** + * + * + *
+     * Header key-value pairs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + public java.util.List + getHeaderKeyValuesBuilderList() { + return internalGetHeaderKeyValuesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.HeaderKeyValue, + com.google.cloud.chronicle.v1.HeaderKeyValue.Builder, + com.google.cloud.chronicle.v1.HeaderKeyValueOrBuilder> + internalGetHeaderKeyValuesFieldBuilder() { + if (headerKeyValuesBuilder_ == null) { + headerKeyValuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.HeaderKeyValue, + com.google.cloud.chronicle.v1.HeaderKeyValue.Builder, + com.google.cloud.chronicle.v1.HeaderKeyValueOrBuilder>( + headerKeyValues_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + headerKeyValues_ = null; + } + return headerKeyValuesBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.HttpHeaderAuth) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.HttpHeaderAuth) + private static final com.google.cloud.chronicle.v1.HttpHeaderAuth DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.HttpHeaderAuth(); + } + + public static com.google.cloud.chronicle.v1.HttpHeaderAuth getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HttpHeaderAuth parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuth getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpHeaderAuthOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpHeaderAuthOrBuilder.java new file mode 100644 index 000000000000..159bcb6c8863 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpHeaderAuthOrBuilder.java @@ -0,0 +1,84 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface HttpHeaderAuthOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.HttpHeaderAuth) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Header key-value pairs.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + java.util.List getHeaderKeyValuesList(); + + /** + * + * + *
+   * Header key-value pairs.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + com.google.cloud.chronicle.v1.HeaderKeyValue getHeaderKeyValues(int index); + + /** + * + * + *
+   * Header key-value pairs.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + int getHeaderKeyValuesCount(); + + /** + * + * + *
+   * Header key-value pairs.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + java.util.List + getHeaderKeyValuesOrBuilderList(); + + /** + * + * + *
+   * Header key-value pairs.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.HeaderKeyValue header_key_values = 1; + */ + com.google.cloud.chronicle.v1.HeaderKeyValueOrBuilder getHeaderKeyValuesOrBuilder(int index); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpSettings.java new file mode 100644 index 000000000000..de3ef8020a3d --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpSettings.java @@ -0,0 +1,916 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * HTTP settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.HttpSettings} + */ +@com.google.protobuf.Generated +public final class HttpSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.HttpSettings) + HttpSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "HttpSettings"); + } + + // Use HttpSettings.newBuilder() to construct. + private HttpSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private HttpSettings() { + uri_ = ""; + sourceType_ = 0; + sourceDeletionOption_ = 0; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HttpSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HttpSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.HttpSettings.class, + com.google.cloud.chronicle.v1.HttpSettings.Builder.class); + } + + public static final int URI_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object uri_ = ""; + + /** + * + * + *
+   * HTTP URI.
+   * 
+ * + * string uri = 1; + * + * @return The uri. + */ + @java.lang.Override + public java.lang.String getUri() { + java.lang.Object ref = uri_; + 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(); + uri_ = s; + return s; + } + } + + /** + * + * + *
+   * HTTP URI.
+   * 
+ * + * string uri = 1; + * + * @return The bytes for uri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getUriBytes() { + java.lang.Object ref = uri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + uri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SOURCE_TYPE_FIELD_NUMBER = 2; + private int sourceType_ = 0; + + /** + * + * + *
+   * The URI source type.
+   * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 2; + * + * @return The enum numeric value on the wire for sourceType. + */ + @java.lang.Override + public int getSourceTypeValue() { + return sourceType_; + } + + /** + * + * + *
+   * The URI source type.
+   * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 2; + * + * @return The sourceType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.URISourceType getSourceType() { + com.google.cloud.chronicle.v1.URISourceType result = + com.google.cloud.chronicle.v1.URISourceType.forNumber(sourceType_); + return result == null ? com.google.cloud.chronicle.v1.URISourceType.UNRECOGNIZED : result; + } + + public static final int SOURCE_DELETION_OPTION_FIELD_NUMBER = 3; + private int sourceDeletionOption_ = 0; + + /** + * + * + *
+   * Source deletion option.
+   * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 3; + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + @java.lang.Override + public int getSourceDeletionOptionValue() { + return sourceDeletionOption_; + } + + /** + * + * + *
+   * Source deletion option.
+   * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 3; + * + * @return The sourceDeletionOption. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SourceDeletionOption getSourceDeletionOption() { + com.google.cloud.chronicle.v1.SourceDeletionOption result = + com.google.cloud.chronicle.v1.SourceDeletionOption.forNumber(sourceDeletionOption_); + return result == null + ? com.google.cloud.chronicle.v1.SourceDeletionOption.UNRECOGNIZED + : result; + } + + 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.GeneratedMessage.isStringEmpty(uri_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, uri_); + } + if (sourceType_ + != com.google.cloud.chronicle.v1.URISourceType.URI_SOURCE_TYPE_UNSPECIFIED.getNumber()) { + output.writeEnum(2, sourceType_); + } + if (sourceDeletionOption_ + != com.google.cloud.chronicle.v1.SourceDeletionOption.SOURCE_DELETION_OPTION_UNSPECIFIED + .getNumber()) { + output.writeEnum(3, sourceDeletionOption_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(uri_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, uri_); + } + if (sourceType_ + != com.google.cloud.chronicle.v1.URISourceType.URI_SOURCE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, sourceType_); + } + if (sourceDeletionOption_ + != com.google.cloud.chronicle.v1.SourceDeletionOption.SOURCE_DELETION_OPTION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, sourceDeletionOption_); + } + 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.cloud.chronicle.v1.HttpSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.HttpSettings other = + (com.google.cloud.chronicle.v1.HttpSettings) obj; + + if (!getUri().equals(other.getUri())) return false; + if (sourceType_ != other.sourceType_) return false; + if (sourceDeletionOption_ != other.sourceDeletionOption_) 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) + URI_FIELD_NUMBER; + hash = (53 * hash) + getUri().hashCode(); + hash = (37 * hash) + SOURCE_TYPE_FIELD_NUMBER; + hash = (53 * hash) + sourceType_; + hash = (37 * hash) + SOURCE_DELETION_OPTION_FIELD_NUMBER; + hash = (53 * hash) + sourceDeletionOption_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.HttpSettings parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.HttpSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.HttpSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.HttpSettings 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.cloud.chronicle.v1.HttpSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.HttpSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.HttpSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.HttpSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.HttpSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.HttpSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.HttpSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.HttpSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.HttpSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * HTTP settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.HttpSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.HttpSettings) + com.google.cloud.chronicle.v1.HttpSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HttpSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HttpSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.HttpSettings.class, + com.google.cloud.chronicle.v1.HttpSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.HttpSettings.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + uri_ = ""; + sourceType_ = 0; + sourceDeletionOption_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HttpSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.HttpSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpSettings build() { + com.google.cloud.chronicle.v1.HttpSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpSettings buildPartial() { + com.google.cloud.chronicle.v1.HttpSettings result = + new com.google.cloud.chronicle.v1.HttpSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.HttpSettings result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.uri_ = uri_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.sourceType_ = sourceType_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.sourceDeletionOption_ = sourceDeletionOption_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.HttpSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.HttpSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.HttpSettings other) { + if (other == com.google.cloud.chronicle.v1.HttpSettings.getDefaultInstance()) return this; + if (!other.getUri().isEmpty()) { + uri_ = other.uri_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.sourceType_ != 0) { + setSourceTypeValue(other.getSourceTypeValue()); + } + if (other.sourceDeletionOption_ != 0) { + setSourceDeletionOptionValue(other.getSourceDeletionOptionValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + sourceType_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + sourceDeletionOption_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object uri_ = ""; + + /** + * + * + *
+     * HTTP URI.
+     * 
+ * + * string uri = 1; + * + * @return The uri. + */ + public java.lang.String getUri() { + java.lang.Object ref = uri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + uri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * HTTP URI.
+     * 
+ * + * string uri = 1; + * + * @return The bytes for uri. + */ + public com.google.protobuf.ByteString getUriBytes() { + java.lang.Object ref = uri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + uri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * HTTP URI.
+     * 
+ * + * string uri = 1; + * + * @param value The uri to set. + * @return This builder for chaining. + */ + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + uri_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * HTTP URI.
+     * 
+ * + * string uri = 1; + * + * @return This builder for chaining. + */ + public Builder clearUri() { + uri_ = getDefaultInstance().getUri(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * HTTP URI.
+     * 
+ * + * string uri = 1; + * + * @param value The bytes for uri to set. + * @return This builder for chaining. + */ + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int sourceType_ = 0; + + /** + * + * + *
+     * The URI source type.
+     * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 2; + * + * @return The enum numeric value on the wire for sourceType. + */ + @java.lang.Override + public int getSourceTypeValue() { + return sourceType_; + } + + /** + * + * + *
+     * The URI source type.
+     * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 2; + * + * @param value The enum numeric value on the wire for sourceType to set. + * @return This builder for chaining. + */ + public Builder setSourceTypeValue(int value) { + sourceType_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * The URI source type.
+     * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 2; + * + * @return The sourceType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.URISourceType getSourceType() { + com.google.cloud.chronicle.v1.URISourceType result = + com.google.cloud.chronicle.v1.URISourceType.forNumber(sourceType_); + return result == null ? com.google.cloud.chronicle.v1.URISourceType.UNRECOGNIZED : result; + } + + /** + * + * + *
+     * The URI source type.
+     * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 2; + * + * @param value The sourceType to set. + * @return This builder for chaining. + */ + public Builder setSourceType(com.google.cloud.chronicle.v1.URISourceType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + sourceType_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * The URI source type.
+     * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 2; + * + * @return This builder for chaining. + */ + public Builder clearSourceType() { + bitField0_ = (bitField0_ & ~0x00000002); + sourceType_ = 0; + onChanged(); + return this; + } + + private int sourceDeletionOption_ = 0; + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 3; + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + @java.lang.Override + public int getSourceDeletionOptionValue() { + return sourceDeletionOption_; + } + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 3; + * + * @param value The enum numeric value on the wire for sourceDeletionOption to set. + * @return This builder for chaining. + */ + public Builder setSourceDeletionOptionValue(int value) { + sourceDeletionOption_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 3; + * + * @return The sourceDeletionOption. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SourceDeletionOption getSourceDeletionOption() { + com.google.cloud.chronicle.v1.SourceDeletionOption result = + com.google.cloud.chronicle.v1.SourceDeletionOption.forNumber(sourceDeletionOption_); + return result == null + ? com.google.cloud.chronicle.v1.SourceDeletionOption.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 3; + * + * @param value The sourceDeletionOption to set. + * @return This builder for chaining. + */ + public Builder setSourceDeletionOption( + com.google.cloud.chronicle.v1.SourceDeletionOption value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + sourceDeletionOption_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 3; + * + * @return This builder for chaining. + */ + public Builder clearSourceDeletionOption() { + bitField0_ = (bitField0_ & ~0x00000004); + sourceDeletionOption_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.HttpSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.HttpSettings) + private static final com.google.cloud.chronicle.v1.HttpSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.HttpSettings(); + } + + public static com.google.cloud.chronicle.v1.HttpSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HttpSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpSettingsOrBuilder.java new file mode 100644 index 000000000000..adc1ad6aa97f --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpSettingsOrBuilder.java @@ -0,0 +1,106 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface HttpSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.HttpSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * HTTP URI.
+   * 
+ * + * string uri = 1; + * + * @return The uri. + */ + java.lang.String getUri(); + + /** + * + * + *
+   * HTTP URI.
+   * 
+ * + * string uri = 1; + * + * @return The bytes for uri. + */ + com.google.protobuf.ByteString getUriBytes(); + + /** + * + * + *
+   * The URI source type.
+   * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 2; + * + * @return The enum numeric value on the wire for sourceType. + */ + int getSourceTypeValue(); + + /** + * + * + *
+   * The URI source type.
+   * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 2; + * + * @return The sourceType. + */ + com.google.cloud.chronicle.v1.URISourceType getSourceType(); + + /** + * + * + *
+   * Source deletion option.
+   * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 3; + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + int getSourceDeletionOptionValue(); + + /** + * + * + *
+   * Source deletion option.
+   * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 3; + * + * @return The sourceDeletionOption. + */ + com.google.cloud.chronicle.v1.SourceDeletionOption getSourceDeletionOption(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpsPushAmazonKinesisFirehoseSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpsPushAmazonKinesisFirehoseSettings.java new file mode 100644 index 000000000000..bdd8eb6cd55d --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpsPushAmazonKinesisFirehoseSettings.java @@ -0,0 +1,610 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Settings required by Amazon Kinesis Firehose Feeds(HTTPS-Push V2).
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings} + */ +@com.google.protobuf.Generated +public final class HttpsPushAmazonKinesisFirehoseSettings + extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings) + HttpsPushAmazonKinesisFirehoseSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "HttpsPushAmazonKinesisFirehoseSettings"); + } + + // Use HttpsPushAmazonKinesisFirehoseSettings.newBuilder() to construct. + private HttpsPushAmazonKinesisFirehoseSettings( + com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private HttpsPushAmazonKinesisFirehoseSettings() { + splitDelimiter_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HttpsPushAmazonKinesisFirehoseSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HttpsPushAmazonKinesisFirehoseSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings.class, + com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings.Builder.class); + } + + public static final int SPLIT_DELIMITER_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object splitDelimiter_ = ""; + + /** + * + * + *
+   * Optional. Delimiter to split on for the feed.
+   * 
+ * + * string split_delimiter = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The splitDelimiter. + */ + @java.lang.Override + public java.lang.String getSplitDelimiter() { + java.lang.Object ref = splitDelimiter_; + 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(); + splitDelimiter_ = s; + return s; + } + } + + /** + * + * + *
+   * Optional. Delimiter to split on for the feed.
+   * 
+ * + * string split_delimiter = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for splitDelimiter. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSplitDelimiterBytes() { + java.lang.Object ref = splitDelimiter_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + splitDelimiter_ = 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.GeneratedMessage.isStringEmpty(splitDelimiter_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, splitDelimiter_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(splitDelimiter_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, splitDelimiter_); + } + 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.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings other = + (com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings) obj; + + if (!getSplitDelimiter().equals(other.getSplitDelimiter())) 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) + SPLIT_DELIMITER_FIELD_NUMBER; + hash = (53 * hash) + getSplitDelimiter().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings 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.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Settings required by Amazon Kinesis Firehose Feeds(HTTPS-Push V2).
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings) + com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HttpsPushAmazonKinesisFirehoseSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HttpsPushAmazonKinesisFirehoseSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings.class, + com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings.Builder.class); + } + + // Construct using + // com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + splitDelimiter_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HttpsPushAmazonKinesisFirehoseSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings + getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings build() { + com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings buildPartial() { + com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings result = + new com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.splitDelimiter_ = splitDelimiter_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings) { + return mergeFrom( + (com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings other) { + if (other + == com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings + .getDefaultInstance()) return this; + if (!other.getSplitDelimiter().isEmpty()) { + splitDelimiter_ = other.splitDelimiter_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + splitDelimiter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object splitDelimiter_ = ""; + + /** + * + * + *
+     * Optional. Delimiter to split on for the feed.
+     * 
+ * + * string split_delimiter = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The splitDelimiter. + */ + public java.lang.String getSplitDelimiter() { + java.lang.Object ref = splitDelimiter_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + splitDelimiter_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Optional. Delimiter to split on for the feed.
+     * 
+ * + * string split_delimiter = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for splitDelimiter. + */ + public com.google.protobuf.ByteString getSplitDelimiterBytes() { + java.lang.Object ref = splitDelimiter_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + splitDelimiter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Optional. Delimiter to split on for the feed.
+     * 
+ * + * string split_delimiter = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The splitDelimiter to set. + * @return This builder for chaining. + */ + public Builder setSplitDelimiter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + splitDelimiter_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Delimiter to split on for the feed.
+     * 
+ * + * string split_delimiter = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearSplitDelimiter() { + splitDelimiter_ = getDefaultInstance().getSplitDelimiter(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Delimiter to split on for the feed.
+     * 
+ * + * string split_delimiter = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for splitDelimiter to set. + * @return This builder for chaining. + */ + public Builder setSplitDelimiterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + splitDelimiter_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings) + private static final com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings(); + } + + public static com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HttpsPushAmazonKinesisFirehoseSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpsPushAmazonKinesisFirehoseSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpsPushAmazonKinesisFirehoseSettingsOrBuilder.java new file mode 100644 index 000000000000..10e38d52ef7e --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpsPushAmazonKinesisFirehoseSettingsOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface HttpsPushAmazonKinesisFirehoseSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.HttpsPushAmazonKinesisFirehoseSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Optional. Delimiter to split on for the feed.
+   * 
+ * + * string split_delimiter = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The splitDelimiter. + */ + java.lang.String getSplitDelimiter(); + + /** + * + * + *
+   * Optional. Delimiter to split on for the feed.
+   * 
+ * + * string split_delimiter = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for splitDelimiter. + */ + com.google.protobuf.ByteString getSplitDelimiterBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpsPushGoogleCloudPubSubSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpsPushGoogleCloudPubSubSettings.java new file mode 100644 index 000000000000..e2dba24b1db9 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpsPushGoogleCloudPubSubSettings.java @@ -0,0 +1,605 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Settings required by Google Cloud Platform Pub/Sub Feeds(HTTPS-Push V2).
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings} + */ +@com.google.protobuf.Generated +public final class HttpsPushGoogleCloudPubSubSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings) + HttpsPushGoogleCloudPubSubSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "HttpsPushGoogleCloudPubSubSettings"); + } + + // Use HttpsPushGoogleCloudPubSubSettings.newBuilder() to construct. + private HttpsPushGoogleCloudPubSubSettings( + com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private HttpsPushGoogleCloudPubSubSettings() { + splitDelimiter_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HttpsPushGoogleCloudPubSubSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HttpsPushGoogleCloudPubSubSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings.class, + com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings.Builder.class); + } + + public static final int SPLIT_DELIMITER_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object splitDelimiter_ = ""; + + /** + * + * + *
+   * Optional. Delimiter to split on for the feed.
+   * 
+ * + * string split_delimiter = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The splitDelimiter. + */ + @java.lang.Override + public java.lang.String getSplitDelimiter() { + java.lang.Object ref = splitDelimiter_; + 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(); + splitDelimiter_ = s; + return s; + } + } + + /** + * + * + *
+   * Optional. Delimiter to split on for the feed.
+   * 
+ * + * string split_delimiter = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for splitDelimiter. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSplitDelimiterBytes() { + java.lang.Object ref = splitDelimiter_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + splitDelimiter_ = 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.GeneratedMessage.isStringEmpty(splitDelimiter_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, splitDelimiter_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(splitDelimiter_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, splitDelimiter_); + } + 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.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings other = + (com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings) obj; + + if (!getSplitDelimiter().equals(other.getSplitDelimiter())) 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) + SPLIT_DELIMITER_FIELD_NUMBER; + hash = (53 * hash) + getSplitDelimiter().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings 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.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Settings required by Google Cloud Platform Pub/Sub Feeds(HTTPS-Push V2).
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings) + com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HttpsPushGoogleCloudPubSubSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HttpsPushGoogleCloudPubSubSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings.class, + com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + splitDelimiter_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HttpsPushGoogleCloudPubSubSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings + getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings build() { + com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings buildPartial() { + com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings result = + new com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.splitDelimiter_ = splitDelimiter_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings other) { + if (other + == com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings.getDefaultInstance()) + return this; + if (!other.getSplitDelimiter().isEmpty()) { + splitDelimiter_ = other.splitDelimiter_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + splitDelimiter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object splitDelimiter_ = ""; + + /** + * + * + *
+     * Optional. Delimiter to split on for the feed.
+     * 
+ * + * string split_delimiter = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The splitDelimiter. + */ + public java.lang.String getSplitDelimiter() { + java.lang.Object ref = splitDelimiter_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + splitDelimiter_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Optional. Delimiter to split on for the feed.
+     * 
+ * + * string split_delimiter = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for splitDelimiter. + */ + public com.google.protobuf.ByteString getSplitDelimiterBytes() { + java.lang.Object ref = splitDelimiter_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + splitDelimiter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Optional. Delimiter to split on for the feed.
+     * 
+ * + * string split_delimiter = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The splitDelimiter to set. + * @return This builder for chaining. + */ + public Builder setSplitDelimiter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + splitDelimiter_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Delimiter to split on for the feed.
+     * 
+ * + * string split_delimiter = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearSplitDelimiter() { + splitDelimiter_ = getDefaultInstance().getSplitDelimiter(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Delimiter to split on for the feed.
+     * 
+ * + * string split_delimiter = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for splitDelimiter to set. + * @return This builder for chaining. + */ + public Builder setSplitDelimiterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + splitDelimiter_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings) + private static final com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings(); + } + + public static com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HttpsPushGoogleCloudPubSubSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpsPushGoogleCloudPubSubSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpsPushGoogleCloudPubSubSettingsOrBuilder.java new file mode 100644 index 000000000000..80651cf4da8a --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpsPushGoogleCloudPubSubSettingsOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface HttpsPushGoogleCloudPubSubSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.HttpsPushGoogleCloudPubSubSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Optional. Delimiter to split on for the feed.
+   * 
+ * + * string split_delimiter = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The splitDelimiter. + */ + java.lang.String getSplitDelimiter(); + + /** + * + * + *
+   * Optional. Delimiter to split on for the feed.
+   * 
+ * + * string split_delimiter = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for splitDelimiter. + */ + com.google.protobuf.ByteString getSplitDelimiterBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpsPushWebhookSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpsPushWebhookSettings.java new file mode 100644 index 000000000000..21e687d50841 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpsPushWebhookSettings.java @@ -0,0 +1,597 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Settings required by Webhook Feeds(HTTPS-Push V2).
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.HttpsPushWebhookSettings} + */ +@com.google.protobuf.Generated +public final class HttpsPushWebhookSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.HttpsPushWebhookSettings) + HttpsPushWebhookSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "HttpsPushWebhookSettings"); + } + + // Use HttpsPushWebhookSettings.newBuilder() to construct. + private HttpsPushWebhookSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private HttpsPushWebhookSettings() { + splitDelimiter_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HttpsPushWebhookSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HttpsPushWebhookSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.HttpsPushWebhookSettings.class, + com.google.cloud.chronicle.v1.HttpsPushWebhookSettings.Builder.class); + } + + public static final int SPLIT_DELIMITER_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object splitDelimiter_ = ""; + + /** + * + * + *
+   * Optional. Delimiter to split on for the feed.
+   * 
+ * + * string split_delimiter = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The splitDelimiter. + */ + @java.lang.Override + public java.lang.String getSplitDelimiter() { + java.lang.Object ref = splitDelimiter_; + 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(); + splitDelimiter_ = s; + return s; + } + } + + /** + * + * + *
+   * Optional. Delimiter to split on for the feed.
+   * 
+ * + * string split_delimiter = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for splitDelimiter. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSplitDelimiterBytes() { + java.lang.Object ref = splitDelimiter_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + splitDelimiter_ = 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.GeneratedMessage.isStringEmpty(splitDelimiter_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, splitDelimiter_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(splitDelimiter_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, splitDelimiter_); + } + 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.cloud.chronicle.v1.HttpsPushWebhookSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.HttpsPushWebhookSettings other = + (com.google.cloud.chronicle.v1.HttpsPushWebhookSettings) obj; + + if (!getSplitDelimiter().equals(other.getSplitDelimiter())) 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) + SPLIT_DELIMITER_FIELD_NUMBER; + hash = (53 * hash) + getSplitDelimiter().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.HttpsPushWebhookSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.HttpsPushWebhookSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.HttpsPushWebhookSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.HttpsPushWebhookSettings 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.cloud.chronicle.v1.HttpsPushWebhookSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.HttpsPushWebhookSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.HttpsPushWebhookSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.HttpsPushWebhookSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.HttpsPushWebhookSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.HttpsPushWebhookSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.HttpsPushWebhookSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.HttpsPushWebhookSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.HttpsPushWebhookSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Settings required by Webhook Feeds(HTTPS-Push V2).
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.HttpsPushWebhookSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.HttpsPushWebhookSettings) + com.google.cloud.chronicle.v1.HttpsPushWebhookSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HttpsPushWebhookSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HttpsPushWebhookSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.HttpsPushWebhookSettings.class, + com.google.cloud.chronicle.v1.HttpsPushWebhookSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.HttpsPushWebhookSettings.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + splitDelimiter_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_HttpsPushWebhookSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpsPushWebhookSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.HttpsPushWebhookSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpsPushWebhookSettings build() { + com.google.cloud.chronicle.v1.HttpsPushWebhookSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpsPushWebhookSettings buildPartial() { + com.google.cloud.chronicle.v1.HttpsPushWebhookSettings result = + new com.google.cloud.chronicle.v1.HttpsPushWebhookSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.HttpsPushWebhookSettings result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.splitDelimiter_ = splitDelimiter_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.HttpsPushWebhookSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.HttpsPushWebhookSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.HttpsPushWebhookSettings other) { + if (other == com.google.cloud.chronicle.v1.HttpsPushWebhookSettings.getDefaultInstance()) + return this; + if (!other.getSplitDelimiter().isEmpty()) { + splitDelimiter_ = other.splitDelimiter_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + splitDelimiter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object splitDelimiter_ = ""; + + /** + * + * + *
+     * Optional. Delimiter to split on for the feed.
+     * 
+ * + * string split_delimiter = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The splitDelimiter. + */ + public java.lang.String getSplitDelimiter() { + java.lang.Object ref = splitDelimiter_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + splitDelimiter_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Optional. Delimiter to split on for the feed.
+     * 
+ * + * string split_delimiter = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for splitDelimiter. + */ + public com.google.protobuf.ByteString getSplitDelimiterBytes() { + java.lang.Object ref = splitDelimiter_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + splitDelimiter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Optional. Delimiter to split on for the feed.
+     * 
+ * + * string split_delimiter = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The splitDelimiter to set. + * @return This builder for chaining. + */ + public Builder setSplitDelimiter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + splitDelimiter_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Delimiter to split on for the feed.
+     * 
+ * + * string split_delimiter = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearSplitDelimiter() { + splitDelimiter_ = getDefaultInstance().getSplitDelimiter(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Delimiter to split on for the feed.
+     * 
+ * + * string split_delimiter = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for splitDelimiter to set. + * @return This builder for chaining. + */ + public Builder setSplitDelimiterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + splitDelimiter_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.HttpsPushWebhookSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.HttpsPushWebhookSettings) + private static final com.google.cloud.chronicle.v1.HttpsPushWebhookSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.HttpsPushWebhookSettings(); + } + + public static com.google.cloud.chronicle.v1.HttpsPushWebhookSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HttpsPushWebhookSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpsPushWebhookSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpsPushWebhookSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpsPushWebhookSettingsOrBuilder.java new file mode 100644 index 000000000000..dc916c60c483 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/HttpsPushWebhookSettingsOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface HttpsPushWebhookSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.HttpsPushWebhookSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Optional. Delimiter to split on for the feed.
+   * 
+ * + * string split_delimiter = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The splitDelimiter. + */ + java.lang.String getSplitDelimiter(); + + /** + * + * + *
+   * Optional. Delimiter to split on for the feed.
+   * 
+ * + * string split_delimiter = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for splitDelimiter. + */ + com.google.protobuf.ByteString getSplitDelimiterBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ImpervaWAFSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ImpervaWAFSettings.java new file mode 100644 index 000000000000..7cf4ccfff95c --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ImpervaWAFSettings.java @@ -0,0 +1,725 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Imperva WAF settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ImpervaWAFSettings} + */ +@com.google.protobuf.Generated +public final class ImpervaWAFSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.ImpervaWAFSettings) + ImpervaWAFSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "ImpervaWAFSettings"); + } + + // Use ImpervaWAFSettings.newBuilder() to construct. + private ImpervaWAFSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ImpervaWAFSettings() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ImpervaWAFSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ImpervaWAFSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ImpervaWAFSettings.class, + com.google.cloud.chronicle.v1.ImpervaWAFSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + 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.cloud.chronicle.v1.ImpervaWAFSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.ImpervaWAFSettings other = + (com.google.cloud.chronicle.v1.ImpervaWAFSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.ImpervaWAFSettings parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ImpervaWAFSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ImpervaWAFSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ImpervaWAFSettings 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.cloud.chronicle.v1.ImpervaWAFSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ImpervaWAFSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ImpervaWAFSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ImpervaWAFSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ImpervaWAFSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ImpervaWAFSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ImpervaWAFSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ImpervaWAFSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.ImpervaWAFSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Imperva WAF settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ImpervaWAFSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.ImpervaWAFSettings) + com.google.cloud.chronicle.v1.ImpervaWAFSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ImpervaWAFSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ImpervaWAFSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ImpervaWAFSettings.class, + com.google.cloud.chronicle.v1.ImpervaWAFSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.ImpervaWAFSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ImpervaWAFSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ImpervaWAFSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.ImpervaWAFSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ImpervaWAFSettings build() { + com.google.cloud.chronicle.v1.ImpervaWAFSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ImpervaWAFSettings buildPartial() { + com.google.cloud.chronicle.v1.ImpervaWAFSettings result = + new com.google.cloud.chronicle.v1.ImpervaWAFSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.ImpervaWAFSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.ImpervaWAFSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.ImpervaWAFSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.ImpervaWAFSettings other) { + if (other == com.google.cloud.chronicle.v1.ImpervaWAFSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.ImpervaWAFSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.ImpervaWAFSettings) + private static final com.google.cloud.chronicle.v1.ImpervaWAFSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.ImpervaWAFSettings(); + } + + public static com.google.cloud.chronicle.v1.ImpervaWAFSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImpervaWAFSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ImpervaWAFSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ImpervaWAFSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ImpervaWAFSettingsOrBuilder.java new file mode 100644 index 000000000000..be03cf6cd8b8 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ImpervaWAFSettingsOrBuilder.java @@ -0,0 +1,71 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface ImpervaWAFSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.ImpervaWAFSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ImportPushLogsRequest.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ImportPushLogsRequest.java new file mode 100644 index 000000000000..ae454ad62992 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ImportPushLogsRequest.java @@ -0,0 +1,1120 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * ImportPushLogsRequest request message.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ImportPushLogsRequest} + */ +@com.google.protobuf.Generated +public final class ImportPushLogsRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.ImportPushLogsRequest) + ImportPushLogsRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "ImportPushLogsRequest"); + } + + // Use ImportPushLogsRequest.newBuilder() to construct. + private ImportPushLogsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ImportPushLogsRequest() { + parent_ = ""; + secret_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ImportPushLogsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ImportPushLogsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ImportPushLogsRequest.class, + com.google.cloud.chronicle.v1.ImportPushLogsRequest.Builder.class); + } + + private int bitField0_; + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + + /** + * + * + *
+   * Required. The parent, which owns this collection of logs.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + 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(); + parent_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. The parent, which owns this collection of logs.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int HTTP_BODY_FIELD_NUMBER = 2; + private com.google.api.HttpBody httpBody_; + + /** + * + * + *
+   * Required. The raw HTTP body is bound to this field.
+   * All log entries must be valid UTF-8. A single invalid event will cause the
+   * entire request to be rejected.
+   * 
+ * + * .google.api.HttpBody http_body = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the httpBody field is set. + */ + @java.lang.Override + public boolean hasHttpBody() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Required. The raw HTTP body is bound to this field.
+   * All log entries must be valid UTF-8. A single invalid event will cause the
+   * entire request to be rejected.
+   * 
+ * + * .google.api.HttpBody http_body = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The httpBody. + */ + @java.lang.Override + public com.google.api.HttpBody getHttpBody() { + return httpBody_ == null ? com.google.api.HttpBody.getDefaultInstance() : httpBody_; + } + + /** + * + * + *
+   * Required. The raw HTTP body is bound to this field.
+   * All log entries must be valid UTF-8. A single invalid event will cause the
+   * entire request to be rejected.
+   * 
+ * + * .google.api.HttpBody http_body = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + @java.lang.Override + public com.google.api.HttpBodyOrBuilder getHttpBodyOrBuilder() { + return httpBody_ == null ? com.google.api.HttpBody.getDefaultInstance() : httpBody_; + } + + public static final int SECRET_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object secret_ = ""; + + /** + * + * + *
+   * Immutable. The secret for the feed.
+   * 
+ * + * string secret = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The secret. + */ + @java.lang.Override + public java.lang.String getSecret() { + java.lang.Object ref = secret_; + 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(); + secret_ = s; + return s; + } + } + + /** + * + * + *
+   * Immutable. The secret for the feed.
+   * 
+ * + * string secret = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The bytes for secret. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSecretBytes() { + java.lang.Object ref = secret_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + secret_ = 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.GeneratedMessage.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(2, getHttpBody()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(secret_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, secret_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getHttpBody()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(secret_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, secret_); + } + 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.cloud.chronicle.v1.ImportPushLogsRequest)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.ImportPushLogsRequest other = + (com.google.cloud.chronicle.v1.ImportPushLogsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (hasHttpBody() != other.hasHttpBody()) return false; + if (hasHttpBody()) { + if (!getHttpBody().equals(other.getHttpBody())) return false; + } + if (!getSecret().equals(other.getSecret())) 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) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + if (hasHttpBody()) { + hash = (37 * hash) + HTTP_BODY_FIELD_NUMBER; + hash = (53 * hash) + getHttpBody().hashCode(); + } + hash = (37 * hash) + SECRET_FIELD_NUMBER; + hash = (53 * hash) + getSecret().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.ImportPushLogsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ImportPushLogsRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ImportPushLogsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ImportPushLogsRequest 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.cloud.chronicle.v1.ImportPushLogsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ImportPushLogsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ImportPushLogsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ImportPushLogsRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ImportPushLogsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ImportPushLogsRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ImportPushLogsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ImportPushLogsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.ImportPushLogsRequest 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * ImportPushLogsRequest request message.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ImportPushLogsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.ImportPushLogsRequest) + com.google.cloud.chronicle.v1.ImportPushLogsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ImportPushLogsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ImportPushLogsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ImportPushLogsRequest.class, + com.google.cloud.chronicle.v1.ImportPushLogsRequest.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.ImportPushLogsRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetHttpBodyFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + httpBody_ = null; + if (httpBodyBuilder_ != null) { + httpBodyBuilder_.dispose(); + httpBodyBuilder_ = null; + } + secret_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ImportPushLogsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ImportPushLogsRequest getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.ImportPushLogsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ImportPushLogsRequest build() { + com.google.cloud.chronicle.v1.ImportPushLogsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ImportPushLogsRequest buildPartial() { + com.google.cloud.chronicle.v1.ImportPushLogsRequest result = + new com.google.cloud.chronicle.v1.ImportPushLogsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.ImportPushLogsRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.httpBody_ = httpBodyBuilder_ == null ? httpBody_ : httpBodyBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.secret_ = secret_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.ImportPushLogsRequest) { + return mergeFrom((com.google.cloud.chronicle.v1.ImportPushLogsRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.ImportPushLogsRequest other) { + if (other == com.google.cloud.chronicle.v1.ImportPushLogsRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasHttpBody()) { + mergeHttpBody(other.getHttpBody()); + } + if (!other.getSecret().isEmpty()) { + secret_ = other.secret_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + internalGetHttpBodyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + secret_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object parent_ = ""; + + /** + * + * + *
+     * Required. The parent, which owns this collection of logs.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. The parent, which owns this collection of logs.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. The parent, which owns this collection of logs.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The parent, which owns this collection of logs.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + parent_ = getDefaultInstance().getParent(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The parent, which owns this collection of logs.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.api.HttpBody httpBody_; + private com.google.protobuf.SingleFieldBuilder< + com.google.api.HttpBody, + com.google.api.HttpBody.Builder, + com.google.api.HttpBodyOrBuilder> + httpBodyBuilder_; + + /** + * + * + *
+     * Required. The raw HTTP body is bound to this field.
+     * All log entries must be valid UTF-8. A single invalid event will cause the
+     * entire request to be rejected.
+     * 
+ * + * .google.api.HttpBody http_body = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the httpBody field is set. + */ + public boolean hasHttpBody() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+     * Required. The raw HTTP body is bound to this field.
+     * All log entries must be valid UTF-8. A single invalid event will cause the
+     * entire request to be rejected.
+     * 
+ * + * .google.api.HttpBody http_body = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The httpBody. + */ + public com.google.api.HttpBody getHttpBody() { + if (httpBodyBuilder_ == null) { + return httpBody_ == null ? com.google.api.HttpBody.getDefaultInstance() : httpBody_; + } else { + return httpBodyBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Required. The raw HTTP body is bound to this field.
+     * All log entries must be valid UTF-8. A single invalid event will cause the
+     * entire request to be rejected.
+     * 
+ * + * .google.api.HttpBody http_body = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setHttpBody(com.google.api.HttpBody value) { + if (httpBodyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + httpBody_ = value; + } else { + httpBodyBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The raw HTTP body is bound to this field.
+     * All log entries must be valid UTF-8. A single invalid event will cause the
+     * entire request to be rejected.
+     * 
+ * + * .google.api.HttpBody http_body = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setHttpBody(com.google.api.HttpBody.Builder builderForValue) { + if (httpBodyBuilder_ == null) { + httpBody_ = builderForValue.build(); + } else { + httpBodyBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The raw HTTP body is bound to this field.
+     * All log entries must be valid UTF-8. A single invalid event will cause the
+     * entire request to be rejected.
+     * 
+ * + * .google.api.HttpBody http_body = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder mergeHttpBody(com.google.api.HttpBody value) { + if (httpBodyBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && httpBody_ != null + && httpBody_ != com.google.api.HttpBody.getDefaultInstance()) { + getHttpBodyBuilder().mergeFrom(value); + } else { + httpBody_ = value; + } + } else { + httpBodyBuilder_.mergeFrom(value); + } + if (httpBody_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Required. The raw HTTP body is bound to this field.
+     * All log entries must be valid UTF-8. A single invalid event will cause the
+     * entire request to be rejected.
+     * 
+ * + * .google.api.HttpBody http_body = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder clearHttpBody() { + bitField0_ = (bitField0_ & ~0x00000002); + httpBody_ = null; + if (httpBodyBuilder_ != null) { + httpBodyBuilder_.dispose(); + httpBodyBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The raw HTTP body is bound to this field.
+     * All log entries must be valid UTF-8. A single invalid event will cause the
+     * entire request to be rejected.
+     * 
+ * + * .google.api.HttpBody http_body = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.api.HttpBody.Builder getHttpBodyBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return internalGetHttpBodyFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Required. The raw HTTP body is bound to this field.
+     * All log entries must be valid UTF-8. A single invalid event will cause the
+     * entire request to be rejected.
+     * 
+ * + * .google.api.HttpBody http_body = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.api.HttpBodyOrBuilder getHttpBodyOrBuilder() { + if (httpBodyBuilder_ != null) { + return httpBodyBuilder_.getMessageOrBuilder(); + } else { + return httpBody_ == null ? com.google.api.HttpBody.getDefaultInstance() : httpBody_; + } + } + + /** + * + * + *
+     * Required. The raw HTTP body is bound to this field.
+     * All log entries must be valid UTF-8. A single invalid event will cause the
+     * entire request to be rejected.
+     * 
+ * + * .google.api.HttpBody http_body = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.api.HttpBody, + com.google.api.HttpBody.Builder, + com.google.api.HttpBodyOrBuilder> + internalGetHttpBodyFieldBuilder() { + if (httpBodyBuilder_ == null) { + httpBodyBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.api.HttpBody, + com.google.api.HttpBody.Builder, + com.google.api.HttpBodyOrBuilder>(getHttpBody(), getParentForChildren(), isClean()); + httpBody_ = null; + } + return httpBodyBuilder_; + } + + private java.lang.Object secret_ = ""; + + /** + * + * + *
+     * Immutable. The secret for the feed.
+     * 
+ * + * string secret = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The secret. + */ + public java.lang.String getSecret() { + java.lang.Object ref = secret_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + secret_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Immutable. The secret for the feed.
+     * 
+ * + * string secret = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The bytes for secret. + */ + public com.google.protobuf.ByteString getSecretBytes() { + java.lang.Object ref = secret_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + secret_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Immutable. The secret for the feed.
+     * 
+ * + * string secret = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param value The secret to set. + * @return This builder for chaining. + */ + public Builder setSecret(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + secret_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Immutable. The secret for the feed.
+     * 
+ * + * string secret = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return This builder for chaining. + */ + public Builder clearSecret() { + secret_ = getDefaultInstance().getSecret(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Immutable. The secret for the feed.
+     * 
+ * + * string secret = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param value The bytes for secret to set. + * @return This builder for chaining. + */ + public Builder setSecretBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + secret_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.ImportPushLogsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.ImportPushLogsRequest) + private static final com.google.cloud.chronicle.v1.ImportPushLogsRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.ImportPushLogsRequest(); + } + + public static com.google.cloud.chronicle.v1.ImportPushLogsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportPushLogsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ImportPushLogsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ImportPushLogsRequestOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ImportPushLogsRequestOrBuilder.java new file mode 100644 index 000000000000..fada8ab3517d --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ImportPushLogsRequestOrBuilder.java @@ -0,0 +1,131 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface ImportPushLogsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.ImportPushLogsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The parent, which owns this collection of logs.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + + /** + * + * + *
+   * Required. The parent, which owns this collection of logs.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The raw HTTP body is bound to this field.
+   * All log entries must be valid UTF-8. A single invalid event will cause the
+   * entire request to be rejected.
+   * 
+ * + * .google.api.HttpBody http_body = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the httpBody field is set. + */ + boolean hasHttpBody(); + + /** + * + * + *
+   * Required. The raw HTTP body is bound to this field.
+   * All log entries must be valid UTF-8. A single invalid event will cause the
+   * entire request to be rejected.
+   * 
+ * + * .google.api.HttpBody http_body = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The httpBody. + */ + com.google.api.HttpBody getHttpBody(); + + /** + * + * + *
+   * Required. The raw HTTP body is bound to this field.
+   * All log entries must be valid UTF-8. A single invalid event will cause the
+   * entire request to be rejected.
+   * 
+ * + * .google.api.HttpBody http_body = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.api.HttpBodyOrBuilder getHttpBodyOrBuilder(); + + /** + * + * + *
+   * Immutable. The secret for the feed.
+   * 
+ * + * string secret = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The secret. + */ + java.lang.String getSecret(); + + /** + * + * + *
+   * Immutable. The secret for the feed.
+   * 
+ * + * string secret = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The bytes for secret. + */ + com.google.protobuf.ByteString getSecretBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedPacksRequest.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedPacksRequest.java new file mode 100644 index 000000000000..f415767744a8 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedPacksRequest.java @@ -0,0 +1,936 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Request message for ListFeedPacks.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ListFeedPacksRequest} + */ +@com.google.protobuf.Generated +public final class ListFeedPacksRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.ListFeedPacksRequest) + ListFeedPacksRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "ListFeedPacksRequest"); + } + + // Use ListFeedPacksRequest.newBuilder() to construct. + private ListFeedPacksRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ListFeedPacksRequest() { + parent_ = ""; + pageToken_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedPacksRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedPacksRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ListFeedPacksRequest.class, + com.google.cloud.chronicle.v1.ListFeedPacksRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + + /** + * + * + *
+   * Required. The parent resource where this content pack will be created.
+   * Format: projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + 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(); + parent_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. The parent resource where this content pack will be created.
+   * Format: projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 2; + private int pageSize_ = 0; + + /** + * + * + *
+   * Optional. The maximum number of feed content packs to return. The service
+   * may return fewer than this value. If unspecified, at most 50 feed content
+   * packs will be returned. The maximum value is 1000; values above 1000 will
+   * be coerced to 1000.
+   * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object pageToken_ = ""; + + /** + * + * + *
+   * Optional. A page token, received from a previous `ListFeedPacks` call.
+   * Provide this to retrieve the subsequent page. When paginating, all other
+   * parameters provided to `ListFeedPacks` must match the call that provided
+   * the page token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + 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(); + pageToken_ = s; + return s; + } + } + + /** + * + * + *
+   * Optional. A page token, received from a previous `ListFeedPacks` call.
+   * Provide this to retrieve the subsequent page. When paginating, all other
+   * parameters provided to `ListFeedPacks` must match the call that provided
+   * the page token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = 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.GeneratedMessage.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); + } + if (pageSize_ != 0) { + output.writeInt32(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, pageToken_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, pageToken_); + } + 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.cloud.chronicle.v1.ListFeedPacksRequest)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.ListFeedPacksRequest other = + (com.google.cloud.chronicle.v1.ListFeedPacksRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) 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) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.ListFeedPacksRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ListFeedPacksRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListFeedPacksRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ListFeedPacksRequest 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.cloud.chronicle.v1.ListFeedPacksRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ListFeedPacksRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListFeedPacksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ListFeedPacksRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListFeedPacksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ListFeedPacksRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListFeedPacksRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ListFeedPacksRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.ListFeedPacksRequest 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Request message for ListFeedPacks.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ListFeedPacksRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.ListFeedPacksRequest) + com.google.cloud.chronicle.v1.ListFeedPacksRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedPacksRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedPacksRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ListFeedPacksRequest.class, + com.google.cloud.chronicle.v1.ListFeedPacksRequest.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.ListFeedPacksRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + pageSize_ = 0; + pageToken_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedPacksRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListFeedPacksRequest getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.ListFeedPacksRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListFeedPacksRequest build() { + com.google.cloud.chronicle.v1.ListFeedPacksRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListFeedPacksRequest buildPartial() { + com.google.cloud.chronicle.v1.ListFeedPacksRequest result = + new com.google.cloud.chronicle.v1.ListFeedPacksRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.ListFeedPacksRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.pageSize_ = pageSize_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.pageToken_ = pageToken_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.ListFeedPacksRequest) { + return mergeFrom((com.google.cloud.chronicle.v1.ListFeedPacksRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.ListFeedPacksRequest other) { + if (other == com.google.cloud.chronicle.v1.ListFeedPacksRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object parent_ = ""; + + /** + * + * + *
+     * Required. The parent resource where this content pack will be created.
+     * Format: projects/{project}/locations/{location}/instances/{instance}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. The parent resource where this content pack will be created.
+     * Format: projects/{project}/locations/{location}/instances/{instance}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. The parent resource where this content pack will be created.
+     * Format: projects/{project}/locations/{location}/instances/{instance}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The parent resource where this content pack will be created.
+     * Format: projects/{project}/locations/{location}/instances/{instance}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + parent_ = getDefaultInstance().getParent(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The parent resource where this content pack will be created.
+     * Format: projects/{project}/locations/{location}/instances/{instance}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int pageSize_; + + /** + * + * + *
+     * Optional. The maximum number of feed content packs to return. The service
+     * may return fewer than this value. If unspecified, at most 50 feed content
+     * packs will be returned. The maximum value is 1000; values above 1000 will
+     * be coerced to 1000.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + /** + * + * + *
+     * Optional. The maximum number of feed content packs to return. The service
+     * may return fewer than this value. If unspecified, at most 50 feed content
+     * packs will be returned. The maximum value is 1000; values above 1000 will
+     * be coerced to 1000.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The maximum number of feed content packs to return. The service
+     * may return fewer than this value. If unspecified, at most 50 feed content
+     * packs will be returned. The maximum value is 1000; values above 1000 will
+     * be coerced to 1000.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearPageSize() { + bitField0_ = (bitField0_ & ~0x00000002); + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + + /** + * + * + *
+     * Optional. A page token, received from a previous `ListFeedPacks` call.
+     * Provide this to retrieve the subsequent page. When paginating, all other
+     * parameters provided to `ListFeedPacks` must match the call that provided
+     * the page token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Optional. A page token, received from a previous `ListFeedPacks` call.
+     * Provide this to retrieve the subsequent page. When paginating, all other
+     * parameters provided to `ListFeedPacks` must match the call that provided
+     * the page token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Optional. A page token, received from a previous `ListFeedPacks` call.
+     * Provide this to retrieve the subsequent page. When paginating, all other
+     * parameters provided to `ListFeedPacks` must match the call that provided
+     * the page token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + pageToken_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. A page token, received from a previous `ListFeedPacks` call.
+     * Provide this to retrieve the subsequent page. When paginating, all other
+     * parameters provided to `ListFeedPacks` must match the call that provided
+     * the page token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearPageToken() { + pageToken_ = getDefaultInstance().getPageToken(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. A page token, received from a previous `ListFeedPacks` call.
+     * Provide this to retrieve the subsequent page. When paginating, all other
+     * parameters provided to `ListFeedPacks` must match the call that provided
+     * the page token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.ListFeedPacksRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.ListFeedPacksRequest) + private static final com.google.cloud.chronicle.v1.ListFeedPacksRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.ListFeedPacksRequest(); + } + + public static com.google.cloud.chronicle.v1.ListFeedPacksRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFeedPacksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListFeedPacksRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedPacksRequestOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedPacksRequestOrBuilder.java new file mode 100644 index 000000000000..ed195eff2ca1 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedPacksRequestOrBuilder.java @@ -0,0 +1,108 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface ListFeedPacksRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.ListFeedPacksRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The parent resource where this content pack will be created.
+   * Format: projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + + /** + * + * + *
+   * Required. The parent resource where this content pack will be created.
+   * Format: projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Optional. The maximum number of feed content packs to return. The service
+   * may return fewer than this value. If unspecified, at most 50 feed content
+   * packs will be returned. The maximum value is 1000; values above 1000 will
+   * be coerced to 1000.
+   * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. + */ + int getPageSize(); + + /** + * + * + *
+   * Optional. A page token, received from a previous `ListFeedPacks` call.
+   * Provide this to retrieve the subsequent page. When paginating, all other
+   * parameters provided to `ListFeedPacks` must match the call that provided
+   * the page token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. + */ + java.lang.String getPageToken(); + + /** + * + * + *
+   * Optional. A page token, received from a previous `ListFeedPacks` call.
+   * Provide this to retrieve the subsequent page. When paginating, all other
+   * parameters provided to `ListFeedPacks` must match the call that provided
+   * the page token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString getPageTokenBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedPacksResponse.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedPacksResponse.java new file mode 100644 index 000000000000..549c262fd66c --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedPacksResponse.java @@ -0,0 +1,1118 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Response message for ListFeedPacks.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ListFeedPacksResponse} + */ +@com.google.protobuf.Generated +public final class ListFeedPacksResponse extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.ListFeedPacksResponse) + ListFeedPacksResponseOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "ListFeedPacksResponse"); + } + + // Use ListFeedPacksResponse.newBuilder() to construct. + private ListFeedPacksResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ListFeedPacksResponse() { + feedPacks_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedPacksResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedPacksResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ListFeedPacksResponse.class, + com.google.cloud.chronicle.v1.ListFeedPacksResponse.Builder.class); + } + + public static final int FEED_PACKS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List feedPacks_; + + /** + * + * + *
+   * List of feeds packs.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + @java.lang.Override + public java.util.List getFeedPacksList() { + return feedPacks_; + } + + /** + * + * + *
+   * List of feeds packs.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + @java.lang.Override + public java.util.List + getFeedPacksOrBuilderList() { + return feedPacks_; + } + + /** + * + * + *
+   * List of feeds packs.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + @java.lang.Override + public int getFeedPacksCount() { + return feedPacks_.size(); + } + + /** + * + * + *
+   * List of feeds packs.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedPack getFeedPacks(int index) { + return feedPacks_.get(index); + } + + /** + * + * + *
+   * List of feeds packs.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedPackOrBuilder getFeedPacksOrBuilder(int index) { + return feedPacks_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object nextPageToken_ = ""; + + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + 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(); + nextPageToken_ = s; + return s; + } + } + + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = 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 { + for (int i = 0; i < feedPacks_.size(); i++) { + output.writeMessage(1, feedPacks_.get(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < feedPacks_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, feedPacks_.get(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); + } + 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.cloud.chronicle.v1.ListFeedPacksResponse)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.ListFeedPacksResponse other = + (com.google.cloud.chronicle.v1.ListFeedPacksResponse) obj; + + if (!getFeedPacksList().equals(other.getFeedPacksList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) 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(); + if (getFeedPacksCount() > 0) { + hash = (37 * hash) + FEED_PACKS_FIELD_NUMBER; + hash = (53 * hash) + getFeedPacksList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.ListFeedPacksResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ListFeedPacksResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListFeedPacksResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ListFeedPacksResponse 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.cloud.chronicle.v1.ListFeedPacksResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ListFeedPacksResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListFeedPacksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ListFeedPacksResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListFeedPacksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ListFeedPacksResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListFeedPacksResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ListFeedPacksResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.ListFeedPacksResponse 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Response message for ListFeedPacks.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ListFeedPacksResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.ListFeedPacksResponse) + com.google.cloud.chronicle.v1.ListFeedPacksResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedPacksResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedPacksResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ListFeedPacksResponse.class, + com.google.cloud.chronicle.v1.ListFeedPacksResponse.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.ListFeedPacksResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (feedPacksBuilder_ == null) { + feedPacks_ = java.util.Collections.emptyList(); + } else { + feedPacks_ = null; + feedPacksBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + nextPageToken_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedPacksResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListFeedPacksResponse getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.ListFeedPacksResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListFeedPacksResponse build() { + com.google.cloud.chronicle.v1.ListFeedPacksResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListFeedPacksResponse buildPartial() { + com.google.cloud.chronicle.v1.ListFeedPacksResponse result = + new com.google.cloud.chronicle.v1.ListFeedPacksResponse(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.chronicle.v1.ListFeedPacksResponse result) { + if (feedPacksBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + feedPacks_ = java.util.Collections.unmodifiableList(feedPacks_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.feedPacks_ = feedPacks_; + } else { + result.feedPacks_ = feedPacksBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.chronicle.v1.ListFeedPacksResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.nextPageToken_ = nextPageToken_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.ListFeedPacksResponse) { + return mergeFrom((com.google.cloud.chronicle.v1.ListFeedPacksResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.ListFeedPacksResponse other) { + if (other == com.google.cloud.chronicle.v1.ListFeedPacksResponse.getDefaultInstance()) + return this; + if (feedPacksBuilder_ == null) { + if (!other.feedPacks_.isEmpty()) { + if (feedPacks_.isEmpty()) { + feedPacks_ = other.feedPacks_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureFeedPacksIsMutable(); + feedPacks_.addAll(other.feedPacks_); + } + onChanged(); + } + } else { + if (!other.feedPacks_.isEmpty()) { + if (feedPacksBuilder_.isEmpty()) { + feedPacksBuilder_.dispose(); + feedPacksBuilder_ = null; + feedPacks_ = other.feedPacks_; + bitField0_ = (bitField0_ & ~0x00000001); + feedPacksBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetFeedPacksFieldBuilder() + : null; + } else { + feedPacksBuilder_.addAllMessages(other.feedPacks_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.cloud.chronicle.v1.FeedPack m = + input.readMessage( + com.google.cloud.chronicle.v1.FeedPack.parser(), extensionRegistry); + if (feedPacksBuilder_ == null) { + ensureFeedPacksIsMutable(); + feedPacks_.add(m); + } else { + feedPacksBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.util.List feedPacks_ = + java.util.Collections.emptyList(); + + private void ensureFeedPacksIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + feedPacks_ = new java.util.ArrayList(feedPacks_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.FeedPack, + com.google.cloud.chronicle.v1.FeedPack.Builder, + com.google.cloud.chronicle.v1.FeedPackOrBuilder> + feedPacksBuilder_; + + /** + * + * + *
+     * List of feeds packs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + public java.util.List getFeedPacksList() { + if (feedPacksBuilder_ == null) { + return java.util.Collections.unmodifiableList(feedPacks_); + } else { + return feedPacksBuilder_.getMessageList(); + } + } + + /** + * + * + *
+     * List of feeds packs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + public int getFeedPacksCount() { + if (feedPacksBuilder_ == null) { + return feedPacks_.size(); + } else { + return feedPacksBuilder_.getCount(); + } + } + + /** + * + * + *
+     * List of feeds packs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + public com.google.cloud.chronicle.v1.FeedPack getFeedPacks(int index) { + if (feedPacksBuilder_ == null) { + return feedPacks_.get(index); + } else { + return feedPacksBuilder_.getMessage(index); + } + } + + /** + * + * + *
+     * List of feeds packs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + public Builder setFeedPacks(int index, com.google.cloud.chronicle.v1.FeedPack value) { + if (feedPacksBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFeedPacksIsMutable(); + feedPacks_.set(index, value); + onChanged(); + } else { + feedPacksBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * List of feeds packs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + public Builder setFeedPacks( + int index, com.google.cloud.chronicle.v1.FeedPack.Builder builderForValue) { + if (feedPacksBuilder_ == null) { + ensureFeedPacksIsMutable(); + feedPacks_.set(index, builderForValue.build()); + onChanged(); + } else { + feedPacksBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * List of feeds packs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + public Builder addFeedPacks(com.google.cloud.chronicle.v1.FeedPack value) { + if (feedPacksBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFeedPacksIsMutable(); + feedPacks_.add(value); + onChanged(); + } else { + feedPacksBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+     * List of feeds packs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + public Builder addFeedPacks(int index, com.google.cloud.chronicle.v1.FeedPack value) { + if (feedPacksBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFeedPacksIsMutable(); + feedPacks_.add(index, value); + onChanged(); + } else { + feedPacksBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * List of feeds packs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + public Builder addFeedPacks(com.google.cloud.chronicle.v1.FeedPack.Builder builderForValue) { + if (feedPacksBuilder_ == null) { + ensureFeedPacksIsMutable(); + feedPacks_.add(builderForValue.build()); + onChanged(); + } else { + feedPacksBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * List of feeds packs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + public Builder addFeedPacks( + int index, com.google.cloud.chronicle.v1.FeedPack.Builder builderForValue) { + if (feedPacksBuilder_ == null) { + ensureFeedPacksIsMutable(); + feedPacks_.add(index, builderForValue.build()); + onChanged(); + } else { + feedPacksBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * List of feeds packs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + public Builder addAllFeedPacks( + java.lang.Iterable values) { + if (feedPacksBuilder_ == null) { + ensureFeedPacksIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, feedPacks_); + onChanged(); + } else { + feedPacksBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+     * List of feeds packs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + public Builder clearFeedPacks() { + if (feedPacksBuilder_ == null) { + feedPacks_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + feedPacksBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * List of feeds packs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + public Builder removeFeedPacks(int index) { + if (feedPacksBuilder_ == null) { + ensureFeedPacksIsMutable(); + feedPacks_.remove(index); + onChanged(); + } else { + feedPacksBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+     * List of feeds packs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + public com.google.cloud.chronicle.v1.FeedPack.Builder getFeedPacksBuilder(int index) { + return internalGetFeedPacksFieldBuilder().getBuilder(index); + } + + /** + * + * + *
+     * List of feeds packs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + public com.google.cloud.chronicle.v1.FeedPackOrBuilder getFeedPacksOrBuilder(int index) { + if (feedPacksBuilder_ == null) { + return feedPacks_.get(index); + } else { + return feedPacksBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
+     * List of feeds packs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + public java.util.List + getFeedPacksOrBuilderList() { + if (feedPacksBuilder_ != null) { + return feedPacksBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(feedPacks_); + } + } + + /** + * + * + *
+     * List of feeds packs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + public com.google.cloud.chronicle.v1.FeedPack.Builder addFeedPacksBuilder() { + return internalGetFeedPacksFieldBuilder() + .addBuilder(com.google.cloud.chronicle.v1.FeedPack.getDefaultInstance()); + } + + /** + * + * + *
+     * List of feeds packs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + public com.google.cloud.chronicle.v1.FeedPack.Builder addFeedPacksBuilder(int index) { + return internalGetFeedPacksFieldBuilder() + .addBuilder(index, com.google.cloud.chronicle.v1.FeedPack.getDefaultInstance()); + } + + /** + * + * + *
+     * List of feeds packs.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + public java.util.List + getFeedPacksBuilderList() { + return internalGetFeedPacksFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.FeedPack, + com.google.cloud.chronicle.v1.FeedPack.Builder, + com.google.cloud.chronicle.v1.FeedPackOrBuilder> + internalGetFeedPacksFieldBuilder() { + if (feedPacksBuilder_ == null) { + feedPacksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.FeedPack, + com.google.cloud.chronicle.v1.FeedPack.Builder, + com.google.cloud.chronicle.v1.FeedPackOrBuilder>( + feedPacks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + feedPacks_ = null; + } + return feedPacksBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + nextPageToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + nextPageToken_ = getDefaultInstance().getNextPageToken(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.ListFeedPacksResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.ListFeedPacksResponse) + private static final com.google.cloud.chronicle.v1.ListFeedPacksResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.ListFeedPacksResponse(); + } + + public static com.google.cloud.chronicle.v1.ListFeedPacksResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFeedPacksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListFeedPacksResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedPacksResponseOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedPacksResponseOrBuilder.java new file mode 100644 index 000000000000..78ab949f6b9e --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedPacksResponseOrBuilder.java @@ -0,0 +1,112 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface ListFeedPacksResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.ListFeedPacksResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * List of feeds packs.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + java.util.List getFeedPacksList(); + + /** + * + * + *
+   * List of feeds packs.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + com.google.cloud.chronicle.v1.FeedPack getFeedPacks(int index); + + /** + * + * + *
+   * List of feeds packs.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + int getFeedPacksCount(); + + /** + * + * + *
+   * List of feeds packs.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + java.util.List + getFeedPacksOrBuilderList(); + + /** + * + * + *
+   * List of feeds packs.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.FeedPack feed_packs = 1; + */ + com.google.cloud.chronicle.v1.FeedPackOrBuilder getFeedPacksOrBuilder(int index); + + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedSourceTypeSchemasRequest.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedSourceTypeSchemasRequest.java new file mode 100644 index 000000000000..bc1d39bfa1eb --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedSourceTypeSchemasRequest.java @@ -0,0 +1,936 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * ListFeedSourceTypeSchemas request message. Note that Feed schemas do not
+ * contain customer data, so are not scoped to a particular customer.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest} + */ +@com.google.protobuf.Generated +public final class ListFeedSourceTypeSchemasRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest) + ListFeedSourceTypeSchemasRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "ListFeedSourceTypeSchemasRequest"); + } + + // Use ListFeedSourceTypeSchemasRequest.newBuilder() to construct. + private ListFeedSourceTypeSchemasRequest( + com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ListFeedSourceTypeSchemasRequest() { + parent_ = ""; + pageToken_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedSourceTypeSchemasRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedSourceTypeSchemasRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest.class, + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + + /** + * + * + *
+   * Required. The parent, which owns this collection of FeedSourceTypeSchemas.
+   * Format: projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + 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(); + parent_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. The parent, which owns this collection of FeedSourceTypeSchemas.
+   * Format: projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 2; + private int pageSize_ = 0; + + /** + * + * + *
+   * The maximum number of FeedSourceTypeSchemas to return. The service may
+   * return fewer than this value. If unspecified all FeedSourceTypeSchemas will
+   * be returned, meaning one FeedSourceTypeSchema for each
+   * FeedDetails.FeedSourceType.
+   * The maximum value is 100; values above 100 will be coerced to 100.
+   * 
+ * + * int32 page_size = 2; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object pageToken_ = ""; + + /** + * + * + *
+   * A page token, received from a previous `ListFeedSourceTypeSchemas` call.
+   * Provide this to retrieve the subsequent page.
+   * 
+ * + * string page_token = 3; + * + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + 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(); + pageToken_ = s; + return s; + } + } + + /** + * + * + *
+   * A page token, received from a previous `ListFeedSourceTypeSchemas` call.
+   * Provide this to retrieve the subsequent page.
+   * 
+ * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = 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.GeneratedMessage.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); + } + if (pageSize_ != 0) { + output.writeInt32(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, pageToken_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, pageToken_); + } + 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.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest other = + (com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) 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) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest 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.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * ListFeedSourceTypeSchemas request message. Note that Feed schemas do not
+   * contain customer data, so are not scoped to a particular customer.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest) + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedSourceTypeSchemasRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedSourceTypeSchemasRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest.class, + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + pageSize_ = 0; + pageToken_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedSourceTypeSchemasRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest + getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest build() { + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest buildPartial() { + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest result = + new com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.pageSize_ = pageSize_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.pageToken_ = pageToken_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest) { + return mergeFrom((com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest other) { + if (other + == com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object parent_ = ""; + + /** + * + * + *
+     * Required. The parent, which owns this collection of FeedSourceTypeSchemas.
+     * Format: projects/{project}/locations/{location}/instances/{instance}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. The parent, which owns this collection of FeedSourceTypeSchemas.
+     * Format: projects/{project}/locations/{location}/instances/{instance}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. The parent, which owns this collection of FeedSourceTypeSchemas.
+     * Format: projects/{project}/locations/{location}/instances/{instance}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The parent, which owns this collection of FeedSourceTypeSchemas.
+     * Format: projects/{project}/locations/{location}/instances/{instance}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + parent_ = getDefaultInstance().getParent(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The parent, which owns this collection of FeedSourceTypeSchemas.
+     * Format: projects/{project}/locations/{location}/instances/{instance}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int pageSize_; + + /** + * + * + *
+     * The maximum number of FeedSourceTypeSchemas to return. The service may
+     * return fewer than this value. If unspecified all FeedSourceTypeSchemas will
+     * be returned, meaning one FeedSourceTypeSchema for each
+     * FeedDetails.FeedSourceType.
+     * The maximum value is 100; values above 100 will be coerced to 100.
+     * 
+ * + * int32 page_size = 2; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + /** + * + * + *
+     * The maximum number of FeedSourceTypeSchemas to return. The service may
+     * return fewer than this value. If unspecified all FeedSourceTypeSchemas will
+     * be returned, meaning one FeedSourceTypeSchema for each
+     * FeedDetails.FeedSourceType.
+     * The maximum value is 100; values above 100 will be coerced to 100.
+     * 
+ * + * int32 page_size = 2; + * + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * The maximum number of FeedSourceTypeSchemas to return. The service may
+     * return fewer than this value. If unspecified all FeedSourceTypeSchemas will
+     * be returned, meaning one FeedSourceTypeSchema for each
+     * FeedDetails.FeedSourceType.
+     * The maximum value is 100; values above 100 will be coerced to 100.
+     * 
+ * + * int32 page_size = 2; + * + * @return This builder for chaining. + */ + public Builder clearPageSize() { + bitField0_ = (bitField0_ & ~0x00000002); + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + + /** + * + * + *
+     * A page token, received from a previous `ListFeedSourceTypeSchemas` call.
+     * Provide this to retrieve the subsequent page.
+     * 
+ * + * string page_token = 3; + * + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * A page token, received from a previous `ListFeedSourceTypeSchemas` call.
+     * Provide this to retrieve the subsequent page.
+     * 
+ * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * A page token, received from a previous `ListFeedSourceTypeSchemas` call.
+     * Provide this to retrieve the subsequent page.
+     * 
+ * + * string page_token = 3; + * + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + pageToken_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * A page token, received from a previous `ListFeedSourceTypeSchemas` call.
+     * Provide this to retrieve the subsequent page.
+     * 
+ * + * string page_token = 3; + * + * @return This builder for chaining. + */ + public Builder clearPageToken() { + pageToken_ = getDefaultInstance().getPageToken(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * A page token, received from a previous `ListFeedSourceTypeSchemas` call.
+     * Provide this to retrieve the subsequent page.
+     * 
+ * + * string page_token = 3; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest) + private static final com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest(); + } + + public static com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFeedSourceTypeSchemasRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedSourceTypeSchemasRequestOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedSourceTypeSchemasRequestOrBuilder.java new file mode 100644 index 000000000000..b2237b49ae3c --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedSourceTypeSchemasRequestOrBuilder.java @@ -0,0 +1,105 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface ListFeedSourceTypeSchemasRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The parent, which owns this collection of FeedSourceTypeSchemas.
+   * Format: projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + + /** + * + * + *
+   * Required. The parent, which owns this collection of FeedSourceTypeSchemas.
+   * Format: projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * The maximum number of FeedSourceTypeSchemas to return. The service may
+   * return fewer than this value. If unspecified all FeedSourceTypeSchemas will
+   * be returned, meaning one FeedSourceTypeSchema for each
+   * FeedDetails.FeedSourceType.
+   * The maximum value is 100; values above 100 will be coerced to 100.
+   * 
+ * + * int32 page_size = 2; + * + * @return The pageSize. + */ + int getPageSize(); + + /** + * + * + *
+   * A page token, received from a previous `ListFeedSourceTypeSchemas` call.
+   * Provide this to retrieve the subsequent page.
+   * 
+ * + * string page_token = 3; + * + * @return The pageToken. + */ + java.lang.String getPageToken(); + + /** + * + * + *
+   * A page token, received from a previous `ListFeedSourceTypeSchemas` call.
+   * Provide this to retrieve the subsequent page.
+   * 
+ * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString getPageTokenBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedSourceTypeSchemasResponse.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedSourceTypeSchemasResponse.java new file mode 100644 index 000000000000..00e338d53377 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedSourceTypeSchemasResponse.java @@ -0,0 +1,1170 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * ListFeedSourceTypeSchemas response message.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse} + */ +@com.google.protobuf.Generated +public final class ListFeedSourceTypeSchemasResponse extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse) + ListFeedSourceTypeSchemasResponseOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "ListFeedSourceTypeSchemasResponse"); + } + + // Use ListFeedSourceTypeSchemasResponse.newBuilder() to construct. + private ListFeedSourceTypeSchemasResponse( + com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ListFeedSourceTypeSchemasResponse() { + feedSourceTypeSchemas_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedSourceTypeSchemasResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedSourceTypeSchemasResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse.class, + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse.Builder.class); + } + + public static final int FEED_SOURCE_TYPE_SCHEMAS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List feedSourceTypeSchemas_; + + /** + * + * + *
+   * Schemas describing each FeedSourceType.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + @java.lang.Override + public java.util.List + getFeedSourceTypeSchemasList() { + return feedSourceTypeSchemas_; + } + + /** + * + * + *
+   * Schemas describing each FeedSourceType.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + @java.lang.Override + public java.util.List + getFeedSourceTypeSchemasOrBuilderList() { + return feedSourceTypeSchemas_; + } + + /** + * + * + *
+   * Schemas describing each FeedSourceType.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + @java.lang.Override + public int getFeedSourceTypeSchemasCount() { + return feedSourceTypeSchemas_.size(); + } + + /** + * + * + *
+   * Schemas describing each FeedSourceType.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedSourceTypeSchema getFeedSourceTypeSchemas(int index) { + return feedSourceTypeSchemas_.get(index); + } + + /** + * + * + *
+   * Schemas describing each FeedSourceType.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedSourceTypeSchemaOrBuilder + getFeedSourceTypeSchemasOrBuilder(int index) { + return feedSourceTypeSchemas_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object nextPageToken_ = ""; + + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + 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(); + nextPageToken_ = s; + return s; + } + } + + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = 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 { + for (int i = 0; i < feedSourceTypeSchemas_.size(); i++) { + output.writeMessage(1, feedSourceTypeSchemas_.get(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < feedSourceTypeSchemas_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, feedSourceTypeSchemas_.get(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); + } + 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.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse other = + (com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse) obj; + + if (!getFeedSourceTypeSchemasList().equals(other.getFeedSourceTypeSchemasList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) 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(); + if (getFeedSourceTypeSchemasCount() > 0) { + hash = (37 * hash) + FEED_SOURCE_TYPE_SCHEMAS_FIELD_NUMBER; + hash = (53 * hash) + getFeedSourceTypeSchemasList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse 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.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * ListFeedSourceTypeSchemas response message.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse) + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedSourceTypeSchemasResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedSourceTypeSchemasResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse.class, + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (feedSourceTypeSchemasBuilder_ == null) { + feedSourceTypeSchemas_ = java.util.Collections.emptyList(); + } else { + feedSourceTypeSchemas_ = null; + feedSourceTypeSchemasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + nextPageToken_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedSourceTypeSchemasResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse + getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse build() { + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse buildPartial() { + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse result = + new com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse result) { + if (feedSourceTypeSchemasBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + feedSourceTypeSchemas_ = java.util.Collections.unmodifiableList(feedSourceTypeSchemas_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.feedSourceTypeSchemas_ = feedSourceTypeSchemas_; + } else { + result.feedSourceTypeSchemas_ = feedSourceTypeSchemasBuilder_.build(); + } + } + + private void buildPartial0( + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.nextPageToken_ = nextPageToken_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse) { + return mergeFrom((com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse other) { + if (other + == com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse.getDefaultInstance()) + return this; + if (feedSourceTypeSchemasBuilder_ == null) { + if (!other.feedSourceTypeSchemas_.isEmpty()) { + if (feedSourceTypeSchemas_.isEmpty()) { + feedSourceTypeSchemas_ = other.feedSourceTypeSchemas_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureFeedSourceTypeSchemasIsMutable(); + feedSourceTypeSchemas_.addAll(other.feedSourceTypeSchemas_); + } + onChanged(); + } + } else { + if (!other.feedSourceTypeSchemas_.isEmpty()) { + if (feedSourceTypeSchemasBuilder_.isEmpty()) { + feedSourceTypeSchemasBuilder_.dispose(); + feedSourceTypeSchemasBuilder_ = null; + feedSourceTypeSchemas_ = other.feedSourceTypeSchemas_; + bitField0_ = (bitField0_ & ~0x00000001); + feedSourceTypeSchemasBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetFeedSourceTypeSchemasFieldBuilder() + : null; + } else { + feedSourceTypeSchemasBuilder_.addAllMessages(other.feedSourceTypeSchemas_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.cloud.chronicle.v1.FeedSourceTypeSchema m = + input.readMessage( + com.google.cloud.chronicle.v1.FeedSourceTypeSchema.parser(), + extensionRegistry); + if (feedSourceTypeSchemasBuilder_ == null) { + ensureFeedSourceTypeSchemasIsMutable(); + feedSourceTypeSchemas_.add(m); + } else { + feedSourceTypeSchemasBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.util.List + feedSourceTypeSchemas_ = java.util.Collections.emptyList(); + + private void ensureFeedSourceTypeSchemasIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + feedSourceTypeSchemas_ = + new java.util.ArrayList( + feedSourceTypeSchemas_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.FeedSourceTypeSchema, + com.google.cloud.chronicle.v1.FeedSourceTypeSchema.Builder, + com.google.cloud.chronicle.v1.FeedSourceTypeSchemaOrBuilder> + feedSourceTypeSchemasBuilder_; + + /** + * + * + *
+     * Schemas describing each FeedSourceType.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + public java.util.List + getFeedSourceTypeSchemasList() { + if (feedSourceTypeSchemasBuilder_ == null) { + return java.util.Collections.unmodifiableList(feedSourceTypeSchemas_); + } else { + return feedSourceTypeSchemasBuilder_.getMessageList(); + } + } + + /** + * + * + *
+     * Schemas describing each FeedSourceType.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + public int getFeedSourceTypeSchemasCount() { + if (feedSourceTypeSchemasBuilder_ == null) { + return feedSourceTypeSchemas_.size(); + } else { + return feedSourceTypeSchemasBuilder_.getCount(); + } + } + + /** + * + * + *
+     * Schemas describing each FeedSourceType.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + public com.google.cloud.chronicle.v1.FeedSourceTypeSchema getFeedSourceTypeSchemas(int index) { + if (feedSourceTypeSchemasBuilder_ == null) { + return feedSourceTypeSchemas_.get(index); + } else { + return feedSourceTypeSchemasBuilder_.getMessage(index); + } + } + + /** + * + * + *
+     * Schemas describing each FeedSourceType.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + public Builder setFeedSourceTypeSchemas( + int index, com.google.cloud.chronicle.v1.FeedSourceTypeSchema value) { + if (feedSourceTypeSchemasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFeedSourceTypeSchemasIsMutable(); + feedSourceTypeSchemas_.set(index, value); + onChanged(); + } else { + feedSourceTypeSchemasBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Schemas describing each FeedSourceType.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + public Builder setFeedSourceTypeSchemas( + int index, com.google.cloud.chronicle.v1.FeedSourceTypeSchema.Builder builderForValue) { + if (feedSourceTypeSchemasBuilder_ == null) { + ensureFeedSourceTypeSchemasIsMutable(); + feedSourceTypeSchemas_.set(index, builderForValue.build()); + onChanged(); + } else { + feedSourceTypeSchemasBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Schemas describing each FeedSourceType.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + public Builder addFeedSourceTypeSchemas( + com.google.cloud.chronicle.v1.FeedSourceTypeSchema value) { + if (feedSourceTypeSchemasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFeedSourceTypeSchemasIsMutable(); + feedSourceTypeSchemas_.add(value); + onChanged(); + } else { + feedSourceTypeSchemasBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+     * Schemas describing each FeedSourceType.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + public Builder addFeedSourceTypeSchemas( + int index, com.google.cloud.chronicle.v1.FeedSourceTypeSchema value) { + if (feedSourceTypeSchemasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFeedSourceTypeSchemasIsMutable(); + feedSourceTypeSchemas_.add(index, value); + onChanged(); + } else { + feedSourceTypeSchemasBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * Schemas describing each FeedSourceType.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + public Builder addFeedSourceTypeSchemas( + com.google.cloud.chronicle.v1.FeedSourceTypeSchema.Builder builderForValue) { + if (feedSourceTypeSchemasBuilder_ == null) { + ensureFeedSourceTypeSchemasIsMutable(); + feedSourceTypeSchemas_.add(builderForValue.build()); + onChanged(); + } else { + feedSourceTypeSchemasBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Schemas describing each FeedSourceType.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + public Builder addFeedSourceTypeSchemas( + int index, com.google.cloud.chronicle.v1.FeedSourceTypeSchema.Builder builderForValue) { + if (feedSourceTypeSchemasBuilder_ == null) { + ensureFeedSourceTypeSchemasIsMutable(); + feedSourceTypeSchemas_.add(index, builderForValue.build()); + onChanged(); + } else { + feedSourceTypeSchemasBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * Schemas describing each FeedSourceType.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + public Builder addAllFeedSourceTypeSchemas( + java.lang.Iterable values) { + if (feedSourceTypeSchemasBuilder_ == null) { + ensureFeedSourceTypeSchemasIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, feedSourceTypeSchemas_); + onChanged(); + } else { + feedSourceTypeSchemasBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+     * Schemas describing each FeedSourceType.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + public Builder clearFeedSourceTypeSchemas() { + if (feedSourceTypeSchemasBuilder_ == null) { + feedSourceTypeSchemas_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + feedSourceTypeSchemasBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Schemas describing each FeedSourceType.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + public Builder removeFeedSourceTypeSchemas(int index) { + if (feedSourceTypeSchemasBuilder_ == null) { + ensureFeedSourceTypeSchemasIsMutable(); + feedSourceTypeSchemas_.remove(index); + onChanged(); + } else { + feedSourceTypeSchemasBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+     * Schemas describing each FeedSourceType.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + public com.google.cloud.chronicle.v1.FeedSourceTypeSchema.Builder + getFeedSourceTypeSchemasBuilder(int index) { + return internalGetFeedSourceTypeSchemasFieldBuilder().getBuilder(index); + } + + /** + * + * + *
+     * Schemas describing each FeedSourceType.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + public com.google.cloud.chronicle.v1.FeedSourceTypeSchemaOrBuilder + getFeedSourceTypeSchemasOrBuilder(int index) { + if (feedSourceTypeSchemasBuilder_ == null) { + return feedSourceTypeSchemas_.get(index); + } else { + return feedSourceTypeSchemasBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
+     * Schemas describing each FeedSourceType.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + public java.util.List + getFeedSourceTypeSchemasOrBuilderList() { + if (feedSourceTypeSchemasBuilder_ != null) { + return feedSourceTypeSchemasBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(feedSourceTypeSchemas_); + } + } + + /** + * + * + *
+     * Schemas describing each FeedSourceType.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + public com.google.cloud.chronicle.v1.FeedSourceTypeSchema.Builder + addFeedSourceTypeSchemasBuilder() { + return internalGetFeedSourceTypeSchemasFieldBuilder() + .addBuilder(com.google.cloud.chronicle.v1.FeedSourceTypeSchema.getDefaultInstance()); + } + + /** + * + * + *
+     * Schemas describing each FeedSourceType.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + public com.google.cloud.chronicle.v1.FeedSourceTypeSchema.Builder + addFeedSourceTypeSchemasBuilder(int index) { + return internalGetFeedSourceTypeSchemasFieldBuilder() + .addBuilder( + index, com.google.cloud.chronicle.v1.FeedSourceTypeSchema.getDefaultInstance()); + } + + /** + * + * + *
+     * Schemas describing each FeedSourceType.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + public java.util.List + getFeedSourceTypeSchemasBuilderList() { + return internalGetFeedSourceTypeSchemasFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.FeedSourceTypeSchema, + com.google.cloud.chronicle.v1.FeedSourceTypeSchema.Builder, + com.google.cloud.chronicle.v1.FeedSourceTypeSchemaOrBuilder> + internalGetFeedSourceTypeSchemasFieldBuilder() { + if (feedSourceTypeSchemasBuilder_ == null) { + feedSourceTypeSchemasBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.FeedSourceTypeSchema, + com.google.cloud.chronicle.v1.FeedSourceTypeSchema.Builder, + com.google.cloud.chronicle.v1.FeedSourceTypeSchemaOrBuilder>( + feedSourceTypeSchemas_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + feedSourceTypeSchemas_ = null; + } + return feedSourceTypeSchemasBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + nextPageToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + nextPageToken_ = getDefaultInstance().getNextPageToken(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse) + private static final com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse(); + } + + public static com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFeedSourceTypeSchemasResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedSourceTypeSchemasResponseOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedSourceTypeSchemasResponseOrBuilder.java new file mode 100644 index 000000000000..27792265fe9c --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedSourceTypeSchemasResponseOrBuilder.java @@ -0,0 +1,118 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface ListFeedSourceTypeSchemasResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Schemas describing each FeedSourceType.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + java.util.List getFeedSourceTypeSchemasList(); + + /** + * + * + *
+   * Schemas describing each FeedSourceType.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + com.google.cloud.chronicle.v1.FeedSourceTypeSchema getFeedSourceTypeSchemas(int index); + + /** + * + * + *
+   * Schemas describing each FeedSourceType.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + int getFeedSourceTypeSchemasCount(); + + /** + * + * + *
+   * Schemas describing each FeedSourceType.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + java.util.List + getFeedSourceTypeSchemasOrBuilderList(); + + /** + * + * + *
+   * Schemas describing each FeedSourceType.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.FeedSourceTypeSchema feed_source_type_schemas = 1; + * + */ + com.google.cloud.chronicle.v1.FeedSourceTypeSchemaOrBuilder getFeedSourceTypeSchemasOrBuilder( + int index); + + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedsRequest.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedsRequest.java new file mode 100644 index 000000000000..c6aefb7bfc47 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedsRequest.java @@ -0,0 +1,921 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Request message for ListFeed.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ListFeedsRequest} + */ +@com.google.protobuf.Generated +public final class ListFeedsRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.ListFeedsRequest) + ListFeedsRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "ListFeedsRequest"); + } + + // Use ListFeedsRequest.newBuilder() to construct. + private ListFeedsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ListFeedsRequest() { + parent_ = ""; + pageToken_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ListFeedsRequest.class, + com.google.cloud.chronicle.v1.ListFeedsRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + + /** + * + * + *
+   * Required. The parent resource where this Feed will be created.
+   * Format: projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + 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(); + parent_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. The parent resource where this Feed will be created.
+   * Format: projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 2; + private int pageSize_ = 0; + + /** + * + * + *
+   * The maximum number of feeds to return. The service may return fewer than
+   * this value.
+   * If unspecified, at most 100 feeds will be returned.
+   * The maximum value is 1000; values above 1000 will be coerced to 1000.
+   * 
+ * + * int32 page_size = 2; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object pageToken_ = ""; + + /** + * + * + *
+   * A page token, received from a previous `ListFeeds` call. Provide this to
+   * retrieve the subsequent page.
+   * 
+ * + * string page_token = 3; + * + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + 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(); + pageToken_ = s; + return s; + } + } + + /** + * + * + *
+   * A page token, received from a previous `ListFeeds` call. Provide this to
+   * retrieve the subsequent page.
+   * 
+ * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = 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.GeneratedMessage.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); + } + if (pageSize_ != 0) { + output.writeInt32(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, pageToken_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, pageToken_); + } + 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.cloud.chronicle.v1.ListFeedsRequest)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.ListFeedsRequest other = + (com.google.cloud.chronicle.v1.ListFeedsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) 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) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.ListFeedsRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ListFeedsRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListFeedsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ListFeedsRequest 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.cloud.chronicle.v1.ListFeedsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ListFeedsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListFeedsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ListFeedsRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListFeedsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ListFeedsRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListFeedsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ListFeedsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.ListFeedsRequest 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Request message for ListFeed.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ListFeedsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.ListFeedsRequest) + com.google.cloud.chronicle.v1.ListFeedsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ListFeedsRequest.class, + com.google.cloud.chronicle.v1.ListFeedsRequest.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.ListFeedsRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + pageSize_ = 0; + pageToken_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListFeedsRequest getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.ListFeedsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListFeedsRequest build() { + com.google.cloud.chronicle.v1.ListFeedsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListFeedsRequest buildPartial() { + com.google.cloud.chronicle.v1.ListFeedsRequest result = + new com.google.cloud.chronicle.v1.ListFeedsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.ListFeedsRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.pageSize_ = pageSize_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.pageToken_ = pageToken_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.ListFeedsRequest) { + return mergeFrom((com.google.cloud.chronicle.v1.ListFeedsRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.ListFeedsRequest other) { + if (other == com.google.cloud.chronicle.v1.ListFeedsRequest.getDefaultInstance()) return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object parent_ = ""; + + /** + * + * + *
+     * Required. The parent resource where this Feed will be created.
+     * Format: projects/{project}/locations/{location}/instances/{instance}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. The parent resource where this Feed will be created.
+     * Format: projects/{project}/locations/{location}/instances/{instance}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. The parent resource where this Feed will be created.
+     * Format: projects/{project}/locations/{location}/instances/{instance}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The parent resource where this Feed will be created.
+     * Format: projects/{project}/locations/{location}/instances/{instance}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + parent_ = getDefaultInstance().getParent(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The parent resource where this Feed will be created.
+     * Format: projects/{project}/locations/{location}/instances/{instance}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int pageSize_; + + /** + * + * + *
+     * The maximum number of feeds to return. The service may return fewer than
+     * this value.
+     * If unspecified, at most 100 feeds will be returned.
+     * The maximum value is 1000; values above 1000 will be coerced to 1000.
+     * 
+ * + * int32 page_size = 2; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + /** + * + * + *
+     * The maximum number of feeds to return. The service may return fewer than
+     * this value.
+     * If unspecified, at most 100 feeds will be returned.
+     * The maximum value is 1000; values above 1000 will be coerced to 1000.
+     * 
+ * + * int32 page_size = 2; + * + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * The maximum number of feeds to return. The service may return fewer than
+     * this value.
+     * If unspecified, at most 100 feeds will be returned.
+     * The maximum value is 1000; values above 1000 will be coerced to 1000.
+     * 
+ * + * int32 page_size = 2; + * + * @return This builder for chaining. + */ + public Builder clearPageSize() { + bitField0_ = (bitField0_ & ~0x00000002); + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + + /** + * + * + *
+     * A page token, received from a previous `ListFeeds` call. Provide this to
+     * retrieve the subsequent page.
+     * 
+ * + * string page_token = 3; + * + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * A page token, received from a previous `ListFeeds` call. Provide this to
+     * retrieve the subsequent page.
+     * 
+ * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * A page token, received from a previous `ListFeeds` call. Provide this to
+     * retrieve the subsequent page.
+     * 
+ * + * string page_token = 3; + * + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + pageToken_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * A page token, received from a previous `ListFeeds` call. Provide this to
+     * retrieve the subsequent page.
+     * 
+ * + * string page_token = 3; + * + * @return This builder for chaining. + */ + public Builder clearPageToken() { + pageToken_ = getDefaultInstance().getPageToken(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * A page token, received from a previous `ListFeeds` call. Provide this to
+     * retrieve the subsequent page.
+     * 
+ * + * string page_token = 3; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.ListFeedsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.ListFeedsRequest) + private static final com.google.cloud.chronicle.v1.ListFeedsRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.ListFeedsRequest(); + } + + public static com.google.cloud.chronicle.v1.ListFeedsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFeedsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListFeedsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedsRequestOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedsRequestOrBuilder.java new file mode 100644 index 000000000000..85c242568533 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedsRequestOrBuilder.java @@ -0,0 +1,104 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface ListFeedsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.ListFeedsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The parent resource where this Feed will be created.
+   * Format: projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + + /** + * + * + *
+   * Required. The parent resource where this Feed will be created.
+   * Format: projects/{project}/locations/{location}/instances/{instance}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * The maximum number of feeds to return. The service may return fewer than
+   * this value.
+   * If unspecified, at most 100 feeds will be returned.
+   * The maximum value is 1000; values above 1000 will be coerced to 1000.
+   * 
+ * + * int32 page_size = 2; + * + * @return The pageSize. + */ + int getPageSize(); + + /** + * + * + *
+   * A page token, received from a previous `ListFeeds` call. Provide this to
+   * retrieve the subsequent page.
+   * 
+ * + * string page_token = 3; + * + * @return The pageToken. + */ + java.lang.String getPageToken(); + + /** + * + * + *
+   * A page token, received from a previous `ListFeeds` call. Provide this to
+   * retrieve the subsequent page.
+   * 
+ * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString getPageTokenBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedsResponse.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedsResponse.java new file mode 100644 index 000000000000..53f28f0c68f7 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedsResponse.java @@ -0,0 +1,1115 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Response message for ListFeed.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ListFeedsResponse} + */ +@com.google.protobuf.Generated +public final class ListFeedsResponse extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.ListFeedsResponse) + ListFeedsResponseOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "ListFeedsResponse"); + } + + // Use ListFeedsResponse.newBuilder() to construct. + private ListFeedsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ListFeedsResponse() { + feeds_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ListFeedsResponse.class, + com.google.cloud.chronicle.v1.ListFeedsResponse.Builder.class); + } + + public static final int FEEDS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List feeds_; + + /** + * + * + *
+   * List of feeds.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + @java.lang.Override + public java.util.List getFeedsList() { + return feeds_; + } + + /** + * + * + *
+   * List of feeds.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + @java.lang.Override + public java.util.List + getFeedsOrBuilderList() { + return feeds_; + } + + /** + * + * + *
+   * List of feeds.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + @java.lang.Override + public int getFeedsCount() { + return feeds_.size(); + } + + /** + * + * + *
+   * List of feeds.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.Feed getFeeds(int index) { + return feeds_.get(index); + } + + /** + * + * + *
+   * List of feeds.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedOrBuilder getFeedsOrBuilder(int index) { + return feeds_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object nextPageToken_ = ""; + + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + 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(); + nextPageToken_ = s; + return s; + } + } + + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = 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 { + for (int i = 0; i < feeds_.size(); i++) { + output.writeMessage(1, feeds_.get(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < feeds_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, feeds_.get(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); + } + 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.cloud.chronicle.v1.ListFeedsResponse)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.ListFeedsResponse other = + (com.google.cloud.chronicle.v1.ListFeedsResponse) obj; + + if (!getFeedsList().equals(other.getFeedsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) 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(); + if (getFeedsCount() > 0) { + hash = (37 * hash) + FEEDS_FIELD_NUMBER; + hash = (53 * hash) + getFeedsList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.ListFeedsResponse parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ListFeedsResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListFeedsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ListFeedsResponse 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.cloud.chronicle.v1.ListFeedsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ListFeedsResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListFeedsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ListFeedsResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListFeedsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ListFeedsResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListFeedsResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ListFeedsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.ListFeedsResponse 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Response message for ListFeed.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ListFeedsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.ListFeedsResponse) + com.google.cloud.chronicle.v1.ListFeedsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ListFeedsResponse.class, + com.google.cloud.chronicle.v1.ListFeedsResponse.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.ListFeedsResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (feedsBuilder_ == null) { + feeds_ = java.util.Collections.emptyList(); + } else { + feeds_ = null; + feedsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + nextPageToken_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListFeedsResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListFeedsResponse getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.ListFeedsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListFeedsResponse build() { + com.google.cloud.chronicle.v1.ListFeedsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListFeedsResponse buildPartial() { + com.google.cloud.chronicle.v1.ListFeedsResponse result = + new com.google.cloud.chronicle.v1.ListFeedsResponse(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.chronicle.v1.ListFeedsResponse result) { + if (feedsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + feeds_ = java.util.Collections.unmodifiableList(feeds_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.feeds_ = feeds_; + } else { + result.feeds_ = feedsBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.chronicle.v1.ListFeedsResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.nextPageToken_ = nextPageToken_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.ListFeedsResponse) { + return mergeFrom((com.google.cloud.chronicle.v1.ListFeedsResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.ListFeedsResponse other) { + if (other == com.google.cloud.chronicle.v1.ListFeedsResponse.getDefaultInstance()) + return this; + if (feedsBuilder_ == null) { + if (!other.feeds_.isEmpty()) { + if (feeds_.isEmpty()) { + feeds_ = other.feeds_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureFeedsIsMutable(); + feeds_.addAll(other.feeds_); + } + onChanged(); + } + } else { + if (!other.feeds_.isEmpty()) { + if (feedsBuilder_.isEmpty()) { + feedsBuilder_.dispose(); + feedsBuilder_ = null; + feeds_ = other.feeds_; + bitField0_ = (bitField0_ & ~0x00000001); + feedsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetFeedsFieldBuilder() + : null; + } else { + feedsBuilder_.addAllMessages(other.feeds_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.cloud.chronicle.v1.Feed m = + input.readMessage( + com.google.cloud.chronicle.v1.Feed.parser(), extensionRegistry); + if (feedsBuilder_ == null) { + ensureFeedsIsMutable(); + feeds_.add(m); + } else { + feedsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.util.List feeds_ = + java.util.Collections.emptyList(); + + private void ensureFeedsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + feeds_ = new java.util.ArrayList(feeds_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.Feed, + com.google.cloud.chronicle.v1.Feed.Builder, + com.google.cloud.chronicle.v1.FeedOrBuilder> + feedsBuilder_; + + /** + * + * + *
+     * List of feeds.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + public java.util.List getFeedsList() { + if (feedsBuilder_ == null) { + return java.util.Collections.unmodifiableList(feeds_); + } else { + return feedsBuilder_.getMessageList(); + } + } + + /** + * + * + *
+     * List of feeds.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + public int getFeedsCount() { + if (feedsBuilder_ == null) { + return feeds_.size(); + } else { + return feedsBuilder_.getCount(); + } + } + + /** + * + * + *
+     * List of feeds.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + public com.google.cloud.chronicle.v1.Feed getFeeds(int index) { + if (feedsBuilder_ == null) { + return feeds_.get(index); + } else { + return feedsBuilder_.getMessage(index); + } + } + + /** + * + * + *
+     * List of feeds.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + public Builder setFeeds(int index, com.google.cloud.chronicle.v1.Feed value) { + if (feedsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFeedsIsMutable(); + feeds_.set(index, value); + onChanged(); + } else { + feedsBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * List of feeds.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + public Builder setFeeds(int index, com.google.cloud.chronicle.v1.Feed.Builder builderForValue) { + if (feedsBuilder_ == null) { + ensureFeedsIsMutable(); + feeds_.set(index, builderForValue.build()); + onChanged(); + } else { + feedsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * List of feeds.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + public Builder addFeeds(com.google.cloud.chronicle.v1.Feed value) { + if (feedsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFeedsIsMutable(); + feeds_.add(value); + onChanged(); + } else { + feedsBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+     * List of feeds.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + public Builder addFeeds(int index, com.google.cloud.chronicle.v1.Feed value) { + if (feedsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFeedsIsMutable(); + feeds_.add(index, value); + onChanged(); + } else { + feedsBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * List of feeds.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + public Builder addFeeds(com.google.cloud.chronicle.v1.Feed.Builder builderForValue) { + if (feedsBuilder_ == null) { + ensureFeedsIsMutable(); + feeds_.add(builderForValue.build()); + onChanged(); + } else { + feedsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * List of feeds.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + public Builder addFeeds(int index, com.google.cloud.chronicle.v1.Feed.Builder builderForValue) { + if (feedsBuilder_ == null) { + ensureFeedsIsMutable(); + feeds_.add(index, builderForValue.build()); + onChanged(); + } else { + feedsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * List of feeds.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + public Builder addAllFeeds( + java.lang.Iterable values) { + if (feedsBuilder_ == null) { + ensureFeedsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, feeds_); + onChanged(); + } else { + feedsBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+     * List of feeds.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + public Builder clearFeeds() { + if (feedsBuilder_ == null) { + feeds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + feedsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * List of feeds.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + public Builder removeFeeds(int index) { + if (feedsBuilder_ == null) { + ensureFeedsIsMutable(); + feeds_.remove(index); + onChanged(); + } else { + feedsBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+     * List of feeds.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + public com.google.cloud.chronicle.v1.Feed.Builder getFeedsBuilder(int index) { + return internalGetFeedsFieldBuilder().getBuilder(index); + } + + /** + * + * + *
+     * List of feeds.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + public com.google.cloud.chronicle.v1.FeedOrBuilder getFeedsOrBuilder(int index) { + if (feedsBuilder_ == null) { + return feeds_.get(index); + } else { + return feedsBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
+     * List of feeds.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + public java.util.List + getFeedsOrBuilderList() { + if (feedsBuilder_ != null) { + return feedsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(feeds_); + } + } + + /** + * + * + *
+     * List of feeds.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + public com.google.cloud.chronicle.v1.Feed.Builder addFeedsBuilder() { + return internalGetFeedsFieldBuilder() + .addBuilder(com.google.cloud.chronicle.v1.Feed.getDefaultInstance()); + } + + /** + * + * + *
+     * List of feeds.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + public com.google.cloud.chronicle.v1.Feed.Builder addFeedsBuilder(int index) { + return internalGetFeedsFieldBuilder() + .addBuilder(index, com.google.cloud.chronicle.v1.Feed.getDefaultInstance()); + } + + /** + * + * + *
+     * List of feeds.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + public java.util.List getFeedsBuilderList() { + return internalGetFeedsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.Feed, + com.google.cloud.chronicle.v1.Feed.Builder, + com.google.cloud.chronicle.v1.FeedOrBuilder> + internalGetFeedsFieldBuilder() { + if (feedsBuilder_ == null) { + feedsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.Feed, + com.google.cloud.chronicle.v1.Feed.Builder, + com.google.cloud.chronicle.v1.FeedOrBuilder>( + feeds_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + feeds_ = null; + } + return feedsBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + nextPageToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + nextPageToken_ = getDefaultInstance().getNextPageToken(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.ListFeedsResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.ListFeedsResponse) + private static final com.google.cloud.chronicle.v1.ListFeedsResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.ListFeedsResponse(); + } + + public static com.google.cloud.chronicle.v1.ListFeedsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFeedsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListFeedsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedsResponseOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedsResponseOrBuilder.java new file mode 100644 index 000000000000..3dc3e2338f7a --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListFeedsResponseOrBuilder.java @@ -0,0 +1,111 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface ListFeedsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.ListFeedsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * List of feeds.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + java.util.List getFeedsList(); + + /** + * + * + *
+   * List of feeds.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + com.google.cloud.chronicle.v1.Feed getFeeds(int index); + + /** + * + * + *
+   * List of feeds.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + int getFeedsCount(); + + /** + * + * + *
+   * List of feeds.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + java.util.List getFeedsOrBuilderList(); + + /** + * + * + *
+   * List of feeds.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.Feed feeds = 1; + */ + com.google.cloud.chronicle.v1.FeedOrBuilder getFeedsOrBuilder(int index); + + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListLogTypeSchemasRequest.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListLogTypeSchemasRequest.java new file mode 100644 index 000000000000..858f21dbfa40 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListLogTypeSchemasRequest.java @@ -0,0 +1,932 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * ListLogTypeSchemas request message. Note that feed schemas do not contain
+ * customer data, so are not scoped to a particular customer.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ListLogTypeSchemasRequest} + */ +@com.google.protobuf.Generated +public final class ListLogTypeSchemasRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.ListLogTypeSchemasRequest) + ListLogTypeSchemasRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "ListLogTypeSchemasRequest"); + } + + // Use ListLogTypeSchemasRequest.newBuilder() to construct. + private ListLogTypeSchemasRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ListLogTypeSchemasRequest() { + parent_ = ""; + pageToken_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListLogTypeSchemasRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListLogTypeSchemasRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest.class, + com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + + /** + * + * + *
+   * Required. The parent, which owns this collection of LogTypeSchemas.
+   * Format: Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + 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(); + parent_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. The parent, which owns this collection of LogTypeSchemas.
+   * Format: Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 2; + private int pageSize_ = 0; + + /** + * + * + *
+   * The maximum number of LogTypeSchemas to return. The service may return
+   * fewer than this value.
+   * If unspecified, at most 5000 LogTypeSchemas will be returned.
+   * The maximum value is 10000; values above 10000 will be coerced to 10000.
+   * 
+ * + * int32 page_size = 2; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object pageToken_ = ""; + + /** + * + * + *
+   * A page token, received from a previous `ListLogTypeSchemas` call. Provide
+   * this to retrieve the subsequent page.
+   * 
+ * + * string page_token = 3; + * + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + 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(); + pageToken_ = s; + return s; + } + } + + /** + * + * + *
+   * A page token, received from a previous `ListLogTypeSchemas` call. Provide
+   * this to retrieve the subsequent page.
+   * 
+ * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = 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.GeneratedMessage.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); + } + if (pageSize_ != 0) { + output.writeInt32(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, pageToken_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, pageToken_); + } + 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.cloud.chronicle.v1.ListLogTypeSchemasRequest)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest other = + (com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) 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) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest 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.cloud.chronicle.v1.ListLogTypeSchemasRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.ListLogTypeSchemasRequest 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * ListLogTypeSchemas request message. Note that feed schemas do not contain
+   * customer data, so are not scoped to a particular customer.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ListLogTypeSchemasRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.ListLogTypeSchemasRequest) + com.google.cloud.chronicle.v1.ListLogTypeSchemasRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListLogTypeSchemasRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListLogTypeSchemasRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest.class, + com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + pageSize_ = 0; + pageToken_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListLogTypeSchemasRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest build() { + com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest buildPartial() { + com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest result = + new com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.pageSize_ = pageSize_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.pageToken_ = pageToken_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest) { + return mergeFrom((com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest other) { + if (other == com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object parent_ = ""; + + /** + * + * + *
+     * Required. The parent, which owns this collection of LogTypeSchemas.
+     * Format: Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. The parent, which owns this collection of LogTypeSchemas.
+     * Format: Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. The parent, which owns this collection of LogTypeSchemas.
+     * Format: Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The parent, which owns this collection of LogTypeSchemas.
+     * Format: Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + parent_ = getDefaultInstance().getParent(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The parent, which owns this collection of LogTypeSchemas.
+     * Format: Format:
+     * projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int pageSize_; + + /** + * + * + *
+     * The maximum number of LogTypeSchemas to return. The service may return
+     * fewer than this value.
+     * If unspecified, at most 5000 LogTypeSchemas will be returned.
+     * The maximum value is 10000; values above 10000 will be coerced to 10000.
+     * 
+ * + * int32 page_size = 2; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + /** + * + * + *
+     * The maximum number of LogTypeSchemas to return. The service may return
+     * fewer than this value.
+     * If unspecified, at most 5000 LogTypeSchemas will be returned.
+     * The maximum value is 10000; values above 10000 will be coerced to 10000.
+     * 
+ * + * int32 page_size = 2; + * + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * The maximum number of LogTypeSchemas to return. The service may return
+     * fewer than this value.
+     * If unspecified, at most 5000 LogTypeSchemas will be returned.
+     * The maximum value is 10000; values above 10000 will be coerced to 10000.
+     * 
+ * + * int32 page_size = 2; + * + * @return This builder for chaining. + */ + public Builder clearPageSize() { + bitField0_ = (bitField0_ & ~0x00000002); + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + + /** + * + * + *
+     * A page token, received from a previous `ListLogTypeSchemas` call. Provide
+     * this to retrieve the subsequent page.
+     * 
+ * + * string page_token = 3; + * + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * A page token, received from a previous `ListLogTypeSchemas` call. Provide
+     * this to retrieve the subsequent page.
+     * 
+ * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * A page token, received from a previous `ListLogTypeSchemas` call. Provide
+     * this to retrieve the subsequent page.
+     * 
+ * + * string page_token = 3; + * + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + pageToken_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * A page token, received from a previous `ListLogTypeSchemas` call. Provide
+     * this to retrieve the subsequent page.
+     * 
+ * + * string page_token = 3; + * + * @return This builder for chaining. + */ + public Builder clearPageToken() { + pageToken_ = getDefaultInstance().getPageToken(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * A page token, received from a previous `ListLogTypeSchemas` call. Provide
+     * this to retrieve the subsequent page.
+     * 
+ * + * string page_token = 3; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.ListLogTypeSchemasRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.ListLogTypeSchemasRequest) + private static final com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest(); + } + + public static com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListLogTypeSchemasRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListLogTypeSchemasRequestOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListLogTypeSchemasRequestOrBuilder.java new file mode 100644 index 000000000000..f5e934703167 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListLogTypeSchemasRequestOrBuilder.java @@ -0,0 +1,106 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface ListLogTypeSchemasRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.ListLogTypeSchemasRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The parent, which owns this collection of LogTypeSchemas.
+   * Format: Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + + /** + * + * + *
+   * Required. The parent, which owns this collection of LogTypeSchemas.
+   * Format: Format:
+   * projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * The maximum number of LogTypeSchemas to return. The service may return
+   * fewer than this value.
+   * If unspecified, at most 5000 LogTypeSchemas will be returned.
+   * The maximum value is 10000; values above 10000 will be coerced to 10000.
+   * 
+ * + * int32 page_size = 2; + * + * @return The pageSize. + */ + int getPageSize(); + + /** + * + * + *
+   * A page token, received from a previous `ListLogTypeSchemas` call. Provide
+   * this to retrieve the subsequent page.
+   * 
+ * + * string page_token = 3; + * + * @return The pageToken. + */ + java.lang.String getPageToken(); + + /** + * + * + *
+   * A page token, received from a previous `ListLogTypeSchemas` call. Provide
+   * this to retrieve the subsequent page.
+   * 
+ * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString getPageTokenBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListLogTypeSchemasResponse.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListLogTypeSchemasResponse.java new file mode 100644 index 000000000000..5a81f07eb7d4 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListLogTypeSchemasResponse.java @@ -0,0 +1,1126 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * ListLogTypeSchemas response message.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ListLogTypeSchemasResponse} + */ +@com.google.protobuf.Generated +public final class ListLogTypeSchemasResponse extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.ListLogTypeSchemasResponse) + ListLogTypeSchemasResponseOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "ListLogTypeSchemasResponse"); + } + + // Use ListLogTypeSchemasResponse.newBuilder() to construct. + private ListLogTypeSchemasResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ListLogTypeSchemasResponse() { + logTypeSchemas_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListLogTypeSchemasResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListLogTypeSchemasResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse.class, + com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse.Builder.class); + } + + public static final int LOG_TYPE_SCHEMAS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List logTypeSchemas_; + + /** + * + * + *
+   * LogTypeSchemas.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + @java.lang.Override + public java.util.List getLogTypeSchemasList() { + return logTypeSchemas_; + } + + /** + * + * + *
+   * LogTypeSchemas.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + @java.lang.Override + public java.util.List + getLogTypeSchemasOrBuilderList() { + return logTypeSchemas_; + } + + /** + * + * + *
+   * LogTypeSchemas.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + @java.lang.Override + public int getLogTypeSchemasCount() { + return logTypeSchemas_.size(); + } + + /** + * + * + *
+   * LogTypeSchemas.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema getLogTypeSchemas(int index) { + return logTypeSchemas_.get(index); + } + + /** + * + * + *
+   * LogTypeSchemas.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchemaOrBuilder getLogTypeSchemasOrBuilder( + int index) { + return logTypeSchemas_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object nextPageToken_ = ""; + + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + 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(); + nextPageToken_ = s; + return s; + } + } + + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = 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 { + for (int i = 0; i < logTypeSchemas_.size(); i++) { + output.writeMessage(1, logTypeSchemas_.get(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < logTypeSchemas_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, logTypeSchemas_.get(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); + } + 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.cloud.chronicle.v1.ListLogTypeSchemasResponse)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse other = + (com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse) obj; + + if (!getLogTypeSchemasList().equals(other.getLogTypeSchemasList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) 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(); + if (getLogTypeSchemasCount() > 0) { + hash = (37 * hash) + LOG_TYPE_SCHEMAS_FIELD_NUMBER; + hash = (53 * hash) + getLogTypeSchemasList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse 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.cloud.chronicle.v1.ListLogTypeSchemasResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.ListLogTypeSchemasResponse 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * ListLogTypeSchemas response message.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ListLogTypeSchemasResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.ListLogTypeSchemasResponse) + com.google.cloud.chronicle.v1.ListLogTypeSchemasResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListLogTypeSchemasResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListLogTypeSchemasResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse.class, + com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (logTypeSchemasBuilder_ == null) { + logTypeSchemas_ = java.util.Collections.emptyList(); + } else { + logTypeSchemas_ = null; + logTypeSchemasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + nextPageToken_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ListLogTypeSchemasResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse build() { + com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse buildPartial() { + com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse result = + new com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse result) { + if (logTypeSchemasBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + logTypeSchemas_ = java.util.Collections.unmodifiableList(logTypeSchemas_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.logTypeSchemas_ = logTypeSchemas_; + } else { + result.logTypeSchemas_ = logTypeSchemasBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.nextPageToken_ = nextPageToken_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse) { + return mergeFrom((com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse other) { + if (other == com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse.getDefaultInstance()) + return this; + if (logTypeSchemasBuilder_ == null) { + if (!other.logTypeSchemas_.isEmpty()) { + if (logTypeSchemas_.isEmpty()) { + logTypeSchemas_ = other.logTypeSchemas_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureLogTypeSchemasIsMutable(); + logTypeSchemas_.addAll(other.logTypeSchemas_); + } + onChanged(); + } + } else { + if (!other.logTypeSchemas_.isEmpty()) { + if (logTypeSchemasBuilder_.isEmpty()) { + logTypeSchemasBuilder_.dispose(); + logTypeSchemasBuilder_ = null; + logTypeSchemas_ = other.logTypeSchemas_; + bitField0_ = (bitField0_ & ~0x00000001); + logTypeSchemasBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetLogTypeSchemasFieldBuilder() + : null; + } else { + logTypeSchemasBuilder_.addAllMessages(other.logTypeSchemas_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.cloud.chronicle.v1.LogTypeSchema m = + input.readMessage( + com.google.cloud.chronicle.v1.LogTypeSchema.parser(), extensionRegistry); + if (logTypeSchemasBuilder_ == null) { + ensureLogTypeSchemasIsMutable(); + logTypeSchemas_.add(m); + } else { + logTypeSchemasBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.util.List logTypeSchemas_ = + java.util.Collections.emptyList(); + + private void ensureLogTypeSchemasIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + logTypeSchemas_ = + new java.util.ArrayList(logTypeSchemas_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.LogTypeSchema, + com.google.cloud.chronicle.v1.LogTypeSchema.Builder, + com.google.cloud.chronicle.v1.LogTypeSchemaOrBuilder> + logTypeSchemasBuilder_; + + /** + * + * + *
+     * LogTypeSchemas.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + public java.util.List getLogTypeSchemasList() { + if (logTypeSchemasBuilder_ == null) { + return java.util.Collections.unmodifiableList(logTypeSchemas_); + } else { + return logTypeSchemasBuilder_.getMessageList(); + } + } + + /** + * + * + *
+     * LogTypeSchemas.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + public int getLogTypeSchemasCount() { + if (logTypeSchemasBuilder_ == null) { + return logTypeSchemas_.size(); + } else { + return logTypeSchemasBuilder_.getCount(); + } + } + + /** + * + * + *
+     * LogTypeSchemas.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + public com.google.cloud.chronicle.v1.LogTypeSchema getLogTypeSchemas(int index) { + if (logTypeSchemasBuilder_ == null) { + return logTypeSchemas_.get(index); + } else { + return logTypeSchemasBuilder_.getMessage(index); + } + } + + /** + * + * + *
+     * LogTypeSchemas.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + public Builder setLogTypeSchemas(int index, com.google.cloud.chronicle.v1.LogTypeSchema value) { + if (logTypeSchemasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureLogTypeSchemasIsMutable(); + logTypeSchemas_.set(index, value); + onChanged(); + } else { + logTypeSchemasBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * LogTypeSchemas.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + public Builder setLogTypeSchemas( + int index, com.google.cloud.chronicle.v1.LogTypeSchema.Builder builderForValue) { + if (logTypeSchemasBuilder_ == null) { + ensureLogTypeSchemasIsMutable(); + logTypeSchemas_.set(index, builderForValue.build()); + onChanged(); + } else { + logTypeSchemasBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * LogTypeSchemas.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + public Builder addLogTypeSchemas(com.google.cloud.chronicle.v1.LogTypeSchema value) { + if (logTypeSchemasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureLogTypeSchemasIsMutable(); + logTypeSchemas_.add(value); + onChanged(); + } else { + logTypeSchemasBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+     * LogTypeSchemas.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + public Builder addLogTypeSchemas(int index, com.google.cloud.chronicle.v1.LogTypeSchema value) { + if (logTypeSchemasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureLogTypeSchemasIsMutable(); + logTypeSchemas_.add(index, value); + onChanged(); + } else { + logTypeSchemasBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * LogTypeSchemas.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + public Builder addLogTypeSchemas( + com.google.cloud.chronicle.v1.LogTypeSchema.Builder builderForValue) { + if (logTypeSchemasBuilder_ == null) { + ensureLogTypeSchemasIsMutable(); + logTypeSchemas_.add(builderForValue.build()); + onChanged(); + } else { + logTypeSchemasBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * LogTypeSchemas.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + public Builder addLogTypeSchemas( + int index, com.google.cloud.chronicle.v1.LogTypeSchema.Builder builderForValue) { + if (logTypeSchemasBuilder_ == null) { + ensureLogTypeSchemasIsMutable(); + logTypeSchemas_.add(index, builderForValue.build()); + onChanged(); + } else { + logTypeSchemasBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * LogTypeSchemas.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + public Builder addAllLogTypeSchemas( + java.lang.Iterable values) { + if (logTypeSchemasBuilder_ == null) { + ensureLogTypeSchemasIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, logTypeSchemas_); + onChanged(); + } else { + logTypeSchemasBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+     * LogTypeSchemas.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + public Builder clearLogTypeSchemas() { + if (logTypeSchemasBuilder_ == null) { + logTypeSchemas_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + logTypeSchemasBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * LogTypeSchemas.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + public Builder removeLogTypeSchemas(int index) { + if (logTypeSchemasBuilder_ == null) { + ensureLogTypeSchemasIsMutable(); + logTypeSchemas_.remove(index); + onChanged(); + } else { + logTypeSchemasBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+     * LogTypeSchemas.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.Builder getLogTypeSchemasBuilder(int index) { + return internalGetLogTypeSchemasFieldBuilder().getBuilder(index); + } + + /** + * + * + *
+     * LogTypeSchemas.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + public com.google.cloud.chronicle.v1.LogTypeSchemaOrBuilder getLogTypeSchemasOrBuilder( + int index) { + if (logTypeSchemasBuilder_ == null) { + return logTypeSchemas_.get(index); + } else { + return logTypeSchemasBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
+     * LogTypeSchemas.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + public java.util.List + getLogTypeSchemasOrBuilderList() { + if (logTypeSchemasBuilder_ != null) { + return logTypeSchemasBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(logTypeSchemas_); + } + } + + /** + * + * + *
+     * LogTypeSchemas.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.Builder addLogTypeSchemasBuilder() { + return internalGetLogTypeSchemasFieldBuilder() + .addBuilder(com.google.cloud.chronicle.v1.LogTypeSchema.getDefaultInstance()); + } + + /** + * + * + *
+     * LogTypeSchemas.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.Builder addLogTypeSchemasBuilder(int index) { + return internalGetLogTypeSchemasFieldBuilder() + .addBuilder(index, com.google.cloud.chronicle.v1.LogTypeSchema.getDefaultInstance()); + } + + /** + * + * + *
+     * LogTypeSchemas.
+     * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + public java.util.List + getLogTypeSchemasBuilderList() { + return internalGetLogTypeSchemasFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.LogTypeSchema, + com.google.cloud.chronicle.v1.LogTypeSchema.Builder, + com.google.cloud.chronicle.v1.LogTypeSchemaOrBuilder> + internalGetLogTypeSchemasFieldBuilder() { + if (logTypeSchemasBuilder_ == null) { + logTypeSchemasBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.LogTypeSchema, + com.google.cloud.chronicle.v1.LogTypeSchema.Builder, + com.google.cloud.chronicle.v1.LogTypeSchemaOrBuilder>( + logTypeSchemas_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + logTypeSchemas_ = null; + } + return logTypeSchemasBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + nextPageToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + nextPageToken_ = getDefaultInstance().getNextPageToken(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.ListLogTypeSchemasResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.ListLogTypeSchemasResponse) + private static final com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse(); + } + + public static com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListLogTypeSchemasResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListLogTypeSchemasResponseOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListLogTypeSchemasResponseOrBuilder.java new file mode 100644 index 000000000000..74550067d572 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ListLogTypeSchemasResponseOrBuilder.java @@ -0,0 +1,112 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface ListLogTypeSchemasResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.ListLogTypeSchemasResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * LogTypeSchemas.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + java.util.List getLogTypeSchemasList(); + + /** + * + * + *
+   * LogTypeSchemas.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + com.google.cloud.chronicle.v1.LogTypeSchema getLogTypeSchemas(int index); + + /** + * + * + *
+   * LogTypeSchemas.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + int getLogTypeSchemasCount(); + + /** + * + * + *
+   * LogTypeSchemas.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + java.util.List + getLogTypeSchemasOrBuilderList(); + + /** + * + * + *
+   * LogTypeSchemas.
+   * 
+ * + * repeated .google.cloud.chronicle.v1.LogTypeSchema log_type_schemas = 1; + */ + com.google.cloud.chronicle.v1.LogTypeSchemaOrBuilder getLogTypeSchemasOrBuilder(int index); + + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/LogTypeSchema.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/LogTypeSchema.java new file mode 100644 index 000000000000..e4776a91a0a3 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/LogTypeSchema.java @@ -0,0 +1,8565 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Metadata that pertains to a log type in the context of Feeds, and is useful
+ * for building interfaces to construct valid Feed messages.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.LogTypeSchema} + */ +@com.google.protobuf.Generated +public final class LogTypeSchema extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.LogTypeSchema) + LogTypeSchemaOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "LogTypeSchema"); + } + + // Use LogTypeSchema.newBuilder() to construct. + private LogTypeSchema(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private LogTypeSchema() { + name_ = ""; + displayName_ = ""; + logType_ = ""; + supportingDocumentation_ = ""; + detailsFieldSchemas_ = java.util.Collections.emptyList(); + detailsFieldSchemaAlternatives_ = java.util.Collections.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_LogTypeSchema_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_LogTypeSchema_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.LogTypeSchema.class, + com.google.cloud.chronicle.v1.LogTypeSchema.Builder.class); + } + + public interface DetailsFieldSchemaAlternativeOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * The schemas for each alternative set of fields.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + java.util.List + getDetailsFieldSchemaSetsList(); + + /** + * + * + *
+     * The schemas for each alternative set of fields.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet getDetailsFieldSchemaSets( + int index); + + /** + * + * + *
+     * The schemas for each alternative set of fields.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + int getDetailsFieldSchemaSetsCount(); + + /** + * + * + *
+     * The schemas for each alternative set of fields.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + java.util.List< + ? extends com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSetOrBuilder> + getDetailsFieldSchemaSetsOrBuilderList(); + + /** + * + * + *
+     * The schemas for each alternative set of fields.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSetOrBuilder + getDetailsFieldSchemaSetsOrBuilder(int index); + } + + /** + * + * + *
+   * A collection of `details` field schema sets. The user must provide values
+   * for only one set of fields within an alternative.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative} + */ + public static final class DetailsFieldSchemaAlternative + extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative) + DetailsFieldSchemaAlternativeOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "DetailsFieldSchemaAlternative"); + } + + // Use DetailsFieldSchemaAlternative.newBuilder() to construct. + private DetailsFieldSchemaAlternative(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private DetailsFieldSchemaAlternative() { + detailsFieldSchemaSets_ = java.util.Collections.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_LogTypeSchema_DetailsFieldSchemaAlternative_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_LogTypeSchema_DetailsFieldSchemaAlternative_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative.class, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative.Builder + .class); + } + + public static final int DETAILS_FIELD_SCHEMA_SETS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List + detailsFieldSchemaSets_; + + /** + * + * + *
+     * The schemas for each alternative set of fields.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + @java.lang.Override + public java.util.List + getDetailsFieldSchemaSetsList() { + return detailsFieldSchemaSets_; + } + + /** + * + * + *
+     * The schemas for each alternative set of fields.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + @java.lang.Override + public java.util.List< + ? extends com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSetOrBuilder> + getDetailsFieldSchemaSetsOrBuilderList() { + return detailsFieldSchemaSets_; + } + + /** + * + * + *
+     * The schemas for each alternative set of fields.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + @java.lang.Override + public int getDetailsFieldSchemaSetsCount() { + return detailsFieldSchemaSets_.size(); + } + + /** + * + * + *
+     * The schemas for each alternative set of fields.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet + getDetailsFieldSchemaSets(int index) { + return detailsFieldSchemaSets_.get(index); + } + + /** + * + * + *
+     * The schemas for each alternative set of fields.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSetOrBuilder + getDetailsFieldSchemaSetsOrBuilder(int index) { + return detailsFieldSchemaSets_.get(index); + } + + 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 { + for (int i = 0; i < detailsFieldSchemaSets_.size(); i++) { + output.writeMessage(1, detailsFieldSchemaSets_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < detailsFieldSchemaSets_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, detailsFieldSchemaSets_.get(i)); + } + 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.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative other = + (com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative) obj; + + if (!getDetailsFieldSchemaSetsList().equals(other.getDetailsFieldSchemaSetsList())) + 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(); + if (getDetailsFieldSchemaSetsCount() > 0) { + hash = (37 * hash) + DETAILS_FIELD_SCHEMA_SETS_FIELD_NUMBER; + hash = (53 * hash) + getDetailsFieldSchemaSetsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative + 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.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * A collection of `details` field schema sets. The user must provide values
+     * for only one set of fields within an alternative.
+     * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative) + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternativeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_LogTypeSchema_DetailsFieldSchemaAlternative_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_LogTypeSchema_DetailsFieldSchemaAlternative_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative.class, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative.Builder + .class); + } + + // Construct using + // com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (detailsFieldSchemaSetsBuilder_ == null) { + detailsFieldSchemaSets_ = java.util.Collections.emptyList(); + } else { + detailsFieldSchemaSets_ = null; + detailsFieldSchemaSetsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_LogTypeSchema_DetailsFieldSchemaAlternative_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative + getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative build() { + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative + buildPartial() { + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative result = + new com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative result) { + if (detailsFieldSchemaSetsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + detailsFieldSchemaSets_ = + java.util.Collections.unmodifiableList(detailsFieldSchemaSets_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.detailsFieldSchemaSets_ = detailsFieldSchemaSets_; + } else { + result.detailsFieldSchemaSets_ = detailsFieldSchemaSetsBuilder_.build(); + } + } + + private void buildPartial0( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative) { + return mergeFrom( + (com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative other) { + if (other + == com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative + .getDefaultInstance()) return this; + if (detailsFieldSchemaSetsBuilder_ == null) { + if (!other.detailsFieldSchemaSets_.isEmpty()) { + if (detailsFieldSchemaSets_.isEmpty()) { + detailsFieldSchemaSets_ = other.detailsFieldSchemaSets_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureDetailsFieldSchemaSetsIsMutable(); + detailsFieldSchemaSets_.addAll(other.detailsFieldSchemaSets_); + } + onChanged(); + } + } else { + if (!other.detailsFieldSchemaSets_.isEmpty()) { + if (detailsFieldSchemaSetsBuilder_.isEmpty()) { + detailsFieldSchemaSetsBuilder_.dispose(); + detailsFieldSchemaSetsBuilder_ = null; + detailsFieldSchemaSets_ = other.detailsFieldSchemaSets_; + bitField0_ = (bitField0_ & ~0x00000001); + detailsFieldSchemaSetsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetDetailsFieldSchemaSetsFieldBuilder() + : null; + } else { + detailsFieldSchemaSetsBuilder_.addAllMessages(other.detailsFieldSchemaSets_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet m = + input.readMessage( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet + .parser(), + extensionRegistry); + if (detailsFieldSchemaSetsBuilder_ == null) { + ensureDetailsFieldSchemaSetsIsMutable(); + detailsFieldSchemaSets_.add(m); + } else { + detailsFieldSchemaSetsBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.util.List + detailsFieldSchemaSets_ = java.util.Collections.emptyList(); + + private void ensureDetailsFieldSchemaSetsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + detailsFieldSchemaSets_ = + new java.util.ArrayList< + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet>( + detailsFieldSchemaSets_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet.Builder, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSetOrBuilder> + detailsFieldSchemaSetsBuilder_; + + /** + * + * + *
+       * The schemas for each alternative set of fields.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + public java.util.List + getDetailsFieldSchemaSetsList() { + if (detailsFieldSchemaSetsBuilder_ == null) { + return java.util.Collections.unmodifiableList(detailsFieldSchemaSets_); + } else { + return detailsFieldSchemaSetsBuilder_.getMessageList(); + } + } + + /** + * + * + *
+       * The schemas for each alternative set of fields.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + public int getDetailsFieldSchemaSetsCount() { + if (detailsFieldSchemaSetsBuilder_ == null) { + return detailsFieldSchemaSets_.size(); + } else { + return detailsFieldSchemaSetsBuilder_.getCount(); + } + } + + /** + * + * + *
+       * The schemas for each alternative set of fields.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet + getDetailsFieldSchemaSets(int index) { + if (detailsFieldSchemaSetsBuilder_ == null) { + return detailsFieldSchemaSets_.get(index); + } else { + return detailsFieldSchemaSetsBuilder_.getMessage(index); + } + } + + /** + * + * + *
+       * The schemas for each alternative set of fields.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + public Builder setDetailsFieldSchemaSets( + int index, com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet value) { + if (detailsFieldSchemaSetsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDetailsFieldSchemaSetsIsMutable(); + detailsFieldSchemaSets_.set(index, value); + onChanged(); + } else { + detailsFieldSchemaSetsBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+       * The schemas for each alternative set of fields.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + public Builder setDetailsFieldSchemaSets( + int index, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet.Builder + builderForValue) { + if (detailsFieldSchemaSetsBuilder_ == null) { + ensureDetailsFieldSchemaSetsIsMutable(); + detailsFieldSchemaSets_.set(index, builderForValue.build()); + onChanged(); + } else { + detailsFieldSchemaSetsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+       * The schemas for each alternative set of fields.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + public Builder addDetailsFieldSchemaSets( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet value) { + if (detailsFieldSchemaSetsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDetailsFieldSchemaSetsIsMutable(); + detailsFieldSchemaSets_.add(value); + onChanged(); + } else { + detailsFieldSchemaSetsBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+       * The schemas for each alternative set of fields.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + public Builder addDetailsFieldSchemaSets( + int index, com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet value) { + if (detailsFieldSchemaSetsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDetailsFieldSchemaSetsIsMutable(); + detailsFieldSchemaSets_.add(index, value); + onChanged(); + } else { + detailsFieldSchemaSetsBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+       * The schemas for each alternative set of fields.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + public Builder addDetailsFieldSchemaSets( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet.Builder + builderForValue) { + if (detailsFieldSchemaSetsBuilder_ == null) { + ensureDetailsFieldSchemaSetsIsMutable(); + detailsFieldSchemaSets_.add(builderForValue.build()); + onChanged(); + } else { + detailsFieldSchemaSetsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+       * The schemas for each alternative set of fields.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + public Builder addDetailsFieldSchemaSets( + int index, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet.Builder + builderForValue) { + if (detailsFieldSchemaSetsBuilder_ == null) { + ensureDetailsFieldSchemaSetsIsMutable(); + detailsFieldSchemaSets_.add(index, builderForValue.build()); + onChanged(); + } else { + detailsFieldSchemaSetsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+       * The schemas for each alternative set of fields.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + public Builder addAllDetailsFieldSchemaSets( + java.lang.Iterable< + ? extends com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet> + values) { + if (detailsFieldSchemaSetsBuilder_ == null) { + ensureDetailsFieldSchemaSetsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, detailsFieldSchemaSets_); + onChanged(); + } else { + detailsFieldSchemaSetsBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+       * The schemas for each alternative set of fields.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + public Builder clearDetailsFieldSchemaSets() { + if (detailsFieldSchemaSetsBuilder_ == null) { + detailsFieldSchemaSets_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + detailsFieldSchemaSetsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+       * The schemas for each alternative set of fields.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + public Builder removeDetailsFieldSchemaSets(int index) { + if (detailsFieldSchemaSetsBuilder_ == null) { + ensureDetailsFieldSchemaSetsIsMutable(); + detailsFieldSchemaSets_.remove(index); + onChanged(); + } else { + detailsFieldSchemaSetsBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+       * The schemas for each alternative set of fields.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet.Builder + getDetailsFieldSchemaSetsBuilder(int index) { + return internalGetDetailsFieldSchemaSetsFieldBuilder().getBuilder(index); + } + + /** + * + * + *
+       * The schemas for each alternative set of fields.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSetOrBuilder + getDetailsFieldSchemaSetsOrBuilder(int index) { + if (detailsFieldSchemaSetsBuilder_ == null) { + return detailsFieldSchemaSets_.get(index); + } else { + return detailsFieldSchemaSetsBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
+       * The schemas for each alternative set of fields.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + public java.util.List< + ? extends com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSetOrBuilder> + getDetailsFieldSchemaSetsOrBuilderList() { + if (detailsFieldSchemaSetsBuilder_ != null) { + return detailsFieldSchemaSetsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(detailsFieldSchemaSets_); + } + } + + /** + * + * + *
+       * The schemas for each alternative set of fields.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet.Builder + addDetailsFieldSchemaSetsBuilder() { + return internalGetDetailsFieldSchemaSetsFieldBuilder() + .addBuilder( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet + .getDefaultInstance()); + } + + /** + * + * + *
+       * The schemas for each alternative set of fields.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet.Builder + addDetailsFieldSchemaSetsBuilder(int index) { + return internalGetDetailsFieldSchemaSetsFieldBuilder() + .addBuilder( + index, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet + .getDefaultInstance()); + } + + /** + * + * + *
+       * The schemas for each alternative set of fields.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet details_field_schema_sets = 1; + * + */ + public java.util.List< + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet.Builder> + getDetailsFieldSchemaSetsBuilderList() { + return internalGetDetailsFieldSchemaSetsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet.Builder, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSetOrBuilder> + internalGetDetailsFieldSchemaSetsFieldBuilder() { + if (detailsFieldSchemaSetsBuilder_ == null) { + detailsFieldSchemaSetsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet.Builder, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSetOrBuilder>( + detailsFieldSchemaSets_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + detailsFieldSchemaSets_ = null; + } + return detailsFieldSchemaSetsBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative) + private static final com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative(); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DetailsFieldSchemaAlternative parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface DetailsFieldSchemaSetOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * A human-readable name for this collection of `details` fields.
+     * 
+ * + * string display_name = 1; + * + * @return The displayName. + */ + java.lang.String getDisplayName(); + + /** + * + * + *
+     * A human-readable name for this collection of `details` fields.
+     * 
+ * + * string display_name = 1; + * + * @return The bytes for displayName. + */ + com.google.protobuf.ByteString getDisplayNameBytes(); + + /** + * + * + *
+     * A human-readable description for this collection of `details` fields.
+     * 
+ * + * string description = 2; + * + * @return The description. + */ + java.lang.String getDescription(); + + /** + * + * + *
+     * A human-readable description for this collection of `details` fields.
+     * 
+ * + * string description = 2; + * + * @return The bytes for description. + */ + com.google.protobuf.ByteString getDescriptionBytes(); + + /** + * + * + *
+     * Schemas for the fields in this set.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + java.util.List + getDetailsFieldSchemasList(); + + /** + * + * + *
+     * Schemas for the fields in this set.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema getDetailsFieldSchemas( + int index); + + /** + * + * + *
+     * Schemas for the fields in this set.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + int getDetailsFieldSchemasCount(); + + /** + * + * + *
+     * Schemas for the fields in this set.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + java.util.List< + ? extends com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaOrBuilder> + getDetailsFieldSchemasOrBuilderList(); + + /** + * + * + *
+     * Schemas for the fields in this set.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaOrBuilder + getDetailsFieldSchemasOrBuilder(int index); + } + + /** + * + * + *
+   * A collection of schemas for related fields within `details`.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet} + */ + public static final class DetailsFieldSchemaSet extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet) + DetailsFieldSchemaSetOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "DetailsFieldSchemaSet"); + } + + // Use DetailsFieldSchemaSet.newBuilder() to construct. + private DetailsFieldSchemaSet(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private DetailsFieldSchemaSet() { + displayName_ = ""; + description_ = ""; + detailsFieldSchemas_ = java.util.Collections.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_LogTypeSchema_DetailsFieldSchemaSet_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_LogTypeSchema_DetailsFieldSchemaSet_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet.class, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet.Builder.class); + } + + public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object displayName_ = ""; + + /** + * + * + *
+     * A human-readable name for this collection of `details` fields.
+     * 
+ * + * string display_name = 1; + * + * @return The displayName. + */ + @java.lang.Override + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + 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(); + displayName_ = s; + return s; + } + } + + /** + * + * + *
+     * A human-readable name for this collection of `details` fields.
+     * 
+ * + * string display_name = 1; + * + * @return The bytes for displayName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DESCRIPTION_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object description_ = ""; + + /** + * + * + *
+     * A human-readable description for this collection of `details` fields.
+     * 
+ * + * string description = 2; + * + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + 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(); + description_ = s; + return s; + } + } + + /** + * + * + *
+     * A human-readable description for this collection of `details` fields.
+     * 
+ * + * string description = 2; + * + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DETAILS_FIELD_SCHEMAS_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private java.util.List + detailsFieldSchemas_; + + /** + * + * + *
+     * Schemas for the fields in this set.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + @java.lang.Override + public java.util.List + getDetailsFieldSchemasList() { + return detailsFieldSchemas_; + } + + /** + * + * + *
+     * Schemas for the fields in this set.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + @java.lang.Override + public java.util.List< + ? extends com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaOrBuilder> + getDetailsFieldSchemasOrBuilderList() { + return detailsFieldSchemas_; + } + + /** + * + * + *
+     * Schemas for the fields in this set.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + @java.lang.Override + public int getDetailsFieldSchemasCount() { + return detailsFieldSchemas_.size(); + } + + /** + * + * + *
+     * Schemas for the fields in this set.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema getDetailsFieldSchemas( + int index) { + return detailsFieldSchemas_.get(index); + } + + /** + * + * + *
+     * Schemas for the fields in this set.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaOrBuilder + getDetailsFieldSchemasOrBuilder(int index) { + return detailsFieldSchemas_.get(index); + } + + 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.GeneratedMessage.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, displayName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, description_); + } + for (int i = 0; i < detailsFieldSchemas_.size(); i++) { + output.writeMessage(3, detailsFieldSchemas_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, displayName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, description_); + } + for (int i = 0; i < detailsFieldSchemas_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, detailsFieldSchemas_.get(i)); + } + 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.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet other = + (com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet) obj; + + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getDetailsFieldSchemasList().equals(other.getDetailsFieldSchemasList())) 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) + DISPLAY_NAME_FIELD_NUMBER; + hash = (53 * hash) + getDisplayName().hashCode(); + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + if (getDetailsFieldSchemasCount() > 0) { + hash = (37 * hash) + DETAILS_FIELD_SCHEMAS_FIELD_NUMBER; + hash = (53 * hash) + getDetailsFieldSchemasList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet 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.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * A collection of schemas for related fields within `details`.
+     * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet) + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSetOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_LogTypeSchema_DetailsFieldSchemaSet_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_LogTypeSchema_DetailsFieldSchemaSet_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet.class, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet.Builder.class); + } + + // Construct using + // com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + displayName_ = ""; + description_ = ""; + if (detailsFieldSchemasBuilder_ == null) { + detailsFieldSchemas_ = java.util.Collections.emptyList(); + } else { + detailsFieldSchemas_ = null; + detailsFieldSchemasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_LogTypeSchema_DetailsFieldSchemaSet_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet + getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet build() { + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet buildPartial() { + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet result = + new com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet result) { + if (detailsFieldSchemasBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + detailsFieldSchemas_ = java.util.Collections.unmodifiableList(detailsFieldSchemas_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.detailsFieldSchemas_ = detailsFieldSchemas_; + } else { + result.detailsFieldSchemas_ = detailsFieldSchemasBuilder_.build(); + } + } + + private void buildPartial0( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.displayName_ = displayName_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.description_ = description_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet) { + return mergeFrom( + (com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet other) { + if (other + == com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet + .getDefaultInstance()) return this; + if (!other.getDisplayName().isEmpty()) { + displayName_ = other.displayName_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (detailsFieldSchemasBuilder_ == null) { + if (!other.detailsFieldSchemas_.isEmpty()) { + if (detailsFieldSchemas_.isEmpty()) { + detailsFieldSchemas_ = other.detailsFieldSchemas_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureDetailsFieldSchemasIsMutable(); + detailsFieldSchemas_.addAll(other.detailsFieldSchemas_); + } + onChanged(); + } + } else { + if (!other.detailsFieldSchemas_.isEmpty()) { + if (detailsFieldSchemasBuilder_.isEmpty()) { + detailsFieldSchemasBuilder_.dispose(); + detailsFieldSchemasBuilder_ = null; + detailsFieldSchemas_ = other.detailsFieldSchemas_; + bitField0_ = (bitField0_ & ~0x00000004); + detailsFieldSchemasBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetDetailsFieldSchemasFieldBuilder() + : null; + } else { + detailsFieldSchemasBuilder_.addAllMessages(other.detailsFieldSchemas_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema m = + input.readMessage( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.parser(), + extensionRegistry); + if (detailsFieldSchemasBuilder_ == null) { + ensureDetailsFieldSchemasIsMutable(); + detailsFieldSchemas_.add(m); + } else { + detailsFieldSchemasBuilder_.addMessage(m); + } + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object displayName_ = ""; + + /** + * + * + *
+       * A human-readable name for this collection of `details` fields.
+       * 
+ * + * string display_name = 1; + * + * @return The displayName. + */ + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+       * A human-readable name for this collection of `details` fields.
+       * 
+ * + * string display_name = 1; + * + * @return The bytes for displayName. + */ + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+       * A human-readable name for this collection of `details` fields.
+       * 
+ * + * string display_name = 1; + * + * @param value The displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + displayName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * A human-readable name for this collection of `details` fields.
+       * 
+ * + * string display_name = 1; + * + * @return This builder for chaining. + */ + public Builder clearDisplayName() { + displayName_ = getDefaultInstance().getDisplayName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+       * A human-readable name for this collection of `details` fields.
+       * 
+ * + * string display_name = 1; + * + * @param value The bytes for displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + + /** + * + * + *
+       * A human-readable description for this collection of `details` fields.
+       * 
+ * + * string description = 2; + * + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+       * A human-readable description for this collection of `details` fields.
+       * 
+ * + * string description = 2; + * + * @return The bytes for description. + */ + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+       * A human-readable description for this collection of `details` fields.
+       * 
+ * + * string description = 2; + * + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + description_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+       * A human-readable description for this collection of `details` fields.
+       * 
+ * + * string description = 2; + * + * @return This builder for chaining. + */ + public Builder clearDescription() { + description_ = getDefaultInstance().getDescription(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+       * A human-readable description for this collection of `details` fields.
+       * 
+ * + * string description = 2; + * + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.util.List + detailsFieldSchemas_ = java.util.Collections.emptyList(); + + private void ensureDetailsFieldSchemasIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + detailsFieldSchemas_ = + new java.util.ArrayList< + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema>( + detailsFieldSchemas_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.Builder, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaOrBuilder> + detailsFieldSchemasBuilder_; + + /** + * + * + *
+       * Schemas for the fields in this set.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + public java.util.List + getDetailsFieldSchemasList() { + if (detailsFieldSchemasBuilder_ == null) { + return java.util.Collections.unmodifiableList(detailsFieldSchemas_); + } else { + return detailsFieldSchemasBuilder_.getMessageList(); + } + } + + /** + * + * + *
+       * Schemas for the fields in this set.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + public int getDetailsFieldSchemasCount() { + if (detailsFieldSchemasBuilder_ == null) { + return detailsFieldSchemas_.size(); + } else { + return detailsFieldSchemasBuilder_.getCount(); + } + } + + /** + * + * + *
+       * Schemas for the fields in this set.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema getDetailsFieldSchemas( + int index) { + if (detailsFieldSchemasBuilder_ == null) { + return detailsFieldSchemas_.get(index); + } else { + return detailsFieldSchemasBuilder_.getMessage(index); + } + } + + /** + * + * + *
+       * Schemas for the fields in this set.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + public Builder setDetailsFieldSchemas( + int index, com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema value) { + if (detailsFieldSchemasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDetailsFieldSchemasIsMutable(); + detailsFieldSchemas_.set(index, value); + onChanged(); + } else { + detailsFieldSchemasBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+       * Schemas for the fields in this set.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + public Builder setDetailsFieldSchemas( + int index, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.Builder builderForValue) { + if (detailsFieldSchemasBuilder_ == null) { + ensureDetailsFieldSchemasIsMutable(); + detailsFieldSchemas_.set(index, builderForValue.build()); + onChanged(); + } else { + detailsFieldSchemasBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+       * Schemas for the fields in this set.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + public Builder addDetailsFieldSchemas( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema value) { + if (detailsFieldSchemasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDetailsFieldSchemasIsMutable(); + detailsFieldSchemas_.add(value); + onChanged(); + } else { + detailsFieldSchemasBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+       * Schemas for the fields in this set.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + public Builder addDetailsFieldSchemas( + int index, com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema value) { + if (detailsFieldSchemasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDetailsFieldSchemasIsMutable(); + detailsFieldSchemas_.add(index, value); + onChanged(); + } else { + detailsFieldSchemasBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+       * Schemas for the fields in this set.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + public Builder addDetailsFieldSchemas( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.Builder builderForValue) { + if (detailsFieldSchemasBuilder_ == null) { + ensureDetailsFieldSchemasIsMutable(); + detailsFieldSchemas_.add(builderForValue.build()); + onChanged(); + } else { + detailsFieldSchemasBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+       * Schemas for the fields in this set.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + public Builder addDetailsFieldSchemas( + int index, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.Builder builderForValue) { + if (detailsFieldSchemasBuilder_ == null) { + ensureDetailsFieldSchemasIsMutable(); + detailsFieldSchemas_.add(index, builderForValue.build()); + onChanged(); + } else { + detailsFieldSchemasBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+       * Schemas for the fields in this set.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + public Builder addAllDetailsFieldSchemas( + java.lang.Iterable< + ? extends com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema> + values) { + if (detailsFieldSchemasBuilder_ == null) { + ensureDetailsFieldSchemasIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, detailsFieldSchemas_); + onChanged(); + } else { + detailsFieldSchemasBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+       * Schemas for the fields in this set.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + public Builder clearDetailsFieldSchemas() { + if (detailsFieldSchemasBuilder_ == null) { + detailsFieldSchemas_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + detailsFieldSchemasBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+       * Schemas for the fields in this set.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + public Builder removeDetailsFieldSchemas(int index) { + if (detailsFieldSchemasBuilder_ == null) { + ensureDetailsFieldSchemasIsMutable(); + detailsFieldSchemas_.remove(index); + onChanged(); + } else { + detailsFieldSchemasBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+       * Schemas for the fields in this set.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.Builder + getDetailsFieldSchemasBuilder(int index) { + return internalGetDetailsFieldSchemasFieldBuilder().getBuilder(index); + } + + /** + * + * + *
+       * Schemas for the fields in this set.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaOrBuilder + getDetailsFieldSchemasOrBuilder(int index) { + if (detailsFieldSchemasBuilder_ == null) { + return detailsFieldSchemas_.get(index); + } else { + return detailsFieldSchemasBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
+       * Schemas for the fields in this set.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + public java.util.List< + ? extends com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaOrBuilder> + getDetailsFieldSchemasOrBuilderList() { + if (detailsFieldSchemasBuilder_ != null) { + return detailsFieldSchemasBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(detailsFieldSchemas_); + } + } + + /** + * + * + *
+       * Schemas for the fields in this set.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.Builder + addDetailsFieldSchemasBuilder() { + return internalGetDetailsFieldSchemasFieldBuilder() + .addBuilder( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema + .getDefaultInstance()); + } + + /** + * + * + *
+       * Schemas for the fields in this set.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.Builder + addDetailsFieldSchemasBuilder(int index) { + return internalGetDetailsFieldSchemasFieldBuilder() + .addBuilder( + index, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema + .getDefaultInstance()); + } + + /** + * + * + *
+       * Schemas for the fields in this set.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 3; + * + */ + public java.util.List + getDetailsFieldSchemasBuilderList() { + return internalGetDetailsFieldSchemasFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.Builder, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaOrBuilder> + internalGetDetailsFieldSchemasFieldBuilder() { + if (detailsFieldSchemasBuilder_ == null) { + detailsFieldSchemasBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.Builder, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaOrBuilder>( + detailsFieldSchemas_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + detailsFieldSchemas_ = null; + } + return detailsFieldSchemasBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet) + private static final com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet(); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DetailsFieldSchemaSet parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaSet + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface DetailsFieldSchemaOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * The protocol buffer field path. For example,
+     * "details.azure_ad_context_settings.authentication.token_endpoint".
+     * 
+ * + * string field_path = 1; + * + * @return The fieldPath. + */ + java.lang.String getFieldPath(); + + /** + * + * + *
+     * The protocol buffer field path. For example,
+     * "details.azure_ad_context_settings.authentication.token_endpoint".
+     * 
+ * + * string field_path = 1; + * + * @return The bytes for fieldPath. + */ + com.google.protobuf.ByteString getFieldPathBytes(); + + /** + * + * + *
+     * A human-readable name for this field.
+     * 
+ * + * string display_name = 2; + * + * @return The displayName. + */ + java.lang.String getDisplayName(); + + /** + * + * + *
+     * A human-readable name for this field.
+     * 
+ * + * string display_name = 2; + * + * @return The bytes for displayName. + */ + com.google.protobuf.ByteString getDisplayNameBytes(); + + /** + * + * + *
+     * A human-readable description for this field.
+     * 
+ * + * string description = 3; + * + * @return The description. + */ + java.lang.String getDescription(); + + /** + * + * + *
+     * A human-readable description for this field.
+     * 
+ * + * string description = 3; + * + * @return The bytes for description. + */ + com.google.protobuf.ByteString getDescriptionBytes(); + + /** + * + * + *
+     * A type that represents both the encoding and the semantics of this field.
+     * 
+ * + * .google.cloud.chronicle.v1.SemanticType type = 4; + * + * @return The enum numeric value on the wire for type. + */ + int getTypeValue(); + + /** + * + * + *
+     * A type that represents both the encoding and the semantics of this field.
+     * 
+ * + * .google.cloud.chronicle.v1.SemanticType type = 4; + * + * @return The type. + */ + com.google.cloud.chronicle.v1.SemanticType getType(); + + /** + * + * + *
+     * If a field has an enum type, this is the schema describing the possible
+     * values.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + java.util.List + getEnumFieldSchemasList(); + + /** + * + * + *
+     * If a field has an enum type, this is the schema describing the possible
+     * values.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema getEnumFieldSchemas(int index); + + /** + * + * + *
+     * If a field has an enum type, this is the schema describing the possible
+     * values.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + int getEnumFieldSchemasCount(); + + /** + * + * + *
+     * If a field has an enum type, this is the schema describing the possible
+     * values.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + java.util.List + getEnumFieldSchemasOrBuilderList(); + + /** + * + * + *
+     * If a field has an enum type, this is the schema describing the possible
+     * values.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchemaOrBuilder + getEnumFieldSchemasOrBuilder(int index); + + /** + * + * + *
+     * Whether this field must be specified to have a valid feed configuration.
+     * 
+ * + * bool required = 6; + * + * @return The required. + */ + boolean getRequired(); + + /** + * + * + *
+     * For those fields with input requirements that aren't adequately expressed
+     * by the SemanticType it is often useful to supply an example input.
+     * 
+ * + * string example_input = 7; + * + * @return The exampleInput. + */ + java.lang.String getExampleInput(); + + /** + * + * + *
+     * For those fields with input requirements that aren't adequately expressed
+     * by the SemanticType it is often useful to supply an example input.
+     * 
+ * + * string example_input = 7; + * + * @return The bytes for exampleInput. + */ + com.google.protobuf.ByteString getExampleInputBytes(); + + /** + * + * + *
+     * For those fields which are read only.
+     * 
+ * + * bool read_only = 8; + * + * @return The readOnly. + */ + boolean getReadOnly(); + } + + /** + * + * + *
+   * A schema for a particular `details` field on the Feed proto message.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema} + */ + public static final class DetailsFieldSchema extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema) + DetailsFieldSchemaOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "DetailsFieldSchema"); + } + + // Use DetailsFieldSchema.newBuilder() to construct. + private DetailsFieldSchema(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private DetailsFieldSchema() { + fieldPath_ = ""; + displayName_ = ""; + description_ = ""; + type_ = 0; + enumFieldSchemas_ = java.util.Collections.emptyList(); + exampleInput_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_LogTypeSchema_DetailsFieldSchema_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_LogTypeSchema_DetailsFieldSchema_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.class, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.Builder.class); + } + + public static final int FIELD_PATH_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object fieldPath_ = ""; + + /** + * + * + *
+     * The protocol buffer field path. For example,
+     * "details.azure_ad_context_settings.authentication.token_endpoint".
+     * 
+ * + * string field_path = 1; + * + * @return The fieldPath. + */ + @java.lang.Override + public java.lang.String getFieldPath() { + java.lang.Object ref = fieldPath_; + 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(); + fieldPath_ = s; + return s; + } + } + + /** + * + * + *
+     * The protocol buffer field path. For example,
+     * "details.azure_ad_context_settings.authentication.token_endpoint".
+     * 
+ * + * string field_path = 1; + * + * @return The bytes for fieldPath. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFieldPathBytes() { + java.lang.Object ref = fieldPath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + fieldPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object displayName_ = ""; + + /** + * + * + *
+     * A human-readable name for this field.
+     * 
+ * + * string display_name = 2; + * + * @return The displayName. + */ + @java.lang.Override + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + 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(); + displayName_ = s; + return s; + } + } + + /** + * + * + *
+     * A human-readable name for this field.
+     * 
+ * + * string display_name = 2; + * + * @return The bytes for displayName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DESCRIPTION_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object description_ = ""; + + /** + * + * + *
+     * A human-readable description for this field.
+     * 
+ * + * string description = 3; + * + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + 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(); + description_ = s; + return s; + } + } + + /** + * + * + *
+     * A human-readable description for this field.
+     * 
+ * + * string description = 3; + * + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TYPE_FIELD_NUMBER = 4; + private int type_ = 0; + + /** + * + * + *
+     * A type that represents both the encoding and the semantics of this field.
+     * 
+ * + * .google.cloud.chronicle.v1.SemanticType type = 4; + * + * @return The enum numeric value on the wire for type. + */ + @java.lang.Override + public int getTypeValue() { + return type_; + } + + /** + * + * + *
+     * A type that represents both the encoding and the semantics of this field.
+     * 
+ * + * .google.cloud.chronicle.v1.SemanticType type = 4; + * + * @return The type. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SemanticType getType() { + com.google.cloud.chronicle.v1.SemanticType result = + com.google.cloud.chronicle.v1.SemanticType.forNumber(type_); + return result == null ? com.google.cloud.chronicle.v1.SemanticType.UNRECOGNIZED : result; + } + + public static final int ENUM_FIELD_SCHEMAS_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private java.util.List + enumFieldSchemas_; + + /** + * + * + *
+     * If a field has an enum type, this is the schema describing the possible
+     * values.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + @java.lang.Override + public java.util.List + getEnumFieldSchemasList() { + return enumFieldSchemas_; + } + + /** + * + * + *
+     * If a field has an enum type, this is the schema describing the possible
+     * values.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + @java.lang.Override + public java.util.List< + ? extends com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchemaOrBuilder> + getEnumFieldSchemasOrBuilderList() { + return enumFieldSchemas_; + } + + /** + * + * + *
+     * If a field has an enum type, this is the schema describing the possible
+     * values.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + @java.lang.Override + public int getEnumFieldSchemasCount() { + return enumFieldSchemas_.size(); + } + + /** + * + * + *
+     * If a field has an enum type, this is the schema describing the possible
+     * values.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema getEnumFieldSchemas( + int index) { + return enumFieldSchemas_.get(index); + } + + /** + * + * + *
+     * If a field has an enum type, this is the schema describing the possible
+     * values.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchemaOrBuilder + getEnumFieldSchemasOrBuilder(int index) { + return enumFieldSchemas_.get(index); + } + + public static final int REQUIRED_FIELD_NUMBER = 6; + private boolean required_ = false; + + /** + * + * + *
+     * Whether this field must be specified to have a valid feed configuration.
+     * 
+ * + * bool required = 6; + * + * @return The required. + */ + @java.lang.Override + public boolean getRequired() { + return required_; + } + + public static final int EXAMPLE_INPUT_FIELD_NUMBER = 7; + + @SuppressWarnings("serial") + private volatile java.lang.Object exampleInput_ = ""; + + /** + * + * + *
+     * For those fields with input requirements that aren't adequately expressed
+     * by the SemanticType it is often useful to supply an example input.
+     * 
+ * + * string example_input = 7; + * + * @return The exampleInput. + */ + @java.lang.Override + public java.lang.String getExampleInput() { + java.lang.Object ref = exampleInput_; + 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(); + exampleInput_ = s; + return s; + } + } + + /** + * + * + *
+     * For those fields with input requirements that aren't adequately expressed
+     * by the SemanticType it is often useful to supply an example input.
+     * 
+ * + * string example_input = 7; + * + * @return The bytes for exampleInput. + */ + @java.lang.Override + public com.google.protobuf.ByteString getExampleInputBytes() { + java.lang.Object ref = exampleInput_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + exampleInput_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int READ_ONLY_FIELD_NUMBER = 8; + private boolean readOnly_ = false; + + /** + * + * + *
+     * For those fields which are read only.
+     * 
+ * + * bool read_only = 8; + * + * @return The readOnly. + */ + @java.lang.Override + public boolean getReadOnly() { + return readOnly_; + } + + 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.GeneratedMessage.isStringEmpty(fieldPath_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, fieldPath_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, displayName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, description_); + } + if (type_ + != com.google.cloud.chronicle.v1.SemanticType.SEMANTIC_TYPE_UNSPECIFIED.getNumber()) { + output.writeEnum(4, type_); + } + for (int i = 0; i < enumFieldSchemas_.size(); i++) { + output.writeMessage(5, enumFieldSchemas_.get(i)); + } + if (required_ != false) { + output.writeBool(6, required_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(exampleInput_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 7, exampleInput_); + } + if (readOnly_ != false) { + output.writeBool(8, readOnly_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(fieldPath_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, fieldPath_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, displayName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, description_); + } + if (type_ + != com.google.cloud.chronicle.v1.SemanticType.SEMANTIC_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, type_); + } + for (int i = 0; i < enumFieldSchemas_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(5, enumFieldSchemas_.get(i)); + } + if (required_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, required_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(exampleInput_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(7, exampleInput_); + } + if (readOnly_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, readOnly_); + } + 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.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema other = + (com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema) obj; + + if (!getFieldPath().equals(other.getFieldPath())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (type_ != other.type_) return false; + if (!getEnumFieldSchemasList().equals(other.getEnumFieldSchemasList())) return false; + if (getRequired() != other.getRequired()) return false; + if (!getExampleInput().equals(other.getExampleInput())) return false; + if (getReadOnly() != other.getReadOnly()) 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) + FIELD_PATH_FIELD_NUMBER; + hash = (53 * hash) + getFieldPath().hashCode(); + hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; + hash = (53 * hash) + getDisplayName().hashCode(); + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + type_; + if (getEnumFieldSchemasCount() > 0) { + hash = (37 * hash) + ENUM_FIELD_SCHEMAS_FIELD_NUMBER; + hash = (53 * hash) + getEnumFieldSchemasList().hashCode(); + } + hash = (37 * hash) + REQUIRED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequired()); + hash = (37 * hash) + EXAMPLE_INPUT_FIELD_NUMBER; + hash = (53 * hash) + getExampleInput().hashCode(); + hash = (37 * hash) + READ_ONLY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReadOnly()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema 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.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * A schema for a particular `details` field on the Feed proto message.
+     * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema) + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_LogTypeSchema_DetailsFieldSchema_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_LogTypeSchema_DetailsFieldSchema_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.class, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + fieldPath_ = ""; + displayName_ = ""; + description_ = ""; + type_ = 0; + if (enumFieldSchemasBuilder_ == null) { + enumFieldSchemas_ = java.util.Collections.emptyList(); + } else { + enumFieldSchemas_ = null; + enumFieldSchemasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000010); + required_ = false; + exampleInput_ = ""; + readOnly_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_LogTypeSchema_DetailsFieldSchema_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema + getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema build() { + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema buildPartial() { + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema result = + new com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema result) { + if (enumFieldSchemasBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0)) { + enumFieldSchemas_ = java.util.Collections.unmodifiableList(enumFieldSchemas_); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.enumFieldSchemas_ = enumFieldSchemas_; + } else { + result.enumFieldSchemas_ = enumFieldSchemasBuilder_.build(); + } + } + + private void buildPartial0( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.fieldPath_ = fieldPath_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.displayName_ = displayName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.description_ = description_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.type_ = type_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.required_ = required_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.exampleInput_ = exampleInput_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.readOnly_ = readOnly_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema) { + return mergeFrom((com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema other) { + if (other + == com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.getDefaultInstance()) + return this; + if (!other.getFieldPath().isEmpty()) { + fieldPath_ = other.fieldPath_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getDisplayName().isEmpty()) { + displayName_ = other.displayName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.type_ != 0) { + setTypeValue(other.getTypeValue()); + } + if (enumFieldSchemasBuilder_ == null) { + if (!other.enumFieldSchemas_.isEmpty()) { + if (enumFieldSchemas_.isEmpty()) { + enumFieldSchemas_ = other.enumFieldSchemas_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureEnumFieldSchemasIsMutable(); + enumFieldSchemas_.addAll(other.enumFieldSchemas_); + } + onChanged(); + } + } else { + if (!other.enumFieldSchemas_.isEmpty()) { + if (enumFieldSchemasBuilder_.isEmpty()) { + enumFieldSchemasBuilder_.dispose(); + enumFieldSchemasBuilder_ = null; + enumFieldSchemas_ = other.enumFieldSchemas_; + bitField0_ = (bitField0_ & ~0x00000010); + enumFieldSchemasBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetEnumFieldSchemasFieldBuilder() + : null; + } else { + enumFieldSchemasBuilder_.addAllMessages(other.enumFieldSchemas_); + } + } + } + if (other.getRequired() != false) { + setRequired(other.getRequired()); + } + if (!other.getExampleInput().isEmpty()) { + exampleInput_ = other.exampleInput_; + bitField0_ |= 0x00000040; + onChanged(); + } + if (other.getReadOnly() != false) { + setReadOnly(other.getReadOnly()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + fieldPath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema m = + input.readMessage( + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema.parser(), + extensionRegistry); + if (enumFieldSchemasBuilder_ == null) { + ensureEnumFieldSchemasIsMutable(); + enumFieldSchemas_.add(m); + } else { + enumFieldSchemasBuilder_.addMessage(m); + } + break; + } // case 42 + case 48: + { + required_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 58: + { + exampleInput_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 64: + { + readOnly_ = input.readBool(); + bitField0_ |= 0x00000080; + break; + } // case 64 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object fieldPath_ = ""; + + /** + * + * + *
+       * The protocol buffer field path. For example,
+       * "details.azure_ad_context_settings.authentication.token_endpoint".
+       * 
+ * + * string field_path = 1; + * + * @return The fieldPath. + */ + public java.lang.String getFieldPath() { + java.lang.Object ref = fieldPath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + fieldPath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+       * The protocol buffer field path. For example,
+       * "details.azure_ad_context_settings.authentication.token_endpoint".
+       * 
+ * + * string field_path = 1; + * + * @return The bytes for fieldPath. + */ + public com.google.protobuf.ByteString getFieldPathBytes() { + java.lang.Object ref = fieldPath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + fieldPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+       * The protocol buffer field path. For example,
+       * "details.azure_ad_context_settings.authentication.token_endpoint".
+       * 
+ * + * string field_path = 1; + * + * @param value The fieldPath to set. + * @return This builder for chaining. + */ + public Builder setFieldPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + fieldPath_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * The protocol buffer field path. For example,
+       * "details.azure_ad_context_settings.authentication.token_endpoint".
+       * 
+ * + * string field_path = 1; + * + * @return This builder for chaining. + */ + public Builder clearFieldPath() { + fieldPath_ = getDefaultInstance().getFieldPath(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+       * The protocol buffer field path. For example,
+       * "details.azure_ad_context_settings.authentication.token_endpoint".
+       * 
+ * + * string field_path = 1; + * + * @param value The bytes for fieldPath to set. + * @return This builder for chaining. + */ + public Builder setFieldPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fieldPath_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object displayName_ = ""; + + /** + * + * + *
+       * A human-readable name for this field.
+       * 
+ * + * string display_name = 2; + * + * @return The displayName. + */ + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+       * A human-readable name for this field.
+       * 
+ * + * string display_name = 2; + * + * @return The bytes for displayName. + */ + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+       * A human-readable name for this field.
+       * 
+ * + * string display_name = 2; + * + * @param value The displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + displayName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+       * A human-readable name for this field.
+       * 
+ * + * string display_name = 2; + * + * @return This builder for chaining. + */ + public Builder clearDisplayName() { + displayName_ = getDefaultInstance().getDisplayName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+       * A human-readable name for this field.
+       * 
+ * + * string display_name = 2; + * + * @param value The bytes for displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + + /** + * + * + *
+       * A human-readable description for this field.
+       * 
+ * + * string description = 3; + * + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+       * A human-readable description for this field.
+       * 
+ * + * string description = 3; + * + * @return The bytes for description. + */ + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+       * A human-readable description for this field.
+       * 
+ * + * string description = 3; + * + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + description_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+       * A human-readable description for this field.
+       * 
+ * + * string description = 3; + * + * @return This builder for chaining. + */ + public Builder clearDescription() { + description_ = getDefaultInstance().getDescription(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+       * A human-readable description for this field.
+       * 
+ * + * string description = 3; + * + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private int type_ = 0; + + /** + * + * + *
+       * A type that represents both the encoding and the semantics of this field.
+       * 
+ * + * .google.cloud.chronicle.v1.SemanticType type = 4; + * + * @return The enum numeric value on the wire for type. + */ + @java.lang.Override + public int getTypeValue() { + return type_; + } + + /** + * + * + *
+       * A type that represents both the encoding and the semantics of this field.
+       * 
+ * + * .google.cloud.chronicle.v1.SemanticType type = 4; + * + * @param value The enum numeric value on the wire for type to set. + * @return This builder for chaining. + */ + public Builder setTypeValue(int value) { + type_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+       * A type that represents both the encoding and the semantics of this field.
+       * 
+ * + * .google.cloud.chronicle.v1.SemanticType type = 4; + * + * @return The type. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SemanticType getType() { + com.google.cloud.chronicle.v1.SemanticType result = + com.google.cloud.chronicle.v1.SemanticType.forNumber(type_); + return result == null ? com.google.cloud.chronicle.v1.SemanticType.UNRECOGNIZED : result; + } + + /** + * + * + *
+       * A type that represents both the encoding and the semantics of this field.
+       * 
+ * + * .google.cloud.chronicle.v1.SemanticType type = 4; + * + * @param value The type to set. + * @return This builder for chaining. + */ + public Builder setType(com.google.cloud.chronicle.v1.SemanticType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + type_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+       * A type that represents both the encoding and the semantics of this field.
+       * 
+ * + * .google.cloud.chronicle.v1.SemanticType type = 4; + * + * @return This builder for chaining. + */ + public Builder clearType() { + bitField0_ = (bitField0_ & ~0x00000008); + type_ = 0; + onChanged(); + return this; + } + + private java.util.List + enumFieldSchemas_ = java.util.Collections.emptyList(); + + private void ensureEnumFieldSchemasIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + enumFieldSchemas_ = + new java.util.ArrayList( + enumFieldSchemas_); + bitField0_ |= 0x00000010; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema, + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema.Builder, + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchemaOrBuilder> + enumFieldSchemasBuilder_; + + /** + * + * + *
+       * If a field has an enum type, this is the schema describing the possible
+       * values.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + public java.util.List + getEnumFieldSchemasList() { + if (enumFieldSchemasBuilder_ == null) { + return java.util.Collections.unmodifiableList(enumFieldSchemas_); + } else { + return enumFieldSchemasBuilder_.getMessageList(); + } + } + + /** + * + * + *
+       * If a field has an enum type, this is the schema describing the possible
+       * values.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + public int getEnumFieldSchemasCount() { + if (enumFieldSchemasBuilder_ == null) { + return enumFieldSchemas_.size(); + } else { + return enumFieldSchemasBuilder_.getCount(); + } + } + + /** + * + * + *
+       * If a field has an enum type, this is the schema describing the possible
+       * values.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema getEnumFieldSchemas( + int index) { + if (enumFieldSchemasBuilder_ == null) { + return enumFieldSchemas_.get(index); + } else { + return enumFieldSchemasBuilder_.getMessage(index); + } + } + + /** + * + * + *
+       * If a field has an enum type, this is the schema describing the possible
+       * values.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + public Builder setEnumFieldSchemas( + int index, com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema value) { + if (enumFieldSchemasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEnumFieldSchemasIsMutable(); + enumFieldSchemas_.set(index, value); + onChanged(); + } else { + enumFieldSchemasBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+       * If a field has an enum type, this is the schema describing the possible
+       * values.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + public Builder setEnumFieldSchemas( + int index, + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema.Builder builderForValue) { + if (enumFieldSchemasBuilder_ == null) { + ensureEnumFieldSchemasIsMutable(); + enumFieldSchemas_.set(index, builderForValue.build()); + onChanged(); + } else { + enumFieldSchemasBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+       * If a field has an enum type, this is the schema describing the possible
+       * values.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + public Builder addEnumFieldSchemas( + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema value) { + if (enumFieldSchemasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEnumFieldSchemasIsMutable(); + enumFieldSchemas_.add(value); + onChanged(); + } else { + enumFieldSchemasBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+       * If a field has an enum type, this is the schema describing the possible
+       * values.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + public Builder addEnumFieldSchemas( + int index, com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema value) { + if (enumFieldSchemasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureEnumFieldSchemasIsMutable(); + enumFieldSchemas_.add(index, value); + onChanged(); + } else { + enumFieldSchemasBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+       * If a field has an enum type, this is the schema describing the possible
+       * values.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + public Builder addEnumFieldSchemas( + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema.Builder builderForValue) { + if (enumFieldSchemasBuilder_ == null) { + ensureEnumFieldSchemasIsMutable(); + enumFieldSchemas_.add(builderForValue.build()); + onChanged(); + } else { + enumFieldSchemasBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+       * If a field has an enum type, this is the schema describing the possible
+       * values.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + public Builder addEnumFieldSchemas( + int index, + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema.Builder builderForValue) { + if (enumFieldSchemasBuilder_ == null) { + ensureEnumFieldSchemasIsMutable(); + enumFieldSchemas_.add(index, builderForValue.build()); + onChanged(); + } else { + enumFieldSchemasBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+       * If a field has an enum type, this is the schema describing the possible
+       * values.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + public Builder addAllEnumFieldSchemas( + java.lang.Iterable + values) { + if (enumFieldSchemasBuilder_ == null) { + ensureEnumFieldSchemasIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, enumFieldSchemas_); + onChanged(); + } else { + enumFieldSchemasBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+       * If a field has an enum type, this is the schema describing the possible
+       * values.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + public Builder clearEnumFieldSchemas() { + if (enumFieldSchemasBuilder_ == null) { + enumFieldSchemas_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + } else { + enumFieldSchemasBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+       * If a field has an enum type, this is the schema describing the possible
+       * values.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + public Builder removeEnumFieldSchemas(int index) { + if (enumFieldSchemasBuilder_ == null) { + ensureEnumFieldSchemasIsMutable(); + enumFieldSchemas_.remove(index); + onChanged(); + } else { + enumFieldSchemasBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+       * If a field has an enum type, this is the schema describing the possible
+       * values.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema.Builder + getEnumFieldSchemasBuilder(int index) { + return internalGetEnumFieldSchemasFieldBuilder().getBuilder(index); + } + + /** + * + * + *
+       * If a field has an enum type, this is the schema describing the possible
+       * values.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchemaOrBuilder + getEnumFieldSchemasOrBuilder(int index) { + if (enumFieldSchemasBuilder_ == null) { + return enumFieldSchemas_.get(index); + } else { + return enumFieldSchemasBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
+       * If a field has an enum type, this is the schema describing the possible
+       * values.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + public java.util.List< + ? extends com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchemaOrBuilder> + getEnumFieldSchemasOrBuilderList() { + if (enumFieldSchemasBuilder_ != null) { + return enumFieldSchemasBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(enumFieldSchemas_); + } + } + + /** + * + * + *
+       * If a field has an enum type, this is the schema describing the possible
+       * values.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema.Builder + addEnumFieldSchemasBuilder() { + return internalGetEnumFieldSchemasFieldBuilder() + .addBuilder( + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema.getDefaultInstance()); + } + + /** + * + * + *
+       * If a field has an enum type, this is the schema describing the possible
+       * values.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema.Builder + addEnumFieldSchemasBuilder(int index) { + return internalGetEnumFieldSchemasFieldBuilder() + .addBuilder( + index, + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema.getDefaultInstance()); + } + + /** + * + * + *
+       * If a field has an enum type, this is the schema describing the possible
+       * values.
+       * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema enum_field_schemas = 5; + * + */ + public java.util.List + getEnumFieldSchemasBuilderList() { + return internalGetEnumFieldSchemasFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema, + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema.Builder, + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchemaOrBuilder> + internalGetEnumFieldSchemasFieldBuilder() { + if (enumFieldSchemasBuilder_ == null) { + enumFieldSchemasBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema, + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema.Builder, + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchemaOrBuilder>( + enumFieldSchemas_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); + enumFieldSchemas_ = null; + } + return enumFieldSchemasBuilder_; + } + + private boolean required_; + + /** + * + * + *
+       * Whether this field must be specified to have a valid feed configuration.
+       * 
+ * + * bool required = 6; + * + * @return The required. + */ + @java.lang.Override + public boolean getRequired() { + return required_; + } + + /** + * + * + *
+       * Whether this field must be specified to have a valid feed configuration.
+       * 
+ * + * bool required = 6; + * + * @param value The required to set. + * @return This builder for chaining. + */ + public Builder setRequired(boolean value) { + + required_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+       * Whether this field must be specified to have a valid feed configuration.
+       * 
+ * + * bool required = 6; + * + * @return This builder for chaining. + */ + public Builder clearRequired() { + bitField0_ = (bitField0_ & ~0x00000020); + required_ = false; + onChanged(); + return this; + } + + private java.lang.Object exampleInput_ = ""; + + /** + * + * + *
+       * For those fields with input requirements that aren't adequately expressed
+       * by the SemanticType it is often useful to supply an example input.
+       * 
+ * + * string example_input = 7; + * + * @return The exampleInput. + */ + public java.lang.String getExampleInput() { + java.lang.Object ref = exampleInput_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + exampleInput_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+       * For those fields with input requirements that aren't adequately expressed
+       * by the SemanticType it is often useful to supply an example input.
+       * 
+ * + * string example_input = 7; + * + * @return The bytes for exampleInput. + */ + public com.google.protobuf.ByteString getExampleInputBytes() { + java.lang.Object ref = exampleInput_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + exampleInput_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+       * For those fields with input requirements that aren't adequately expressed
+       * by the SemanticType it is often useful to supply an example input.
+       * 
+ * + * string example_input = 7; + * + * @param value The exampleInput to set. + * @return This builder for chaining. + */ + public Builder setExampleInput(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + exampleInput_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + /** + * + * + *
+       * For those fields with input requirements that aren't adequately expressed
+       * by the SemanticType it is often useful to supply an example input.
+       * 
+ * + * string example_input = 7; + * + * @return This builder for chaining. + */ + public Builder clearExampleInput() { + exampleInput_ = getDefaultInstance().getExampleInput(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + + /** + * + * + *
+       * For those fields with input requirements that aren't adequately expressed
+       * by the SemanticType it is often useful to supply an example input.
+       * 
+ * + * string example_input = 7; + * + * @param value The bytes for exampleInput to set. + * @return This builder for chaining. + */ + public Builder setExampleInputBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + exampleInput_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private boolean readOnly_; + + /** + * + * + *
+       * For those fields which are read only.
+       * 
+ * + * bool read_only = 8; + * + * @return The readOnly. + */ + @java.lang.Override + public boolean getReadOnly() { + return readOnly_; + } + + /** + * + * + *
+       * For those fields which are read only.
+       * 
+ * + * bool read_only = 8; + * + * @param value The readOnly to set. + * @return This builder for chaining. + */ + public Builder setReadOnly(boolean value) { + + readOnly_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + + /** + * + * + *
+       * For those fields which are read only.
+       * 
+ * + * bool read_only = 8; + * + * @return This builder for chaining. + */ + public Builder clearReadOnly() { + bitField0_ = (bitField0_ & ~0x00000080); + readOnly_ = false; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema) + private static final com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema(); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DetailsFieldSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface EnumFieldSchemaOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * The value to assign to the field.
+     * 
+ * + * string value = 1; + * + * @return The value. + */ + java.lang.String getValue(); + + /** + * + * + *
+     * The value to assign to the field.
+     * 
+ * + * string value = 1; + * + * @return The bytes for value. + */ + com.google.protobuf.ByteString getValueBytes(); + + /** + * + * + *
+     * A human-readable name for this value.
+     * 
+ * + * string display_name = 2; + * + * @return The displayName. + */ + java.lang.String getDisplayName(); + + /** + * + * + *
+     * A human-readable name for this value.
+     * 
+ * + * string display_name = 2; + * + * @return The bytes for displayName. + */ + com.google.protobuf.ByteString getDisplayNameBytes(); + + /** + * + * + *
+     * A human-readable description for this value.
+     * 
+ * + * string description = 3; + * + * @return The description. + */ + java.lang.String getDescription(); + + /** + * + * + *
+     * A human-readable description for this value.
+     * 
+ * + * string description = 3; + * + * @return The bytes for description. + */ + com.google.protobuf.ByteString getDescriptionBytes(); + } + + /** + * + * + *
+   * A schema for a particular value, for a particular enum `details` field on
+   * the Feed proto message.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema} + */ + public static final class EnumFieldSchema extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema) + EnumFieldSchemaOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "EnumFieldSchema"); + } + + // Use EnumFieldSchema.newBuilder() to construct. + private EnumFieldSchema(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private EnumFieldSchema() { + value_ = ""; + displayName_ = ""; + description_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_LogTypeSchema_EnumFieldSchema_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_LogTypeSchema_EnumFieldSchema_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema.class, + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema.Builder.class); + } + + public static final int VALUE_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object value_ = ""; + + /** + * + * + *
+     * The value to assign to the field.
+     * 
+ * + * string value = 1; + * + * @return The value. + */ + @java.lang.Override + public java.lang.String getValue() { + java.lang.Object ref = value_; + 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(); + value_ = s; + return s; + } + } + + /** + * + * + *
+     * The value to assign to the field.
+     * 
+ * + * string value = 1; + * + * @return The bytes for value. + */ + @java.lang.Override + public com.google.protobuf.ByteString getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object displayName_ = ""; + + /** + * + * + *
+     * A human-readable name for this value.
+     * 
+ * + * string display_name = 2; + * + * @return The displayName. + */ + @java.lang.Override + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + 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(); + displayName_ = s; + return s; + } + } + + /** + * + * + *
+     * A human-readable name for this value.
+     * 
+ * + * string display_name = 2; + * + * @return The bytes for displayName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DESCRIPTION_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object description_ = ""; + + /** + * + * + *
+     * A human-readable description for this value.
+     * 
+ * + * string description = 3; + * + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + 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(); + description_ = s; + return s; + } + } + + /** + * + * + *
+     * A human-readable description for this value.
+     * 
+ * + * string description = 3; + * + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = 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.GeneratedMessage.isStringEmpty(value_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, value_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, displayName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, description_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, value_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, displayName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, description_); + } + 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.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema other = + (com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema) obj; + + if (!getValue().equals(other.getValue())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) 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) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; + hash = (53 * hash) + getDisplayName().hashCode(); + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema 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.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+     * A schema for a particular value, for a particular enum `details` field on
+     * the Feed proto message.
+     * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema) + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchemaOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_LogTypeSchema_EnumFieldSchema_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_LogTypeSchema_EnumFieldSchema_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema.class, + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + value_ = ""; + displayName_ = ""; + description_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_LogTypeSchema_EnumFieldSchema_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema + getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema build() { + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema buildPartial() { + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema result = + new com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.value_ = value_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.displayName_ = displayName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.description_ = description_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema) { + return mergeFrom((com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema other) { + if (other + == com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema.getDefaultInstance()) + return this; + if (!other.getValue().isEmpty()) { + value_ = other.value_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getDisplayName().isEmpty()) { + displayName_ = other.displayName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + value_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object value_ = ""; + + /** + * + * + *
+       * The value to assign to the field.
+       * 
+ * + * string value = 1; + * + * @return The value. + */ + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + value_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+       * The value to assign to the field.
+       * 
+ * + * string value = 1; + * + * @return The bytes for value. + */ + public com.google.protobuf.ByteString getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+       * The value to assign to the field.
+       * 
+ * + * string value = 1; + * + * @param value The value to set. + * @return This builder for chaining. + */ + public Builder setValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + value_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+       * The value to assign to the field.
+       * 
+ * + * string value = 1; + * + * @return This builder for chaining. + */ + public Builder clearValue() { + value_ = getDefaultInstance().getValue(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+       * The value to assign to the field.
+       * 
+ * + * string value = 1; + * + * @param value The bytes for value to set. + * @return This builder for chaining. + */ + public Builder setValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + value_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object displayName_ = ""; + + /** + * + * + *
+       * A human-readable name for this value.
+       * 
+ * + * string display_name = 2; + * + * @return The displayName. + */ + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+       * A human-readable name for this value.
+       * 
+ * + * string display_name = 2; + * + * @return The bytes for displayName. + */ + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+       * A human-readable name for this value.
+       * 
+ * + * string display_name = 2; + * + * @param value The displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + displayName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+       * A human-readable name for this value.
+       * 
+ * + * string display_name = 2; + * + * @return This builder for chaining. + */ + public Builder clearDisplayName() { + displayName_ = getDefaultInstance().getDisplayName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+       * A human-readable name for this value.
+       * 
+ * + * string display_name = 2; + * + * @param value The bytes for displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + + /** + * + * + *
+       * A human-readable description for this value.
+       * 
+ * + * string description = 3; + * + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+       * A human-readable description for this value.
+       * 
+ * + * string description = 3; + * + * @return The bytes for description. + */ + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+       * A human-readable description for this value.
+       * 
+ * + * string description = 3; + * + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + description_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+       * A human-readable description for this value.
+       * 
+ * + * string description = 3; + * + * @return This builder for chaining. + */ + public Builder clearDescription() { + description_ = getDefaultInstance().getDescription(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+       * A human-readable description for this value.
+       * 
+ * + * string description = 3; + * + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema) + private static final com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema(); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EnumFieldSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema.EnumFieldSchema getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + + /** + * + * + *
+   * The resource name.
+   * Format:
+   * "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}/logTypeSchemas/{log_type}"
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + + /** + * + * + *
+   * The resource name.
+   * Format:
+   * "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}/logTypeSchemas/{log_type}"
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object displayName_ = ""; + + /** + * + * + *
+   * A human-readable name for this log type.
+   * 
+ * + * string display_name = 2; + * + * @return The displayName. + */ + @java.lang.Override + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + 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(); + displayName_ = s; + return s; + } + } + + /** + * + * + *
+   * A human-readable name for this log type.
+   * 
+ * + * string display_name = 2; + * + * @return The bytes for displayName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int LOG_TYPE_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object logType_ = ""; + + /** + * + * + *
+   * The log type to be used in the `details.log_type` field.
+   * 
+ * + * string log_type = 3; + * + * @return The logType. + */ + @java.lang.Override + public java.lang.String getLogType() { + java.lang.Object ref = logType_; + 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(); + logType_ = s; + return s; + } + } + + /** + * + * + *
+   * The log type to be used in the `details.log_type` field.
+   * 
+ * + * string log_type = 3; + * + * @return The bytes for logType. + */ + @java.lang.Override + public com.google.protobuf.ByteString getLogTypeBytes() { + java.lang.Object ref = logType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + logType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int READ_ONLY_FIELD_NUMBER = 4; + private boolean readOnly_ = false; + + /** + * + * + *
+   * Whether this log type schema represents a feed configuration that may
+   * exist, but should not be modified (created, edited, or deleted).
+   * 
+ * + * bool read_only = 4; + * + * @return The readOnly. + */ + @java.lang.Override + public boolean getReadOnly() { + return readOnly_; + } + + public static final int SUPPORTING_DOCUMENTATION_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private volatile java.lang.Object supportingDocumentation_ = ""; + + /** + * + * + *
+   * A description that is displayed when users create or edit feeds.
+   * 
+ * + * string supporting_documentation = 5; + * + * @return The supportingDocumentation. + */ + @java.lang.Override + public java.lang.String getSupportingDocumentation() { + java.lang.Object ref = supportingDocumentation_; + 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(); + supportingDocumentation_ = s; + return s; + } + } + + /** + * + * + *
+   * A description that is displayed when users create or edit feeds.
+   * 
+ * + * string supporting_documentation = 5; + * + * @return The bytes for supportingDocumentation. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSupportingDocumentationBytes() { + java.lang.Object ref = supportingDocumentation_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + supportingDocumentation_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DETAILS_FIELD_SCHEMAS_FIELD_NUMBER = 6; + + @SuppressWarnings("serial") + private java.util.List + detailsFieldSchemas_; + + /** + * + * + *
+   * The schemas for `detail` fields that are compatible with this log
+   * type and feed source type. All fields for this log type and feed source
+   * type are either contained here or within
+   * details_field_schema_alternatives.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + @java.lang.Override + public java.util.List + getDetailsFieldSchemasList() { + return detailsFieldSchemas_; + } + + /** + * + * + *
+   * The schemas for `detail` fields that are compatible with this log
+   * type and feed source type. All fields for this log type and feed source
+   * type are either contained here or within
+   * details_field_schema_alternatives.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + @java.lang.Override + public java.util.List< + ? extends com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaOrBuilder> + getDetailsFieldSchemasOrBuilderList() { + return detailsFieldSchemas_; + } + + /** + * + * + *
+   * The schemas for `detail` fields that are compatible with this log
+   * type and feed source type. All fields for this log type and feed source
+   * type are either contained here or within
+   * details_field_schema_alternatives.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + @java.lang.Override + public int getDetailsFieldSchemasCount() { + return detailsFieldSchemas_.size(); + } + + /** + * + * + *
+   * The schemas for `detail` fields that are compatible with this log
+   * type and feed source type. All fields for this log type and feed source
+   * type are either contained here or within
+   * details_field_schema_alternatives.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema getDetailsFieldSchemas( + int index) { + return detailsFieldSchemas_.get(index); + } + + /** + * + * + *
+   * The schemas for `detail` fields that are compatible with this log
+   * type and feed source type. All fields for this log type and feed source
+   * type are either contained here or within
+   * details_field_schema_alternatives.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaOrBuilder + getDetailsFieldSchemasOrBuilder(int index) { + return detailsFieldSchemas_.get(index); + } + + public static final int DETAILS_FIELD_SCHEMA_ALTERNATIVES_FIELD_NUMBER = 7; + + @SuppressWarnings("serial") + private java.util.List + detailsFieldSchemaAlternatives_; + + /** + * + * + *
+   * There are sets of fields which represent alternatives to one another. A
+   * user would only fill in one set of fields for any one alternative.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + @java.lang.Override + public java.util.List + getDetailsFieldSchemaAlternativesList() { + return detailsFieldSchemaAlternatives_; + } + + /** + * + * + *
+   * There are sets of fields which represent alternatives to one another. A
+   * user would only fill in one set of fields for any one alternative.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + @java.lang.Override + public java.util.List< + ? extends + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternativeOrBuilder> + getDetailsFieldSchemaAlternativesOrBuilderList() { + return detailsFieldSchemaAlternatives_; + } + + /** + * + * + *
+   * There are sets of fields which represent alternatives to one another. A
+   * user would only fill in one set of fields for any one alternative.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + @java.lang.Override + public int getDetailsFieldSchemaAlternativesCount() { + return detailsFieldSchemaAlternatives_.size(); + } + + /** + * + * + *
+   * There are sets of fields which represent alternatives to one another. A
+   * user would only fill in one set of fields for any one alternative.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative + getDetailsFieldSchemaAlternatives(int index) { + return detailsFieldSchemaAlternatives_.get(index); + } + + /** + * + * + *
+   * There are sets of fields which represent alternatives to one another. A
+   * user would only fill in one set of fields for any one alternative.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternativeOrBuilder + getDetailsFieldSchemaAlternativesOrBuilder(int index) { + return detailsFieldSchemaAlternatives_.get(index); + } + + 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.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, displayName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(logType_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, logType_); + } + if (readOnly_ != false) { + output.writeBool(4, readOnly_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(supportingDocumentation_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, supportingDocumentation_); + } + for (int i = 0; i < detailsFieldSchemas_.size(); i++) { + output.writeMessage(6, detailsFieldSchemas_.get(i)); + } + for (int i = 0; i < detailsFieldSchemaAlternatives_.size(); i++) { + output.writeMessage(7, detailsFieldSchemaAlternatives_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, displayName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(logType_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, logType_); + } + if (readOnly_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, readOnly_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(supportingDocumentation_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, supportingDocumentation_); + } + for (int i = 0; i < detailsFieldSchemas_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(6, detailsFieldSchemas_.get(i)); + } + for (int i = 0; i < detailsFieldSchemaAlternatives_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, detailsFieldSchemaAlternatives_.get(i)); + } + 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.cloud.chronicle.v1.LogTypeSchema)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.LogTypeSchema other = + (com.google.cloud.chronicle.v1.LogTypeSchema) obj; + + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getLogType().equals(other.getLogType())) return false; + if (getReadOnly() != other.getReadOnly()) return false; + if (!getSupportingDocumentation().equals(other.getSupportingDocumentation())) return false; + if (!getDetailsFieldSchemasList().equals(other.getDetailsFieldSchemasList())) return false; + if (!getDetailsFieldSchemaAlternativesList() + .equals(other.getDetailsFieldSchemaAlternativesList())) 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) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; + hash = (53 * hash) + getDisplayName().hashCode(); + hash = (37 * hash) + LOG_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getLogType().hashCode(); + hash = (37 * hash) + READ_ONLY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReadOnly()); + hash = (37 * hash) + SUPPORTING_DOCUMENTATION_FIELD_NUMBER; + hash = (53 * hash) + getSupportingDocumentation().hashCode(); + if (getDetailsFieldSchemasCount() > 0) { + hash = (37 * hash) + DETAILS_FIELD_SCHEMAS_FIELD_NUMBER; + hash = (53 * hash) + getDetailsFieldSchemasList().hashCode(); + } + if (getDetailsFieldSchemaAlternativesCount() > 0) { + hash = (37 * hash) + DETAILS_FIELD_SCHEMA_ALTERNATIVES_FIELD_NUMBER; + hash = (53 * hash) + getDetailsFieldSchemaAlternativesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema 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.cloud.chronicle.v1.LogTypeSchema parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.LogTypeSchema 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Metadata that pertains to a log type in the context of Feeds, and is useful
+   * for building interfaces to construct valid Feed messages.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.LogTypeSchema} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.LogTypeSchema) + com.google.cloud.chronicle.v1.LogTypeSchemaOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_LogTypeSchema_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_LogTypeSchema_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.LogTypeSchema.class, + com.google.cloud.chronicle.v1.LogTypeSchema.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.LogTypeSchema.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + displayName_ = ""; + logType_ = ""; + readOnly_ = false; + supportingDocumentation_ = ""; + if (detailsFieldSchemasBuilder_ == null) { + detailsFieldSchemas_ = java.util.Collections.emptyList(); + } else { + detailsFieldSchemas_ = null; + detailsFieldSchemasBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000020); + if (detailsFieldSchemaAlternativesBuilder_ == null) { + detailsFieldSchemaAlternatives_ = java.util.Collections.emptyList(); + } else { + detailsFieldSchemaAlternatives_ = null; + detailsFieldSchemaAlternativesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000040); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_LogTypeSchema_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.LogTypeSchema.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema build() { + com.google.cloud.chronicle.v1.LogTypeSchema result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema buildPartial() { + com.google.cloud.chronicle.v1.LogTypeSchema result = + new com.google.cloud.chronicle.v1.LogTypeSchema(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.google.cloud.chronicle.v1.LogTypeSchema result) { + if (detailsFieldSchemasBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0)) { + detailsFieldSchemas_ = java.util.Collections.unmodifiableList(detailsFieldSchemas_); + bitField0_ = (bitField0_ & ~0x00000020); + } + result.detailsFieldSchemas_ = detailsFieldSchemas_; + } else { + result.detailsFieldSchemas_ = detailsFieldSchemasBuilder_.build(); + } + if (detailsFieldSchemaAlternativesBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0)) { + detailsFieldSchemaAlternatives_ = + java.util.Collections.unmodifiableList(detailsFieldSchemaAlternatives_); + bitField0_ = (bitField0_ & ~0x00000040); + } + result.detailsFieldSchemaAlternatives_ = detailsFieldSchemaAlternatives_; + } else { + result.detailsFieldSchemaAlternatives_ = detailsFieldSchemaAlternativesBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.chronicle.v1.LogTypeSchema result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.displayName_ = displayName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.logType_ = logType_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.readOnly_ = readOnly_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.supportingDocumentation_ = supportingDocumentation_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.LogTypeSchema) { + return mergeFrom((com.google.cloud.chronicle.v1.LogTypeSchema) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.LogTypeSchema other) { + if (other == com.google.cloud.chronicle.v1.LogTypeSchema.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getDisplayName().isEmpty()) { + displayName_ = other.displayName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getLogType().isEmpty()) { + logType_ = other.logType_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.getReadOnly() != false) { + setReadOnly(other.getReadOnly()); + } + if (!other.getSupportingDocumentation().isEmpty()) { + supportingDocumentation_ = other.supportingDocumentation_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (detailsFieldSchemasBuilder_ == null) { + if (!other.detailsFieldSchemas_.isEmpty()) { + if (detailsFieldSchemas_.isEmpty()) { + detailsFieldSchemas_ = other.detailsFieldSchemas_; + bitField0_ = (bitField0_ & ~0x00000020); + } else { + ensureDetailsFieldSchemasIsMutable(); + detailsFieldSchemas_.addAll(other.detailsFieldSchemas_); + } + onChanged(); + } + } else { + if (!other.detailsFieldSchemas_.isEmpty()) { + if (detailsFieldSchemasBuilder_.isEmpty()) { + detailsFieldSchemasBuilder_.dispose(); + detailsFieldSchemasBuilder_ = null; + detailsFieldSchemas_ = other.detailsFieldSchemas_; + bitField0_ = (bitField0_ & ~0x00000020); + detailsFieldSchemasBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetDetailsFieldSchemasFieldBuilder() + : null; + } else { + detailsFieldSchemasBuilder_.addAllMessages(other.detailsFieldSchemas_); + } + } + } + if (detailsFieldSchemaAlternativesBuilder_ == null) { + if (!other.detailsFieldSchemaAlternatives_.isEmpty()) { + if (detailsFieldSchemaAlternatives_.isEmpty()) { + detailsFieldSchemaAlternatives_ = other.detailsFieldSchemaAlternatives_; + bitField0_ = (bitField0_ & ~0x00000040); + } else { + ensureDetailsFieldSchemaAlternativesIsMutable(); + detailsFieldSchemaAlternatives_.addAll(other.detailsFieldSchemaAlternatives_); + } + onChanged(); + } + } else { + if (!other.detailsFieldSchemaAlternatives_.isEmpty()) { + if (detailsFieldSchemaAlternativesBuilder_.isEmpty()) { + detailsFieldSchemaAlternativesBuilder_.dispose(); + detailsFieldSchemaAlternativesBuilder_ = null; + detailsFieldSchemaAlternatives_ = other.detailsFieldSchemaAlternatives_; + bitField0_ = (bitField0_ & ~0x00000040); + detailsFieldSchemaAlternativesBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetDetailsFieldSchemaAlternativesFieldBuilder() + : null; + } else { + detailsFieldSchemaAlternativesBuilder_.addAllMessages( + other.detailsFieldSchemaAlternatives_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + logType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + readOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + supportingDocumentation_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema m = + input.readMessage( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.parser(), + extensionRegistry); + if (detailsFieldSchemasBuilder_ == null) { + ensureDetailsFieldSchemasIsMutable(); + detailsFieldSchemas_.add(m); + } else { + detailsFieldSchemasBuilder_.addMessage(m); + } + break; + } // case 50 + case 58: + { + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative m = + input.readMessage( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative + .parser(), + extensionRegistry); + if (detailsFieldSchemaAlternativesBuilder_ == null) { + ensureDetailsFieldSchemaAlternativesIsMutable(); + detailsFieldSchemaAlternatives_.add(m); + } else { + detailsFieldSchemaAlternativesBuilder_.addMessage(m); + } + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + + /** + * + * + *
+     * The resource name.
+     * Format:
+     * "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}/logTypeSchemas/{log_type}"
+     * 
+ * + * string name = 1; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * The resource name.
+     * Format:
+     * "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}/logTypeSchemas/{log_type}"
+     * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * The resource name.
+     * Format:
+     * "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}/logTypeSchemas/{log_type}"
+     * 
+ * + * string name = 1; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * The resource name.
+     * Format:
+     * "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}/logTypeSchemas/{log_type}"
+     * 
+ * + * string name = 1; + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * The resource name.
+     * Format:
+     * "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}/logTypeSchemas/{log_type}"
+     * 
+ * + * string name = 1; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object displayName_ = ""; + + /** + * + * + *
+     * A human-readable name for this log type.
+     * 
+ * + * string display_name = 2; + * + * @return The displayName. + */ + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * A human-readable name for this log type.
+     * 
+ * + * string display_name = 2; + * + * @return The bytes for displayName. + */ + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * A human-readable name for this log type.
+     * 
+ * + * string display_name = 2; + * + * @param value The displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + displayName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * A human-readable name for this log type.
+     * 
+ * + * string display_name = 2; + * + * @return This builder for chaining. + */ + public Builder clearDisplayName() { + displayName_ = getDefaultInstance().getDisplayName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * A human-readable name for this log type.
+     * 
+ * + * string display_name = 2; + * + * @param value The bytes for displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object logType_ = ""; + + /** + * + * + *
+     * The log type to be used in the `details.log_type` field.
+     * 
+ * + * string log_type = 3; + * + * @return The logType. + */ + public java.lang.String getLogType() { + java.lang.Object ref = logType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + logType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * The log type to be used in the `details.log_type` field.
+     * 
+ * + * string log_type = 3; + * + * @return The bytes for logType. + */ + public com.google.protobuf.ByteString getLogTypeBytes() { + java.lang.Object ref = logType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + logType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * The log type to be used in the `details.log_type` field.
+     * 
+ * + * string log_type = 3; + * + * @param value The logType to set. + * @return This builder for chaining. + */ + public Builder setLogType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + logType_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * The log type to be used in the `details.log_type` field.
+     * 
+ * + * string log_type = 3; + * + * @return This builder for chaining. + */ + public Builder clearLogType() { + logType_ = getDefaultInstance().getLogType(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * The log type to be used in the `details.log_type` field.
+     * 
+ * + * string log_type = 3; + * + * @param value The bytes for logType to set. + * @return This builder for chaining. + */ + public Builder setLogTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + logType_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private boolean readOnly_; + + /** + * + * + *
+     * Whether this log type schema represents a feed configuration that may
+     * exist, but should not be modified (created, edited, or deleted).
+     * 
+ * + * bool read_only = 4; + * + * @return The readOnly. + */ + @java.lang.Override + public boolean getReadOnly() { + return readOnly_; + } + + /** + * + * + *
+     * Whether this log type schema represents a feed configuration that may
+     * exist, but should not be modified (created, edited, or deleted).
+     * 
+ * + * bool read_only = 4; + * + * @param value The readOnly to set. + * @return This builder for chaining. + */ + public Builder setReadOnly(boolean value) { + + readOnly_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Whether this log type schema represents a feed configuration that may
+     * exist, but should not be modified (created, edited, or deleted).
+     * 
+ * + * bool read_only = 4; + * + * @return This builder for chaining. + */ + public Builder clearReadOnly() { + bitField0_ = (bitField0_ & ~0x00000008); + readOnly_ = false; + onChanged(); + return this; + } + + private java.lang.Object supportingDocumentation_ = ""; + + /** + * + * + *
+     * A description that is displayed when users create or edit feeds.
+     * 
+ * + * string supporting_documentation = 5; + * + * @return The supportingDocumentation. + */ + public java.lang.String getSupportingDocumentation() { + java.lang.Object ref = supportingDocumentation_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + supportingDocumentation_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * A description that is displayed when users create or edit feeds.
+     * 
+ * + * string supporting_documentation = 5; + * + * @return The bytes for supportingDocumentation. + */ + public com.google.protobuf.ByteString getSupportingDocumentationBytes() { + java.lang.Object ref = supportingDocumentation_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + supportingDocumentation_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * A description that is displayed when users create or edit feeds.
+     * 
+ * + * string supporting_documentation = 5; + * + * @param value The supportingDocumentation to set. + * @return This builder for chaining. + */ + public Builder setSupportingDocumentation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + supportingDocumentation_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * A description that is displayed when users create or edit feeds.
+     * 
+ * + * string supporting_documentation = 5; + * + * @return This builder for chaining. + */ + public Builder clearSupportingDocumentation() { + supportingDocumentation_ = getDefaultInstance().getSupportingDocumentation(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + + /** + * + * + *
+     * A description that is displayed when users create or edit feeds.
+     * 
+ * + * string supporting_documentation = 5; + * + * @param value The bytes for supportingDocumentation to set. + * @return This builder for chaining. + */ + public Builder setSupportingDocumentationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + supportingDocumentation_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.util.List + detailsFieldSchemas_ = java.util.Collections.emptyList(); + + private void ensureDetailsFieldSchemasIsMutable() { + if (!((bitField0_ & 0x00000020) != 0)) { + detailsFieldSchemas_ = + new java.util.ArrayList( + detailsFieldSchemas_); + bitField0_ |= 0x00000020; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.Builder, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaOrBuilder> + detailsFieldSchemasBuilder_; + + /** + * + * + *
+     * The schemas for `detail` fields that are compatible with this log
+     * type and feed source type. All fields for this log type and feed source
+     * type are either contained here or within
+     * details_field_schema_alternatives.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + public java.util.List + getDetailsFieldSchemasList() { + if (detailsFieldSchemasBuilder_ == null) { + return java.util.Collections.unmodifiableList(detailsFieldSchemas_); + } else { + return detailsFieldSchemasBuilder_.getMessageList(); + } + } + + /** + * + * + *
+     * The schemas for `detail` fields that are compatible with this log
+     * type and feed source type. All fields for this log type and feed source
+     * type are either contained here or within
+     * details_field_schema_alternatives.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + public int getDetailsFieldSchemasCount() { + if (detailsFieldSchemasBuilder_ == null) { + return detailsFieldSchemas_.size(); + } else { + return detailsFieldSchemasBuilder_.getCount(); + } + } + + /** + * + * + *
+     * The schemas for `detail` fields that are compatible with this log
+     * type and feed source type. All fields for this log type and feed source
+     * type are either contained here or within
+     * details_field_schema_alternatives.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema getDetailsFieldSchemas( + int index) { + if (detailsFieldSchemasBuilder_ == null) { + return detailsFieldSchemas_.get(index); + } else { + return detailsFieldSchemasBuilder_.getMessage(index); + } + } + + /** + * + * + *
+     * The schemas for `detail` fields that are compatible with this log
+     * type and feed source type. All fields for this log type and feed source
+     * type are either contained here or within
+     * details_field_schema_alternatives.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + public Builder setDetailsFieldSchemas( + int index, com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema value) { + if (detailsFieldSchemasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDetailsFieldSchemasIsMutable(); + detailsFieldSchemas_.set(index, value); + onChanged(); + } else { + detailsFieldSchemasBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * The schemas for `detail` fields that are compatible with this log
+     * type and feed source type. All fields for this log type and feed source
+     * type are either contained here or within
+     * details_field_schema_alternatives.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + public Builder setDetailsFieldSchemas( + int index, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.Builder builderForValue) { + if (detailsFieldSchemasBuilder_ == null) { + ensureDetailsFieldSchemasIsMutable(); + detailsFieldSchemas_.set(index, builderForValue.build()); + onChanged(); + } else { + detailsFieldSchemasBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * The schemas for `detail` fields that are compatible with this log
+     * type and feed source type. All fields for this log type and feed source
+     * type are either contained here or within
+     * details_field_schema_alternatives.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + public Builder addDetailsFieldSchemas( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema value) { + if (detailsFieldSchemasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDetailsFieldSchemasIsMutable(); + detailsFieldSchemas_.add(value); + onChanged(); + } else { + detailsFieldSchemasBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+     * The schemas for `detail` fields that are compatible with this log
+     * type and feed source type. All fields for this log type and feed source
+     * type are either contained here or within
+     * details_field_schema_alternatives.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + public Builder addDetailsFieldSchemas( + int index, com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema value) { + if (detailsFieldSchemasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDetailsFieldSchemasIsMutable(); + detailsFieldSchemas_.add(index, value); + onChanged(); + } else { + detailsFieldSchemasBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * The schemas for `detail` fields that are compatible with this log
+     * type and feed source type. All fields for this log type and feed source
+     * type are either contained here or within
+     * details_field_schema_alternatives.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + public Builder addDetailsFieldSchemas( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.Builder builderForValue) { + if (detailsFieldSchemasBuilder_ == null) { + ensureDetailsFieldSchemasIsMutable(); + detailsFieldSchemas_.add(builderForValue.build()); + onChanged(); + } else { + detailsFieldSchemasBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * The schemas for `detail` fields that are compatible with this log
+     * type and feed source type. All fields for this log type and feed source
+     * type are either contained here or within
+     * details_field_schema_alternatives.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + public Builder addDetailsFieldSchemas( + int index, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.Builder builderForValue) { + if (detailsFieldSchemasBuilder_ == null) { + ensureDetailsFieldSchemasIsMutable(); + detailsFieldSchemas_.add(index, builderForValue.build()); + onChanged(); + } else { + detailsFieldSchemasBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * The schemas for `detail` fields that are compatible with this log
+     * type and feed source type. All fields for this log type and feed source
+     * type are either contained here or within
+     * details_field_schema_alternatives.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + public Builder addAllDetailsFieldSchemas( + java.lang.Iterable + values) { + if (detailsFieldSchemasBuilder_ == null) { + ensureDetailsFieldSchemasIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, detailsFieldSchemas_); + onChanged(); + } else { + detailsFieldSchemasBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+     * The schemas for `detail` fields that are compatible with this log
+     * type and feed source type. All fields for this log type and feed source
+     * type are either contained here or within
+     * details_field_schema_alternatives.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + public Builder clearDetailsFieldSchemas() { + if (detailsFieldSchemasBuilder_ == null) { + detailsFieldSchemas_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + } else { + detailsFieldSchemasBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * The schemas for `detail` fields that are compatible with this log
+     * type and feed source type. All fields for this log type and feed source
+     * type are either contained here or within
+     * details_field_schema_alternatives.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + public Builder removeDetailsFieldSchemas(int index) { + if (detailsFieldSchemasBuilder_ == null) { + ensureDetailsFieldSchemasIsMutable(); + detailsFieldSchemas_.remove(index); + onChanged(); + } else { + detailsFieldSchemasBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+     * The schemas for `detail` fields that are compatible with this log
+     * type and feed source type. All fields for this log type and feed source
+     * type are either contained here or within
+     * details_field_schema_alternatives.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.Builder + getDetailsFieldSchemasBuilder(int index) { + return internalGetDetailsFieldSchemasFieldBuilder().getBuilder(index); + } + + /** + * + * + *
+     * The schemas for `detail` fields that are compatible with this log
+     * type and feed source type. All fields for this log type and feed source
+     * type are either contained here or within
+     * details_field_schema_alternatives.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaOrBuilder + getDetailsFieldSchemasOrBuilder(int index) { + if (detailsFieldSchemasBuilder_ == null) { + return detailsFieldSchemas_.get(index); + } else { + return detailsFieldSchemasBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
+     * The schemas for `detail` fields that are compatible with this log
+     * type and feed source type. All fields for this log type and feed source
+     * type are either contained here or within
+     * details_field_schema_alternatives.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + public java.util.List< + ? extends com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaOrBuilder> + getDetailsFieldSchemasOrBuilderList() { + if (detailsFieldSchemasBuilder_ != null) { + return detailsFieldSchemasBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(detailsFieldSchemas_); + } + } + + /** + * + * + *
+     * The schemas for `detail` fields that are compatible with this log
+     * type and feed source type. All fields for this log type and feed source
+     * type are either contained here or within
+     * details_field_schema_alternatives.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.Builder + addDetailsFieldSchemasBuilder() { + return internalGetDetailsFieldSchemasFieldBuilder() + .addBuilder( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.getDefaultInstance()); + } + + /** + * + * + *
+     * The schemas for `detail` fields that are compatible with this log
+     * type and feed source type. All fields for this log type and feed source
+     * type are either contained here or within
+     * details_field_schema_alternatives.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.Builder + addDetailsFieldSchemasBuilder(int index) { + return internalGetDetailsFieldSchemasFieldBuilder() + .addBuilder( + index, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.getDefaultInstance()); + } + + /** + * + * + *
+     * The schemas for `detail` fields that are compatible with this log
+     * type and feed source type. All fields for this log type and feed source
+     * type are either contained here or within
+     * details_field_schema_alternatives.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + public java.util.List + getDetailsFieldSchemasBuilderList() { + return internalGetDetailsFieldSchemasFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.Builder, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaOrBuilder> + internalGetDetailsFieldSchemasFieldBuilder() { + if (detailsFieldSchemasBuilder_ == null) { + detailsFieldSchemasBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema.Builder, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaOrBuilder>( + detailsFieldSchemas_, + ((bitField0_ & 0x00000020) != 0), + getParentForChildren(), + isClean()); + detailsFieldSchemas_ = null; + } + return detailsFieldSchemasBuilder_; + } + + private java.util.List< + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative> + detailsFieldSchemaAlternatives_ = java.util.Collections.emptyList(); + + private void ensureDetailsFieldSchemaAlternativesIsMutable() { + if (!((bitField0_ & 0x00000040) != 0)) { + detailsFieldSchemaAlternatives_ = + new java.util.ArrayList< + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative>( + detailsFieldSchemaAlternatives_); + bitField0_ |= 0x00000040; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative.Builder, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternativeOrBuilder> + detailsFieldSchemaAlternativesBuilder_; + + /** + * + * + *
+     * There are sets of fields which represent alternatives to one another. A
+     * user would only fill in one set of fields for any one alternative.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + public java.util.List + getDetailsFieldSchemaAlternativesList() { + if (detailsFieldSchemaAlternativesBuilder_ == null) { + return java.util.Collections.unmodifiableList(detailsFieldSchemaAlternatives_); + } else { + return detailsFieldSchemaAlternativesBuilder_.getMessageList(); + } + } + + /** + * + * + *
+     * There are sets of fields which represent alternatives to one another. A
+     * user would only fill in one set of fields for any one alternative.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + public int getDetailsFieldSchemaAlternativesCount() { + if (detailsFieldSchemaAlternativesBuilder_ == null) { + return detailsFieldSchemaAlternatives_.size(); + } else { + return detailsFieldSchemaAlternativesBuilder_.getCount(); + } + } + + /** + * + * + *
+     * There are sets of fields which represent alternatives to one another. A
+     * user would only fill in one set of fields for any one alternative.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative + getDetailsFieldSchemaAlternatives(int index) { + if (detailsFieldSchemaAlternativesBuilder_ == null) { + return detailsFieldSchemaAlternatives_.get(index); + } else { + return detailsFieldSchemaAlternativesBuilder_.getMessage(index); + } + } + + /** + * + * + *
+     * There are sets of fields which represent alternatives to one another. A
+     * user would only fill in one set of fields for any one alternative.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + public Builder setDetailsFieldSchemaAlternatives( + int index, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative value) { + if (detailsFieldSchemaAlternativesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDetailsFieldSchemaAlternativesIsMutable(); + detailsFieldSchemaAlternatives_.set(index, value); + onChanged(); + } else { + detailsFieldSchemaAlternativesBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * There are sets of fields which represent alternatives to one another. A
+     * user would only fill in one set of fields for any one alternative.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + public Builder setDetailsFieldSchemaAlternatives( + int index, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative.Builder + builderForValue) { + if (detailsFieldSchemaAlternativesBuilder_ == null) { + ensureDetailsFieldSchemaAlternativesIsMutable(); + detailsFieldSchemaAlternatives_.set(index, builderForValue.build()); + onChanged(); + } else { + detailsFieldSchemaAlternativesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * There are sets of fields which represent alternatives to one another. A
+     * user would only fill in one set of fields for any one alternative.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + public Builder addDetailsFieldSchemaAlternatives( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative value) { + if (detailsFieldSchemaAlternativesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDetailsFieldSchemaAlternativesIsMutable(); + detailsFieldSchemaAlternatives_.add(value); + onChanged(); + } else { + detailsFieldSchemaAlternativesBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
+     * There are sets of fields which represent alternatives to one another. A
+     * user would only fill in one set of fields for any one alternative.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + public Builder addDetailsFieldSchemaAlternatives( + int index, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative value) { + if (detailsFieldSchemaAlternativesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDetailsFieldSchemaAlternativesIsMutable(); + detailsFieldSchemaAlternatives_.add(index, value); + onChanged(); + } else { + detailsFieldSchemaAlternativesBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
+     * There are sets of fields which represent alternatives to one another. A
+     * user would only fill in one set of fields for any one alternative.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + public Builder addDetailsFieldSchemaAlternatives( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative.Builder + builderForValue) { + if (detailsFieldSchemaAlternativesBuilder_ == null) { + ensureDetailsFieldSchemaAlternativesIsMutable(); + detailsFieldSchemaAlternatives_.add(builderForValue.build()); + onChanged(); + } else { + detailsFieldSchemaAlternativesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * There are sets of fields which represent alternatives to one another. A
+     * user would only fill in one set of fields for any one alternative.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + public Builder addDetailsFieldSchemaAlternatives( + int index, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative.Builder + builderForValue) { + if (detailsFieldSchemaAlternativesBuilder_ == null) { + ensureDetailsFieldSchemaAlternativesIsMutable(); + detailsFieldSchemaAlternatives_.add(index, builderForValue.build()); + onChanged(); + } else { + detailsFieldSchemaAlternativesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
+     * There are sets of fields which represent alternatives to one another. A
+     * user would only fill in one set of fields for any one alternative.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + public Builder addAllDetailsFieldSchemaAlternatives( + java.lang.Iterable< + ? extends com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative> + values) { + if (detailsFieldSchemaAlternativesBuilder_ == null) { + ensureDetailsFieldSchemaAlternativesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, detailsFieldSchemaAlternatives_); + onChanged(); + } else { + detailsFieldSchemaAlternativesBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
+     * There are sets of fields which represent alternatives to one another. A
+     * user would only fill in one set of fields for any one alternative.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + public Builder clearDetailsFieldSchemaAlternatives() { + if (detailsFieldSchemaAlternativesBuilder_ == null) { + detailsFieldSchemaAlternatives_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + } else { + detailsFieldSchemaAlternativesBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * There are sets of fields which represent alternatives to one another. A
+     * user would only fill in one set of fields for any one alternative.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + public Builder removeDetailsFieldSchemaAlternatives(int index) { + if (detailsFieldSchemaAlternativesBuilder_ == null) { + ensureDetailsFieldSchemaAlternativesIsMutable(); + detailsFieldSchemaAlternatives_.remove(index); + onChanged(); + } else { + detailsFieldSchemaAlternativesBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
+     * There are sets of fields which represent alternatives to one another. A
+     * user would only fill in one set of fields for any one alternative.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative.Builder + getDetailsFieldSchemaAlternativesBuilder(int index) { + return internalGetDetailsFieldSchemaAlternativesFieldBuilder().getBuilder(index); + } + + /** + * + * + *
+     * There are sets of fields which represent alternatives to one another. A
+     * user would only fill in one set of fields for any one alternative.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternativeOrBuilder + getDetailsFieldSchemaAlternativesOrBuilder(int index) { + if (detailsFieldSchemaAlternativesBuilder_ == null) { + return detailsFieldSchemaAlternatives_.get(index); + } else { + return detailsFieldSchemaAlternativesBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
+     * There are sets of fields which represent alternatives to one another. A
+     * user would only fill in one set of fields for any one alternative.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + public java.util.List< + ? extends + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternativeOrBuilder> + getDetailsFieldSchemaAlternativesOrBuilderList() { + if (detailsFieldSchemaAlternativesBuilder_ != null) { + return detailsFieldSchemaAlternativesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(detailsFieldSchemaAlternatives_); + } + } + + /** + * + * + *
+     * There are sets of fields which represent alternatives to one another. A
+     * user would only fill in one set of fields for any one alternative.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative.Builder + addDetailsFieldSchemaAlternativesBuilder() { + return internalGetDetailsFieldSchemaAlternativesFieldBuilder() + .addBuilder( + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative + .getDefaultInstance()); + } + + /** + * + * + *
+     * There are sets of fields which represent alternatives to one another. A
+     * user would only fill in one set of fields for any one alternative.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + public com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative.Builder + addDetailsFieldSchemaAlternativesBuilder(int index) { + return internalGetDetailsFieldSchemaAlternativesFieldBuilder() + .addBuilder( + index, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative + .getDefaultInstance()); + } + + /** + * + * + *
+     * There are sets of fields which represent alternatives to one another. A
+     * user would only fill in one set of fields for any one alternative.
+     * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + public java.util.List< + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative.Builder> + getDetailsFieldSchemaAlternativesBuilderList() { + return internalGetDetailsFieldSchemaAlternativesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative.Builder, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternativeOrBuilder> + internalGetDetailsFieldSchemaAlternativesFieldBuilder() { + if (detailsFieldSchemaAlternativesBuilder_ == null) { + detailsFieldSchemaAlternativesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative.Builder, + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternativeOrBuilder>( + detailsFieldSchemaAlternatives_, + ((bitField0_ & 0x00000040) != 0), + getParentForChildren(), + isClean()); + detailsFieldSchemaAlternatives_ = null; + } + return detailsFieldSchemaAlternativesBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.LogTypeSchema) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.LogTypeSchema) + private static final com.google.cloud.chronicle.v1.LogTypeSchema DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.LogTypeSchema(); + } + + public static com.google.cloud.chronicle.v1.LogTypeSchema getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LogTypeSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.LogTypeSchema getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/LogTypeSchemaName.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/LogTypeSchemaName.java new file mode 100644 index 000000000000..b8d947836242 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/LogTypeSchemaName.java @@ -0,0 +1,301 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1; + +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; +import org.jspecify.annotations.NullMarked; +import org.jspecify.annotations.Nullable; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@NullMarked +@Generated("by gapic-generator-java") +public class LogTypeSchemaName implements ResourceName { + private static final PathTemplate PROJECT_LOCATION_INSTANCE_FEED_SOURCE_TYPE_LOG_TYPE = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}/logTypeSchemas/{log_type}"); + private volatile Map fieldValuesMap; + private final String project; + private final String location; + private final String instance; + private final String feedSourceType; + private final String logType; + + @Deprecated + protected LogTypeSchemaName() { + project = null; + location = null; + instance = null; + feedSourceType = null; + logType = null; + } + + private LogTypeSchemaName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + instance = Preconditions.checkNotNull(builder.getInstance()); + feedSourceType = Preconditions.checkNotNull(builder.getFeedSourceType()); + logType = Preconditions.checkNotNull(builder.getLogType()); + } + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getInstance() { + return instance; + } + + public String getFeedSourceType() { + return feedSourceType; + } + + public String getLogType() { + return logType; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static LogTypeSchemaName of( + String project, String location, String instance, String feedSourceType, String logType) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setInstance(instance) + .setFeedSourceType(feedSourceType) + .setLogType(logType) + .build(); + } + + public static String format( + String project, String location, String instance, String feedSourceType, String logType) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setInstance(instance) + .setFeedSourceType(feedSourceType) + .setLogType(logType) + .build() + .toString(); + } + + public static @Nullable LogTypeSchemaName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PROJECT_LOCATION_INSTANCE_FEED_SOURCE_TYPE_LOG_TYPE.validatedMatch( + formattedString, "LogTypeSchemaName.parse: formattedString not in valid format"); + return of( + matchMap.get("project"), + matchMap.get("location"), + matchMap.get("instance"), + matchMap.get("feed_source_type"), + matchMap.get("log_type")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List<@Nullable LogTypeSchemaName> values) { + List list = new ArrayList<>(values.size()); + for (LogTypeSchemaName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_LOCATION_INSTANCE_FEED_SOURCE_TYPE_LOG_TYPE.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (location != null) { + fieldMapBuilder.put("location", location); + } + if (instance != null) { + fieldMapBuilder.put("instance", instance); + } + if (feedSourceType != null) { + fieldMapBuilder.put("feed_source_type", feedSourceType); + } + if (logType != null) { + fieldMapBuilder.put("log_type", logType); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PROJECT_LOCATION_INSTANCE_FEED_SOURCE_TYPE_LOG_TYPE.instantiate( + "project", + project, + "location", + location, + "instance", + instance, + "feed_source_type", + feedSourceType, + "log_type", + logType); + } + + @Override + public boolean equals(@Nullable Object o) { + if (o == this) { + return true; + } + if (o != null && getClass() == o.getClass()) { + LogTypeSchemaName that = ((LogTypeSchemaName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.location, that.location) + && Objects.equals(this.instance, that.instance) + && Objects.equals(this.feedSourceType, that.feedSourceType) + && Objects.equals(this.logType, that.logType); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(location); + h *= 1000003; + h ^= Objects.hashCode(instance); + h *= 1000003; + h ^= Objects.hashCode(feedSourceType); + h *= 1000003; + h ^= Objects.hashCode(logType); + return h; + } + + /** + * Builder for + * projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}/logTypeSchemas/{log_type}. + */ + public static class Builder { + private String project; + private String location; + private String instance; + private String feedSourceType; + private String logType; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getInstance() { + return instance; + } + + public String getFeedSourceType() { + return feedSourceType; + } + + public String getLogType() { + return logType; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setLocation(String location) { + this.location = location; + return this; + } + + public Builder setInstance(String instance) { + this.instance = instance; + return this; + } + + public Builder setFeedSourceType(String feedSourceType) { + this.feedSourceType = feedSourceType; + return this; + } + + public Builder setLogType(String logType) { + this.logType = logType; + return this; + } + + private Builder(LogTypeSchemaName logTypeSchemaName) { + this.project = logTypeSchemaName.project; + this.location = logTypeSchemaName.location; + this.instance = logTypeSchemaName.instance; + this.feedSourceType = logTypeSchemaName.feedSourceType; + this.logType = logTypeSchemaName.logType; + } + + public LogTypeSchemaName build() { + return new LogTypeSchemaName(this); + } + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/LogTypeSchemaOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/LogTypeSchemaOrBuilder.java new file mode 100644 index 000000000000..8f1cf6cd7571 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/LogTypeSchemaOrBuilder.java @@ -0,0 +1,309 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface LogTypeSchemaOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.LogTypeSchema) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The resource name.
+   * Format:
+   * "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}/logTypeSchemas/{log_type}"
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + + /** + * + * + *
+   * The resource name.
+   * Format:
+   * "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}/logTypeSchemas/{log_type}"
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * A human-readable name for this log type.
+   * 
+ * + * string display_name = 2; + * + * @return The displayName. + */ + java.lang.String getDisplayName(); + + /** + * + * + *
+   * A human-readable name for this log type.
+   * 
+ * + * string display_name = 2; + * + * @return The bytes for displayName. + */ + com.google.protobuf.ByteString getDisplayNameBytes(); + + /** + * + * + *
+   * The log type to be used in the `details.log_type` field.
+   * 
+ * + * string log_type = 3; + * + * @return The logType. + */ + java.lang.String getLogType(); + + /** + * + * + *
+   * The log type to be used in the `details.log_type` field.
+   * 
+ * + * string log_type = 3; + * + * @return The bytes for logType. + */ + com.google.protobuf.ByteString getLogTypeBytes(); + + /** + * + * + *
+   * Whether this log type schema represents a feed configuration that may
+   * exist, but should not be modified (created, edited, or deleted).
+   * 
+ * + * bool read_only = 4; + * + * @return The readOnly. + */ + boolean getReadOnly(); + + /** + * + * + *
+   * A description that is displayed when users create or edit feeds.
+   * 
+ * + * string supporting_documentation = 5; + * + * @return The supportingDocumentation. + */ + java.lang.String getSupportingDocumentation(); + + /** + * + * + *
+   * A description that is displayed when users create or edit feeds.
+   * 
+ * + * string supporting_documentation = 5; + * + * @return The bytes for supportingDocumentation. + */ + com.google.protobuf.ByteString getSupportingDocumentationBytes(); + + /** + * + * + *
+   * The schemas for `detail` fields that are compatible with this log
+   * type and feed source type. All fields for this log type and feed source
+   * type are either contained here or within
+   * details_field_schema_alternatives.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + java.util.List + getDetailsFieldSchemasList(); + + /** + * + * + *
+   * The schemas for `detail` fields that are compatible with this log
+   * type and feed source type. All fields for this log type and feed source
+   * type are either contained here or within
+   * details_field_schema_alternatives.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema getDetailsFieldSchemas(int index); + + /** + * + * + *
+   * The schemas for `detail` fields that are compatible with this log
+   * type and feed source type. All fields for this log type and feed source
+   * type are either contained here or within
+   * details_field_schema_alternatives.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + int getDetailsFieldSchemasCount(); + + /** + * + * + *
+   * The schemas for `detail` fields that are compatible with this log
+   * type and feed source type. All fields for this log type and feed source
+   * type are either contained here or within
+   * details_field_schema_alternatives.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + java.util.List + getDetailsFieldSchemasOrBuilderList(); + + /** + * + * + *
+   * The schemas for `detail` fields that are compatible with this log
+   * type and feed source type. All fields for this log type and feed source
+   * type are either contained here or within
+   * details_field_schema_alternatives.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchema details_field_schemas = 6; + * + */ + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaOrBuilder + getDetailsFieldSchemasOrBuilder(int index); + + /** + * + * + *
+   * There are sets of fields which represent alternatives to one another. A
+   * user would only fill in one set of fields for any one alternative.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + java.util.List + getDetailsFieldSchemaAlternativesList(); + + /** + * + * + *
+   * There are sets of fields which represent alternatives to one another. A
+   * user would only fill in one set of fields for any one alternative.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative + getDetailsFieldSchemaAlternatives(int index); + + /** + * + * + *
+   * There are sets of fields which represent alternatives to one another. A
+   * user would only fill in one set of fields for any one alternative.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + int getDetailsFieldSchemaAlternativesCount(); + + /** + * + * + *
+   * There are sets of fields which represent alternatives to one another. A
+   * user would only fill in one set of fields for any one alternative.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + java.util.List< + ? extends + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternativeOrBuilder> + getDetailsFieldSchemaAlternativesOrBuilderList(); + + /** + * + * + *
+   * There are sets of fields which represent alternatives to one another. A
+   * user would only fill in one set of fields for any one alternative.
+   * 
+ * + * + * repeated .google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; + * + */ + com.google.cloud.chronicle.v1.LogTypeSchema.DetailsFieldSchemaAlternativeOrBuilder + getDetailsFieldSchemaAlternativesOrBuilder(int index); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MandiantIoCSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MandiantIoCSettings.java new file mode 100644 index 000000000000..615a6a7fc02c --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MandiantIoCSettings.java @@ -0,0 +1,998 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Mandiant IOC settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.MandiantIoCSettings} + */ +@com.google.protobuf.Generated +public final class MandiantIoCSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.MandiantIoCSettings) + MandiantIoCSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "MandiantIoCSettings"); + } + + // Use MandiantIoCSettings.newBuilder() to construct. + private MandiantIoCSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private MandiantIoCSettings() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MandiantIoCSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MandiantIoCSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.MandiantIoCSettings.class, + com.google.cloud.chronicle.v1.MandiantIoCSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + public static final int START_TIME_FIELD_NUMBER = 2; + private com.google.protobuf.Timestamp startTime_; + + /** + * + * + *
+   * time since when to start fetching the IOCs
+   * 
+ * + * .google.protobuf.Timestamp start_time = 2; + * + * @return Whether the startTime field is set. + */ + @java.lang.Override + public boolean hasStartTime() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+   * time since when to start fetching the IOCs
+   * 
+ * + * .google.protobuf.Timestamp start_time = 2; + * + * @return The startTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getStartTime() { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + + /** + * + * + *
+   * time since when to start fetching the IOCs
+   * 
+ * + * .google.protobuf.Timestamp start_time = 2; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getStartTime()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); + } + 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.cloud.chronicle.v1.MandiantIoCSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.MandiantIoCSettings other = + (com.google.cloud.chronicle.v1.MandiantIoCSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (hasStartTime() != other.hasStartTime()) return false; + if (hasStartTime()) { + if (!getStartTime().equals(other.getStartTime())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + if (hasStartTime()) { + hash = (37 * hash) + START_TIME_FIELD_NUMBER; + hash = (53 * hash) + getStartTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.MandiantIoCSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.MandiantIoCSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MandiantIoCSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.MandiantIoCSettings 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.cloud.chronicle.v1.MandiantIoCSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.MandiantIoCSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MandiantIoCSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.MandiantIoCSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MandiantIoCSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.MandiantIoCSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MandiantIoCSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.MandiantIoCSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.MandiantIoCSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Mandiant IOC settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.MandiantIoCSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.MandiantIoCSettings) + com.google.cloud.chronicle.v1.MandiantIoCSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MandiantIoCSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MandiantIoCSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.MandiantIoCSettings.class, + com.google.cloud.chronicle.v1.MandiantIoCSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.MandiantIoCSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + internalGetStartTimeFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + startTime_ = null; + if (startTimeBuilder_ != null) { + startTimeBuilder_.dispose(); + startTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MandiantIoCSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MandiantIoCSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.MandiantIoCSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MandiantIoCSettings build() { + com.google.cloud.chronicle.v1.MandiantIoCSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MandiantIoCSettings buildPartial() { + com.google.cloud.chronicle.v1.MandiantIoCSettings result = + new com.google.cloud.chronicle.v1.MandiantIoCSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.MandiantIoCSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.MandiantIoCSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.MandiantIoCSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.MandiantIoCSettings other) { + if (other == com.google.cloud.chronicle.v1.MandiantIoCSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (other.hasStartTime()) { + mergeStartTime(other.getStartTime()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + internalGetStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private com.google.protobuf.Timestamp startTime_; + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; + + /** + * + * + *
+     * time since when to start fetching the IOCs
+     * 
+ * + * .google.protobuf.Timestamp start_time = 2; + * + * @return Whether the startTime field is set. + */ + public boolean hasStartTime() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+     * time since when to start fetching the IOCs
+     * 
+ * + * .google.protobuf.Timestamp start_time = 2; + * + * @return The startTime. + */ + public com.google.protobuf.Timestamp getStartTime() { + if (startTimeBuilder_ == null) { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } else { + return startTimeBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * time since when to start fetching the IOCs
+     * 
+ * + * .google.protobuf.Timestamp start_time = 2; + */ + public Builder setStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + startTime_ = value; + } else { + startTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * time since when to start fetching the IOCs
+     * 
+ * + * .google.protobuf.Timestamp start_time = 2; + */ + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (startTimeBuilder_ == null) { + startTime_ = builderForValue.build(); + } else { + startTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * time since when to start fetching the IOCs
+     * 
+ * + * .google.protobuf.Timestamp start_time = 2; + */ + public Builder mergeStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getStartTimeBuilder().mergeFrom(value); + } else { + startTime_ = value; + } + } else { + startTimeBuilder_.mergeFrom(value); + } + if (startTime_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * time since when to start fetching the IOCs
+     * 
+ * + * .google.protobuf.Timestamp start_time = 2; + */ + public Builder clearStartTime() { + bitField0_ = (bitField0_ & ~0x00000002); + startTime_ = null; + if (startTimeBuilder_ != null) { + startTimeBuilder_.dispose(); + startTimeBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * time since when to start fetching the IOCs
+     * 
+ * + * .google.protobuf.Timestamp start_time = 2; + */ + public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return internalGetStartTimeFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * time since when to start fetching the IOCs
+     * 
+ * + * .google.protobuf.Timestamp start_time = 2; + */ + public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { + if (startTimeBuilder_ != null) { + return startTimeBuilder_.getMessageOrBuilder(); + } else { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + } + + /** + * + * + *
+     * time since when to start fetching the IOCs
+     * 
+ * + * .google.protobuf.Timestamp start_time = 2; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + internalGetStartTimeFieldBuilder() { + if (startTimeBuilder_ == null) { + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); + startTime_ = null; + } + return startTimeBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.MandiantIoCSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.MandiantIoCSettings) + private static final com.google.cloud.chronicle.v1.MandiantIoCSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.MandiantIoCSettings(); + } + + public static com.google.cloud.chronicle.v1.MandiantIoCSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MandiantIoCSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MandiantIoCSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MandiantIoCSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MandiantIoCSettingsOrBuilder.java new file mode 100644 index 000000000000..8b72af3f1630 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MandiantIoCSettingsOrBuilder.java @@ -0,0 +1,108 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface MandiantIoCSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.MandiantIoCSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * time since when to start fetching the IOCs
+   * 
+ * + * .google.protobuf.Timestamp start_time = 2; + * + * @return Whether the startTime field is set. + */ + boolean hasStartTime(); + + /** + * + * + *
+   * time since when to start fetching the IOCs
+   * 
+ * + * .google.protobuf.Timestamp start_time = 2; + * + * @return The startTime. + */ + com.google.protobuf.Timestamp getStartTime(); + + /** + * + * + *
+   * time since when to start fetching the IOCs
+   * 
+ * + * .google.protobuf.Timestamp start_time = 2; + */ + com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MicrosoftGraphAlertSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MicrosoftGraphAlertSettings.java new file mode 100644 index 000000000000..d542303e1bca --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MicrosoftGraphAlertSettings.java @@ -0,0 +1,1300 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Microsoft Graph Alert settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.MicrosoftGraphAlertSettings} + */ +@com.google.protobuf.Generated +public final class MicrosoftGraphAlertSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.MicrosoftGraphAlertSettings) + MicrosoftGraphAlertSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "MicrosoftGraphAlertSettings"); + } + + // Use MicrosoftGraphAlertSettings.newBuilder() to construct. + private MicrosoftGraphAlertSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private MicrosoftGraphAlertSettings() { + tenantId_ = ""; + hostname_ = ""; + authEndpoint_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MicrosoftGraphAlertSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MicrosoftGraphAlertSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings.class, + com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder + getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } + + public static final int TENANT_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object tenantId_ = ""; + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 2; + * + * @return The tenantId. + */ + @java.lang.Override + public java.lang.String getTenantId() { + java.lang.Object ref = tenantId_; + 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(); + tenantId_ = s; + return s; + } + } + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 2; + * + * @return The bytes for tenantId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTenantIdBytes() { + java.lang.Object ref = tenantId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tenantId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int HOSTNAME_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 3; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 3; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AUTH_ENDPOINT_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object authEndpoint_ = ""; + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 4; + * + * @return The authEndpoint. + */ + @java.lang.Override + public java.lang.String getAuthEndpoint() { + java.lang.Object ref = authEndpoint_; + 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(); + authEndpoint_ = s; + return s; + } + } + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 4; + * + * @return The bytes for authEndpoint. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAuthEndpointBytes() { + java.lang.Object ref = authEndpoint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + authEndpoint_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenantId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, tenantId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(authEndpoint_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, authEndpoint_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenantId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, tenantId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(authEndpoint_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, authEndpoint_); + } + 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.cloud.chronicle.v1.MicrosoftGraphAlertSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings other = + (com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getTenantId().equals(other.getTenantId())) return false; + if (!getHostname().equals(other.getHostname())) return false; + if (!getAuthEndpoint().equals(other.getAuthEndpoint())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + TENANT_ID_FIELD_NUMBER; + hash = (53 * hash) + getTenantId().hashCode(); + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + hash = (37 * hash) + AUTH_ENDPOINT_FIELD_NUMBER; + hash = (53 * hash) + getAuthEndpoint().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings 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.cloud.chronicle.v1.MicrosoftGraphAlertSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.MicrosoftGraphAlertSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Microsoft Graph Alert settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.MicrosoftGraphAlertSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.MicrosoftGraphAlertSettings) + com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MicrosoftGraphAlertSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MicrosoftGraphAlertSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings.class, + com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + tenantId_ = ""; + hostname_ = ""; + authEndpoint_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MicrosoftGraphAlertSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings build() { + com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings buildPartial() { + com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings result = + new com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.tenantId_ = tenantId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.hostname_ = hostname_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.authEndpoint_ = authEndpoint_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings other) { + if (other == com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getTenantId().isEmpty()) { + tenantId_ = other.tenantId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getAuthEndpoint().isEmpty()) { + authEndpoint_ = other.authEndpoint_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + tenantId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + authEndpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication( + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials + .getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder + getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder + getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object tenantId_ = ""; + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 2; + * + * @return The tenantId. + */ + public java.lang.String getTenantId() { + java.lang.Object ref = tenantId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tenantId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 2; + * + * @return The bytes for tenantId. + */ + public com.google.protobuf.ByteString getTenantIdBytes() { + java.lang.Object ref = tenantId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tenantId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 2; + * + * @param value The tenantId to set. + * @return This builder for chaining. + */ + public Builder setTenantId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + tenantId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearTenantId() { + tenantId_ = getDefaultInstance().getTenantId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 2; + * + * @param value The bytes for tenantId to set. + * @return This builder for chaining. + */ + public Builder setTenantIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tenantId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 3; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 3; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 3; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 3; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 3; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object authEndpoint_ = ""; + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 4; + * + * @return The authEndpoint. + */ + public java.lang.String getAuthEndpoint() { + java.lang.Object ref = authEndpoint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + authEndpoint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 4; + * + * @return The bytes for authEndpoint. + */ + public com.google.protobuf.ByteString getAuthEndpointBytes() { + java.lang.Object ref = authEndpoint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + authEndpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 4; + * + * @param value The authEndpoint to set. + * @return This builder for chaining. + */ + public Builder setAuthEndpoint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + authEndpoint_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 4; + * + * @return This builder for chaining. + */ + public Builder clearAuthEndpoint() { + authEndpoint_ = getDefaultInstance().getAuthEndpoint(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 4; + * + * @param value The bytes for authEndpoint to set. + * @return This builder for chaining. + */ + public Builder setAuthEndpointBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + authEndpoint_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.MicrosoftGraphAlertSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.MicrosoftGraphAlertSettings) + private static final com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings(); + } + + public static com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MicrosoftGraphAlertSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftGraphAlertSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MicrosoftGraphAlertSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MicrosoftGraphAlertSettingsOrBuilder.java new file mode 100644 index 000000000000..95ea81d0294d --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MicrosoftGraphAlertSettingsOrBuilder.java @@ -0,0 +1,150 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface MicrosoftGraphAlertSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.MicrosoftGraphAlertSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder + getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 2; + * + * @return The tenantId. + */ + java.lang.String getTenantId(); + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 2; + * + * @return The bytes for tenantId. + */ + com.google.protobuf.ByteString getTenantIdBytes(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 3; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 3; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 4; + * + * @return The authEndpoint. + */ + java.lang.String getAuthEndpoint(); + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 4; + * + * @return The bytes for authEndpoint. + */ + com.google.protobuf.ByteString getAuthEndpointBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MicrosoftOAuthClientCredentials.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MicrosoftOAuthClientCredentials.java new file mode 100644 index 000000000000..25adda023f0b --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MicrosoftOAuthClientCredentials.java @@ -0,0 +1,790 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Microsoft OAuth 2.0 client credentials grant.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials} + */ +@com.google.protobuf.Generated +public final class MicrosoftOAuthClientCredentials extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials) + MicrosoftOAuthClientCredentialsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "MicrosoftOAuthClientCredentials"); + } + + // Use MicrosoftOAuthClientCredentials.newBuilder() to construct. + private MicrosoftOAuthClientCredentials(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private MicrosoftOAuthClientCredentials() { + clientId_ = ""; + clientSecret_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MicrosoftOAuthClientCredentials_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MicrosoftOAuthClientCredentials_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.class, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder.class); + } + + public static final int CLIENT_ID_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object clientId_ = ""; + + /** + * + * + *
+   * Client ID.
+   * 
+ * + * string client_id = 1; + * + * @return The clientId. + */ + @java.lang.Override + public java.lang.String getClientId() { + java.lang.Object ref = clientId_; + 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(); + clientId_ = s; + return s; + } + } + + /** + * + * + *
+   * Client ID.
+   * 
+ * + * string client_id = 1; + * + * @return The bytes for clientId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getClientIdBytes() { + java.lang.Object ref = clientId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLIENT_SECRET_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object clientSecret_ = ""; + + /** + * + * + *
+   * Client secret.
+   * 
+ * + * string client_secret = 2; + * + * @return The clientSecret. + */ + @java.lang.Override + public java.lang.String getClientSecret() { + java.lang.Object ref = clientSecret_; + 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(); + clientSecret_ = s; + return s; + } + } + + /** + * + * + *
+   * Client secret.
+   * 
+ * + * string client_secret = 2; + * + * @return The bytes for clientSecret. + */ + @java.lang.Override + public com.google.protobuf.ByteString getClientSecretBytes() { + java.lang.Object ref = clientSecret_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientSecret_ = 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.GeneratedMessage.isStringEmpty(clientId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, clientId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientSecret_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, clientSecret_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, clientId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientSecret_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, clientSecret_); + } + 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.cloud.chronicle.v1.MicrosoftOAuthClientCredentials)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials other = + (com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials) obj; + + if (!getClientId().equals(other.getClientId())) return false; + if (!getClientSecret().equals(other.getClientSecret())) 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_ID_FIELD_NUMBER; + hash = (53 * hash) + getClientId().hashCode(); + hash = (37 * hash) + CLIENT_SECRET_FIELD_NUMBER; + hash = (53 * hash) + getClientSecret().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials 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.cloud.chronicle.v1.MicrosoftOAuthClientCredentials parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.MicrosoftOAuthClientCredentials 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Microsoft OAuth 2.0 client credentials grant.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials) + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MicrosoftOAuthClientCredentials_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MicrosoftOAuthClientCredentials_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.class, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + clientId_ = ""; + clientSecret_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MicrosoftOAuthClientCredentials_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials + getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials build() { + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials buildPartial() { + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials result = + new com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.clientId_ = clientId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.clientSecret_ = clientSecret_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials) { + return mergeFrom((com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials other) { + if (other + == com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance()) + return this; + if (!other.getClientId().isEmpty()) { + clientId_ = other.clientId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getClientSecret().isEmpty()) { + clientSecret_ = other.clientSecret_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + clientId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + clientSecret_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object clientId_ = ""; + + /** + * + * + *
+     * Client ID.
+     * 
+ * + * string client_id = 1; + * + * @return The clientId. + */ + public java.lang.String getClientId() { + java.lang.Object ref = clientId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Client ID.
+     * 
+ * + * string client_id = 1; + * + * @return The bytes for clientId. + */ + public com.google.protobuf.ByteString getClientIdBytes() { + java.lang.Object ref = clientId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Client ID.
+     * 
+ * + * string client_id = 1; + * + * @param value The clientId to set. + * @return This builder for chaining. + */ + public Builder setClientId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + clientId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Client ID.
+     * 
+ * + * string client_id = 1; + * + * @return This builder for chaining. + */ + public Builder clearClientId() { + clientId_ = getDefaultInstance().getClientId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Client ID.
+     * 
+ * + * string client_id = 1; + * + * @param value The bytes for clientId to set. + * @return This builder for chaining. + */ + public Builder setClientIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object clientSecret_ = ""; + + /** + * + * + *
+     * Client secret.
+     * 
+ * + * string client_secret = 2; + * + * @return The clientSecret. + */ + public java.lang.String getClientSecret() { + java.lang.Object ref = clientSecret_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientSecret_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Client secret.
+     * 
+ * + * string client_secret = 2; + * + * @return The bytes for clientSecret. + */ + public com.google.protobuf.ByteString getClientSecretBytes() { + java.lang.Object ref = clientSecret_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientSecret_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Client secret.
+     * 
+ * + * string client_secret = 2; + * + * @param value The clientSecret to set. + * @return This builder for chaining. + */ + public Builder setClientSecret(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + clientSecret_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Client secret.
+     * 
+ * + * string client_secret = 2; + * + * @return This builder for chaining. + */ + public Builder clearClientSecret() { + clientSecret_ = getDefaultInstance().getClientSecret(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Client secret.
+     * 
+ * + * string client_secret = 2; + * + * @param value The bytes for clientSecret to set. + * @return This builder for chaining. + */ + public Builder setClientSecretBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientSecret_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials) + private static final com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials(); + } + + public static com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MicrosoftOAuthClientCredentials parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MicrosoftOAuthClientCredentialsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MicrosoftOAuthClientCredentialsOrBuilder.java new file mode 100644 index 000000000000..dc4f33e461b1 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MicrosoftOAuthClientCredentialsOrBuilder.java @@ -0,0 +1,80 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface MicrosoftOAuthClientCredentialsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Client ID.
+   * 
+ * + * string client_id = 1; + * + * @return The clientId. + */ + java.lang.String getClientId(); + + /** + * + * + *
+   * Client ID.
+   * 
+ * + * string client_id = 1; + * + * @return The bytes for clientId. + */ + com.google.protobuf.ByteString getClientIdBytes(); + + /** + * + * + *
+   * Client secret.
+   * 
+ * + * string client_secret = 2; + * + * @return The clientSecret. + */ + java.lang.String getClientSecret(); + + /** + * + * + *
+   * Client secret.
+   * 
+ * + * string client_secret = 2; + * + * @return The bytes for clientSecret. + */ + com.google.protobuf.ByteString getClientSecretBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MicrosoftSecurityCenterAlertSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MicrosoftSecurityCenterAlertSettings.java new file mode 100644 index 000000000000..e0b8040a9029 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MicrosoftSecurityCenterAlertSettings.java @@ -0,0 +1,1501 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Microsoft Security Center alert settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings} + */ +@com.google.protobuf.Generated +public final class MicrosoftSecurityCenterAlertSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings) + MicrosoftSecurityCenterAlertSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "MicrosoftSecurityCenterAlertSettings"); + } + + // Use MicrosoftSecurityCenterAlertSettings.newBuilder() to construct. + private MicrosoftSecurityCenterAlertSettings( + com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private MicrosoftSecurityCenterAlertSettings() { + subscriptionId_ = ""; + tenantId_ = ""; + hostname_ = ""; + authEndpoint_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MicrosoftSecurityCenterAlertSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MicrosoftSecurityCenterAlertSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings.class, + com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder + getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } + + public static final int SUBSCRIPTION_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object subscriptionId_ = ""; + + /** + * + * + *
+   * Subscription ID of the Microsoft security center alert settings alert.
+   * 
+ * + * string subscription_id = 2; + * + * @return The subscriptionId. + */ + @java.lang.Override + public java.lang.String getSubscriptionId() { + java.lang.Object ref = subscriptionId_; + 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(); + subscriptionId_ = s; + return s; + } + } + + /** + * + * + *
+   * Subscription ID of the Microsoft security center alert settings alert.
+   * 
+ * + * string subscription_id = 2; + * + * @return The bytes for subscriptionId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSubscriptionIdBytes() { + java.lang.Object ref = subscriptionId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + subscriptionId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TENANT_ID_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object tenantId_ = ""; + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 3; + * + * @return The tenantId. + */ + @java.lang.Override + public java.lang.String getTenantId() { + java.lang.Object ref = tenantId_; + 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(); + tenantId_ = s; + return s; + } + } + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 3; + * + * @return The bytes for tenantId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTenantIdBytes() { + java.lang.Object ref = tenantId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tenantId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int HOSTNAME_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 4; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 4; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AUTH_ENDPOINT_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private volatile java.lang.Object authEndpoint_ = ""; + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 5; + * + * @return The authEndpoint. + */ + @java.lang.Override + public java.lang.String getAuthEndpoint() { + java.lang.Object ref = authEndpoint_; + 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(); + authEndpoint_ = s; + return s; + } + } + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 5; + * + * @return The bytes for authEndpoint. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAuthEndpointBytes() { + java.lang.Object ref = authEndpoint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + authEndpoint_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscriptionId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, subscriptionId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenantId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, tenantId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(authEndpoint_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, authEndpoint_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscriptionId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, subscriptionId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenantId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, tenantId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(authEndpoint_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, authEndpoint_); + } + 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.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings other = + (com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getSubscriptionId().equals(other.getSubscriptionId())) return false; + if (!getTenantId().equals(other.getTenantId())) return false; + if (!getHostname().equals(other.getHostname())) return false; + if (!getAuthEndpoint().equals(other.getAuthEndpoint())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + SUBSCRIPTION_ID_FIELD_NUMBER; + hash = (53 * hash) + getSubscriptionId().hashCode(); + hash = (37 * hash) + TENANT_ID_FIELD_NUMBER; + hash = (53 * hash) + getTenantId().hashCode(); + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + hash = (37 * hash) + AUTH_ENDPOINT_FIELD_NUMBER; + hash = (53 * hash) + getAuthEndpoint().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings 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.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Microsoft Security Center alert settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings) + com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MicrosoftSecurityCenterAlertSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MicrosoftSecurityCenterAlertSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings.class, + com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings.Builder.class); + } + + // Construct using + // com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + subscriptionId_ = ""; + tenantId_ = ""; + hostname_ = ""; + authEndpoint_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MicrosoftSecurityCenterAlertSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings + getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings build() { + com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings buildPartial() { + com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings result = + new com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.subscriptionId_ = subscriptionId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.tenantId_ = tenantId_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.hostname_ = hostname_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.authEndpoint_ = authEndpoint_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings) { + return mergeFrom( + (com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings other) { + if (other + == com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings + .getDefaultInstance()) return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getSubscriptionId().isEmpty()) { + subscriptionId_ = other.subscriptionId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getTenantId().isEmpty()) { + tenantId_ = other.tenantId_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getAuthEndpoint().isEmpty()) { + authEndpoint_ = other.authEndpoint_; + bitField0_ |= 0x00000010; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + subscriptionId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + tenantId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + authEndpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication( + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials + .getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder + getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder + getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object subscriptionId_ = ""; + + /** + * + * + *
+     * Subscription ID of the Microsoft security center alert settings alert.
+     * 
+ * + * string subscription_id = 2; + * + * @return The subscriptionId. + */ + public java.lang.String getSubscriptionId() { + java.lang.Object ref = subscriptionId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + subscriptionId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Subscription ID of the Microsoft security center alert settings alert.
+     * 
+ * + * string subscription_id = 2; + * + * @return The bytes for subscriptionId. + */ + public com.google.protobuf.ByteString getSubscriptionIdBytes() { + java.lang.Object ref = subscriptionId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + subscriptionId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Subscription ID of the Microsoft security center alert settings alert.
+     * 
+ * + * string subscription_id = 2; + * + * @param value The subscriptionId to set. + * @return This builder for chaining. + */ + public Builder setSubscriptionId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + subscriptionId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Subscription ID of the Microsoft security center alert settings alert.
+     * 
+ * + * string subscription_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearSubscriptionId() { + subscriptionId_ = getDefaultInstance().getSubscriptionId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Subscription ID of the Microsoft security center alert settings alert.
+     * 
+ * + * string subscription_id = 2; + * + * @param value The bytes for subscriptionId to set. + * @return This builder for chaining. + */ + public Builder setSubscriptionIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subscriptionId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object tenantId_ = ""; + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 3; + * + * @return The tenantId. + */ + public java.lang.String getTenantId() { + java.lang.Object ref = tenantId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tenantId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 3; + * + * @return The bytes for tenantId. + */ + public com.google.protobuf.ByteString getTenantIdBytes() { + java.lang.Object ref = tenantId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tenantId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 3; + * + * @param value The tenantId to set. + * @return This builder for chaining. + */ + public Builder setTenantId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + tenantId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 3; + * + * @return This builder for chaining. + */ + public Builder clearTenantId() { + tenantId_ = getDefaultInstance().getTenantId(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 3; + * + * @param value The bytes for tenantId to set. + * @return This builder for chaining. + */ + public Builder setTenantIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tenantId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 4; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 4; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 4; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 4; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 4; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object authEndpoint_ = ""; + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 5; + * + * @return The authEndpoint. + */ + public java.lang.String getAuthEndpoint() { + java.lang.Object ref = authEndpoint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + authEndpoint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 5; + * + * @return The bytes for authEndpoint. + */ + public com.google.protobuf.ByteString getAuthEndpointBytes() { + java.lang.Object ref = authEndpoint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + authEndpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 5; + * + * @param value The authEndpoint to set. + * @return This builder for chaining. + */ + public Builder setAuthEndpoint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + authEndpoint_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 5; + * + * @return This builder for chaining. + */ + public Builder clearAuthEndpoint() { + authEndpoint_ = getDefaultInstance().getAuthEndpoint(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 5; + * + * @param value The bytes for authEndpoint to set. + * @return This builder for chaining. + */ + public Builder setAuthEndpointBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + authEndpoint_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings) + private static final com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings(); + } + + public static com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MicrosoftSecurityCenterAlertSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MicrosoftSecurityCenterAlertSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MicrosoftSecurityCenterAlertSettingsOrBuilder.java new file mode 100644 index 000000000000..5de89123423e --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MicrosoftSecurityCenterAlertSettingsOrBuilder.java @@ -0,0 +1,176 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface MicrosoftSecurityCenterAlertSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.MicrosoftSecurityCenterAlertSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder + getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Subscription ID of the Microsoft security center alert settings alert.
+   * 
+ * + * string subscription_id = 2; + * + * @return The subscriptionId. + */ + java.lang.String getSubscriptionId(); + + /** + * + * + *
+   * Subscription ID of the Microsoft security center alert settings alert.
+   * 
+ * + * string subscription_id = 2; + * + * @return The bytes for subscriptionId. + */ + com.google.protobuf.ByteString getSubscriptionIdBytes(); + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 3; + * + * @return The tenantId. + */ + java.lang.String getTenantId(); + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 3; + * + * @return The bytes for tenantId. + */ + com.google.protobuf.ByteString getTenantIdBytes(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 4; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 4; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 5; + * + * @return The authEndpoint. + */ + java.lang.String getAuthEndpoint(); + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 5; + * + * @return The bytes for authEndpoint. + */ + com.google.protobuf.ByteString getAuthEndpointBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MimecastMailSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MimecastMailSettings.java new file mode 100644 index 000000000000..10ff91c5421c --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MimecastMailSettings.java @@ -0,0 +1,915 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Mimecast Mail settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.MimecastMailSettings} + */ +@com.google.protobuf.Generated +public final class MimecastMailSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.MimecastMailSettings) + MimecastMailSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "MimecastMailSettings"); + } + + // Use MimecastMailSettings.newBuilder() to construct. + private MimecastMailSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private MimecastMailSettings() { + hostname_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MimecastMailSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MimecastMailSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.MimecastMailSettings.class, + com.google.cloud.chronicle.v1.MimecastMailSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + public static final int HOSTNAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, hostname_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, hostname_); + } + 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.cloud.chronicle.v1.MimecastMailSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.MimecastMailSettings other = + (com.google.cloud.chronicle.v1.MimecastMailSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getHostname().equals(other.getHostname())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.MimecastMailSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.MimecastMailSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MimecastMailSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.MimecastMailSettings 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.cloud.chronicle.v1.MimecastMailSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.MimecastMailSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MimecastMailSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.MimecastMailSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MimecastMailSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.MimecastMailSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MimecastMailSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.MimecastMailSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.MimecastMailSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Mimecast Mail settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.MimecastMailSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.MimecastMailSettings) + com.google.cloud.chronicle.v1.MimecastMailSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MimecastMailSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MimecastMailSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.MimecastMailSettings.class, + com.google.cloud.chronicle.v1.MimecastMailSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.MimecastMailSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + hostname_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MimecastMailSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MimecastMailSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.MimecastMailSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MimecastMailSettings build() { + com.google.cloud.chronicle.v1.MimecastMailSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MimecastMailSettings buildPartial() { + com.google.cloud.chronicle.v1.MimecastMailSettings result = + new com.google.cloud.chronicle.v1.MimecastMailSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.MimecastMailSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.hostname_ = hostname_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.MimecastMailSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.MimecastMailSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.MimecastMailSettings other) { + if (other == com.google.cloud.chronicle.v1.MimecastMailSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.MimecastMailSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.MimecastMailSettings) + private static final com.google.cloud.chronicle.v1.MimecastMailSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.MimecastMailSettings(); + } + + public static com.google.cloud.chronicle.v1.MimecastMailSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MimecastMailSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MimecastMailSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MimecastMailSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MimecastMailSettingsOrBuilder.java new file mode 100644 index 000000000000..c92864006985 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MimecastMailSettingsOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface MimecastMailSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.MimecastMailSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MimecastMailV2Settings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MimecastMailV2Settings.java new file mode 100644 index 000000000000..19a55605e9fe --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MimecastMailV2Settings.java @@ -0,0 +1,731 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Mimecast Mail V2 Settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.MimecastMailV2Settings} + */ +@com.google.protobuf.Generated +public final class MimecastMailV2Settings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.MimecastMailV2Settings) + MimecastMailV2SettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "MimecastMailV2Settings"); + } + + // Use MimecastMailV2Settings.newBuilder() to construct. + private MimecastMailV2Settings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private MimecastMailV2Settings() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MimecastMailV2Settings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MimecastMailV2Settings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.MimecastMailV2Settings.class, + com.google.cloud.chronicle.v1.MimecastMailV2Settings.Builder.class); + } + + private int bitField0_; + public static final int AUTH_CREDENTIALS_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials authCredentials_; + + /** + * + * + *
+   * Required. Mimecast OAuthClientCredentials.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials auth_credentials = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the authCredentials field is set. + */ + @java.lang.Override + public boolean hasAuthCredentials() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Required. Mimecast OAuthClientCredentials.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials auth_credentials = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The authCredentials. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials getAuthCredentials() { + return authCredentials_ == null + ? com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials.getDefaultInstance() + : authCredentials_; + } + + /** + * + * + *
+   * Required. Mimecast OAuthClientCredentials.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials auth_credentials = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentialsOrBuilder + getAuthCredentialsOrBuilder() { + return authCredentials_ == null + ? com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials.getDefaultInstance() + : authCredentials_; + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthCredentials()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthCredentials()); + } + 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.cloud.chronicle.v1.MimecastMailV2Settings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.MimecastMailV2Settings other = + (com.google.cloud.chronicle.v1.MimecastMailV2Settings) obj; + + if (hasAuthCredentials() != other.hasAuthCredentials()) return false; + if (hasAuthCredentials()) { + if (!getAuthCredentials().equals(other.getAuthCredentials())) 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(); + if (hasAuthCredentials()) { + hash = (37 * hash) + AUTH_CREDENTIALS_FIELD_NUMBER; + hash = (53 * hash) + getAuthCredentials().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.MimecastMailV2Settings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.MimecastMailV2Settings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MimecastMailV2Settings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.MimecastMailV2Settings 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.cloud.chronicle.v1.MimecastMailV2Settings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.MimecastMailV2Settings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MimecastMailV2Settings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.MimecastMailV2Settings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MimecastMailV2Settings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.MimecastMailV2Settings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MimecastMailV2Settings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.MimecastMailV2Settings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.MimecastMailV2Settings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Mimecast Mail V2 Settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.MimecastMailV2Settings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.MimecastMailV2Settings) + com.google.cloud.chronicle.v1.MimecastMailV2SettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MimecastMailV2Settings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MimecastMailV2Settings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.MimecastMailV2Settings.class, + com.google.cloud.chronicle.v1.MimecastMailV2Settings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.MimecastMailV2Settings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthCredentialsFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authCredentials_ = null; + if (authCredentialsBuilder_ != null) { + authCredentialsBuilder_.dispose(); + authCredentialsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MimecastMailV2Settings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MimecastMailV2Settings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.MimecastMailV2Settings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MimecastMailV2Settings build() { + com.google.cloud.chronicle.v1.MimecastMailV2Settings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MimecastMailV2Settings buildPartial() { + com.google.cloud.chronicle.v1.MimecastMailV2Settings result = + new com.google.cloud.chronicle.v1.MimecastMailV2Settings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.MimecastMailV2Settings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authCredentials_ = + authCredentialsBuilder_ == null ? authCredentials_ : authCredentialsBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.MimecastMailV2Settings) { + return mergeFrom((com.google.cloud.chronicle.v1.MimecastMailV2Settings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.MimecastMailV2Settings other) { + if (other == com.google.cloud.chronicle.v1.MimecastMailV2Settings.getDefaultInstance()) + return this; + if (other.hasAuthCredentials()) { + mergeAuthCredentials(other.getAuthCredentials()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthCredentialsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials authCredentials_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials, + com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentialsOrBuilder> + authCredentialsBuilder_; + + /** + * + * + *
+     * Required. Mimecast OAuthClientCredentials.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials auth_credentials = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the authCredentials field is set. + */ + public boolean hasAuthCredentials() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Required. Mimecast OAuthClientCredentials.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials auth_credentials = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The authCredentials. + */ + public com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials getAuthCredentials() { + if (authCredentialsBuilder_ == null) { + return authCredentials_ == null + ? com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials.getDefaultInstance() + : authCredentials_; + } else { + return authCredentialsBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Required. Mimecast OAuthClientCredentials.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials auth_credentials = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setAuthCredentials( + com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials value) { + if (authCredentialsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authCredentials_ = value; + } else { + authCredentialsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Mimecast OAuthClientCredentials.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials auth_credentials = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setAuthCredentials( + com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials.Builder builderForValue) { + if (authCredentialsBuilder_ == null) { + authCredentials_ = builderForValue.build(); + } else { + authCredentialsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Mimecast OAuthClientCredentials.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials auth_credentials = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeAuthCredentials( + com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials value) { + if (authCredentialsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authCredentials_ != null + && authCredentials_ + != com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials + .getDefaultInstance()) { + getAuthCredentialsBuilder().mergeFrom(value); + } else { + authCredentials_ = value; + } + } else { + authCredentialsBuilder_.mergeFrom(value); + } + if (authCredentials_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Required. Mimecast OAuthClientCredentials.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials auth_credentials = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearAuthCredentials() { + bitField0_ = (bitField0_ & ~0x00000001); + authCredentials_ = null; + if (authCredentialsBuilder_ != null) { + authCredentialsBuilder_.dispose(); + authCredentialsBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Mimecast OAuthClientCredentials.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials auth_credentials = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials.Builder + getAuthCredentialsBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthCredentialsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Required. Mimecast OAuthClientCredentials.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials auth_credentials = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentialsOrBuilder + getAuthCredentialsOrBuilder() { + if (authCredentialsBuilder_ != null) { + return authCredentialsBuilder_.getMessageOrBuilder(); + } else { + return authCredentials_ == null + ? com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials.getDefaultInstance() + : authCredentials_; + } + } + + /** + * + * + *
+     * Required. Mimecast OAuthClientCredentials.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials auth_credentials = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials, + com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentialsOrBuilder> + internalGetAuthCredentialsFieldBuilder() { + if (authCredentialsBuilder_ == null) { + authCredentialsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials, + com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentialsOrBuilder>( + getAuthCredentials(), getParentForChildren(), isClean()); + authCredentials_ = null; + } + return authCredentialsBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.MimecastMailV2Settings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.MimecastMailV2Settings) + private static final com.google.cloud.chronicle.v1.MimecastMailV2Settings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.MimecastMailV2Settings(); + } + + public static com.google.cloud.chronicle.v1.MimecastMailV2Settings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MimecastMailV2Settings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MimecastMailV2Settings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MimecastMailV2SettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MimecastMailV2SettingsOrBuilder.java new file mode 100644 index 000000000000..3c7e6b37206d --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MimecastMailV2SettingsOrBuilder.java @@ -0,0 +1,72 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface MimecastMailV2SettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.MimecastMailV2Settings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Mimecast OAuthClientCredentials.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials auth_credentials = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the authCredentials field is set. + */ + boolean hasAuthCredentials(); + + /** + * + * + *
+   * Required. Mimecast OAuthClientCredentials.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials auth_credentials = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The authCredentials. + */ + com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials getAuthCredentials(); + + /** + * + * + *
+   * Required. Mimecast OAuthClientCredentials.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials auth_credentials = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentialsOrBuilder + getAuthCredentialsOrBuilder(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MimecastV2OAuthClientCredentials.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MimecastV2OAuthClientCredentials.java new file mode 100644 index 000000000000..5db2a1163922 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MimecastV2OAuthClientCredentials.java @@ -0,0 +1,793 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * OAuth 2.0 client credentials grant. See https://tools.ietf.org/html/rfc6749.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials} + */ +@com.google.protobuf.Generated +public final class MimecastV2OAuthClientCredentials extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials) + MimecastV2OAuthClientCredentialsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "MimecastV2OAuthClientCredentials"); + } + + // Use MimecastV2OAuthClientCredentials.newBuilder() to construct. + private MimecastV2OAuthClientCredentials( + com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private MimecastV2OAuthClientCredentials() { + clientId_ = ""; + clientSecret_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MimecastV2OAuthClientCredentials_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MimecastV2OAuthClientCredentials_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials.class, + com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials.Builder.class); + } + + public static final int CLIENT_ID_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object clientId_ = ""; + + /** + * + * + *
+   * Required. Client ID.
+   * 
+ * + * string client_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clientId. + */ + @java.lang.Override + public java.lang.String getClientId() { + java.lang.Object ref = clientId_; + 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(); + clientId_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Client ID.
+   * 
+ * + * string client_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clientId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getClientIdBytes() { + java.lang.Object ref = clientId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLIENT_SECRET_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object clientSecret_ = ""; + + /** + * + * + *
+   * Required. Client Secret.
+   * 
+ * + * string client_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clientSecret. + */ + @java.lang.Override + public java.lang.String getClientSecret() { + java.lang.Object ref = clientSecret_; + 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(); + clientSecret_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Client Secret.
+   * 
+ * + * string client_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clientSecret. + */ + @java.lang.Override + public com.google.protobuf.ByteString getClientSecretBytes() { + java.lang.Object ref = clientSecret_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientSecret_ = 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.GeneratedMessage.isStringEmpty(clientId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, clientId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientSecret_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, clientSecret_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, clientId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientSecret_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, clientSecret_); + } + 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.cloud.chronicle.v1.MimecastV2OAuthClientCredentials)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials other = + (com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials) obj; + + if (!getClientId().equals(other.getClientId())) return false; + if (!getClientSecret().equals(other.getClientSecret())) 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_ID_FIELD_NUMBER; + hash = (53 * hash) + getClientId().hashCode(); + hash = (37 * hash) + CLIENT_SECRET_FIELD_NUMBER; + hash = (53 * hash) + getClientSecret().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials 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.cloud.chronicle.v1.MimecastV2OAuthClientCredentials parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.MimecastV2OAuthClientCredentials 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * OAuth 2.0 client credentials grant. See https://tools.ietf.org/html/rfc6749.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials) + com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentialsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MimecastV2OAuthClientCredentials_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MimecastV2OAuthClientCredentials_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials.class, + com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + clientId_ = ""; + clientSecret_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MimecastV2OAuthClientCredentials_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials + getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials build() { + com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials buildPartial() { + com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials result = + new com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.clientId_ = clientId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.clientSecret_ = clientSecret_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials) { + return mergeFrom((com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials other) { + if (other + == com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials.getDefaultInstance()) + return this; + if (!other.getClientId().isEmpty()) { + clientId_ = other.clientId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getClientSecret().isEmpty()) { + clientSecret_ = other.clientSecret_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + clientId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + clientSecret_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object clientId_ = ""; + + /** + * + * + *
+     * Required. Client ID.
+     * 
+ * + * string client_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clientId. + */ + public java.lang.String getClientId() { + java.lang.Object ref = clientId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Client ID.
+     * 
+ * + * string client_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clientId. + */ + public com.google.protobuf.ByteString getClientIdBytes() { + java.lang.Object ref = clientId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Client ID.
+     * 
+ * + * string client_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The clientId to set. + * @return This builder for chaining. + */ + public Builder setClientId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + clientId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Client ID.
+     * 
+ * + * string client_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearClientId() { + clientId_ = getDefaultInstance().getClientId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Client ID.
+     * 
+ * + * string client_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for clientId to set. + * @return This builder for chaining. + */ + public Builder setClientIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object clientSecret_ = ""; + + /** + * + * + *
+     * Required. Client Secret.
+     * 
+ * + * string client_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clientSecret. + */ + public java.lang.String getClientSecret() { + java.lang.Object ref = clientSecret_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientSecret_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Client Secret.
+     * 
+ * + * string client_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clientSecret. + */ + public com.google.protobuf.ByteString getClientSecretBytes() { + java.lang.Object ref = clientSecret_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientSecret_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Client Secret.
+     * 
+ * + * string client_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The clientSecret to set. + * @return This builder for chaining. + */ + public Builder setClientSecret(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + clientSecret_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Client Secret.
+     * 
+ * + * string client_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearClientSecret() { + clientSecret_ = getDefaultInstance().getClientSecret(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Client Secret.
+     * 
+ * + * string client_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for clientSecret to set. + * @return This builder for chaining. + */ + public Builder setClientSecretBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientSecret_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials) + private static final com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials(); + } + + public static com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MimecastV2OAuthClientCredentials parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MimecastV2OAuthClientCredentialsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MimecastV2OAuthClientCredentialsOrBuilder.java new file mode 100644 index 000000000000..23f6cd69b239 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MimecastV2OAuthClientCredentialsOrBuilder.java @@ -0,0 +1,80 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface MimecastV2OAuthClientCredentialsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.MimecastV2OAuthClientCredentials) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Client ID.
+   * 
+ * + * string client_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clientId. + */ + java.lang.String getClientId(); + + /** + * + * + *
+   * Required. Client ID.
+   * 
+ * + * string client_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clientId. + */ + com.google.protobuf.ByteString getClientIdBytes(); + + /** + * + * + *
+   * Required. Client Secret.
+   * 
+ * + * string client_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clientSecret. + */ + java.lang.String getClientSecret(); + + /** + * + * + *
+   * Required. Client Secret.
+   * 
+ * + * string client_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clientSecret. + */ + com.google.protobuf.ByteString getClientSecretBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MssoAuthentication.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MssoAuthentication.java new file mode 100644 index 000000000000..052d3de90613 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MssoAuthentication.java @@ -0,0 +1,1053 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Info for MssoAuthentication using a username, password, and login api
+ * endpoint.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.MssoAuthentication} + */ +@com.google.protobuf.Generated +public final class MssoAuthentication extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.MssoAuthentication) + MssoAuthenticationOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "MssoAuthentication"); + } + + // Use MssoAuthentication.newBuilder() to construct. + private MssoAuthentication(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private MssoAuthentication() { + username_ = ""; + password_ = ""; + apiEndpoint_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MssoAuthentication_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MssoAuthentication_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.MssoAuthentication.class, + com.google.cloud.chronicle.v1.MssoAuthentication.Builder.class); + } + + public static final int USERNAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object username_ = ""; + + /** + * + * + *
+   * Required. Username for MSSO authentication.
+   * There are no restrictions on the format of the username. It has no default,
+   * specifically enforced min / max length or character set. The username
+   * will have been provided by an MSSO administrator and it is assumed that
+   * they have provided a username that is internally consistent with MSSO
+   * authentication requirements / validation.
+   * 
+ * + * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The username. + */ + @java.lang.Override + public java.lang.String getUsername() { + java.lang.Object ref = username_; + 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(); + username_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Username for MSSO authentication.
+   * There are no restrictions on the format of the username. It has no default,
+   * specifically enforced min / max length or character set. The username
+   * will have been provided by an MSSO administrator and it is assumed that
+   * they have provided a username that is internally consistent with MSSO
+   * authentication requirements / validation.
+   * 
+ * + * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for username. + */ + @java.lang.Override + public com.google.protobuf.ByteString getUsernameBytes() { + java.lang.Object ref = username_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + username_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PASSWORD_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object password_ = ""; + + /** + * + * + *
+   * Required. Password of the account identified by username.
+   * There are no restrictions on the format of the password. It has no default,
+   * specifically enforced min / max length or character set. The password
+   * will have been provided by an MSSO administrator and it is assumed that
+   * they have provided a password that is internally consistent with MSSO
+   * authentication requirements / validation.
+   * 
+ * + * string password = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The password. + */ + @java.lang.Override + public java.lang.String getPassword() { + java.lang.Object ref = password_; + 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(); + password_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Password of the account identified by username.
+   * There are no restrictions on the format of the password. It has no default,
+   * specifically enforced min / max length or character set. The password
+   * will have been provided by an MSSO administrator and it is assumed that
+   * they have provided a password that is internally consistent with MSSO
+   * authentication requirements / validation.
+   * 
+ * + * string password = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for password. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPasswordBytes() { + java.lang.Object ref = password_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + password_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int API_ENDPOINT_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object apiEndpoint_ = ""; + + /** + * + * + *
+   * Required. The login api endpoint url.
+   * This must be a valid URL with an http or https scheme. It has no default.
+   * 
+ * + * string api_endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The apiEndpoint. + */ + @java.lang.Override + public java.lang.String getApiEndpoint() { + java.lang.Object ref = apiEndpoint_; + 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(); + apiEndpoint_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. The login api endpoint url.
+   * This must be a valid URL with an http or https scheme. It has no default.
+   * 
+ * + * string api_endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for apiEndpoint. + */ + @java.lang.Override + public com.google.protobuf.ByteString getApiEndpointBytes() { + java.lang.Object ref = apiEndpoint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + apiEndpoint_ = 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.GeneratedMessage.isStringEmpty(username_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, username_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(password_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, password_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(apiEndpoint_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, apiEndpoint_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(username_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, username_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(password_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, password_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(apiEndpoint_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, apiEndpoint_); + } + 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.cloud.chronicle.v1.MssoAuthentication)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.MssoAuthentication other = + (com.google.cloud.chronicle.v1.MssoAuthentication) obj; + + if (!getUsername().equals(other.getUsername())) return false; + if (!getPassword().equals(other.getPassword())) return false; + if (!getApiEndpoint().equals(other.getApiEndpoint())) 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) + USERNAME_FIELD_NUMBER; + hash = (53 * hash) + getUsername().hashCode(); + hash = (37 * hash) + PASSWORD_FIELD_NUMBER; + hash = (53 * hash) + getPassword().hashCode(); + hash = (37 * hash) + API_ENDPOINT_FIELD_NUMBER; + hash = (53 * hash) + getApiEndpoint().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.MssoAuthentication parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.MssoAuthentication parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MssoAuthentication parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.MssoAuthentication 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.cloud.chronicle.v1.MssoAuthentication parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.MssoAuthentication parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MssoAuthentication parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.MssoAuthentication parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MssoAuthentication parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.MssoAuthentication parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.MssoAuthentication parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.MssoAuthentication parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.MssoAuthentication 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Info for MssoAuthentication using a username, password, and login api
+   * endpoint.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.MssoAuthentication} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.MssoAuthentication) + com.google.cloud.chronicle.v1.MssoAuthenticationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MssoAuthentication_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MssoAuthentication_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.MssoAuthentication.class, + com.google.cloud.chronicle.v1.MssoAuthentication.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.MssoAuthentication.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + username_ = ""; + password_ = ""; + apiEndpoint_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_MssoAuthentication_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MssoAuthentication getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.MssoAuthentication.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MssoAuthentication build() { + com.google.cloud.chronicle.v1.MssoAuthentication result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MssoAuthentication buildPartial() { + com.google.cloud.chronicle.v1.MssoAuthentication result = + new com.google.cloud.chronicle.v1.MssoAuthentication(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.MssoAuthentication result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.username_ = username_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.password_ = password_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.apiEndpoint_ = apiEndpoint_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.MssoAuthentication) { + return mergeFrom((com.google.cloud.chronicle.v1.MssoAuthentication) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.MssoAuthentication other) { + if (other == com.google.cloud.chronicle.v1.MssoAuthentication.getDefaultInstance()) + return this; + if (!other.getUsername().isEmpty()) { + username_ = other.username_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getPassword().isEmpty()) { + password_ = other.password_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getApiEndpoint().isEmpty()) { + apiEndpoint_ = other.apiEndpoint_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + username_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + password_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + apiEndpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object username_ = ""; + + /** + * + * + *
+     * Required. Username for MSSO authentication.
+     * There are no restrictions on the format of the username. It has no default,
+     * specifically enforced min / max length or character set. The username
+     * will have been provided by an MSSO administrator and it is assumed that
+     * they have provided a username that is internally consistent with MSSO
+     * authentication requirements / validation.
+     * 
+ * + * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The username. + */ + public java.lang.String getUsername() { + java.lang.Object ref = username_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + username_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Username for MSSO authentication.
+     * There are no restrictions on the format of the username. It has no default,
+     * specifically enforced min / max length or character set. The username
+     * will have been provided by an MSSO administrator and it is assumed that
+     * they have provided a username that is internally consistent with MSSO
+     * authentication requirements / validation.
+     * 
+ * + * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for username. + */ + public com.google.protobuf.ByteString getUsernameBytes() { + java.lang.Object ref = username_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + username_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Username for MSSO authentication.
+     * There are no restrictions on the format of the username. It has no default,
+     * specifically enforced min / max length or character set. The username
+     * will have been provided by an MSSO administrator and it is assumed that
+     * they have provided a username that is internally consistent with MSSO
+     * authentication requirements / validation.
+     * 
+ * + * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The username to set. + * @return This builder for chaining. + */ + public Builder setUsername(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + username_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Username for MSSO authentication.
+     * There are no restrictions on the format of the username. It has no default,
+     * specifically enforced min / max length or character set. The username
+     * will have been provided by an MSSO administrator and it is assumed that
+     * they have provided a username that is internally consistent with MSSO
+     * authentication requirements / validation.
+     * 
+ * + * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearUsername() { + username_ = getDefaultInstance().getUsername(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Username for MSSO authentication.
+     * There are no restrictions on the format of the username. It has no default,
+     * specifically enforced min / max length or character set. The username
+     * will have been provided by an MSSO administrator and it is assumed that
+     * they have provided a username that is internally consistent with MSSO
+     * authentication requirements / validation.
+     * 
+ * + * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for username to set. + * @return This builder for chaining. + */ + public Builder setUsernameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + username_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object password_ = ""; + + /** + * + * + *
+     * Required. Password of the account identified by username.
+     * There are no restrictions on the format of the password. It has no default,
+     * specifically enforced min / max length or character set. The password
+     * will have been provided by an MSSO administrator and it is assumed that
+     * they have provided a password that is internally consistent with MSSO
+     * authentication requirements / validation.
+     * 
+ * + * string password = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The password. + */ + public java.lang.String getPassword() { + java.lang.Object ref = password_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + password_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Password of the account identified by username.
+     * There are no restrictions on the format of the password. It has no default,
+     * specifically enforced min / max length or character set. The password
+     * will have been provided by an MSSO administrator and it is assumed that
+     * they have provided a password that is internally consistent with MSSO
+     * authentication requirements / validation.
+     * 
+ * + * string password = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for password. + */ + public com.google.protobuf.ByteString getPasswordBytes() { + java.lang.Object ref = password_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + password_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Password of the account identified by username.
+     * There are no restrictions on the format of the password. It has no default,
+     * specifically enforced min / max length or character set. The password
+     * will have been provided by an MSSO administrator and it is assumed that
+     * they have provided a password that is internally consistent with MSSO
+     * authentication requirements / validation.
+     * 
+ * + * string password = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The password to set. + * @return This builder for chaining. + */ + public Builder setPassword(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + password_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Password of the account identified by username.
+     * There are no restrictions on the format of the password. It has no default,
+     * specifically enforced min / max length or character set. The password
+     * will have been provided by an MSSO administrator and it is assumed that
+     * they have provided a password that is internally consistent with MSSO
+     * authentication requirements / validation.
+     * 
+ * + * string password = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearPassword() { + password_ = getDefaultInstance().getPassword(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Password of the account identified by username.
+     * There are no restrictions on the format of the password. It has no default,
+     * specifically enforced min / max length or character set. The password
+     * will have been provided by an MSSO administrator and it is assumed that
+     * they have provided a password that is internally consistent with MSSO
+     * authentication requirements / validation.
+     * 
+ * + * string password = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for password to set. + * @return This builder for chaining. + */ + public Builder setPasswordBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + password_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object apiEndpoint_ = ""; + + /** + * + * + *
+     * Required. The login api endpoint url.
+     * This must be a valid URL with an http or https scheme. It has no default.
+     * 
+ * + * string api_endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The apiEndpoint. + */ + public java.lang.String getApiEndpoint() { + java.lang.Object ref = apiEndpoint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + apiEndpoint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. The login api endpoint url.
+     * This must be a valid URL with an http or https scheme. It has no default.
+     * 
+ * + * string api_endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for apiEndpoint. + */ + public com.google.protobuf.ByteString getApiEndpointBytes() { + java.lang.Object ref = apiEndpoint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + apiEndpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. The login api endpoint url.
+     * This must be a valid URL with an http or https scheme. It has no default.
+     * 
+ * + * string api_endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The apiEndpoint to set. + * @return This builder for chaining. + */ + public Builder setApiEndpoint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + apiEndpoint_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The login api endpoint url.
+     * This must be a valid URL with an http or https scheme. It has no default.
+     * 
+ * + * string api_endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearApiEndpoint() { + apiEndpoint_ = getDefaultInstance().getApiEndpoint(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The login api endpoint url.
+     * This must be a valid URL with an http or https scheme. It has no default.
+     * 
+ * + * string api_endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for apiEndpoint to set. + * @return This builder for chaining. + */ + public Builder setApiEndpointBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiEndpoint_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.MssoAuthentication) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.MssoAuthentication) + private static final com.google.cloud.chronicle.v1.MssoAuthentication DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.MssoAuthentication(); + } + + public static com.google.cloud.chronicle.v1.MssoAuthentication getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MssoAuthentication parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.MssoAuthentication getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MssoAuthenticationOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MssoAuthenticationOrBuilder.java new file mode 100644 index 000000000000..e43acecc5865 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/MssoAuthenticationOrBuilder.java @@ -0,0 +1,128 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface MssoAuthenticationOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.MssoAuthentication) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Username for MSSO authentication.
+   * There are no restrictions on the format of the username. It has no default,
+   * specifically enforced min / max length or character set. The username
+   * will have been provided by an MSSO administrator and it is assumed that
+   * they have provided a username that is internally consistent with MSSO
+   * authentication requirements / validation.
+   * 
+ * + * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The username. + */ + java.lang.String getUsername(); + + /** + * + * + *
+   * Required. Username for MSSO authentication.
+   * There are no restrictions on the format of the username. It has no default,
+   * specifically enforced min / max length or character set. The username
+   * will have been provided by an MSSO administrator and it is assumed that
+   * they have provided a username that is internally consistent with MSSO
+   * authentication requirements / validation.
+   * 
+ * + * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for username. + */ + com.google.protobuf.ByteString getUsernameBytes(); + + /** + * + * + *
+   * Required. Password of the account identified by username.
+   * There are no restrictions on the format of the password. It has no default,
+   * specifically enforced min / max length or character set. The password
+   * will have been provided by an MSSO administrator and it is assumed that
+   * they have provided a password that is internally consistent with MSSO
+   * authentication requirements / validation.
+   * 
+ * + * string password = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The password. + */ + java.lang.String getPassword(); + + /** + * + * + *
+   * Required. Password of the account identified by username.
+   * There are no restrictions on the format of the password. It has no default,
+   * specifically enforced min / max length or character set. The password
+   * will have been provided by an MSSO administrator and it is assumed that
+   * they have provided a password that is internally consistent with MSSO
+   * authentication requirements / validation.
+   * 
+ * + * string password = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for password. + */ + com.google.protobuf.ByteString getPasswordBytes(); + + /** + * + * + *
+   * Required. The login api endpoint url.
+   * This must be a valid URL with an http or https scheme. It has no default.
+   * 
+ * + * string api_endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The apiEndpoint. + */ + java.lang.String getApiEndpoint(); + + /** + * + * + *
+   * Required. The login api endpoint url.
+   * This must be a valid URL with an http or https scheme. It has no default.
+   * 
+ * + * string api_endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for apiEndpoint. + */ + com.google.protobuf.ByteString getApiEndpointBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/NetskopeAlertSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/NetskopeAlertSettings.java new file mode 100644 index 000000000000..28deaa84ddf6 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/NetskopeAlertSettings.java @@ -0,0 +1,1293 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Netskope Alert settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.NetskopeAlertSettings} + */ +@com.google.protobuf.Generated +public final class NetskopeAlertSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.NetskopeAlertSettings) + NetskopeAlertSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "NetskopeAlertSettings"); + } + + // Use NetskopeAlertSettings.newBuilder() to construct. + private NetskopeAlertSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private NetskopeAlertSettings() { + hostname_ = ""; + feedname_ = ""; + contentType_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_NetskopeAlertSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_NetskopeAlertSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.NetskopeAlertSettings.class, + com.google.cloud.chronicle.v1.NetskopeAlertSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + public static final int HOSTNAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FEEDNAME_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object feedname_ = ""; + + /** + * + * + *
+   * Feedname.
+   * 
+ * + * string feedname = 3; + * + * @return The feedname. + */ + @java.lang.Override + public java.lang.String getFeedname() { + java.lang.Object ref = feedname_; + 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(); + feedname_ = s; + return s; + } + } + + /** + * + * + *
+   * Feedname.
+   * 
+ * + * string feedname = 3; + * + * @return The bytes for feedname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFeednameBytes() { + java.lang.Object ref = feedname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + feedname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CONTENT_TYPE_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object contentType_ = ""; + + /** + * + * + *
+   * Content type.
+   * 
+ * + * string content_type = 4; + * + * @return The contentType. + */ + @java.lang.Override + public java.lang.String getContentType() { + java.lang.Object ref = contentType_; + 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(); + contentType_ = s; + return s; + } + } + + /** + * + * + *
+   * Content type.
+   * 
+ * + * string content_type = 4; + * + * @return The bytes for contentType. + */ + @java.lang.Override + public com.google.protobuf.ByteString getContentTypeBytes() { + java.lang.Object ref = contentType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + contentType_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(feedname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, feedname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(contentType_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, contentType_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(feedname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, feedname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(contentType_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, contentType_); + } + 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.cloud.chronicle.v1.NetskopeAlertSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.NetskopeAlertSettings other = + (com.google.cloud.chronicle.v1.NetskopeAlertSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getHostname().equals(other.getHostname())) return false; + if (!getFeedname().equals(other.getFeedname())) return false; + if (!getContentType().equals(other.getContentType())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + hash = (37 * hash) + FEEDNAME_FIELD_NUMBER; + hash = (53 * hash) + getFeedname().hashCode(); + hash = (37 * hash) + CONTENT_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getContentType().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.NetskopeAlertSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.NetskopeAlertSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.NetskopeAlertSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.NetskopeAlertSettings 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.cloud.chronicle.v1.NetskopeAlertSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.NetskopeAlertSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.NetskopeAlertSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.NetskopeAlertSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.NetskopeAlertSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.NetskopeAlertSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.NetskopeAlertSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.NetskopeAlertSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.NetskopeAlertSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Netskope Alert settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.NetskopeAlertSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.NetskopeAlertSettings) + com.google.cloud.chronicle.v1.NetskopeAlertSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_NetskopeAlertSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_NetskopeAlertSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.NetskopeAlertSettings.class, + com.google.cloud.chronicle.v1.NetskopeAlertSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.NetskopeAlertSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + hostname_ = ""; + feedname_ = ""; + contentType_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_NetskopeAlertSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.NetskopeAlertSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.NetskopeAlertSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.NetskopeAlertSettings build() { + com.google.cloud.chronicle.v1.NetskopeAlertSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.NetskopeAlertSettings buildPartial() { + com.google.cloud.chronicle.v1.NetskopeAlertSettings result = + new com.google.cloud.chronicle.v1.NetskopeAlertSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.NetskopeAlertSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.hostname_ = hostname_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.feedname_ = feedname_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.contentType_ = contentType_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.NetskopeAlertSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.NetskopeAlertSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.NetskopeAlertSettings other) { + if (other == com.google.cloud.chronicle.v1.NetskopeAlertSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getFeedname().isEmpty()) { + feedname_ = other.feedname_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getContentType().isEmpty()) { + contentType_ = other.contentType_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + feedname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + contentType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object feedname_ = ""; + + /** + * + * + *
+     * Feedname.
+     * 
+ * + * string feedname = 3; + * + * @return The feedname. + */ + public java.lang.String getFeedname() { + java.lang.Object ref = feedname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + feedname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Feedname.
+     * 
+ * + * string feedname = 3; + * + * @return The bytes for feedname. + */ + public com.google.protobuf.ByteString getFeednameBytes() { + java.lang.Object ref = feedname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + feedname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Feedname.
+     * 
+ * + * string feedname = 3; + * + * @param value The feedname to set. + * @return This builder for chaining. + */ + public Builder setFeedname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + feedname_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Feedname.
+     * 
+ * + * string feedname = 3; + * + * @return This builder for chaining. + */ + public Builder clearFeedname() { + feedname_ = getDefaultInstance().getFeedname(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Feedname.
+     * 
+ * + * string feedname = 3; + * + * @param value The bytes for feedname to set. + * @return This builder for chaining. + */ + public Builder setFeednameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + feedname_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object contentType_ = ""; + + /** + * + * + *
+     * Content type.
+     * 
+ * + * string content_type = 4; + * + * @return The contentType. + */ + public java.lang.String getContentType() { + java.lang.Object ref = contentType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + contentType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Content type.
+     * 
+ * + * string content_type = 4; + * + * @return The bytes for contentType. + */ + public com.google.protobuf.ByteString getContentTypeBytes() { + java.lang.Object ref = contentType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + contentType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Content type.
+     * 
+ * + * string content_type = 4; + * + * @param value The contentType to set. + * @return This builder for chaining. + */ + public Builder setContentType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + contentType_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Content type.
+     * 
+ * + * string content_type = 4; + * + * @return This builder for chaining. + */ + public Builder clearContentType() { + contentType_ = getDefaultInstance().getContentType(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+     * Content type.
+     * 
+ * + * string content_type = 4; + * + * @param value The bytes for contentType to set. + * @return This builder for chaining. + */ + public Builder setContentTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + contentType_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.NetskopeAlertSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.NetskopeAlertSettings) + private static final com.google.cloud.chronicle.v1.NetskopeAlertSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.NetskopeAlertSettings(); + } + + public static com.google.cloud.chronicle.v1.NetskopeAlertSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetskopeAlertSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.NetskopeAlertSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/NetskopeAlertSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/NetskopeAlertSettingsOrBuilder.java new file mode 100644 index 000000000000..39aa534917d2 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/NetskopeAlertSettingsOrBuilder.java @@ -0,0 +1,149 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface NetskopeAlertSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.NetskopeAlertSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); + + /** + * + * + *
+   * Feedname.
+   * 
+ * + * string feedname = 3; + * + * @return The feedname. + */ + java.lang.String getFeedname(); + + /** + * + * + *
+   * Feedname.
+   * 
+ * + * string feedname = 3; + * + * @return The bytes for feedname. + */ + com.google.protobuf.ByteString getFeednameBytes(); + + /** + * + * + *
+   * Content type.
+   * 
+ * + * string content_type = 4; + * + * @return The contentType. + */ + java.lang.String getContentType(); + + /** + * + * + *
+   * Content type.
+   * 
+ * + * string content_type = 4; + * + * @return The bytes for contentType. + */ + com.google.protobuf.ByteString getContentTypeBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/NetskopeAlertV2Settings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/NetskopeAlertV2Settings.java new file mode 100644 index 000000000000..0424e65959e9 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/NetskopeAlertV2Settings.java @@ -0,0 +1,1395 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Netskope Alert V2 settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.NetskopeAlertV2Settings} + */ +@com.google.protobuf.Generated +public final class NetskopeAlertV2Settings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.NetskopeAlertV2Settings) + NetskopeAlertV2SettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "NetskopeAlertV2Settings"); + } + + // Use NetskopeAlertV2Settings.newBuilder() to construct. + private NetskopeAlertV2Settings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private NetskopeAlertV2Settings() { + hostname_ = ""; + contentCategory_ = ""; + contentTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_NetskopeAlertV2Settings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_NetskopeAlertV2Settings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.NetskopeAlertV2Settings.class, + com.google.cloud.chronicle.v1.NetskopeAlertV2Settings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + public static final int HOSTNAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CONTENT_CATEGORY_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object contentCategory_ = ""; + + /** + * + * + *
+   * Content Category.
+   * 
+ * + * string content_category = 3; + * + * @return The contentCategory. + */ + @java.lang.Override + public java.lang.String getContentCategory() { + java.lang.Object ref = contentCategory_; + 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(); + contentCategory_ = s; + return s; + } + } + + /** + * + * + *
+   * Content Category.
+   * 
+ * + * string content_category = 3; + * + * @return The bytes for contentCategory. + */ + @java.lang.Override + public com.google.protobuf.ByteString getContentCategoryBytes() { + java.lang.Object ref = contentCategory_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + contentCategory_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CONTENT_TYPES_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList contentTypes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + /** + * + * + *
+   * Content type.
+   * 
+ * + * repeated string content_types = 4; + * + * @return A list containing the contentTypes. + */ + public com.google.protobuf.ProtocolStringList getContentTypesList() { + return contentTypes_; + } + + /** + * + * + *
+   * Content type.
+   * 
+ * + * repeated string content_types = 4; + * + * @return The count of contentTypes. + */ + public int getContentTypesCount() { + return contentTypes_.size(); + } + + /** + * + * + *
+   * Content type.
+   * 
+ * + * repeated string content_types = 4; + * + * @param index The index of the element to return. + * @return The contentTypes at the given index. + */ + public java.lang.String getContentTypes(int index) { + return contentTypes_.get(index); + } + + /** + * + * + *
+   * Content type.
+   * 
+ * + * repeated string content_types = 4; + * + * @param index The index of the value to return. + * @return The bytes of the contentTypes at the given index. + */ + public com.google.protobuf.ByteString getContentTypesBytes(int index) { + return contentTypes_.getByteString(index); + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(contentCategory_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, contentCategory_); + } + for (int i = 0; i < contentTypes_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, contentTypes_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(contentCategory_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, contentCategory_); + } + { + int dataSize = 0; + for (int i = 0; i < contentTypes_.size(); i++) { + dataSize += computeStringSizeNoTag(contentTypes_.getRaw(i)); + } + size += dataSize; + size += 1 * getContentTypesList().size(); + } + 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.cloud.chronicle.v1.NetskopeAlertV2Settings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.NetskopeAlertV2Settings other = + (com.google.cloud.chronicle.v1.NetskopeAlertV2Settings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getHostname().equals(other.getHostname())) return false; + if (!getContentCategory().equals(other.getContentCategory())) return false; + if (!getContentTypesList().equals(other.getContentTypesList())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + hash = (37 * hash) + CONTENT_CATEGORY_FIELD_NUMBER; + hash = (53 * hash) + getContentCategory().hashCode(); + if (getContentTypesCount() > 0) { + hash = (37 * hash) + CONTENT_TYPES_FIELD_NUMBER; + hash = (53 * hash) + getContentTypesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.NetskopeAlertV2Settings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.NetskopeAlertV2Settings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.NetskopeAlertV2Settings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.NetskopeAlertV2Settings 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.cloud.chronicle.v1.NetskopeAlertV2Settings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.NetskopeAlertV2Settings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.NetskopeAlertV2Settings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.NetskopeAlertV2Settings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.NetskopeAlertV2Settings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.NetskopeAlertV2Settings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.NetskopeAlertV2Settings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.NetskopeAlertV2Settings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.NetskopeAlertV2Settings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Netskope Alert V2 settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.NetskopeAlertV2Settings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.NetskopeAlertV2Settings) + com.google.cloud.chronicle.v1.NetskopeAlertV2SettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_NetskopeAlertV2Settings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_NetskopeAlertV2Settings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.NetskopeAlertV2Settings.class, + com.google.cloud.chronicle.v1.NetskopeAlertV2Settings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.NetskopeAlertV2Settings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + hostname_ = ""; + contentCategory_ = ""; + contentTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_NetskopeAlertV2Settings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.NetskopeAlertV2Settings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.NetskopeAlertV2Settings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.NetskopeAlertV2Settings build() { + com.google.cloud.chronicle.v1.NetskopeAlertV2Settings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.NetskopeAlertV2Settings buildPartial() { + com.google.cloud.chronicle.v1.NetskopeAlertV2Settings result = + new com.google.cloud.chronicle.v1.NetskopeAlertV2Settings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.NetskopeAlertV2Settings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.hostname_ = hostname_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.contentCategory_ = contentCategory_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + contentTypes_.makeImmutable(); + result.contentTypes_ = contentTypes_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.NetskopeAlertV2Settings) { + return mergeFrom((com.google.cloud.chronicle.v1.NetskopeAlertV2Settings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.NetskopeAlertV2Settings other) { + if (other == com.google.cloud.chronicle.v1.NetskopeAlertV2Settings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getContentCategory().isEmpty()) { + contentCategory_ = other.contentCategory_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.contentTypes_.isEmpty()) { + if (contentTypes_.isEmpty()) { + contentTypes_ = other.contentTypes_; + bitField0_ |= 0x00000008; + } else { + ensureContentTypesIsMutable(); + contentTypes_.addAll(other.contentTypes_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + contentCategory_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureContentTypesIsMutable(); + contentTypes_.add(s); + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object contentCategory_ = ""; + + /** + * + * + *
+     * Content Category.
+     * 
+ * + * string content_category = 3; + * + * @return The contentCategory. + */ + public java.lang.String getContentCategory() { + java.lang.Object ref = contentCategory_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + contentCategory_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Content Category.
+     * 
+ * + * string content_category = 3; + * + * @return The bytes for contentCategory. + */ + public com.google.protobuf.ByteString getContentCategoryBytes() { + java.lang.Object ref = contentCategory_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + contentCategory_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Content Category.
+     * 
+ * + * string content_category = 3; + * + * @param value The contentCategory to set. + * @return This builder for chaining. + */ + public Builder setContentCategory(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + contentCategory_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Content Category.
+     * 
+ * + * string content_category = 3; + * + * @return This builder for chaining. + */ + public Builder clearContentCategory() { + contentCategory_ = getDefaultInstance().getContentCategory(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Content Category.
+     * 
+ * + * string content_category = 3; + * + * @param value The bytes for contentCategory to set. + * @return This builder for chaining. + */ + public Builder setContentCategoryBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + contentCategory_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList contentTypes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureContentTypesIsMutable() { + if (!contentTypes_.isModifiable()) { + contentTypes_ = new com.google.protobuf.LazyStringArrayList(contentTypes_); + } + bitField0_ |= 0x00000008; + } + + /** + * + * + *
+     * Content type.
+     * 
+ * + * repeated string content_types = 4; + * + * @return A list containing the contentTypes. + */ + public com.google.protobuf.ProtocolStringList getContentTypesList() { + contentTypes_.makeImmutable(); + return contentTypes_; + } + + /** + * + * + *
+     * Content type.
+     * 
+ * + * repeated string content_types = 4; + * + * @return The count of contentTypes. + */ + public int getContentTypesCount() { + return contentTypes_.size(); + } + + /** + * + * + *
+     * Content type.
+     * 
+ * + * repeated string content_types = 4; + * + * @param index The index of the element to return. + * @return The contentTypes at the given index. + */ + public java.lang.String getContentTypes(int index) { + return contentTypes_.get(index); + } + + /** + * + * + *
+     * Content type.
+     * 
+ * + * repeated string content_types = 4; + * + * @param index The index of the value to return. + * @return The bytes of the contentTypes at the given index. + */ + public com.google.protobuf.ByteString getContentTypesBytes(int index) { + return contentTypes_.getByteString(index); + } + + /** + * + * + *
+     * Content type.
+     * 
+ * + * repeated string content_types = 4; + * + * @param index The index to set the value at. + * @param value The contentTypes to set. + * @return This builder for chaining. + */ + public Builder setContentTypes(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureContentTypesIsMutable(); + contentTypes_.set(index, value); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Content type.
+     * 
+ * + * repeated string content_types = 4; + * + * @param value The contentTypes to add. + * @return This builder for chaining. + */ + public Builder addContentTypes(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureContentTypesIsMutable(); + contentTypes_.add(value); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Content type.
+     * 
+ * + * repeated string content_types = 4; + * + * @param values The contentTypes to add. + * @return This builder for chaining. + */ + public Builder addAllContentTypes(java.lang.Iterable values) { + ensureContentTypesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, contentTypes_); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Content type.
+     * 
+ * + * repeated string content_types = 4; + * + * @return This builder for chaining. + */ + public Builder clearContentTypes() { + contentTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + ; + onChanged(); + return this; + } + + /** + * + * + *
+     * Content type.
+     * 
+ * + * repeated string content_types = 4; + * + * @param value The bytes of the contentTypes to add. + * @return This builder for chaining. + */ + public Builder addContentTypesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureContentTypesIsMutable(); + contentTypes_.add(value); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.NetskopeAlertV2Settings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.NetskopeAlertV2Settings) + private static final com.google.cloud.chronicle.v1.NetskopeAlertV2Settings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.NetskopeAlertV2Settings(); + } + + public static com.google.cloud.chronicle.v1.NetskopeAlertV2Settings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetskopeAlertV2Settings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.NetskopeAlertV2Settings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/NetskopeAlertV2SettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/NetskopeAlertV2SettingsOrBuilder.java new file mode 100644 index 000000000000..5138dabede94 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/NetskopeAlertV2SettingsOrBuilder.java @@ -0,0 +1,177 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface NetskopeAlertV2SettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.NetskopeAlertV2Settings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); + + /** + * + * + *
+   * Content Category.
+   * 
+ * + * string content_category = 3; + * + * @return The contentCategory. + */ + java.lang.String getContentCategory(); + + /** + * + * + *
+   * Content Category.
+   * 
+ * + * string content_category = 3; + * + * @return The bytes for contentCategory. + */ + com.google.protobuf.ByteString getContentCategoryBytes(); + + /** + * + * + *
+   * Content type.
+   * 
+ * + * repeated string content_types = 4; + * + * @return A list containing the contentTypes. + */ + java.util.List getContentTypesList(); + + /** + * + * + *
+   * Content type.
+   * 
+ * + * repeated string content_types = 4; + * + * @return The count of contentTypes. + */ + int getContentTypesCount(); + + /** + * + * + *
+   * Content type.
+   * 
+ * + * repeated string content_types = 4; + * + * @param index The index of the element to return. + * @return The contentTypes at the given index. + */ + java.lang.String getContentTypes(int index); + + /** + * + * + *
+   * Content type.
+   * 
+ * + * repeated string content_types = 4; + * + * @param index The index of the value to return. + * @return The bytes of the contentTypes at the given index. + */ + com.google.protobuf.ByteString getContentTypesBytes(int index); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OAuthClientCredentials.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OAuthClientCredentials.java new file mode 100644 index 000000000000..7b5319b6f8f9 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OAuthClientCredentials.java @@ -0,0 +1,974 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * OAuth 2.0 client credentials grant. See https://tools.ietf.org/html/rfc6749.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.OAuthClientCredentials} + */ +@com.google.protobuf.Generated +public final class OAuthClientCredentials extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.OAuthClientCredentials) + OAuthClientCredentialsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "OAuthClientCredentials"); + } + + // Use OAuthClientCredentials.newBuilder() to construct. + private OAuthClientCredentials(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private OAuthClientCredentials() { + tokenEndpoint_ = ""; + clientId_ = ""; + clientSecret_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OAuthClientCredentials_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OAuthClientCredentials_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.OAuthClientCredentials.class, + com.google.cloud.chronicle.v1.OAuthClientCredentials.Builder.class); + } + + public static final int TOKEN_ENDPOINT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object tokenEndpoint_ = ""; + + /** + * + * + *
+   * Token endpoint.
+   * 
+ * + * string token_endpoint = 1; + * + * @return The tokenEndpoint. + */ + @java.lang.Override + public java.lang.String getTokenEndpoint() { + java.lang.Object ref = tokenEndpoint_; + 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(); + tokenEndpoint_ = s; + return s; + } + } + + /** + * + * + *
+   * Token endpoint.
+   * 
+ * + * string token_endpoint = 1; + * + * @return The bytes for tokenEndpoint. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTokenEndpointBytes() { + java.lang.Object ref = tokenEndpoint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tokenEndpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLIENT_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object clientId_ = ""; + + /** + * + * + *
+   * Client ID.
+   * 
+ * + * string client_id = 2; + * + * @return The clientId. + */ + @java.lang.Override + public java.lang.String getClientId() { + java.lang.Object ref = clientId_; + 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(); + clientId_ = s; + return s; + } + } + + /** + * + * + *
+   * Client ID.
+   * 
+ * + * string client_id = 2; + * + * @return The bytes for clientId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getClientIdBytes() { + java.lang.Object ref = clientId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLIENT_SECRET_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object clientSecret_ = ""; + + /** + * + * + *
+   * Client secret.
+   * 
+ * + * string client_secret = 3; + * + * @return The clientSecret. + */ + @java.lang.Override + public java.lang.String getClientSecret() { + java.lang.Object ref = clientSecret_; + 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(); + clientSecret_ = s; + return s; + } + } + + /** + * + * + *
+   * Client secret.
+   * 
+ * + * string client_secret = 3; + * + * @return The bytes for clientSecret. + */ + @java.lang.Override + public com.google.protobuf.ByteString getClientSecretBytes() { + java.lang.Object ref = clientSecret_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientSecret_ = 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.GeneratedMessage.isStringEmpty(tokenEndpoint_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, tokenEndpoint_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, clientId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientSecret_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, clientSecret_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tokenEndpoint_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, tokenEndpoint_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, clientId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientSecret_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, clientSecret_); + } + 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.cloud.chronicle.v1.OAuthClientCredentials)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.OAuthClientCredentials other = + (com.google.cloud.chronicle.v1.OAuthClientCredentials) obj; + + if (!getTokenEndpoint().equals(other.getTokenEndpoint())) return false; + if (!getClientId().equals(other.getClientId())) return false; + if (!getClientSecret().equals(other.getClientSecret())) 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) + TOKEN_ENDPOINT_FIELD_NUMBER; + hash = (53 * hash) + getTokenEndpoint().hashCode(); + hash = (37 * hash) + CLIENT_ID_FIELD_NUMBER; + hash = (53 * hash) + getClientId().hashCode(); + hash = (37 * hash) + CLIENT_SECRET_FIELD_NUMBER; + hash = (53 * hash) + getClientSecret().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.OAuthClientCredentials parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.OAuthClientCredentials parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.OAuthClientCredentials parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.OAuthClientCredentials 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.cloud.chronicle.v1.OAuthClientCredentials parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.OAuthClientCredentials parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.OAuthClientCredentials parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.OAuthClientCredentials parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.OAuthClientCredentials parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.OAuthClientCredentials parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.OAuthClientCredentials parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.OAuthClientCredentials parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.OAuthClientCredentials 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * OAuth 2.0 client credentials grant. See https://tools.ietf.org/html/rfc6749.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.OAuthClientCredentials} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.OAuthClientCredentials) + com.google.cloud.chronicle.v1.OAuthClientCredentialsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OAuthClientCredentials_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OAuthClientCredentials_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.OAuthClientCredentials.class, + com.google.cloud.chronicle.v1.OAuthClientCredentials.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.OAuthClientCredentials.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + tokenEndpoint_ = ""; + clientId_ = ""; + clientSecret_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OAuthClientCredentials_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthClientCredentials getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.OAuthClientCredentials.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthClientCredentials build() { + com.google.cloud.chronicle.v1.OAuthClientCredentials result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthClientCredentials buildPartial() { + com.google.cloud.chronicle.v1.OAuthClientCredentials result = + new com.google.cloud.chronicle.v1.OAuthClientCredentials(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.OAuthClientCredentials result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.tokenEndpoint_ = tokenEndpoint_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.clientId_ = clientId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.clientSecret_ = clientSecret_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.OAuthClientCredentials) { + return mergeFrom((com.google.cloud.chronicle.v1.OAuthClientCredentials) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.OAuthClientCredentials other) { + if (other == com.google.cloud.chronicle.v1.OAuthClientCredentials.getDefaultInstance()) + return this; + if (!other.getTokenEndpoint().isEmpty()) { + tokenEndpoint_ = other.tokenEndpoint_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getClientId().isEmpty()) { + clientId_ = other.clientId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getClientSecret().isEmpty()) { + clientSecret_ = other.clientSecret_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + tokenEndpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + clientId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + clientSecret_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object tokenEndpoint_ = ""; + + /** + * + * + *
+     * Token endpoint.
+     * 
+ * + * string token_endpoint = 1; + * + * @return The tokenEndpoint. + */ + public java.lang.String getTokenEndpoint() { + java.lang.Object ref = tokenEndpoint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tokenEndpoint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Token endpoint.
+     * 
+ * + * string token_endpoint = 1; + * + * @return The bytes for tokenEndpoint. + */ + public com.google.protobuf.ByteString getTokenEndpointBytes() { + java.lang.Object ref = tokenEndpoint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tokenEndpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Token endpoint.
+     * 
+ * + * string token_endpoint = 1; + * + * @param value The tokenEndpoint to set. + * @return This builder for chaining. + */ + public Builder setTokenEndpoint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + tokenEndpoint_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Token endpoint.
+     * 
+ * + * string token_endpoint = 1; + * + * @return This builder for chaining. + */ + public Builder clearTokenEndpoint() { + tokenEndpoint_ = getDefaultInstance().getTokenEndpoint(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Token endpoint.
+     * 
+ * + * string token_endpoint = 1; + * + * @param value The bytes for tokenEndpoint to set. + * @return This builder for chaining. + */ + public Builder setTokenEndpointBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tokenEndpoint_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object clientId_ = ""; + + /** + * + * + *
+     * Client ID.
+     * 
+ * + * string client_id = 2; + * + * @return The clientId. + */ + public java.lang.String getClientId() { + java.lang.Object ref = clientId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Client ID.
+     * 
+ * + * string client_id = 2; + * + * @return The bytes for clientId. + */ + public com.google.protobuf.ByteString getClientIdBytes() { + java.lang.Object ref = clientId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Client ID.
+     * 
+ * + * string client_id = 2; + * + * @param value The clientId to set. + * @return This builder for chaining. + */ + public Builder setClientId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + clientId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Client ID.
+     * 
+ * + * string client_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearClientId() { + clientId_ = getDefaultInstance().getClientId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Client ID.
+     * 
+ * + * string client_id = 2; + * + * @param value The bytes for clientId to set. + * @return This builder for chaining. + */ + public Builder setClientIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object clientSecret_ = ""; + + /** + * + * + *
+     * Client secret.
+     * 
+ * + * string client_secret = 3; + * + * @return The clientSecret. + */ + public java.lang.String getClientSecret() { + java.lang.Object ref = clientSecret_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientSecret_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Client secret.
+     * 
+ * + * string client_secret = 3; + * + * @return The bytes for clientSecret. + */ + public com.google.protobuf.ByteString getClientSecretBytes() { + java.lang.Object ref = clientSecret_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientSecret_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Client secret.
+     * 
+ * + * string client_secret = 3; + * + * @param value The clientSecret to set. + * @return This builder for chaining. + */ + public Builder setClientSecret(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + clientSecret_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Client secret.
+     * 
+ * + * string client_secret = 3; + * + * @return This builder for chaining. + */ + public Builder clearClientSecret() { + clientSecret_ = getDefaultInstance().getClientSecret(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Client secret.
+     * 
+ * + * string client_secret = 3; + * + * @param value The bytes for clientSecret to set. + * @return This builder for chaining. + */ + public Builder setClientSecretBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientSecret_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.OAuthClientCredentials) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.OAuthClientCredentials) + private static final com.google.cloud.chronicle.v1.OAuthClientCredentials DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.OAuthClientCredentials(); + } + + public static com.google.cloud.chronicle.v1.OAuthClientCredentials getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OAuthClientCredentials parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthClientCredentials getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OAuthClientCredentialsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OAuthClientCredentialsOrBuilder.java new file mode 100644 index 000000000000..10bfe88df6dc --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OAuthClientCredentialsOrBuilder.java @@ -0,0 +1,106 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface OAuthClientCredentialsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.OAuthClientCredentials) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Token endpoint.
+   * 
+ * + * string token_endpoint = 1; + * + * @return The tokenEndpoint. + */ + java.lang.String getTokenEndpoint(); + + /** + * + * + *
+   * Token endpoint.
+   * 
+ * + * string token_endpoint = 1; + * + * @return The bytes for tokenEndpoint. + */ + com.google.protobuf.ByteString getTokenEndpointBytes(); + + /** + * + * + *
+   * Client ID.
+   * 
+ * + * string client_id = 2; + * + * @return The clientId. + */ + java.lang.String getClientId(); + + /** + * + * + *
+   * Client ID.
+   * 
+ * + * string client_id = 2; + * + * @return The bytes for clientId. + */ + com.google.protobuf.ByteString getClientIdBytes(); + + /** + * + * + *
+   * Client secret.
+   * 
+ * + * string client_secret = 3; + * + * @return The clientSecret. + */ + java.lang.String getClientSecret(); + + /** + * + * + *
+   * Client secret.
+   * 
+ * + * string client_secret = 3; + * + * @return The bytes for clientSecret. + */ + com.google.protobuf.ByteString getClientSecretBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OAuthJWTCredentials.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OAuthJWTCredentials.java new file mode 100644 index 000000000000..4988063b9ba9 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OAuthJWTCredentials.java @@ -0,0 +1,1272 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * OAuth 2.0 JWT grant. See, https://tools.ietf.org/html/rfc7519
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.OAuthJWTCredentials} + */ +@com.google.protobuf.Generated +public final class OAuthJWTCredentials extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.OAuthJWTCredentials) + OAuthJWTCredentialsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "OAuthJWTCredentials"); + } + + // Use OAuthJWTCredentials.newBuilder() to construct. + private OAuthJWTCredentials(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private OAuthJWTCredentials() { + tokenEndpoint_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OAuthJWTCredentials_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OAuthJWTCredentials_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.OAuthJWTCredentials.class, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder.class); + } + + private int bitField0_; + private int credentialsCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object credentials_; + + public enum CredentialsCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + RS_CREDENTIALS(3), + CREDENTIALS_NOT_SET(0); + private final int value; + + private CredentialsCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static CredentialsCase valueOf(int value) { + return forNumber(value); + } + + public static CredentialsCase forNumber(int value) { + switch (value) { + case 3: + return RS_CREDENTIALS; + case 0: + return CREDENTIALS_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public CredentialsCase getCredentialsCase() { + return CredentialsCase.forNumber(credentialsCase_); + } + + public static final int RS_CREDENTIALS_FIELD_NUMBER = 3; + + /** + * + * + *
+   * RS credentials.
+   * 
+ * + * .google.cloud.chronicle.v1.RSCredentials rs_credentials = 3; + * + * @return Whether the rsCredentials field is set. + */ + @java.lang.Override + public boolean hasRsCredentials() { + return credentialsCase_ == 3; + } + + /** + * + * + *
+   * RS credentials.
+   * 
+ * + * .google.cloud.chronicle.v1.RSCredentials rs_credentials = 3; + * + * @return The rsCredentials. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.RSCredentials getRsCredentials() { + if (credentialsCase_ == 3) { + return (com.google.cloud.chronicle.v1.RSCredentials) credentials_; + } + return com.google.cloud.chronicle.v1.RSCredentials.getDefaultInstance(); + } + + /** + * + * + *
+   * RS credentials.
+   * 
+ * + * .google.cloud.chronicle.v1.RSCredentials rs_credentials = 3; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.RSCredentialsOrBuilder getRsCredentialsOrBuilder() { + if (credentialsCase_ == 3) { + return (com.google.cloud.chronicle.v1.RSCredentials) credentials_; + } + return com.google.cloud.chronicle.v1.RSCredentials.getDefaultInstance(); + } + + public static final int TOKEN_ENDPOINT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object tokenEndpoint_ = ""; + + /** + * + * + *
+   * Token endpoint to get the OAuth token from.
+   * 
+ * + * string token_endpoint = 1; + * + * @return The tokenEndpoint. + */ + @java.lang.Override + public java.lang.String getTokenEndpoint() { + java.lang.Object ref = tokenEndpoint_; + 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(); + tokenEndpoint_ = s; + return s; + } + } + + /** + * + * + *
+   * Token endpoint to get the OAuth token from.
+   * 
+ * + * string token_endpoint = 1; + * + * @return The bytes for tokenEndpoint. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTokenEndpointBytes() { + java.lang.Object ref = tokenEndpoint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tokenEndpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLAIMS_FIELD_NUMBER = 2; + private com.google.cloud.chronicle.v1.Claims claims_; + + /** + * + * + *
+   * Claims.
+   * 
+ * + * .google.cloud.chronicle.v1.Claims claims = 2; + * + * @return Whether the claims field is set. + */ + @java.lang.Override + public boolean hasClaims() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Claims.
+   * 
+ * + * .google.cloud.chronicle.v1.Claims claims = 2; + * + * @return The claims. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.Claims getClaims() { + return claims_ == null ? com.google.cloud.chronicle.v1.Claims.getDefaultInstance() : claims_; + } + + /** + * + * + *
+   * Claims.
+   * 
+ * + * .google.cloud.chronicle.v1.Claims claims = 2; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.ClaimsOrBuilder getClaimsOrBuilder() { + return claims_ == null ? com.google.cloud.chronicle.v1.Claims.getDefaultInstance() : claims_; + } + + 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.GeneratedMessage.isStringEmpty(tokenEndpoint_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, tokenEndpoint_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(2, getClaims()); + } + if (credentialsCase_ == 3) { + output.writeMessage(3, (com.google.cloud.chronicle.v1.RSCredentials) credentials_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tokenEndpoint_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, tokenEndpoint_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getClaims()); + } + if (credentialsCase_ == 3) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.chronicle.v1.RSCredentials) credentials_); + } + 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.cloud.chronicle.v1.OAuthJWTCredentials)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.OAuthJWTCredentials other = + (com.google.cloud.chronicle.v1.OAuthJWTCredentials) obj; + + if (!getTokenEndpoint().equals(other.getTokenEndpoint())) return false; + if (hasClaims() != other.hasClaims()) return false; + if (hasClaims()) { + if (!getClaims().equals(other.getClaims())) return false; + } + if (!getCredentialsCase().equals(other.getCredentialsCase())) return false; + switch (credentialsCase_) { + case 3: + if (!getRsCredentials().equals(other.getRsCredentials())) return false; + break; + case 0: + default: + } + 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) + TOKEN_ENDPOINT_FIELD_NUMBER; + hash = (53 * hash) + getTokenEndpoint().hashCode(); + if (hasClaims()) { + hash = (37 * hash) + CLAIMS_FIELD_NUMBER; + hash = (53 * hash) + getClaims().hashCode(); + } + switch (credentialsCase_) { + case 3: + hash = (37 * hash) + RS_CREDENTIALS_FIELD_NUMBER; + hash = (53 * hash) + getRsCredentials().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.OAuthJWTCredentials parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.OAuthJWTCredentials parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.OAuthJWTCredentials parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.OAuthJWTCredentials 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.cloud.chronicle.v1.OAuthJWTCredentials parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.OAuthJWTCredentials parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.OAuthJWTCredentials parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.OAuthJWTCredentials parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.OAuthJWTCredentials parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.OAuthJWTCredentials parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.OAuthJWTCredentials parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.OAuthJWTCredentials parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.OAuthJWTCredentials 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * OAuth 2.0 JWT grant. See, https://tools.ietf.org/html/rfc7519
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.OAuthJWTCredentials} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.OAuthJWTCredentials) + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OAuthJWTCredentials_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OAuthJWTCredentials_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.OAuthJWTCredentials.class, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.OAuthJWTCredentials.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetClaimsFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (rsCredentialsBuilder_ != null) { + rsCredentialsBuilder_.clear(); + } + tokenEndpoint_ = ""; + claims_ = null; + if (claimsBuilder_ != null) { + claimsBuilder_.dispose(); + claimsBuilder_ = null; + } + credentialsCase_ = 0; + credentials_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OAuthJWTCredentials_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthJWTCredentials getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthJWTCredentials build() { + com.google.cloud.chronicle.v1.OAuthJWTCredentials result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthJWTCredentials buildPartial() { + com.google.cloud.chronicle.v1.OAuthJWTCredentials result = + new com.google.cloud.chronicle.v1.OAuthJWTCredentials(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.OAuthJWTCredentials result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.tokenEndpoint_ = tokenEndpoint_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.claims_ = claimsBuilder_ == null ? claims_ : claimsBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + private void buildPartialOneofs(com.google.cloud.chronicle.v1.OAuthJWTCredentials result) { + result.credentialsCase_ = credentialsCase_; + result.credentials_ = this.credentials_; + if (credentialsCase_ == 3 && rsCredentialsBuilder_ != null) { + result.credentials_ = rsCredentialsBuilder_.build(); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.OAuthJWTCredentials) { + return mergeFrom((com.google.cloud.chronicle.v1.OAuthJWTCredentials) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.OAuthJWTCredentials other) { + if (other == com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance()) + return this; + if (!other.getTokenEndpoint().isEmpty()) { + tokenEndpoint_ = other.tokenEndpoint_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasClaims()) { + mergeClaims(other.getClaims()); + } + switch (other.getCredentialsCase()) { + case RS_CREDENTIALS: + { + mergeRsCredentials(other.getRsCredentials()); + break; + } + case CREDENTIALS_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + tokenEndpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: + { + input.readMessage(internalGetClaimsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: + { + input.readMessage( + internalGetRsCredentialsFieldBuilder().getBuilder(), extensionRegistry); + credentialsCase_ = 3; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int credentialsCase_ = 0; + private java.lang.Object credentials_; + + public CredentialsCase getCredentialsCase() { + return CredentialsCase.forNumber(credentialsCase_); + } + + public Builder clearCredentials() { + credentialsCase_ = 0; + credentials_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.RSCredentials, + com.google.cloud.chronicle.v1.RSCredentials.Builder, + com.google.cloud.chronicle.v1.RSCredentialsOrBuilder> + rsCredentialsBuilder_; + + /** + * + * + *
+     * RS credentials.
+     * 
+ * + * .google.cloud.chronicle.v1.RSCredentials rs_credentials = 3; + * + * @return Whether the rsCredentials field is set. + */ + @java.lang.Override + public boolean hasRsCredentials() { + return credentialsCase_ == 3; + } + + /** + * + * + *
+     * RS credentials.
+     * 
+ * + * .google.cloud.chronicle.v1.RSCredentials rs_credentials = 3; + * + * @return The rsCredentials. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.RSCredentials getRsCredentials() { + if (rsCredentialsBuilder_ == null) { + if (credentialsCase_ == 3) { + return (com.google.cloud.chronicle.v1.RSCredentials) credentials_; + } + return com.google.cloud.chronicle.v1.RSCredentials.getDefaultInstance(); + } else { + if (credentialsCase_ == 3) { + return rsCredentialsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.RSCredentials.getDefaultInstance(); + } + } + + /** + * + * + *
+     * RS credentials.
+     * 
+ * + * .google.cloud.chronicle.v1.RSCredentials rs_credentials = 3; + */ + public Builder setRsCredentials(com.google.cloud.chronicle.v1.RSCredentials value) { + if (rsCredentialsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + credentials_ = value; + onChanged(); + } else { + rsCredentialsBuilder_.setMessage(value); + } + credentialsCase_ = 3; + return this; + } + + /** + * + * + *
+     * RS credentials.
+     * 
+ * + * .google.cloud.chronicle.v1.RSCredentials rs_credentials = 3; + */ + public Builder setRsCredentials( + com.google.cloud.chronicle.v1.RSCredentials.Builder builderForValue) { + if (rsCredentialsBuilder_ == null) { + credentials_ = builderForValue.build(); + onChanged(); + } else { + rsCredentialsBuilder_.setMessage(builderForValue.build()); + } + credentialsCase_ = 3; + return this; + } + + /** + * + * + *
+     * RS credentials.
+     * 
+ * + * .google.cloud.chronicle.v1.RSCredentials rs_credentials = 3; + */ + public Builder mergeRsCredentials(com.google.cloud.chronicle.v1.RSCredentials value) { + if (rsCredentialsBuilder_ == null) { + if (credentialsCase_ == 3 + && credentials_ != com.google.cloud.chronicle.v1.RSCredentials.getDefaultInstance()) { + credentials_ = + com.google.cloud.chronicle.v1.RSCredentials.newBuilder( + (com.google.cloud.chronicle.v1.RSCredentials) credentials_) + .mergeFrom(value) + .buildPartial(); + } else { + credentials_ = value; + } + onChanged(); + } else { + if (credentialsCase_ == 3) { + rsCredentialsBuilder_.mergeFrom(value); + } else { + rsCredentialsBuilder_.setMessage(value); + } + } + credentialsCase_ = 3; + return this; + } + + /** + * + * + *
+     * RS credentials.
+     * 
+ * + * .google.cloud.chronicle.v1.RSCredentials rs_credentials = 3; + */ + public Builder clearRsCredentials() { + if (rsCredentialsBuilder_ == null) { + if (credentialsCase_ == 3) { + credentialsCase_ = 0; + credentials_ = null; + onChanged(); + } + } else { + if (credentialsCase_ == 3) { + credentialsCase_ = 0; + credentials_ = null; + } + rsCredentialsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * RS credentials.
+     * 
+ * + * .google.cloud.chronicle.v1.RSCredentials rs_credentials = 3; + */ + public com.google.cloud.chronicle.v1.RSCredentials.Builder getRsCredentialsBuilder() { + return internalGetRsCredentialsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * RS credentials.
+     * 
+ * + * .google.cloud.chronicle.v1.RSCredentials rs_credentials = 3; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.RSCredentialsOrBuilder getRsCredentialsOrBuilder() { + if ((credentialsCase_ == 3) && (rsCredentialsBuilder_ != null)) { + return rsCredentialsBuilder_.getMessageOrBuilder(); + } else { + if (credentialsCase_ == 3) { + return (com.google.cloud.chronicle.v1.RSCredentials) credentials_; + } + return com.google.cloud.chronicle.v1.RSCredentials.getDefaultInstance(); + } + } + + /** + * + * + *
+     * RS credentials.
+     * 
+ * + * .google.cloud.chronicle.v1.RSCredentials rs_credentials = 3; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.RSCredentials, + com.google.cloud.chronicle.v1.RSCredentials.Builder, + com.google.cloud.chronicle.v1.RSCredentialsOrBuilder> + internalGetRsCredentialsFieldBuilder() { + if (rsCredentialsBuilder_ == null) { + if (!(credentialsCase_ == 3)) { + credentials_ = com.google.cloud.chronicle.v1.RSCredentials.getDefaultInstance(); + } + rsCredentialsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.RSCredentials, + com.google.cloud.chronicle.v1.RSCredentials.Builder, + com.google.cloud.chronicle.v1.RSCredentialsOrBuilder>( + (com.google.cloud.chronicle.v1.RSCredentials) credentials_, + getParentForChildren(), + isClean()); + credentials_ = null; + } + credentialsCase_ = 3; + onChanged(); + return rsCredentialsBuilder_; + } + + private java.lang.Object tokenEndpoint_ = ""; + + /** + * + * + *
+     * Token endpoint to get the OAuth token from.
+     * 
+ * + * string token_endpoint = 1; + * + * @return The tokenEndpoint. + */ + public java.lang.String getTokenEndpoint() { + java.lang.Object ref = tokenEndpoint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tokenEndpoint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Token endpoint to get the OAuth token from.
+     * 
+ * + * string token_endpoint = 1; + * + * @return The bytes for tokenEndpoint. + */ + public com.google.protobuf.ByteString getTokenEndpointBytes() { + java.lang.Object ref = tokenEndpoint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tokenEndpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Token endpoint to get the OAuth token from.
+     * 
+ * + * string token_endpoint = 1; + * + * @param value The tokenEndpoint to set. + * @return This builder for chaining. + */ + public Builder setTokenEndpoint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + tokenEndpoint_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Token endpoint to get the OAuth token from.
+     * 
+ * + * string token_endpoint = 1; + * + * @return This builder for chaining. + */ + public Builder clearTokenEndpoint() { + tokenEndpoint_ = getDefaultInstance().getTokenEndpoint(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Token endpoint to get the OAuth token from.
+     * 
+ * + * string token_endpoint = 1; + * + * @param value The bytes for tokenEndpoint to set. + * @return This builder for chaining. + */ + public Builder setTokenEndpointBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tokenEndpoint_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.cloud.chronicle.v1.Claims claims_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.Claims, + com.google.cloud.chronicle.v1.Claims.Builder, + com.google.cloud.chronicle.v1.ClaimsOrBuilder> + claimsBuilder_; + + /** + * + * + *
+     * Claims.
+     * 
+ * + * .google.cloud.chronicle.v1.Claims claims = 2; + * + * @return Whether the claims field is set. + */ + public boolean hasClaims() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+     * Claims.
+     * 
+ * + * .google.cloud.chronicle.v1.Claims claims = 2; + * + * @return The claims. + */ + public com.google.cloud.chronicle.v1.Claims getClaims() { + if (claimsBuilder_ == null) { + return claims_ == null + ? com.google.cloud.chronicle.v1.Claims.getDefaultInstance() + : claims_; + } else { + return claimsBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Claims.
+     * 
+ * + * .google.cloud.chronicle.v1.Claims claims = 2; + */ + public Builder setClaims(com.google.cloud.chronicle.v1.Claims value) { + if (claimsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + claims_ = value; + } else { + claimsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Claims.
+     * 
+ * + * .google.cloud.chronicle.v1.Claims claims = 2; + */ + public Builder setClaims(com.google.cloud.chronicle.v1.Claims.Builder builderForValue) { + if (claimsBuilder_ == null) { + claims_ = builderForValue.build(); + } else { + claimsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Claims.
+     * 
+ * + * .google.cloud.chronicle.v1.Claims claims = 2; + */ + public Builder mergeClaims(com.google.cloud.chronicle.v1.Claims value) { + if (claimsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && claims_ != null + && claims_ != com.google.cloud.chronicle.v1.Claims.getDefaultInstance()) { + getClaimsBuilder().mergeFrom(value); + } else { + claims_ = value; + } + } else { + claimsBuilder_.mergeFrom(value); + } + if (claims_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Claims.
+     * 
+ * + * .google.cloud.chronicle.v1.Claims claims = 2; + */ + public Builder clearClaims() { + bitField0_ = (bitField0_ & ~0x00000004); + claims_ = null; + if (claimsBuilder_ != null) { + claimsBuilder_.dispose(); + claimsBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Claims.
+     * 
+ * + * .google.cloud.chronicle.v1.Claims claims = 2; + */ + public com.google.cloud.chronicle.v1.Claims.Builder getClaimsBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return internalGetClaimsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Claims.
+     * 
+ * + * .google.cloud.chronicle.v1.Claims claims = 2; + */ + public com.google.cloud.chronicle.v1.ClaimsOrBuilder getClaimsOrBuilder() { + if (claimsBuilder_ != null) { + return claimsBuilder_.getMessageOrBuilder(); + } else { + return claims_ == null + ? com.google.cloud.chronicle.v1.Claims.getDefaultInstance() + : claims_; + } + } + + /** + * + * + *
+     * Claims.
+     * 
+ * + * .google.cloud.chronicle.v1.Claims claims = 2; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.Claims, + com.google.cloud.chronicle.v1.Claims.Builder, + com.google.cloud.chronicle.v1.ClaimsOrBuilder> + internalGetClaimsFieldBuilder() { + if (claimsBuilder_ == null) { + claimsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.Claims, + com.google.cloud.chronicle.v1.Claims.Builder, + com.google.cloud.chronicle.v1.ClaimsOrBuilder>( + getClaims(), getParentForChildren(), isClean()); + claims_ = null; + } + return claimsBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.OAuthJWTCredentials) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.OAuthJWTCredentials) + private static final com.google.cloud.chronicle.v1.OAuthJWTCredentials DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.OAuthJWTCredentials(); + } + + public static com.google.cloud.chronicle.v1.OAuthJWTCredentials getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OAuthJWTCredentials parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthJWTCredentials getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OAuthJWTCredentialsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OAuthJWTCredentialsOrBuilder.java new file mode 100644 index 000000000000..2be9fd383380 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OAuthJWTCredentialsOrBuilder.java @@ -0,0 +1,130 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface OAuthJWTCredentialsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.OAuthJWTCredentials) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * RS credentials.
+   * 
+ * + * .google.cloud.chronicle.v1.RSCredentials rs_credentials = 3; + * + * @return Whether the rsCredentials field is set. + */ + boolean hasRsCredentials(); + + /** + * + * + *
+   * RS credentials.
+   * 
+ * + * .google.cloud.chronicle.v1.RSCredentials rs_credentials = 3; + * + * @return The rsCredentials. + */ + com.google.cloud.chronicle.v1.RSCredentials getRsCredentials(); + + /** + * + * + *
+   * RS credentials.
+   * 
+ * + * .google.cloud.chronicle.v1.RSCredentials rs_credentials = 3; + */ + com.google.cloud.chronicle.v1.RSCredentialsOrBuilder getRsCredentialsOrBuilder(); + + /** + * + * + *
+   * Token endpoint to get the OAuth token from.
+   * 
+ * + * string token_endpoint = 1; + * + * @return The tokenEndpoint. + */ + java.lang.String getTokenEndpoint(); + + /** + * + * + *
+   * Token endpoint to get the OAuth token from.
+   * 
+ * + * string token_endpoint = 1; + * + * @return The bytes for tokenEndpoint. + */ + com.google.protobuf.ByteString getTokenEndpointBytes(); + + /** + * + * + *
+   * Claims.
+   * 
+ * + * .google.cloud.chronicle.v1.Claims claims = 2; + * + * @return Whether the claims field is set. + */ + boolean hasClaims(); + + /** + * + * + *
+   * Claims.
+   * 
+ * + * .google.cloud.chronicle.v1.Claims claims = 2; + * + * @return The claims. + */ + com.google.cloud.chronicle.v1.Claims getClaims(); + + /** + * + * + *
+   * Claims.
+   * 
+ * + * .google.cloud.chronicle.v1.Claims claims = 2; + */ + com.google.cloud.chronicle.v1.ClaimsOrBuilder getClaimsOrBuilder(); + + com.google.cloud.chronicle.v1.OAuthJWTCredentials.CredentialsCase getCredentialsCase(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OAuthPasswordGrantCredentials.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OAuthPasswordGrantCredentials.java new file mode 100644 index 000000000000..be3bce7f864a --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OAuthPasswordGrantCredentials.java @@ -0,0 +1,1353 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * OAuth 2.0 password grant. See https://tools.ietf.org/html/rfc6749.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.OAuthPasswordGrantCredentials} + */ +@com.google.protobuf.Generated +public final class OAuthPasswordGrantCredentials extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.OAuthPasswordGrantCredentials) + OAuthPasswordGrantCredentialsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "OAuthPasswordGrantCredentials"); + } + + // Use OAuthPasswordGrantCredentials.newBuilder() to construct. + private OAuthPasswordGrantCredentials(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private OAuthPasswordGrantCredentials() { + tokenEndpoint_ = ""; + clientId_ = ""; + clientSecret_ = ""; + user_ = ""; + password_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OAuthPasswordGrantCredentials_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OAuthPasswordGrantCredentials_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials.class, + com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials.Builder.class); + } + + public static final int TOKEN_ENDPOINT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object tokenEndpoint_ = ""; + + /** + * + * + *
+   * Token endpoint to get the OAuth token from.
+   * 
+ * + * string token_endpoint = 1; + * + * @return The tokenEndpoint. + */ + @java.lang.Override + public java.lang.String getTokenEndpoint() { + java.lang.Object ref = tokenEndpoint_; + 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(); + tokenEndpoint_ = s; + return s; + } + } + + /** + * + * + *
+   * Token endpoint to get the OAuth token from.
+   * 
+ * + * string token_endpoint = 1; + * + * @return The bytes for tokenEndpoint. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTokenEndpointBytes() { + java.lang.Object ref = tokenEndpoint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tokenEndpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLIENT_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object clientId_ = ""; + + /** + * + * + *
+   * Client ID.
+   * 
+ * + * string client_id = 2; + * + * @return The clientId. + */ + @java.lang.Override + public java.lang.String getClientId() { + java.lang.Object ref = clientId_; + 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(); + clientId_ = s; + return s; + } + } + + /** + * + * + *
+   * Client ID.
+   * 
+ * + * string client_id = 2; + * + * @return The bytes for clientId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getClientIdBytes() { + java.lang.Object ref = clientId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLIENT_SECRET_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object clientSecret_ = ""; + + /** + * + * + *
+   * Client secret.
+   * 
+ * + * string client_secret = 3; + * + * @return The clientSecret. + */ + @java.lang.Override + public java.lang.String getClientSecret() { + java.lang.Object ref = clientSecret_; + 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(); + clientSecret_ = s; + return s; + } + } + + /** + * + * + *
+   * Client secret.
+   * 
+ * + * string client_secret = 3; + * + * @return The bytes for clientSecret. + */ + @java.lang.Override + public com.google.protobuf.ByteString getClientSecretBytes() { + java.lang.Object ref = clientSecret_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientSecret_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int USER_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object user_ = ""; + + /** + * + * + *
+   * Username.
+   * 
+ * + * string user = 4; + * + * @return The user. + */ + @java.lang.Override + public java.lang.String getUser() { + java.lang.Object ref = user_; + 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(); + user_ = s; + return s; + } + } + + /** + * + * + *
+   * Username.
+   * 
+ * + * string user = 4; + * + * @return The bytes for user. + */ + @java.lang.Override + public com.google.protobuf.ByteString getUserBytes() { + java.lang.Object ref = user_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + user_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PASSWORD_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private volatile java.lang.Object password_ = ""; + + /** + * + * + *
+   * Password.
+   * 
+ * + * string password = 5; + * + * @return The password. + */ + @java.lang.Override + public java.lang.String getPassword() { + java.lang.Object ref = password_; + 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(); + password_ = s; + return s; + } + } + + /** + * + * + *
+   * Password.
+   * 
+ * + * string password = 5; + * + * @return The bytes for password. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPasswordBytes() { + java.lang.Object ref = password_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + password_ = 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.GeneratedMessage.isStringEmpty(tokenEndpoint_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, tokenEndpoint_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, clientId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientSecret_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, clientSecret_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(user_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, user_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(password_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, password_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tokenEndpoint_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, tokenEndpoint_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, clientId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientSecret_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, clientSecret_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(user_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, user_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(password_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, password_); + } + 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.cloud.chronicle.v1.OAuthPasswordGrantCredentials)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials other = + (com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials) obj; + + if (!getTokenEndpoint().equals(other.getTokenEndpoint())) return false; + if (!getClientId().equals(other.getClientId())) return false; + if (!getClientSecret().equals(other.getClientSecret())) return false; + if (!getUser().equals(other.getUser())) return false; + if (!getPassword().equals(other.getPassword())) 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) + TOKEN_ENDPOINT_FIELD_NUMBER; + hash = (53 * hash) + getTokenEndpoint().hashCode(); + hash = (37 * hash) + CLIENT_ID_FIELD_NUMBER; + hash = (53 * hash) + getClientId().hashCode(); + hash = (37 * hash) + CLIENT_SECRET_FIELD_NUMBER; + hash = (53 * hash) + getClientSecret().hashCode(); + hash = (37 * hash) + USER_FIELD_NUMBER; + hash = (53 * hash) + getUser().hashCode(); + hash = (37 * hash) + PASSWORD_FIELD_NUMBER; + hash = (53 * hash) + getPassword().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials 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.cloud.chronicle.v1.OAuthPasswordGrantCredentials parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.OAuthPasswordGrantCredentials 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * OAuth 2.0 password grant. See https://tools.ietf.org/html/rfc6749.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.OAuthPasswordGrantCredentials} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.OAuthPasswordGrantCredentials) + com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentialsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OAuthPasswordGrantCredentials_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OAuthPasswordGrantCredentials_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials.class, + com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + tokenEndpoint_ = ""; + clientId_ = ""; + clientSecret_ = ""; + user_ = ""; + password_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OAuthPasswordGrantCredentials_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials build() { + com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials buildPartial() { + com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials result = + new com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.tokenEndpoint_ = tokenEndpoint_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.clientId_ = clientId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.clientSecret_ = clientSecret_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.user_ = user_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.password_ = password_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials) { + return mergeFrom((com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials other) { + if (other == com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials.getDefaultInstance()) + return this; + if (!other.getTokenEndpoint().isEmpty()) { + tokenEndpoint_ = other.tokenEndpoint_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getClientId().isEmpty()) { + clientId_ = other.clientId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getClientSecret().isEmpty()) { + clientSecret_ = other.clientSecret_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getUser().isEmpty()) { + user_ = other.user_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getPassword().isEmpty()) { + password_ = other.password_; + bitField0_ |= 0x00000010; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + tokenEndpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + clientId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + clientSecret_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + user_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + password_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object tokenEndpoint_ = ""; + + /** + * + * + *
+     * Token endpoint to get the OAuth token from.
+     * 
+ * + * string token_endpoint = 1; + * + * @return The tokenEndpoint. + */ + public java.lang.String getTokenEndpoint() { + java.lang.Object ref = tokenEndpoint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tokenEndpoint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Token endpoint to get the OAuth token from.
+     * 
+ * + * string token_endpoint = 1; + * + * @return The bytes for tokenEndpoint. + */ + public com.google.protobuf.ByteString getTokenEndpointBytes() { + java.lang.Object ref = tokenEndpoint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tokenEndpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Token endpoint to get the OAuth token from.
+     * 
+ * + * string token_endpoint = 1; + * + * @param value The tokenEndpoint to set. + * @return This builder for chaining. + */ + public Builder setTokenEndpoint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + tokenEndpoint_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Token endpoint to get the OAuth token from.
+     * 
+ * + * string token_endpoint = 1; + * + * @return This builder for chaining. + */ + public Builder clearTokenEndpoint() { + tokenEndpoint_ = getDefaultInstance().getTokenEndpoint(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Token endpoint to get the OAuth token from.
+     * 
+ * + * string token_endpoint = 1; + * + * @param value The bytes for tokenEndpoint to set. + * @return This builder for chaining. + */ + public Builder setTokenEndpointBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tokenEndpoint_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object clientId_ = ""; + + /** + * + * + *
+     * Client ID.
+     * 
+ * + * string client_id = 2; + * + * @return The clientId. + */ + public java.lang.String getClientId() { + java.lang.Object ref = clientId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Client ID.
+     * 
+ * + * string client_id = 2; + * + * @return The bytes for clientId. + */ + public com.google.protobuf.ByteString getClientIdBytes() { + java.lang.Object ref = clientId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Client ID.
+     * 
+ * + * string client_id = 2; + * + * @param value The clientId to set. + * @return This builder for chaining. + */ + public Builder setClientId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + clientId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Client ID.
+     * 
+ * + * string client_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearClientId() { + clientId_ = getDefaultInstance().getClientId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Client ID.
+     * 
+ * + * string client_id = 2; + * + * @param value The bytes for clientId to set. + * @return This builder for chaining. + */ + public Builder setClientIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object clientSecret_ = ""; + + /** + * + * + *
+     * Client secret.
+     * 
+ * + * string client_secret = 3; + * + * @return The clientSecret. + */ + public java.lang.String getClientSecret() { + java.lang.Object ref = clientSecret_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientSecret_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Client secret.
+     * 
+ * + * string client_secret = 3; + * + * @return The bytes for clientSecret. + */ + public com.google.protobuf.ByteString getClientSecretBytes() { + java.lang.Object ref = clientSecret_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientSecret_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Client secret.
+     * 
+ * + * string client_secret = 3; + * + * @param value The clientSecret to set. + * @return This builder for chaining. + */ + public Builder setClientSecret(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + clientSecret_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Client secret.
+     * 
+ * + * string client_secret = 3; + * + * @return This builder for chaining. + */ + public Builder clearClientSecret() { + clientSecret_ = getDefaultInstance().getClientSecret(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Client secret.
+     * 
+ * + * string client_secret = 3; + * + * @param value The bytes for clientSecret to set. + * @return This builder for chaining. + */ + public Builder setClientSecretBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientSecret_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object user_ = ""; + + /** + * + * + *
+     * Username.
+     * 
+ * + * string user = 4; + * + * @return The user. + */ + public java.lang.String getUser() { + java.lang.Object ref = user_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + user_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Username.
+     * 
+ * + * string user = 4; + * + * @return The bytes for user. + */ + public com.google.protobuf.ByteString getUserBytes() { + java.lang.Object ref = user_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + user_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Username.
+     * 
+ * + * string user = 4; + * + * @param value The user to set. + * @return This builder for chaining. + */ + public Builder setUser(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + user_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Username.
+     * 
+ * + * string user = 4; + * + * @return This builder for chaining. + */ + public Builder clearUser() { + user_ = getDefaultInstance().getUser(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+     * Username.
+     * 
+ * + * string user = 4; + * + * @param value The bytes for user to set. + * @return This builder for chaining. + */ + public Builder setUserBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + user_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object password_ = ""; + + /** + * + * + *
+     * Password.
+     * 
+ * + * string password = 5; + * + * @return The password. + */ + public java.lang.String getPassword() { + java.lang.Object ref = password_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + password_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Password.
+     * 
+ * + * string password = 5; + * + * @return The bytes for password. + */ + public com.google.protobuf.ByteString getPasswordBytes() { + java.lang.Object ref = password_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + password_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Password.
+     * 
+ * + * string password = 5; + * + * @param value The password to set. + * @return This builder for chaining. + */ + public Builder setPassword(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + password_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Password.
+     * 
+ * + * string password = 5; + * + * @return This builder for chaining. + */ + public Builder clearPassword() { + password_ = getDefaultInstance().getPassword(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + + /** + * + * + *
+     * Password.
+     * 
+ * + * string password = 5; + * + * @param value The bytes for password to set. + * @return This builder for chaining. + */ + public Builder setPasswordBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + password_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.OAuthPasswordGrantCredentials) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.OAuthPasswordGrantCredentials) + private static final com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials(); + } + + public static com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OAuthPasswordGrantCredentials parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OAuthPasswordGrantCredentialsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OAuthPasswordGrantCredentialsOrBuilder.java new file mode 100644 index 000000000000..b293f1ca9e1c --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OAuthPasswordGrantCredentialsOrBuilder.java @@ -0,0 +1,158 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface OAuthPasswordGrantCredentialsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.OAuthPasswordGrantCredentials) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Token endpoint to get the OAuth token from.
+   * 
+ * + * string token_endpoint = 1; + * + * @return The tokenEndpoint. + */ + java.lang.String getTokenEndpoint(); + + /** + * + * + *
+   * Token endpoint to get the OAuth token from.
+   * 
+ * + * string token_endpoint = 1; + * + * @return The bytes for tokenEndpoint. + */ + com.google.protobuf.ByteString getTokenEndpointBytes(); + + /** + * + * + *
+   * Client ID.
+   * 
+ * + * string client_id = 2; + * + * @return The clientId. + */ + java.lang.String getClientId(); + + /** + * + * + *
+   * Client ID.
+   * 
+ * + * string client_id = 2; + * + * @return The bytes for clientId. + */ + com.google.protobuf.ByteString getClientIdBytes(); + + /** + * + * + *
+   * Client secret.
+   * 
+ * + * string client_secret = 3; + * + * @return The clientSecret. + */ + java.lang.String getClientSecret(); + + /** + * + * + *
+   * Client secret.
+   * 
+ * + * string client_secret = 3; + * + * @return The bytes for clientSecret. + */ + com.google.protobuf.ByteString getClientSecretBytes(); + + /** + * + * + *
+   * Username.
+   * 
+ * + * string user = 4; + * + * @return The user. + */ + java.lang.String getUser(); + + /** + * + * + *
+   * Username.
+   * 
+ * + * string user = 4; + * + * @return The bytes for user. + */ + com.google.protobuf.ByteString getUserBytes(); + + /** + * + * + *
+   * Password.
+   * 
+ * + * string password = 5; + * + * @return The password. + */ + java.lang.String getPassword(); + + /** + * + * + *
+   * Password.
+   * 
+ * + * string password = 5; + * + * @return The bytes for password. + */ + com.google.protobuf.ByteString getPasswordBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OAuthRefreshToken.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OAuthRefreshToken.java new file mode 100644 index 000000000000..75e4ad60f9ea --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OAuthRefreshToken.java @@ -0,0 +1,1163 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * OAuth 2.0 refresh token grant. See https://tools.ietf.org/html/rfc6749.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.OAuthRefreshToken} + */ +@com.google.protobuf.Generated +public final class OAuthRefreshToken extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.OAuthRefreshToken) + OAuthRefreshTokenOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "OAuthRefreshToken"); + } + + // Use OAuthRefreshToken.newBuilder() to construct. + private OAuthRefreshToken(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private OAuthRefreshToken() { + tokenEndpoint_ = ""; + clientId_ = ""; + clientSecret_ = ""; + refreshToken_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OAuthRefreshToken_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OAuthRefreshToken_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.OAuthRefreshToken.class, + com.google.cloud.chronicle.v1.OAuthRefreshToken.Builder.class); + } + + public static final int TOKEN_ENDPOINT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object tokenEndpoint_ = ""; + + /** + * + * + *
+   * Token endpoint to get the OAuth token from.
+   * 
+ * + * string token_endpoint = 1; + * + * @return The tokenEndpoint. + */ + @java.lang.Override + public java.lang.String getTokenEndpoint() { + java.lang.Object ref = tokenEndpoint_; + 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(); + tokenEndpoint_ = s; + return s; + } + } + + /** + * + * + *
+   * Token endpoint to get the OAuth token from.
+   * 
+ * + * string token_endpoint = 1; + * + * @return The bytes for tokenEndpoint. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTokenEndpointBytes() { + java.lang.Object ref = tokenEndpoint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tokenEndpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLIENT_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object clientId_ = ""; + + /** + * + * + *
+   * Client ID.
+   * 
+ * + * string client_id = 2; + * + * @return The clientId. + */ + @java.lang.Override + public java.lang.String getClientId() { + java.lang.Object ref = clientId_; + 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(); + clientId_ = s; + return s; + } + } + + /** + * + * + *
+   * Client ID.
+   * 
+ * + * string client_id = 2; + * + * @return The bytes for clientId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getClientIdBytes() { + java.lang.Object ref = clientId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLIENT_SECRET_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object clientSecret_ = ""; + + /** + * + * + *
+   * Client secret.
+   * 
+ * + * string client_secret = 3; + * + * @return The clientSecret. + */ + @java.lang.Override + public java.lang.String getClientSecret() { + java.lang.Object ref = clientSecret_; + 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(); + clientSecret_ = s; + return s; + } + } + + /** + * + * + *
+   * Client secret.
+   * 
+ * + * string client_secret = 3; + * + * @return The bytes for clientSecret. + */ + @java.lang.Override + public com.google.protobuf.ByteString getClientSecretBytes() { + java.lang.Object ref = clientSecret_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientSecret_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REFRESH_TOKEN_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object refreshToken_ = ""; + + /** + * + * + *
+   * Refresh token.
+   * 
+ * + * string refresh_token = 4; + * + * @return The refreshToken. + */ + @java.lang.Override + public java.lang.String getRefreshToken() { + java.lang.Object ref = refreshToken_; + 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(); + refreshToken_ = s; + return s; + } + } + + /** + * + * + *
+   * Refresh token.
+   * 
+ * + * string refresh_token = 4; + * + * @return The bytes for refreshToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRefreshTokenBytes() { + java.lang.Object ref = refreshToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + refreshToken_ = 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.GeneratedMessage.isStringEmpty(tokenEndpoint_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, tokenEndpoint_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, clientId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientSecret_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, clientSecret_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(refreshToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, refreshToken_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tokenEndpoint_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, tokenEndpoint_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, clientId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientSecret_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, clientSecret_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(refreshToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, refreshToken_); + } + 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.cloud.chronicle.v1.OAuthRefreshToken)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.OAuthRefreshToken other = + (com.google.cloud.chronicle.v1.OAuthRefreshToken) obj; + + if (!getTokenEndpoint().equals(other.getTokenEndpoint())) return false; + if (!getClientId().equals(other.getClientId())) return false; + if (!getClientSecret().equals(other.getClientSecret())) return false; + if (!getRefreshToken().equals(other.getRefreshToken())) 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) + TOKEN_ENDPOINT_FIELD_NUMBER; + hash = (53 * hash) + getTokenEndpoint().hashCode(); + hash = (37 * hash) + CLIENT_ID_FIELD_NUMBER; + hash = (53 * hash) + getClientId().hashCode(); + hash = (37 * hash) + CLIENT_SECRET_FIELD_NUMBER; + hash = (53 * hash) + getClientSecret().hashCode(); + hash = (37 * hash) + REFRESH_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getRefreshToken().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.OAuthRefreshToken parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.OAuthRefreshToken parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.OAuthRefreshToken parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.OAuthRefreshToken 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.cloud.chronicle.v1.OAuthRefreshToken parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.OAuthRefreshToken parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.OAuthRefreshToken parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.OAuthRefreshToken parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.OAuthRefreshToken parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.OAuthRefreshToken parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.OAuthRefreshToken parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.OAuthRefreshToken parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.OAuthRefreshToken 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * OAuth 2.0 refresh token grant. See https://tools.ietf.org/html/rfc6749.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.OAuthRefreshToken} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.OAuthRefreshToken) + com.google.cloud.chronicle.v1.OAuthRefreshTokenOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OAuthRefreshToken_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OAuthRefreshToken_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.OAuthRefreshToken.class, + com.google.cloud.chronicle.v1.OAuthRefreshToken.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.OAuthRefreshToken.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + tokenEndpoint_ = ""; + clientId_ = ""; + clientSecret_ = ""; + refreshToken_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OAuthRefreshToken_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthRefreshToken getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.OAuthRefreshToken.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthRefreshToken build() { + com.google.cloud.chronicle.v1.OAuthRefreshToken result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthRefreshToken buildPartial() { + com.google.cloud.chronicle.v1.OAuthRefreshToken result = + new com.google.cloud.chronicle.v1.OAuthRefreshToken(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.OAuthRefreshToken result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.tokenEndpoint_ = tokenEndpoint_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.clientId_ = clientId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.clientSecret_ = clientSecret_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.refreshToken_ = refreshToken_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.OAuthRefreshToken) { + return mergeFrom((com.google.cloud.chronicle.v1.OAuthRefreshToken) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.OAuthRefreshToken other) { + if (other == com.google.cloud.chronicle.v1.OAuthRefreshToken.getDefaultInstance()) + return this; + if (!other.getTokenEndpoint().isEmpty()) { + tokenEndpoint_ = other.tokenEndpoint_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getClientId().isEmpty()) { + clientId_ = other.clientId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getClientSecret().isEmpty()) { + clientSecret_ = other.clientSecret_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getRefreshToken().isEmpty()) { + refreshToken_ = other.refreshToken_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + tokenEndpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + clientId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + clientSecret_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + refreshToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object tokenEndpoint_ = ""; + + /** + * + * + *
+     * Token endpoint to get the OAuth token from.
+     * 
+ * + * string token_endpoint = 1; + * + * @return The tokenEndpoint. + */ + public java.lang.String getTokenEndpoint() { + java.lang.Object ref = tokenEndpoint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tokenEndpoint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Token endpoint to get the OAuth token from.
+     * 
+ * + * string token_endpoint = 1; + * + * @return The bytes for tokenEndpoint. + */ + public com.google.protobuf.ByteString getTokenEndpointBytes() { + java.lang.Object ref = tokenEndpoint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tokenEndpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Token endpoint to get the OAuth token from.
+     * 
+ * + * string token_endpoint = 1; + * + * @param value The tokenEndpoint to set. + * @return This builder for chaining. + */ + public Builder setTokenEndpoint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + tokenEndpoint_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Token endpoint to get the OAuth token from.
+     * 
+ * + * string token_endpoint = 1; + * + * @return This builder for chaining. + */ + public Builder clearTokenEndpoint() { + tokenEndpoint_ = getDefaultInstance().getTokenEndpoint(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Token endpoint to get the OAuth token from.
+     * 
+ * + * string token_endpoint = 1; + * + * @param value The bytes for tokenEndpoint to set. + * @return This builder for chaining. + */ + public Builder setTokenEndpointBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tokenEndpoint_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object clientId_ = ""; + + /** + * + * + *
+     * Client ID.
+     * 
+ * + * string client_id = 2; + * + * @return The clientId. + */ + public java.lang.String getClientId() { + java.lang.Object ref = clientId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Client ID.
+     * 
+ * + * string client_id = 2; + * + * @return The bytes for clientId. + */ + public com.google.protobuf.ByteString getClientIdBytes() { + java.lang.Object ref = clientId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Client ID.
+     * 
+ * + * string client_id = 2; + * + * @param value The clientId to set. + * @return This builder for chaining. + */ + public Builder setClientId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + clientId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Client ID.
+     * 
+ * + * string client_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearClientId() { + clientId_ = getDefaultInstance().getClientId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Client ID.
+     * 
+ * + * string client_id = 2; + * + * @param value The bytes for clientId to set. + * @return This builder for chaining. + */ + public Builder setClientIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object clientSecret_ = ""; + + /** + * + * + *
+     * Client secret.
+     * 
+ * + * string client_secret = 3; + * + * @return The clientSecret. + */ + public java.lang.String getClientSecret() { + java.lang.Object ref = clientSecret_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientSecret_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Client secret.
+     * 
+ * + * string client_secret = 3; + * + * @return The bytes for clientSecret. + */ + public com.google.protobuf.ByteString getClientSecretBytes() { + java.lang.Object ref = clientSecret_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientSecret_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Client secret.
+     * 
+ * + * string client_secret = 3; + * + * @param value The clientSecret to set. + * @return This builder for chaining. + */ + public Builder setClientSecret(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + clientSecret_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Client secret.
+     * 
+ * + * string client_secret = 3; + * + * @return This builder for chaining. + */ + public Builder clearClientSecret() { + clientSecret_ = getDefaultInstance().getClientSecret(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Client secret.
+     * 
+ * + * string client_secret = 3; + * + * @param value The bytes for clientSecret to set. + * @return This builder for chaining. + */ + public Builder setClientSecretBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientSecret_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object refreshToken_ = ""; + + /** + * + * + *
+     * Refresh token.
+     * 
+ * + * string refresh_token = 4; + * + * @return The refreshToken. + */ + public java.lang.String getRefreshToken() { + java.lang.Object ref = refreshToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + refreshToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Refresh token.
+     * 
+ * + * string refresh_token = 4; + * + * @return The bytes for refreshToken. + */ + public com.google.protobuf.ByteString getRefreshTokenBytes() { + java.lang.Object ref = refreshToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + refreshToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Refresh token.
+     * 
+ * + * string refresh_token = 4; + * + * @param value The refreshToken to set. + * @return This builder for chaining. + */ + public Builder setRefreshToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + refreshToken_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Refresh token.
+     * 
+ * + * string refresh_token = 4; + * + * @return This builder for chaining. + */ + public Builder clearRefreshToken() { + refreshToken_ = getDefaultInstance().getRefreshToken(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+     * Refresh token.
+     * 
+ * + * string refresh_token = 4; + * + * @param value The bytes for refreshToken to set. + * @return This builder for chaining. + */ + public Builder setRefreshTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + refreshToken_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.OAuthRefreshToken) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.OAuthRefreshToken) + private static final com.google.cloud.chronicle.v1.OAuthRefreshToken DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.OAuthRefreshToken(); + } + + public static com.google.cloud.chronicle.v1.OAuthRefreshToken getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OAuthRefreshToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthRefreshToken getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OAuthRefreshTokenOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OAuthRefreshTokenOrBuilder.java new file mode 100644 index 000000000000..82e63faccfd5 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OAuthRefreshTokenOrBuilder.java @@ -0,0 +1,132 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface OAuthRefreshTokenOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.OAuthRefreshToken) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Token endpoint to get the OAuth token from.
+   * 
+ * + * string token_endpoint = 1; + * + * @return The tokenEndpoint. + */ + java.lang.String getTokenEndpoint(); + + /** + * + * + *
+   * Token endpoint to get the OAuth token from.
+   * 
+ * + * string token_endpoint = 1; + * + * @return The bytes for tokenEndpoint. + */ + com.google.protobuf.ByteString getTokenEndpointBytes(); + + /** + * + * + *
+   * Client ID.
+   * 
+ * + * string client_id = 2; + * + * @return The clientId. + */ + java.lang.String getClientId(); + + /** + * + * + *
+   * Client ID.
+   * 
+ * + * string client_id = 2; + * + * @return The bytes for clientId. + */ + com.google.protobuf.ByteString getClientIdBytes(); + + /** + * + * + *
+   * Client secret.
+   * 
+ * + * string client_secret = 3; + * + * @return The clientSecret. + */ + java.lang.String getClientSecret(); + + /** + * + * + *
+   * Client secret.
+   * 
+ * + * string client_secret = 3; + * + * @return The bytes for clientSecret. + */ + com.google.protobuf.ByteString getClientSecretBytes(); + + /** + * + * + *
+   * Refresh token.
+   * 
+ * + * string refresh_token = 4; + * + * @return The refreshToken. + */ + java.lang.String getRefreshToken(); + + /** + * + * + *
+   * Refresh token.
+   * 
+ * + * string refresh_token = 4; + * + * @return The bytes for refreshToken. + */ + com.google.protobuf.ByteString getRefreshTokenBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/Office365Settings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/Office365Settings.java new file mode 100644 index 000000000000..036e37b04488 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/Office365Settings.java @@ -0,0 +1,1702 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Office 365 settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.Office365Settings} + */ +@com.google.protobuf.Generated +public final class Office365Settings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.Office365Settings) + Office365SettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "Office365Settings"); + } + + // Use Office365Settings.newBuilder() to construct. + private Office365Settings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private Office365Settings() { + tenantId_ = ""; + contentType_ = 0; + hostname_ = ""; + authEndpoint_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_Office365Settings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_Office365Settings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.Office365Settings.class, + com.google.cloud.chronicle.v1.Office365Settings.Builder.class); + } + + /** + * + * + *
+   * Office 365 supported content types:
+   * https://docs.microsoft.com/en-us/office/office-365-management-api/office-365-management-activity-api-reference#working-with-the-office-365-management-activity-api
+   * 
+ * + * Protobuf enum {@code google.cloud.chronicle.v1.Office365Settings.ContentType} + */ + public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Unspecified content type.
+     * 
+ * + * CONTENT_TYPE_UNSPECIFIED = 0; + */ + CONTENT_TYPE_UNSPECIFIED(0), + /** + * + * + *
+     * Audit.AzureActiveDirectory.
+     * 
+ * + * AUDIT_AZURE_ACTIVE_DIRECTORY = 1; + */ + AUDIT_AZURE_ACTIVE_DIRECTORY(1), + /** + * + * + *
+     * Audit.Exchange.
+     * 
+ * + * AUDIT_EXCHANGE = 2; + */ + AUDIT_EXCHANGE(2), + /** + * + * + *
+     * Audit.SharePoint.
+     * 
+ * + * AUDIT_SHARE_POINT = 3; + */ + AUDIT_SHARE_POINT(3), + /** + * + * + *
+     * Audit.General.
+     * 
+ * + * AUDIT_GENERAL = 4; + */ + AUDIT_GENERAL(4), + /** + * + * + *
+     * DLP.All.
+     * 
+ * + * DLP_ALL = 5; + */ + DLP_ALL(5), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "ContentType"); + } + + /** + * + * + *
+     * Unspecified content type.
+     * 
+ * + * CONTENT_TYPE_UNSPECIFIED = 0; + */ + public static final int CONTENT_TYPE_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
+     * Audit.AzureActiveDirectory.
+     * 
+ * + * AUDIT_AZURE_ACTIVE_DIRECTORY = 1; + */ + public static final int AUDIT_AZURE_ACTIVE_DIRECTORY_VALUE = 1; + + /** + * + * + *
+     * Audit.Exchange.
+     * 
+ * + * AUDIT_EXCHANGE = 2; + */ + public static final int AUDIT_EXCHANGE_VALUE = 2; + + /** + * + * + *
+     * Audit.SharePoint.
+     * 
+ * + * AUDIT_SHARE_POINT = 3; + */ + public static final int AUDIT_SHARE_POINT_VALUE = 3; + + /** + * + * + *
+     * Audit.General.
+     * 
+ * + * AUDIT_GENERAL = 4; + */ + public static final int AUDIT_GENERAL_VALUE = 4; + + /** + * + * + *
+     * DLP.All.
+     * 
+ * + * DLP_ALL = 5; + */ + public static final int DLP_ALL_VALUE = 5; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ContentType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ContentType forNumber(int value) { + switch (value) { + case 0: + return CONTENT_TYPE_UNSPECIFIED; + case 1: + return AUDIT_AZURE_ACTIVE_DIRECTORY; + case 2: + return AUDIT_EXCHANGE; + case 3: + return AUDIT_SHARE_POINT; + case 4: + return AUDIT_GENERAL; + case 5: + return DLP_ALL; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ContentType findValueByNumber(int number) { + return ContentType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.chronicle.v1.Office365Settings.getDescriptor().getEnumTypes().get(0); + } + + private static final ContentType[] VALUES = values(); + + public static ContentType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ContentType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.chronicle.v1.Office365Settings.ContentType) + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder + getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } + + public static final int TENANT_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object tenantId_ = ""; + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 2; + * + * @return The tenantId. + */ + @java.lang.Override + public java.lang.String getTenantId() { + java.lang.Object ref = tenantId_; + 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(); + tenantId_ = s; + return s; + } + } + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 2; + * + * @return The bytes for tenantId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTenantIdBytes() { + java.lang.Object ref = tenantId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tenantId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CONTENT_TYPE_FIELD_NUMBER = 3; + private int contentType_ = 0; + + /** + * + * + *
+   * Supported office 365 content type.
+   * 
+ * + * .google.cloud.chronicle.v1.Office365Settings.ContentType content_type = 3; + * + * @return The enum numeric value on the wire for contentType. + */ + @java.lang.Override + public int getContentTypeValue() { + return contentType_; + } + + /** + * + * + *
+   * Supported office 365 content type.
+   * 
+ * + * .google.cloud.chronicle.v1.Office365Settings.ContentType content_type = 3; + * + * @return The contentType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.Office365Settings.ContentType getContentType() { + com.google.cloud.chronicle.v1.Office365Settings.ContentType result = + com.google.cloud.chronicle.v1.Office365Settings.ContentType.forNumber(contentType_); + return result == null + ? com.google.cloud.chronicle.v1.Office365Settings.ContentType.UNRECOGNIZED + : result; + } + + public static final int HOSTNAME_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 4; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 4; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AUTH_ENDPOINT_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private volatile java.lang.Object authEndpoint_ = ""; + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 5; + * + * @return The authEndpoint. + */ + @java.lang.Override + public java.lang.String getAuthEndpoint() { + java.lang.Object ref = authEndpoint_; + 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(); + authEndpoint_ = s; + return s; + } + } + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 5; + * + * @return The bytes for authEndpoint. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAuthEndpointBytes() { + java.lang.Object ref = authEndpoint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + authEndpoint_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenantId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, tenantId_); + } + if (contentType_ + != com.google.cloud.chronicle.v1.Office365Settings.ContentType.CONTENT_TYPE_UNSPECIFIED + .getNumber()) { + output.writeEnum(3, contentType_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(authEndpoint_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, authEndpoint_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenantId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, tenantId_); + } + if (contentType_ + != com.google.cloud.chronicle.v1.Office365Settings.ContentType.CONTENT_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, contentType_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(authEndpoint_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, authEndpoint_); + } + 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.cloud.chronicle.v1.Office365Settings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.Office365Settings other = + (com.google.cloud.chronicle.v1.Office365Settings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getTenantId().equals(other.getTenantId())) return false; + if (contentType_ != other.contentType_) return false; + if (!getHostname().equals(other.getHostname())) return false; + if (!getAuthEndpoint().equals(other.getAuthEndpoint())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + TENANT_ID_FIELD_NUMBER; + hash = (53 * hash) + getTenantId().hashCode(); + hash = (37 * hash) + CONTENT_TYPE_FIELD_NUMBER; + hash = (53 * hash) + contentType_; + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + hash = (37 * hash) + AUTH_ENDPOINT_FIELD_NUMBER; + hash = (53 * hash) + getAuthEndpoint().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.Office365Settings parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.Office365Settings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.Office365Settings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.Office365Settings 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.cloud.chronicle.v1.Office365Settings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.Office365Settings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.Office365Settings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.Office365Settings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.Office365Settings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.Office365Settings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.Office365Settings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.Office365Settings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.Office365Settings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Office 365 settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.Office365Settings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.Office365Settings) + com.google.cloud.chronicle.v1.Office365SettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_Office365Settings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_Office365Settings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.Office365Settings.class, + com.google.cloud.chronicle.v1.Office365Settings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.Office365Settings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + tenantId_ = ""; + contentType_ = 0; + hostname_ = ""; + authEndpoint_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_Office365Settings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.Office365Settings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.Office365Settings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.Office365Settings build() { + com.google.cloud.chronicle.v1.Office365Settings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.Office365Settings buildPartial() { + com.google.cloud.chronicle.v1.Office365Settings result = + new com.google.cloud.chronicle.v1.Office365Settings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.Office365Settings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.tenantId_ = tenantId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.contentType_ = contentType_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.hostname_ = hostname_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.authEndpoint_ = authEndpoint_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.Office365Settings) { + return mergeFrom((com.google.cloud.chronicle.v1.Office365Settings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.Office365Settings other) { + if (other == com.google.cloud.chronicle.v1.Office365Settings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getTenantId().isEmpty()) { + tenantId_ = other.tenantId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.contentType_ != 0) { + setContentTypeValue(other.getContentTypeValue()); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getAuthEndpoint().isEmpty()) { + authEndpoint_ = other.authEndpoint_; + bitField0_ |= 0x00000010; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + tenantId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + contentType_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + authEndpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication( + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials + .getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder + getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder + getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object tenantId_ = ""; + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 2; + * + * @return The tenantId. + */ + public java.lang.String getTenantId() { + java.lang.Object ref = tenantId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tenantId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 2; + * + * @return The bytes for tenantId. + */ + public com.google.protobuf.ByteString getTenantIdBytes() { + java.lang.Object ref = tenantId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tenantId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 2; + * + * @param value The tenantId to set. + * @return This builder for chaining. + */ + public Builder setTenantId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + tenantId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearTenantId() { + tenantId_ = getDefaultInstance().getTenantId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 2; + * + * @param value The bytes for tenantId to set. + * @return This builder for chaining. + */ + public Builder setTenantIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tenantId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int contentType_ = 0; + + /** + * + * + *
+     * Supported office 365 content type.
+     * 
+ * + * .google.cloud.chronicle.v1.Office365Settings.ContentType content_type = 3; + * + * @return The enum numeric value on the wire for contentType. + */ + @java.lang.Override + public int getContentTypeValue() { + return contentType_; + } + + /** + * + * + *
+     * Supported office 365 content type.
+     * 
+ * + * .google.cloud.chronicle.v1.Office365Settings.ContentType content_type = 3; + * + * @param value The enum numeric value on the wire for contentType to set. + * @return This builder for chaining. + */ + public Builder setContentTypeValue(int value) { + contentType_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Supported office 365 content type.
+     * 
+ * + * .google.cloud.chronicle.v1.Office365Settings.ContentType content_type = 3; + * + * @return The contentType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.Office365Settings.ContentType getContentType() { + com.google.cloud.chronicle.v1.Office365Settings.ContentType result = + com.google.cloud.chronicle.v1.Office365Settings.ContentType.forNumber(contentType_); + return result == null + ? com.google.cloud.chronicle.v1.Office365Settings.ContentType.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * Supported office 365 content type.
+     * 
+ * + * .google.cloud.chronicle.v1.Office365Settings.ContentType content_type = 3; + * + * @param value The contentType to set. + * @return This builder for chaining. + */ + public Builder setContentType( + com.google.cloud.chronicle.v1.Office365Settings.ContentType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + contentType_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Supported office 365 content type.
+     * 
+ * + * .google.cloud.chronicle.v1.Office365Settings.ContentType content_type = 3; + * + * @return This builder for chaining. + */ + public Builder clearContentType() { + bitField0_ = (bitField0_ & ~0x00000004); + contentType_ = 0; + onChanged(); + return this; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 4; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 4; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 4; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 4; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 4; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object authEndpoint_ = ""; + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 5; + * + * @return The authEndpoint. + */ + public java.lang.String getAuthEndpoint() { + java.lang.Object ref = authEndpoint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + authEndpoint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 5; + * + * @return The bytes for authEndpoint. + */ + public com.google.protobuf.ByteString getAuthEndpointBytes() { + java.lang.Object ref = authEndpoint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + authEndpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 5; + * + * @param value The authEndpoint to set. + * @return This builder for chaining. + */ + public Builder setAuthEndpoint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + authEndpoint_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 5; + * + * @return This builder for chaining. + */ + public Builder clearAuthEndpoint() { + authEndpoint_ = getDefaultInstance().getAuthEndpoint(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Auth Endpoint.
+     * 
+ * + * string auth_endpoint = 5; + * + * @param value The bytes for authEndpoint to set. + * @return This builder for chaining. + */ + public Builder setAuthEndpointBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + authEndpoint_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.Office365Settings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.Office365Settings) + private static final com.google.cloud.chronicle.v1.Office365Settings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.Office365Settings(); + } + + public static com.google.cloud.chronicle.v1.Office365Settings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Office365Settings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.Office365Settings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/Office365SettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/Office365SettingsOrBuilder.java new file mode 100644 index 000000000000..f616b9578509 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/Office365SettingsOrBuilder.java @@ -0,0 +1,176 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface Office365SettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.Office365Settings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MicrosoftOAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.MicrosoftOAuthClientCredentialsOrBuilder + getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 2; + * + * @return The tenantId. + */ + java.lang.String getTenantId(); + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 2; + * + * @return The bytes for tenantId. + */ + com.google.protobuf.ByteString getTenantIdBytes(); + + /** + * + * + *
+   * Supported office 365 content type.
+   * 
+ * + * .google.cloud.chronicle.v1.Office365Settings.ContentType content_type = 3; + * + * @return The enum numeric value on the wire for contentType. + */ + int getContentTypeValue(); + + /** + * + * + *
+   * Supported office 365 content type.
+   * 
+ * + * .google.cloud.chronicle.v1.Office365Settings.ContentType content_type = 3; + * + * @return The contentType. + */ + com.google.cloud.chronicle.v1.Office365Settings.ContentType getContentType(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 4; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 4; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 5; + * + * @return The authEndpoint. + */ + java.lang.String getAuthEndpoint(); + + /** + * + * + *
+   * API Auth Endpoint.
+   * 
+ * + * string auth_endpoint = 5; + * + * @return The bytes for authEndpoint. + */ + com.google.protobuf.ByteString getAuthEndpointBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OktaSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OktaSettings.java new file mode 100644 index 000000000000..176ce71cd71c --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OktaSettings.java @@ -0,0 +1,914 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Okta settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.OktaSettings} + */ +@com.google.protobuf.Generated +public final class OktaSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.OktaSettings) + OktaSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "OktaSettings"); + } + + // Use OktaSettings.newBuilder() to construct. + private OktaSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private OktaSettings() { + hostname_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OktaSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OktaSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.OktaSettings.class, + com.google.cloud.chronicle.v1.OktaSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + public static final int HOSTNAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, hostname_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, hostname_); + } + 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.cloud.chronicle.v1.OktaSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.OktaSettings other = + (com.google.cloud.chronicle.v1.OktaSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getHostname().equals(other.getHostname())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.OktaSettings parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.OktaSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.OktaSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.OktaSettings 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.cloud.chronicle.v1.OktaSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.OktaSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.OktaSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.OktaSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.OktaSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.OktaSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.OktaSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.OktaSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.OktaSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Okta settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.OktaSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.OktaSettings) + com.google.cloud.chronicle.v1.OktaSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OktaSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OktaSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.OktaSettings.class, + com.google.cloud.chronicle.v1.OktaSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.OktaSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + hostname_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OktaSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.OktaSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.OktaSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.OktaSettings build() { + com.google.cloud.chronicle.v1.OktaSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.OktaSettings buildPartial() { + com.google.cloud.chronicle.v1.OktaSettings result = + new com.google.cloud.chronicle.v1.OktaSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.OktaSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.hostname_ = hostname_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.OktaSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.OktaSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.OktaSettings other) { + if (other == com.google.cloud.chronicle.v1.OktaSettings.getDefaultInstance()) return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.OktaSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.OktaSettings) + private static final com.google.cloud.chronicle.v1.OktaSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.OktaSettings(); + } + + public static com.google.cloud.chronicle.v1.OktaSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OktaSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.OktaSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OktaSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OktaSettingsOrBuilder.java new file mode 100644 index 000000000000..64d3aa425f29 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OktaSettingsOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface OktaSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.OktaSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OktaUserContextSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OktaUserContextSettings.java new file mode 100644 index 000000000000..efcd080f25ad --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OktaUserContextSettings.java @@ -0,0 +1,1105 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Okta user context settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.OktaUserContextSettings} + */ +@com.google.protobuf.Generated +public final class OktaUserContextSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.OktaUserContextSettings) + OktaUserContextSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "OktaUserContextSettings"); + } + + // Use OktaUserContextSettings.newBuilder() to construct. + private OktaUserContextSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private OktaUserContextSettings() { + hostname_ = ""; + managerIdReferenceField_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OktaUserContextSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OktaUserContextSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.OktaUserContextSettings.class, + com.google.cloud.chronicle.v1.OktaUserContextSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + public static final int HOSTNAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MANAGER_ID_REFERENCE_FIELD_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object managerIdReferenceField_ = ""; + + /** + * + * + *
+   * Manager id reference field.
+   * 
+ * + * string manager_id_reference_field = 3; + * + * @return The managerIdReferenceField. + */ + @java.lang.Override + public java.lang.String getManagerIdReferenceField() { + java.lang.Object ref = managerIdReferenceField_; + 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(); + managerIdReferenceField_ = s; + return s; + } + } + + /** + * + * + *
+   * Manager id reference field.
+   * 
+ * + * string manager_id_reference_field = 3; + * + * @return The bytes for managerIdReferenceField. + */ + @java.lang.Override + public com.google.protobuf.ByteString getManagerIdReferenceFieldBytes() { + java.lang.Object ref = managerIdReferenceField_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + managerIdReferenceField_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(managerIdReferenceField_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, managerIdReferenceField_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(managerIdReferenceField_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, managerIdReferenceField_); + } + 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.cloud.chronicle.v1.OktaUserContextSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.OktaUserContextSettings other = + (com.google.cloud.chronicle.v1.OktaUserContextSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getHostname().equals(other.getHostname())) return false; + if (!getManagerIdReferenceField().equals(other.getManagerIdReferenceField())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + hash = (37 * hash) + MANAGER_ID_REFERENCE_FIELD_FIELD_NUMBER; + hash = (53 * hash) + getManagerIdReferenceField().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.OktaUserContextSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.OktaUserContextSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.OktaUserContextSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.OktaUserContextSettings 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.cloud.chronicle.v1.OktaUserContextSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.OktaUserContextSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.OktaUserContextSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.OktaUserContextSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.OktaUserContextSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.OktaUserContextSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.OktaUserContextSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.OktaUserContextSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.OktaUserContextSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Okta user context settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.OktaUserContextSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.OktaUserContextSettings) + com.google.cloud.chronicle.v1.OktaUserContextSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OktaUserContextSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OktaUserContextSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.OktaUserContextSettings.class, + com.google.cloud.chronicle.v1.OktaUserContextSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.OktaUserContextSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + hostname_ = ""; + managerIdReferenceField_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_OktaUserContextSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.OktaUserContextSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.OktaUserContextSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.OktaUserContextSettings build() { + com.google.cloud.chronicle.v1.OktaUserContextSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.OktaUserContextSettings buildPartial() { + com.google.cloud.chronicle.v1.OktaUserContextSettings result = + new com.google.cloud.chronicle.v1.OktaUserContextSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.OktaUserContextSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.hostname_ = hostname_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.managerIdReferenceField_ = managerIdReferenceField_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.OktaUserContextSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.OktaUserContextSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.OktaUserContextSettings other) { + if (other == com.google.cloud.chronicle.v1.OktaUserContextSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getManagerIdReferenceField().isEmpty()) { + managerIdReferenceField_ = other.managerIdReferenceField_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + managerIdReferenceField_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object managerIdReferenceField_ = ""; + + /** + * + * + *
+     * Manager id reference field.
+     * 
+ * + * string manager_id_reference_field = 3; + * + * @return The managerIdReferenceField. + */ + public java.lang.String getManagerIdReferenceField() { + java.lang.Object ref = managerIdReferenceField_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + managerIdReferenceField_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Manager id reference field.
+     * 
+ * + * string manager_id_reference_field = 3; + * + * @return The bytes for managerIdReferenceField. + */ + public com.google.protobuf.ByteString getManagerIdReferenceFieldBytes() { + java.lang.Object ref = managerIdReferenceField_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + managerIdReferenceField_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Manager id reference field.
+     * 
+ * + * string manager_id_reference_field = 3; + * + * @param value The managerIdReferenceField to set. + * @return This builder for chaining. + */ + public Builder setManagerIdReferenceField(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + managerIdReferenceField_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Manager id reference field.
+     * 
+ * + * string manager_id_reference_field = 3; + * + * @return This builder for chaining. + */ + public Builder clearManagerIdReferenceField() { + managerIdReferenceField_ = getDefaultInstance().getManagerIdReferenceField(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Manager id reference field.
+     * 
+ * + * string manager_id_reference_field = 3; + * + * @param value The bytes for managerIdReferenceField to set. + * @return This builder for chaining. + */ + public Builder setManagerIdReferenceFieldBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + managerIdReferenceField_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.OktaUserContextSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.OktaUserContextSettings) + private static final com.google.cloud.chronicle.v1.OktaUserContextSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.OktaUserContextSettings(); + } + + public static com.google.cloud.chronicle.v1.OktaUserContextSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OktaUserContextSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.OktaUserContextSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OktaUserContextSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OktaUserContextSettingsOrBuilder.java new file mode 100644 index 000000000000..d9bf8997969b --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/OktaUserContextSettingsOrBuilder.java @@ -0,0 +1,123 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface OktaUserContextSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.OktaUserContextSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); + + /** + * + * + *
+   * Manager id reference field.
+   * 
+ * + * string manager_id_reference_field = 3; + * + * @return The managerIdReferenceField. + */ + java.lang.String getManagerIdReferenceField(); + + /** + * + * + *
+   * Manager id reference field.
+   * 
+ * + * string manager_id_reference_field = 3; + * + * @return The bytes for managerIdReferenceField. + */ + com.google.protobuf.ByteString getManagerIdReferenceFieldBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PackLogType.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PackLogType.java new file mode 100644 index 000000000000..b8e4db9cd72d --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PackLogType.java @@ -0,0 +1,1542 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * PackLogtype is a log type featured in the feed pack.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.PackLogType} + */ +@com.google.protobuf.Generated +public final class PackLogType extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.PackLogType) + PackLogTypeOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "PackLogType"); + } + + // Use PackLogType.newBuilder() to construct. + private PackLogType(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private PackLogType() { + logType_ = ""; + recommendedSourceType_ = 0; + displayName_ = ""; + configurationDocumentation_ = ""; + additionalDocumentation_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_PackLogType_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_PackLogType_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.PackLogType.class, + com.google.cloud.chronicle.v1.PackLogType.Builder.class); + } + + public static final int LOG_TYPE_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object logType_ = ""; + + /** + * + * + *
+   * Log Type featured in the feed pack.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type}
+   * 
+ * + * string log_type = 1; + * + * @return The logType. + */ + @java.lang.Override + public java.lang.String getLogType() { + java.lang.Object ref = logType_; + 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(); + logType_ = s; + return s; + } + } + + /** + * + * + *
+   * Log Type featured in the feed pack.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type}
+   * 
+ * + * string log_type = 1; + * + * @return The bytes for logType. + */ + @java.lang.Override + public com.google.protobuf.ByteString getLogTypeBytes() { + java.lang.Object ref = logType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + logType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUIRED_FIELD_NUMBER = 2; + private boolean required_ = false; + + /** + * + * + *
+   * Whether the logtype is required to deploy a feed pack.
+   * 
+ * + * bool required = 2; + * + * @return The required. + */ + @java.lang.Override + public boolean getRequired() { + return required_; + } + + public static final int HAS_DEFAULT_PARSER_FIELD_NUMBER = 3; + private boolean hasDefaultParser_ = false; + + /** + * + * + *
+   * Whether a default(prebuilt) parser is available for the given log type.
+   * 
+ * + * bool has_default_parser = 3; + * + * @return The hasDefaultParser. + */ + @java.lang.Override + public boolean getHasDefaultParser() { + return hasDefaultParser_; + } + + public static final int RECOMMENDED_SOURCE_TYPE_FIELD_NUMBER = 4; + private int recommendedSourceType_ = 0; + + /** + * + * + *
+   * The recommended source type for the log type.
+   * 
+ * + * .google.cloud.chronicle.v1.FeedDetails.FeedSourceType recommended_source_type = 4; + * + * @return The enum numeric value on the wire for recommendedSourceType. + */ + @java.lang.Override + public int getRecommendedSourceTypeValue() { + return recommendedSourceType_; + } + + /** + * + * + *
+   * The recommended source type for the log type.
+   * 
+ * + * .google.cloud.chronicle.v1.FeedDetails.FeedSourceType recommended_source_type = 4; + * + * @return The recommendedSourceType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType getRecommendedSourceType() { + com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType result = + com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType.forNumber(recommendedSourceType_); + return result == null + ? com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType.UNRECOGNIZED + : result; + } + + public static final int DISPLAY_NAME_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private volatile java.lang.Object displayName_ = ""; + + /** + * + * + *
+   * The display name of the log type.
+   * 
+ * + * string display_name = 5; + * + * @return The displayName. + */ + @java.lang.Override + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + 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(); + displayName_ = s; + return s; + } + } + + /** + * + * + *
+   * The display name of the log type.
+   * 
+ * + * string display_name = 5; + * + * @return The bytes for displayName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CONFIGURATION_DOCUMENTATION_FIELD_NUMBER = 6; + + @SuppressWarnings("serial") + private volatile java.lang.Object configurationDocumentation_ = ""; + + /** + * + * + *
+   * Documentation to define steps on how to configure a log type.
+   * 
+ * + * string configuration_documentation = 6; + * + * @return The configurationDocumentation. + */ + @java.lang.Override + public java.lang.String getConfigurationDocumentation() { + java.lang.Object ref = configurationDocumentation_; + 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(); + configurationDocumentation_ = s; + return s; + } + } + + /** + * + * + *
+   * Documentation to define steps on how to configure a log type.
+   * 
+ * + * string configuration_documentation = 6; + * + * @return The bytes for configurationDocumentation. + */ + @java.lang.Override + public com.google.protobuf.ByteString getConfigurationDocumentationBytes() { + java.lang.Object ref = configurationDocumentation_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + configurationDocumentation_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ADDITIONAL_DOCUMENTATION_FIELD_NUMBER = 7; + + @SuppressWarnings("serial") + private volatile java.lang.Object additionalDocumentation_ = ""; + + /** + * + * + *
+   * Documentation to share any CTAs for more reference.
+   * 
+ * + * string additional_documentation = 7; + * + * @return The additionalDocumentation. + */ + @java.lang.Override + public java.lang.String getAdditionalDocumentation() { + java.lang.Object ref = additionalDocumentation_; + 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(); + additionalDocumentation_ = s; + return s; + } + } + + /** + * + * + *
+   * Documentation to share any CTAs for more reference.
+   * 
+ * + * string additional_documentation = 7; + * + * @return The bytes for additionalDocumentation. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAdditionalDocumentationBytes() { + java.lang.Object ref = additionalDocumentation_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + additionalDocumentation_ = 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.GeneratedMessage.isStringEmpty(logType_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, logType_); + } + if (required_ != false) { + output.writeBool(2, required_); + } + if (hasDefaultParser_ != false) { + output.writeBool(3, hasDefaultParser_); + } + if (recommendedSourceType_ + != com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType.FEED_SOURCE_TYPE_UNSPECIFIED + .getNumber()) { + output.writeEnum(4, recommendedSourceType_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, displayName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(configurationDocumentation_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 6, configurationDocumentation_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(additionalDocumentation_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 7, additionalDocumentation_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(logType_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, logType_); + } + if (required_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, required_); + } + if (hasDefaultParser_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, hasDefaultParser_); + } + if (recommendedSourceType_ + != com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType.FEED_SOURCE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, recommendedSourceType_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, displayName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(configurationDocumentation_)) { + size += + com.google.protobuf.GeneratedMessage.computeStringSize(6, configurationDocumentation_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(additionalDocumentation_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(7, additionalDocumentation_); + } + 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.cloud.chronicle.v1.PackLogType)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.PackLogType other = + (com.google.cloud.chronicle.v1.PackLogType) obj; + + if (!getLogType().equals(other.getLogType())) return false; + if (getRequired() != other.getRequired()) return false; + if (getHasDefaultParser() != other.getHasDefaultParser()) return false; + if (recommendedSourceType_ != other.recommendedSourceType_) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getConfigurationDocumentation().equals(other.getConfigurationDocumentation())) + return false; + if (!getAdditionalDocumentation().equals(other.getAdditionalDocumentation())) 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) + LOG_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getLogType().hashCode(); + hash = (37 * hash) + REQUIRED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequired()); + hash = (37 * hash) + HAS_DEFAULT_PARSER_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHasDefaultParser()); + hash = (37 * hash) + RECOMMENDED_SOURCE_TYPE_FIELD_NUMBER; + hash = (53 * hash) + recommendedSourceType_; + hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; + hash = (53 * hash) + getDisplayName().hashCode(); + hash = (37 * hash) + CONFIGURATION_DOCUMENTATION_FIELD_NUMBER; + hash = (53 * hash) + getConfigurationDocumentation().hashCode(); + hash = (37 * hash) + ADDITIONAL_DOCUMENTATION_FIELD_NUMBER; + hash = (53 * hash) + getAdditionalDocumentation().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.PackLogType parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.PackLogType parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.PackLogType parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.PackLogType 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.cloud.chronicle.v1.PackLogType parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.PackLogType parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.PackLogType parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.PackLogType parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.PackLogType parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.PackLogType parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.PackLogType parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.PackLogType parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.PackLogType 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * PackLogtype is a log type featured in the feed pack.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.PackLogType} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.PackLogType) + com.google.cloud.chronicle.v1.PackLogTypeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_PackLogType_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_PackLogType_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.PackLogType.class, + com.google.cloud.chronicle.v1.PackLogType.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.PackLogType.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + logType_ = ""; + required_ = false; + hasDefaultParser_ = false; + recommendedSourceType_ = 0; + displayName_ = ""; + configurationDocumentation_ = ""; + additionalDocumentation_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_PackLogType_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.PackLogType getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.PackLogType.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.PackLogType build() { + com.google.cloud.chronicle.v1.PackLogType result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.PackLogType buildPartial() { + com.google.cloud.chronicle.v1.PackLogType result = + new com.google.cloud.chronicle.v1.PackLogType(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.PackLogType result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.logType_ = logType_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.required_ = required_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.hasDefaultParser_ = hasDefaultParser_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.recommendedSourceType_ = recommendedSourceType_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.displayName_ = displayName_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.configurationDocumentation_ = configurationDocumentation_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.additionalDocumentation_ = additionalDocumentation_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.PackLogType) { + return mergeFrom((com.google.cloud.chronicle.v1.PackLogType) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.PackLogType other) { + if (other == com.google.cloud.chronicle.v1.PackLogType.getDefaultInstance()) return this; + if (!other.getLogType().isEmpty()) { + logType_ = other.logType_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getRequired() != false) { + setRequired(other.getRequired()); + } + if (other.getHasDefaultParser() != false) { + setHasDefaultParser(other.getHasDefaultParser()); + } + if (other.recommendedSourceType_ != 0) { + setRecommendedSourceTypeValue(other.getRecommendedSourceTypeValue()); + } + if (!other.getDisplayName().isEmpty()) { + displayName_ = other.displayName_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getConfigurationDocumentation().isEmpty()) { + configurationDocumentation_ = other.configurationDocumentation_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (!other.getAdditionalDocumentation().isEmpty()) { + additionalDocumentation_ = other.additionalDocumentation_; + bitField0_ |= 0x00000040; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + logType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + required_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + hasDefaultParser_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + recommendedSourceType_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + configurationDocumentation_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + additionalDocumentation_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object logType_ = ""; + + /** + * + * + *
+     * Log Type featured in the feed pack.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type}
+     * 
+ * + * string log_type = 1; + * + * @return The logType. + */ + public java.lang.String getLogType() { + java.lang.Object ref = logType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + logType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Log Type featured in the feed pack.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type}
+     * 
+ * + * string log_type = 1; + * + * @return The bytes for logType. + */ + public com.google.protobuf.ByteString getLogTypeBytes() { + java.lang.Object ref = logType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + logType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Log Type featured in the feed pack.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type}
+     * 
+ * + * string log_type = 1; + * + * @param value The logType to set. + * @return This builder for chaining. + */ + public Builder setLogType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + logType_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Log Type featured in the feed pack.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type}
+     * 
+ * + * string log_type = 1; + * + * @return This builder for chaining. + */ + public Builder clearLogType() { + logType_ = getDefaultInstance().getLogType(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Log Type featured in the feed pack.
+     * Format:
+     * projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type}
+     * 
+ * + * string log_type = 1; + * + * @param value The bytes for logType to set. + * @return This builder for chaining. + */ + public Builder setLogTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + logType_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private boolean required_; + + /** + * + * + *
+     * Whether the logtype is required to deploy a feed pack.
+     * 
+ * + * bool required = 2; + * + * @return The required. + */ + @java.lang.Override + public boolean getRequired() { + return required_; + } + + /** + * + * + *
+     * Whether the logtype is required to deploy a feed pack.
+     * 
+ * + * bool required = 2; + * + * @param value The required to set. + * @return This builder for chaining. + */ + public Builder setRequired(boolean value) { + + required_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Whether the logtype is required to deploy a feed pack.
+     * 
+ * + * bool required = 2; + * + * @return This builder for chaining. + */ + public Builder clearRequired() { + bitField0_ = (bitField0_ & ~0x00000002); + required_ = false; + onChanged(); + return this; + } + + private boolean hasDefaultParser_; + + /** + * + * + *
+     * Whether a default(prebuilt) parser is available for the given log type.
+     * 
+ * + * bool has_default_parser = 3; + * + * @return The hasDefaultParser. + */ + @java.lang.Override + public boolean getHasDefaultParser() { + return hasDefaultParser_; + } + + /** + * + * + *
+     * Whether a default(prebuilt) parser is available for the given log type.
+     * 
+ * + * bool has_default_parser = 3; + * + * @param value The hasDefaultParser to set. + * @return This builder for chaining. + */ + public Builder setHasDefaultParser(boolean value) { + + hasDefaultParser_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Whether a default(prebuilt) parser is available for the given log type.
+     * 
+ * + * bool has_default_parser = 3; + * + * @return This builder for chaining. + */ + public Builder clearHasDefaultParser() { + bitField0_ = (bitField0_ & ~0x00000004); + hasDefaultParser_ = false; + onChanged(); + return this; + } + + private int recommendedSourceType_ = 0; + + /** + * + * + *
+     * The recommended source type for the log type.
+     * 
+ * + * .google.cloud.chronicle.v1.FeedDetails.FeedSourceType recommended_source_type = 4; + * + * + * @return The enum numeric value on the wire for recommendedSourceType. + */ + @java.lang.Override + public int getRecommendedSourceTypeValue() { + return recommendedSourceType_; + } + + /** + * + * + *
+     * The recommended source type for the log type.
+     * 
+ * + * .google.cloud.chronicle.v1.FeedDetails.FeedSourceType recommended_source_type = 4; + * + * + * @param value The enum numeric value on the wire for recommendedSourceType to set. + * @return This builder for chaining. + */ + public Builder setRecommendedSourceTypeValue(int value) { + recommendedSourceType_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * The recommended source type for the log type.
+     * 
+ * + * .google.cloud.chronicle.v1.FeedDetails.FeedSourceType recommended_source_type = 4; + * + * + * @return The recommendedSourceType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType getRecommendedSourceType() { + com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType result = + com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType.forNumber( + recommendedSourceType_); + return result == null + ? com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * The recommended source type for the log type.
+     * 
+ * + * .google.cloud.chronicle.v1.FeedDetails.FeedSourceType recommended_source_type = 4; + * + * + * @param value The recommendedSourceType to set. + * @return This builder for chaining. + */ + public Builder setRecommendedSourceType( + com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + recommendedSourceType_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * The recommended source type for the log type.
+     * 
+ * + * .google.cloud.chronicle.v1.FeedDetails.FeedSourceType recommended_source_type = 4; + * + * + * @return This builder for chaining. + */ + public Builder clearRecommendedSourceType() { + bitField0_ = (bitField0_ & ~0x00000008); + recommendedSourceType_ = 0; + onChanged(); + return this; + } + + private java.lang.Object displayName_ = ""; + + /** + * + * + *
+     * The display name of the log type.
+     * 
+ * + * string display_name = 5; + * + * @return The displayName. + */ + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * The display name of the log type.
+     * 
+ * + * string display_name = 5; + * + * @return The bytes for displayName. + */ + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * The display name of the log type.
+     * 
+ * + * string display_name = 5; + * + * @param value The displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + displayName_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * The display name of the log type.
+     * 
+ * + * string display_name = 5; + * + * @return This builder for chaining. + */ + public Builder clearDisplayName() { + displayName_ = getDefaultInstance().getDisplayName(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + + /** + * + * + *
+     * The display name of the log type.
+     * 
+ * + * string display_name = 5; + * + * @param value The bytes for displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object configurationDocumentation_ = ""; + + /** + * + * + *
+     * Documentation to define steps on how to configure a log type.
+     * 
+ * + * string configuration_documentation = 6; + * + * @return The configurationDocumentation. + */ + public java.lang.String getConfigurationDocumentation() { + java.lang.Object ref = configurationDocumentation_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + configurationDocumentation_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Documentation to define steps on how to configure a log type.
+     * 
+ * + * string configuration_documentation = 6; + * + * @return The bytes for configurationDocumentation. + */ + public com.google.protobuf.ByteString getConfigurationDocumentationBytes() { + java.lang.Object ref = configurationDocumentation_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + configurationDocumentation_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Documentation to define steps on how to configure a log type.
+     * 
+ * + * string configuration_documentation = 6; + * + * @param value The configurationDocumentation to set. + * @return This builder for chaining. + */ + public Builder setConfigurationDocumentation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + configurationDocumentation_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Documentation to define steps on how to configure a log type.
+     * 
+ * + * string configuration_documentation = 6; + * + * @return This builder for chaining. + */ + public Builder clearConfigurationDocumentation() { + configurationDocumentation_ = getDefaultInstance().getConfigurationDocumentation(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + + /** + * + * + *
+     * Documentation to define steps on how to configure a log type.
+     * 
+ * + * string configuration_documentation = 6; + * + * @param value The bytes for configurationDocumentation to set. + * @return This builder for chaining. + */ + public Builder setConfigurationDocumentationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + configurationDocumentation_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private java.lang.Object additionalDocumentation_ = ""; + + /** + * + * + *
+     * Documentation to share any CTAs for more reference.
+     * 
+ * + * string additional_documentation = 7; + * + * @return The additionalDocumentation. + */ + public java.lang.String getAdditionalDocumentation() { + java.lang.Object ref = additionalDocumentation_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + additionalDocumentation_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Documentation to share any CTAs for more reference.
+     * 
+ * + * string additional_documentation = 7; + * + * @return The bytes for additionalDocumentation. + */ + public com.google.protobuf.ByteString getAdditionalDocumentationBytes() { + java.lang.Object ref = additionalDocumentation_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + additionalDocumentation_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Documentation to share any CTAs for more reference.
+     * 
+ * + * string additional_documentation = 7; + * + * @param value The additionalDocumentation to set. + * @return This builder for chaining. + */ + public Builder setAdditionalDocumentation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + additionalDocumentation_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + /** + * + * + *
+     * Documentation to share any CTAs for more reference.
+     * 
+ * + * string additional_documentation = 7; + * + * @return This builder for chaining. + */ + public Builder clearAdditionalDocumentation() { + additionalDocumentation_ = getDefaultInstance().getAdditionalDocumentation(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + + /** + * + * + *
+     * Documentation to share any CTAs for more reference.
+     * 
+ * + * string additional_documentation = 7; + * + * @param value The bytes for additionalDocumentation to set. + * @return This builder for chaining. + */ + public Builder setAdditionalDocumentationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + additionalDocumentation_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.PackLogType) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.PackLogType) + private static final com.google.cloud.chronicle.v1.PackLogType DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.PackLogType(); + } + + public static com.google.cloud.chronicle.v1.PackLogType getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PackLogType parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.PackLogType getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PackLogTypeOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PackLogTypeOrBuilder.java new file mode 100644 index 000000000000..30a6eda50fdd --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PackLogTypeOrBuilder.java @@ -0,0 +1,188 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface PackLogTypeOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.PackLogType) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Log Type featured in the feed pack.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type}
+   * 
+ * + * string log_type = 1; + * + * @return The logType. + */ + java.lang.String getLogType(); + + /** + * + * + *
+   * Log Type featured in the feed pack.
+   * Format:
+   * projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type}
+   * 
+ * + * string log_type = 1; + * + * @return The bytes for logType. + */ + com.google.protobuf.ByteString getLogTypeBytes(); + + /** + * + * + *
+   * Whether the logtype is required to deploy a feed pack.
+   * 
+ * + * bool required = 2; + * + * @return The required. + */ + boolean getRequired(); + + /** + * + * + *
+   * Whether a default(prebuilt) parser is available for the given log type.
+   * 
+ * + * bool has_default_parser = 3; + * + * @return The hasDefaultParser. + */ + boolean getHasDefaultParser(); + + /** + * + * + *
+   * The recommended source type for the log type.
+   * 
+ * + * .google.cloud.chronicle.v1.FeedDetails.FeedSourceType recommended_source_type = 4; + * + * @return The enum numeric value on the wire for recommendedSourceType. + */ + int getRecommendedSourceTypeValue(); + + /** + * + * + *
+   * The recommended source type for the log type.
+   * 
+ * + * .google.cloud.chronicle.v1.FeedDetails.FeedSourceType recommended_source_type = 4; + * + * @return The recommendedSourceType. + */ + com.google.cloud.chronicle.v1.FeedDetails.FeedSourceType getRecommendedSourceType(); + + /** + * + * + *
+   * The display name of the log type.
+   * 
+ * + * string display_name = 5; + * + * @return The displayName. + */ + java.lang.String getDisplayName(); + + /** + * + * + *
+   * The display name of the log type.
+   * 
+ * + * string display_name = 5; + * + * @return The bytes for displayName. + */ + com.google.protobuf.ByteString getDisplayNameBytes(); + + /** + * + * + *
+   * Documentation to define steps on how to configure a log type.
+   * 
+ * + * string configuration_documentation = 6; + * + * @return The configurationDocumentation. + */ + java.lang.String getConfigurationDocumentation(); + + /** + * + * + *
+   * Documentation to define steps on how to configure a log type.
+   * 
+ * + * string configuration_documentation = 6; + * + * @return The bytes for configurationDocumentation. + */ + com.google.protobuf.ByteString getConfigurationDocumentationBytes(); + + /** + * + * + *
+   * Documentation to share any CTAs for more reference.
+   * 
+ * + * string additional_documentation = 7; + * + * @return The additionalDocumentation. + */ + java.lang.String getAdditionalDocumentation(); + + /** + * + * + *
+   * Documentation to share any CTAs for more reference.
+   * 
+ * + * string additional_documentation = 7; + * + * @return The bytes for additionalDocumentation. + */ + com.google.protobuf.ByteString getAdditionalDocumentationBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PanIocSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PanIocSettings.java new file mode 100644 index 000000000000..61b50e09bf7c --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PanIocSettings.java @@ -0,0 +1,1103 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * PAN IOC settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.PanIocSettings} + */ +@com.google.protobuf.Generated +public final class PanIocSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.PanIocSettings) + PanIocSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "PanIocSettings"); + } + + // Use PanIocSettings.newBuilder() to construct. + private PanIocSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private PanIocSettings() { + feedId_ = ""; + feed_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_PanIocSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_PanIocSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.PanIocSettings.class, + com.google.cloud.chronicle.v1.PanIocSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + public static final int FEED_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object feedId_ = ""; + + /** + * + * + *
+   * PAN IOC feed ID.
+   * 
+ * + * string feed_id = 2; + * + * @return The feedId. + */ + @java.lang.Override + public java.lang.String getFeedId() { + java.lang.Object ref = feedId_; + 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(); + feedId_ = s; + return s; + } + } + + /** + * + * + *
+   * PAN IOC feed ID.
+   * 
+ * + * string feed_id = 2; + * + * @return The bytes for feedId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFeedIdBytes() { + java.lang.Object ref = feedId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + feedId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FEED_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object feed_ = ""; + + /** + * + * + *
+   * PAN IOC feed name.
+   * 
+ * + * string feed = 3; + * + * @return The feed. + */ + @java.lang.Override + public java.lang.String getFeed() { + java.lang.Object ref = feed_; + 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(); + feed_ = s; + return s; + } + } + + /** + * + * + *
+   * PAN IOC feed name.
+   * 
+ * + * string feed = 3; + * + * @return The bytes for feed. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFeedBytes() { + java.lang.Object ref = feed_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + feed_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(feedId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, feedId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(feed_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, feed_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(feedId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, feedId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(feed_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, feed_); + } + 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.cloud.chronicle.v1.PanIocSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.PanIocSettings other = + (com.google.cloud.chronicle.v1.PanIocSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getFeedId().equals(other.getFeedId())) return false; + if (!getFeed().equals(other.getFeed())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + FEED_ID_FIELD_NUMBER; + hash = (53 * hash) + getFeedId().hashCode(); + hash = (37 * hash) + FEED_FIELD_NUMBER; + hash = (53 * hash) + getFeed().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.PanIocSettings parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.PanIocSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.PanIocSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.PanIocSettings 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.cloud.chronicle.v1.PanIocSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.PanIocSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.PanIocSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.PanIocSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.PanIocSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.PanIocSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.PanIocSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.PanIocSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.PanIocSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * PAN IOC settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.PanIocSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.PanIocSettings) + com.google.cloud.chronicle.v1.PanIocSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_PanIocSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_PanIocSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.PanIocSettings.class, + com.google.cloud.chronicle.v1.PanIocSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.PanIocSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + feedId_ = ""; + feed_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_PanIocSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.PanIocSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.PanIocSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.PanIocSettings build() { + com.google.cloud.chronicle.v1.PanIocSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.PanIocSettings buildPartial() { + com.google.cloud.chronicle.v1.PanIocSettings result = + new com.google.cloud.chronicle.v1.PanIocSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.PanIocSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.feedId_ = feedId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.feed_ = feed_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.PanIocSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.PanIocSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.PanIocSettings other) { + if (other == com.google.cloud.chronicle.v1.PanIocSettings.getDefaultInstance()) return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getFeedId().isEmpty()) { + feedId_ = other.feedId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getFeed().isEmpty()) { + feed_ = other.feed_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + feedId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + feed_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object feedId_ = ""; + + /** + * + * + *
+     * PAN IOC feed ID.
+     * 
+ * + * string feed_id = 2; + * + * @return The feedId. + */ + public java.lang.String getFeedId() { + java.lang.Object ref = feedId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + feedId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * PAN IOC feed ID.
+     * 
+ * + * string feed_id = 2; + * + * @return The bytes for feedId. + */ + public com.google.protobuf.ByteString getFeedIdBytes() { + java.lang.Object ref = feedId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + feedId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * PAN IOC feed ID.
+     * 
+ * + * string feed_id = 2; + * + * @param value The feedId to set. + * @return This builder for chaining. + */ + public Builder setFeedId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + feedId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * PAN IOC feed ID.
+     * 
+ * + * string feed_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearFeedId() { + feedId_ = getDefaultInstance().getFeedId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * PAN IOC feed ID.
+     * 
+ * + * string feed_id = 2; + * + * @param value The bytes for feedId to set. + * @return This builder for chaining. + */ + public Builder setFeedIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + feedId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object feed_ = ""; + + /** + * + * + *
+     * PAN IOC feed name.
+     * 
+ * + * string feed = 3; + * + * @return The feed. + */ + public java.lang.String getFeed() { + java.lang.Object ref = feed_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + feed_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * PAN IOC feed name.
+     * 
+ * + * string feed = 3; + * + * @return The bytes for feed. + */ + public com.google.protobuf.ByteString getFeedBytes() { + java.lang.Object ref = feed_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + feed_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * PAN IOC feed name.
+     * 
+ * + * string feed = 3; + * + * @param value The feed to set. + * @return This builder for chaining. + */ + public Builder setFeed(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + feed_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * PAN IOC feed name.
+     * 
+ * + * string feed = 3; + * + * @return This builder for chaining. + */ + public Builder clearFeed() { + feed_ = getDefaultInstance().getFeed(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * PAN IOC feed name.
+     * 
+ * + * string feed = 3; + * + * @param value The bytes for feed to set. + * @return This builder for chaining. + */ + public Builder setFeedBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + feed_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.PanIocSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.PanIocSettings) + private static final com.google.cloud.chronicle.v1.PanIocSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.PanIocSettings(); + } + + public static com.google.cloud.chronicle.v1.PanIocSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PanIocSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.PanIocSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PanIocSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PanIocSettingsOrBuilder.java new file mode 100644 index 000000000000..8c2db5e4d037 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PanIocSettingsOrBuilder.java @@ -0,0 +1,123 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface PanIocSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.PanIocSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * PAN IOC feed ID.
+   * 
+ * + * string feed_id = 2; + * + * @return The feedId. + */ + java.lang.String getFeedId(); + + /** + * + * + *
+   * PAN IOC feed ID.
+   * 
+ * + * string feed_id = 2; + * + * @return The bytes for feedId. + */ + com.google.protobuf.ByteString getFeedIdBytes(); + + /** + * + * + *
+   * PAN IOC feed name.
+   * 
+ * + * string feed = 3; + * + * @return The feed. + */ + java.lang.String getFeed(); + + /** + * + * + *
+   * PAN IOC feed name.
+   * 
+ * + * string feed = 3; + * + * @return The bytes for feed. + */ + com.google.protobuf.ByteString getFeedBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PanPrismaAuth.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PanPrismaAuth.java new file mode 100644 index 000000000000..3d02adc68afa --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PanPrismaAuth.java @@ -0,0 +1,784 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * PAN Prisma Cloud auth.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.PanPrismaAuth} + */ +@com.google.protobuf.Generated +public final class PanPrismaAuth extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.PanPrismaAuth) + PanPrismaAuthOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "PanPrismaAuth"); + } + + // Use PanPrismaAuth.newBuilder() to construct. + private PanPrismaAuth(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private PanPrismaAuth() { + user_ = ""; + password_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_PanPrismaAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_PanPrismaAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.PanPrismaAuth.class, + com.google.cloud.chronicle.v1.PanPrismaAuth.Builder.class); + } + + public static final int USER_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object user_ = ""; + + /** + * + * + *
+   * Username.
+   * 
+ * + * string user = 1; + * + * @return The user. + */ + @java.lang.Override + public java.lang.String getUser() { + java.lang.Object ref = user_; + 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(); + user_ = s; + return s; + } + } + + /** + * + * + *
+   * Username.
+   * 
+ * + * string user = 1; + * + * @return The bytes for user. + */ + @java.lang.Override + public com.google.protobuf.ByteString getUserBytes() { + java.lang.Object ref = user_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + user_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PASSWORD_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object password_ = ""; + + /** + * + * + *
+   * Password.
+   * 
+ * + * string password = 2; + * + * @return The password. + */ + @java.lang.Override + public java.lang.String getPassword() { + java.lang.Object ref = password_; + 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(); + password_ = s; + return s; + } + } + + /** + * + * + *
+   * Password.
+   * 
+ * + * string password = 2; + * + * @return The bytes for password. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPasswordBytes() { + java.lang.Object ref = password_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + password_ = 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.GeneratedMessage.isStringEmpty(user_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, user_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(password_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, password_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(user_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, user_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(password_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, password_); + } + 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.cloud.chronicle.v1.PanPrismaAuth)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.PanPrismaAuth other = + (com.google.cloud.chronicle.v1.PanPrismaAuth) obj; + + if (!getUser().equals(other.getUser())) return false; + if (!getPassword().equals(other.getPassword())) 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) + USER_FIELD_NUMBER; + hash = (53 * hash) + getUser().hashCode(); + hash = (37 * hash) + PASSWORD_FIELD_NUMBER; + hash = (53 * hash) + getPassword().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.PanPrismaAuth parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.PanPrismaAuth parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.PanPrismaAuth parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.PanPrismaAuth 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.cloud.chronicle.v1.PanPrismaAuth parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.PanPrismaAuth parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.PanPrismaAuth parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.PanPrismaAuth parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.PanPrismaAuth parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.PanPrismaAuth parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.PanPrismaAuth parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.PanPrismaAuth parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.PanPrismaAuth 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * PAN Prisma Cloud auth.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.PanPrismaAuth} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.PanPrismaAuth) + com.google.cloud.chronicle.v1.PanPrismaAuthOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_PanPrismaAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_PanPrismaAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.PanPrismaAuth.class, + com.google.cloud.chronicle.v1.PanPrismaAuth.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.PanPrismaAuth.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + user_ = ""; + password_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_PanPrismaAuth_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.PanPrismaAuth getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.PanPrismaAuth.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.PanPrismaAuth build() { + com.google.cloud.chronicle.v1.PanPrismaAuth result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.PanPrismaAuth buildPartial() { + com.google.cloud.chronicle.v1.PanPrismaAuth result = + new com.google.cloud.chronicle.v1.PanPrismaAuth(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.PanPrismaAuth result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.user_ = user_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.password_ = password_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.PanPrismaAuth) { + return mergeFrom((com.google.cloud.chronicle.v1.PanPrismaAuth) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.PanPrismaAuth other) { + if (other == com.google.cloud.chronicle.v1.PanPrismaAuth.getDefaultInstance()) return this; + if (!other.getUser().isEmpty()) { + user_ = other.user_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getPassword().isEmpty()) { + password_ = other.password_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + user_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + password_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object user_ = ""; + + /** + * + * + *
+     * Username.
+     * 
+ * + * string user = 1; + * + * @return The user. + */ + public java.lang.String getUser() { + java.lang.Object ref = user_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + user_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Username.
+     * 
+ * + * string user = 1; + * + * @return The bytes for user. + */ + public com.google.protobuf.ByteString getUserBytes() { + java.lang.Object ref = user_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + user_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Username.
+     * 
+ * + * string user = 1; + * + * @param value The user to set. + * @return This builder for chaining. + */ + public Builder setUser(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + user_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Username.
+     * 
+ * + * string user = 1; + * + * @return This builder for chaining. + */ + public Builder clearUser() { + user_ = getDefaultInstance().getUser(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Username.
+     * 
+ * + * string user = 1; + * + * @param value The bytes for user to set. + * @return This builder for chaining. + */ + public Builder setUserBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + user_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object password_ = ""; + + /** + * + * + *
+     * Password.
+     * 
+ * + * string password = 2; + * + * @return The password. + */ + public java.lang.String getPassword() { + java.lang.Object ref = password_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + password_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Password.
+     * 
+ * + * string password = 2; + * + * @return The bytes for password. + */ + public com.google.protobuf.ByteString getPasswordBytes() { + java.lang.Object ref = password_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + password_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Password.
+     * 
+ * + * string password = 2; + * + * @param value The password to set. + * @return This builder for chaining. + */ + public Builder setPassword(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + password_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Password.
+     * 
+ * + * string password = 2; + * + * @return This builder for chaining. + */ + public Builder clearPassword() { + password_ = getDefaultInstance().getPassword(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Password.
+     * 
+ * + * string password = 2; + * + * @param value The bytes for password to set. + * @return This builder for chaining. + */ + public Builder setPasswordBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + password_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.PanPrismaAuth) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.PanPrismaAuth) + private static final com.google.cloud.chronicle.v1.PanPrismaAuth DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.PanPrismaAuth(); + } + + public static com.google.cloud.chronicle.v1.PanPrismaAuth getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PanPrismaAuth parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.PanPrismaAuth getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PanPrismaAuthOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PanPrismaAuthOrBuilder.java new file mode 100644 index 000000000000..d313f8a87c71 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PanPrismaAuthOrBuilder.java @@ -0,0 +1,80 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface PanPrismaAuthOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.PanPrismaAuth) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Username.
+   * 
+ * + * string user = 1; + * + * @return The user. + */ + java.lang.String getUser(); + + /** + * + * + *
+   * Username.
+   * 
+ * + * string user = 1; + * + * @return The bytes for user. + */ + com.google.protobuf.ByteString getUserBytes(); + + /** + * + * + *
+   * Password.
+   * 
+ * + * string password = 2; + * + * @return The password. + */ + java.lang.String getPassword(); + + /** + * + * + *
+   * Password.
+   * 
+ * + * string password = 2; + * + * @return The bytes for password. + */ + com.google.protobuf.ByteString getPasswordBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PanPrismaCloudSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PanPrismaCloudSettings.java new file mode 100644 index 000000000000..f45453054236 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PanPrismaCloudSettings.java @@ -0,0 +1,915 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * PAN Prisma Cloud settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.PanPrismaCloudSettings} + */ +@com.google.protobuf.Generated +public final class PanPrismaCloudSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.PanPrismaCloudSettings) + PanPrismaCloudSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "PanPrismaCloudSettings"); + } + + // Use PanPrismaCloudSettings.newBuilder() to construct. + private PanPrismaCloudSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private PanPrismaCloudSettings() { + hostname_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_PanPrismaCloudSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_PanPrismaCloudSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.PanPrismaCloudSettings.class, + com.google.cloud.chronicle.v1.PanPrismaCloudSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.PanPrismaAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.PanPrismaAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.PanPrismaAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.PanPrismaAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.PanPrismaAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.PanPrismaAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.PanPrismaAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.PanPrismaAuth.getDefaultInstance() + : authentication_; + } + + public static final int HOSTNAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, hostname_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, hostname_); + } + 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.cloud.chronicle.v1.PanPrismaCloudSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.PanPrismaCloudSettings other = + (com.google.cloud.chronicle.v1.PanPrismaCloudSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getHostname().equals(other.getHostname())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.PanPrismaCloudSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.PanPrismaCloudSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.PanPrismaCloudSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.PanPrismaCloudSettings 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.cloud.chronicle.v1.PanPrismaCloudSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.PanPrismaCloudSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.PanPrismaCloudSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.PanPrismaCloudSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.PanPrismaCloudSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.PanPrismaCloudSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.PanPrismaCloudSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.PanPrismaCloudSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.PanPrismaCloudSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * PAN Prisma Cloud settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.PanPrismaCloudSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.PanPrismaCloudSettings) + com.google.cloud.chronicle.v1.PanPrismaCloudSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_PanPrismaCloudSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_PanPrismaCloudSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.PanPrismaCloudSettings.class, + com.google.cloud.chronicle.v1.PanPrismaCloudSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.PanPrismaCloudSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + hostname_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_PanPrismaCloudSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.PanPrismaCloudSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.PanPrismaCloudSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.PanPrismaCloudSettings build() { + com.google.cloud.chronicle.v1.PanPrismaCloudSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.PanPrismaCloudSettings buildPartial() { + com.google.cloud.chronicle.v1.PanPrismaCloudSettings result = + new com.google.cloud.chronicle.v1.PanPrismaCloudSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.PanPrismaCloudSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.hostname_ = hostname_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.PanPrismaCloudSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.PanPrismaCloudSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.PanPrismaCloudSettings other) { + if (other == com.google.cloud.chronicle.v1.PanPrismaCloudSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.PanPrismaAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.PanPrismaAuth, + com.google.cloud.chronicle.v1.PanPrismaAuth.Builder, + com.google.cloud.chronicle.v1.PanPrismaAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.PanPrismaAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.PanPrismaAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.PanPrismaAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.PanPrismaAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.PanPrismaAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.PanPrismaAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.PanPrismaAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.PanPrismaAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.PanPrismaAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.PanPrismaAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.PanPrismaAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.PanPrismaAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.PanPrismaAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.PanPrismaAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.PanPrismaAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.PanPrismaAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.PanPrismaAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.PanPrismaAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.PanPrismaAuth, + com.google.cloud.chronicle.v1.PanPrismaAuth.Builder, + com.google.cloud.chronicle.v1.PanPrismaAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.PanPrismaAuth, + com.google.cloud.chronicle.v1.PanPrismaAuth.Builder, + com.google.cloud.chronicle.v1.PanPrismaAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.PanPrismaCloudSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.PanPrismaCloudSettings) + private static final com.google.cloud.chronicle.v1.PanPrismaCloudSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.PanPrismaCloudSettings(); + } + + public static com.google.cloud.chronicle.v1.PanPrismaCloudSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PanPrismaCloudSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.PanPrismaCloudSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PanPrismaCloudSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PanPrismaCloudSettingsOrBuilder.java new file mode 100644 index 000000000000..db5f6bb08d3a --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PanPrismaCloudSettingsOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface PanPrismaCloudSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.PanPrismaCloudSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.PanPrismaAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.PanPrismaAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.PanPrismaAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.PanPrismaAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.PanPrismaAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ProofpointMailSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ProofpointMailSettings.java new file mode 100644 index 000000000000..9d335463cb05 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ProofpointMailSettings.java @@ -0,0 +1,725 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Proofpoint Mail settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ProofpointMailSettings} + */ +@com.google.protobuf.Generated +public final class ProofpointMailSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.ProofpointMailSettings) + ProofpointMailSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "ProofpointMailSettings"); + } + + // Use ProofpointMailSettings.newBuilder() to construct. + private ProofpointMailSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ProofpointMailSettings() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ProofpointMailSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ProofpointMailSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ProofpointMailSettings.class, + com.google.cloud.chronicle.v1.ProofpointMailSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + 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.cloud.chronicle.v1.ProofpointMailSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.ProofpointMailSettings other = + (com.google.cloud.chronicle.v1.ProofpointMailSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.ProofpointMailSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ProofpointMailSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ProofpointMailSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ProofpointMailSettings 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.cloud.chronicle.v1.ProofpointMailSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ProofpointMailSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ProofpointMailSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ProofpointMailSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ProofpointMailSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ProofpointMailSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ProofpointMailSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ProofpointMailSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.ProofpointMailSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Proofpoint Mail settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ProofpointMailSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.ProofpointMailSettings) + com.google.cloud.chronicle.v1.ProofpointMailSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ProofpointMailSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ProofpointMailSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ProofpointMailSettings.class, + com.google.cloud.chronicle.v1.ProofpointMailSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.ProofpointMailSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ProofpointMailSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ProofpointMailSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.ProofpointMailSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ProofpointMailSettings build() { + com.google.cloud.chronicle.v1.ProofpointMailSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ProofpointMailSettings buildPartial() { + com.google.cloud.chronicle.v1.ProofpointMailSettings result = + new com.google.cloud.chronicle.v1.ProofpointMailSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.ProofpointMailSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.ProofpointMailSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.ProofpointMailSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.ProofpointMailSettings other) { + if (other == com.google.cloud.chronicle.v1.ProofpointMailSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.ProofpointMailSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.ProofpointMailSettings) + private static final com.google.cloud.chronicle.v1.ProofpointMailSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.ProofpointMailSettings(); + } + + public static com.google.cloud.chronicle.v1.ProofpointMailSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProofpointMailSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ProofpointMailSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ProofpointMailSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ProofpointMailSettingsOrBuilder.java new file mode 100644 index 000000000000..2e72e1c57d4a --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ProofpointMailSettingsOrBuilder.java @@ -0,0 +1,71 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface ProofpointMailSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.ProofpointMailSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ProofpointOnDemandSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ProofpointOnDemandSettings.java new file mode 100644 index 000000000000..9fb64c3a3361 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ProofpointOnDemandSettings.java @@ -0,0 +1,916 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Proofpoint On-demand settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ProofpointOnDemandSettings} + */ +@com.google.protobuf.Generated +public final class ProofpointOnDemandSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.ProofpointOnDemandSettings) + ProofpointOnDemandSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "ProofpointOnDemandSettings"); + } + + // Use ProofpointOnDemandSettings.newBuilder() to construct. + private ProofpointOnDemandSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ProofpointOnDemandSettings() { + clusterId_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ProofpointOnDemandSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ProofpointOnDemandSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ProofpointOnDemandSettings.class, + com.google.cloud.chronicle.v1.ProofpointOnDemandSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + public static final int CLUSTER_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object clusterId_ = ""; + + /** + * + * + *
+   * Cluster ID.
+   * 
+ * + * string cluster_id = 2; + * + * @return The clusterId. + */ + @java.lang.Override + public java.lang.String getClusterId() { + java.lang.Object ref = clusterId_; + 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(); + clusterId_ = s; + return s; + } + } + + /** + * + * + *
+   * Cluster ID.
+   * 
+ * + * string cluster_id = 2; + * + * @return The bytes for clusterId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getClusterIdBytes() { + java.lang.Object ref = clusterId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clusterId_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clusterId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, clusterId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clusterId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, clusterId_); + } + 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.cloud.chronicle.v1.ProofpointOnDemandSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.ProofpointOnDemandSettings other = + (com.google.cloud.chronicle.v1.ProofpointOnDemandSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getClusterId().equals(other.getClusterId())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + CLUSTER_ID_FIELD_NUMBER; + hash = (53 * hash) + getClusterId().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.ProofpointOnDemandSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ProofpointOnDemandSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ProofpointOnDemandSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ProofpointOnDemandSettings 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.cloud.chronicle.v1.ProofpointOnDemandSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ProofpointOnDemandSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ProofpointOnDemandSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ProofpointOnDemandSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ProofpointOnDemandSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ProofpointOnDemandSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ProofpointOnDemandSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ProofpointOnDemandSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.ProofpointOnDemandSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Proofpoint On-demand settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ProofpointOnDemandSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.ProofpointOnDemandSettings) + com.google.cloud.chronicle.v1.ProofpointOnDemandSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ProofpointOnDemandSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ProofpointOnDemandSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ProofpointOnDemandSettings.class, + com.google.cloud.chronicle.v1.ProofpointOnDemandSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.ProofpointOnDemandSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + clusterId_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ProofpointOnDemandSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ProofpointOnDemandSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.ProofpointOnDemandSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ProofpointOnDemandSettings build() { + com.google.cloud.chronicle.v1.ProofpointOnDemandSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ProofpointOnDemandSettings buildPartial() { + com.google.cloud.chronicle.v1.ProofpointOnDemandSettings result = + new com.google.cloud.chronicle.v1.ProofpointOnDemandSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.ProofpointOnDemandSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.clusterId_ = clusterId_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.ProofpointOnDemandSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.ProofpointOnDemandSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.ProofpointOnDemandSettings other) { + if (other == com.google.cloud.chronicle.v1.ProofpointOnDemandSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getClusterId().isEmpty()) { + clusterId_ = other.clusterId_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + clusterId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object clusterId_ = ""; + + /** + * + * + *
+     * Cluster ID.
+     * 
+ * + * string cluster_id = 2; + * + * @return The clusterId. + */ + public java.lang.String getClusterId() { + java.lang.Object ref = clusterId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clusterId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Cluster ID.
+     * 
+ * + * string cluster_id = 2; + * + * @return The bytes for clusterId. + */ + public com.google.protobuf.ByteString getClusterIdBytes() { + java.lang.Object ref = clusterId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clusterId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Cluster ID.
+     * 
+ * + * string cluster_id = 2; + * + * @param value The clusterId to set. + * @return This builder for chaining. + */ + public Builder setClusterId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + clusterId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Cluster ID.
+     * 
+ * + * string cluster_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Cluster ID.
+     * 
+ * + * string cluster_id = 2; + * + * @param value The bytes for clusterId to set. + * @return This builder for chaining. + */ + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.ProofpointOnDemandSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.ProofpointOnDemandSettings) + private static final com.google.cloud.chronicle.v1.ProofpointOnDemandSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.ProofpointOnDemandSettings(); + } + + public static com.google.cloud.chronicle.v1.ProofpointOnDemandSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProofpointOnDemandSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ProofpointOnDemandSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ProofpointOnDemandSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ProofpointOnDemandSettingsOrBuilder.java new file mode 100644 index 000000000000..3b5f9d214da7 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ProofpointOnDemandSettingsOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface ProofpointOnDemandSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.ProofpointOnDemandSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Cluster ID.
+   * 
+ * + * string cluster_id = 2; + * + * @return The clusterId. + */ + java.lang.String getClusterId(); + + /** + * + * + *
+   * Cluster ID.
+   * 
+ * + * string cluster_id = 2; + * + * @return The bytes for clusterId. + */ + com.google.protobuf.ByteString getClusterIdBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PubsubSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PubsubSettings.java new file mode 100644 index 000000000000..024a4d79301e --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PubsubSettings.java @@ -0,0 +1,595 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Settings required by Google Cloud Pub/Sub Feeds(HTTP-Push).
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.PubsubSettings} + */ +@com.google.protobuf.Generated +public final class PubsubSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.PubsubSettings) + PubsubSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "PubsubSettings"); + } + + // Use PubsubSettings.newBuilder() to construct. + private PubsubSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private PubsubSettings() { + googleServiceAccountEmail_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_PubsubSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_PubsubSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.PubsubSettings.class, + com.google.cloud.chronicle.v1.PubsubSettings.Builder.class); + } + + public static final int GOOGLE_SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object googleServiceAccountEmail_ = ""; + + /** + * + * + *
+   * Google Service Account Email.
+   * 
+ * + * string google_service_account_email = 1; + * + * @return The googleServiceAccountEmail. + */ + @java.lang.Override + public java.lang.String getGoogleServiceAccountEmail() { + java.lang.Object ref = googleServiceAccountEmail_; + 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(); + googleServiceAccountEmail_ = s; + return s; + } + } + + /** + * + * + *
+   * Google Service Account Email.
+   * 
+ * + * string google_service_account_email = 1; + * + * @return The bytes for googleServiceAccountEmail. + */ + @java.lang.Override + public com.google.protobuf.ByteString getGoogleServiceAccountEmailBytes() { + java.lang.Object ref = googleServiceAccountEmail_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + googleServiceAccountEmail_ = 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.GeneratedMessage.isStringEmpty(googleServiceAccountEmail_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, googleServiceAccountEmail_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(googleServiceAccountEmail_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, googleServiceAccountEmail_); + } + 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.cloud.chronicle.v1.PubsubSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.PubsubSettings other = + (com.google.cloud.chronicle.v1.PubsubSettings) obj; + + if (!getGoogleServiceAccountEmail().equals(other.getGoogleServiceAccountEmail())) 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) + GOOGLE_SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER; + hash = (53 * hash) + getGoogleServiceAccountEmail().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.PubsubSettings parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.PubsubSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.PubsubSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.PubsubSettings 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.cloud.chronicle.v1.PubsubSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.PubsubSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.PubsubSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.PubsubSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.PubsubSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.PubsubSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.PubsubSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.PubsubSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.PubsubSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Settings required by Google Cloud Pub/Sub Feeds(HTTP-Push).
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.PubsubSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.PubsubSettings) + com.google.cloud.chronicle.v1.PubsubSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_PubsubSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_PubsubSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.PubsubSettings.class, + com.google.cloud.chronicle.v1.PubsubSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.PubsubSettings.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + googleServiceAccountEmail_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_PubsubSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.PubsubSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.PubsubSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.PubsubSettings build() { + com.google.cloud.chronicle.v1.PubsubSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.PubsubSettings buildPartial() { + com.google.cloud.chronicle.v1.PubsubSettings result = + new com.google.cloud.chronicle.v1.PubsubSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.PubsubSettings result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.googleServiceAccountEmail_ = googleServiceAccountEmail_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.PubsubSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.PubsubSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.PubsubSettings other) { + if (other == com.google.cloud.chronicle.v1.PubsubSettings.getDefaultInstance()) return this; + if (!other.getGoogleServiceAccountEmail().isEmpty()) { + googleServiceAccountEmail_ = other.googleServiceAccountEmail_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + googleServiceAccountEmail_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object googleServiceAccountEmail_ = ""; + + /** + * + * + *
+     * Google Service Account Email.
+     * 
+ * + * string google_service_account_email = 1; + * + * @return The googleServiceAccountEmail. + */ + public java.lang.String getGoogleServiceAccountEmail() { + java.lang.Object ref = googleServiceAccountEmail_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + googleServiceAccountEmail_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Google Service Account Email.
+     * 
+ * + * string google_service_account_email = 1; + * + * @return The bytes for googleServiceAccountEmail. + */ + public com.google.protobuf.ByteString getGoogleServiceAccountEmailBytes() { + java.lang.Object ref = googleServiceAccountEmail_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + googleServiceAccountEmail_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Google Service Account Email.
+     * 
+ * + * string google_service_account_email = 1; + * + * @param value The googleServiceAccountEmail to set. + * @return This builder for chaining. + */ + public Builder setGoogleServiceAccountEmail(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + googleServiceAccountEmail_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Google Service Account Email.
+     * 
+ * + * string google_service_account_email = 1; + * + * @return This builder for chaining. + */ + public Builder clearGoogleServiceAccountEmail() { + googleServiceAccountEmail_ = getDefaultInstance().getGoogleServiceAccountEmail(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Google Service Account Email.
+     * 
+ * + * string google_service_account_email = 1; + * + * @param value The bytes for googleServiceAccountEmail to set. + * @return This builder for chaining. + */ + public Builder setGoogleServiceAccountEmailBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + googleServiceAccountEmail_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.PubsubSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.PubsubSettings) + private static final com.google.cloud.chronicle.v1.PubsubSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.PubsubSettings(); + } + + public static com.google.cloud.chronicle.v1.PubsubSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PubsubSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.PubsubSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PubsubSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PubsubSettingsOrBuilder.java new file mode 100644 index 000000000000..ad0327b8e577 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/PubsubSettingsOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface PubsubSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.PubsubSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Google Service Account Email.
+   * 
+ * + * string google_service_account_email = 1; + * + * @return The googleServiceAccountEmail. + */ + java.lang.String getGoogleServiceAccountEmail(); + + /** + * + * + *
+   * Google Service Account Email.
+   * 
+ * + * string google_service_account_email = 1; + * + * @return The bytes for googleServiceAccountEmail. + */ + com.google.protobuf.ByteString getGoogleServiceAccountEmailBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/QualysScanSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/QualysScanSettings.java new file mode 100644 index 000000000000..7059e33c5b9c --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/QualysScanSettings.java @@ -0,0 +1,1270 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Qualys Scan settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.QualysScanSettings} + */ +@com.google.protobuf.Generated +public final class QualysScanSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.QualysScanSettings) + QualysScanSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "QualysScanSettings"); + } + + // Use QualysScanSettings.newBuilder() to construct. + private QualysScanSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private QualysScanSettings() { + hostname_ = ""; + apiType_ = 0; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_QualysScanSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_QualysScanSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.QualysScanSettings.class, + com.google.cloud.chronicle.v1.QualysScanSettings.Builder.class); + } + + /** + * + * + *
+   * API Type
+   * 
+ * + * Protobuf enum {@code google.cloud.chronicle.v1.QualysScanSettings.ApiType} + */ + public enum ApiType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Unspecified API Type
+     * 
+ * + * API_TYPE_UNSPECIFIED = 0; + */ + API_TYPE_UNSPECIFIED(0), + /** + * + * + *
+     * Scan Summaries
+     * 
+ * + * SCAN_SUMMARY_OUTPUT = 1; + */ + SCAN_SUMMARY_OUTPUT(1), + /** + * + * + *
+     * Scan Compliance
+     * 
+ * + * SCAN_COMPLIANCE_OUTPUT = 2; + */ + SCAN_COMPLIANCE_OUTPUT(2), + /** + * + * + *
+     * Scan Compliance Control
+     * 
+ * + * SCAN_COMPLIANCE_CONTROL_OUTPUT = 3; + */ + SCAN_COMPLIANCE_CONTROL_OUTPUT(3), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "ApiType"); + } + + /** + * + * + *
+     * Unspecified API Type
+     * 
+ * + * API_TYPE_UNSPECIFIED = 0; + */ + public static final int API_TYPE_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
+     * Scan Summaries
+     * 
+ * + * SCAN_SUMMARY_OUTPUT = 1; + */ + public static final int SCAN_SUMMARY_OUTPUT_VALUE = 1; + + /** + * + * + *
+     * Scan Compliance
+     * 
+ * + * SCAN_COMPLIANCE_OUTPUT = 2; + */ + public static final int SCAN_COMPLIANCE_OUTPUT_VALUE = 2; + + /** + * + * + *
+     * Scan Compliance Control
+     * 
+ * + * SCAN_COMPLIANCE_CONTROL_OUTPUT = 3; + */ + public static final int SCAN_COMPLIANCE_CONTROL_OUTPUT_VALUE = 3; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ApiType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ApiType forNumber(int value) { + switch (value) { + case 0: + return API_TYPE_UNSPECIFIED; + case 1: + return SCAN_SUMMARY_OUTPUT; + case 2: + return SCAN_COMPLIANCE_OUTPUT; + case 3: + return SCAN_COMPLIANCE_CONTROL_OUTPUT; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ApiType findValueByNumber(int number) { + return ApiType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.chronicle.v1.QualysScanSettings.getDescriptor().getEnumTypes().get(0); + } + + private static final ApiType[] VALUES = values(); + + public static ApiType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ApiType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.chronicle.v1.QualysScanSettings.ApiType) + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + public static final int HOSTNAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int API_TYPE_FIELD_NUMBER = 3; + private int apiType_ = 0; + + /** + * + * + *
+   * Supported Qualys Scan api type.
+   * 
+ * + * .google.cloud.chronicle.v1.QualysScanSettings.ApiType api_type = 3; + * + * @return The enum numeric value on the wire for apiType. + */ + @java.lang.Override + public int getApiTypeValue() { + return apiType_; + } + + /** + * + * + *
+   * Supported Qualys Scan api type.
+   * 
+ * + * .google.cloud.chronicle.v1.QualysScanSettings.ApiType api_type = 3; + * + * @return The apiType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.QualysScanSettings.ApiType getApiType() { + com.google.cloud.chronicle.v1.QualysScanSettings.ApiType result = + com.google.cloud.chronicle.v1.QualysScanSettings.ApiType.forNumber(apiType_); + return result == null + ? com.google.cloud.chronicle.v1.QualysScanSettings.ApiType.UNRECOGNIZED + : result; + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, hostname_); + } + if (apiType_ + != com.google.cloud.chronicle.v1.QualysScanSettings.ApiType.API_TYPE_UNSPECIFIED + .getNumber()) { + output.writeEnum(3, apiType_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, hostname_); + } + if (apiType_ + != com.google.cloud.chronicle.v1.QualysScanSettings.ApiType.API_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, apiType_); + } + 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.cloud.chronicle.v1.QualysScanSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.QualysScanSettings other = + (com.google.cloud.chronicle.v1.QualysScanSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getHostname().equals(other.getHostname())) return false; + if (apiType_ != other.apiType_) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + hash = (37 * hash) + API_TYPE_FIELD_NUMBER; + hash = (53 * hash) + apiType_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.QualysScanSettings parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.QualysScanSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.QualysScanSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.QualysScanSettings 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.cloud.chronicle.v1.QualysScanSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.QualysScanSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.QualysScanSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.QualysScanSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.QualysScanSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.QualysScanSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.QualysScanSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.QualysScanSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.QualysScanSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Qualys Scan settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.QualysScanSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.QualysScanSettings) + com.google.cloud.chronicle.v1.QualysScanSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_QualysScanSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_QualysScanSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.QualysScanSettings.class, + com.google.cloud.chronicle.v1.QualysScanSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.QualysScanSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + hostname_ = ""; + apiType_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_QualysScanSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.QualysScanSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.QualysScanSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.QualysScanSettings build() { + com.google.cloud.chronicle.v1.QualysScanSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.QualysScanSettings buildPartial() { + com.google.cloud.chronicle.v1.QualysScanSettings result = + new com.google.cloud.chronicle.v1.QualysScanSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.QualysScanSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.hostname_ = hostname_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.apiType_ = apiType_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.QualysScanSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.QualysScanSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.QualysScanSettings other) { + if (other == com.google.cloud.chronicle.v1.QualysScanSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.apiType_ != 0) { + setApiTypeValue(other.getApiTypeValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + apiType_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int apiType_ = 0; + + /** + * + * + *
+     * Supported Qualys Scan api type.
+     * 
+ * + * .google.cloud.chronicle.v1.QualysScanSettings.ApiType api_type = 3; + * + * @return The enum numeric value on the wire for apiType. + */ + @java.lang.Override + public int getApiTypeValue() { + return apiType_; + } + + /** + * + * + *
+     * Supported Qualys Scan api type.
+     * 
+ * + * .google.cloud.chronicle.v1.QualysScanSettings.ApiType api_type = 3; + * + * @param value The enum numeric value on the wire for apiType to set. + * @return This builder for chaining. + */ + public Builder setApiTypeValue(int value) { + apiType_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Supported Qualys Scan api type.
+     * 
+ * + * .google.cloud.chronicle.v1.QualysScanSettings.ApiType api_type = 3; + * + * @return The apiType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.QualysScanSettings.ApiType getApiType() { + com.google.cloud.chronicle.v1.QualysScanSettings.ApiType result = + com.google.cloud.chronicle.v1.QualysScanSettings.ApiType.forNumber(apiType_); + return result == null + ? com.google.cloud.chronicle.v1.QualysScanSettings.ApiType.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * Supported Qualys Scan api type.
+     * 
+ * + * .google.cloud.chronicle.v1.QualysScanSettings.ApiType api_type = 3; + * + * @param value The apiType to set. + * @return This builder for chaining. + */ + public Builder setApiType(com.google.cloud.chronicle.v1.QualysScanSettings.ApiType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + apiType_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Supported Qualys Scan api type.
+     * 
+ * + * .google.cloud.chronicle.v1.QualysScanSettings.ApiType api_type = 3; + * + * @return This builder for chaining. + */ + public Builder clearApiType() { + bitField0_ = (bitField0_ & ~0x00000004); + apiType_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.QualysScanSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.QualysScanSettings) + private static final com.google.cloud.chronicle.v1.QualysScanSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.QualysScanSettings(); + } + + public static com.google.cloud.chronicle.v1.QualysScanSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QualysScanSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.QualysScanSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/QualysScanSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/QualysScanSettingsOrBuilder.java new file mode 100644 index 000000000000..7ee4c64eca6c --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/QualysScanSettingsOrBuilder.java @@ -0,0 +1,123 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface QualysScanSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.QualysScanSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); + + /** + * + * + *
+   * Supported Qualys Scan api type.
+   * 
+ * + * .google.cloud.chronicle.v1.QualysScanSettings.ApiType api_type = 3; + * + * @return The enum numeric value on the wire for apiType. + */ + int getApiTypeValue(); + + /** + * + * + *
+   * Supported Qualys Scan api type.
+   * 
+ * + * .google.cloud.chronicle.v1.QualysScanSettings.ApiType api_type = 3; + * + * @return The apiType. + */ + com.google.cloud.chronicle.v1.QualysScanSettings.ApiType getApiType(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/QualysVMSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/QualysVMSettings.java new file mode 100644 index 000000000000..7481b39c7dbc --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/QualysVMSettings.java @@ -0,0 +1,914 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Qualys VM settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.QualysVMSettings} + */ +@com.google.protobuf.Generated +public final class QualysVMSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.QualysVMSettings) + QualysVMSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "QualysVMSettings"); + } + + // Use QualysVMSettings.newBuilder() to construct. + private QualysVMSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private QualysVMSettings() { + hostname_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_QualysVMSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_QualysVMSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.QualysVMSettings.class, + com.google.cloud.chronicle.v1.QualysVMSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + public static final int HOSTNAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, hostname_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, hostname_); + } + 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.cloud.chronicle.v1.QualysVMSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.QualysVMSettings other = + (com.google.cloud.chronicle.v1.QualysVMSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getHostname().equals(other.getHostname())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.QualysVMSettings parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.QualysVMSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.QualysVMSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.QualysVMSettings 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.cloud.chronicle.v1.QualysVMSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.QualysVMSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.QualysVMSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.QualysVMSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.QualysVMSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.QualysVMSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.QualysVMSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.QualysVMSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.QualysVMSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Qualys VM settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.QualysVMSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.QualysVMSettings) + com.google.cloud.chronicle.v1.QualysVMSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_QualysVMSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_QualysVMSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.QualysVMSettings.class, + com.google.cloud.chronicle.v1.QualysVMSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.QualysVMSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + hostname_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_QualysVMSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.QualysVMSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.QualysVMSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.QualysVMSettings build() { + com.google.cloud.chronicle.v1.QualysVMSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.QualysVMSettings buildPartial() { + com.google.cloud.chronicle.v1.QualysVMSettings result = + new com.google.cloud.chronicle.v1.QualysVMSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.QualysVMSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.hostname_ = hostname_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.QualysVMSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.QualysVMSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.QualysVMSettings other) { + if (other == com.google.cloud.chronicle.v1.QualysVMSettings.getDefaultInstance()) return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.QualysVMSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.QualysVMSettings) + private static final com.google.cloud.chronicle.v1.QualysVMSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.QualysVMSettings(); + } + + public static com.google.cloud.chronicle.v1.QualysVMSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QualysVMSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.QualysVMSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/QualysVMSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/QualysVMSettingsOrBuilder.java new file mode 100644 index 000000000000..348474bb0f5b --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/QualysVMSettingsOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface QualysVMSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.QualysVMSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/RHIsacIocSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/RHIsacIocSettings.java new file mode 100644 index 000000000000..0fcfbf62f511 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/RHIsacIocSettings.java @@ -0,0 +1,727 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * RH-ISAC settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.RHIsacIocSettings} + */ +@com.google.protobuf.Generated +public final class RHIsacIocSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.RHIsacIocSettings) + RHIsacIocSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "RHIsacIocSettings"); + } + + // Use RHIsacIocSettings.newBuilder() to construct. + private RHIsacIocSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private RHIsacIocSettings() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_RHIsacIocSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_RHIsacIocSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.RHIsacIocSettings.class, + com.google.cloud.chronicle.v1.RHIsacIocSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.OAuthClientCredentials authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthClientCredentials getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthClientCredentials.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthClientCredentialsOrBuilder + getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthClientCredentials.getDefaultInstance() + : authentication_; + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + 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.cloud.chronicle.v1.RHIsacIocSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.RHIsacIocSettings other = + (com.google.cloud.chronicle.v1.RHIsacIocSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.RHIsacIocSettings parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.RHIsacIocSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.RHIsacIocSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.RHIsacIocSettings 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.cloud.chronicle.v1.RHIsacIocSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.RHIsacIocSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.RHIsacIocSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.RHIsacIocSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.RHIsacIocSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.RHIsacIocSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.RHIsacIocSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.RHIsacIocSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.RHIsacIocSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * RH-ISAC settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.RHIsacIocSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.RHIsacIocSettings) + com.google.cloud.chronicle.v1.RHIsacIocSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_RHIsacIocSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_RHIsacIocSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.RHIsacIocSettings.class, + com.google.cloud.chronicle.v1.RHIsacIocSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.RHIsacIocSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_RHIsacIocSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.RHIsacIocSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.RHIsacIocSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.RHIsacIocSettings build() { + com.google.cloud.chronicle.v1.RHIsacIocSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.RHIsacIocSettings buildPartial() { + com.google.cloud.chronicle.v1.RHIsacIocSettings result = + new com.google.cloud.chronicle.v1.RHIsacIocSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.RHIsacIocSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.RHIsacIocSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.RHIsacIocSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.RHIsacIocSettings other) { + if (other == com.google.cloud.chronicle.v1.RHIsacIocSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.OAuthClientCredentials authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthClientCredentials, + com.google.cloud.chronicle.v1.OAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthClientCredentialsOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.OAuthClientCredentials getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthClientCredentials.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.OAuthClientCredentials value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.OAuthClientCredentials.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.OAuthClientCredentials value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.OAuthClientCredentials.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.OAuthClientCredentials.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.OAuthClientCredentialsOrBuilder + getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthClientCredentials.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthClientCredentials, + com.google.cloud.chronicle.v1.OAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthClientCredentialsOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthClientCredentials, + com.google.cloud.chronicle.v1.OAuthClientCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthClientCredentialsOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.RHIsacIocSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.RHIsacIocSettings) + private static final com.google.cloud.chronicle.v1.RHIsacIocSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.RHIsacIocSettings(); + } + + public static com.google.cloud.chronicle.v1.RHIsacIocSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RHIsacIocSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.RHIsacIocSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/RHIsacIocSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/RHIsacIocSettingsOrBuilder.java new file mode 100644 index 000000000000..a789e71d525f --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/RHIsacIocSettingsOrBuilder.java @@ -0,0 +1,71 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface RHIsacIocSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.RHIsacIocSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.OAuthClientCredentials getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthClientCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.OAuthClientCredentialsOrBuilder getAuthenticationOrBuilder(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/RSCredentials.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/RSCredentials.java new file mode 100644 index 000000000000..dda30da97fda --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/RSCredentials.java @@ -0,0 +1,595 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * RS credentials.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.RSCredentials} + */ +@com.google.protobuf.Generated +public final class RSCredentials extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.RSCredentials) + RSCredentialsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "RSCredentials"); + } + + // Use RSCredentials.newBuilder() to construct. + private RSCredentials(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private RSCredentials() { + privateKey_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_RSCredentials_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_RSCredentials_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.RSCredentials.class, + com.google.cloud.chronicle.v1.RSCredentials.Builder.class); + } + + public static final int PRIVATE_KEY_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object privateKey_ = ""; + + /** + * + * + *
+   * Private key in PEM format.
+   * 
+ * + * string private_key = 1; + * + * @return The privateKey. + */ + @java.lang.Override + public java.lang.String getPrivateKey() { + java.lang.Object ref = privateKey_; + 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(); + privateKey_ = s; + return s; + } + } + + /** + * + * + *
+   * Private key in PEM format.
+   * 
+ * + * string private_key = 1; + * + * @return The bytes for privateKey. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPrivateKeyBytes() { + java.lang.Object ref = privateKey_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + privateKey_ = 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.GeneratedMessage.isStringEmpty(privateKey_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, privateKey_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(privateKey_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, privateKey_); + } + 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.cloud.chronicle.v1.RSCredentials)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.RSCredentials other = + (com.google.cloud.chronicle.v1.RSCredentials) obj; + + if (!getPrivateKey().equals(other.getPrivateKey())) 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) + PRIVATE_KEY_FIELD_NUMBER; + hash = (53 * hash) + getPrivateKey().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.RSCredentials parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.RSCredentials parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.RSCredentials parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.RSCredentials 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.cloud.chronicle.v1.RSCredentials parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.RSCredentials parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.RSCredentials parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.RSCredentials parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.RSCredentials parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.RSCredentials parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.RSCredentials parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.RSCredentials parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.RSCredentials 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * RS credentials.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.RSCredentials} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.RSCredentials) + com.google.cloud.chronicle.v1.RSCredentialsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_RSCredentials_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_RSCredentials_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.RSCredentials.class, + com.google.cloud.chronicle.v1.RSCredentials.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.RSCredentials.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + privateKey_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_RSCredentials_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.RSCredentials getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.RSCredentials.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.RSCredentials build() { + com.google.cloud.chronicle.v1.RSCredentials result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.RSCredentials buildPartial() { + com.google.cloud.chronicle.v1.RSCredentials result = + new com.google.cloud.chronicle.v1.RSCredentials(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.RSCredentials result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.privateKey_ = privateKey_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.RSCredentials) { + return mergeFrom((com.google.cloud.chronicle.v1.RSCredentials) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.RSCredentials other) { + if (other == com.google.cloud.chronicle.v1.RSCredentials.getDefaultInstance()) return this; + if (!other.getPrivateKey().isEmpty()) { + privateKey_ = other.privateKey_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + privateKey_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object privateKey_ = ""; + + /** + * + * + *
+     * Private key in PEM format.
+     * 
+ * + * string private_key = 1; + * + * @return The privateKey. + */ + public java.lang.String getPrivateKey() { + java.lang.Object ref = privateKey_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + privateKey_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Private key in PEM format.
+     * 
+ * + * string private_key = 1; + * + * @return The bytes for privateKey. + */ + public com.google.protobuf.ByteString getPrivateKeyBytes() { + java.lang.Object ref = privateKey_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + privateKey_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Private key in PEM format.
+     * 
+ * + * string private_key = 1; + * + * @param value The privateKey to set. + * @return This builder for chaining. + */ + public Builder setPrivateKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + privateKey_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Private key in PEM format.
+     * 
+ * + * string private_key = 1; + * + * @return This builder for chaining. + */ + public Builder clearPrivateKey() { + privateKey_ = getDefaultInstance().getPrivateKey(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Private key in PEM format.
+     * 
+ * + * string private_key = 1; + * + * @param value The bytes for privateKey to set. + * @return This builder for chaining. + */ + public Builder setPrivateKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + privateKey_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.RSCredentials) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.RSCredentials) + private static final com.google.cloud.chronicle.v1.RSCredentials DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.RSCredentials(); + } + + public static com.google.cloud.chronicle.v1.RSCredentials getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RSCredentials parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.RSCredentials getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/RSCredentialsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/RSCredentialsOrBuilder.java new file mode 100644 index 000000000000..895340798587 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/RSCredentialsOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface RSCredentialsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.RSCredentials) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Private key in PEM format.
+   * 
+ * + * string private_key = 1; + * + * @return The privateKey. + */ + java.lang.String getPrivateKey(); + + /** + * + * + *
+   * Private key in PEM format.
+   * 
+ * + * string private_key = 1; + * + * @return The bytes for privateKey. + */ + com.google.protobuf.ByteString getPrivateKeyBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/Rapid7InsightSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/Rapid7InsightSettings.java new file mode 100644 index 000000000000..b848cf429cf5 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/Rapid7InsightSettings.java @@ -0,0 +1,1104 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Rapid7 Insight settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.Rapid7InsightSettings} + */ +@com.google.protobuf.Generated +public final class Rapid7InsightSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.Rapid7InsightSettings) + Rapid7InsightSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "Rapid7InsightSettings"); + } + + // Use Rapid7InsightSettings.newBuilder() to construct. + private Rapid7InsightSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private Rapid7InsightSettings() { + endpoint_ = ""; + hostname_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_Rapid7InsightSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_Rapid7InsightSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.Rapid7InsightSettings.class, + com.google.cloud.chronicle.v1.Rapid7InsightSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + public static final int ENDPOINT_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object endpoint_ = ""; + + /** + * + * + *
+   * Rapid7 API endpoint. Should be "vulnerabilities" or "assets".
+   * 
+ * + * string endpoint = 2; + * + * @return The endpoint. + */ + @java.lang.Override + public java.lang.String getEndpoint() { + java.lang.Object ref = endpoint_; + 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(); + endpoint_ = s; + return s; + } + } + + /** + * + * + *
+   * Rapid7 API endpoint. Should be "vulnerabilities" or "assets".
+   * 
+ * + * string endpoint = 2; + * + * @return The bytes for endpoint. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEndpointBytes() { + java.lang.Object ref = endpoint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + endpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int HOSTNAME_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 3; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 3; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(endpoint_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, endpoint_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, hostname_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(endpoint_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, endpoint_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, hostname_); + } + 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.cloud.chronicle.v1.Rapid7InsightSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.Rapid7InsightSettings other = + (com.google.cloud.chronicle.v1.Rapid7InsightSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getEndpoint().equals(other.getEndpoint())) return false; + if (!getHostname().equals(other.getHostname())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + ENDPOINT_FIELD_NUMBER; + hash = (53 * hash) + getEndpoint().hashCode(); + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.Rapid7InsightSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.Rapid7InsightSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.Rapid7InsightSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.Rapid7InsightSettings 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.cloud.chronicle.v1.Rapid7InsightSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.Rapid7InsightSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.Rapid7InsightSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.Rapid7InsightSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.Rapid7InsightSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.Rapid7InsightSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.Rapid7InsightSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.Rapid7InsightSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.Rapid7InsightSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Rapid7 Insight settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.Rapid7InsightSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.Rapid7InsightSettings) + com.google.cloud.chronicle.v1.Rapid7InsightSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_Rapid7InsightSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_Rapid7InsightSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.Rapid7InsightSettings.class, + com.google.cloud.chronicle.v1.Rapid7InsightSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.Rapid7InsightSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + endpoint_ = ""; + hostname_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_Rapid7InsightSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.Rapid7InsightSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.Rapid7InsightSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.Rapid7InsightSettings build() { + com.google.cloud.chronicle.v1.Rapid7InsightSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.Rapid7InsightSettings buildPartial() { + com.google.cloud.chronicle.v1.Rapid7InsightSettings result = + new com.google.cloud.chronicle.v1.Rapid7InsightSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.Rapid7InsightSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.endpoint_ = endpoint_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.hostname_ = hostname_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.Rapid7InsightSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.Rapid7InsightSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.Rapid7InsightSettings other) { + if (other == com.google.cloud.chronicle.v1.Rapid7InsightSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getEndpoint().isEmpty()) { + endpoint_ = other.endpoint_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + endpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object endpoint_ = ""; + + /** + * + * + *
+     * Rapid7 API endpoint. Should be "vulnerabilities" or "assets".
+     * 
+ * + * string endpoint = 2; + * + * @return The endpoint. + */ + public java.lang.String getEndpoint() { + java.lang.Object ref = endpoint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + endpoint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Rapid7 API endpoint. Should be "vulnerabilities" or "assets".
+     * 
+ * + * string endpoint = 2; + * + * @return The bytes for endpoint. + */ + public com.google.protobuf.ByteString getEndpointBytes() { + java.lang.Object ref = endpoint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + endpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Rapid7 API endpoint. Should be "vulnerabilities" or "assets".
+     * 
+ * + * string endpoint = 2; + * + * @param value The endpoint to set. + * @return This builder for chaining. + */ + public Builder setEndpoint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + endpoint_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Rapid7 API endpoint. Should be "vulnerabilities" or "assets".
+     * 
+ * + * string endpoint = 2; + * + * @return This builder for chaining. + */ + public Builder clearEndpoint() { + endpoint_ = getDefaultInstance().getEndpoint(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Rapid7 API endpoint. Should be "vulnerabilities" or "assets".
+     * 
+ * + * string endpoint = 2; + * + * @param value The bytes for endpoint to set. + * @return This builder for chaining. + */ + public Builder setEndpointBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endpoint_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 3; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 3; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 3; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 3; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 3; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.Rapid7InsightSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.Rapid7InsightSettings) + private static final com.google.cloud.chronicle.v1.Rapid7InsightSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.Rapid7InsightSettings(); + } + + public static com.google.cloud.chronicle.v1.Rapid7InsightSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Rapid7InsightSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.Rapid7InsightSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/Rapid7InsightSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/Rapid7InsightSettingsOrBuilder.java new file mode 100644 index 000000000000..a054ddd30905 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/Rapid7InsightSettingsOrBuilder.java @@ -0,0 +1,123 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface Rapid7InsightSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.Rapid7InsightSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Rapid7 API endpoint. Should be "vulnerabilities" or "assets".
+   * 
+ * + * string endpoint = 2; + * + * @return The endpoint. + */ + java.lang.String getEndpoint(); + + /** + * + * + *
+   * Rapid7 API endpoint. Should be "vulnerabilities" or "assets".
+   * 
+ * + * string endpoint = 2; + * + * @return The bytes for endpoint. + */ + com.google.protobuf.ByteString getEndpointBytes(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 3; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 3; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/RecordedFutureIocSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/RecordedFutureIocSettings.java new file mode 100644 index 000000000000..730fae516d40 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/RecordedFutureIocSettings.java @@ -0,0 +1,726 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Recorded Future IOC settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.RecordedFutureIocSettings} + */ +@com.google.protobuf.Generated +public final class RecordedFutureIocSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.RecordedFutureIocSettings) + RecordedFutureIocSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "RecordedFutureIocSettings"); + } + + // Use RecordedFutureIocSettings.newBuilder() to construct. + private RecordedFutureIocSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private RecordedFutureIocSettings() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_RecordedFutureIocSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_RecordedFutureIocSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.RecordedFutureIocSettings.class, + com.google.cloud.chronicle.v1.RecordedFutureIocSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + 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.cloud.chronicle.v1.RecordedFutureIocSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.RecordedFutureIocSettings other = + (com.google.cloud.chronicle.v1.RecordedFutureIocSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.RecordedFutureIocSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.RecordedFutureIocSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.RecordedFutureIocSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.RecordedFutureIocSettings 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.cloud.chronicle.v1.RecordedFutureIocSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.RecordedFutureIocSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.RecordedFutureIocSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.RecordedFutureIocSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.RecordedFutureIocSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.RecordedFutureIocSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.RecordedFutureIocSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.RecordedFutureIocSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.RecordedFutureIocSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Recorded Future IOC settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.RecordedFutureIocSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.RecordedFutureIocSettings) + com.google.cloud.chronicle.v1.RecordedFutureIocSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_RecordedFutureIocSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_RecordedFutureIocSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.RecordedFutureIocSettings.class, + com.google.cloud.chronicle.v1.RecordedFutureIocSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.RecordedFutureIocSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_RecordedFutureIocSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.RecordedFutureIocSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.RecordedFutureIocSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.RecordedFutureIocSettings build() { + com.google.cloud.chronicle.v1.RecordedFutureIocSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.RecordedFutureIocSettings buildPartial() { + com.google.cloud.chronicle.v1.RecordedFutureIocSettings result = + new com.google.cloud.chronicle.v1.RecordedFutureIocSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.RecordedFutureIocSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.RecordedFutureIocSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.RecordedFutureIocSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.RecordedFutureIocSettings other) { + if (other == com.google.cloud.chronicle.v1.RecordedFutureIocSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.RecordedFutureIocSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.RecordedFutureIocSettings) + private static final com.google.cloud.chronicle.v1.RecordedFutureIocSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.RecordedFutureIocSettings(); + } + + public static com.google.cloud.chronicle.v1.RecordedFutureIocSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RecordedFutureIocSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.RecordedFutureIocSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/RecordedFutureIocSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/RecordedFutureIocSettingsOrBuilder.java new file mode 100644 index 000000000000..c7f5c8535669 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/RecordedFutureIocSettingsOrBuilder.java @@ -0,0 +1,71 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface RecordedFutureIocSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.RecordedFutureIocSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/S3Auth.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/S3Auth.java new file mode 100644 index 000000000000..8ad554bc7c7d --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/S3Auth.java @@ -0,0 +1,1503 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Amazon S3 auth.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.S3Auth} + */ +@com.google.protobuf.Generated +public final class S3Auth extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.S3Auth) + S3AuthOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "S3Auth"); + } + + // Use S3Auth.newBuilder() to construct. + private S3Auth(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private S3Auth() { + accessKeyId_ = ""; + secretAccessKey_ = ""; + clientId_ = ""; + clientSecret_ = ""; + refreshUri_ = ""; + region_ = 0; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_S3Auth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_S3Auth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.S3Auth.class, + com.google.cloud.chronicle.v1.S3Auth.Builder.class); + } + + public static final int ACCESS_KEY_ID_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object accessKeyId_ = ""; + + /** + * + * + *
+   * Access key ID. Used when using access key auth.
+   * 
+ * + * string access_key_id = 1; + * + * @return The accessKeyId. + */ + @java.lang.Override + public java.lang.String getAccessKeyId() { + java.lang.Object ref = accessKeyId_; + 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(); + accessKeyId_ = s; + return s; + } + } + + /** + * + * + *
+   * Access key ID. Used when using access key auth.
+   * 
+ * + * string access_key_id = 1; + * + * @return The bytes for accessKeyId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAccessKeyIdBytes() { + java.lang.Object ref = accessKeyId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + accessKeyId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SECRET_ACCESS_KEY_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object secretAccessKey_ = ""; + + /** + * + * + *
+   * Secret access key. Used when using access key auth.
+   * 
+ * + * string secret_access_key = 2; + * + * @return The secretAccessKey. + */ + @java.lang.Override + public java.lang.String getSecretAccessKey() { + java.lang.Object ref = secretAccessKey_; + 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(); + secretAccessKey_ = s; + return s; + } + } + + /** + * + * + *
+   * Secret access key. Used when using access key auth.
+   * 
+ * + * string secret_access_key = 2; + * + * @return The bytes for secretAccessKey. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSecretAccessKeyBytes() { + java.lang.Object ref = secretAccessKey_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + secretAccessKey_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLIENT_ID_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object clientId_ = ""; + + /** + * + * + *
+   * Client ID. Used when using OAuth auth.
+   * 
+ * + * string client_id = 3; + * + * @return The clientId. + */ + @java.lang.Override + public java.lang.String getClientId() { + java.lang.Object ref = clientId_; + 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(); + clientId_ = s; + return s; + } + } + + /** + * + * + *
+   * Client ID. Used when using OAuth auth.
+   * 
+ * + * string client_id = 3; + * + * @return The bytes for clientId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getClientIdBytes() { + java.lang.Object ref = clientId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLIENT_SECRET_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object clientSecret_ = ""; + + /** + * + * + *
+   * Client secret. Used when using OAuth auth.
+   * 
+ * + * string client_secret = 4; + * + * @return The clientSecret. + */ + @java.lang.Override + public java.lang.String getClientSecret() { + java.lang.Object ref = clientSecret_; + 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(); + clientSecret_ = s; + return s; + } + } + + /** + * + * + *
+   * Client secret. Used when using OAuth auth.
+   * 
+ * + * string client_secret = 4; + * + * @return The bytes for clientSecret. + */ + @java.lang.Override + public com.google.protobuf.ByteString getClientSecretBytes() { + java.lang.Object ref = clientSecret_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientSecret_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REFRESH_URI_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private volatile java.lang.Object refreshUri_ = ""; + + /** + * + * + *
+   * Refresh URI. Used when using OAuth auth.
+   * 
+ * + * string refresh_uri = 5; + * + * @return The refreshUri. + */ + @java.lang.Override + public java.lang.String getRefreshUri() { + java.lang.Object ref = refreshUri_; + 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(); + refreshUri_ = s; + return s; + } + } + + /** + * + * + *
+   * Refresh URI. Used when using OAuth auth.
+   * 
+ * + * string refresh_uri = 5; + * + * @return The bytes for refreshUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRefreshUriBytes() { + java.lang.Object ref = refreshUri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + refreshUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REGION_FIELD_NUMBER = 6; + private int region_ = 0; + + /** + * + * + *
+   * S3 Region.
+   * 
+ * + * .google.cloud.chronicle.v1.S3Region region = 6; + * + * @return The enum numeric value on the wire for region. + */ + @java.lang.Override + public int getRegionValue() { + return region_; + } + + /** + * + * + *
+   * S3 Region.
+   * 
+ * + * .google.cloud.chronicle.v1.S3Region region = 6; + * + * @return The region. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.S3Region getRegion() { + com.google.cloud.chronicle.v1.S3Region result = + com.google.cloud.chronicle.v1.S3Region.forNumber(region_); + return result == null ? com.google.cloud.chronicle.v1.S3Region.UNRECOGNIZED : result; + } + + 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.GeneratedMessage.isStringEmpty(accessKeyId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, accessKeyId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(secretAccessKey_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, secretAccessKey_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, clientId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientSecret_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, clientSecret_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(refreshUri_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, refreshUri_); + } + if (region_ != com.google.cloud.chronicle.v1.S3Region.S3_REGION_UNSPECIFIED.getNumber()) { + output.writeEnum(6, region_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(accessKeyId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, accessKeyId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(secretAccessKey_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, secretAccessKey_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, clientId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientSecret_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, clientSecret_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(refreshUri_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, refreshUri_); + } + if (region_ != com.google.cloud.chronicle.v1.S3Region.S3_REGION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, region_); + } + 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.cloud.chronicle.v1.S3Auth)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.S3Auth other = (com.google.cloud.chronicle.v1.S3Auth) obj; + + if (!getAccessKeyId().equals(other.getAccessKeyId())) return false; + if (!getSecretAccessKey().equals(other.getSecretAccessKey())) return false; + if (!getClientId().equals(other.getClientId())) return false; + if (!getClientSecret().equals(other.getClientSecret())) return false; + if (!getRefreshUri().equals(other.getRefreshUri())) return false; + if (region_ != other.region_) 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) + ACCESS_KEY_ID_FIELD_NUMBER; + hash = (53 * hash) + getAccessKeyId().hashCode(); + hash = (37 * hash) + SECRET_ACCESS_KEY_FIELD_NUMBER; + hash = (53 * hash) + getSecretAccessKey().hashCode(); + hash = (37 * hash) + CLIENT_ID_FIELD_NUMBER; + hash = (53 * hash) + getClientId().hashCode(); + hash = (37 * hash) + CLIENT_SECRET_FIELD_NUMBER; + hash = (53 * hash) + getClientSecret().hashCode(); + hash = (37 * hash) + REFRESH_URI_FIELD_NUMBER; + hash = (53 * hash) + getRefreshUri().hashCode(); + hash = (37 * hash) + REGION_FIELD_NUMBER; + hash = (53 * hash) + region_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.S3Auth parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.S3Auth parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.S3Auth parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.S3Auth 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.cloud.chronicle.v1.S3Auth parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.S3Auth parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.S3Auth parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.S3Auth parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.S3Auth parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.S3Auth parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.S3Auth parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.S3Auth parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.S3Auth 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Amazon S3 auth.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.S3Auth} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.S3Auth) + com.google.cloud.chronicle.v1.S3AuthOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_S3Auth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_S3Auth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.S3Auth.class, + com.google.cloud.chronicle.v1.S3Auth.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.S3Auth.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + accessKeyId_ = ""; + secretAccessKey_ = ""; + clientId_ = ""; + clientSecret_ = ""; + refreshUri_ = ""; + region_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_S3Auth_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.S3Auth getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.S3Auth.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.S3Auth build() { + com.google.cloud.chronicle.v1.S3Auth result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.S3Auth buildPartial() { + com.google.cloud.chronicle.v1.S3Auth result = new com.google.cloud.chronicle.v1.S3Auth(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.S3Auth result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.accessKeyId_ = accessKeyId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.secretAccessKey_ = secretAccessKey_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.clientId_ = clientId_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.clientSecret_ = clientSecret_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.refreshUri_ = refreshUri_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.region_ = region_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.S3Auth) { + return mergeFrom((com.google.cloud.chronicle.v1.S3Auth) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.S3Auth other) { + if (other == com.google.cloud.chronicle.v1.S3Auth.getDefaultInstance()) return this; + if (!other.getAccessKeyId().isEmpty()) { + accessKeyId_ = other.accessKeyId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSecretAccessKey().isEmpty()) { + secretAccessKey_ = other.secretAccessKey_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getClientId().isEmpty()) { + clientId_ = other.clientId_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getClientSecret().isEmpty()) { + clientSecret_ = other.clientSecret_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getRefreshUri().isEmpty()) { + refreshUri_ = other.refreshUri_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (other.region_ != 0) { + setRegionValue(other.getRegionValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + accessKeyId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + secretAccessKey_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + clientId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + clientSecret_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + refreshUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: + { + region_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object accessKeyId_ = ""; + + /** + * + * + *
+     * Access key ID. Used when using access key auth.
+     * 
+ * + * string access_key_id = 1; + * + * @return The accessKeyId. + */ + public java.lang.String getAccessKeyId() { + java.lang.Object ref = accessKeyId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + accessKeyId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Access key ID. Used when using access key auth.
+     * 
+ * + * string access_key_id = 1; + * + * @return The bytes for accessKeyId. + */ + public com.google.protobuf.ByteString getAccessKeyIdBytes() { + java.lang.Object ref = accessKeyId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + accessKeyId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Access key ID. Used when using access key auth.
+     * 
+ * + * string access_key_id = 1; + * + * @param value The accessKeyId to set. + * @return This builder for chaining. + */ + public Builder setAccessKeyId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + accessKeyId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Access key ID. Used when using access key auth.
+     * 
+ * + * string access_key_id = 1; + * + * @return This builder for chaining. + */ + public Builder clearAccessKeyId() { + accessKeyId_ = getDefaultInstance().getAccessKeyId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Access key ID. Used when using access key auth.
+     * 
+ * + * string access_key_id = 1; + * + * @param value The bytes for accessKeyId to set. + * @return This builder for chaining. + */ + public Builder setAccessKeyIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + accessKeyId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object secretAccessKey_ = ""; + + /** + * + * + *
+     * Secret access key. Used when using access key auth.
+     * 
+ * + * string secret_access_key = 2; + * + * @return The secretAccessKey. + */ + public java.lang.String getSecretAccessKey() { + java.lang.Object ref = secretAccessKey_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + secretAccessKey_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Secret access key. Used when using access key auth.
+     * 
+ * + * string secret_access_key = 2; + * + * @return The bytes for secretAccessKey. + */ + public com.google.protobuf.ByteString getSecretAccessKeyBytes() { + java.lang.Object ref = secretAccessKey_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + secretAccessKey_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Secret access key. Used when using access key auth.
+     * 
+ * + * string secret_access_key = 2; + * + * @param value The secretAccessKey to set. + * @return This builder for chaining. + */ + public Builder setSecretAccessKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + secretAccessKey_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Secret access key. Used when using access key auth.
+     * 
+ * + * string secret_access_key = 2; + * + * @return This builder for chaining. + */ + public Builder clearSecretAccessKey() { + secretAccessKey_ = getDefaultInstance().getSecretAccessKey(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Secret access key. Used when using access key auth.
+     * 
+ * + * string secret_access_key = 2; + * + * @param value The bytes for secretAccessKey to set. + * @return This builder for chaining. + */ + public Builder setSecretAccessKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + secretAccessKey_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object clientId_ = ""; + + /** + * + * + *
+     * Client ID. Used when using OAuth auth.
+     * 
+ * + * string client_id = 3; + * + * @return The clientId. + */ + public java.lang.String getClientId() { + java.lang.Object ref = clientId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Client ID. Used when using OAuth auth.
+     * 
+ * + * string client_id = 3; + * + * @return The bytes for clientId. + */ + public com.google.protobuf.ByteString getClientIdBytes() { + java.lang.Object ref = clientId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Client ID. Used when using OAuth auth.
+     * 
+ * + * string client_id = 3; + * + * @param value The clientId to set. + * @return This builder for chaining. + */ + public Builder setClientId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + clientId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Client ID. Used when using OAuth auth.
+     * 
+ * + * string client_id = 3; + * + * @return This builder for chaining. + */ + public Builder clearClientId() { + clientId_ = getDefaultInstance().getClientId(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Client ID. Used when using OAuth auth.
+     * 
+ * + * string client_id = 3; + * + * @param value The bytes for clientId to set. + * @return This builder for chaining. + */ + public Builder setClientIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object clientSecret_ = ""; + + /** + * + * + *
+     * Client secret. Used when using OAuth auth.
+     * 
+ * + * string client_secret = 4; + * + * @return The clientSecret. + */ + public java.lang.String getClientSecret() { + java.lang.Object ref = clientSecret_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientSecret_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Client secret. Used when using OAuth auth.
+     * 
+ * + * string client_secret = 4; + * + * @return The bytes for clientSecret. + */ + public com.google.protobuf.ByteString getClientSecretBytes() { + java.lang.Object ref = clientSecret_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientSecret_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Client secret. Used when using OAuth auth.
+     * 
+ * + * string client_secret = 4; + * + * @param value The clientSecret to set. + * @return This builder for chaining. + */ + public Builder setClientSecret(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + clientSecret_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Client secret. Used when using OAuth auth.
+     * 
+ * + * string client_secret = 4; + * + * @return This builder for chaining. + */ + public Builder clearClientSecret() { + clientSecret_ = getDefaultInstance().getClientSecret(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+     * Client secret. Used when using OAuth auth.
+     * 
+ * + * string client_secret = 4; + * + * @param value The bytes for clientSecret to set. + * @return This builder for chaining. + */ + public Builder setClientSecretBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientSecret_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object refreshUri_ = ""; + + /** + * + * + *
+     * Refresh URI. Used when using OAuth auth.
+     * 
+ * + * string refresh_uri = 5; + * + * @return The refreshUri. + */ + public java.lang.String getRefreshUri() { + java.lang.Object ref = refreshUri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + refreshUri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Refresh URI. Used when using OAuth auth.
+     * 
+ * + * string refresh_uri = 5; + * + * @return The bytes for refreshUri. + */ + public com.google.protobuf.ByteString getRefreshUriBytes() { + java.lang.Object ref = refreshUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + refreshUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Refresh URI. Used when using OAuth auth.
+     * 
+ * + * string refresh_uri = 5; + * + * @param value The refreshUri to set. + * @return This builder for chaining. + */ + public Builder setRefreshUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + refreshUri_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Refresh URI. Used when using OAuth auth.
+     * 
+ * + * string refresh_uri = 5; + * + * @return This builder for chaining. + */ + public Builder clearRefreshUri() { + refreshUri_ = getDefaultInstance().getRefreshUri(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + + /** + * + * + *
+     * Refresh URI. Used when using OAuth auth.
+     * 
+ * + * string refresh_uri = 5; + * + * @param value The bytes for refreshUri to set. + * @return This builder for chaining. + */ + public Builder setRefreshUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + refreshUri_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private int region_ = 0; + + /** + * + * + *
+     * S3 Region.
+     * 
+ * + * .google.cloud.chronicle.v1.S3Region region = 6; + * + * @return The enum numeric value on the wire for region. + */ + @java.lang.Override + public int getRegionValue() { + return region_; + } + + /** + * + * + *
+     * S3 Region.
+     * 
+ * + * .google.cloud.chronicle.v1.S3Region region = 6; + * + * @param value The enum numeric value on the wire for region to set. + * @return This builder for chaining. + */ + public Builder setRegionValue(int value) { + region_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * S3 Region.
+     * 
+ * + * .google.cloud.chronicle.v1.S3Region region = 6; + * + * @return The region. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.S3Region getRegion() { + com.google.cloud.chronicle.v1.S3Region result = + com.google.cloud.chronicle.v1.S3Region.forNumber(region_); + return result == null ? com.google.cloud.chronicle.v1.S3Region.UNRECOGNIZED : result; + } + + /** + * + * + *
+     * S3 Region.
+     * 
+ * + * .google.cloud.chronicle.v1.S3Region region = 6; + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(com.google.cloud.chronicle.v1.S3Region value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000020; + region_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * S3 Region.
+     * 
+ * + * .google.cloud.chronicle.v1.S3Region region = 6; + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + bitField0_ = (bitField0_ & ~0x00000020); + region_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.S3Auth) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.S3Auth) + private static final com.google.cloud.chronicle.v1.S3Auth DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.S3Auth(); + } + + public static com.google.cloud.chronicle.v1.S3Auth getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public S3Auth parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.S3Auth getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/S3AuthOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/S3AuthOrBuilder.java new file mode 100644 index 000000000000..f2cdf9b18259 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/S3AuthOrBuilder.java @@ -0,0 +1,184 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface S3AuthOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.S3Auth) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Access key ID. Used when using access key auth.
+   * 
+ * + * string access_key_id = 1; + * + * @return The accessKeyId. + */ + java.lang.String getAccessKeyId(); + + /** + * + * + *
+   * Access key ID. Used when using access key auth.
+   * 
+ * + * string access_key_id = 1; + * + * @return The bytes for accessKeyId. + */ + com.google.protobuf.ByteString getAccessKeyIdBytes(); + + /** + * + * + *
+   * Secret access key. Used when using access key auth.
+   * 
+ * + * string secret_access_key = 2; + * + * @return The secretAccessKey. + */ + java.lang.String getSecretAccessKey(); + + /** + * + * + *
+   * Secret access key. Used when using access key auth.
+   * 
+ * + * string secret_access_key = 2; + * + * @return The bytes for secretAccessKey. + */ + com.google.protobuf.ByteString getSecretAccessKeyBytes(); + + /** + * + * + *
+   * Client ID. Used when using OAuth auth.
+   * 
+ * + * string client_id = 3; + * + * @return The clientId. + */ + java.lang.String getClientId(); + + /** + * + * + *
+   * Client ID. Used when using OAuth auth.
+   * 
+ * + * string client_id = 3; + * + * @return The bytes for clientId. + */ + com.google.protobuf.ByteString getClientIdBytes(); + + /** + * + * + *
+   * Client secret. Used when using OAuth auth.
+   * 
+ * + * string client_secret = 4; + * + * @return The clientSecret. + */ + java.lang.String getClientSecret(); + + /** + * + * + *
+   * Client secret. Used when using OAuth auth.
+   * 
+ * + * string client_secret = 4; + * + * @return The bytes for clientSecret. + */ + com.google.protobuf.ByteString getClientSecretBytes(); + + /** + * + * + *
+   * Refresh URI. Used when using OAuth auth.
+   * 
+ * + * string refresh_uri = 5; + * + * @return The refreshUri. + */ + java.lang.String getRefreshUri(); + + /** + * + * + *
+   * Refresh URI. Used when using OAuth auth.
+   * 
+ * + * string refresh_uri = 5; + * + * @return The bytes for refreshUri. + */ + com.google.protobuf.ByteString getRefreshUriBytes(); + + /** + * + * + *
+   * S3 Region.
+   * 
+ * + * .google.cloud.chronicle.v1.S3Region region = 6; + * + * @return The enum numeric value on the wire for region. + */ + int getRegionValue(); + + /** + * + * + *
+   * S3 Region.
+   * 
+ * + * .google.cloud.chronicle.v1.S3Region region = 6; + * + * @return The region. + */ + com.google.cloud.chronicle.v1.S3Region getRegion(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/S3AuthV2.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/S3AuthV2.java new file mode 100644 index 000000000000..cf657ba1f5fb --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/S3AuthV2.java @@ -0,0 +1,1107 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * A message containing fields used to authenticate with Amazon S3.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.S3AuthV2} + */ +@com.google.protobuf.Generated +public final class S3AuthV2 extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.S3AuthV2) + S3AuthV2OrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "S3AuthV2"); + } + + // Use S3AuthV2.newBuilder() to construct. + private S3AuthV2(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private S3AuthV2() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_S3AuthV2_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_S3AuthV2_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.S3AuthV2.class, + com.google.cloud.chronicle.v1.S3AuthV2.Builder.class); + } + + private int authTypeCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object authType_; + + public enum AuthTypeCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + ACCESS_KEY_SECRET_AUTH(3), + AWS_IAM_ROLE_AUTH(5), + AUTHTYPE_NOT_SET(0); + private final int value; + + private AuthTypeCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static AuthTypeCase valueOf(int value) { + return forNumber(value); + } + + public static AuthTypeCase forNumber(int value) { + switch (value) { + case 3: + return ACCESS_KEY_SECRET_AUTH; + case 5: + return AWS_IAM_ROLE_AUTH; + case 0: + return AUTHTYPE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public AuthTypeCase getAuthTypeCase() { + return AuthTypeCase.forNumber(authTypeCase_); + } + + public static final int ACCESS_KEY_SECRET_AUTH_FIELD_NUMBER = 3; + + /** + * + * + *
+   * Access Key ID and Secret Access Key for an AWS account.
+   * 
+ * + * .google.cloud.chronicle.v1.S3V2AccessKeySecretAuth access_key_secret_auth = 3; + * + * @return Whether the accessKeySecretAuth field is set. + */ + @java.lang.Override + public boolean hasAccessKeySecretAuth() { + return authTypeCase_ == 3; + } + + /** + * + * + *
+   * Access Key ID and Secret Access Key for an AWS account.
+   * 
+ * + * .google.cloud.chronicle.v1.S3V2AccessKeySecretAuth access_key_secret_auth = 3; + * + * @return The accessKeySecretAuth. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth getAccessKeySecretAuth() { + if (authTypeCase_ == 3) { + return (com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth) authType_; + } + return com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth.getDefaultInstance(); + } + + /** + * + * + *
+   * Access Key ID and Secret Access Key for an AWS account.
+   * 
+ * + * .google.cloud.chronicle.v1.S3V2AccessKeySecretAuth access_key_secret_auth = 3; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuthOrBuilder + getAccessKeySecretAuthOrBuilder() { + if (authTypeCase_ == 3) { + return (com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth) authType_; + } + return com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth.getDefaultInstance(); + } + + public static final int AWS_IAM_ROLE_AUTH_FIELD_NUMBER = 5; + + /** + * + * + *
+   * AWS IAM Role Auth for Identity Federation.
+   * 
+ * + * .google.cloud.chronicle.v1.S3V2AwsIamRoleAuth aws_iam_role_auth = 5; + * + * @return Whether the awsIamRoleAuth field is set. + */ + @java.lang.Override + public boolean hasAwsIamRoleAuth() { + return authTypeCase_ == 5; + } + + /** + * + * + *
+   * AWS IAM Role Auth for Identity Federation.
+   * 
+ * + * .google.cloud.chronicle.v1.S3V2AwsIamRoleAuth aws_iam_role_auth = 5; + * + * @return The awsIamRoleAuth. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth getAwsIamRoleAuth() { + if (authTypeCase_ == 5) { + return (com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth) authType_; + } + return com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth.getDefaultInstance(); + } + + /** + * + * + *
+   * AWS IAM Role Auth for Identity Federation.
+   * 
+ * + * .google.cloud.chronicle.v1.S3V2AwsIamRoleAuth aws_iam_role_auth = 5; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuthOrBuilder getAwsIamRoleAuthOrBuilder() { + if (authTypeCase_ == 5) { + return (com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth) authType_; + } + return com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth.getDefaultInstance(); + } + + 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 (authTypeCase_ == 3) { + output.writeMessage(3, (com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth) authType_); + } + if (authTypeCase_ == 5) { + output.writeMessage(5, (com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth) authType_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (authTypeCase_ == 3) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth) authType_); + } + if (authTypeCase_ == 5) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth) authType_); + } + 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.cloud.chronicle.v1.S3AuthV2)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.S3AuthV2 other = (com.google.cloud.chronicle.v1.S3AuthV2) obj; + + if (!getAuthTypeCase().equals(other.getAuthTypeCase())) return false; + switch (authTypeCase_) { + case 3: + if (!getAccessKeySecretAuth().equals(other.getAccessKeySecretAuth())) return false; + break; + case 5: + if (!getAwsIamRoleAuth().equals(other.getAwsIamRoleAuth())) return false; + break; + case 0: + default: + } + 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(); + switch (authTypeCase_) { + case 3: + hash = (37 * hash) + ACCESS_KEY_SECRET_AUTH_FIELD_NUMBER; + hash = (53 * hash) + getAccessKeySecretAuth().hashCode(); + break; + case 5: + hash = (37 * hash) + AWS_IAM_ROLE_AUTH_FIELD_NUMBER; + hash = (53 * hash) + getAwsIamRoleAuth().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.S3AuthV2 parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.S3AuthV2 parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.S3AuthV2 parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.S3AuthV2 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.cloud.chronicle.v1.S3AuthV2 parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.S3AuthV2 parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.S3AuthV2 parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.S3AuthV2 parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.S3AuthV2 parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.S3AuthV2 parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.S3AuthV2 parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.S3AuthV2 parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.S3AuthV2 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * A message containing fields used to authenticate with Amazon S3.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.S3AuthV2} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.S3AuthV2) + com.google.cloud.chronicle.v1.S3AuthV2OrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_S3AuthV2_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_S3AuthV2_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.S3AuthV2.class, + com.google.cloud.chronicle.v1.S3AuthV2.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.S3AuthV2.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (accessKeySecretAuthBuilder_ != null) { + accessKeySecretAuthBuilder_.clear(); + } + if (awsIamRoleAuthBuilder_ != null) { + awsIamRoleAuthBuilder_.clear(); + } + authTypeCase_ = 0; + authType_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_S3AuthV2_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.S3AuthV2 getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.S3AuthV2.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.S3AuthV2 build() { + com.google.cloud.chronicle.v1.S3AuthV2 result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.S3AuthV2 buildPartial() { + com.google.cloud.chronicle.v1.S3AuthV2 result = + new com.google.cloud.chronicle.v1.S3AuthV2(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.S3AuthV2 result) { + int from_bitField0_ = bitField0_; + } + + private void buildPartialOneofs(com.google.cloud.chronicle.v1.S3AuthV2 result) { + result.authTypeCase_ = authTypeCase_; + result.authType_ = this.authType_; + if (authTypeCase_ == 3 && accessKeySecretAuthBuilder_ != null) { + result.authType_ = accessKeySecretAuthBuilder_.build(); + } + if (authTypeCase_ == 5 && awsIamRoleAuthBuilder_ != null) { + result.authType_ = awsIamRoleAuthBuilder_.build(); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.S3AuthV2) { + return mergeFrom((com.google.cloud.chronicle.v1.S3AuthV2) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.S3AuthV2 other) { + if (other == com.google.cloud.chronicle.v1.S3AuthV2.getDefaultInstance()) return this; + switch (other.getAuthTypeCase()) { + case ACCESS_KEY_SECRET_AUTH: + { + mergeAccessKeySecretAuth(other.getAccessKeySecretAuth()); + break; + } + case AWS_IAM_ROLE_AUTH: + { + mergeAwsIamRoleAuth(other.getAwsIamRoleAuth()); + break; + } + case AUTHTYPE_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 26: + { + input.readMessage( + internalGetAccessKeySecretAuthFieldBuilder().getBuilder(), extensionRegistry); + authTypeCase_ = 3; + break; + } // case 26 + case 42: + { + input.readMessage( + internalGetAwsIamRoleAuthFieldBuilder().getBuilder(), extensionRegistry); + authTypeCase_ = 5; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int authTypeCase_ = 0; + private java.lang.Object authType_; + + public AuthTypeCase getAuthTypeCase() { + return AuthTypeCase.forNumber(authTypeCase_); + } + + public Builder clearAuthType() { + authTypeCase_ = 0; + authType_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth, + com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth.Builder, + com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuthOrBuilder> + accessKeySecretAuthBuilder_; + + /** + * + * + *
+     * Access Key ID and Secret Access Key for an AWS account.
+     * 
+ * + * .google.cloud.chronicle.v1.S3V2AccessKeySecretAuth access_key_secret_auth = 3; + * + * @return Whether the accessKeySecretAuth field is set. + */ + @java.lang.Override + public boolean hasAccessKeySecretAuth() { + return authTypeCase_ == 3; + } + + /** + * + * + *
+     * Access Key ID and Secret Access Key for an AWS account.
+     * 
+ * + * .google.cloud.chronicle.v1.S3V2AccessKeySecretAuth access_key_secret_auth = 3; + * + * @return The accessKeySecretAuth. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth getAccessKeySecretAuth() { + if (accessKeySecretAuthBuilder_ == null) { + if (authTypeCase_ == 3) { + return (com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth) authType_; + } + return com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth.getDefaultInstance(); + } else { + if (authTypeCase_ == 3) { + return accessKeySecretAuthBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Access Key ID and Secret Access Key for an AWS account.
+     * 
+ * + * .google.cloud.chronicle.v1.S3V2AccessKeySecretAuth access_key_secret_auth = 3; + */ + public Builder setAccessKeySecretAuth( + com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth value) { + if (accessKeySecretAuthBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authType_ = value; + onChanged(); + } else { + accessKeySecretAuthBuilder_.setMessage(value); + } + authTypeCase_ = 3; + return this; + } + + /** + * + * + *
+     * Access Key ID and Secret Access Key for an AWS account.
+     * 
+ * + * .google.cloud.chronicle.v1.S3V2AccessKeySecretAuth access_key_secret_auth = 3; + */ + public Builder setAccessKeySecretAuth( + com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth.Builder builderForValue) { + if (accessKeySecretAuthBuilder_ == null) { + authType_ = builderForValue.build(); + onChanged(); + } else { + accessKeySecretAuthBuilder_.setMessage(builderForValue.build()); + } + authTypeCase_ = 3; + return this; + } + + /** + * + * + *
+     * Access Key ID and Secret Access Key for an AWS account.
+     * 
+ * + * .google.cloud.chronicle.v1.S3V2AccessKeySecretAuth access_key_secret_auth = 3; + */ + public Builder mergeAccessKeySecretAuth( + com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth value) { + if (accessKeySecretAuthBuilder_ == null) { + if (authTypeCase_ == 3 + && authType_ + != com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth.getDefaultInstance()) { + authType_ = + com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth.newBuilder( + (com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth) authType_) + .mergeFrom(value) + .buildPartial(); + } else { + authType_ = value; + } + onChanged(); + } else { + if (authTypeCase_ == 3) { + accessKeySecretAuthBuilder_.mergeFrom(value); + } else { + accessKeySecretAuthBuilder_.setMessage(value); + } + } + authTypeCase_ = 3; + return this; + } + + /** + * + * + *
+     * Access Key ID and Secret Access Key for an AWS account.
+     * 
+ * + * .google.cloud.chronicle.v1.S3V2AccessKeySecretAuth access_key_secret_auth = 3; + */ + public Builder clearAccessKeySecretAuth() { + if (accessKeySecretAuthBuilder_ == null) { + if (authTypeCase_ == 3) { + authTypeCase_ = 0; + authType_ = null; + onChanged(); + } + } else { + if (authTypeCase_ == 3) { + authTypeCase_ = 0; + authType_ = null; + } + accessKeySecretAuthBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Access Key ID and Secret Access Key for an AWS account.
+     * 
+ * + * .google.cloud.chronicle.v1.S3V2AccessKeySecretAuth access_key_secret_auth = 3; + */ + public com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth.Builder + getAccessKeySecretAuthBuilder() { + return internalGetAccessKeySecretAuthFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Access Key ID and Secret Access Key for an AWS account.
+     * 
+ * + * .google.cloud.chronicle.v1.S3V2AccessKeySecretAuth access_key_secret_auth = 3; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuthOrBuilder + getAccessKeySecretAuthOrBuilder() { + if ((authTypeCase_ == 3) && (accessKeySecretAuthBuilder_ != null)) { + return accessKeySecretAuthBuilder_.getMessageOrBuilder(); + } else { + if (authTypeCase_ == 3) { + return (com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth) authType_; + } + return com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Access Key ID and Secret Access Key for an AWS account.
+     * 
+ * + * .google.cloud.chronicle.v1.S3V2AccessKeySecretAuth access_key_secret_auth = 3; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth, + com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth.Builder, + com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuthOrBuilder> + internalGetAccessKeySecretAuthFieldBuilder() { + if (accessKeySecretAuthBuilder_ == null) { + if (!(authTypeCase_ == 3)) { + authType_ = com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth.getDefaultInstance(); + } + accessKeySecretAuthBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth, + com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth.Builder, + com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuthOrBuilder>( + (com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth) authType_, + getParentForChildren(), + isClean()); + authType_ = null; + } + authTypeCase_ = 3; + onChanged(); + return accessKeySecretAuthBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth, + com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth.Builder, + com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuthOrBuilder> + awsIamRoleAuthBuilder_; + + /** + * + * + *
+     * AWS IAM Role Auth for Identity Federation.
+     * 
+ * + * .google.cloud.chronicle.v1.S3V2AwsIamRoleAuth aws_iam_role_auth = 5; + * + * @return Whether the awsIamRoleAuth field is set. + */ + @java.lang.Override + public boolean hasAwsIamRoleAuth() { + return authTypeCase_ == 5; + } + + /** + * + * + *
+     * AWS IAM Role Auth for Identity Federation.
+     * 
+ * + * .google.cloud.chronicle.v1.S3V2AwsIamRoleAuth aws_iam_role_auth = 5; + * + * @return The awsIamRoleAuth. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth getAwsIamRoleAuth() { + if (awsIamRoleAuthBuilder_ == null) { + if (authTypeCase_ == 5) { + return (com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth) authType_; + } + return com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth.getDefaultInstance(); + } else { + if (authTypeCase_ == 5) { + return awsIamRoleAuthBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth.getDefaultInstance(); + } + } + + /** + * + * + *
+     * AWS IAM Role Auth for Identity Federation.
+     * 
+ * + * .google.cloud.chronicle.v1.S3V2AwsIamRoleAuth aws_iam_role_auth = 5; + */ + public Builder setAwsIamRoleAuth(com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth value) { + if (awsIamRoleAuthBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authType_ = value; + onChanged(); + } else { + awsIamRoleAuthBuilder_.setMessage(value); + } + authTypeCase_ = 5; + return this; + } + + /** + * + * + *
+     * AWS IAM Role Auth for Identity Federation.
+     * 
+ * + * .google.cloud.chronicle.v1.S3V2AwsIamRoleAuth aws_iam_role_auth = 5; + */ + public Builder setAwsIamRoleAuth( + com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth.Builder builderForValue) { + if (awsIamRoleAuthBuilder_ == null) { + authType_ = builderForValue.build(); + onChanged(); + } else { + awsIamRoleAuthBuilder_.setMessage(builderForValue.build()); + } + authTypeCase_ = 5; + return this; + } + + /** + * + * + *
+     * AWS IAM Role Auth for Identity Federation.
+     * 
+ * + * .google.cloud.chronicle.v1.S3V2AwsIamRoleAuth aws_iam_role_auth = 5; + */ + public Builder mergeAwsIamRoleAuth(com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth value) { + if (awsIamRoleAuthBuilder_ == null) { + if (authTypeCase_ == 5 + && authType_ != com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth.getDefaultInstance()) { + authType_ = + com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth.newBuilder( + (com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth) authType_) + .mergeFrom(value) + .buildPartial(); + } else { + authType_ = value; + } + onChanged(); + } else { + if (authTypeCase_ == 5) { + awsIamRoleAuthBuilder_.mergeFrom(value); + } else { + awsIamRoleAuthBuilder_.setMessage(value); + } + } + authTypeCase_ = 5; + return this; + } + + /** + * + * + *
+     * AWS IAM Role Auth for Identity Federation.
+     * 
+ * + * .google.cloud.chronicle.v1.S3V2AwsIamRoleAuth aws_iam_role_auth = 5; + */ + public Builder clearAwsIamRoleAuth() { + if (awsIamRoleAuthBuilder_ == null) { + if (authTypeCase_ == 5) { + authTypeCase_ = 0; + authType_ = null; + onChanged(); + } + } else { + if (authTypeCase_ == 5) { + authTypeCase_ = 0; + authType_ = null; + } + awsIamRoleAuthBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * AWS IAM Role Auth for Identity Federation.
+     * 
+ * + * .google.cloud.chronicle.v1.S3V2AwsIamRoleAuth aws_iam_role_auth = 5; + */ + public com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth.Builder getAwsIamRoleAuthBuilder() { + return internalGetAwsIamRoleAuthFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * AWS IAM Role Auth for Identity Federation.
+     * 
+ * + * .google.cloud.chronicle.v1.S3V2AwsIamRoleAuth aws_iam_role_auth = 5; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuthOrBuilder getAwsIamRoleAuthOrBuilder() { + if ((authTypeCase_ == 5) && (awsIamRoleAuthBuilder_ != null)) { + return awsIamRoleAuthBuilder_.getMessageOrBuilder(); + } else { + if (authTypeCase_ == 5) { + return (com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth) authType_; + } + return com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth.getDefaultInstance(); + } + } + + /** + * + * + *
+     * AWS IAM Role Auth for Identity Federation.
+     * 
+ * + * .google.cloud.chronicle.v1.S3V2AwsIamRoleAuth aws_iam_role_auth = 5; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth, + com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth.Builder, + com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuthOrBuilder> + internalGetAwsIamRoleAuthFieldBuilder() { + if (awsIamRoleAuthBuilder_ == null) { + if (!(authTypeCase_ == 5)) { + authType_ = com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth.getDefaultInstance(); + } + awsIamRoleAuthBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth, + com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth.Builder, + com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuthOrBuilder>( + (com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth) authType_, + getParentForChildren(), + isClean()); + authType_ = null; + } + authTypeCase_ = 5; + onChanged(); + return awsIamRoleAuthBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.S3AuthV2) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.S3AuthV2) + private static final com.google.cloud.chronicle.v1.S3AuthV2 DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.S3AuthV2(); + } + + public static com.google.cloud.chronicle.v1.S3AuthV2 getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public S3AuthV2 parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.S3AuthV2 getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/S3AuthV2OrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/S3AuthV2OrBuilder.java new file mode 100644 index 000000000000..43d2e3301e1e --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/S3AuthV2OrBuilder.java @@ -0,0 +1,104 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface S3AuthV2OrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.S3AuthV2) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Access Key ID and Secret Access Key for an AWS account.
+   * 
+ * + * .google.cloud.chronicle.v1.S3V2AccessKeySecretAuth access_key_secret_auth = 3; + * + * @return Whether the accessKeySecretAuth field is set. + */ + boolean hasAccessKeySecretAuth(); + + /** + * + * + *
+   * Access Key ID and Secret Access Key for an AWS account.
+   * 
+ * + * .google.cloud.chronicle.v1.S3V2AccessKeySecretAuth access_key_secret_auth = 3; + * + * @return The accessKeySecretAuth. + */ + com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth getAccessKeySecretAuth(); + + /** + * + * + *
+   * Access Key ID and Secret Access Key for an AWS account.
+   * 
+ * + * .google.cloud.chronicle.v1.S3V2AccessKeySecretAuth access_key_secret_auth = 3; + */ + com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuthOrBuilder getAccessKeySecretAuthOrBuilder(); + + /** + * + * + *
+   * AWS IAM Role Auth for Identity Federation.
+   * 
+ * + * .google.cloud.chronicle.v1.S3V2AwsIamRoleAuth aws_iam_role_auth = 5; + * + * @return Whether the awsIamRoleAuth field is set. + */ + boolean hasAwsIamRoleAuth(); + + /** + * + * + *
+   * AWS IAM Role Auth for Identity Federation.
+   * 
+ * + * .google.cloud.chronicle.v1.S3V2AwsIamRoleAuth aws_iam_role_auth = 5; + * + * @return The awsIamRoleAuth. + */ + com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth getAwsIamRoleAuth(); + + /** + * + * + *
+   * AWS IAM Role Auth for Identity Federation.
+   * 
+ * + * .google.cloud.chronicle.v1.S3V2AwsIamRoleAuth aws_iam_role_auth = 5; + */ + com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuthOrBuilder getAwsIamRoleAuthOrBuilder(); + + com.google.cloud.chronicle.v1.S3AuthV2.AuthTypeCase getAuthTypeCase(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/S3Region.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/S3Region.java new file mode 100644 index 000000000000..07d38fe26712 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/S3Region.java @@ -0,0 +1,923 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * AWS S3 regions:
+ * https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region.
+ * 
+ * + * Protobuf enum {@code google.cloud.chronicle.v1.S3Region} + */ +@com.google.protobuf.Generated +public enum S3Region implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+   * Unspecified region means Auto detect.
+   * Auto detect does not successfully detect GOV Cloud.
+   * 
+ * + * S3_REGION_UNSPECIFIED = 0; + */ + S3_REGION_UNSPECIFIED(0), + /** + * + * + *
+   * US.
+   * N. Virginia (previously known as US_STANDARD).
+   * 
+ * + * US_EAST_1 = 1; + */ + US_EAST_1(1), + /** + * + * + *
+   * Ohio.
+   * 
+ * + * US_EAST_2 = 2; + */ + US_EAST_2(2), + /** + * + * + *
+   * N. California.
+   * 
+ * + * US_WEST_1 = 3; + */ + US_WEST_1(3), + /** + * + * + *
+   * Oregon.
+   * 
+ * + * US_WEST_2 = 4; + */ + US_WEST_2(4), + /** + * + * + *
+   * Not accessible unless AWS US Govt. account.
+   * 
+ * + * US_GOV_CLOUD = 5; + */ + US_GOV_CLOUD(5), + /** + * + * + *
+   * Not accessible unless AWS US Govt. account.
+   * 
+ * + * US_GOV_EAST_1 = 6; + */ + US_GOV_EAST_1(6), + /** + * + * + *
+   * Europe.
+   * Ireland.
+   * 
+ * + * EU_WEST_1 = 7; + */ + EU_WEST_1(7), + /** + * + * + *
+   * London.
+   * 
+ * + * EU_WEST_2 = 8; + */ + EU_WEST_2(8), + /** + * + * + *
+   * Paris.
+   * 
+ * + * EU_WEST_3 = 9; + */ + EU_WEST_3(9), + /** + * + * + *
+   * Frankfurt.
+   * 
+ * + * EU_CENTRAL_1 = 10; + */ + EU_CENTRAL_1(10), + /** + * + * + *
+   * Stockholm.
+   * 
+ * + * EU_NORTH_1 = 11; + */ + EU_NORTH_1(11), + /** + * + * + *
+   * Milan.
+   * 
+ * + * EU_SOUTH_1 = 21; + */ + EU_SOUTH_1(21), + /** + * + * + *
+   * Asia Pacific
+   * Mumbai.
+   * 
+ * + * AP_SOUTH_1 = 12; + */ + AP_SOUTH_1(12), + /** + * + * + *
+   * Singapore.
+   * 
+ * + * AP_SOUTHEAST_1 = 13; + */ + AP_SOUTHEAST_1(13), + /** + * + * + *
+   * Sydney.
+   * 
+ * + * AP_SOUTHEAST_2 = 14; + */ + AP_SOUTHEAST_2(14), + /** + * + * + *
+   * Jakarta.
+   * 
+ * + * AP_SOUTHEAST_3 = 22; + */ + AP_SOUTHEAST_3(22), + /** + * + * + *
+   * Tokyo.
+   * 
+ * + * AP_NORTHEAST_1 = 15; + */ + AP_NORTHEAST_1(15), + /** + * + * + *
+   * Seoul.
+   * 
+ * + * AP_NORTHEAST_2 = 16; + */ + AP_NORTHEAST_2(16), + /** + * + * + *
+   * Osaka.
+   * 
+ * + * AP_NORTHEAST_3 = 23; + */ + AP_NORTHEAST_3(23), + /** + * + * + *
+   * Hong Kong.
+   * 
+ * + * AP_EAST_1 = 24; + */ + AP_EAST_1(24), + /** + * + * + *
+   * South America.
+   * Sao Paulo.
+   * 
+ * + * SA_EAST_1 = 17; + */ + SA_EAST_1(17), + /** + * + * + *
+   * China - Not accessible unless AWS China account.
+   * China - Beijing.
+   * 
+ * + * CN_NORTH_1 = 18; + */ + CN_NORTH_1(18), + /** + * + * + *
+   * China - Ningxia.
+   * 
+ * + * CN_NORTHWEST_1 = 19; + */ + CN_NORTHWEST_1(19), + /** + * + * + *
+   * Canada.
+   * Canada Central.
+   * 
+ * + * CA_CENTRAL_1 = 20; + */ + CA_CENTRAL_1(20), + /** + * + * + *
+   * Africa.
+   * Capetown.
+   * 
+ * + * AF_SOUTH_1 = 25; + */ + AF_SOUTH_1(25), + /** + * + * + *
+   * Middle East.
+   * Bahrain.
+   * 
+ * + * ME_SOUTH_1 = 26; + */ + ME_SOUTH_1(26), + /** + * + * + *
+   * Asia Pacific (Hyderabad).
+   * 
+ * + * AP_SOUTH_2 = 27; + */ + AP_SOUTH_2(27), + /** + * + * + *
+   * Asia Pacific (Melbourne).
+   * 
+ * + * AP_SOUTHEAST_4 = 28; + */ + AP_SOUTHEAST_4(28), + /** + * + * + *
+   * Canada West (Calgary).
+   * 
+ * + * CA_WEST_1 = 29; + */ + CA_WEST_1(29), + /** + * + * + *
+   * Europe (Spain).
+   * 
+ * + * EU_SOUTH_2 = 30; + */ + EU_SOUTH_2(30), + /** + * + * + *
+   * Europe (Zurich).
+   * 
+ * + * EU_CENTRAL_2 = 31; + */ + EU_CENTRAL_2(31), + /** + * + * + *
+   * Israel (Tel Aviv).
+   * 
+ * + * IL_CENTRAL_1 = 32; + */ + IL_CENTRAL_1(32), + /** + * + * + *
+   * Middle East (UAE).
+   * 
+ * + * ME_CENTRAL_1 = 33; + */ + ME_CENTRAL_1(33), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "S3Region"); + } + + /** + * + * + *
+   * Unspecified region means Auto detect.
+   * Auto detect does not successfully detect GOV Cloud.
+   * 
+ * + * S3_REGION_UNSPECIFIED = 0; + */ + public static final int S3_REGION_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
+   * US.
+   * N. Virginia (previously known as US_STANDARD).
+   * 
+ * + * US_EAST_1 = 1; + */ + public static final int US_EAST_1_VALUE = 1; + + /** + * + * + *
+   * Ohio.
+   * 
+ * + * US_EAST_2 = 2; + */ + public static final int US_EAST_2_VALUE = 2; + + /** + * + * + *
+   * N. California.
+   * 
+ * + * US_WEST_1 = 3; + */ + public static final int US_WEST_1_VALUE = 3; + + /** + * + * + *
+   * Oregon.
+   * 
+ * + * US_WEST_2 = 4; + */ + public static final int US_WEST_2_VALUE = 4; + + /** + * + * + *
+   * Not accessible unless AWS US Govt. account.
+   * 
+ * + * US_GOV_CLOUD = 5; + */ + public static final int US_GOV_CLOUD_VALUE = 5; + + /** + * + * + *
+   * Not accessible unless AWS US Govt. account.
+   * 
+ * + * US_GOV_EAST_1 = 6; + */ + public static final int US_GOV_EAST_1_VALUE = 6; + + /** + * + * + *
+   * Europe.
+   * Ireland.
+   * 
+ * + * EU_WEST_1 = 7; + */ + public static final int EU_WEST_1_VALUE = 7; + + /** + * + * + *
+   * London.
+   * 
+ * + * EU_WEST_2 = 8; + */ + public static final int EU_WEST_2_VALUE = 8; + + /** + * + * + *
+   * Paris.
+   * 
+ * + * EU_WEST_3 = 9; + */ + public static final int EU_WEST_3_VALUE = 9; + + /** + * + * + *
+   * Frankfurt.
+   * 
+ * + * EU_CENTRAL_1 = 10; + */ + public static final int EU_CENTRAL_1_VALUE = 10; + + /** + * + * + *
+   * Stockholm.
+   * 
+ * + * EU_NORTH_1 = 11; + */ + public static final int EU_NORTH_1_VALUE = 11; + + /** + * + * + *
+   * Milan.
+   * 
+ * + * EU_SOUTH_1 = 21; + */ + public static final int EU_SOUTH_1_VALUE = 21; + + /** + * + * + *
+   * Asia Pacific
+   * Mumbai.
+   * 
+ * + * AP_SOUTH_1 = 12; + */ + public static final int AP_SOUTH_1_VALUE = 12; + + /** + * + * + *
+   * Singapore.
+   * 
+ * + * AP_SOUTHEAST_1 = 13; + */ + public static final int AP_SOUTHEAST_1_VALUE = 13; + + /** + * + * + *
+   * Sydney.
+   * 
+ * + * AP_SOUTHEAST_2 = 14; + */ + public static final int AP_SOUTHEAST_2_VALUE = 14; + + /** + * + * + *
+   * Jakarta.
+   * 
+ * + * AP_SOUTHEAST_3 = 22; + */ + public static final int AP_SOUTHEAST_3_VALUE = 22; + + /** + * + * + *
+   * Tokyo.
+   * 
+ * + * AP_NORTHEAST_1 = 15; + */ + public static final int AP_NORTHEAST_1_VALUE = 15; + + /** + * + * + *
+   * Seoul.
+   * 
+ * + * AP_NORTHEAST_2 = 16; + */ + public static final int AP_NORTHEAST_2_VALUE = 16; + + /** + * + * + *
+   * Osaka.
+   * 
+ * + * AP_NORTHEAST_3 = 23; + */ + public static final int AP_NORTHEAST_3_VALUE = 23; + + /** + * + * + *
+   * Hong Kong.
+   * 
+ * + * AP_EAST_1 = 24; + */ + public static final int AP_EAST_1_VALUE = 24; + + /** + * + * + *
+   * South America.
+   * Sao Paulo.
+   * 
+ * + * SA_EAST_1 = 17; + */ + public static final int SA_EAST_1_VALUE = 17; + + /** + * + * + *
+   * China - Not accessible unless AWS China account.
+   * China - Beijing.
+   * 
+ * + * CN_NORTH_1 = 18; + */ + public static final int CN_NORTH_1_VALUE = 18; + + /** + * + * + *
+   * China - Ningxia.
+   * 
+ * + * CN_NORTHWEST_1 = 19; + */ + public static final int CN_NORTHWEST_1_VALUE = 19; + + /** + * + * + *
+   * Canada.
+   * Canada Central.
+   * 
+ * + * CA_CENTRAL_1 = 20; + */ + public static final int CA_CENTRAL_1_VALUE = 20; + + /** + * + * + *
+   * Africa.
+   * Capetown.
+   * 
+ * + * AF_SOUTH_1 = 25; + */ + public static final int AF_SOUTH_1_VALUE = 25; + + /** + * + * + *
+   * Middle East.
+   * Bahrain.
+   * 
+ * + * ME_SOUTH_1 = 26; + */ + public static final int ME_SOUTH_1_VALUE = 26; + + /** + * + * + *
+   * Asia Pacific (Hyderabad).
+   * 
+ * + * AP_SOUTH_2 = 27; + */ + public static final int AP_SOUTH_2_VALUE = 27; + + /** + * + * + *
+   * Asia Pacific (Melbourne).
+   * 
+ * + * AP_SOUTHEAST_4 = 28; + */ + public static final int AP_SOUTHEAST_4_VALUE = 28; + + /** + * + * + *
+   * Canada West (Calgary).
+   * 
+ * + * CA_WEST_1 = 29; + */ + public static final int CA_WEST_1_VALUE = 29; + + /** + * + * + *
+   * Europe (Spain).
+   * 
+ * + * EU_SOUTH_2 = 30; + */ + public static final int EU_SOUTH_2_VALUE = 30; + + /** + * + * + *
+   * Europe (Zurich).
+   * 
+ * + * EU_CENTRAL_2 = 31; + */ + public static final int EU_CENTRAL_2_VALUE = 31; + + /** + * + * + *
+   * Israel (Tel Aviv).
+   * 
+ * + * IL_CENTRAL_1 = 32; + */ + public static final int IL_CENTRAL_1_VALUE = 32; + + /** + * + * + *
+   * Middle East (UAE).
+   * 
+ * + * ME_CENTRAL_1 = 33; + */ + public static final int ME_CENTRAL_1_VALUE = 33; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static S3Region valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static S3Region forNumber(int value) { + switch (value) { + case 0: + return S3_REGION_UNSPECIFIED; + case 1: + return US_EAST_1; + case 2: + return US_EAST_2; + case 3: + return US_WEST_1; + case 4: + return US_WEST_2; + case 5: + return US_GOV_CLOUD; + case 6: + return US_GOV_EAST_1; + case 7: + return EU_WEST_1; + case 8: + return EU_WEST_2; + case 9: + return EU_WEST_3; + case 10: + return EU_CENTRAL_1; + case 11: + return EU_NORTH_1; + case 21: + return EU_SOUTH_1; + case 12: + return AP_SOUTH_1; + case 13: + return AP_SOUTHEAST_1; + case 14: + return AP_SOUTHEAST_2; + case 22: + return AP_SOUTHEAST_3; + case 15: + return AP_NORTHEAST_1; + case 16: + return AP_NORTHEAST_2; + case 23: + return AP_NORTHEAST_3; + case 24: + return AP_EAST_1; + case 17: + return SA_EAST_1; + case 18: + return CN_NORTH_1; + case 19: + return CN_NORTHWEST_1; + case 20: + return CA_CENTRAL_1; + case 25: + return AF_SOUTH_1; + case 26: + return ME_SOUTH_1; + case 27: + return AP_SOUTH_2; + case 28: + return AP_SOUTHEAST_4; + case 29: + return CA_WEST_1; + case 30: + return EU_SOUTH_2; + case 31: + return EU_CENTRAL_2; + case 32: + return IL_CENTRAL_1; + case 33: + return ME_CENTRAL_1; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public S3Region findValueByNumber(int number) { + return S3Region.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto.getDescriptor().getEnumTypes().get(3); + } + + private static final S3Region[] VALUES = values(); + + public static S3Region valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private S3Region(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.chronicle.v1.S3Region) +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/S3V2AccessKeySecretAuth.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/S3V2AccessKeySecretAuth.java new file mode 100644 index 000000000000..fee08408bc13 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/S3V2AccessKeySecretAuth.java @@ -0,0 +1,793 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * S3 V2 access key and secret auth.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.S3V2AccessKeySecretAuth} + */ +@com.google.protobuf.Generated +public final class S3V2AccessKeySecretAuth extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.S3V2AccessKeySecretAuth) + S3V2AccessKeySecretAuthOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "S3V2AccessKeySecretAuth"); + } + + // Use S3V2AccessKeySecretAuth.newBuilder() to construct. + private S3V2AccessKeySecretAuth(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private S3V2AccessKeySecretAuth() { + accessKeyId_ = ""; + secretAccessKey_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_S3V2AccessKeySecretAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_S3V2AccessKeySecretAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth.class, + com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth.Builder.class); + } + + public static final int ACCESS_KEY_ID_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object accessKeyId_ = ""; + + /** + * + * + *
+   * Required. Access Key ID for an AWS account (a 20-character, alphanumeric
+   * string).
+   * 
+ * + * string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The accessKeyId. + */ + @java.lang.Override + public java.lang.String getAccessKeyId() { + java.lang.Object ref = accessKeyId_; + 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(); + accessKeyId_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Access Key ID for an AWS account (a 20-character, alphanumeric
+   * string).
+   * 
+ * + * string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for accessKeyId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAccessKeyIdBytes() { + java.lang.Object ref = accessKeyId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + accessKeyId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SECRET_ACCESS_KEY_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object secretAccessKey_ = ""; + + /** + * + * + *
+   * Required. Secret Access Key for an AWS account (a 40-character string).
+   * 
+ * + * string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The secretAccessKey. + */ + @java.lang.Override + public java.lang.String getSecretAccessKey() { + java.lang.Object ref = secretAccessKey_; + 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(); + secretAccessKey_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Secret Access Key for an AWS account (a 40-character string).
+   * 
+ * + * string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for secretAccessKey. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSecretAccessKeyBytes() { + java.lang.Object ref = secretAccessKey_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + secretAccessKey_ = 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.GeneratedMessage.isStringEmpty(accessKeyId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, accessKeyId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(secretAccessKey_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, secretAccessKey_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(accessKeyId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, accessKeyId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(secretAccessKey_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, secretAccessKey_); + } + 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.cloud.chronicle.v1.S3V2AccessKeySecretAuth)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth other = + (com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth) obj; + + if (!getAccessKeyId().equals(other.getAccessKeyId())) return false; + if (!getSecretAccessKey().equals(other.getSecretAccessKey())) 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) + ACCESS_KEY_ID_FIELD_NUMBER; + hash = (53 * hash) + getAccessKeyId().hashCode(); + hash = (37 * hash) + SECRET_ACCESS_KEY_FIELD_NUMBER; + hash = (53 * hash) + getSecretAccessKey().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth 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.cloud.chronicle.v1.S3V2AccessKeySecretAuth parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.S3V2AccessKeySecretAuth 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * S3 V2 access key and secret auth.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.S3V2AccessKeySecretAuth} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.S3V2AccessKeySecretAuth) + com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuthOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_S3V2AccessKeySecretAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_S3V2AccessKeySecretAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth.class, + com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + accessKeyId_ = ""; + secretAccessKey_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_S3V2AccessKeySecretAuth_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth build() { + com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth buildPartial() { + com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth result = + new com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.accessKeyId_ = accessKeyId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.secretAccessKey_ = secretAccessKey_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth) { + return mergeFrom((com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth other) { + if (other == com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth.getDefaultInstance()) + return this; + if (!other.getAccessKeyId().isEmpty()) { + accessKeyId_ = other.accessKeyId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSecretAccessKey().isEmpty()) { + secretAccessKey_ = other.secretAccessKey_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + accessKeyId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + secretAccessKey_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object accessKeyId_ = ""; + + /** + * + * + *
+     * Required. Access Key ID for an AWS account (a 20-character, alphanumeric
+     * string).
+     * 
+ * + * string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The accessKeyId. + */ + public java.lang.String getAccessKeyId() { + java.lang.Object ref = accessKeyId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + accessKeyId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Access Key ID for an AWS account (a 20-character, alphanumeric
+     * string).
+     * 
+ * + * string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for accessKeyId. + */ + public com.google.protobuf.ByteString getAccessKeyIdBytes() { + java.lang.Object ref = accessKeyId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + accessKeyId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Access Key ID for an AWS account (a 20-character, alphanumeric
+     * string).
+     * 
+ * + * string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The accessKeyId to set. + * @return This builder for chaining. + */ + public Builder setAccessKeyId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + accessKeyId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Access Key ID for an AWS account (a 20-character, alphanumeric
+     * string).
+     * 
+ * + * string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearAccessKeyId() { + accessKeyId_ = getDefaultInstance().getAccessKeyId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Access Key ID for an AWS account (a 20-character, alphanumeric
+     * string).
+     * 
+ * + * string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for accessKeyId to set. + * @return This builder for chaining. + */ + public Builder setAccessKeyIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + accessKeyId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object secretAccessKey_ = ""; + + /** + * + * + *
+     * Required. Secret Access Key for an AWS account (a 40-character string).
+     * 
+ * + * string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The secretAccessKey. + */ + public java.lang.String getSecretAccessKey() { + java.lang.Object ref = secretAccessKey_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + secretAccessKey_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Secret Access Key for an AWS account (a 40-character string).
+     * 
+ * + * string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for secretAccessKey. + */ + public com.google.protobuf.ByteString getSecretAccessKeyBytes() { + java.lang.Object ref = secretAccessKey_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + secretAccessKey_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Secret Access Key for an AWS account (a 40-character string).
+     * 
+ * + * string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The secretAccessKey to set. + * @return This builder for chaining. + */ + public Builder setSecretAccessKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + secretAccessKey_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Secret Access Key for an AWS account (a 40-character string).
+     * 
+ * + * string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearSecretAccessKey() { + secretAccessKey_ = getDefaultInstance().getSecretAccessKey(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Secret Access Key for an AWS account (a 40-character string).
+     * 
+ * + * string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for secretAccessKey to set. + * @return This builder for chaining. + */ + public Builder setSecretAccessKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + secretAccessKey_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.S3V2AccessKeySecretAuth) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.S3V2AccessKeySecretAuth) + private static final com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth(); + } + + public static com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public S3V2AccessKeySecretAuth parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.S3V2AccessKeySecretAuth getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/S3V2AccessKeySecretAuthOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/S3V2AccessKeySecretAuthOrBuilder.java new file mode 100644 index 000000000000..423dbef42a4a --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/S3V2AccessKeySecretAuthOrBuilder.java @@ -0,0 +1,82 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface S3V2AccessKeySecretAuthOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.S3V2AccessKeySecretAuth) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Access Key ID for an AWS account (a 20-character, alphanumeric
+   * string).
+   * 
+ * + * string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The accessKeyId. + */ + java.lang.String getAccessKeyId(); + + /** + * + * + *
+   * Required. Access Key ID for an AWS account (a 20-character, alphanumeric
+   * string).
+   * 
+ * + * string access_key_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for accessKeyId. + */ + com.google.protobuf.ByteString getAccessKeyIdBytes(); + + /** + * + * + *
+   * Required. Secret Access Key for an AWS account (a 40-character string).
+   * 
+ * + * string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The secretAccessKey. + */ + java.lang.String getSecretAccessKey(); + + /** + * + * + *
+   * Required. Secret Access Key for an AWS account (a 40-character string).
+   * 
+ * + * string secret_access_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for secretAccessKey. + */ + com.google.protobuf.ByteString getSecretAccessKeyBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/S3V2AwsIamRoleAuth.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/S3V2AwsIamRoleAuth.java new file mode 100644 index 000000000000..29e450bdf0ad --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/S3V2AwsIamRoleAuth.java @@ -0,0 +1,785 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * AWS IAM Role Auth for S3 V2.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.S3V2AwsIamRoleAuth} + */ +@com.google.protobuf.Generated +public final class S3V2AwsIamRoleAuth extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.S3V2AwsIamRoleAuth) + S3V2AwsIamRoleAuthOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "S3V2AwsIamRoleAuth"); + } + + // Use S3V2AwsIamRoleAuth.newBuilder() to construct. + private S3V2AwsIamRoleAuth(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private S3V2AwsIamRoleAuth() { + awsIamRoleArn_ = ""; + subjectId_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_S3V2AwsIamRoleAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_S3V2AwsIamRoleAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth.class, + com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth.Builder.class); + } + + public static final int AWS_IAM_ROLE_ARN_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object awsIamRoleArn_ = ""; + + /** + * + * + *
+   * AWS IAM Role for Identity Federation.
+   * 
+ * + * string aws_iam_role_arn = 1; + * + * @return The awsIamRoleArn. + */ + @java.lang.Override + public java.lang.String getAwsIamRoleArn() { + java.lang.Object ref = awsIamRoleArn_; + 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(); + awsIamRoleArn_ = s; + return s; + } + } + + /** + * + * + *
+   * AWS IAM Role for Identity Federation.
+   * 
+ * + * string aws_iam_role_arn = 1; + * + * @return The bytes for awsIamRoleArn. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAwsIamRoleArnBytes() { + java.lang.Object ref = awsIamRoleArn_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + awsIamRoleArn_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SUBJECT_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object subjectId_ = ""; + + /** + * + * + *
+   * Subject ID to use for S3.
+   * 
+ * + * string subject_id = 2; + * + * @return The subjectId. + */ + @java.lang.Override + public java.lang.String getSubjectId() { + java.lang.Object ref = subjectId_; + 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(); + subjectId_ = s; + return s; + } + } + + /** + * + * + *
+   * Subject ID to use for S3.
+   * 
+ * + * string subject_id = 2; + * + * @return The bytes for subjectId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSubjectIdBytes() { + java.lang.Object ref = subjectId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + subjectId_ = 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.GeneratedMessage.isStringEmpty(awsIamRoleArn_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, awsIamRoleArn_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subjectId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, subjectId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(awsIamRoleArn_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, awsIamRoleArn_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subjectId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, subjectId_); + } + 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.cloud.chronicle.v1.S3V2AwsIamRoleAuth)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth other = + (com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth) obj; + + if (!getAwsIamRoleArn().equals(other.getAwsIamRoleArn())) return false; + if (!getSubjectId().equals(other.getSubjectId())) 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) + AWS_IAM_ROLE_ARN_FIELD_NUMBER; + hash = (53 * hash) + getAwsIamRoleArn().hashCode(); + hash = (37 * hash) + SUBJECT_ID_FIELD_NUMBER; + hash = (53 * hash) + getSubjectId().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth 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.cloud.chronicle.v1.S3V2AwsIamRoleAuth parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.S3V2AwsIamRoleAuth 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * AWS IAM Role Auth for S3 V2.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.S3V2AwsIamRoleAuth} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.S3V2AwsIamRoleAuth) + com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuthOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_S3V2AwsIamRoleAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_S3V2AwsIamRoleAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth.class, + com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + awsIamRoleArn_ = ""; + subjectId_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_S3V2AwsIamRoleAuth_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth build() { + com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth buildPartial() { + com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth result = + new com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.awsIamRoleArn_ = awsIamRoleArn_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.subjectId_ = subjectId_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth) { + return mergeFrom((com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth other) { + if (other == com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth.getDefaultInstance()) + return this; + if (!other.getAwsIamRoleArn().isEmpty()) { + awsIamRoleArn_ = other.awsIamRoleArn_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSubjectId().isEmpty()) { + subjectId_ = other.subjectId_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + awsIamRoleArn_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + subjectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object awsIamRoleArn_ = ""; + + /** + * + * + *
+     * AWS IAM Role for Identity Federation.
+     * 
+ * + * string aws_iam_role_arn = 1; + * + * @return The awsIamRoleArn. + */ + public java.lang.String getAwsIamRoleArn() { + java.lang.Object ref = awsIamRoleArn_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + awsIamRoleArn_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * AWS IAM Role for Identity Federation.
+     * 
+ * + * string aws_iam_role_arn = 1; + * + * @return The bytes for awsIamRoleArn. + */ + public com.google.protobuf.ByteString getAwsIamRoleArnBytes() { + java.lang.Object ref = awsIamRoleArn_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + awsIamRoleArn_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * AWS IAM Role for Identity Federation.
+     * 
+ * + * string aws_iam_role_arn = 1; + * + * @param value The awsIamRoleArn to set. + * @return This builder for chaining. + */ + public Builder setAwsIamRoleArn(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + awsIamRoleArn_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * AWS IAM Role for Identity Federation.
+     * 
+ * + * string aws_iam_role_arn = 1; + * + * @return This builder for chaining. + */ + public Builder clearAwsIamRoleArn() { + awsIamRoleArn_ = getDefaultInstance().getAwsIamRoleArn(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * AWS IAM Role for Identity Federation.
+     * 
+ * + * string aws_iam_role_arn = 1; + * + * @param value The bytes for awsIamRoleArn to set. + * @return This builder for chaining. + */ + public Builder setAwsIamRoleArnBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + awsIamRoleArn_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object subjectId_ = ""; + + /** + * + * + *
+     * Subject ID to use for S3.
+     * 
+ * + * string subject_id = 2; + * + * @return The subjectId. + */ + public java.lang.String getSubjectId() { + java.lang.Object ref = subjectId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + subjectId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Subject ID to use for S3.
+     * 
+ * + * string subject_id = 2; + * + * @return The bytes for subjectId. + */ + public com.google.protobuf.ByteString getSubjectIdBytes() { + java.lang.Object ref = subjectId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + subjectId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Subject ID to use for S3.
+     * 
+ * + * string subject_id = 2; + * + * @param value The subjectId to set. + * @return This builder for chaining. + */ + public Builder setSubjectId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + subjectId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Subject ID to use for S3.
+     * 
+ * + * string subject_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearSubjectId() { + subjectId_ = getDefaultInstance().getSubjectId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Subject ID to use for S3.
+     * 
+ * + * string subject_id = 2; + * + * @param value The bytes for subjectId to set. + * @return This builder for chaining. + */ + public Builder setSubjectIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subjectId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.S3V2AwsIamRoleAuth) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.S3V2AwsIamRoleAuth) + private static final com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth(); + } + + public static com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public S3V2AwsIamRoleAuth parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.S3V2AwsIamRoleAuth getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/S3V2AwsIamRoleAuthOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/S3V2AwsIamRoleAuthOrBuilder.java new file mode 100644 index 000000000000..f0413711f07f --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/S3V2AwsIamRoleAuthOrBuilder.java @@ -0,0 +1,80 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface S3V2AwsIamRoleAuthOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.S3V2AwsIamRoleAuth) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * AWS IAM Role for Identity Federation.
+   * 
+ * + * string aws_iam_role_arn = 1; + * + * @return The awsIamRoleArn. + */ + java.lang.String getAwsIamRoleArn(); + + /** + * + * + *
+   * AWS IAM Role for Identity Federation.
+   * 
+ * + * string aws_iam_role_arn = 1; + * + * @return The bytes for awsIamRoleArn. + */ + com.google.protobuf.ByteString getAwsIamRoleArnBytes(); + + /** + * + * + *
+   * Subject ID to use for S3.
+   * 
+ * + * string subject_id = 2; + * + * @return The subjectId. + */ + java.lang.String getSubjectId(); + + /** + * + * + *
+   * Subject ID to use for S3.
+   * 
+ * + * string subject_id = 2; + * + * @return The bytes for subjectId. + */ + com.google.protobuf.ByteString getSubjectIdBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSAccessKeySecretAuth.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSAccessKeySecretAuth.java new file mode 100644 index 000000000000..5066195d774e --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSAccessKeySecretAuth.java @@ -0,0 +1,785 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Amazon SQS access key and secret auth.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.SQSAccessKeySecretAuth} + */ +@com.google.protobuf.Generated +public final class SQSAccessKeySecretAuth extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.SQSAccessKeySecretAuth) + SQSAccessKeySecretAuthOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "SQSAccessKeySecretAuth"); + } + + // Use SQSAccessKeySecretAuth.newBuilder() to construct. + private SQSAccessKeySecretAuth(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private SQSAccessKeySecretAuth() { + accessKeyId_ = ""; + secretAccessKey_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SQSAccessKeySecretAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SQSAccessKeySecretAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth.class, + com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth.Builder.class); + } + + public static final int ACCESS_KEY_ID_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object accessKeyId_ = ""; + + /** + * + * + *
+   * Access key ID.
+   * 
+ * + * string access_key_id = 1; + * + * @return The accessKeyId. + */ + @java.lang.Override + public java.lang.String getAccessKeyId() { + java.lang.Object ref = accessKeyId_; + 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(); + accessKeyId_ = s; + return s; + } + } + + /** + * + * + *
+   * Access key ID.
+   * 
+ * + * string access_key_id = 1; + * + * @return The bytes for accessKeyId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAccessKeyIdBytes() { + java.lang.Object ref = accessKeyId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + accessKeyId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SECRET_ACCESS_KEY_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object secretAccessKey_ = ""; + + /** + * + * + *
+   * Secret access key.
+   * 
+ * + * string secret_access_key = 2; + * + * @return The secretAccessKey. + */ + @java.lang.Override + public java.lang.String getSecretAccessKey() { + java.lang.Object ref = secretAccessKey_; + 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(); + secretAccessKey_ = s; + return s; + } + } + + /** + * + * + *
+   * Secret access key.
+   * 
+ * + * string secret_access_key = 2; + * + * @return The bytes for secretAccessKey. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSecretAccessKeyBytes() { + java.lang.Object ref = secretAccessKey_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + secretAccessKey_ = 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.GeneratedMessage.isStringEmpty(accessKeyId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, accessKeyId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(secretAccessKey_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, secretAccessKey_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(accessKeyId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, accessKeyId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(secretAccessKey_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, secretAccessKey_); + } + 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.cloud.chronicle.v1.SQSAccessKeySecretAuth)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth other = + (com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth) obj; + + if (!getAccessKeyId().equals(other.getAccessKeyId())) return false; + if (!getSecretAccessKey().equals(other.getSecretAccessKey())) 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) + ACCESS_KEY_ID_FIELD_NUMBER; + hash = (53 * hash) + getAccessKeyId().hashCode(); + hash = (37 * hash) + SECRET_ACCESS_KEY_FIELD_NUMBER; + hash = (53 * hash) + getSecretAccessKey().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth 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.cloud.chronicle.v1.SQSAccessKeySecretAuth parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.SQSAccessKeySecretAuth 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Amazon SQS access key and secret auth.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.SQSAccessKeySecretAuth} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.SQSAccessKeySecretAuth) + com.google.cloud.chronicle.v1.SQSAccessKeySecretAuthOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SQSAccessKeySecretAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SQSAccessKeySecretAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth.class, + com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + accessKeyId_ = ""; + secretAccessKey_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SQSAccessKeySecretAuth_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth build() { + com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth buildPartial() { + com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth result = + new com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.accessKeyId_ = accessKeyId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.secretAccessKey_ = secretAccessKey_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth) { + return mergeFrom((com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth other) { + if (other == com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth.getDefaultInstance()) + return this; + if (!other.getAccessKeyId().isEmpty()) { + accessKeyId_ = other.accessKeyId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSecretAccessKey().isEmpty()) { + secretAccessKey_ = other.secretAccessKey_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + accessKeyId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + secretAccessKey_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object accessKeyId_ = ""; + + /** + * + * + *
+     * Access key ID.
+     * 
+ * + * string access_key_id = 1; + * + * @return The accessKeyId. + */ + public java.lang.String getAccessKeyId() { + java.lang.Object ref = accessKeyId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + accessKeyId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Access key ID.
+     * 
+ * + * string access_key_id = 1; + * + * @return The bytes for accessKeyId. + */ + public com.google.protobuf.ByteString getAccessKeyIdBytes() { + java.lang.Object ref = accessKeyId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + accessKeyId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Access key ID.
+     * 
+ * + * string access_key_id = 1; + * + * @param value The accessKeyId to set. + * @return This builder for chaining. + */ + public Builder setAccessKeyId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + accessKeyId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Access key ID.
+     * 
+ * + * string access_key_id = 1; + * + * @return This builder for chaining. + */ + public Builder clearAccessKeyId() { + accessKeyId_ = getDefaultInstance().getAccessKeyId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Access key ID.
+     * 
+ * + * string access_key_id = 1; + * + * @param value The bytes for accessKeyId to set. + * @return This builder for chaining. + */ + public Builder setAccessKeyIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + accessKeyId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object secretAccessKey_ = ""; + + /** + * + * + *
+     * Secret access key.
+     * 
+ * + * string secret_access_key = 2; + * + * @return The secretAccessKey. + */ + public java.lang.String getSecretAccessKey() { + java.lang.Object ref = secretAccessKey_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + secretAccessKey_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Secret access key.
+     * 
+ * + * string secret_access_key = 2; + * + * @return The bytes for secretAccessKey. + */ + public com.google.protobuf.ByteString getSecretAccessKeyBytes() { + java.lang.Object ref = secretAccessKey_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + secretAccessKey_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Secret access key.
+     * 
+ * + * string secret_access_key = 2; + * + * @param value The secretAccessKey to set. + * @return This builder for chaining. + */ + public Builder setSecretAccessKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + secretAccessKey_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Secret access key.
+     * 
+ * + * string secret_access_key = 2; + * + * @return This builder for chaining. + */ + public Builder clearSecretAccessKey() { + secretAccessKey_ = getDefaultInstance().getSecretAccessKey(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Secret access key.
+     * 
+ * + * string secret_access_key = 2; + * + * @param value The bytes for secretAccessKey to set. + * @return This builder for chaining. + */ + public Builder setSecretAccessKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + secretAccessKey_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.SQSAccessKeySecretAuth) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.SQSAccessKeySecretAuth) + private static final com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth(); + } + + public static com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SQSAccessKeySecretAuth parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSAccessKeySecretAuthOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSAccessKeySecretAuthOrBuilder.java new file mode 100644 index 000000000000..f464b6b8239b --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSAccessKeySecretAuthOrBuilder.java @@ -0,0 +1,80 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface SQSAccessKeySecretAuthOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.SQSAccessKeySecretAuth) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Access key ID.
+   * 
+ * + * string access_key_id = 1; + * + * @return The accessKeyId. + */ + java.lang.String getAccessKeyId(); + + /** + * + * + *
+   * Access key ID.
+   * 
+ * + * string access_key_id = 1; + * + * @return The bytes for accessKeyId. + */ + com.google.protobuf.ByteString getAccessKeyIdBytes(); + + /** + * + * + *
+   * Secret access key.
+   * 
+ * + * string secret_access_key = 2; + * + * @return The secretAccessKey. + */ + java.lang.String getSecretAccessKey(); + + /** + * + * + *
+   * Secret access key.
+   * 
+ * + * string secret_access_key = 2; + * + * @return The bytes for secretAccessKey. + */ + com.google.protobuf.ByteString getSecretAccessKeyBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSAuth.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSAuth.java new file mode 100644 index 000000000000..d135457431e8 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSAuth.java @@ -0,0 +1,1065 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Amazon SQS auth.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.SQSAuth} + */ +@com.google.protobuf.Generated +public final class SQSAuth extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.SQSAuth) + SQSAuthOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "SQSAuth"); + } + + // Use SQSAuth.newBuilder() to construct. + private SQSAuth(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private SQSAuth() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SQSAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SQSAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.SQSAuth.class, + com.google.cloud.chronicle.v1.SQSAuth.Builder.class); + } + + private int bitField0_; + public static final int SQS_ACCESS_KEY_SECRET_AUTH_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth sqsAccessKeySecretAuth_; + + /** + * + * + *
+   * SQS access key secret auth.
+   * 
+ * + * .google.cloud.chronicle.v1.SQSAccessKeySecretAuth sqs_access_key_secret_auth = 1; + * + * @return Whether the sqsAccessKeySecretAuth field is set. + */ + @java.lang.Override + public boolean hasSqsAccessKeySecretAuth() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * SQS access key secret auth.
+   * 
+ * + * .google.cloud.chronicle.v1.SQSAccessKeySecretAuth sqs_access_key_secret_auth = 1; + * + * @return The sqsAccessKeySecretAuth. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth getSqsAccessKeySecretAuth() { + return sqsAccessKeySecretAuth_ == null + ? com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth.getDefaultInstance() + : sqsAccessKeySecretAuth_; + } + + /** + * + * + *
+   * SQS access key secret auth.
+   * 
+ * + * .google.cloud.chronicle.v1.SQSAccessKeySecretAuth sqs_access_key_secret_auth = 1; + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSAccessKeySecretAuthOrBuilder + getSqsAccessKeySecretAuthOrBuilder() { + return sqsAccessKeySecretAuth_ == null + ? com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth.getDefaultInstance() + : sqsAccessKeySecretAuth_; + } + + public static final int ADDITIONAL_S3_ACCESS_KEY_SECRET_AUTH_FIELD_NUMBER = 2; + private com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth + additionalS3AccessKeySecretAuth_; + + /** + * + * + *
+   * Authentication for the S3 bucket referred to by the items in the SQS queue.
+   * This is only required if it is different from the authentication for the
+   * queue.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth additional_s3_access_key_secret_auth = 2; + * + * + * @return Whether the additionalS3AccessKeySecretAuth field is set. + */ + @java.lang.Override + public boolean hasAdditionalS3AccessKeySecretAuth() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+   * Authentication for the S3 bucket referred to by the items in the SQS queue.
+   * This is only required if it is different from the authentication for the
+   * queue.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth additional_s3_access_key_secret_auth = 2; + * + * + * @return The additionalS3AccessKeySecretAuth. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth + getAdditionalS3AccessKeySecretAuth() { + return additionalS3AccessKeySecretAuth_ == null + ? com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth.getDefaultInstance() + : additionalS3AccessKeySecretAuth_; + } + + /** + * + * + *
+   * Authentication for the S3 bucket referred to by the items in the SQS queue.
+   * This is only required if it is different from the authentication for the
+   * queue.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth additional_s3_access_key_secret_auth = 2; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuthOrBuilder + getAdditionalS3AccessKeySecretAuthOrBuilder() { + return additionalS3AccessKeySecretAuth_ == null + ? com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth.getDefaultInstance() + : additionalS3AccessKeySecretAuth_; + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getSqsAccessKeySecretAuth()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getAdditionalS3AccessKeySecretAuth()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSqsAccessKeySecretAuth()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, getAdditionalS3AccessKeySecretAuth()); + } + 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.cloud.chronicle.v1.SQSAuth)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.SQSAuth other = (com.google.cloud.chronicle.v1.SQSAuth) obj; + + if (hasSqsAccessKeySecretAuth() != other.hasSqsAccessKeySecretAuth()) return false; + if (hasSqsAccessKeySecretAuth()) { + if (!getSqsAccessKeySecretAuth().equals(other.getSqsAccessKeySecretAuth())) return false; + } + if (hasAdditionalS3AccessKeySecretAuth() != other.hasAdditionalS3AccessKeySecretAuth()) + return false; + if (hasAdditionalS3AccessKeySecretAuth()) { + if (!getAdditionalS3AccessKeySecretAuth().equals(other.getAdditionalS3AccessKeySecretAuth())) + 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(); + if (hasSqsAccessKeySecretAuth()) { + hash = (37 * hash) + SQS_ACCESS_KEY_SECRET_AUTH_FIELD_NUMBER; + hash = (53 * hash) + getSqsAccessKeySecretAuth().hashCode(); + } + if (hasAdditionalS3AccessKeySecretAuth()) { + hash = (37 * hash) + ADDITIONAL_S3_ACCESS_KEY_SECRET_AUTH_FIELD_NUMBER; + hash = (53 * hash) + getAdditionalS3AccessKeySecretAuth().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.SQSAuth parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SQSAuth parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SQSAuth parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SQSAuth 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.cloud.chronicle.v1.SQSAuth parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SQSAuth parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SQSAuth parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SQSAuth parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SQSAuth parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SQSAuth parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SQSAuth parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SQSAuth parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.SQSAuth 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Amazon SQS auth.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.SQSAuth} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.SQSAuth) + com.google.cloud.chronicle.v1.SQSAuthOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SQSAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SQSAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.SQSAuth.class, + com.google.cloud.chronicle.v1.SQSAuth.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.SQSAuth.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetSqsAccessKeySecretAuthFieldBuilder(); + internalGetAdditionalS3AccessKeySecretAuthFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + sqsAccessKeySecretAuth_ = null; + if (sqsAccessKeySecretAuthBuilder_ != null) { + sqsAccessKeySecretAuthBuilder_.dispose(); + sqsAccessKeySecretAuthBuilder_ = null; + } + additionalS3AccessKeySecretAuth_ = null; + if (additionalS3AccessKeySecretAuthBuilder_ != null) { + additionalS3AccessKeySecretAuthBuilder_.dispose(); + additionalS3AccessKeySecretAuthBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SQSAuth_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSAuth getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.SQSAuth.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSAuth build() { + com.google.cloud.chronicle.v1.SQSAuth result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSAuth buildPartial() { + com.google.cloud.chronicle.v1.SQSAuth result = + new com.google.cloud.chronicle.v1.SQSAuth(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.SQSAuth result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.sqsAccessKeySecretAuth_ = + sqsAccessKeySecretAuthBuilder_ == null + ? sqsAccessKeySecretAuth_ + : sqsAccessKeySecretAuthBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.additionalS3AccessKeySecretAuth_ = + additionalS3AccessKeySecretAuthBuilder_ == null + ? additionalS3AccessKeySecretAuth_ + : additionalS3AccessKeySecretAuthBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.SQSAuth) { + return mergeFrom((com.google.cloud.chronicle.v1.SQSAuth) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.SQSAuth other) { + if (other == com.google.cloud.chronicle.v1.SQSAuth.getDefaultInstance()) return this; + if (other.hasSqsAccessKeySecretAuth()) { + mergeSqsAccessKeySecretAuth(other.getSqsAccessKeySecretAuth()); + } + if (other.hasAdditionalS3AccessKeySecretAuth()) { + mergeAdditionalS3AccessKeySecretAuth(other.getAdditionalS3AccessKeySecretAuth()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetSqsAccessKeySecretAuthFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + internalGetAdditionalS3AccessKeySecretAuthFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth sqsAccessKeySecretAuth_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth, + com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth.Builder, + com.google.cloud.chronicle.v1.SQSAccessKeySecretAuthOrBuilder> + sqsAccessKeySecretAuthBuilder_; + + /** + * + * + *
+     * SQS access key secret auth.
+     * 
+ * + * .google.cloud.chronicle.v1.SQSAccessKeySecretAuth sqs_access_key_secret_auth = 1; + * + * + * @return Whether the sqsAccessKeySecretAuth field is set. + */ + public boolean hasSqsAccessKeySecretAuth() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * SQS access key secret auth.
+     * 
+ * + * .google.cloud.chronicle.v1.SQSAccessKeySecretAuth sqs_access_key_secret_auth = 1; + * + * + * @return The sqsAccessKeySecretAuth. + */ + public com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth getSqsAccessKeySecretAuth() { + if (sqsAccessKeySecretAuthBuilder_ == null) { + return sqsAccessKeySecretAuth_ == null + ? com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth.getDefaultInstance() + : sqsAccessKeySecretAuth_; + } else { + return sqsAccessKeySecretAuthBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * SQS access key secret auth.
+     * 
+ * + * .google.cloud.chronicle.v1.SQSAccessKeySecretAuth sqs_access_key_secret_auth = 1; + * + */ + public Builder setSqsAccessKeySecretAuth( + com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth value) { + if (sqsAccessKeySecretAuthBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + sqsAccessKeySecretAuth_ = value; + } else { + sqsAccessKeySecretAuthBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * SQS access key secret auth.
+     * 
+ * + * .google.cloud.chronicle.v1.SQSAccessKeySecretAuth sqs_access_key_secret_auth = 1; + * + */ + public Builder setSqsAccessKeySecretAuth( + com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth.Builder builderForValue) { + if (sqsAccessKeySecretAuthBuilder_ == null) { + sqsAccessKeySecretAuth_ = builderForValue.build(); + } else { + sqsAccessKeySecretAuthBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * SQS access key secret auth.
+     * 
+ * + * .google.cloud.chronicle.v1.SQSAccessKeySecretAuth sqs_access_key_secret_auth = 1; + * + */ + public Builder mergeSqsAccessKeySecretAuth( + com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth value) { + if (sqsAccessKeySecretAuthBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && sqsAccessKeySecretAuth_ != null + && sqsAccessKeySecretAuth_ + != com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth.getDefaultInstance()) { + getSqsAccessKeySecretAuthBuilder().mergeFrom(value); + } else { + sqsAccessKeySecretAuth_ = value; + } + } else { + sqsAccessKeySecretAuthBuilder_.mergeFrom(value); + } + if (sqsAccessKeySecretAuth_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * SQS access key secret auth.
+     * 
+ * + * .google.cloud.chronicle.v1.SQSAccessKeySecretAuth sqs_access_key_secret_auth = 1; + * + */ + public Builder clearSqsAccessKeySecretAuth() { + bitField0_ = (bitField0_ & ~0x00000001); + sqsAccessKeySecretAuth_ = null; + if (sqsAccessKeySecretAuthBuilder_ != null) { + sqsAccessKeySecretAuthBuilder_.dispose(); + sqsAccessKeySecretAuthBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * SQS access key secret auth.
+     * 
+ * + * .google.cloud.chronicle.v1.SQSAccessKeySecretAuth sqs_access_key_secret_auth = 1; + * + */ + public com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth.Builder + getSqsAccessKeySecretAuthBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetSqsAccessKeySecretAuthFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * SQS access key secret auth.
+     * 
+ * + * .google.cloud.chronicle.v1.SQSAccessKeySecretAuth sqs_access_key_secret_auth = 1; + * + */ + public com.google.cloud.chronicle.v1.SQSAccessKeySecretAuthOrBuilder + getSqsAccessKeySecretAuthOrBuilder() { + if (sqsAccessKeySecretAuthBuilder_ != null) { + return sqsAccessKeySecretAuthBuilder_.getMessageOrBuilder(); + } else { + return sqsAccessKeySecretAuth_ == null + ? com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth.getDefaultInstance() + : sqsAccessKeySecretAuth_; + } + } + + /** + * + * + *
+     * SQS access key secret auth.
+     * 
+ * + * .google.cloud.chronicle.v1.SQSAccessKeySecretAuth sqs_access_key_secret_auth = 1; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth, + com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth.Builder, + com.google.cloud.chronicle.v1.SQSAccessKeySecretAuthOrBuilder> + internalGetSqsAccessKeySecretAuthFieldBuilder() { + if (sqsAccessKeySecretAuthBuilder_ == null) { + sqsAccessKeySecretAuthBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth, + com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth.Builder, + com.google.cloud.chronicle.v1.SQSAccessKeySecretAuthOrBuilder>( + getSqsAccessKeySecretAuth(), getParentForChildren(), isClean()); + sqsAccessKeySecretAuth_ = null; + } + return sqsAccessKeySecretAuthBuilder_; + } + + private com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth + additionalS3AccessKeySecretAuth_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth, + com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth.Builder, + com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuthOrBuilder> + additionalS3AccessKeySecretAuthBuilder_; + + /** + * + * + *
+     * Authentication for the S3 bucket referred to by the items in the SQS queue.
+     * This is only required if it is different from the authentication for the
+     * queue.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth additional_s3_access_key_secret_auth = 2; + * + * + * @return Whether the additionalS3AccessKeySecretAuth field is set. + */ + public boolean hasAdditionalS3AccessKeySecretAuth() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+     * Authentication for the S3 bucket referred to by the items in the SQS queue.
+     * This is only required if it is different from the authentication for the
+     * queue.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth additional_s3_access_key_secret_auth = 2; + * + * + * @return The additionalS3AccessKeySecretAuth. + */ + public com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth + getAdditionalS3AccessKeySecretAuth() { + if (additionalS3AccessKeySecretAuthBuilder_ == null) { + return additionalS3AccessKeySecretAuth_ == null + ? com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth.getDefaultInstance() + : additionalS3AccessKeySecretAuth_; + } else { + return additionalS3AccessKeySecretAuthBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Authentication for the S3 bucket referred to by the items in the SQS queue.
+     * This is only required if it is different from the authentication for the
+     * queue.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth additional_s3_access_key_secret_auth = 2; + * + */ + public Builder setAdditionalS3AccessKeySecretAuth( + com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth value) { + if (additionalS3AccessKeySecretAuthBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + additionalS3AccessKeySecretAuth_ = value; + } else { + additionalS3AccessKeySecretAuthBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Authentication for the S3 bucket referred to by the items in the SQS queue.
+     * This is only required if it is different from the authentication for the
+     * queue.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth additional_s3_access_key_secret_auth = 2; + * + */ + public Builder setAdditionalS3AccessKeySecretAuth( + com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth.Builder builderForValue) { + if (additionalS3AccessKeySecretAuthBuilder_ == null) { + additionalS3AccessKeySecretAuth_ = builderForValue.build(); + } else { + additionalS3AccessKeySecretAuthBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Authentication for the S3 bucket referred to by the items in the SQS queue.
+     * This is only required if it is different from the authentication for the
+     * queue.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth additional_s3_access_key_secret_auth = 2; + * + */ + public Builder mergeAdditionalS3AccessKeySecretAuth( + com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth value) { + if (additionalS3AccessKeySecretAuthBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && additionalS3AccessKeySecretAuth_ != null + && additionalS3AccessKeySecretAuth_ + != com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth + .getDefaultInstance()) { + getAdditionalS3AccessKeySecretAuthBuilder().mergeFrom(value); + } else { + additionalS3AccessKeySecretAuth_ = value; + } + } else { + additionalS3AccessKeySecretAuthBuilder_.mergeFrom(value); + } + if (additionalS3AccessKeySecretAuth_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Authentication for the S3 bucket referred to by the items in the SQS queue.
+     * This is only required if it is different from the authentication for the
+     * queue.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth additional_s3_access_key_secret_auth = 2; + * + */ + public Builder clearAdditionalS3AccessKeySecretAuth() { + bitField0_ = (bitField0_ & ~0x00000002); + additionalS3AccessKeySecretAuth_ = null; + if (additionalS3AccessKeySecretAuthBuilder_ != null) { + additionalS3AccessKeySecretAuthBuilder_.dispose(); + additionalS3AccessKeySecretAuthBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Authentication for the S3 bucket referred to by the items in the SQS queue.
+     * This is only required if it is different from the authentication for the
+     * queue.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth additional_s3_access_key_secret_auth = 2; + * + */ + public com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth.Builder + getAdditionalS3AccessKeySecretAuthBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return internalGetAdditionalS3AccessKeySecretAuthFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Authentication for the S3 bucket referred to by the items in the SQS queue.
+     * This is only required if it is different from the authentication for the
+     * queue.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth additional_s3_access_key_secret_auth = 2; + * + */ + public com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuthOrBuilder + getAdditionalS3AccessKeySecretAuthOrBuilder() { + if (additionalS3AccessKeySecretAuthBuilder_ != null) { + return additionalS3AccessKeySecretAuthBuilder_.getMessageOrBuilder(); + } else { + return additionalS3AccessKeySecretAuth_ == null + ? com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth.getDefaultInstance() + : additionalS3AccessKeySecretAuth_; + } + } + + /** + * + * + *
+     * Authentication for the S3 bucket referred to by the items in the SQS queue.
+     * This is only required if it is different from the authentication for the
+     * queue.
+     * 
+ * + * + * .google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth additional_s3_access_key_secret_auth = 2; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth, + com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth.Builder, + com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuthOrBuilder> + internalGetAdditionalS3AccessKeySecretAuthFieldBuilder() { + if (additionalS3AccessKeySecretAuthBuilder_ == null) { + additionalS3AccessKeySecretAuthBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth, + com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth.Builder, + com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuthOrBuilder>( + getAdditionalS3AccessKeySecretAuth(), getParentForChildren(), isClean()); + additionalS3AccessKeySecretAuth_ = null; + } + return additionalS3AccessKeySecretAuthBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.SQSAuth) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.SQSAuth) + private static final com.google.cloud.chronicle.v1.SQSAuth DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.SQSAuth(); + } + + public static com.google.cloud.chronicle.v1.SQSAuth getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SQSAuth parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSAuth getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSAuthOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSAuthOrBuilder.java new file mode 100644 index 000000000000..afc209a7bd14 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSAuthOrBuilder.java @@ -0,0 +1,117 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface SQSAuthOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.SQSAuth) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * SQS access key secret auth.
+   * 
+ * + * .google.cloud.chronicle.v1.SQSAccessKeySecretAuth sqs_access_key_secret_auth = 1; + * + * @return Whether the sqsAccessKeySecretAuth field is set. + */ + boolean hasSqsAccessKeySecretAuth(); + + /** + * + * + *
+   * SQS access key secret auth.
+   * 
+ * + * .google.cloud.chronicle.v1.SQSAccessKeySecretAuth sqs_access_key_secret_auth = 1; + * + * @return The sqsAccessKeySecretAuth. + */ + com.google.cloud.chronicle.v1.SQSAccessKeySecretAuth getSqsAccessKeySecretAuth(); + + /** + * + * + *
+   * SQS access key secret auth.
+   * 
+ * + * .google.cloud.chronicle.v1.SQSAccessKeySecretAuth sqs_access_key_secret_auth = 1; + */ + com.google.cloud.chronicle.v1.SQSAccessKeySecretAuthOrBuilder + getSqsAccessKeySecretAuthOrBuilder(); + + /** + * + * + *
+   * Authentication for the S3 bucket referred to by the items in the SQS queue.
+   * This is only required if it is different from the authentication for the
+   * queue.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth additional_s3_access_key_secret_auth = 2; + * + * + * @return Whether the additionalS3AccessKeySecretAuth field is set. + */ + boolean hasAdditionalS3AccessKeySecretAuth(); + + /** + * + * + *
+   * Authentication for the S3 bucket referred to by the items in the SQS queue.
+   * This is only required if it is different from the authentication for the
+   * queue.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth additional_s3_access_key_secret_auth = 2; + * + * + * @return The additionalS3AccessKeySecretAuth. + */ + com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth + getAdditionalS3AccessKeySecretAuth(); + + /** + * + * + *
+   * Authentication for the S3 bucket referred to by the items in the SQS queue.
+   * This is only required if it is different from the authentication for the
+   * queue.
+   * 
+ * + * + * .google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuth additional_s3_access_key_secret_auth = 2; + * + */ + com.google.cloud.chronicle.v1.AdditionalS3AccessKeySecretAuthOrBuilder + getAdditionalS3AccessKeySecretAuthOrBuilder(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSAuthV2.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSAuthV2.java new file mode 100644 index 000000000000..05d0d0a73410 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSAuthV2.java @@ -0,0 +1,1158 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * A message containing fields used to authenticate with Amazon SQS.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.SQSAuthV2} + */ +@com.google.protobuf.Generated +public final class SQSAuthV2 extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.SQSAuthV2) + SQSAuthV2OrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "SQSAuthV2"); + } + + // Use SQSAuthV2.newBuilder() to construct. + private SQSAuthV2(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private SQSAuthV2() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SQSAuthV2_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SQSAuthV2_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.SQSAuthV2.class, + com.google.cloud.chronicle.v1.SQSAuthV2.Builder.class); + } + + private int authTypeCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object authType_; + + public enum AuthTypeCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + SQS_V2_ACCESS_KEY_SECRET_AUTH(3), + AWS_IAM_ROLE_AUTH(5), + AUTHTYPE_NOT_SET(0); + private final int value; + + private AuthTypeCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static AuthTypeCase valueOf(int value) { + return forNumber(value); + } + + public static AuthTypeCase forNumber(int value) { + switch (value) { + case 3: + return SQS_V2_ACCESS_KEY_SECRET_AUTH; + case 5: + return AWS_IAM_ROLE_AUTH; + case 0: + return AUTHTYPE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public AuthTypeCase getAuthTypeCase() { + return AuthTypeCase.forNumber(authTypeCase_); + } + + public static final int SQS_V2_ACCESS_KEY_SECRET_AUTH_FIELD_NUMBER = 3; + + /** + * + * + *
+   * Required. Auth key and secret for the SQS queue.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth sqs_v2_access_key_secret_auth = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the sqsV2AccessKeySecretAuth field is set. + */ + @java.lang.Override + public boolean hasSqsV2AccessKeySecretAuth() { + return authTypeCase_ == 3; + } + + /** + * + * + *
+   * Required. Auth key and secret for the SQS queue.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth sqs_v2_access_key_secret_auth = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The sqsV2AccessKeySecretAuth. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth getSqsV2AccessKeySecretAuth() { + if (authTypeCase_ == 3) { + return (com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth) authType_; + } + return com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth.getDefaultInstance(); + } + + /** + * + * + *
+   * Required. Auth key and secret for the SQS queue.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth sqs_v2_access_key_secret_auth = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuthOrBuilder + getSqsV2AccessKeySecretAuthOrBuilder() { + if (authTypeCase_ == 3) { + return (com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth) authType_; + } + return com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth.getDefaultInstance(); + } + + public static final int AWS_IAM_ROLE_AUTH_FIELD_NUMBER = 5; + + /** + * + * + *
+   * Required. AWS IAM Role for Identity Federation.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth aws_iam_role_auth = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the awsIamRoleAuth field is set. + */ + @java.lang.Override + public boolean hasAwsIamRoleAuth() { + return authTypeCase_ == 5; + } + + /** + * + * + *
+   * Required. AWS IAM Role for Identity Federation.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth aws_iam_role_auth = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The awsIamRoleAuth. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth getAwsIamRoleAuth() { + if (authTypeCase_ == 5) { + return (com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth) authType_; + } + return com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth.getDefaultInstance(); + } + + /** + * + * + *
+   * Required. AWS IAM Role for Identity Federation.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth aws_iam_role_auth = 5 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuthOrBuilder getAwsIamRoleAuthOrBuilder() { + if (authTypeCase_ == 5) { + return (com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth) authType_; + } + return com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth.getDefaultInstance(); + } + + 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 (authTypeCase_ == 3) { + output.writeMessage(3, (com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth) authType_); + } + if (authTypeCase_ == 5) { + output.writeMessage(5, (com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth) authType_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (authTypeCase_ == 3) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth) authType_); + } + if (authTypeCase_ == 5) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth) authType_); + } + 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.cloud.chronicle.v1.SQSAuthV2)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.SQSAuthV2 other = (com.google.cloud.chronicle.v1.SQSAuthV2) obj; + + if (!getAuthTypeCase().equals(other.getAuthTypeCase())) return false; + switch (authTypeCase_) { + case 3: + if (!getSqsV2AccessKeySecretAuth().equals(other.getSqsV2AccessKeySecretAuth())) + return false; + break; + case 5: + if (!getAwsIamRoleAuth().equals(other.getAwsIamRoleAuth())) return false; + break; + case 0: + default: + } + 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(); + switch (authTypeCase_) { + case 3: + hash = (37 * hash) + SQS_V2_ACCESS_KEY_SECRET_AUTH_FIELD_NUMBER; + hash = (53 * hash) + getSqsV2AccessKeySecretAuth().hashCode(); + break; + case 5: + hash = (37 * hash) + AWS_IAM_ROLE_AUTH_FIELD_NUMBER; + hash = (53 * hash) + getAwsIamRoleAuth().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.SQSAuthV2 parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SQSAuthV2 parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SQSAuthV2 parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SQSAuthV2 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.cloud.chronicle.v1.SQSAuthV2 parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SQSAuthV2 parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SQSAuthV2 parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SQSAuthV2 parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SQSAuthV2 parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SQSAuthV2 parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SQSAuthV2 parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SQSAuthV2 parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.SQSAuthV2 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * A message containing fields used to authenticate with Amazon SQS.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.SQSAuthV2} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.SQSAuthV2) + com.google.cloud.chronicle.v1.SQSAuthV2OrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SQSAuthV2_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SQSAuthV2_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.SQSAuthV2.class, + com.google.cloud.chronicle.v1.SQSAuthV2.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.SQSAuthV2.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (sqsV2AccessKeySecretAuthBuilder_ != null) { + sqsV2AccessKeySecretAuthBuilder_.clear(); + } + if (awsIamRoleAuthBuilder_ != null) { + awsIamRoleAuthBuilder_.clear(); + } + authTypeCase_ = 0; + authType_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SQSAuthV2_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSAuthV2 getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.SQSAuthV2.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSAuthV2 build() { + com.google.cloud.chronicle.v1.SQSAuthV2 result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSAuthV2 buildPartial() { + com.google.cloud.chronicle.v1.SQSAuthV2 result = + new com.google.cloud.chronicle.v1.SQSAuthV2(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.SQSAuthV2 result) { + int from_bitField0_ = bitField0_; + } + + private void buildPartialOneofs(com.google.cloud.chronicle.v1.SQSAuthV2 result) { + result.authTypeCase_ = authTypeCase_; + result.authType_ = this.authType_; + if (authTypeCase_ == 3 && sqsV2AccessKeySecretAuthBuilder_ != null) { + result.authType_ = sqsV2AccessKeySecretAuthBuilder_.build(); + } + if (authTypeCase_ == 5 && awsIamRoleAuthBuilder_ != null) { + result.authType_ = awsIamRoleAuthBuilder_.build(); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.SQSAuthV2) { + return mergeFrom((com.google.cloud.chronicle.v1.SQSAuthV2) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.SQSAuthV2 other) { + if (other == com.google.cloud.chronicle.v1.SQSAuthV2.getDefaultInstance()) return this; + switch (other.getAuthTypeCase()) { + case SQS_V2_ACCESS_KEY_SECRET_AUTH: + { + mergeSqsV2AccessKeySecretAuth(other.getSqsV2AccessKeySecretAuth()); + break; + } + case AWS_IAM_ROLE_AUTH: + { + mergeAwsIamRoleAuth(other.getAwsIamRoleAuth()); + break; + } + case AUTHTYPE_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 26: + { + input.readMessage( + internalGetSqsV2AccessKeySecretAuthFieldBuilder().getBuilder(), + extensionRegistry); + authTypeCase_ = 3; + break; + } // case 26 + case 42: + { + input.readMessage( + internalGetAwsIamRoleAuthFieldBuilder().getBuilder(), extensionRegistry); + authTypeCase_ = 5; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int authTypeCase_ = 0; + private java.lang.Object authType_; + + public AuthTypeCase getAuthTypeCase() { + return AuthTypeCase.forNumber(authTypeCase_); + } + + public Builder clearAuthType() { + authTypeCase_ = 0; + authType_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth, + com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth.Builder, + com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuthOrBuilder> + sqsV2AccessKeySecretAuthBuilder_; + + /** + * + * + *
+     * Required. Auth key and secret for the SQS queue.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth sqs_v2_access_key_secret_auth = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the sqsV2AccessKeySecretAuth field is set. + */ + @java.lang.Override + public boolean hasSqsV2AccessKeySecretAuth() { + return authTypeCase_ == 3; + } + + /** + * + * + *
+     * Required. Auth key and secret for the SQS queue.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth sqs_v2_access_key_secret_auth = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The sqsV2AccessKeySecretAuth. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth getSqsV2AccessKeySecretAuth() { + if (sqsV2AccessKeySecretAuthBuilder_ == null) { + if (authTypeCase_ == 3) { + return (com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth) authType_; + } + return com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth.getDefaultInstance(); + } else { + if (authTypeCase_ == 3) { + return sqsV2AccessKeySecretAuthBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Required. Auth key and secret for the SQS queue.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth sqs_v2_access_key_secret_auth = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setSqsV2AccessKeySecretAuth( + com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth value) { + if (sqsV2AccessKeySecretAuthBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authType_ = value; + onChanged(); + } else { + sqsV2AccessKeySecretAuthBuilder_.setMessage(value); + } + authTypeCase_ = 3; + return this; + } + + /** + * + * + *
+     * Required. Auth key and secret for the SQS queue.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth sqs_v2_access_key_secret_auth = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setSqsV2AccessKeySecretAuth( + com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth.Builder builderForValue) { + if (sqsV2AccessKeySecretAuthBuilder_ == null) { + authType_ = builderForValue.build(); + onChanged(); + } else { + sqsV2AccessKeySecretAuthBuilder_.setMessage(builderForValue.build()); + } + authTypeCase_ = 3; + return this; + } + + /** + * + * + *
+     * Required. Auth key and secret for the SQS queue.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth sqs_v2_access_key_secret_auth = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeSqsV2AccessKeySecretAuth( + com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth value) { + if (sqsV2AccessKeySecretAuthBuilder_ == null) { + if (authTypeCase_ == 3 + && authType_ + != com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth.getDefaultInstance()) { + authType_ = + com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth.newBuilder( + (com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth) authType_) + .mergeFrom(value) + .buildPartial(); + } else { + authType_ = value; + } + onChanged(); + } else { + if (authTypeCase_ == 3) { + sqsV2AccessKeySecretAuthBuilder_.mergeFrom(value); + } else { + sqsV2AccessKeySecretAuthBuilder_.setMessage(value); + } + } + authTypeCase_ = 3; + return this; + } + + /** + * + * + *
+     * Required. Auth key and secret for the SQS queue.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth sqs_v2_access_key_secret_auth = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearSqsV2AccessKeySecretAuth() { + if (sqsV2AccessKeySecretAuthBuilder_ == null) { + if (authTypeCase_ == 3) { + authTypeCase_ = 0; + authType_ = null; + onChanged(); + } + } else { + if (authTypeCase_ == 3) { + authTypeCase_ = 0; + authType_ = null; + } + sqsV2AccessKeySecretAuthBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Required. Auth key and secret for the SQS queue.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth sqs_v2_access_key_secret_auth = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth.Builder + getSqsV2AccessKeySecretAuthBuilder() { + return internalGetSqsV2AccessKeySecretAuthFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Required. Auth key and secret for the SQS queue.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth sqs_v2_access_key_secret_auth = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuthOrBuilder + getSqsV2AccessKeySecretAuthOrBuilder() { + if ((authTypeCase_ == 3) && (sqsV2AccessKeySecretAuthBuilder_ != null)) { + return sqsV2AccessKeySecretAuthBuilder_.getMessageOrBuilder(); + } else { + if (authTypeCase_ == 3) { + return (com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth) authType_; + } + return com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Required. Auth key and secret for the SQS queue.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth sqs_v2_access_key_secret_auth = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth, + com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth.Builder, + com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuthOrBuilder> + internalGetSqsV2AccessKeySecretAuthFieldBuilder() { + if (sqsV2AccessKeySecretAuthBuilder_ == null) { + if (!(authTypeCase_ == 3)) { + authType_ = com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth.getDefaultInstance(); + } + sqsV2AccessKeySecretAuthBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth, + com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth.Builder, + com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuthOrBuilder>( + (com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth) authType_, + getParentForChildren(), + isClean()); + authType_ = null; + } + authTypeCase_ = 3; + onChanged(); + return sqsV2AccessKeySecretAuthBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth, + com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth.Builder, + com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuthOrBuilder> + awsIamRoleAuthBuilder_; + + /** + * + * + *
+     * Required. AWS IAM Role for Identity Federation.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth aws_iam_role_auth = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the awsIamRoleAuth field is set. + */ + @java.lang.Override + public boolean hasAwsIamRoleAuth() { + return authTypeCase_ == 5; + } + + /** + * + * + *
+     * Required. AWS IAM Role for Identity Federation.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth aws_iam_role_auth = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The awsIamRoleAuth. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth getAwsIamRoleAuth() { + if (awsIamRoleAuthBuilder_ == null) { + if (authTypeCase_ == 5) { + return (com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth) authType_; + } + return com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth.getDefaultInstance(); + } else { + if (authTypeCase_ == 5) { + return awsIamRoleAuthBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Required. AWS IAM Role for Identity Federation.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth aws_iam_role_auth = 5 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setAwsIamRoleAuth(com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth value) { + if (awsIamRoleAuthBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authType_ = value; + onChanged(); + } else { + awsIamRoleAuthBuilder_.setMessage(value); + } + authTypeCase_ = 5; + return this; + } + + /** + * + * + *
+     * Required. AWS IAM Role for Identity Federation.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth aws_iam_role_auth = 5 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setAwsIamRoleAuth( + com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth.Builder builderForValue) { + if (awsIamRoleAuthBuilder_ == null) { + authType_ = builderForValue.build(); + onChanged(); + } else { + awsIamRoleAuthBuilder_.setMessage(builderForValue.build()); + } + authTypeCase_ = 5; + return this; + } + + /** + * + * + *
+     * Required. AWS IAM Role for Identity Federation.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth aws_iam_role_auth = 5 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeAwsIamRoleAuth(com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth value) { + if (awsIamRoleAuthBuilder_ == null) { + if (authTypeCase_ == 5 + && authType_ + != com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth.getDefaultInstance()) { + authType_ = + com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth.newBuilder( + (com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth) authType_) + .mergeFrom(value) + .buildPartial(); + } else { + authType_ = value; + } + onChanged(); + } else { + if (authTypeCase_ == 5) { + awsIamRoleAuthBuilder_.mergeFrom(value); + } else { + awsIamRoleAuthBuilder_.setMessage(value); + } + } + authTypeCase_ = 5; + return this; + } + + /** + * + * + *
+     * Required. AWS IAM Role for Identity Federation.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth aws_iam_role_auth = 5 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearAwsIamRoleAuth() { + if (awsIamRoleAuthBuilder_ == null) { + if (authTypeCase_ == 5) { + authTypeCase_ = 0; + authType_ = null; + onChanged(); + } + } else { + if (authTypeCase_ == 5) { + authTypeCase_ = 0; + authType_ = null; + } + awsIamRoleAuthBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Required. AWS IAM Role for Identity Federation.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth aws_iam_role_auth = 5 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth.Builder getAwsIamRoleAuthBuilder() { + return internalGetAwsIamRoleAuthFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Required. AWS IAM Role for Identity Federation.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth aws_iam_role_auth = 5 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuthOrBuilder getAwsIamRoleAuthOrBuilder() { + if ((authTypeCase_ == 5) && (awsIamRoleAuthBuilder_ != null)) { + return awsIamRoleAuthBuilder_.getMessageOrBuilder(); + } else { + if (authTypeCase_ == 5) { + return (com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth) authType_; + } + return com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Required. AWS IAM Role for Identity Federation.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth aws_iam_role_auth = 5 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth, + com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth.Builder, + com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuthOrBuilder> + internalGetAwsIamRoleAuthFieldBuilder() { + if (awsIamRoleAuthBuilder_ == null) { + if (!(authTypeCase_ == 5)) { + authType_ = com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth.getDefaultInstance(); + } + awsIamRoleAuthBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth, + com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth.Builder, + com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuthOrBuilder>( + (com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth) authType_, + getParentForChildren(), + isClean()); + authType_ = null; + } + authTypeCase_ = 5; + onChanged(); + return awsIamRoleAuthBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.SQSAuthV2) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.SQSAuthV2) + private static final com.google.cloud.chronicle.v1.SQSAuthV2 DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.SQSAuthV2(); + } + + public static com.google.cloud.chronicle.v1.SQSAuthV2 getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SQSAuthV2 parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSAuthV2 getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSAuthV2OrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSAuthV2OrBuilder.java new file mode 100644 index 000000000000..4e7ce728189e --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSAuthV2OrBuilder.java @@ -0,0 +1,117 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface SQSAuthV2OrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.SQSAuthV2) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Auth key and secret for the SQS queue.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth sqs_v2_access_key_secret_auth = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the sqsV2AccessKeySecretAuth field is set. + */ + boolean hasSqsV2AccessKeySecretAuth(); + + /** + * + * + *
+   * Required. Auth key and secret for the SQS queue.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth sqs_v2_access_key_secret_auth = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The sqsV2AccessKeySecretAuth. + */ + com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth getSqsV2AccessKeySecretAuth(); + + /** + * + * + *
+   * Required. Auth key and secret for the SQS queue.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth sqs_v2_access_key_secret_auth = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuthOrBuilder + getSqsV2AccessKeySecretAuthOrBuilder(); + + /** + * + * + *
+   * Required. AWS IAM Role for Identity Federation.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth aws_iam_role_auth = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the awsIamRoleAuth field is set. + */ + boolean hasAwsIamRoleAuth(); + + /** + * + * + *
+   * Required. AWS IAM Role for Identity Federation.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth aws_iam_role_auth = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The awsIamRoleAuth. + */ + com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth getAwsIamRoleAuth(); + + /** + * + * + *
+   * Required. AWS IAM Role for Identity Federation.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth aws_iam_role_auth = 5 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuthOrBuilder getAwsIamRoleAuthOrBuilder(); + + com.google.cloud.chronicle.v1.SQSAuthV2.AuthTypeCase getAuthTypeCase(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSV2AccessKeySecretAuth.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSV2AccessKeySecretAuth.java new file mode 100644 index 000000000000..08d95fbbfa4c --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSV2AccessKeySecretAuth.java @@ -0,0 +1,786 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * SQS V2 access key and secret auth.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth} + */ +@com.google.protobuf.Generated +public final class SQSV2AccessKeySecretAuth extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth) + SQSV2AccessKeySecretAuthOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "SQSV2AccessKeySecretAuth"); + } + + // Use SQSV2AccessKeySecretAuth.newBuilder() to construct. + private SQSV2AccessKeySecretAuth(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private SQSV2AccessKeySecretAuth() { + accessKeyId_ = ""; + secretAccessKey_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SQSV2AccessKeySecretAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SQSV2AccessKeySecretAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth.class, + com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth.Builder.class); + } + + public static final int ACCESS_KEY_ID_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object accessKeyId_ = ""; + + /** + * + * + *
+   * Access key ID of the S3 bucket.  Ex: AKIABCDEFGHIJKL.
+   * 
+ * + * string access_key_id = 1; + * + * @return The accessKeyId. + */ + @java.lang.Override + public java.lang.String getAccessKeyId() { + java.lang.Object ref = accessKeyId_; + 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(); + accessKeyId_ = s; + return s; + } + } + + /** + * + * + *
+   * Access key ID of the S3 bucket.  Ex: AKIABCDEFGHIJKL.
+   * 
+ * + * string access_key_id = 1; + * + * @return The bytes for accessKeyId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAccessKeyIdBytes() { + java.lang.Object ref = accessKeyId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + accessKeyId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SECRET_ACCESS_KEY_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object secretAccessKey_ = ""; + + /** + * + * + *
+   * Secret access key to access the S3 bucket.
+   * 
+ * + * string secret_access_key = 2; + * + * @return The secretAccessKey. + */ + @java.lang.Override + public java.lang.String getSecretAccessKey() { + java.lang.Object ref = secretAccessKey_; + 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(); + secretAccessKey_ = s; + return s; + } + } + + /** + * + * + *
+   * Secret access key to access the S3 bucket.
+   * 
+ * + * string secret_access_key = 2; + * + * @return The bytes for secretAccessKey. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSecretAccessKeyBytes() { + java.lang.Object ref = secretAccessKey_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + secretAccessKey_ = 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.GeneratedMessage.isStringEmpty(accessKeyId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, accessKeyId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(secretAccessKey_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, secretAccessKey_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(accessKeyId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, accessKeyId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(secretAccessKey_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, secretAccessKey_); + } + 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.cloud.chronicle.v1.SQSV2AccessKeySecretAuth)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth other = + (com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth) obj; + + if (!getAccessKeyId().equals(other.getAccessKeyId())) return false; + if (!getSecretAccessKey().equals(other.getSecretAccessKey())) 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) + ACCESS_KEY_ID_FIELD_NUMBER; + hash = (53 * hash) + getAccessKeyId().hashCode(); + hash = (37 * hash) + SECRET_ACCESS_KEY_FIELD_NUMBER; + hash = (53 * hash) + getSecretAccessKey().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth 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.cloud.chronicle.v1.SQSV2AccessKeySecretAuth parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.SQSV2AccessKeySecretAuth 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * SQS V2 access key and secret auth.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth) + com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuthOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SQSV2AccessKeySecretAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SQSV2AccessKeySecretAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth.class, + com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + accessKeyId_ = ""; + secretAccessKey_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SQSV2AccessKeySecretAuth_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth build() { + com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth buildPartial() { + com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth result = + new com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.accessKeyId_ = accessKeyId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.secretAccessKey_ = secretAccessKey_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth) { + return mergeFrom((com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth other) { + if (other == com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth.getDefaultInstance()) + return this; + if (!other.getAccessKeyId().isEmpty()) { + accessKeyId_ = other.accessKeyId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSecretAccessKey().isEmpty()) { + secretAccessKey_ = other.secretAccessKey_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + accessKeyId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + secretAccessKey_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object accessKeyId_ = ""; + + /** + * + * + *
+     * Access key ID of the S3 bucket.  Ex: AKIABCDEFGHIJKL.
+     * 
+ * + * string access_key_id = 1; + * + * @return The accessKeyId. + */ + public java.lang.String getAccessKeyId() { + java.lang.Object ref = accessKeyId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + accessKeyId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Access key ID of the S3 bucket.  Ex: AKIABCDEFGHIJKL.
+     * 
+ * + * string access_key_id = 1; + * + * @return The bytes for accessKeyId. + */ + public com.google.protobuf.ByteString getAccessKeyIdBytes() { + java.lang.Object ref = accessKeyId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + accessKeyId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Access key ID of the S3 bucket.  Ex: AKIABCDEFGHIJKL.
+     * 
+ * + * string access_key_id = 1; + * + * @param value The accessKeyId to set. + * @return This builder for chaining. + */ + public Builder setAccessKeyId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + accessKeyId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Access key ID of the S3 bucket.  Ex: AKIABCDEFGHIJKL.
+     * 
+ * + * string access_key_id = 1; + * + * @return This builder for chaining. + */ + public Builder clearAccessKeyId() { + accessKeyId_ = getDefaultInstance().getAccessKeyId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Access key ID of the S3 bucket.  Ex: AKIABCDEFGHIJKL.
+     * 
+ * + * string access_key_id = 1; + * + * @param value The bytes for accessKeyId to set. + * @return This builder for chaining. + */ + public Builder setAccessKeyIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + accessKeyId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object secretAccessKey_ = ""; + + /** + * + * + *
+     * Secret access key to access the S3 bucket.
+     * 
+ * + * string secret_access_key = 2; + * + * @return The secretAccessKey. + */ + public java.lang.String getSecretAccessKey() { + java.lang.Object ref = secretAccessKey_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + secretAccessKey_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Secret access key to access the S3 bucket.
+     * 
+ * + * string secret_access_key = 2; + * + * @return The bytes for secretAccessKey. + */ + public com.google.protobuf.ByteString getSecretAccessKeyBytes() { + java.lang.Object ref = secretAccessKey_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + secretAccessKey_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Secret access key to access the S3 bucket.
+     * 
+ * + * string secret_access_key = 2; + * + * @param value The secretAccessKey to set. + * @return This builder for chaining. + */ + public Builder setSecretAccessKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + secretAccessKey_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Secret access key to access the S3 bucket.
+     * 
+ * + * string secret_access_key = 2; + * + * @return This builder for chaining. + */ + public Builder clearSecretAccessKey() { + secretAccessKey_ = getDefaultInstance().getSecretAccessKey(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Secret access key to access the S3 bucket.
+     * 
+ * + * string secret_access_key = 2; + * + * @param value The bytes for secretAccessKey to set. + * @return This builder for chaining. + */ + public Builder setSecretAccessKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + secretAccessKey_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth) + private static final com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth(); + } + + public static com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SQSV2AccessKeySecretAuth parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSV2AccessKeySecretAuthOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSV2AccessKeySecretAuthOrBuilder.java new file mode 100644 index 000000000000..80659a69efb6 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSV2AccessKeySecretAuthOrBuilder.java @@ -0,0 +1,80 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface SQSV2AccessKeySecretAuthOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.SQSV2AccessKeySecretAuth) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Access key ID of the S3 bucket.  Ex: AKIABCDEFGHIJKL.
+   * 
+ * + * string access_key_id = 1; + * + * @return The accessKeyId. + */ + java.lang.String getAccessKeyId(); + + /** + * + * + *
+   * Access key ID of the S3 bucket.  Ex: AKIABCDEFGHIJKL.
+   * 
+ * + * string access_key_id = 1; + * + * @return The bytes for accessKeyId. + */ + com.google.protobuf.ByteString getAccessKeyIdBytes(); + + /** + * + * + *
+   * Secret access key to access the S3 bucket.
+   * 
+ * + * string secret_access_key = 2; + * + * @return The secretAccessKey. + */ + java.lang.String getSecretAccessKey(); + + /** + * + * + *
+   * Secret access key to access the S3 bucket.
+   * 
+ * + * string secret_access_key = 2; + * + * @return The bytes for secretAccessKey. + */ + com.google.protobuf.ByteString getSecretAccessKeyBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSV2AwsIamRoleAuth.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSV2AwsIamRoleAuth.java new file mode 100644 index 000000000000..9fa1bc75b80b --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSV2AwsIamRoleAuth.java @@ -0,0 +1,785 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * AWS IAM Role Auth for SQS V2.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth} + */ +@com.google.protobuf.Generated +public final class SQSV2AwsIamRoleAuth extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth) + SQSV2AwsIamRoleAuthOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "SQSV2AwsIamRoleAuth"); + } + + // Use SQSV2AwsIamRoleAuth.newBuilder() to construct. + private SQSV2AwsIamRoleAuth(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private SQSV2AwsIamRoleAuth() { + awsIamRoleArn_ = ""; + subjectId_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SQSV2AwsIamRoleAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SQSV2AwsIamRoleAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth.class, + com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth.Builder.class); + } + + public static final int AWS_IAM_ROLE_ARN_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object awsIamRoleArn_ = ""; + + /** + * + * + *
+   * AWS IAM Role for Identity Federation.
+   * 
+ * + * string aws_iam_role_arn = 1; + * + * @return The awsIamRoleArn. + */ + @java.lang.Override + public java.lang.String getAwsIamRoleArn() { + java.lang.Object ref = awsIamRoleArn_; + 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(); + awsIamRoleArn_ = s; + return s; + } + } + + /** + * + * + *
+   * AWS IAM Role for Identity Federation.
+   * 
+ * + * string aws_iam_role_arn = 1; + * + * @return The bytes for awsIamRoleArn. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAwsIamRoleArnBytes() { + java.lang.Object ref = awsIamRoleArn_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + awsIamRoleArn_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SUBJECT_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object subjectId_ = ""; + + /** + * + * + *
+   * Subject ID to use for SQS.
+   * 
+ * + * string subject_id = 2; + * + * @return The subjectId. + */ + @java.lang.Override + public java.lang.String getSubjectId() { + java.lang.Object ref = subjectId_; + 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(); + subjectId_ = s; + return s; + } + } + + /** + * + * + *
+   * Subject ID to use for SQS.
+   * 
+ * + * string subject_id = 2; + * + * @return The bytes for subjectId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSubjectIdBytes() { + java.lang.Object ref = subjectId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + subjectId_ = 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.GeneratedMessage.isStringEmpty(awsIamRoleArn_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, awsIamRoleArn_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subjectId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, subjectId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(awsIamRoleArn_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, awsIamRoleArn_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subjectId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, subjectId_); + } + 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.cloud.chronicle.v1.SQSV2AwsIamRoleAuth)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth other = + (com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth) obj; + + if (!getAwsIamRoleArn().equals(other.getAwsIamRoleArn())) return false; + if (!getSubjectId().equals(other.getSubjectId())) 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) + AWS_IAM_ROLE_ARN_FIELD_NUMBER; + hash = (53 * hash) + getAwsIamRoleArn().hashCode(); + hash = (37 * hash) + SUBJECT_ID_FIELD_NUMBER; + hash = (53 * hash) + getSubjectId().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth 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.cloud.chronicle.v1.SQSV2AwsIamRoleAuth parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.SQSV2AwsIamRoleAuth 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * AWS IAM Role Auth for SQS V2.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth) + com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuthOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SQSV2AwsIamRoleAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SQSV2AwsIamRoleAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth.class, + com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + awsIamRoleArn_ = ""; + subjectId_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SQSV2AwsIamRoleAuth_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth build() { + com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth buildPartial() { + com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth result = + new com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.awsIamRoleArn_ = awsIamRoleArn_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.subjectId_ = subjectId_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth) { + return mergeFrom((com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth other) { + if (other == com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth.getDefaultInstance()) + return this; + if (!other.getAwsIamRoleArn().isEmpty()) { + awsIamRoleArn_ = other.awsIamRoleArn_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSubjectId().isEmpty()) { + subjectId_ = other.subjectId_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + awsIamRoleArn_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + subjectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object awsIamRoleArn_ = ""; + + /** + * + * + *
+     * AWS IAM Role for Identity Federation.
+     * 
+ * + * string aws_iam_role_arn = 1; + * + * @return The awsIamRoleArn. + */ + public java.lang.String getAwsIamRoleArn() { + java.lang.Object ref = awsIamRoleArn_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + awsIamRoleArn_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * AWS IAM Role for Identity Federation.
+     * 
+ * + * string aws_iam_role_arn = 1; + * + * @return The bytes for awsIamRoleArn. + */ + public com.google.protobuf.ByteString getAwsIamRoleArnBytes() { + java.lang.Object ref = awsIamRoleArn_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + awsIamRoleArn_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * AWS IAM Role for Identity Federation.
+     * 
+ * + * string aws_iam_role_arn = 1; + * + * @param value The awsIamRoleArn to set. + * @return This builder for chaining. + */ + public Builder setAwsIamRoleArn(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + awsIamRoleArn_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * AWS IAM Role for Identity Federation.
+     * 
+ * + * string aws_iam_role_arn = 1; + * + * @return This builder for chaining. + */ + public Builder clearAwsIamRoleArn() { + awsIamRoleArn_ = getDefaultInstance().getAwsIamRoleArn(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * AWS IAM Role for Identity Federation.
+     * 
+ * + * string aws_iam_role_arn = 1; + * + * @param value The bytes for awsIamRoleArn to set. + * @return This builder for chaining. + */ + public Builder setAwsIamRoleArnBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + awsIamRoleArn_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object subjectId_ = ""; + + /** + * + * + *
+     * Subject ID to use for SQS.
+     * 
+ * + * string subject_id = 2; + * + * @return The subjectId. + */ + public java.lang.String getSubjectId() { + java.lang.Object ref = subjectId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + subjectId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Subject ID to use for SQS.
+     * 
+ * + * string subject_id = 2; + * + * @return The bytes for subjectId. + */ + public com.google.protobuf.ByteString getSubjectIdBytes() { + java.lang.Object ref = subjectId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + subjectId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Subject ID to use for SQS.
+     * 
+ * + * string subject_id = 2; + * + * @param value The subjectId to set. + * @return This builder for chaining. + */ + public Builder setSubjectId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + subjectId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Subject ID to use for SQS.
+     * 
+ * + * string subject_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearSubjectId() { + subjectId_ = getDefaultInstance().getSubjectId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Subject ID to use for SQS.
+     * 
+ * + * string subject_id = 2; + * + * @param value The bytes for subjectId to set. + * @return This builder for chaining. + */ + public Builder setSubjectIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subjectId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth) + private static final com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth(); + } + + public static com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SQSV2AwsIamRoleAuth parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSV2AwsIamRoleAuthOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSV2AwsIamRoleAuthOrBuilder.java new file mode 100644 index 000000000000..0b571b988a0c --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SQSV2AwsIamRoleAuthOrBuilder.java @@ -0,0 +1,80 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface SQSV2AwsIamRoleAuthOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.SQSV2AwsIamRoleAuth) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * AWS IAM Role for Identity Federation.
+   * 
+ * + * string aws_iam_role_arn = 1; + * + * @return The awsIamRoleArn. + */ + java.lang.String getAwsIamRoleArn(); + + /** + * + * + *
+   * AWS IAM Role for Identity Federation.
+   * 
+ * + * string aws_iam_role_arn = 1; + * + * @return The bytes for awsIamRoleArn. + */ + com.google.protobuf.ByteString getAwsIamRoleArnBytes(); + + /** + * + * + *
+   * Subject ID to use for SQS.
+   * 
+ * + * string subject_id = 2; + * + * @return The subjectId. + */ + java.lang.String getSubjectId(); + + /** + * + * + *
+   * Subject ID to use for SQS.
+   * 
+ * + * string subject_id = 2; + * + * @return The bytes for subjectId. + */ + com.google.protobuf.ByteString getSubjectIdBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SSLClientKeypair.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SSLClientKeypair.java new file mode 100644 index 000000000000..875e90959750 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SSLClientKeypair.java @@ -0,0 +1,903 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * An SSL client certificate keypair.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.SSLClientKeypair} + */ +@com.google.protobuf.Generated +public final class SSLClientKeypair extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.SSLClientKeypair) + SSLClientKeypairOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "SSLClientKeypair"); + } + + // Use SSLClientKeypair.newBuilder() to construct. + private SSLClientKeypair(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private SSLClientKeypair() { + encodedPrivateKey_ = ""; + sslCertificate_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SSLClientKeypair_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SSLClientKeypair_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.SSLClientKeypair.class, + com.google.cloud.chronicle.v1.SSLClientKeypair.Builder.class); + } + + public static final int ENCODED_PRIVATE_KEY_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object encodedPrivateKey_ = ""; + + /** + * + * + *
+   * The encoded private key. The string should be a private key in PEM format,
+   * and should include the begin header and end footer lines. It may also
+   * include newlines.
+   *
+   * Example:
+   * -----BEGIN RSA PRIVATE KEY-----
+   * Proc-Type: 4,ENCRYPTED
+   * DEK-Info: DES-EDE3-CBC,F23074E02CF47304
+   *
+   * <REDACTED>
+   * -----END RSA PRIVATE KEY-----
+   * 
+ * + * string encoded_private_key = 1; + * + * @return The encodedPrivateKey. + */ + @java.lang.Override + public java.lang.String getEncodedPrivateKey() { + java.lang.Object ref = encodedPrivateKey_; + 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(); + encodedPrivateKey_ = s; + return s; + } + } + + /** + * + * + *
+   * The encoded private key. The string should be a private key in PEM format,
+   * and should include the begin header and end footer lines. It may also
+   * include newlines.
+   *
+   * Example:
+   * -----BEGIN RSA PRIVATE KEY-----
+   * Proc-Type: 4,ENCRYPTED
+   * DEK-Info: DES-EDE3-CBC,F23074E02CF47304
+   *
+   * <REDACTED>
+   * -----END RSA PRIVATE KEY-----
+   * 
+ * + * string encoded_private_key = 1; + * + * @return The bytes for encodedPrivateKey. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEncodedPrivateKeyBytes() { + java.lang.Object ref = encodedPrivateKey_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + encodedPrivateKey_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SSL_CERTIFICATE_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object sslCertificate_ = ""; + + /** + * + * + *
+   * The encoded SSL certificate. The string should be an SSL certificate in
+   * PEM format, and should include the begin header and end footer lines. It
+   * may also include newlines.
+   *
+   * Example:
+   * -----BEGIN CERTIFICATE-----
+   * <REDACTED>
+   * -----END CERTIFICATE-----
+   * 
+ * + * string ssl_certificate = 2; + * + * @return The sslCertificate. + */ + @java.lang.Override + public java.lang.String getSslCertificate() { + java.lang.Object ref = sslCertificate_; + 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(); + sslCertificate_ = s; + return s; + } + } + + /** + * + * + *
+   * The encoded SSL certificate. The string should be an SSL certificate in
+   * PEM format, and should include the begin header and end footer lines. It
+   * may also include newlines.
+   *
+   * Example:
+   * -----BEGIN CERTIFICATE-----
+   * <REDACTED>
+   * -----END CERTIFICATE-----
+   * 
+ * + * string ssl_certificate = 2; + * + * @return The bytes for sslCertificate. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSslCertificateBytes() { + java.lang.Object ref = sslCertificate_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + sslCertificate_ = 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.GeneratedMessage.isStringEmpty(encodedPrivateKey_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, encodedPrivateKey_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sslCertificate_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, sslCertificate_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(encodedPrivateKey_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, encodedPrivateKey_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sslCertificate_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, sslCertificate_); + } + 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.cloud.chronicle.v1.SSLClientKeypair)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.SSLClientKeypair other = + (com.google.cloud.chronicle.v1.SSLClientKeypair) obj; + + if (!getEncodedPrivateKey().equals(other.getEncodedPrivateKey())) return false; + if (!getSslCertificate().equals(other.getSslCertificate())) 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) + ENCODED_PRIVATE_KEY_FIELD_NUMBER; + hash = (53 * hash) + getEncodedPrivateKey().hashCode(); + hash = (37 * hash) + SSL_CERTIFICATE_FIELD_NUMBER; + hash = (53 * hash) + getSslCertificate().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.SSLClientKeypair parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SSLClientKeypair parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SSLClientKeypair parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SSLClientKeypair 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.cloud.chronicle.v1.SSLClientKeypair parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SSLClientKeypair parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SSLClientKeypair parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SSLClientKeypair parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SSLClientKeypair parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SSLClientKeypair parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SSLClientKeypair parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SSLClientKeypair parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.SSLClientKeypair 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * An SSL client certificate keypair.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.SSLClientKeypair} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.SSLClientKeypair) + com.google.cloud.chronicle.v1.SSLClientKeypairOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SSLClientKeypair_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SSLClientKeypair_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.SSLClientKeypair.class, + com.google.cloud.chronicle.v1.SSLClientKeypair.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.SSLClientKeypair.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + encodedPrivateKey_ = ""; + sslCertificate_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SSLClientKeypair_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SSLClientKeypair getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.SSLClientKeypair.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SSLClientKeypair build() { + com.google.cloud.chronicle.v1.SSLClientKeypair result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SSLClientKeypair buildPartial() { + com.google.cloud.chronicle.v1.SSLClientKeypair result = + new com.google.cloud.chronicle.v1.SSLClientKeypair(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.SSLClientKeypair result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.encodedPrivateKey_ = encodedPrivateKey_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.sslCertificate_ = sslCertificate_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.SSLClientKeypair) { + return mergeFrom((com.google.cloud.chronicle.v1.SSLClientKeypair) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.SSLClientKeypair other) { + if (other == com.google.cloud.chronicle.v1.SSLClientKeypair.getDefaultInstance()) return this; + if (!other.getEncodedPrivateKey().isEmpty()) { + encodedPrivateKey_ = other.encodedPrivateKey_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSslCertificate().isEmpty()) { + sslCertificate_ = other.sslCertificate_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + encodedPrivateKey_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + sslCertificate_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object encodedPrivateKey_ = ""; + + /** + * + * + *
+     * The encoded private key. The string should be a private key in PEM format,
+     * and should include the begin header and end footer lines. It may also
+     * include newlines.
+     *
+     * Example:
+     * -----BEGIN RSA PRIVATE KEY-----
+     * Proc-Type: 4,ENCRYPTED
+     * DEK-Info: DES-EDE3-CBC,F23074E02CF47304
+     *
+     * <REDACTED>
+     * -----END RSA PRIVATE KEY-----
+     * 
+ * + * string encoded_private_key = 1; + * + * @return The encodedPrivateKey. + */ + public java.lang.String getEncodedPrivateKey() { + java.lang.Object ref = encodedPrivateKey_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + encodedPrivateKey_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * The encoded private key. The string should be a private key in PEM format,
+     * and should include the begin header and end footer lines. It may also
+     * include newlines.
+     *
+     * Example:
+     * -----BEGIN RSA PRIVATE KEY-----
+     * Proc-Type: 4,ENCRYPTED
+     * DEK-Info: DES-EDE3-CBC,F23074E02CF47304
+     *
+     * <REDACTED>
+     * -----END RSA PRIVATE KEY-----
+     * 
+ * + * string encoded_private_key = 1; + * + * @return The bytes for encodedPrivateKey. + */ + public com.google.protobuf.ByteString getEncodedPrivateKeyBytes() { + java.lang.Object ref = encodedPrivateKey_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + encodedPrivateKey_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * The encoded private key. The string should be a private key in PEM format,
+     * and should include the begin header and end footer lines. It may also
+     * include newlines.
+     *
+     * Example:
+     * -----BEGIN RSA PRIVATE KEY-----
+     * Proc-Type: 4,ENCRYPTED
+     * DEK-Info: DES-EDE3-CBC,F23074E02CF47304
+     *
+     * <REDACTED>
+     * -----END RSA PRIVATE KEY-----
+     * 
+ * + * string encoded_private_key = 1; + * + * @param value The encodedPrivateKey to set. + * @return This builder for chaining. + */ + public Builder setEncodedPrivateKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + encodedPrivateKey_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * The encoded private key. The string should be a private key in PEM format,
+     * and should include the begin header and end footer lines. It may also
+     * include newlines.
+     *
+     * Example:
+     * -----BEGIN RSA PRIVATE KEY-----
+     * Proc-Type: 4,ENCRYPTED
+     * DEK-Info: DES-EDE3-CBC,F23074E02CF47304
+     *
+     * <REDACTED>
+     * -----END RSA PRIVATE KEY-----
+     * 
+ * + * string encoded_private_key = 1; + * + * @return This builder for chaining. + */ + public Builder clearEncodedPrivateKey() { + encodedPrivateKey_ = getDefaultInstance().getEncodedPrivateKey(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * The encoded private key. The string should be a private key in PEM format,
+     * and should include the begin header and end footer lines. It may also
+     * include newlines.
+     *
+     * Example:
+     * -----BEGIN RSA PRIVATE KEY-----
+     * Proc-Type: 4,ENCRYPTED
+     * DEK-Info: DES-EDE3-CBC,F23074E02CF47304
+     *
+     * <REDACTED>
+     * -----END RSA PRIVATE KEY-----
+     * 
+ * + * string encoded_private_key = 1; + * + * @param value The bytes for encodedPrivateKey to set. + * @return This builder for chaining. + */ + public Builder setEncodedPrivateKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + encodedPrivateKey_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object sslCertificate_ = ""; + + /** + * + * + *
+     * The encoded SSL certificate. The string should be an SSL certificate in
+     * PEM format, and should include the begin header and end footer lines. It
+     * may also include newlines.
+     *
+     * Example:
+     * -----BEGIN CERTIFICATE-----
+     * <REDACTED>
+     * -----END CERTIFICATE-----
+     * 
+ * + * string ssl_certificate = 2; + * + * @return The sslCertificate. + */ + public java.lang.String getSslCertificate() { + java.lang.Object ref = sslCertificate_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + sslCertificate_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * The encoded SSL certificate. The string should be an SSL certificate in
+     * PEM format, and should include the begin header and end footer lines. It
+     * may also include newlines.
+     *
+     * Example:
+     * -----BEGIN CERTIFICATE-----
+     * <REDACTED>
+     * -----END CERTIFICATE-----
+     * 
+ * + * string ssl_certificate = 2; + * + * @return The bytes for sslCertificate. + */ + public com.google.protobuf.ByteString getSslCertificateBytes() { + java.lang.Object ref = sslCertificate_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + sslCertificate_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * The encoded SSL certificate. The string should be an SSL certificate in
+     * PEM format, and should include the begin header and end footer lines. It
+     * may also include newlines.
+     *
+     * Example:
+     * -----BEGIN CERTIFICATE-----
+     * <REDACTED>
+     * -----END CERTIFICATE-----
+     * 
+ * + * string ssl_certificate = 2; + * + * @param value The sslCertificate to set. + * @return This builder for chaining. + */ + public Builder setSslCertificate(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + sslCertificate_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * The encoded SSL certificate. The string should be an SSL certificate in
+     * PEM format, and should include the begin header and end footer lines. It
+     * may also include newlines.
+     *
+     * Example:
+     * -----BEGIN CERTIFICATE-----
+     * <REDACTED>
+     * -----END CERTIFICATE-----
+     * 
+ * + * string ssl_certificate = 2; + * + * @return This builder for chaining. + */ + public Builder clearSslCertificate() { + sslCertificate_ = getDefaultInstance().getSslCertificate(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * The encoded SSL certificate. The string should be an SSL certificate in
+     * PEM format, and should include the begin header and end footer lines. It
+     * may also include newlines.
+     *
+     * Example:
+     * -----BEGIN CERTIFICATE-----
+     * <REDACTED>
+     * -----END CERTIFICATE-----
+     * 
+ * + * string ssl_certificate = 2; + * + * @param value The bytes for sslCertificate to set. + * @return This builder for chaining. + */ + public Builder setSslCertificateBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sslCertificate_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.SSLClientKeypair) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.SSLClientKeypair) + private static final com.google.cloud.chronicle.v1.SSLClientKeypair DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.SSLClientKeypair(); + } + + public static com.google.cloud.chronicle.v1.SSLClientKeypair getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SSLClientKeypair parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SSLClientKeypair getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SSLClientKeypairOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SSLClientKeypairOrBuilder.java new file mode 100644 index 000000000000..7643d3ed131e --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SSLClientKeypairOrBuilder.java @@ -0,0 +1,114 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface SSLClientKeypairOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.SSLClientKeypair) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The encoded private key. The string should be a private key in PEM format,
+   * and should include the begin header and end footer lines. It may also
+   * include newlines.
+   *
+   * Example:
+   * -----BEGIN RSA PRIVATE KEY-----
+   * Proc-Type: 4,ENCRYPTED
+   * DEK-Info: DES-EDE3-CBC,F23074E02CF47304
+   *
+   * <REDACTED>
+   * -----END RSA PRIVATE KEY-----
+   * 
+ * + * string encoded_private_key = 1; + * + * @return The encodedPrivateKey. + */ + java.lang.String getEncodedPrivateKey(); + + /** + * + * + *
+   * The encoded private key. The string should be a private key in PEM format,
+   * and should include the begin header and end footer lines. It may also
+   * include newlines.
+   *
+   * Example:
+   * -----BEGIN RSA PRIVATE KEY-----
+   * Proc-Type: 4,ENCRYPTED
+   * DEK-Info: DES-EDE3-CBC,F23074E02CF47304
+   *
+   * <REDACTED>
+   * -----END RSA PRIVATE KEY-----
+   * 
+ * + * string encoded_private_key = 1; + * + * @return The bytes for encodedPrivateKey. + */ + com.google.protobuf.ByteString getEncodedPrivateKeyBytes(); + + /** + * + * + *
+   * The encoded SSL certificate. The string should be an SSL certificate in
+   * PEM format, and should include the begin header and end footer lines. It
+   * may also include newlines.
+   *
+   * Example:
+   * -----BEGIN CERTIFICATE-----
+   * <REDACTED>
+   * -----END CERTIFICATE-----
+   * 
+ * + * string ssl_certificate = 2; + * + * @return The sslCertificate. + */ + java.lang.String getSslCertificate(); + + /** + * + * + *
+   * The encoded SSL certificate. The string should be an SSL certificate in
+   * PEM format, and should include the begin header and end footer lines. It
+   * may also include newlines.
+   *
+   * Example:
+   * -----BEGIN CERTIFICATE-----
+   * <REDACTED>
+   * -----END CERTIFICATE-----
+   * 
+ * + * string ssl_certificate = 2; + * + * @return The bytes for sslCertificate. + */ + com.google.protobuf.ByteString getSslCertificateBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SalesforceSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SalesforceSettings.java new file mode 100644 index 000000000000..571f1d69404d --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SalesforceSettings.java @@ -0,0 +1,1356 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Salesforce settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.SalesforceSettings} + */ +@com.google.protobuf.Generated +public final class SalesforceSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.SalesforceSettings) + SalesforceSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "SalesforceSettings"); + } + + // Use SalesforceSettings.newBuilder() to construct. + private SalesforceSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private SalesforceSettings() { + hostname_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SalesforceSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SalesforceSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.SalesforceSettings.class, + com.google.cloud.chronicle.v1.SalesforceSettings.Builder.class); + } + + private int authenticationCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object authentication_; + + public enum AuthenticationCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + OAUTH_PASSWORD_GRANT_AUTH(1), + OAUTH_JWT_CREDENTIALS(2), + AUTHENTICATION_NOT_SET(0); + private final int value; + + private AuthenticationCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static AuthenticationCase valueOf(int value) { + return forNumber(value); + } + + public static AuthenticationCase forNumber(int value) { + switch (value) { + case 1: + return OAUTH_PASSWORD_GRANT_AUTH; + case 2: + return OAUTH_JWT_CREDENTIALS; + case 0: + return AUTHENTICATION_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public AuthenticationCase getAuthenticationCase() { + return AuthenticationCase.forNumber(authenticationCase_); + } + + public static final int OAUTH_PASSWORD_GRANT_AUTH_FIELD_NUMBER = 1; + + /** + * + * + *
+   * Input only. OAuthPasswordGrantCredentials auth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthPasswordGrantCredentials oauth_password_grant_auth = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the oauthPasswordGrantAuth field is set. + */ + @java.lang.Override + public boolean hasOauthPasswordGrantAuth() { + return authenticationCase_ == 1; + } + + /** + * + * + *
+   * Input only. OAuthPasswordGrantCredentials auth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthPasswordGrantCredentials oauth_password_grant_auth = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The oauthPasswordGrantAuth. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials getOauthPasswordGrantAuth() { + if (authenticationCase_ == 1) { + return (com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials) authentication_; + } + return com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials.getDefaultInstance(); + } + + /** + * + * + *
+   * Input only. OAuthPasswordGrantCredentials auth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthPasswordGrantCredentials oauth_password_grant_auth = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentialsOrBuilder + getOauthPasswordGrantAuthOrBuilder() { + if (authenticationCase_ == 1) { + return (com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials) authentication_; + } + return com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials.getDefaultInstance(); + } + + public static final int OAUTH_JWT_CREDENTIALS_FIELD_NUMBER = 2; + + /** + * + * + *
+   * Input only. OAuthJWTCredentials auth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials oauth_jwt_credentials = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the oauthJwtCredentials field is set. + */ + @java.lang.Override + public boolean hasOauthJwtCredentials() { + return authenticationCase_ == 2; + } + + /** + * + * + *
+   * Input only. OAuthJWTCredentials auth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials oauth_jwt_credentials = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The oauthJwtCredentials. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthJWTCredentials getOauthJwtCredentials() { + if (authenticationCase_ == 2) { + return (com.google.cloud.chronicle.v1.OAuthJWTCredentials) authentication_; + } + return com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance(); + } + + /** + * + * + *
+   * Input only. OAuthJWTCredentials auth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials oauth_jwt_credentials = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder + getOauthJwtCredentialsOrBuilder() { + if (authenticationCase_ == 2) { + return (com.google.cloud.chronicle.v1.OAuthJWTCredentials) authentication_; + } + return com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance(); + } + + public static final int HOSTNAME_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * API hostname.
+   * 
+ * + * string hostname = 3; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * API hostname.
+   * 
+ * + * string hostname = 3; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = 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 (authenticationCase_ == 1) { + output.writeMessage( + 1, (com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials) authentication_); + } + if (authenticationCase_ == 2) { + output.writeMessage(2, (com.google.cloud.chronicle.v1.OAuthJWTCredentials) authentication_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, hostname_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (authenticationCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials) authentication_); + } + if (authenticationCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.chronicle.v1.OAuthJWTCredentials) authentication_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, hostname_); + } + 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.cloud.chronicle.v1.SalesforceSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.SalesforceSettings other = + (com.google.cloud.chronicle.v1.SalesforceSettings) obj; + + if (!getHostname().equals(other.getHostname())) return false; + if (!getAuthenticationCase().equals(other.getAuthenticationCase())) return false; + switch (authenticationCase_) { + case 1: + if (!getOauthPasswordGrantAuth().equals(other.getOauthPasswordGrantAuth())) return false; + break; + case 2: + if (!getOauthJwtCredentials().equals(other.getOauthJwtCredentials())) return false; + break; + case 0: + default: + } + 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) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + switch (authenticationCase_) { + case 1: + hash = (37 * hash) + OAUTH_PASSWORD_GRANT_AUTH_FIELD_NUMBER; + hash = (53 * hash) + getOauthPasswordGrantAuth().hashCode(); + break; + case 2: + hash = (37 * hash) + OAUTH_JWT_CREDENTIALS_FIELD_NUMBER; + hash = (53 * hash) + getOauthJwtCredentials().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.SalesforceSettings parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SalesforceSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SalesforceSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SalesforceSettings 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.cloud.chronicle.v1.SalesforceSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SalesforceSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SalesforceSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SalesforceSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SalesforceSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SalesforceSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SalesforceSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SalesforceSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.SalesforceSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Salesforce settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.SalesforceSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.SalesforceSettings) + com.google.cloud.chronicle.v1.SalesforceSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SalesforceSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SalesforceSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.SalesforceSettings.class, + com.google.cloud.chronicle.v1.SalesforceSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.SalesforceSettings.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (oauthPasswordGrantAuthBuilder_ != null) { + oauthPasswordGrantAuthBuilder_.clear(); + } + if (oauthJwtCredentialsBuilder_ != null) { + oauthJwtCredentialsBuilder_.clear(); + } + hostname_ = ""; + authenticationCase_ = 0; + authentication_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SalesforceSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SalesforceSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.SalesforceSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SalesforceSettings build() { + com.google.cloud.chronicle.v1.SalesforceSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SalesforceSettings buildPartial() { + com.google.cloud.chronicle.v1.SalesforceSettings result = + new com.google.cloud.chronicle.v1.SalesforceSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.SalesforceSettings result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.hostname_ = hostname_; + } + } + + private void buildPartialOneofs(com.google.cloud.chronicle.v1.SalesforceSettings result) { + result.authenticationCase_ = authenticationCase_; + result.authentication_ = this.authentication_; + if (authenticationCase_ == 1 && oauthPasswordGrantAuthBuilder_ != null) { + result.authentication_ = oauthPasswordGrantAuthBuilder_.build(); + } + if (authenticationCase_ == 2 && oauthJwtCredentialsBuilder_ != null) { + result.authentication_ = oauthJwtCredentialsBuilder_.build(); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.SalesforceSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.SalesforceSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.SalesforceSettings other) { + if (other == com.google.cloud.chronicle.v1.SalesforceSettings.getDefaultInstance()) + return this; + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000004; + onChanged(); + } + switch (other.getAuthenticationCase()) { + case OAUTH_PASSWORD_GRANT_AUTH: + { + mergeOauthPasswordGrantAuth(other.getOauthPasswordGrantAuth()); + break; + } + case OAUTH_JWT_CREDENTIALS: + { + mergeOauthJwtCredentials(other.getOauthJwtCredentials()); + break; + } + case AUTHENTICATION_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetOauthPasswordGrantAuthFieldBuilder().getBuilder(), + extensionRegistry); + authenticationCase_ = 1; + break; + } // case 10 + case 18: + { + input.readMessage( + internalGetOauthJwtCredentialsFieldBuilder().getBuilder(), extensionRegistry); + authenticationCase_ = 2; + break; + } // case 18 + case 26: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int authenticationCase_ = 0; + private java.lang.Object authentication_; + + public AuthenticationCase getAuthenticationCase() { + return AuthenticationCase.forNumber(authenticationCase_); + } + + public Builder clearAuthentication() { + authenticationCase_ = 0; + authentication_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials, + com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentialsOrBuilder> + oauthPasswordGrantAuthBuilder_; + + /** + * + * + *
+     * Input only. OAuthPasswordGrantCredentials auth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthPasswordGrantCredentials oauth_password_grant_auth = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the oauthPasswordGrantAuth field is set. + */ + @java.lang.Override + public boolean hasOauthPasswordGrantAuth() { + return authenticationCase_ == 1; + } + + /** + * + * + *
+     * Input only. OAuthPasswordGrantCredentials auth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthPasswordGrantCredentials oauth_password_grant_auth = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The oauthPasswordGrantAuth. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials getOauthPasswordGrantAuth() { + if (oauthPasswordGrantAuthBuilder_ == null) { + if (authenticationCase_ == 1) { + return (com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials) authentication_; + } + return com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials.getDefaultInstance(); + } else { + if (authenticationCase_ == 1) { + return oauthPasswordGrantAuthBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Input only. OAuthPasswordGrantCredentials auth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthPasswordGrantCredentials oauth_password_grant_auth = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setOauthPasswordGrantAuth( + com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials value) { + if (oauthPasswordGrantAuthBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + onChanged(); + } else { + oauthPasswordGrantAuthBuilder_.setMessage(value); + } + authenticationCase_ = 1; + return this; + } + + /** + * + * + *
+     * Input only. OAuthPasswordGrantCredentials auth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthPasswordGrantCredentials oauth_password_grant_auth = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setOauthPasswordGrantAuth( + com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials.Builder builderForValue) { + if (oauthPasswordGrantAuthBuilder_ == null) { + authentication_ = builderForValue.build(); + onChanged(); + } else { + oauthPasswordGrantAuthBuilder_.setMessage(builderForValue.build()); + } + authenticationCase_ = 1; + return this; + } + + /** + * + * + *
+     * Input only. OAuthPasswordGrantCredentials auth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthPasswordGrantCredentials oauth_password_grant_auth = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeOauthPasswordGrantAuth( + com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials value) { + if (oauthPasswordGrantAuthBuilder_ == null) { + if (authenticationCase_ == 1 + && authentication_ + != com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials + .getDefaultInstance()) { + authentication_ = + com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials.newBuilder( + (com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials) authentication_) + .mergeFrom(value) + .buildPartial(); + } else { + authentication_ = value; + } + onChanged(); + } else { + if (authenticationCase_ == 1) { + oauthPasswordGrantAuthBuilder_.mergeFrom(value); + } else { + oauthPasswordGrantAuthBuilder_.setMessage(value); + } + } + authenticationCase_ = 1; + return this; + } + + /** + * + * + *
+     * Input only. OAuthPasswordGrantCredentials auth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthPasswordGrantCredentials oauth_password_grant_auth = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearOauthPasswordGrantAuth() { + if (oauthPasswordGrantAuthBuilder_ == null) { + if (authenticationCase_ == 1) { + authenticationCase_ = 0; + authentication_ = null; + onChanged(); + } + } else { + if (authenticationCase_ == 1) { + authenticationCase_ = 0; + authentication_ = null; + } + oauthPasswordGrantAuthBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Input only. OAuthPasswordGrantCredentials auth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthPasswordGrantCredentials oauth_password_grant_auth = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials.Builder + getOauthPasswordGrantAuthBuilder() { + return internalGetOauthPasswordGrantAuthFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. OAuthPasswordGrantCredentials auth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthPasswordGrantCredentials oauth_password_grant_auth = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentialsOrBuilder + getOauthPasswordGrantAuthOrBuilder() { + if ((authenticationCase_ == 1) && (oauthPasswordGrantAuthBuilder_ != null)) { + return oauthPasswordGrantAuthBuilder_.getMessageOrBuilder(); + } else { + if (authenticationCase_ == 1) { + return (com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials) authentication_; + } + return com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Input only. OAuthPasswordGrantCredentials auth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthPasswordGrantCredentials oauth_password_grant_auth = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials, + com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentialsOrBuilder> + internalGetOauthPasswordGrantAuthFieldBuilder() { + if (oauthPasswordGrantAuthBuilder_ == null) { + if (!(authenticationCase_ == 1)) { + authentication_ = + com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials.getDefaultInstance(); + } + oauthPasswordGrantAuthBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials, + com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentialsOrBuilder>( + (com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials) authentication_, + getParentForChildren(), + isClean()); + authentication_ = null; + } + authenticationCase_ = 1; + onChanged(); + return oauthPasswordGrantAuthBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder> + oauthJwtCredentialsBuilder_; + + /** + * + * + *
+     * Input only. OAuthJWTCredentials auth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials oauth_jwt_credentials = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the oauthJwtCredentials field is set. + */ + @java.lang.Override + public boolean hasOauthJwtCredentials() { + return authenticationCase_ == 2; + } + + /** + * + * + *
+     * Input only. OAuthJWTCredentials auth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials oauth_jwt_credentials = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The oauthJwtCredentials. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthJWTCredentials getOauthJwtCredentials() { + if (oauthJwtCredentialsBuilder_ == null) { + if (authenticationCase_ == 2) { + return (com.google.cloud.chronicle.v1.OAuthJWTCredentials) authentication_; + } + return com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance(); + } else { + if (authenticationCase_ == 2) { + return oauthJwtCredentialsBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Input only. OAuthJWTCredentials auth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials oauth_jwt_credentials = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setOauthJwtCredentials(com.google.cloud.chronicle.v1.OAuthJWTCredentials value) { + if (oauthJwtCredentialsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + onChanged(); + } else { + oauthJwtCredentialsBuilder_.setMessage(value); + } + authenticationCase_ = 2; + return this; + } + + /** + * + * + *
+     * Input only. OAuthJWTCredentials auth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials oauth_jwt_credentials = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setOauthJwtCredentials( + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder builderForValue) { + if (oauthJwtCredentialsBuilder_ == null) { + authentication_ = builderForValue.build(); + onChanged(); + } else { + oauthJwtCredentialsBuilder_.setMessage(builderForValue.build()); + } + authenticationCase_ = 2; + return this; + } + + /** + * + * + *
+     * Input only. OAuthJWTCredentials auth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials oauth_jwt_credentials = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeOauthJwtCredentials( + com.google.cloud.chronicle.v1.OAuthJWTCredentials value) { + if (oauthJwtCredentialsBuilder_ == null) { + if (authenticationCase_ == 2 + && authentication_ + != com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance()) { + authentication_ = + com.google.cloud.chronicle.v1.OAuthJWTCredentials.newBuilder( + (com.google.cloud.chronicle.v1.OAuthJWTCredentials) authentication_) + .mergeFrom(value) + .buildPartial(); + } else { + authentication_ = value; + } + onChanged(); + } else { + if (authenticationCase_ == 2) { + oauthJwtCredentialsBuilder_.mergeFrom(value); + } else { + oauthJwtCredentialsBuilder_.setMessage(value); + } + } + authenticationCase_ = 2; + return this; + } + + /** + * + * + *
+     * Input only. OAuthJWTCredentials auth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials oauth_jwt_credentials = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearOauthJwtCredentials() { + if (oauthJwtCredentialsBuilder_ == null) { + if (authenticationCase_ == 2) { + authenticationCase_ = 0; + authentication_ = null; + onChanged(); + } + } else { + if (authenticationCase_ == 2) { + authenticationCase_ = 0; + authentication_ = null; + } + oauthJwtCredentialsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Input only. OAuthJWTCredentials auth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials oauth_jwt_credentials = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder + getOauthJwtCredentialsBuilder() { + return internalGetOauthJwtCredentialsFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. OAuthJWTCredentials auth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials oauth_jwt_credentials = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder + getOauthJwtCredentialsOrBuilder() { + if ((authenticationCase_ == 2) && (oauthJwtCredentialsBuilder_ != null)) { + return oauthJwtCredentialsBuilder_.getMessageOrBuilder(); + } else { + if (authenticationCase_ == 2) { + return (com.google.cloud.chronicle.v1.OAuthJWTCredentials) authentication_; + } + return com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Input only. OAuthJWTCredentials auth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials oauth_jwt_credentials = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder> + internalGetOauthJwtCredentialsFieldBuilder() { + if (oauthJwtCredentialsBuilder_ == null) { + if (!(authenticationCase_ == 2)) { + authentication_ = com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance(); + } + oauthJwtCredentialsBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder>( + (com.google.cloud.chronicle.v1.OAuthJWTCredentials) authentication_, + getParentForChildren(), + isClean()); + authentication_ = null; + } + authenticationCase_ = 2; + onChanged(); + return oauthJwtCredentialsBuilder_; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * API hostname.
+     * 
+ * + * string hostname = 3; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API hostname.
+     * 
+ * + * string hostname = 3; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API hostname.
+     * 
+ * + * string hostname = 3; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * API hostname.
+     * 
+ * + * string hostname = 3; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * API hostname.
+     * 
+ * + * string hostname = 3; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.SalesforceSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.SalesforceSettings) + private static final com.google.cloud.chronicle.v1.SalesforceSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.SalesforceSettings(); + } + + public static com.google.cloud.chronicle.v1.SalesforceSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SalesforceSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SalesforceSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SalesforceSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SalesforceSettingsOrBuilder.java new file mode 100644 index 000000000000..a801e385e453 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SalesforceSettingsOrBuilder.java @@ -0,0 +1,143 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface SalesforceSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.SalesforceSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. OAuthPasswordGrantCredentials auth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthPasswordGrantCredentials oauth_password_grant_auth = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the oauthPasswordGrantAuth field is set. + */ + boolean hasOauthPasswordGrantAuth(); + + /** + * + * + *
+   * Input only. OAuthPasswordGrantCredentials auth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthPasswordGrantCredentials oauth_password_grant_auth = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The oauthPasswordGrantAuth. + */ + com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentials getOauthPasswordGrantAuth(); + + /** + * + * + *
+   * Input only. OAuthPasswordGrantCredentials auth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthPasswordGrantCredentials oauth_password_grant_auth = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.OAuthPasswordGrantCredentialsOrBuilder + getOauthPasswordGrantAuthOrBuilder(); + + /** + * + * + *
+   * Input only. OAuthJWTCredentials auth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials oauth_jwt_credentials = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the oauthJwtCredentials field is set. + */ + boolean hasOauthJwtCredentials(); + + /** + * + * + *
+   * Input only. OAuthJWTCredentials auth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials oauth_jwt_credentials = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The oauthJwtCredentials. + */ + com.google.cloud.chronicle.v1.OAuthJWTCredentials getOauthJwtCredentials(); + + /** + * + * + *
+   * Input only. OAuthJWTCredentials auth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials oauth_jwt_credentials = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getOauthJwtCredentialsOrBuilder(); + + /** + * + * + *
+   * API hostname.
+   * 
+ * + * string hostname = 3; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * API hostname.
+   * 
+ * + * string hostname = 3; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); + + com.google.cloud.chronicle.v1.SalesforceSettings.AuthenticationCase getAuthenticationCase(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SemanticType.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SemanticType.java new file mode 100644 index 000000000000..1fd701c87299 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SemanticType.java @@ -0,0 +1,406 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * An enumeration of the possible types of a `Feed.details` field, where type
+ * implies both encoding and semantics. This is used in constructing a schema in
+ * order to construct a UI for creating well formed feeds.
+ * 
+ * + * Protobuf enum {@code google.cloud.chronicle.v1.SemanticType} + */ +@com.google.protobuf.Generated +public enum SemanticType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+   * No semantic type. All fields must specify a semantic type.
+   * 
+ * + * SEMANTIC_TYPE_UNSPECIFIED = 0; + */ + SEMANTIC_TYPE_UNSPECIFIED(0), + /** + * + * + *
+   * A boolean (with no special semantics).
+   * 
+ * + * BOOL = 1; + */ + BOOL(1), + /** + * + * + *
+   * An enum (with no special semantics).
+   * 
+ * + * ENUM = 2; + */ + ENUM(2), + /** + * + * + *
+   * A repeated field with a Message type where the Message contains two
+   * fields: `key` and `value`.
+   * 
+ * + * KEY_VALUE_LIST = 3; + */ + KEY_VALUE_LIST(3), + /** + * + * + *
+   * A `map<string, string>` (with no special semantics).
+   * 
+ * + * MAP_STRING_STRING = 4; + */ + MAP_STRING_STRING(4), + /** + * + * + *
+   * A string (with no special semantics).
+   * 
+ * + * STRING = 5; + */ + STRING(5), + /** + * + * + *
+   * A repeated string (with no special semantics).
+   * 
+ * + * STRING_LIST = 6; + */ + STRING_LIST(6), + /** + * + * + *
+   * A string that may contain any whitespace characters (with no special
+   * semantics).
+   * 
+ * + * STRING_MULTILINE = 7; + */ + STRING_MULTILINE(7), + /** + * + * + *
+   * A string that may contain any whitespace characters and that encodes a
+   * secret.
+   * 
+ * + * STRING_MULTILINE_SECRET = 8; + */ + STRING_MULTILINE_SECRET(8), + /** + * + * + *
+   * A string which encodes a secret.
+   * 
+ * + * STRING_SECRET = 9; + */ + STRING_SECRET(9), + /** + * + * + *
+   * A string which encodes a URI.
+   * 
+ * + * STRING_URI = 10; + */ + STRING_URI(10), + /** + * + * + *
+   * A repeated string which encodes URIs.
+   * 
+ * + * STRING_URI_LIST = 11; + */ + STRING_URI_LIST(11), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "SemanticType"); + } + + /** + * + * + *
+   * No semantic type. All fields must specify a semantic type.
+   * 
+ * + * SEMANTIC_TYPE_UNSPECIFIED = 0; + */ + public static final int SEMANTIC_TYPE_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
+   * A boolean (with no special semantics).
+   * 
+ * + * BOOL = 1; + */ + public static final int BOOL_VALUE = 1; + + /** + * + * + *
+   * An enum (with no special semantics).
+   * 
+ * + * ENUM = 2; + */ + public static final int ENUM_VALUE = 2; + + /** + * + * + *
+   * A repeated field with a Message type where the Message contains two
+   * fields: `key` and `value`.
+   * 
+ * + * KEY_VALUE_LIST = 3; + */ + public static final int KEY_VALUE_LIST_VALUE = 3; + + /** + * + * + *
+   * A `map<string, string>` (with no special semantics).
+   * 
+ * + * MAP_STRING_STRING = 4; + */ + public static final int MAP_STRING_STRING_VALUE = 4; + + /** + * + * + *
+   * A string (with no special semantics).
+   * 
+ * + * STRING = 5; + */ + public static final int STRING_VALUE = 5; + + /** + * + * + *
+   * A repeated string (with no special semantics).
+   * 
+ * + * STRING_LIST = 6; + */ + public static final int STRING_LIST_VALUE = 6; + + /** + * + * + *
+   * A string that may contain any whitespace characters (with no special
+   * semantics).
+   * 
+ * + * STRING_MULTILINE = 7; + */ + public static final int STRING_MULTILINE_VALUE = 7; + + /** + * + * + *
+   * A string that may contain any whitespace characters and that encodes a
+   * secret.
+   * 
+ * + * STRING_MULTILINE_SECRET = 8; + */ + public static final int STRING_MULTILINE_SECRET_VALUE = 8; + + /** + * + * + *
+   * A string which encodes a secret.
+   * 
+ * + * STRING_SECRET = 9; + */ + public static final int STRING_SECRET_VALUE = 9; + + /** + * + * + *
+   * A string which encodes a URI.
+   * 
+ * + * STRING_URI = 10; + */ + public static final int STRING_URI_VALUE = 10; + + /** + * + * + *
+   * A repeated string which encodes URIs.
+   * 
+ * + * STRING_URI_LIST = 11; + */ + public static final int STRING_URI_LIST_VALUE = 11; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static SemanticType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static SemanticType forNumber(int value) { + switch (value) { + case 0: + return SEMANTIC_TYPE_UNSPECIFIED; + case 1: + return BOOL; + case 2: + return ENUM; + case 3: + return KEY_VALUE_LIST; + case 4: + return MAP_STRING_STRING; + case 5: + return STRING; + case 6: + return STRING_LIST; + case 7: + return STRING_MULTILINE; + case 8: + return STRING_MULTILINE_SECRET; + case 9: + return STRING_SECRET; + case 10: + return STRING_URI; + case 11: + return STRING_URI_LIST; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public SemanticType findValueByNumber(int number) { + return SemanticType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto.getDescriptor().getEnumTypes().get(4); + } + + private static final SemanticType[] VALUES = values(); + + public static SemanticType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private SemanticType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.chronicle.v1.SemanticType) +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SentineloneAlertSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SentineloneAlertSettings.java new file mode 100644 index 000000000000..e5800b5b3226 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SentineloneAlertSettings.java @@ -0,0 +1,1202 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * SentinelOne Alert settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.SentineloneAlertSettings} + */ +@com.google.protobuf.Generated +public final class SentineloneAlertSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.SentineloneAlertSettings) + SentineloneAlertSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "SentineloneAlertSettings"); + } + + // Use SentineloneAlertSettings.newBuilder() to construct. + private SentineloneAlertSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private SentineloneAlertSettings() { + hostname_ = ""; + initialStartTime_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SentineloneAlertSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SentineloneAlertSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.SentineloneAlertSettings.class, + com.google.cloud.chronicle.v1.SentineloneAlertSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + public static final int HOSTNAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * Hostname of SentinelOne alert settings.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * Hostname of SentinelOne alert settings.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INITIAL_START_TIME_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object initialStartTime_ = ""; + + /** + * + * + *
+   * initialStartTime from when to fetch the alerts
+   * 
+ * + * string initial_start_time = 3; + * + * @return The initialStartTime. + */ + @java.lang.Override + public java.lang.String getInitialStartTime() { + java.lang.Object ref = initialStartTime_; + 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(); + initialStartTime_ = s; + return s; + } + } + + /** + * + * + *
+   * initialStartTime from when to fetch the alerts
+   * 
+ * + * string initial_start_time = 3; + * + * @return The bytes for initialStartTime. + */ + @java.lang.Override + public com.google.protobuf.ByteString getInitialStartTimeBytes() { + java.lang.Object ref = initialStartTime_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + initialStartTime_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int IS_ALERT_API_SUBSCRIBED_FIELD_NUMBER = 4; + private boolean isAlertApiSubscribed_ = false; + + /** + * + * + *
+   * Is the customer subscribed to Alerts Api
+   * 
+ * + * bool is_alert_api_subscribed = 4; + * + * @return The isAlertApiSubscribed. + */ + @java.lang.Override + public boolean getIsAlertApiSubscribed() { + return isAlertApiSubscribed_; + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(initialStartTime_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, initialStartTime_); + } + if (isAlertApiSubscribed_ != false) { + output.writeBool(4, isAlertApiSubscribed_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(initialStartTime_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, initialStartTime_); + } + if (isAlertApiSubscribed_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, isAlertApiSubscribed_); + } + 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.cloud.chronicle.v1.SentineloneAlertSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.SentineloneAlertSettings other = + (com.google.cloud.chronicle.v1.SentineloneAlertSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getHostname().equals(other.getHostname())) return false; + if (!getInitialStartTime().equals(other.getInitialStartTime())) return false; + if (getIsAlertApiSubscribed() != other.getIsAlertApiSubscribed()) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + hash = (37 * hash) + INITIAL_START_TIME_FIELD_NUMBER; + hash = (53 * hash) + getInitialStartTime().hashCode(); + hash = (37 * hash) + IS_ALERT_API_SUBSCRIBED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsAlertApiSubscribed()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.SentineloneAlertSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SentineloneAlertSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SentineloneAlertSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SentineloneAlertSettings 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.cloud.chronicle.v1.SentineloneAlertSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SentineloneAlertSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SentineloneAlertSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SentineloneAlertSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SentineloneAlertSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SentineloneAlertSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SentineloneAlertSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SentineloneAlertSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.SentineloneAlertSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * SentinelOne Alert settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.SentineloneAlertSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.SentineloneAlertSettings) + com.google.cloud.chronicle.v1.SentineloneAlertSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SentineloneAlertSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SentineloneAlertSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.SentineloneAlertSettings.class, + com.google.cloud.chronicle.v1.SentineloneAlertSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.SentineloneAlertSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + hostname_ = ""; + initialStartTime_ = ""; + isAlertApiSubscribed_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SentineloneAlertSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SentineloneAlertSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.SentineloneAlertSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SentineloneAlertSettings build() { + com.google.cloud.chronicle.v1.SentineloneAlertSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SentineloneAlertSettings buildPartial() { + com.google.cloud.chronicle.v1.SentineloneAlertSettings result = + new com.google.cloud.chronicle.v1.SentineloneAlertSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.SentineloneAlertSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.hostname_ = hostname_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.initialStartTime_ = initialStartTime_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.isAlertApiSubscribed_ = isAlertApiSubscribed_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.SentineloneAlertSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.SentineloneAlertSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.SentineloneAlertSettings other) { + if (other == com.google.cloud.chronicle.v1.SentineloneAlertSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getInitialStartTime().isEmpty()) { + initialStartTime_ = other.initialStartTime_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.getIsAlertApiSubscribed() != false) { + setIsAlertApiSubscribed(other.getIsAlertApiSubscribed()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + initialStartTime_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + isAlertApiSubscribed_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * Hostname of SentinelOne alert settings.
+     * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Hostname of SentinelOne alert settings.
+     * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Hostname of SentinelOne alert settings.
+     * 
+ * + * string hostname = 2; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Hostname of SentinelOne alert settings.
+     * 
+ * + * string hostname = 2; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Hostname of SentinelOne alert settings.
+     * 
+ * + * string hostname = 2; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object initialStartTime_ = ""; + + /** + * + * + *
+     * initialStartTime from when to fetch the alerts
+     * 
+ * + * string initial_start_time = 3; + * + * @return The initialStartTime. + */ + public java.lang.String getInitialStartTime() { + java.lang.Object ref = initialStartTime_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + initialStartTime_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * initialStartTime from when to fetch the alerts
+     * 
+ * + * string initial_start_time = 3; + * + * @return The bytes for initialStartTime. + */ + public com.google.protobuf.ByteString getInitialStartTimeBytes() { + java.lang.Object ref = initialStartTime_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + initialStartTime_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * initialStartTime from when to fetch the alerts
+     * 
+ * + * string initial_start_time = 3; + * + * @param value The initialStartTime to set. + * @return This builder for chaining. + */ + public Builder setInitialStartTime(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + initialStartTime_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * initialStartTime from when to fetch the alerts
+     * 
+ * + * string initial_start_time = 3; + * + * @return This builder for chaining. + */ + public Builder clearInitialStartTime() { + initialStartTime_ = getDefaultInstance().getInitialStartTime(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * initialStartTime from when to fetch the alerts
+     * 
+ * + * string initial_start_time = 3; + * + * @param value The bytes for initialStartTime to set. + * @return This builder for chaining. + */ + public Builder setInitialStartTimeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + initialStartTime_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private boolean isAlertApiSubscribed_; + + /** + * + * + *
+     * Is the customer subscribed to Alerts Api
+     * 
+ * + * bool is_alert_api_subscribed = 4; + * + * @return The isAlertApiSubscribed. + */ + @java.lang.Override + public boolean getIsAlertApiSubscribed() { + return isAlertApiSubscribed_; + } + + /** + * + * + *
+     * Is the customer subscribed to Alerts Api
+     * 
+ * + * bool is_alert_api_subscribed = 4; + * + * @param value The isAlertApiSubscribed to set. + * @return This builder for chaining. + */ + public Builder setIsAlertApiSubscribed(boolean value) { + + isAlertApiSubscribed_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Is the customer subscribed to Alerts Api
+     * 
+ * + * bool is_alert_api_subscribed = 4; + * + * @return This builder for chaining. + */ + public Builder clearIsAlertApiSubscribed() { + bitField0_ = (bitField0_ & ~0x00000008); + isAlertApiSubscribed_ = false; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.SentineloneAlertSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.SentineloneAlertSettings) + private static final com.google.cloud.chronicle.v1.SentineloneAlertSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.SentineloneAlertSettings(); + } + + public static com.google.cloud.chronicle.v1.SentineloneAlertSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SentineloneAlertSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SentineloneAlertSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SentineloneAlertSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SentineloneAlertSettingsOrBuilder.java new file mode 100644 index 000000000000..a68d80aba659 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SentineloneAlertSettingsOrBuilder.java @@ -0,0 +1,136 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface SentineloneAlertSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.SentineloneAlertSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Hostname of SentinelOne alert settings.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * Hostname of SentinelOne alert settings.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); + + /** + * + * + *
+   * initialStartTime from when to fetch the alerts
+   * 
+ * + * string initial_start_time = 3; + * + * @return The initialStartTime. + */ + java.lang.String getInitialStartTime(); + + /** + * + * + *
+   * initialStartTime from when to fetch the alerts
+   * 
+ * + * string initial_start_time = 3; + * + * @return The bytes for initialStartTime. + */ + com.google.protobuf.ByteString getInitialStartTimeBytes(); + + /** + * + * + *
+   * Is the customer subscribed to Alerts Api
+   * 
+ * + * bool is_alert_api_subscribed = 4; + * + * @return The isAlertApiSubscribed. + */ + boolean getIsAlertApiSubscribed(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ServiceNowCMDBSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ServiceNowCMDBSettings.java new file mode 100644 index 000000000000..b497ca35c4a5 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ServiceNowCMDBSettings.java @@ -0,0 +1,1104 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * ServiceNow CMDB settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ServiceNowCMDBSettings} + */ +@com.google.protobuf.Generated +public final class ServiceNowCMDBSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.ServiceNowCMDBSettings) + ServiceNowCMDBSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "ServiceNowCMDBSettings"); + } + + // Use ServiceNowCMDBSettings.newBuilder() to construct. + private ServiceNowCMDBSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ServiceNowCMDBSettings() { + hostname_ = ""; + feedname_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ServiceNowCMDBSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ServiceNowCMDBSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ServiceNowCMDBSettings.class, + com.google.cloud.chronicle.v1.ServiceNowCMDBSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + public static final int HOSTNAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FEEDNAME_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object feedname_ = ""; + + /** + * + * + *
+   * Feedname.
+   * 
+ * + * string feedname = 3; + * + * @return The feedname. + */ + @java.lang.Override + public java.lang.String getFeedname() { + java.lang.Object ref = feedname_; + 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(); + feedname_ = s; + return s; + } + } + + /** + * + * + *
+   * Feedname.
+   * 
+ * + * string feedname = 3; + * + * @return The bytes for feedname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFeednameBytes() { + java.lang.Object ref = feedname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + feedname_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(feedname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, feedname_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(feedname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, feedname_); + } + 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.cloud.chronicle.v1.ServiceNowCMDBSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.ServiceNowCMDBSettings other = + (com.google.cloud.chronicle.v1.ServiceNowCMDBSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getHostname().equals(other.getHostname())) return false; + if (!getFeedname().equals(other.getFeedname())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + hash = (37 * hash) + FEEDNAME_FIELD_NUMBER; + hash = (53 * hash) + getFeedname().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.ServiceNowCMDBSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ServiceNowCMDBSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ServiceNowCMDBSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ServiceNowCMDBSettings 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.cloud.chronicle.v1.ServiceNowCMDBSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ServiceNowCMDBSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ServiceNowCMDBSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ServiceNowCMDBSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ServiceNowCMDBSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ServiceNowCMDBSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ServiceNowCMDBSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ServiceNowCMDBSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.ServiceNowCMDBSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * ServiceNow CMDB settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ServiceNowCMDBSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.ServiceNowCMDBSettings) + com.google.cloud.chronicle.v1.ServiceNowCMDBSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ServiceNowCMDBSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ServiceNowCMDBSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ServiceNowCMDBSettings.class, + com.google.cloud.chronicle.v1.ServiceNowCMDBSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.ServiceNowCMDBSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + hostname_ = ""; + feedname_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ServiceNowCMDBSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ServiceNowCMDBSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.ServiceNowCMDBSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ServiceNowCMDBSettings build() { + com.google.cloud.chronicle.v1.ServiceNowCMDBSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ServiceNowCMDBSettings buildPartial() { + com.google.cloud.chronicle.v1.ServiceNowCMDBSettings result = + new com.google.cloud.chronicle.v1.ServiceNowCMDBSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.ServiceNowCMDBSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.hostname_ = hostname_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.feedname_ = feedname_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.ServiceNowCMDBSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.ServiceNowCMDBSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.ServiceNowCMDBSettings other) { + if (other == com.google.cloud.chronicle.v1.ServiceNowCMDBSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getFeedname().isEmpty()) { + feedname_ = other.feedname_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + feedname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object feedname_ = ""; + + /** + * + * + *
+     * Feedname.
+     * 
+ * + * string feedname = 3; + * + * @return The feedname. + */ + public java.lang.String getFeedname() { + java.lang.Object ref = feedname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + feedname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Feedname.
+     * 
+ * + * string feedname = 3; + * + * @return The bytes for feedname. + */ + public com.google.protobuf.ByteString getFeednameBytes() { + java.lang.Object ref = feedname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + feedname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Feedname.
+     * 
+ * + * string feedname = 3; + * + * @param value The feedname to set. + * @return This builder for chaining. + */ + public Builder setFeedname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + feedname_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Feedname.
+     * 
+ * + * string feedname = 3; + * + * @return This builder for chaining. + */ + public Builder clearFeedname() { + feedname_ = getDefaultInstance().getFeedname(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Feedname.
+     * 
+ * + * string feedname = 3; + * + * @param value The bytes for feedname to set. + * @return This builder for chaining. + */ + public Builder setFeednameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + feedname_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.ServiceNowCMDBSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.ServiceNowCMDBSettings) + private static final com.google.cloud.chronicle.v1.ServiceNowCMDBSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.ServiceNowCMDBSettings(); + } + + public static com.google.cloud.chronicle.v1.ServiceNowCMDBSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ServiceNowCMDBSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ServiceNowCMDBSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ServiceNowCMDBSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ServiceNowCMDBSettingsOrBuilder.java new file mode 100644 index 000000000000..146317bf81aa --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ServiceNowCMDBSettingsOrBuilder.java @@ -0,0 +1,123 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface ServiceNowCMDBSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.ServiceNowCMDBSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); + + /** + * + * + *
+   * Feedname.
+   * 
+ * + * string feedname = 3; + * + * @return The feedname. + */ + java.lang.String getFeedname(); + + /** + * + * + *
+   * Feedname.
+   * 
+ * + * string feedname = 3; + * + * @return The bytes for feedname. + */ + com.google.protobuf.ByteString getFeednameBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SftpAuth.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SftpAuth.java new file mode 100644 index 000000000000..d83033b32e2e --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SftpAuth.java @@ -0,0 +1,1161 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * SFTP Auth.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.SftpAuth} + */ +@com.google.protobuf.Generated +public final class SftpAuth extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.SftpAuth) + SftpAuthOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "SftpAuth"); + } + + // Use SftpAuth.newBuilder() to construct. + private SftpAuth(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private SftpAuth() { + username_ = ""; + password_ = ""; + privateKey_ = ""; + privateKeyPassphrase_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SftpAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SftpAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.SftpAuth.class, + com.google.cloud.chronicle.v1.SftpAuth.Builder.class); + } + + public static final int USERNAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object username_ = ""; + + /** + * + * + *
+   * Username. Used for username and password authentication.
+   * 
+ * + * string username = 1; + * + * @return The username. + */ + @java.lang.Override + public java.lang.String getUsername() { + java.lang.Object ref = username_; + 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(); + username_ = s; + return s; + } + } + + /** + * + * + *
+   * Username. Used for username and password authentication.
+   * 
+ * + * string username = 1; + * + * @return The bytes for username. + */ + @java.lang.Override + public com.google.protobuf.ByteString getUsernameBytes() { + java.lang.Object ref = username_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + username_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PASSWORD_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object password_ = ""; + + /** + * + * + *
+   * Password. Used for username and password authentication.
+   * 
+ * + * string password = 2; + * + * @return The password. + */ + @java.lang.Override + public java.lang.String getPassword() { + java.lang.Object ref = password_; + 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(); + password_ = s; + return s; + } + } + + /** + * + * + *
+   * Password. Used for username and password authentication.
+   * 
+ * + * string password = 2; + * + * @return The bytes for password. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPasswordBytes() { + java.lang.Object ref = password_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + password_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PRIVATE_KEY_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object privateKey_ = ""; + + /** + * + * + *
+   * Private key. Used for private key authentication.
+   * 
+ * + * string private_key = 3; + * + * @return The privateKey. + */ + @java.lang.Override + public java.lang.String getPrivateKey() { + java.lang.Object ref = privateKey_; + 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(); + privateKey_ = s; + return s; + } + } + + /** + * + * + *
+   * Private key. Used for private key authentication.
+   * 
+ * + * string private_key = 3; + * + * @return The bytes for privateKey. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPrivateKeyBytes() { + java.lang.Object ref = privateKey_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + privateKey_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PRIVATE_KEY_PASSPHRASE_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object privateKeyPassphrase_ = ""; + + /** + * + * + *
+   * Private key passphrase. Used for private key authentication.
+   * 
+ * + * string private_key_passphrase = 4; + * + * @return The privateKeyPassphrase. + */ + @java.lang.Override + public java.lang.String getPrivateKeyPassphrase() { + java.lang.Object ref = privateKeyPassphrase_; + 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(); + privateKeyPassphrase_ = s; + return s; + } + } + + /** + * + * + *
+   * Private key passphrase. Used for private key authentication.
+   * 
+ * + * string private_key_passphrase = 4; + * + * @return The bytes for privateKeyPassphrase. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPrivateKeyPassphraseBytes() { + java.lang.Object ref = privateKeyPassphrase_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + privateKeyPassphrase_ = 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.GeneratedMessage.isStringEmpty(username_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, username_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(password_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, password_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(privateKey_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, privateKey_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(privateKeyPassphrase_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, privateKeyPassphrase_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(username_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, username_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(password_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, password_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(privateKey_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, privateKey_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(privateKeyPassphrase_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, privateKeyPassphrase_); + } + 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.cloud.chronicle.v1.SftpAuth)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.SftpAuth other = (com.google.cloud.chronicle.v1.SftpAuth) obj; + + if (!getUsername().equals(other.getUsername())) return false; + if (!getPassword().equals(other.getPassword())) return false; + if (!getPrivateKey().equals(other.getPrivateKey())) return false; + if (!getPrivateKeyPassphrase().equals(other.getPrivateKeyPassphrase())) 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) + USERNAME_FIELD_NUMBER; + hash = (53 * hash) + getUsername().hashCode(); + hash = (37 * hash) + PASSWORD_FIELD_NUMBER; + hash = (53 * hash) + getPassword().hashCode(); + hash = (37 * hash) + PRIVATE_KEY_FIELD_NUMBER; + hash = (53 * hash) + getPrivateKey().hashCode(); + hash = (37 * hash) + PRIVATE_KEY_PASSPHRASE_FIELD_NUMBER; + hash = (53 * hash) + getPrivateKeyPassphrase().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.SftpAuth parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SftpAuth parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SftpAuth parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SftpAuth 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.cloud.chronicle.v1.SftpAuth parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SftpAuth parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SftpAuth parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SftpAuth parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SftpAuth parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SftpAuth parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SftpAuth parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SftpAuth parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.SftpAuth 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * SFTP Auth.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.SftpAuth} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.SftpAuth) + com.google.cloud.chronicle.v1.SftpAuthOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SftpAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SftpAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.SftpAuth.class, + com.google.cloud.chronicle.v1.SftpAuth.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.SftpAuth.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + username_ = ""; + password_ = ""; + privateKey_ = ""; + privateKeyPassphrase_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SftpAuth_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SftpAuth getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.SftpAuth.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SftpAuth build() { + com.google.cloud.chronicle.v1.SftpAuth result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SftpAuth buildPartial() { + com.google.cloud.chronicle.v1.SftpAuth result = + new com.google.cloud.chronicle.v1.SftpAuth(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.SftpAuth result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.username_ = username_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.password_ = password_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.privateKey_ = privateKey_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.privateKeyPassphrase_ = privateKeyPassphrase_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.SftpAuth) { + return mergeFrom((com.google.cloud.chronicle.v1.SftpAuth) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.SftpAuth other) { + if (other == com.google.cloud.chronicle.v1.SftpAuth.getDefaultInstance()) return this; + if (!other.getUsername().isEmpty()) { + username_ = other.username_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getPassword().isEmpty()) { + password_ = other.password_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getPrivateKey().isEmpty()) { + privateKey_ = other.privateKey_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getPrivateKeyPassphrase().isEmpty()) { + privateKeyPassphrase_ = other.privateKeyPassphrase_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + username_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + password_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + privateKey_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + privateKeyPassphrase_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object username_ = ""; + + /** + * + * + *
+     * Username. Used for username and password authentication.
+     * 
+ * + * string username = 1; + * + * @return The username. + */ + public java.lang.String getUsername() { + java.lang.Object ref = username_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + username_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Username. Used for username and password authentication.
+     * 
+ * + * string username = 1; + * + * @return The bytes for username. + */ + public com.google.protobuf.ByteString getUsernameBytes() { + java.lang.Object ref = username_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + username_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Username. Used for username and password authentication.
+     * 
+ * + * string username = 1; + * + * @param value The username to set. + * @return This builder for chaining. + */ + public Builder setUsername(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + username_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Username. Used for username and password authentication.
+     * 
+ * + * string username = 1; + * + * @return This builder for chaining. + */ + public Builder clearUsername() { + username_ = getDefaultInstance().getUsername(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Username. Used for username and password authentication.
+     * 
+ * + * string username = 1; + * + * @param value The bytes for username to set. + * @return This builder for chaining. + */ + public Builder setUsernameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + username_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object password_ = ""; + + /** + * + * + *
+     * Password. Used for username and password authentication.
+     * 
+ * + * string password = 2; + * + * @return The password. + */ + public java.lang.String getPassword() { + java.lang.Object ref = password_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + password_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Password. Used for username and password authentication.
+     * 
+ * + * string password = 2; + * + * @return The bytes for password. + */ + public com.google.protobuf.ByteString getPasswordBytes() { + java.lang.Object ref = password_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + password_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Password. Used for username and password authentication.
+     * 
+ * + * string password = 2; + * + * @param value The password to set. + * @return This builder for chaining. + */ + public Builder setPassword(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + password_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Password. Used for username and password authentication.
+     * 
+ * + * string password = 2; + * + * @return This builder for chaining. + */ + public Builder clearPassword() { + password_ = getDefaultInstance().getPassword(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Password. Used for username and password authentication.
+     * 
+ * + * string password = 2; + * + * @param value The bytes for password to set. + * @return This builder for chaining. + */ + public Builder setPasswordBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + password_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object privateKey_ = ""; + + /** + * + * + *
+     * Private key. Used for private key authentication.
+     * 
+ * + * string private_key = 3; + * + * @return The privateKey. + */ + public java.lang.String getPrivateKey() { + java.lang.Object ref = privateKey_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + privateKey_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Private key. Used for private key authentication.
+     * 
+ * + * string private_key = 3; + * + * @return The bytes for privateKey. + */ + public com.google.protobuf.ByteString getPrivateKeyBytes() { + java.lang.Object ref = privateKey_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + privateKey_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Private key. Used for private key authentication.
+     * 
+ * + * string private_key = 3; + * + * @param value The privateKey to set. + * @return This builder for chaining. + */ + public Builder setPrivateKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + privateKey_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Private key. Used for private key authentication.
+     * 
+ * + * string private_key = 3; + * + * @return This builder for chaining. + */ + public Builder clearPrivateKey() { + privateKey_ = getDefaultInstance().getPrivateKey(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Private key. Used for private key authentication.
+     * 
+ * + * string private_key = 3; + * + * @param value The bytes for privateKey to set. + * @return This builder for chaining. + */ + public Builder setPrivateKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + privateKey_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object privateKeyPassphrase_ = ""; + + /** + * + * + *
+     * Private key passphrase. Used for private key authentication.
+     * 
+ * + * string private_key_passphrase = 4; + * + * @return The privateKeyPassphrase. + */ + public java.lang.String getPrivateKeyPassphrase() { + java.lang.Object ref = privateKeyPassphrase_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + privateKeyPassphrase_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Private key passphrase. Used for private key authentication.
+     * 
+ * + * string private_key_passphrase = 4; + * + * @return The bytes for privateKeyPassphrase. + */ + public com.google.protobuf.ByteString getPrivateKeyPassphraseBytes() { + java.lang.Object ref = privateKeyPassphrase_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + privateKeyPassphrase_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Private key passphrase. Used for private key authentication.
+     * 
+ * + * string private_key_passphrase = 4; + * + * @param value The privateKeyPassphrase to set. + * @return This builder for chaining. + */ + public Builder setPrivateKeyPassphrase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + privateKeyPassphrase_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Private key passphrase. Used for private key authentication.
+     * 
+ * + * string private_key_passphrase = 4; + * + * @return This builder for chaining. + */ + public Builder clearPrivateKeyPassphrase() { + privateKeyPassphrase_ = getDefaultInstance().getPrivateKeyPassphrase(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+     * Private key passphrase. Used for private key authentication.
+     * 
+ * + * string private_key_passphrase = 4; + * + * @param value The bytes for privateKeyPassphrase to set. + * @return This builder for chaining. + */ + public Builder setPrivateKeyPassphraseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + privateKeyPassphrase_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.SftpAuth) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.SftpAuth) + private static final com.google.cloud.chronicle.v1.SftpAuth DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.SftpAuth(); + } + + public static com.google.cloud.chronicle.v1.SftpAuth getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SftpAuth parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SftpAuth getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SftpAuthOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SftpAuthOrBuilder.java new file mode 100644 index 000000000000..4f6e8d9d65cb --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SftpAuthOrBuilder.java @@ -0,0 +1,132 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface SftpAuthOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.SftpAuth) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Username. Used for username and password authentication.
+   * 
+ * + * string username = 1; + * + * @return The username. + */ + java.lang.String getUsername(); + + /** + * + * + *
+   * Username. Used for username and password authentication.
+   * 
+ * + * string username = 1; + * + * @return The bytes for username. + */ + com.google.protobuf.ByteString getUsernameBytes(); + + /** + * + * + *
+   * Password. Used for username and password authentication.
+   * 
+ * + * string password = 2; + * + * @return The password. + */ + java.lang.String getPassword(); + + /** + * + * + *
+   * Password. Used for username and password authentication.
+   * 
+ * + * string password = 2; + * + * @return The bytes for password. + */ + com.google.protobuf.ByteString getPasswordBytes(); + + /** + * + * + *
+   * Private key. Used for private key authentication.
+   * 
+ * + * string private_key = 3; + * + * @return The privateKey. + */ + java.lang.String getPrivateKey(); + + /** + * + * + *
+   * Private key. Used for private key authentication.
+   * 
+ * + * string private_key = 3; + * + * @return The bytes for privateKey. + */ + com.google.protobuf.ByteString getPrivateKeyBytes(); + + /** + * + * + *
+   * Private key passphrase. Used for private key authentication.
+   * 
+ * + * string private_key_passphrase = 4; + * + * @return The privateKeyPassphrase. + */ + java.lang.String getPrivateKeyPassphrase(); + + /** + * + * + *
+   * Private key passphrase. Used for private key authentication.
+   * 
+ * + * string private_key_passphrase = 4; + * + * @return The bytes for privateKeyPassphrase. + */ + com.google.protobuf.ByteString getPrivateKeyPassphraseBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SftpSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SftpSettings.java new file mode 100644 index 000000000000..69eaf46ae2f9 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SftpSettings.java @@ -0,0 +1,1234 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * SFTP settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.SftpSettings} + */ +@com.google.protobuf.Generated +public final class SftpSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.SftpSettings) + SftpSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "SftpSettings"); + } + + // Use SftpSettings.newBuilder() to construct. + private SftpSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private SftpSettings() { + uri_ = ""; + sourceType_ = 0; + sourceDeletionOption_ = 0; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SftpSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SftpSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.SftpSettings.class, + com.google.cloud.chronicle.v1.SftpSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.SftpAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SftpAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SftpAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SftpAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.SftpAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SftpAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SftpAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.SftpAuth.getDefaultInstance() + : authentication_; + } + + public static final int URI_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object uri_ = ""; + + /** + * + * + *
+   * SFTP URI.
+   * 
+ * + * string uri = 2; + * + * @return The uri. + */ + @java.lang.Override + public java.lang.String getUri() { + java.lang.Object ref = uri_; + 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(); + uri_ = s; + return s; + } + } + + /** + * + * + *
+   * SFTP URI.
+   * 
+ * + * string uri = 2; + * + * @return The bytes for uri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getUriBytes() { + java.lang.Object ref = uri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + uri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SOURCE_TYPE_FIELD_NUMBER = 3; + private int sourceType_ = 0; + + /** + * + * + *
+   * The URI source type.
+   * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 3; + * + * @return The enum numeric value on the wire for sourceType. + */ + @java.lang.Override + public int getSourceTypeValue() { + return sourceType_; + } + + /** + * + * + *
+   * The URI source type.
+   * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 3; + * + * @return The sourceType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.URISourceType getSourceType() { + com.google.cloud.chronicle.v1.URISourceType result = + com.google.cloud.chronicle.v1.URISourceType.forNumber(sourceType_); + return result == null ? com.google.cloud.chronicle.v1.URISourceType.UNRECOGNIZED : result; + } + + public static final int SOURCE_DELETION_OPTION_FIELD_NUMBER = 4; + private int sourceDeletionOption_ = 0; + + /** + * + * + *
+   * Source deletion option.
+   * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 4; + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + @java.lang.Override + public int getSourceDeletionOptionValue() { + return sourceDeletionOption_; + } + + /** + * + * + *
+   * Source deletion option.
+   * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 4; + * + * @return The sourceDeletionOption. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SourceDeletionOption getSourceDeletionOption() { + com.google.cloud.chronicle.v1.SourceDeletionOption result = + com.google.cloud.chronicle.v1.SourceDeletionOption.forNumber(sourceDeletionOption_); + return result == null + ? com.google.cloud.chronicle.v1.SourceDeletionOption.UNRECOGNIZED + : result; + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(uri_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, uri_); + } + if (sourceType_ + != com.google.cloud.chronicle.v1.URISourceType.URI_SOURCE_TYPE_UNSPECIFIED.getNumber()) { + output.writeEnum(3, sourceType_); + } + if (sourceDeletionOption_ + != com.google.cloud.chronicle.v1.SourceDeletionOption.SOURCE_DELETION_OPTION_UNSPECIFIED + .getNumber()) { + output.writeEnum(4, sourceDeletionOption_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(uri_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, uri_); + } + if (sourceType_ + != com.google.cloud.chronicle.v1.URISourceType.URI_SOURCE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, sourceType_); + } + if (sourceDeletionOption_ + != com.google.cloud.chronicle.v1.SourceDeletionOption.SOURCE_DELETION_OPTION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, sourceDeletionOption_); + } + 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.cloud.chronicle.v1.SftpSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.SftpSettings other = + (com.google.cloud.chronicle.v1.SftpSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getUri().equals(other.getUri())) return false; + if (sourceType_ != other.sourceType_) return false; + if (sourceDeletionOption_ != other.sourceDeletionOption_) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + URI_FIELD_NUMBER; + hash = (53 * hash) + getUri().hashCode(); + hash = (37 * hash) + SOURCE_TYPE_FIELD_NUMBER; + hash = (53 * hash) + sourceType_; + hash = (37 * hash) + SOURCE_DELETION_OPTION_FIELD_NUMBER; + hash = (53 * hash) + sourceDeletionOption_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.SftpSettings parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SftpSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SftpSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SftpSettings 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.cloud.chronicle.v1.SftpSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SftpSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SftpSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SftpSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SftpSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SftpSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SftpSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SftpSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.SftpSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * SFTP settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.SftpSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.SftpSettings) + com.google.cloud.chronicle.v1.SftpSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SftpSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SftpSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.SftpSettings.class, + com.google.cloud.chronicle.v1.SftpSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.SftpSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + uri_ = ""; + sourceType_ = 0; + sourceDeletionOption_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SftpSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SftpSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.SftpSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SftpSettings build() { + com.google.cloud.chronicle.v1.SftpSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SftpSettings buildPartial() { + com.google.cloud.chronicle.v1.SftpSettings result = + new com.google.cloud.chronicle.v1.SftpSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.SftpSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.uri_ = uri_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.sourceType_ = sourceType_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.sourceDeletionOption_ = sourceDeletionOption_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.SftpSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.SftpSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.SftpSettings other) { + if (other == com.google.cloud.chronicle.v1.SftpSettings.getDefaultInstance()) return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getUri().isEmpty()) { + uri_ = other.uri_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.sourceType_ != 0) { + setSourceTypeValue(other.getSourceTypeValue()); + } + if (other.sourceDeletionOption_ != 0) { + setSourceDeletionOptionValue(other.getSourceDeletionOptionValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + sourceType_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + sourceDeletionOption_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.SftpAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SftpAuth, + com.google.cloud.chronicle.v1.SftpAuth.Builder, + com.google.cloud.chronicle.v1.SftpAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SftpAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SftpAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.SftpAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.SftpAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SftpAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.SftpAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SftpAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.SftpAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SftpAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.SftpAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ != com.google.cloud.chronicle.v1.SftpAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SftpAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SftpAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.SftpAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SftpAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.SftpAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.SftpAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.SftpAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SftpAuth, + com.google.cloud.chronicle.v1.SftpAuth.Builder, + com.google.cloud.chronicle.v1.SftpAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.SftpAuth, + com.google.cloud.chronicle.v1.SftpAuth.Builder, + com.google.cloud.chronicle.v1.SftpAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object uri_ = ""; + + /** + * + * + *
+     * SFTP URI.
+     * 
+ * + * string uri = 2; + * + * @return The uri. + */ + public java.lang.String getUri() { + java.lang.Object ref = uri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + uri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * SFTP URI.
+     * 
+ * + * string uri = 2; + * + * @return The bytes for uri. + */ + public com.google.protobuf.ByteString getUriBytes() { + java.lang.Object ref = uri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + uri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * SFTP URI.
+     * 
+ * + * string uri = 2; + * + * @param value The uri to set. + * @return This builder for chaining. + */ + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + uri_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * SFTP URI.
+     * 
+ * + * string uri = 2; + * + * @return This builder for chaining. + */ + public Builder clearUri() { + uri_ = getDefaultInstance().getUri(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * SFTP URI.
+     * 
+ * + * string uri = 2; + * + * @param value The bytes for uri to set. + * @return This builder for chaining. + */ + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int sourceType_ = 0; + + /** + * + * + *
+     * The URI source type.
+     * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 3; + * + * @return The enum numeric value on the wire for sourceType. + */ + @java.lang.Override + public int getSourceTypeValue() { + return sourceType_; + } + + /** + * + * + *
+     * The URI source type.
+     * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 3; + * + * @param value The enum numeric value on the wire for sourceType to set. + * @return This builder for chaining. + */ + public Builder setSourceTypeValue(int value) { + sourceType_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * The URI source type.
+     * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 3; + * + * @return The sourceType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.URISourceType getSourceType() { + com.google.cloud.chronicle.v1.URISourceType result = + com.google.cloud.chronicle.v1.URISourceType.forNumber(sourceType_); + return result == null ? com.google.cloud.chronicle.v1.URISourceType.UNRECOGNIZED : result; + } + + /** + * + * + *
+     * The URI source type.
+     * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 3; + * + * @param value The sourceType to set. + * @return This builder for chaining. + */ + public Builder setSourceType(com.google.cloud.chronicle.v1.URISourceType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + sourceType_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * The URI source type.
+     * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 3; + * + * @return This builder for chaining. + */ + public Builder clearSourceType() { + bitField0_ = (bitField0_ & ~0x00000004); + sourceType_ = 0; + onChanged(); + return this; + } + + private int sourceDeletionOption_ = 0; + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 4; + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + @java.lang.Override + public int getSourceDeletionOptionValue() { + return sourceDeletionOption_; + } + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 4; + * + * @param value The enum numeric value on the wire for sourceDeletionOption to set. + * @return This builder for chaining. + */ + public Builder setSourceDeletionOptionValue(int value) { + sourceDeletionOption_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 4; + * + * @return The sourceDeletionOption. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.SourceDeletionOption getSourceDeletionOption() { + com.google.cloud.chronicle.v1.SourceDeletionOption result = + com.google.cloud.chronicle.v1.SourceDeletionOption.forNumber(sourceDeletionOption_); + return result == null + ? com.google.cloud.chronicle.v1.SourceDeletionOption.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 4; + * + * @param value The sourceDeletionOption to set. + * @return This builder for chaining. + */ + public Builder setSourceDeletionOption( + com.google.cloud.chronicle.v1.SourceDeletionOption value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + sourceDeletionOption_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Source deletion option.
+     * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 4; + * + * @return This builder for chaining. + */ + public Builder clearSourceDeletionOption() { + bitField0_ = (bitField0_ & ~0x00000008); + sourceDeletionOption_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.SftpSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.SftpSettings) + private static final com.google.cloud.chronicle.v1.SftpSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.SftpSettings(); + } + + public static com.google.cloud.chronicle.v1.SftpSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SftpSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SftpSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SftpSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SftpSettingsOrBuilder.java new file mode 100644 index 000000000000..a280f4359165 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SftpSettingsOrBuilder.java @@ -0,0 +1,149 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface SftpSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.SftpSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SftpAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SftpAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.SftpAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.SftpAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.SftpAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * SFTP URI.
+   * 
+ * + * string uri = 2; + * + * @return The uri. + */ + java.lang.String getUri(); + + /** + * + * + *
+   * SFTP URI.
+   * 
+ * + * string uri = 2; + * + * @return The bytes for uri. + */ + com.google.protobuf.ByteString getUriBytes(); + + /** + * + * + *
+   * The URI source type.
+   * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 3; + * + * @return The enum numeric value on the wire for sourceType. + */ + int getSourceTypeValue(); + + /** + * + * + *
+   * The URI source type.
+   * 
+ * + * .google.cloud.chronicle.v1.URISourceType source_type = 3; + * + * @return The sourceType. + */ + com.google.cloud.chronicle.v1.URISourceType getSourceType(); + + /** + * + * + *
+   * Source deletion option.
+   * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 4; + * + * @return The enum numeric value on the wire for sourceDeletionOption. + */ + int getSourceDeletionOptionValue(); + + /** + * + * + *
+   * Source deletion option.
+   * 
+ * + * .google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 4; + * + * @return The sourceDeletionOption. + */ + com.google.cloud.chronicle.v1.SourceDeletionOption getSourceDeletionOption(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SourceDeletionOption.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SourceDeletionOption.java new file mode 100644 index 000000000000..a37bef3f8712 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SourceDeletionOption.java @@ -0,0 +1,222 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Source deletion option controls whether source files should be deleted after
+ * transferring.
+ * 
+ * + * Protobuf enum {@code google.cloud.chronicle.v1.SourceDeletionOption} + */ +@com.google.protobuf.Generated +public enum SourceDeletionOption implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+   * If encountered, will be treated as `SOURCE_DELETION_NEVER`.
+   * 
+ * + * SOURCE_DELETION_OPTION_UNSPECIFIED = 0; + */ + SOURCE_DELETION_OPTION_UNSPECIFIED(0), + /** + * + * + *
+   * Never delete files from the source.
+   * 
+ * + * SOURCE_DELETION_NEVER = 1; + */ + SOURCE_DELETION_NEVER(1), + /** + * + * + *
+   * After the fetch completes, if there are no errors, delete files and any
+   * directories made empty by the file deletion from the source.
+   * 
+ * + * SOURCE_DELETION_ON_SUCCESS = 2; + */ + SOURCE_DELETION_ON_SUCCESS(2), + /** + * + * + *
+   * After the fetch completes, if there are no errors, delete files (leaving
+   * any directories) from the source.
+   * 
+ * + * SOURCE_DELETION_ON_SUCCESS_FILES_ONLY = 3; + */ + SOURCE_DELETION_ON_SUCCESS_FILES_ONLY(3), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "SourceDeletionOption"); + } + + /** + * + * + *
+   * If encountered, will be treated as `SOURCE_DELETION_NEVER`.
+   * 
+ * + * SOURCE_DELETION_OPTION_UNSPECIFIED = 0; + */ + public static final int SOURCE_DELETION_OPTION_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
+   * Never delete files from the source.
+   * 
+ * + * SOURCE_DELETION_NEVER = 1; + */ + public static final int SOURCE_DELETION_NEVER_VALUE = 1; + + /** + * + * + *
+   * After the fetch completes, if there are no errors, delete files and any
+   * directories made empty by the file deletion from the source.
+   * 
+ * + * SOURCE_DELETION_ON_SUCCESS = 2; + */ + public static final int SOURCE_DELETION_ON_SUCCESS_VALUE = 2; + + /** + * + * + *
+   * After the fetch completes, if there are no errors, delete files (leaving
+   * any directories) from the source.
+   * 
+ * + * SOURCE_DELETION_ON_SUCCESS_FILES_ONLY = 3; + */ + public static final int SOURCE_DELETION_ON_SUCCESS_FILES_ONLY_VALUE = 3; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static SourceDeletionOption valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static SourceDeletionOption forNumber(int value) { + switch (value) { + case 0: + return SOURCE_DELETION_OPTION_UNSPECIFIED; + case 1: + return SOURCE_DELETION_NEVER; + case 2: + return SOURCE_DELETION_ON_SUCCESS; + case 3: + return SOURCE_DELETION_ON_SUCCESS_FILES_ONLY; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public SourceDeletionOption findValueByNumber(int number) { + return SourceDeletionOption.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto.getDescriptor().getEnumTypes().get(1); + } + + private static final SourceDeletionOption[] VALUES = values(); + + public static SourceDeletionOption valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private SourceDeletionOption(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.chronicle.v1.SourceDeletionOption) +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SourceDeletionOptionV2.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SourceDeletionOptionV2.java new file mode 100644 index 000000000000..a621bd991318 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SourceDeletionOptionV2.java @@ -0,0 +1,197 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Source deletion option determines whether source files should be deleted
+ * after transferring.
+ * 
+ * + * Protobuf enum {@code google.cloud.chronicle.v1.SourceDeletionOptionV2} + */ +@com.google.protobuf.Generated +public enum SourceDeletionOptionV2 implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+   * If encountered, will be treated as `SOURCE_DELETION_NEVER`.
+   * 
+ * + * SOURCE_DELETION_OPTION_V2_UNSPECIFIED = 0; + */ + SOURCE_DELETION_OPTION_V2_UNSPECIFIED(0), + /** + * + * + *
+   * Never delete files from the source.
+   * 
+ * + * NEVER = 1; + */ + NEVER(1), + /** + * + * + *
+   * After the fetch completes, if there are no errors, delete files and any
+   * directories made empty by the file deletion from the source.
+   * 
+ * + * ON_SUCCESS = 2; + */ + ON_SUCCESS(2), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "SourceDeletionOptionV2"); + } + + /** + * + * + *
+   * If encountered, will be treated as `SOURCE_DELETION_NEVER`.
+   * 
+ * + * SOURCE_DELETION_OPTION_V2_UNSPECIFIED = 0; + */ + public static final int SOURCE_DELETION_OPTION_V2_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
+   * Never delete files from the source.
+   * 
+ * + * NEVER = 1; + */ + public static final int NEVER_VALUE = 1; + + /** + * + * + *
+   * After the fetch completes, if there are no errors, delete files and any
+   * directories made empty by the file deletion from the source.
+   * 
+ * + * ON_SUCCESS = 2; + */ + public static final int ON_SUCCESS_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static SourceDeletionOptionV2 valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static SourceDeletionOptionV2 forNumber(int value) { + switch (value) { + case 0: + return SOURCE_DELETION_OPTION_V2_UNSPECIFIED; + case 1: + return NEVER; + case 2: + return ON_SUCCESS; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public SourceDeletionOptionV2 findValueByNumber(int number) { + return SourceDeletionOptionV2.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto.getDescriptor().getEnumTypes().get(2); + } + + private static final SourceDeletionOptionV2[] VALUES = values(); + + public static SourceDeletionOptionV2 valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private SourceDeletionOptionV2(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.chronicle.v1.SourceDeletionOptionV2) +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SymantecEventExportSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SymantecEventExportSettings.java new file mode 100644 index 000000000000..cecd56df508c --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SymantecEventExportSettings.java @@ -0,0 +1,726 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Symantec Event Export settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.SymantecEventExportSettings} + */ +@com.google.protobuf.Generated +public final class SymantecEventExportSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.SymantecEventExportSettings) + SymantecEventExportSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "SymantecEventExportSettings"); + } + + // Use SymantecEventExportSettings.newBuilder() to construct. + private SymantecEventExportSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private SymantecEventExportSettings() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SymantecEventExportSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SymantecEventExportSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.SymantecEventExportSettings.class, + com.google.cloud.chronicle.v1.SymantecEventExportSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.OAuthRefreshToken authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthRefreshToken authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthRefreshToken authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthRefreshToken getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthRefreshToken.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthRefreshToken authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthRefreshTokenOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthRefreshToken.getDefaultInstance() + : authentication_; + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + 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.cloud.chronicle.v1.SymantecEventExportSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.SymantecEventExportSettings other = + (com.google.cloud.chronicle.v1.SymantecEventExportSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.SymantecEventExportSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SymantecEventExportSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SymantecEventExportSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SymantecEventExportSettings 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.cloud.chronicle.v1.SymantecEventExportSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.SymantecEventExportSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SymantecEventExportSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SymantecEventExportSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SymantecEventExportSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SymantecEventExportSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.SymantecEventExportSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.SymantecEventExportSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.SymantecEventExportSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Symantec Event Export settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.SymantecEventExportSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.SymantecEventExportSettings) + com.google.cloud.chronicle.v1.SymantecEventExportSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SymantecEventExportSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SymantecEventExportSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.SymantecEventExportSettings.class, + com.google.cloud.chronicle.v1.SymantecEventExportSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.SymantecEventExportSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_SymantecEventExportSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SymantecEventExportSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.SymantecEventExportSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SymantecEventExportSettings build() { + com.google.cloud.chronicle.v1.SymantecEventExportSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SymantecEventExportSettings buildPartial() { + com.google.cloud.chronicle.v1.SymantecEventExportSettings result = + new com.google.cloud.chronicle.v1.SymantecEventExportSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.SymantecEventExportSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.SymantecEventExportSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.SymantecEventExportSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.SymantecEventExportSettings other) { + if (other == com.google.cloud.chronicle.v1.SymantecEventExportSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.OAuthRefreshToken authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthRefreshToken, + com.google.cloud.chronicle.v1.OAuthRefreshToken.Builder, + com.google.cloud.chronicle.v1.OAuthRefreshTokenOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthRefreshToken authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthRefreshToken authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.OAuthRefreshToken getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthRefreshToken.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthRefreshToken authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.OAuthRefreshToken value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthRefreshToken authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.OAuthRefreshToken.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthRefreshToken authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.OAuthRefreshToken value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.OAuthRefreshToken.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthRefreshToken authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthRefreshToken authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.OAuthRefreshToken.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthRefreshToken authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.OAuthRefreshTokenOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthRefreshToken.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthRefreshToken authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthRefreshToken, + com.google.cloud.chronicle.v1.OAuthRefreshToken.Builder, + com.google.cloud.chronicle.v1.OAuthRefreshTokenOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthRefreshToken, + com.google.cloud.chronicle.v1.OAuthRefreshToken.Builder, + com.google.cloud.chronicle.v1.OAuthRefreshTokenOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.SymantecEventExportSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.SymantecEventExportSettings) + private static final com.google.cloud.chronicle.v1.SymantecEventExportSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.SymantecEventExportSettings(); + } + + public static com.google.cloud.chronicle.v1.SymantecEventExportSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SymantecEventExportSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.SymantecEventExportSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SymantecEventExportSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SymantecEventExportSettingsOrBuilder.java new file mode 100644 index 000000000000..86773ab3a123 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/SymantecEventExportSettingsOrBuilder.java @@ -0,0 +1,71 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface SymantecEventExportSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.SymantecEventExportSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthRefreshToken authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthRefreshToken authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.OAuthRefreshToken getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthRefreshToken authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.OAuthRefreshTokenOrBuilder getAuthenticationOrBuilder(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ThinkstCanarySettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ThinkstCanarySettings.java new file mode 100644 index 000000000000..4b0d33566bff --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ThinkstCanarySettings.java @@ -0,0 +1,915 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Thinkst Canary settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ThinkstCanarySettings} + */ +@com.google.protobuf.Generated +public final class ThinkstCanarySettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.ThinkstCanarySettings) + ThinkstCanarySettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "ThinkstCanarySettings"); + } + + // Use ThinkstCanarySettings.newBuilder() to construct. + private ThinkstCanarySettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ThinkstCanarySettings() { + hostname_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ThinkstCanarySettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ThinkstCanarySettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ThinkstCanarySettings.class, + com.google.cloud.chronicle.v1.ThinkstCanarySettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + + public static final int HOSTNAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, hostname_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, hostname_); + } + 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.cloud.chronicle.v1.ThinkstCanarySettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.ThinkstCanarySettings other = + (com.google.cloud.chronicle.v1.ThinkstCanarySettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getHostname().equals(other.getHostname())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.ThinkstCanarySettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ThinkstCanarySettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ThinkstCanarySettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ThinkstCanarySettings 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.cloud.chronicle.v1.ThinkstCanarySettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ThinkstCanarySettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ThinkstCanarySettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ThinkstCanarySettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ThinkstCanarySettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ThinkstCanarySettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ThinkstCanarySettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ThinkstCanarySettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.ThinkstCanarySettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Thinkst Canary settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ThinkstCanarySettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.ThinkstCanarySettings) + com.google.cloud.chronicle.v1.ThinkstCanarySettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ThinkstCanarySettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ThinkstCanarySettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ThinkstCanarySettings.class, + com.google.cloud.chronicle.v1.ThinkstCanarySettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.ThinkstCanarySettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + hostname_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ThinkstCanarySettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ThinkstCanarySettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.ThinkstCanarySettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ThinkstCanarySettings build() { + com.google.cloud.chronicle.v1.ThinkstCanarySettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ThinkstCanarySettings buildPartial() { + com.google.cloud.chronicle.v1.ThinkstCanarySettings result = + new com.google.cloud.chronicle.v1.ThinkstCanarySettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.ThinkstCanarySettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.hostname_ = hostname_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.ThinkstCanarySettings) { + return mergeFrom((com.google.cloud.chronicle.v1.ThinkstCanarySettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.ThinkstCanarySettings other) { + if (other == com.google.cloud.chronicle.v1.ThinkstCanarySettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.HttpHeaderAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.HttpHeaderAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.HttpHeaderAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.HttpHeaderAuth, + com.google.cloud.chronicle.v1.HttpHeaderAuth.Builder, + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.ThinkstCanarySettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.ThinkstCanarySettings) + private static final com.google.cloud.chronicle.v1.ThinkstCanarySettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.ThinkstCanarySettings(); + } + + public static com.google.cloud.chronicle.v1.ThinkstCanarySettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ThinkstCanarySettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ThinkstCanarySettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ThinkstCanarySettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ThinkstCanarySettingsOrBuilder.java new file mode 100644 index 000000000000..9e31fe2b392e --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ThinkstCanarySettingsOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface ThinkstCanarySettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.ThinkstCanarySettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.HttpHeaderAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.HttpHeaderAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ThreatConnectIoCSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ThreatConnectIoCSettings.java new file mode 100644 index 000000000000..dc1987570766 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ThreatConnectIoCSettings.java @@ -0,0 +1,1206 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * ThreatConnect IOC Settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ThreatConnectIoCSettings} + */ +@com.google.protobuf.Generated +public final class ThreatConnectIoCSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.ThreatConnectIoCSettings) + ThreatConnectIoCSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "ThreatConnectIoCSettings"); + } + + // Use ThreatConnectIoCSettings.newBuilder() to construct. + private ThreatConnectIoCSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ThreatConnectIoCSettings() { + hostname_ = ""; + owners_ = com.google.protobuf.LazyStringArrayList.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ThreatConnectIoCSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ThreatConnectIoCSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ThreatConnectIoCSettings.class, + com.google.cloud.chronicle.v1.ThreatConnectIoCSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + public static final int HOSTNAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OWNERS_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList owners_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + /** + * + * + *
+   * Owners.
+   * 
+ * + * repeated string owners = 3; + * + * @return A list containing the owners. + */ + public com.google.protobuf.ProtocolStringList getOwnersList() { + return owners_; + } + + /** + * + * + *
+   * Owners.
+   * 
+ * + * repeated string owners = 3; + * + * @return The count of owners. + */ + public int getOwnersCount() { + return owners_.size(); + } + + /** + * + * + *
+   * Owners.
+   * 
+ * + * repeated string owners = 3; + * + * @param index The index of the element to return. + * @return The owners at the given index. + */ + public java.lang.String getOwners(int index) { + return owners_.get(index); + } + + /** + * + * + *
+   * Owners.
+   * 
+ * + * repeated string owners = 3; + * + * @param index The index of the value to return. + * @return The bytes of the owners at the given index. + */ + public com.google.protobuf.ByteString getOwnersBytes(int index) { + return owners_.getByteString(index); + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, hostname_); + } + for (int i = 0; i < owners_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, owners_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, hostname_); + } + { + int dataSize = 0; + for (int i = 0; i < owners_.size(); i++) { + dataSize += computeStringSizeNoTag(owners_.getRaw(i)); + } + size += dataSize; + size += 1 * getOwnersList().size(); + } + 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.cloud.chronicle.v1.ThreatConnectIoCSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.ThreatConnectIoCSettings other = + (com.google.cloud.chronicle.v1.ThreatConnectIoCSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getHostname().equals(other.getHostname())) return false; + if (!getOwnersList().equals(other.getOwnersList())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + if (getOwnersCount() > 0) { + hash = (37 * hash) + OWNERS_FIELD_NUMBER; + hash = (53 * hash) + getOwnersList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.ThreatConnectIoCSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ThreatConnectIoCSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ThreatConnectIoCSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ThreatConnectIoCSettings 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.cloud.chronicle.v1.ThreatConnectIoCSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ThreatConnectIoCSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ThreatConnectIoCSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ThreatConnectIoCSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ThreatConnectIoCSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ThreatConnectIoCSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ThreatConnectIoCSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ThreatConnectIoCSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.ThreatConnectIoCSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * ThreatConnect IOC Settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ThreatConnectIoCSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.ThreatConnectIoCSettings) + com.google.cloud.chronicle.v1.ThreatConnectIoCSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ThreatConnectIoCSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ThreatConnectIoCSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ThreatConnectIoCSettings.class, + com.google.cloud.chronicle.v1.ThreatConnectIoCSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.ThreatConnectIoCSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + hostname_ = ""; + owners_ = com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ThreatConnectIoCSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ThreatConnectIoCSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.ThreatConnectIoCSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ThreatConnectIoCSettings build() { + com.google.cloud.chronicle.v1.ThreatConnectIoCSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ThreatConnectIoCSettings buildPartial() { + com.google.cloud.chronicle.v1.ThreatConnectIoCSettings result = + new com.google.cloud.chronicle.v1.ThreatConnectIoCSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.ThreatConnectIoCSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.hostname_ = hostname_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + owners_.makeImmutable(); + result.owners_ = owners_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.ThreatConnectIoCSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.ThreatConnectIoCSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.ThreatConnectIoCSettings other) { + if (other == com.google.cloud.chronicle.v1.ThreatConnectIoCSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.owners_.isEmpty()) { + if (owners_.isEmpty()) { + owners_ = other.owners_; + bitField0_ |= 0x00000004; + } else { + ensureOwnersIsMutable(); + owners_.addAll(other.owners_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureOwnersIsMutable(); + owners_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList owners_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureOwnersIsMutable() { + if (!owners_.isModifiable()) { + owners_ = new com.google.protobuf.LazyStringArrayList(owners_); + } + bitField0_ |= 0x00000004; + } + + /** + * + * + *
+     * Owners.
+     * 
+ * + * repeated string owners = 3; + * + * @return A list containing the owners. + */ + public com.google.protobuf.ProtocolStringList getOwnersList() { + owners_.makeImmutable(); + return owners_; + } + + /** + * + * + *
+     * Owners.
+     * 
+ * + * repeated string owners = 3; + * + * @return The count of owners. + */ + public int getOwnersCount() { + return owners_.size(); + } + + /** + * + * + *
+     * Owners.
+     * 
+ * + * repeated string owners = 3; + * + * @param index The index of the element to return. + * @return The owners at the given index. + */ + public java.lang.String getOwners(int index) { + return owners_.get(index); + } + + /** + * + * + *
+     * Owners.
+     * 
+ * + * repeated string owners = 3; + * + * @param index The index of the value to return. + * @return The bytes of the owners at the given index. + */ + public com.google.protobuf.ByteString getOwnersBytes(int index) { + return owners_.getByteString(index); + } + + /** + * + * + *
+     * Owners.
+     * 
+ * + * repeated string owners = 3; + * + * @param index The index to set the value at. + * @param value The owners to set. + * @return This builder for chaining. + */ + public Builder setOwners(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureOwnersIsMutable(); + owners_.set(index, value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Owners.
+     * 
+ * + * repeated string owners = 3; + * + * @param value The owners to add. + * @return This builder for chaining. + */ + public Builder addOwners(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureOwnersIsMutable(); + owners_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Owners.
+     * 
+ * + * repeated string owners = 3; + * + * @param values The owners to add. + * @return This builder for chaining. + */ + public Builder addAllOwners(java.lang.Iterable values) { + ensureOwnersIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, owners_); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Owners.
+     * 
+ * + * repeated string owners = 3; + * + * @return This builder for chaining. + */ + public Builder clearOwners() { + owners_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; + onChanged(); + return this; + } + + /** + * + * + *
+     * Owners.
+     * 
+ * + * repeated string owners = 3; + * + * @param value The bytes of the owners to add. + * @return This builder for chaining. + */ + public Builder addOwnersBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureOwnersIsMutable(); + owners_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.ThreatConnectIoCSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.ThreatConnectIoCSettings) + private static final com.google.cloud.chronicle.v1.ThreatConnectIoCSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.ThreatConnectIoCSettings(); + } + + public static com.google.cloud.chronicle.v1.ThreatConnectIoCSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ThreatConnectIoCSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ThreatConnectIoCSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ThreatConnectIoCSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ThreatConnectIoCSettingsOrBuilder.java new file mode 100644 index 000000000000..241b56959cee --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ThreatConnectIoCSettingsOrBuilder.java @@ -0,0 +1,151 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface ThreatConnectIoCSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.ThreatConnectIoCSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); + + /** + * + * + *
+   * Owners.
+   * 
+ * + * repeated string owners = 3; + * + * @return A list containing the owners. + */ + java.util.List getOwnersList(); + + /** + * + * + *
+   * Owners.
+   * 
+ * + * repeated string owners = 3; + * + * @return The count of owners. + */ + int getOwnersCount(); + + /** + * + * + *
+   * Owners.
+   * 
+ * + * repeated string owners = 3; + * + * @param index The index of the element to return. + * @return The owners at the given index. + */ + java.lang.String getOwners(int index); + + /** + * + * + *
+   * Owners.
+   * 
+ * + * repeated string owners = 3; + * + * @param index The index of the value to return. + * @return The bytes of the owners at the given index. + */ + com.google.protobuf.ByteString getOwnersBytes(int index); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ThreatConnectIoCV3Settings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ThreatConnectIoCV3Settings.java new file mode 100644 index 000000000000..82d106094372 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ThreatConnectIoCV3Settings.java @@ -0,0 +1,1782 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * ThreatConnectIoCV3Settings
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ThreatConnectIoCV3Settings} + */ +@com.google.protobuf.Generated +public final class ThreatConnectIoCV3Settings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.ThreatConnectIoCV3Settings) + ThreatConnectIoCV3SettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "ThreatConnectIoCV3Settings"); + } + + // Use ThreatConnectIoCV3Settings.newBuilder() to construct. + private ThreatConnectIoCV3Settings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ThreatConnectIoCV3Settings() { + hostname_ = ""; + owners_ = com.google.protobuf.LazyStringArrayList.emptyList(); + tqlQuery_ = ""; + fields_ = com.google.protobuf.LazyStringArrayList.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ThreatConnectIoCV3Settings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ThreatConnectIoCV3Settings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings.class, + com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + + /** + * + * + *
+   * Required. Input only. UsernameSecretAuth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Required. Input only. UsernameSecretAuth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Required. Input only. UsernameSecretAuth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + + public static final int HOSTNAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * Required. hostname.
+   * 
+ * + * string hostname = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. hostname.
+   * 
+ * + * string hostname = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OWNERS_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList owners_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + /** + * + * + *
+   * Required. Owners.
+   * 
+ * + * repeated string owners = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the owners. + */ + public com.google.protobuf.ProtocolStringList getOwnersList() { + return owners_; + } + + /** + * + * + *
+   * Required. Owners.
+   * 
+ * + * repeated string owners = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of owners. + */ + public int getOwnersCount() { + return owners_.size(); + } + + /** + * + * + *
+   * Required. Owners.
+   * 
+ * + * repeated string owners = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The owners at the given index. + */ + public java.lang.String getOwners(int index) { + return owners_.get(index); + } + + /** + * + * + *
+   * Required. Owners.
+   * 
+ * + * repeated string owners = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the owners at the given index. + */ + public com.google.protobuf.ByteString getOwnersBytes(int index) { + return owners_.getByteString(index); + } + + public static final int TQL_QUERY_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object tqlQuery_ = ""; + + /** + * + * + *
+   * Optional. ThreatConnect Query Language filter.
+   * 
+ * + * string tql_query = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The tqlQuery. + */ + @java.lang.Override + public java.lang.String getTqlQuery() { + java.lang.Object ref = tqlQuery_; + 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(); + tqlQuery_ = s; + return s; + } + } + + /** + * + * + *
+   * Optional. ThreatConnect Query Language filter.
+   * 
+ * + * string tql_query = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for tqlQuery. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTqlQueryBytes() { + java.lang.Object ref = tqlQuery_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tqlQuery_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FIELDS_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList fields_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + /** + * + * + *
+   * Optional. Fields
+   * 
+ * + * repeated string fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the fields. + */ + public com.google.protobuf.ProtocolStringList getFieldsList() { + return fields_; + } + + /** + * + * + *
+   * Optional. Fields
+   * 
+ * + * repeated string fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of fields. + */ + public int getFieldsCount() { + return fields_.size(); + } + + /** + * + * + *
+   * Optional. Fields
+   * 
+ * + * repeated string fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The fields at the given index. + */ + public java.lang.String getFields(int index) { + return fields_.get(index); + } + + /** + * + * + *
+   * Optional. Fields
+   * 
+ * + * repeated string fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the fields at the given index. + */ + public com.google.protobuf.ByteString getFieldsBytes(int index) { + return fields_.getByteString(index); + } + + public static final int SCHEDULE_FIELD_NUMBER = 6; + private int schedule_ = 0; + + /** + * + * + *
+   * Optional. Schedule
+   * 
+ * + * int32 schedule = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The schedule. + */ + @java.lang.Override + public int getSchedule() { + return schedule_; + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, hostname_); + } + for (int i = 0; i < owners_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, owners_.getRaw(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tqlQuery_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, tqlQuery_); + } + for (int i = 0; i < fields_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, fields_.getRaw(i)); + } + if (schedule_ != 0) { + output.writeInt32(6, schedule_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, hostname_); + } + { + int dataSize = 0; + for (int i = 0; i < owners_.size(); i++) { + dataSize += computeStringSizeNoTag(owners_.getRaw(i)); + } + size += dataSize; + size += 1 * getOwnersList().size(); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tqlQuery_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, tqlQuery_); + } + { + int dataSize = 0; + for (int i = 0; i < fields_.size(); i++) { + dataSize += computeStringSizeNoTag(fields_.getRaw(i)); + } + size += dataSize; + size += 1 * getFieldsList().size(); + } + if (schedule_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, schedule_); + } + 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.cloud.chronicle.v1.ThreatConnectIoCV3Settings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings other = + (com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getHostname().equals(other.getHostname())) return false; + if (!getOwnersList().equals(other.getOwnersList())) return false; + if (!getTqlQuery().equals(other.getTqlQuery())) return false; + if (!getFieldsList().equals(other.getFieldsList())) return false; + if (getSchedule() != other.getSchedule()) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + if (getOwnersCount() > 0) { + hash = (37 * hash) + OWNERS_FIELD_NUMBER; + hash = (53 * hash) + getOwnersList().hashCode(); + } + hash = (37 * hash) + TQL_QUERY_FIELD_NUMBER; + hash = (53 * hash) + getTqlQuery().hashCode(); + if (getFieldsCount() > 0) { + hash = (37 * hash) + FIELDS_FIELD_NUMBER; + hash = (53 * hash) + getFieldsList().hashCode(); + } + hash = (37 * hash) + SCHEDULE_FIELD_NUMBER; + hash = (53 * hash) + getSchedule(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings 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.cloud.chronicle.v1.ThreatConnectIoCV3Settings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.ThreatConnectIoCV3Settings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * ThreatConnectIoCV3Settings
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.ThreatConnectIoCV3Settings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.ThreatConnectIoCV3Settings) + com.google.cloud.chronicle.v1.ThreatConnectIoCV3SettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ThreatConnectIoCV3Settings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ThreatConnectIoCV3Settings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings.class, + com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + hostname_ = ""; + owners_ = com.google.protobuf.LazyStringArrayList.emptyList(); + tqlQuery_ = ""; + fields_ = com.google.protobuf.LazyStringArrayList.emptyList(); + schedule_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_ThreatConnectIoCV3Settings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings build() { + com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings buildPartial() { + com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings result = + new com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.hostname_ = hostname_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + owners_.makeImmutable(); + result.owners_ = owners_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.tqlQuery_ = tqlQuery_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + fields_.makeImmutable(); + result.fields_ = fields_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.schedule_ = schedule_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings) { + return mergeFrom((com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings other) { + if (other == com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.owners_.isEmpty()) { + if (owners_.isEmpty()) { + owners_ = other.owners_; + bitField0_ |= 0x00000004; + } else { + ensureOwnersIsMutable(); + owners_.addAll(other.owners_); + } + onChanged(); + } + if (!other.getTqlQuery().isEmpty()) { + tqlQuery_ = other.tqlQuery_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.fields_.isEmpty()) { + if (fields_.isEmpty()) { + fields_ = other.fields_; + bitField0_ |= 0x00000010; + } else { + ensureFieldsIsMutable(); + fields_.addAll(other.fields_); + } + onChanged(); + } + if (other.getSchedule() != 0) { + setSchedule(other.getSchedule()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureOwnersIsMutable(); + owners_.add(s); + break; + } // case 26 + case 34: + { + tqlQuery_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureFieldsIsMutable(); + fields_.add(s); + break; + } // case 42 + case 48: + { + schedule_ = input.readInt32(); + bitField0_ |= 0x00000020; + break; + } // case 48 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.UsernameSecretAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Required. Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Required. Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Required. Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.UsernameSecretAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Required. Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Required. Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Required. Input only. UsernameSecretAuth.
+     * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.UsernameSecretAuth, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder, + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * Required. hostname.
+     * 
+ * + * string hostname = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. hostname.
+     * 
+ * + * string hostname = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. hostname.
+     * 
+ * + * string hostname = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. hostname.
+     * 
+ * + * string hostname = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. hostname.
+     * 
+ * + * string hostname = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList owners_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureOwnersIsMutable() { + if (!owners_.isModifiable()) { + owners_ = new com.google.protobuf.LazyStringArrayList(owners_); + } + bitField0_ |= 0x00000004; + } + + /** + * + * + *
+     * Required. Owners.
+     * 
+ * + * repeated string owners = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the owners. + */ + public com.google.protobuf.ProtocolStringList getOwnersList() { + owners_.makeImmutable(); + return owners_; + } + + /** + * + * + *
+     * Required. Owners.
+     * 
+ * + * repeated string owners = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of owners. + */ + public int getOwnersCount() { + return owners_.size(); + } + + /** + * + * + *
+     * Required. Owners.
+     * 
+ * + * repeated string owners = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The owners at the given index. + */ + public java.lang.String getOwners(int index) { + return owners_.get(index); + } + + /** + * + * + *
+     * Required. Owners.
+     * 
+ * + * repeated string owners = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the owners at the given index. + */ + public com.google.protobuf.ByteString getOwnersBytes(int index) { + return owners_.getByteString(index); + } + + /** + * + * + *
+     * Required. Owners.
+     * 
+ * + * repeated string owners = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index to set the value at. + * @param value The owners to set. + * @return This builder for chaining. + */ + public Builder setOwners(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureOwnersIsMutable(); + owners_.set(index, value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Owners.
+     * 
+ * + * repeated string owners = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The owners to add. + * @return This builder for chaining. + */ + public Builder addOwners(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureOwnersIsMutable(); + owners_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Owners.
+     * 
+ * + * repeated string owners = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param values The owners to add. + * @return This builder for chaining. + */ + public Builder addAllOwners(java.lang.Iterable values) { + ensureOwnersIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, owners_); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Owners.
+     * 
+ * + * repeated string owners = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearOwners() { + owners_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Owners.
+     * 
+ * + * repeated string owners = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes of the owners to add. + * @return This builder for chaining. + */ + public Builder addOwnersBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureOwnersIsMutable(); + owners_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object tqlQuery_ = ""; + + /** + * + * + *
+     * Optional. ThreatConnect Query Language filter.
+     * 
+ * + * string tql_query = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The tqlQuery. + */ + public java.lang.String getTqlQuery() { + java.lang.Object ref = tqlQuery_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tqlQuery_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Optional. ThreatConnect Query Language filter.
+     * 
+ * + * string tql_query = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for tqlQuery. + */ + public com.google.protobuf.ByteString getTqlQueryBytes() { + java.lang.Object ref = tqlQuery_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tqlQuery_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Optional. ThreatConnect Query Language filter.
+     * 
+ * + * string tql_query = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The tqlQuery to set. + * @return This builder for chaining. + */ + public Builder setTqlQuery(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + tqlQuery_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. ThreatConnect Query Language filter.
+     * 
+ * + * string tql_query = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearTqlQuery() { + tqlQuery_ = getDefaultInstance().getTqlQuery(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. ThreatConnect Query Language filter.
+     * 
+ * + * string tql_query = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for tqlQuery to set. + * @return This builder for chaining. + */ + public Builder setTqlQueryBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tqlQuery_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList fields_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureFieldsIsMutable() { + if (!fields_.isModifiable()) { + fields_ = new com.google.protobuf.LazyStringArrayList(fields_); + } + bitField0_ |= 0x00000010; + } + + /** + * + * + *
+     * Optional. Fields
+     * 
+ * + * repeated string fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the fields. + */ + public com.google.protobuf.ProtocolStringList getFieldsList() { + fields_.makeImmutable(); + return fields_; + } + + /** + * + * + *
+     * Optional. Fields
+     * 
+ * + * repeated string fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of fields. + */ + public int getFieldsCount() { + return fields_.size(); + } + + /** + * + * + *
+     * Optional. Fields
+     * 
+ * + * repeated string fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The fields at the given index. + */ + public java.lang.String getFields(int index) { + return fields_.get(index); + } + + /** + * + * + *
+     * Optional. Fields
+     * 
+ * + * repeated string fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the fields at the given index. + */ + public com.google.protobuf.ByteString getFieldsBytes(int index) { + return fields_.getByteString(index); + } + + /** + * + * + *
+     * Optional. Fields
+     * 
+ * + * repeated string fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The fields to set. + * @return This builder for chaining. + */ + public Builder setFields(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureFieldsIsMutable(); + fields_.set(index, value); + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Fields
+     * 
+ * + * repeated string fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The fields to add. + * @return This builder for chaining. + */ + public Builder addFields(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureFieldsIsMutable(); + fields_.add(value); + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Fields
+     * 
+ * + * repeated string fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The fields to add. + * @return This builder for chaining. + */ + public Builder addAllFields(java.lang.Iterable values) { + ensureFieldsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_); + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Fields
+     * 
+ * + * repeated string fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearFields() { + fields_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + ; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Fields
+     * 
+ * + * repeated string fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the fields to add. + * @return This builder for chaining. + */ + public Builder addFieldsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureFieldsIsMutable(); + fields_.add(value); + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private int schedule_; + + /** + * + * + *
+     * Optional. Schedule
+     * 
+ * + * int32 schedule = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The schedule. + */ + @java.lang.Override + public int getSchedule() { + return schedule_; + } + + /** + * + * + *
+     * Optional. Schedule
+     * 
+ * + * int32 schedule = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The schedule to set. + * @return This builder for chaining. + */ + public Builder setSchedule(int value) { + + schedule_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Schedule
+     * 
+ * + * int32 schedule = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearSchedule() { + bitField0_ = (bitField0_ & ~0x00000020); + schedule_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.ThreatConnectIoCV3Settings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.ThreatConnectIoCV3Settings) + private static final com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings(); + } + + public static com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ThreatConnectIoCV3Settings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.ThreatConnectIoCV3Settings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ThreatConnectIoCV3SettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ThreatConnectIoCV3SettingsOrBuilder.java new file mode 100644 index 000000000000..b1f2b4da106f --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/ThreatConnectIoCV3SettingsOrBuilder.java @@ -0,0 +1,244 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface ThreatConnectIoCV3SettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.ThreatConnectIoCV3Settings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Input only. UsernameSecretAuth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Required. Input only. UsernameSecretAuth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.UsernameSecretAuth getAuthentication(); + + /** + * + * + *
+   * Required. Input only. UsernameSecretAuth.
+   * 
+ * + * + * .google.cloud.chronicle.v1.UsernameSecretAuth authentication = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Required. hostname.
+   * 
+ * + * string hostname = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * Required. hostname.
+   * 
+ * + * string hostname = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); + + /** + * + * + *
+   * Required. Owners.
+   * 
+ * + * repeated string owners = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the owners. + */ + java.util.List getOwnersList(); + + /** + * + * + *
+   * Required. Owners.
+   * 
+ * + * repeated string owners = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of owners. + */ + int getOwnersCount(); + + /** + * + * + *
+   * Required. Owners.
+   * 
+ * + * repeated string owners = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The owners at the given index. + */ + java.lang.String getOwners(int index); + + /** + * + * + *
+   * Required. Owners.
+   * 
+ * + * repeated string owners = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the owners at the given index. + */ + com.google.protobuf.ByteString getOwnersBytes(int index); + + /** + * + * + *
+   * Optional. ThreatConnect Query Language filter.
+   * 
+ * + * string tql_query = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The tqlQuery. + */ + java.lang.String getTqlQuery(); + + /** + * + * + *
+   * Optional. ThreatConnect Query Language filter.
+   * 
+ * + * string tql_query = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for tqlQuery. + */ + com.google.protobuf.ByteString getTqlQueryBytes(); + + /** + * + * + *
+   * Optional. Fields
+   * 
+ * + * repeated string fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the fields. + */ + java.util.List getFieldsList(); + + /** + * + * + *
+   * Optional. Fields
+   * 
+ * + * repeated string fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of fields. + */ + int getFieldsCount(); + + /** + * + * + *
+   * Optional. Fields
+   * 
+ * + * repeated string fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The fields at the given index. + */ + java.lang.String getFields(int index); + + /** + * + * + *
+   * Optional. Fields
+   * 
+ * + * repeated string fields = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the fields at the given index. + */ + com.google.protobuf.ByteString getFieldsBytes(int index); + + /** + * + * + *
+   * Optional. Schedule
+   * 
+ * + * int32 schedule = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The schedule. + */ + int getSchedule(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixHxAlertsSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixHxAlertsSettings.java new file mode 100644 index 000000000000..28a5fcc121e0 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixHxAlertsSettings.java @@ -0,0 +1,956 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Settings required by Feeds of TrellixHxAlerts.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.TrellixHxAlertsSettings} + */ +@com.google.protobuf.Generated +public final class TrellixHxAlertsSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.TrellixHxAlertsSettings) + TrellixHxAlertsSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "TrellixHxAlertsSettings"); + } + + // Use TrellixHxAlertsSettings.newBuilder() to construct. + private TrellixHxAlertsSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private TrellixHxAlertsSettings() { + endpoint_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixHxAlertsSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixHxAlertsSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.TrellixHxAlertsSettings.class, + com.google.cloud.chronicle.v1.TrellixHxAlertsSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.TrellixStarXAuthentication authentication_; + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixStarXAuthentication getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.TrellixStarXAuthentication.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixStarXAuthenticationOrBuilder + getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.TrellixStarXAuthentication.getDefaultInstance() + : authentication_; + } + + public static final int ENDPOINT_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object endpoint_ = ""; + + /** + * + * + *
+   * Required. Trellix HX Device URL.
+   * This must be a valid URL with an http or https scheme. It has no default.
+   * Usually a device URL is in the form of either:
+   * https://xxx.trellix.com/hx/id/<hx id>/
+   * - or -
+   * https://htapdeviceproxy.md.mandiant.net/dphb/hx/<device uuid>/
+   * 
+ * + * string endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The endpoint. + */ + @java.lang.Override + public java.lang.String getEndpoint() { + java.lang.Object ref = endpoint_; + 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(); + endpoint_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Trellix HX Device URL.
+   * This must be a valid URL with an http or https scheme. It has no default.
+   * Usually a device URL is in the form of either:
+   * https://xxx.trellix.com/hx/id/<hx id>/
+   * - or -
+   * https://htapdeviceproxy.md.mandiant.net/dphb/hx/<device uuid>/
+   * 
+ * + * string endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for endpoint. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEndpointBytes() { + java.lang.Object ref = endpoint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + endpoint_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(endpoint_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, endpoint_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(endpoint_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, endpoint_); + } + 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.cloud.chronicle.v1.TrellixHxAlertsSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.TrellixHxAlertsSettings other = + (com.google.cloud.chronicle.v1.TrellixHxAlertsSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getEndpoint().equals(other.getEndpoint())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + ENDPOINT_FIELD_NUMBER; + hash = (53 * hash) + getEndpoint().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.TrellixHxAlertsSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.TrellixHxAlertsSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.TrellixHxAlertsSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.TrellixHxAlertsSettings 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.cloud.chronicle.v1.TrellixHxAlertsSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.TrellixHxAlertsSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.TrellixHxAlertsSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.TrellixHxAlertsSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.TrellixHxAlertsSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.TrellixHxAlertsSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.TrellixHxAlertsSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.TrellixHxAlertsSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.TrellixHxAlertsSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Settings required by Feeds of TrellixHxAlerts.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.TrellixHxAlertsSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.TrellixHxAlertsSettings) + com.google.cloud.chronicle.v1.TrellixHxAlertsSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixHxAlertsSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixHxAlertsSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.TrellixHxAlertsSettings.class, + com.google.cloud.chronicle.v1.TrellixHxAlertsSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.TrellixHxAlertsSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + endpoint_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixHxAlertsSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixHxAlertsSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.TrellixHxAlertsSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixHxAlertsSettings build() { + com.google.cloud.chronicle.v1.TrellixHxAlertsSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixHxAlertsSettings buildPartial() { + com.google.cloud.chronicle.v1.TrellixHxAlertsSettings result = + new com.google.cloud.chronicle.v1.TrellixHxAlertsSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.TrellixHxAlertsSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.endpoint_ = endpoint_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.TrellixHxAlertsSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.TrellixHxAlertsSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.TrellixHxAlertsSettings other) { + if (other == com.google.cloud.chronicle.v1.TrellixHxAlertsSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getEndpoint().isEmpty()) { + endpoint_ = other.endpoint_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + endpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.TrellixStarXAuthentication authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.TrellixStarXAuthentication, + com.google.cloud.chronicle.v1.TrellixStarXAuthentication.Builder, + com.google.cloud.chronicle.v1.TrellixStarXAuthenticationOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.TrellixStarXAuthentication getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.TrellixStarXAuthentication.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.TrellixStarXAuthentication value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.TrellixStarXAuthentication.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeAuthentication( + com.google.cloud.chronicle.v1.TrellixStarXAuthentication value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.TrellixStarXAuthentication.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.TrellixStarXAuthentication.Builder + getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.TrellixStarXAuthenticationOrBuilder + getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.TrellixStarXAuthentication.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.TrellixStarXAuthentication, + com.google.cloud.chronicle.v1.TrellixStarXAuthentication.Builder, + com.google.cloud.chronicle.v1.TrellixStarXAuthenticationOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.TrellixStarXAuthentication, + com.google.cloud.chronicle.v1.TrellixStarXAuthentication.Builder, + com.google.cloud.chronicle.v1.TrellixStarXAuthenticationOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object endpoint_ = ""; + + /** + * + * + *
+     * Required. Trellix HX Device URL.
+     * This must be a valid URL with an http or https scheme. It has no default.
+     * Usually a device URL is in the form of either:
+     * https://xxx.trellix.com/hx/id/<hx id>/
+     * - or -
+     * https://htapdeviceproxy.md.mandiant.net/dphb/hx/<device uuid>/
+     * 
+ * + * string endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The endpoint. + */ + public java.lang.String getEndpoint() { + java.lang.Object ref = endpoint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + endpoint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Trellix HX Device URL.
+     * This must be a valid URL with an http or https scheme. It has no default.
+     * Usually a device URL is in the form of either:
+     * https://xxx.trellix.com/hx/id/<hx id>/
+     * - or -
+     * https://htapdeviceproxy.md.mandiant.net/dphb/hx/<device uuid>/
+     * 
+ * + * string endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for endpoint. + */ + public com.google.protobuf.ByteString getEndpointBytes() { + java.lang.Object ref = endpoint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + endpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Trellix HX Device URL.
+     * This must be a valid URL with an http or https scheme. It has no default.
+     * Usually a device URL is in the form of either:
+     * https://xxx.trellix.com/hx/id/<hx id>/
+     * - or -
+     * https://htapdeviceproxy.md.mandiant.net/dphb/hx/<device uuid>/
+     * 
+ * + * string endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The endpoint to set. + * @return This builder for chaining. + */ + public Builder setEndpoint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + endpoint_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Trellix HX Device URL.
+     * This must be a valid URL with an http or https scheme. It has no default.
+     * Usually a device URL is in the form of either:
+     * https://xxx.trellix.com/hx/id/<hx id>/
+     * - or -
+     * https://htapdeviceproxy.md.mandiant.net/dphb/hx/<device uuid>/
+     * 
+ * + * string endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearEndpoint() { + endpoint_ = getDefaultInstance().getEndpoint(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Trellix HX Device URL.
+     * This must be a valid URL with an http or https scheme. It has no default.
+     * Usually a device URL is in the form of either:
+     * https://xxx.trellix.com/hx/id/<hx id>/
+     * - or -
+     * https://htapdeviceproxy.md.mandiant.net/dphb/hx/<device uuid>/
+     * 
+ * + * string endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for endpoint to set. + * @return This builder for chaining. + */ + public Builder setEndpointBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endpoint_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.TrellixHxAlertsSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.TrellixHxAlertsSettings) + private static final com.google.cloud.chronicle.v1.TrellixHxAlertsSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.TrellixHxAlertsSettings(); + } + + public static com.google.cloud.chronicle.v1.TrellixHxAlertsSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TrellixHxAlertsSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixHxAlertsSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixHxAlertsSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixHxAlertsSettingsOrBuilder.java new file mode 100644 index 000000000000..65db290507e5 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixHxAlertsSettingsOrBuilder.java @@ -0,0 +1,107 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface TrellixHxAlertsSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.TrellixHxAlertsSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.TrellixStarXAuthentication getAuthentication(); + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.chronicle.v1.TrellixStarXAuthenticationOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Required. Trellix HX Device URL.
+   * This must be a valid URL with an http or https scheme. It has no default.
+   * Usually a device URL is in the form of either:
+   * https://xxx.trellix.com/hx/id/<hx id>/
+   * - or -
+   * https://htapdeviceproxy.md.mandiant.net/dphb/hx/<device uuid>/
+   * 
+ * + * string endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The endpoint. + */ + java.lang.String getEndpoint(); + + /** + * + * + *
+   * Required. Trellix HX Device URL.
+   * This must be a valid URL with an http or https scheme. It has no default.
+   * Usually a device URL is in the form of either:
+   * https://xxx.trellix.com/hx/id/<hx id>/
+   * - or -
+   * https://htapdeviceproxy.md.mandiant.net/dphb/hx/<device uuid>/
+   * 
+ * + * string endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for endpoint. + */ + com.google.protobuf.ByteString getEndpointBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixHxBulkAcqsSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixHxBulkAcqsSettings.java new file mode 100644 index 000000000000..2b213d554bd5 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixHxBulkAcqsSettings.java @@ -0,0 +1,956 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Settings required by Feeds of TrellixHxBulkAcqs.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings} + */ +@com.google.protobuf.Generated +public final class TrellixHxBulkAcqsSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings) + TrellixHxBulkAcqsSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "TrellixHxBulkAcqsSettings"); + } + + // Use TrellixHxBulkAcqsSettings.newBuilder() to construct. + private TrellixHxBulkAcqsSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private TrellixHxBulkAcqsSettings() { + endpoint_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixHxBulkAcqsSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixHxBulkAcqsSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings.class, + com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.TrellixStarXAuthentication authentication_; + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixStarXAuthentication getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.TrellixStarXAuthentication.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixStarXAuthenticationOrBuilder + getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.TrellixStarXAuthentication.getDefaultInstance() + : authentication_; + } + + public static final int ENDPOINT_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object endpoint_ = ""; + + /** + * + * + *
+   * Required. Trellix HX Device URL.
+   * This must be a valid URL with an http or https scheme. It has no default.
+   * Usually a device URL is in the form of either:
+   * https://xxx.trellix.com/hx/id/<hx id>/
+   * - or -
+   * https://htapdeviceproxy.md.mandiant.net/dphb/hx/<device uuid>/
+   * 
+ * + * string endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The endpoint. + */ + @java.lang.Override + public java.lang.String getEndpoint() { + java.lang.Object ref = endpoint_; + 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(); + endpoint_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Trellix HX Device URL.
+   * This must be a valid URL with an http or https scheme. It has no default.
+   * Usually a device URL is in the form of either:
+   * https://xxx.trellix.com/hx/id/<hx id>/
+   * - or -
+   * https://htapdeviceproxy.md.mandiant.net/dphb/hx/<device uuid>/
+   * 
+ * + * string endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for endpoint. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEndpointBytes() { + java.lang.Object ref = endpoint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + endpoint_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(endpoint_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, endpoint_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(endpoint_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, endpoint_); + } + 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.cloud.chronicle.v1.TrellixHxBulkAcqsSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings other = + (com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getEndpoint().equals(other.getEndpoint())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + ENDPOINT_FIELD_NUMBER; + hash = (53 * hash) + getEndpoint().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings 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.cloud.chronicle.v1.TrellixHxBulkAcqsSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.TrellixHxBulkAcqsSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Settings required by Feeds of TrellixHxBulkAcqs.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings) + com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixHxBulkAcqsSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixHxBulkAcqsSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings.class, + com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + endpoint_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixHxBulkAcqsSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings build() { + com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings buildPartial() { + com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings result = + new com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.endpoint_ = endpoint_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings other) { + if (other == com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getEndpoint().isEmpty()) { + endpoint_ = other.endpoint_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + endpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.TrellixStarXAuthentication authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.TrellixStarXAuthentication, + com.google.cloud.chronicle.v1.TrellixStarXAuthentication.Builder, + com.google.cloud.chronicle.v1.TrellixStarXAuthenticationOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.TrellixStarXAuthentication getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.TrellixStarXAuthentication.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.TrellixStarXAuthentication value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.TrellixStarXAuthentication.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeAuthentication( + com.google.cloud.chronicle.v1.TrellixStarXAuthentication value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.TrellixStarXAuthentication.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.TrellixStarXAuthentication.Builder + getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.TrellixStarXAuthenticationOrBuilder + getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.TrellixStarXAuthentication.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.TrellixStarXAuthentication, + com.google.cloud.chronicle.v1.TrellixStarXAuthentication.Builder, + com.google.cloud.chronicle.v1.TrellixStarXAuthenticationOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.TrellixStarXAuthentication, + com.google.cloud.chronicle.v1.TrellixStarXAuthentication.Builder, + com.google.cloud.chronicle.v1.TrellixStarXAuthenticationOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object endpoint_ = ""; + + /** + * + * + *
+     * Required. Trellix HX Device URL.
+     * This must be a valid URL with an http or https scheme. It has no default.
+     * Usually a device URL is in the form of either:
+     * https://xxx.trellix.com/hx/id/<hx id>/
+     * - or -
+     * https://htapdeviceproxy.md.mandiant.net/dphb/hx/<device uuid>/
+     * 
+ * + * string endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The endpoint. + */ + public java.lang.String getEndpoint() { + java.lang.Object ref = endpoint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + endpoint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Trellix HX Device URL.
+     * This must be a valid URL with an http or https scheme. It has no default.
+     * Usually a device URL is in the form of either:
+     * https://xxx.trellix.com/hx/id/<hx id>/
+     * - or -
+     * https://htapdeviceproxy.md.mandiant.net/dphb/hx/<device uuid>/
+     * 
+ * + * string endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for endpoint. + */ + public com.google.protobuf.ByteString getEndpointBytes() { + java.lang.Object ref = endpoint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + endpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Trellix HX Device URL.
+     * This must be a valid URL with an http or https scheme. It has no default.
+     * Usually a device URL is in the form of either:
+     * https://xxx.trellix.com/hx/id/<hx id>/
+     * - or -
+     * https://htapdeviceproxy.md.mandiant.net/dphb/hx/<device uuid>/
+     * 
+ * + * string endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The endpoint to set. + * @return This builder for chaining. + */ + public Builder setEndpoint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + endpoint_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Trellix HX Device URL.
+     * This must be a valid URL with an http or https scheme. It has no default.
+     * Usually a device URL is in the form of either:
+     * https://xxx.trellix.com/hx/id/<hx id>/
+     * - or -
+     * https://htapdeviceproxy.md.mandiant.net/dphb/hx/<device uuid>/
+     * 
+ * + * string endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearEndpoint() { + endpoint_ = getDefaultInstance().getEndpoint(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Trellix HX Device URL.
+     * This must be a valid URL with an http or https scheme. It has no default.
+     * Usually a device URL is in the form of either:
+     * https://xxx.trellix.com/hx/id/<hx id>/
+     * - or -
+     * https://htapdeviceproxy.md.mandiant.net/dphb/hx/<device uuid>/
+     * 
+ * + * string endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for endpoint to set. + * @return This builder for chaining. + */ + public Builder setEndpointBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endpoint_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings) + private static final com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings(); + } + + public static com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TrellixHxBulkAcqsSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixHxBulkAcqsSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixHxBulkAcqsSettingsOrBuilder.java new file mode 100644 index 000000000000..4e01fc3c7987 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixHxBulkAcqsSettingsOrBuilder.java @@ -0,0 +1,107 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface TrellixHxBulkAcqsSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.TrellixHxBulkAcqsSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.TrellixStarXAuthentication getAuthentication(); + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.chronicle.v1.TrellixStarXAuthenticationOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Required. Trellix HX Device URL.
+   * This must be a valid URL with an http or https scheme. It has no default.
+   * Usually a device URL is in the form of either:
+   * https://xxx.trellix.com/hx/id/<hx id>/
+   * - or -
+   * https://htapdeviceproxy.md.mandiant.net/dphb/hx/<device uuid>/
+   * 
+ * + * string endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The endpoint. + */ + java.lang.String getEndpoint(); + + /** + * + * + *
+   * Required. Trellix HX Device URL.
+   * This must be a valid URL with an http or https scheme. It has no default.
+   * Usually a device URL is in the form of either:
+   * https://xxx.trellix.com/hx/id/<hx id>/
+   * - or -
+   * https://htapdeviceproxy.md.mandiant.net/dphb/hx/<device uuid>/
+   * 
+ * + * string endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for endpoint. + */ + com.google.protobuf.ByteString getEndpointBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixHxHostsSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixHxHostsSettings.java new file mode 100644 index 000000000000..f9215113528a --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixHxHostsSettings.java @@ -0,0 +1,955 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Settings required by Feeds of TrellixHxHosts.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.TrellixHxHostsSettings} + */ +@com.google.protobuf.Generated +public final class TrellixHxHostsSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.TrellixHxHostsSettings) + TrellixHxHostsSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "TrellixHxHostsSettings"); + } + + // Use TrellixHxHostsSettings.newBuilder() to construct. + private TrellixHxHostsSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private TrellixHxHostsSettings() { + endpoint_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixHxHostsSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixHxHostsSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.TrellixHxHostsSettings.class, + com.google.cloud.chronicle.v1.TrellixHxHostsSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.TrellixStarXAuthentication authentication_; + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixStarXAuthentication getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.TrellixStarXAuthentication.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixStarXAuthenticationOrBuilder + getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.TrellixStarXAuthentication.getDefaultInstance() + : authentication_; + } + + public static final int ENDPOINT_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object endpoint_ = ""; + + /** + * + * + *
+   * Required. Trellix HX Device URL.
+   * This must be a valid URL with an http or https scheme. It has no default.
+   * Usually a device URL is in the form of either:
+   * https://xxx.trellix.com/hx/id/<hx id>/
+   * - or -
+   * https://htapdeviceproxy.md.mandiant.net/dphb/hx/<device uuid>/
+   * 
+ * + * string endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The endpoint. + */ + @java.lang.Override + public java.lang.String getEndpoint() { + java.lang.Object ref = endpoint_; + 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(); + endpoint_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Trellix HX Device URL.
+   * This must be a valid URL with an http or https scheme. It has no default.
+   * Usually a device URL is in the form of either:
+   * https://xxx.trellix.com/hx/id/<hx id>/
+   * - or -
+   * https://htapdeviceproxy.md.mandiant.net/dphb/hx/<device uuid>/
+   * 
+ * + * string endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for endpoint. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEndpointBytes() { + java.lang.Object ref = endpoint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + endpoint_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(endpoint_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, endpoint_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(endpoint_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, endpoint_); + } + 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.cloud.chronicle.v1.TrellixHxHostsSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.TrellixHxHostsSettings other = + (com.google.cloud.chronicle.v1.TrellixHxHostsSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getEndpoint().equals(other.getEndpoint())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + ENDPOINT_FIELD_NUMBER; + hash = (53 * hash) + getEndpoint().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.TrellixHxHostsSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.TrellixHxHostsSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.TrellixHxHostsSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.TrellixHxHostsSettings 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.cloud.chronicle.v1.TrellixHxHostsSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.TrellixHxHostsSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.TrellixHxHostsSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.TrellixHxHostsSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.TrellixHxHostsSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.TrellixHxHostsSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.TrellixHxHostsSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.TrellixHxHostsSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.TrellixHxHostsSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Settings required by Feeds of TrellixHxHosts.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.TrellixHxHostsSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.TrellixHxHostsSettings) + com.google.cloud.chronicle.v1.TrellixHxHostsSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixHxHostsSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixHxHostsSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.TrellixHxHostsSettings.class, + com.google.cloud.chronicle.v1.TrellixHxHostsSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.TrellixHxHostsSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + endpoint_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixHxHostsSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixHxHostsSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.TrellixHxHostsSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixHxHostsSettings build() { + com.google.cloud.chronicle.v1.TrellixHxHostsSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixHxHostsSettings buildPartial() { + com.google.cloud.chronicle.v1.TrellixHxHostsSettings result = + new com.google.cloud.chronicle.v1.TrellixHxHostsSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.TrellixHxHostsSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.endpoint_ = endpoint_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.TrellixHxHostsSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.TrellixHxHostsSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.TrellixHxHostsSettings other) { + if (other == com.google.cloud.chronicle.v1.TrellixHxHostsSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getEndpoint().isEmpty()) { + endpoint_ = other.endpoint_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + endpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.TrellixStarXAuthentication authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.TrellixStarXAuthentication, + com.google.cloud.chronicle.v1.TrellixStarXAuthentication.Builder, + com.google.cloud.chronicle.v1.TrellixStarXAuthenticationOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.TrellixStarXAuthentication getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.TrellixStarXAuthentication.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.TrellixStarXAuthentication value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.TrellixStarXAuthentication.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeAuthentication( + com.google.cloud.chronicle.v1.TrellixStarXAuthentication value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.TrellixStarXAuthentication.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.TrellixStarXAuthentication.Builder + getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.TrellixStarXAuthenticationOrBuilder + getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.TrellixStarXAuthentication.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Required. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.TrellixStarXAuthentication, + com.google.cloud.chronicle.v1.TrellixStarXAuthentication.Builder, + com.google.cloud.chronicle.v1.TrellixStarXAuthenticationOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.TrellixStarXAuthentication, + com.google.cloud.chronicle.v1.TrellixStarXAuthentication.Builder, + com.google.cloud.chronicle.v1.TrellixStarXAuthenticationOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object endpoint_ = ""; + + /** + * + * + *
+     * Required. Trellix HX Device URL.
+     * This must be a valid URL with an http or https scheme. It has no default.
+     * Usually a device URL is in the form of either:
+     * https://xxx.trellix.com/hx/id/<hx id>/
+     * - or -
+     * https://htapdeviceproxy.md.mandiant.net/dphb/hx/<device uuid>/
+     * 
+ * + * string endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The endpoint. + */ + public java.lang.String getEndpoint() { + java.lang.Object ref = endpoint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + endpoint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Trellix HX Device URL.
+     * This must be a valid URL with an http or https scheme. It has no default.
+     * Usually a device URL is in the form of either:
+     * https://xxx.trellix.com/hx/id/<hx id>/
+     * - or -
+     * https://htapdeviceproxy.md.mandiant.net/dphb/hx/<device uuid>/
+     * 
+ * + * string endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for endpoint. + */ + public com.google.protobuf.ByteString getEndpointBytes() { + java.lang.Object ref = endpoint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + endpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Trellix HX Device URL.
+     * This must be a valid URL with an http or https scheme. It has no default.
+     * Usually a device URL is in the form of either:
+     * https://xxx.trellix.com/hx/id/<hx id>/
+     * - or -
+     * https://htapdeviceproxy.md.mandiant.net/dphb/hx/<device uuid>/
+     * 
+ * + * string endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The endpoint to set. + * @return This builder for chaining. + */ + public Builder setEndpoint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + endpoint_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Trellix HX Device URL.
+     * This must be a valid URL with an http or https scheme. It has no default.
+     * Usually a device URL is in the form of either:
+     * https://xxx.trellix.com/hx/id/<hx id>/
+     * - or -
+     * https://htapdeviceproxy.md.mandiant.net/dphb/hx/<device uuid>/
+     * 
+ * + * string endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearEndpoint() { + endpoint_ = getDefaultInstance().getEndpoint(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Trellix HX Device URL.
+     * This must be a valid URL with an http or https scheme. It has no default.
+     * Usually a device URL is in the form of either:
+     * https://xxx.trellix.com/hx/id/<hx id>/
+     * - or -
+     * https://htapdeviceproxy.md.mandiant.net/dphb/hx/<device uuid>/
+     * 
+ * + * string endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for endpoint to set. + * @return This builder for chaining. + */ + public Builder setEndpointBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endpoint_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.TrellixHxHostsSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.TrellixHxHostsSettings) + private static final com.google.cloud.chronicle.v1.TrellixHxHostsSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.TrellixHxHostsSettings(); + } + + public static com.google.cloud.chronicle.v1.TrellixHxHostsSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TrellixHxHostsSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixHxHostsSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixHxHostsSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixHxHostsSettingsOrBuilder.java new file mode 100644 index 000000000000..4a93f8ac2433 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixHxHostsSettingsOrBuilder.java @@ -0,0 +1,107 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface TrellixHxHostsSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.TrellixHxHostsSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.TrellixStarXAuthentication getAuthentication(); + + /** + * + * + *
+   * Required. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixStarXAuthentication authentication = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.chronicle.v1.TrellixStarXAuthenticationOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Required. Trellix HX Device URL.
+   * This must be a valid URL with an http or https scheme. It has no default.
+   * Usually a device URL is in the form of either:
+   * https://xxx.trellix.com/hx/id/<hx id>/
+   * - or -
+   * https://htapdeviceproxy.md.mandiant.net/dphb/hx/<device uuid>/
+   * 
+ * + * string endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The endpoint. + */ + java.lang.String getEndpoint(); + + /** + * + * + *
+   * Required. Trellix HX Device URL.
+   * This must be a valid URL with an http or https scheme. It has no default.
+   * Usually a device URL is in the form of either:
+   * https://xxx.trellix.com/hx/id/<hx id>/
+   * - or -
+   * https://htapdeviceproxy.md.mandiant.net/dphb/hx/<device uuid>/
+   * 
+ * + * string endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for endpoint. + */ + com.google.protobuf.ByteString getEndpointBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixIAMAuthentication.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixIAMAuthentication.java new file mode 100644 index 000000000000..931aab372736 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixIAMAuthentication.java @@ -0,0 +1,1059 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Settings for TrellixIAMAuthentication.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.TrellixIAMAuthentication} + */ +@com.google.protobuf.Generated +public final class TrellixIAMAuthentication extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.TrellixIAMAuthentication) + TrellixIAMAuthenticationOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "TrellixIAMAuthentication"); + } + + // Use TrellixIAMAuthentication.newBuilder() to construct. + private TrellixIAMAuthentication(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private TrellixIAMAuthentication() { + clientId_ = ""; + clientSecret_ = ""; + scope_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixIAMAuthentication_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixIAMAuthentication_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.TrellixIAMAuthentication.class, + com.google.cloud.chronicle.v1.TrellixIAMAuthentication.Builder.class); + } + + public static final int CLIENT_ID_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object clientId_ = ""; + + /** + * + * + *
+   * Required. Client ID generated in Trellix IAM.
+   * This is a unique identifier for the user that is generated in Trellix IAM.
+   * It has no default, specifically enforced min / max length or character set.
+   * It is assumed that the Client ID generated in Trellix IAM is internally
+   * consistent with Trellix IAM authentication requirements / validation.
+   * 
+ * + * string client_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clientId. + */ + @java.lang.Override + public java.lang.String getClientId() { + java.lang.Object ref = clientId_; + 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(); + clientId_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Client ID generated in Trellix IAM.
+   * This is a unique identifier for the user that is generated in Trellix IAM.
+   * It has no default, specifically enforced min / max length or character set.
+   * It is assumed that the Client ID generated in Trellix IAM is internally
+   * consistent with Trellix IAM authentication requirements / validation.
+   * 
+ * + * string client_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clientId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getClientIdBytes() { + java.lang.Object ref = clientId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLIENT_SECRET_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object clientSecret_ = ""; + + /** + * + * + *
+   * Required. Secret associated with the Client ID.
+   * This is the secret generated in Trellix IAM for the Client ID. It has no
+   * default, specifically enforced min / max length or character set. It is
+   * assumed that the secret generated in Trellix IAM is internally
+   * consistent with Trellix IAM authentication requirements / validation.
+   * 
+ * + * string client_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clientSecret. + */ + @java.lang.Override + public java.lang.String getClientSecret() { + java.lang.Object ref = clientSecret_; + 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(); + clientSecret_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Secret associated with the Client ID.
+   * This is the secret generated in Trellix IAM for the Client ID. It has no
+   * default, specifically enforced min / max length or character set. It is
+   * assumed that the secret generated in Trellix IAM is internally
+   * consistent with Trellix IAM authentication requirements / validation.
+   * 
+ * + * string client_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clientSecret. + */ + @java.lang.Override + public com.google.protobuf.ByteString getClientSecretBytes() { + java.lang.Object ref = clientSecret_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientSecret_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SCOPE_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object scope_ = ""; + + /** + * + * + *
+   * Required. OAUTH 2 scope to request for the authentication token.
+   * This is the OAUTH 2 scope to request for the authentication token. It has
+   * no default, specifically enforced min / max length or character set. It is
+   * assumed that the scope provided is internally consistent with Trellix IAM
+   * authentication requirements / validation.
+   * 
+ * + * string scope = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The scope. + */ + @java.lang.Override + public java.lang.String getScope() { + java.lang.Object ref = scope_; + 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(); + scope_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. OAUTH 2 scope to request for the authentication token.
+   * This is the OAUTH 2 scope to request for the authentication token. It has
+   * no default, specifically enforced min / max length or character set. It is
+   * assumed that the scope provided is internally consistent with Trellix IAM
+   * authentication requirements / validation.
+   * 
+ * + * string scope = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for scope. + */ + @java.lang.Override + public com.google.protobuf.ByteString getScopeBytes() { + java.lang.Object ref = scope_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + scope_ = 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.GeneratedMessage.isStringEmpty(clientId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, clientId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientSecret_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, clientSecret_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(scope_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, scope_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, clientId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientSecret_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, clientSecret_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(scope_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, scope_); + } + 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.cloud.chronicle.v1.TrellixIAMAuthentication)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.TrellixIAMAuthentication other = + (com.google.cloud.chronicle.v1.TrellixIAMAuthentication) obj; + + if (!getClientId().equals(other.getClientId())) return false; + if (!getClientSecret().equals(other.getClientSecret())) return false; + if (!getScope().equals(other.getScope())) 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_ID_FIELD_NUMBER; + hash = (53 * hash) + getClientId().hashCode(); + hash = (37 * hash) + CLIENT_SECRET_FIELD_NUMBER; + hash = (53 * hash) + getClientSecret().hashCode(); + hash = (37 * hash) + SCOPE_FIELD_NUMBER; + hash = (53 * hash) + getScope().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.TrellixIAMAuthentication parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.TrellixIAMAuthentication parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.TrellixIAMAuthentication parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.TrellixIAMAuthentication 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.cloud.chronicle.v1.TrellixIAMAuthentication parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.TrellixIAMAuthentication parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.TrellixIAMAuthentication parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.TrellixIAMAuthentication parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.TrellixIAMAuthentication parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.TrellixIAMAuthentication parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.TrellixIAMAuthentication parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.TrellixIAMAuthentication parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.TrellixIAMAuthentication 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Settings for TrellixIAMAuthentication.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.TrellixIAMAuthentication} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.TrellixIAMAuthentication) + com.google.cloud.chronicle.v1.TrellixIAMAuthenticationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixIAMAuthentication_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixIAMAuthentication_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.TrellixIAMAuthentication.class, + com.google.cloud.chronicle.v1.TrellixIAMAuthentication.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.TrellixIAMAuthentication.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + clientId_ = ""; + clientSecret_ = ""; + scope_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixIAMAuthentication_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixIAMAuthentication getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.TrellixIAMAuthentication.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixIAMAuthentication build() { + com.google.cloud.chronicle.v1.TrellixIAMAuthentication result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixIAMAuthentication buildPartial() { + com.google.cloud.chronicle.v1.TrellixIAMAuthentication result = + new com.google.cloud.chronicle.v1.TrellixIAMAuthentication(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.TrellixIAMAuthentication result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.clientId_ = clientId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.clientSecret_ = clientSecret_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.scope_ = scope_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.TrellixIAMAuthentication) { + return mergeFrom((com.google.cloud.chronicle.v1.TrellixIAMAuthentication) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.TrellixIAMAuthentication other) { + if (other == com.google.cloud.chronicle.v1.TrellixIAMAuthentication.getDefaultInstance()) + return this; + if (!other.getClientId().isEmpty()) { + clientId_ = other.clientId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getClientSecret().isEmpty()) { + clientSecret_ = other.clientSecret_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getScope().isEmpty()) { + scope_ = other.scope_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + clientId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + clientSecret_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + scope_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object clientId_ = ""; + + /** + * + * + *
+     * Required. Client ID generated in Trellix IAM.
+     * This is a unique identifier for the user that is generated in Trellix IAM.
+     * It has no default, specifically enforced min / max length or character set.
+     * It is assumed that the Client ID generated in Trellix IAM is internally
+     * consistent with Trellix IAM authentication requirements / validation.
+     * 
+ * + * string client_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clientId. + */ + public java.lang.String getClientId() { + java.lang.Object ref = clientId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Client ID generated in Trellix IAM.
+     * This is a unique identifier for the user that is generated in Trellix IAM.
+     * It has no default, specifically enforced min / max length or character set.
+     * It is assumed that the Client ID generated in Trellix IAM is internally
+     * consistent with Trellix IAM authentication requirements / validation.
+     * 
+ * + * string client_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clientId. + */ + public com.google.protobuf.ByteString getClientIdBytes() { + java.lang.Object ref = clientId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Client ID generated in Trellix IAM.
+     * This is a unique identifier for the user that is generated in Trellix IAM.
+     * It has no default, specifically enforced min / max length or character set.
+     * It is assumed that the Client ID generated in Trellix IAM is internally
+     * consistent with Trellix IAM authentication requirements / validation.
+     * 
+ * + * string client_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The clientId to set. + * @return This builder for chaining. + */ + public Builder setClientId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + clientId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Client ID generated in Trellix IAM.
+     * This is a unique identifier for the user that is generated in Trellix IAM.
+     * It has no default, specifically enforced min / max length or character set.
+     * It is assumed that the Client ID generated in Trellix IAM is internally
+     * consistent with Trellix IAM authentication requirements / validation.
+     * 
+ * + * string client_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearClientId() { + clientId_ = getDefaultInstance().getClientId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Client ID generated in Trellix IAM.
+     * This is a unique identifier for the user that is generated in Trellix IAM.
+     * It has no default, specifically enforced min / max length or character set.
+     * It is assumed that the Client ID generated in Trellix IAM is internally
+     * consistent with Trellix IAM authentication requirements / validation.
+     * 
+ * + * string client_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for clientId to set. + * @return This builder for chaining. + */ + public Builder setClientIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object clientSecret_ = ""; + + /** + * + * + *
+     * Required. Secret associated with the Client ID.
+     * This is the secret generated in Trellix IAM for the Client ID. It has no
+     * default, specifically enforced min / max length or character set. It is
+     * assumed that the secret generated in Trellix IAM is internally
+     * consistent with Trellix IAM authentication requirements / validation.
+     * 
+ * + * string client_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clientSecret. + */ + public java.lang.String getClientSecret() { + java.lang.Object ref = clientSecret_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientSecret_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Secret associated with the Client ID.
+     * This is the secret generated in Trellix IAM for the Client ID. It has no
+     * default, specifically enforced min / max length or character set. It is
+     * assumed that the secret generated in Trellix IAM is internally
+     * consistent with Trellix IAM authentication requirements / validation.
+     * 
+ * + * string client_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clientSecret. + */ + public com.google.protobuf.ByteString getClientSecretBytes() { + java.lang.Object ref = clientSecret_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientSecret_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Secret associated with the Client ID.
+     * This is the secret generated in Trellix IAM for the Client ID. It has no
+     * default, specifically enforced min / max length or character set. It is
+     * assumed that the secret generated in Trellix IAM is internally
+     * consistent with Trellix IAM authentication requirements / validation.
+     * 
+ * + * string client_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The clientSecret to set. + * @return This builder for chaining. + */ + public Builder setClientSecret(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + clientSecret_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Secret associated with the Client ID.
+     * This is the secret generated in Trellix IAM for the Client ID. It has no
+     * default, specifically enforced min / max length or character set. It is
+     * assumed that the secret generated in Trellix IAM is internally
+     * consistent with Trellix IAM authentication requirements / validation.
+     * 
+ * + * string client_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearClientSecret() { + clientSecret_ = getDefaultInstance().getClientSecret(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Secret associated with the Client ID.
+     * This is the secret generated in Trellix IAM for the Client ID. It has no
+     * default, specifically enforced min / max length or character set. It is
+     * assumed that the secret generated in Trellix IAM is internally
+     * consistent with Trellix IAM authentication requirements / validation.
+     * 
+ * + * string client_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for clientSecret to set. + * @return This builder for chaining. + */ + public Builder setClientSecretBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientSecret_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object scope_ = ""; + + /** + * + * + *
+     * Required. OAUTH 2 scope to request for the authentication token.
+     * This is the OAUTH 2 scope to request for the authentication token. It has
+     * no default, specifically enforced min / max length or character set. It is
+     * assumed that the scope provided is internally consistent with Trellix IAM
+     * authentication requirements / validation.
+     * 
+ * + * string scope = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The scope. + */ + public java.lang.String getScope() { + java.lang.Object ref = scope_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + scope_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. OAUTH 2 scope to request for the authentication token.
+     * This is the OAUTH 2 scope to request for the authentication token. It has
+     * no default, specifically enforced min / max length or character set. It is
+     * assumed that the scope provided is internally consistent with Trellix IAM
+     * authentication requirements / validation.
+     * 
+ * + * string scope = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for scope. + */ + public com.google.protobuf.ByteString getScopeBytes() { + java.lang.Object ref = scope_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + scope_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. OAUTH 2 scope to request for the authentication token.
+     * This is the OAUTH 2 scope to request for the authentication token. It has
+     * no default, specifically enforced min / max length or character set. It is
+     * assumed that the scope provided is internally consistent with Trellix IAM
+     * authentication requirements / validation.
+     * 
+ * + * string scope = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The scope to set. + * @return This builder for chaining. + */ + public Builder setScope(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + scope_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. OAUTH 2 scope to request for the authentication token.
+     * This is the OAUTH 2 scope to request for the authentication token. It has
+     * no default, specifically enforced min / max length or character set. It is
+     * assumed that the scope provided is internally consistent with Trellix IAM
+     * authentication requirements / validation.
+     * 
+ * + * string scope = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearScope() { + scope_ = getDefaultInstance().getScope(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. OAUTH 2 scope to request for the authentication token.
+     * This is the OAUTH 2 scope to request for the authentication token. It has
+     * no default, specifically enforced min / max length or character set. It is
+     * assumed that the scope provided is internally consistent with Trellix IAM
+     * authentication requirements / validation.
+     * 
+ * + * string scope = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for scope to set. + * @return This builder for chaining. + */ + public Builder setScopeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.TrellixIAMAuthentication) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.TrellixIAMAuthentication) + private static final com.google.cloud.chronicle.v1.TrellixIAMAuthentication DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.TrellixIAMAuthentication(); + } + + public static com.google.cloud.chronicle.v1.TrellixIAMAuthentication getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TrellixIAMAuthentication parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixIAMAuthentication getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixIAMAuthenticationOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixIAMAuthenticationOrBuilder.java new file mode 100644 index 000000000000..e6d4bed8ed3b --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixIAMAuthenticationOrBuilder.java @@ -0,0 +1,130 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface TrellixIAMAuthenticationOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.TrellixIAMAuthentication) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Client ID generated in Trellix IAM.
+   * This is a unique identifier for the user that is generated in Trellix IAM.
+   * It has no default, specifically enforced min / max length or character set.
+   * It is assumed that the Client ID generated in Trellix IAM is internally
+   * consistent with Trellix IAM authentication requirements / validation.
+   * 
+ * + * string client_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clientId. + */ + java.lang.String getClientId(); + + /** + * + * + *
+   * Required. Client ID generated in Trellix IAM.
+   * This is a unique identifier for the user that is generated in Trellix IAM.
+   * It has no default, specifically enforced min / max length or character set.
+   * It is assumed that the Client ID generated in Trellix IAM is internally
+   * consistent with Trellix IAM authentication requirements / validation.
+   * 
+ * + * string client_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clientId. + */ + com.google.protobuf.ByteString getClientIdBytes(); + + /** + * + * + *
+   * Required. Secret associated with the Client ID.
+   * This is the secret generated in Trellix IAM for the Client ID. It has no
+   * default, specifically enforced min / max length or character set. It is
+   * assumed that the secret generated in Trellix IAM is internally
+   * consistent with Trellix IAM authentication requirements / validation.
+   * 
+ * + * string client_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The clientSecret. + */ + java.lang.String getClientSecret(); + + /** + * + * + *
+   * Required. Secret associated with the Client ID.
+   * This is the secret generated in Trellix IAM for the Client ID. It has no
+   * default, specifically enforced min / max length or character set. It is
+   * assumed that the secret generated in Trellix IAM is internally
+   * consistent with Trellix IAM authentication requirements / validation.
+   * 
+ * + * string client_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for clientSecret. + */ + com.google.protobuf.ByteString getClientSecretBytes(); + + /** + * + * + *
+   * Required. OAUTH 2 scope to request for the authentication token.
+   * This is the OAUTH 2 scope to request for the authentication token. It has
+   * no default, specifically enforced min / max length or character set. It is
+   * assumed that the scope provided is internally consistent with Trellix IAM
+   * authentication requirements / validation.
+   * 
+ * + * string scope = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The scope. + */ + java.lang.String getScope(); + + /** + * + * + *
+   * Required. OAUTH 2 scope to request for the authentication token.
+   * This is the OAUTH 2 scope to request for the authentication token. It has
+   * no default, specifically enforced min / max length or character set. It is
+   * assumed that the scope provided is internally consistent with Trellix IAM
+   * authentication requirements / validation.
+   * 
+ * + * string scope = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for scope. + */ + com.google.protobuf.ByteString getScopeBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixLocalAuthentication.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixLocalAuthentication.java new file mode 100644 index 000000000000..571b88e56c12 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixLocalAuthentication.java @@ -0,0 +1,1229 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Info for TrellixLocalAuthentication using a username, password, endpoint,
+ * and header name.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.TrellixLocalAuthentication} + */ +@com.google.protobuf.Generated +public final class TrellixLocalAuthentication extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.TrellixLocalAuthentication) + TrellixLocalAuthenticationOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "TrellixLocalAuthentication"); + } + + // Use TrellixLocalAuthentication.newBuilder() to construct. + private TrellixLocalAuthentication(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private TrellixLocalAuthentication() { + username_ = ""; + password_ = ""; + tokenEndpoint_ = ""; + tokenHeader_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixLocalAuthentication_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixLocalAuthentication_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.TrellixLocalAuthentication.class, + com.google.cloud.chronicle.v1.TrellixLocalAuthentication.Builder.class); + } + + public static final int USERNAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object username_ = ""; + + /** + * + * + *
+   * Required. Username for Trellix Local authentication.
+   * This is a unique username for the user that is generated on a Trellix
+   * device. It has no default, specifically enforced min / max length,
+   * or character set.
+   * 
+ * + * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The username. + */ + @java.lang.Override + public java.lang.String getUsername() { + java.lang.Object ref = username_; + 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(); + username_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Username for Trellix Local authentication.
+   * This is a unique username for the user that is generated on a Trellix
+   * device. It has no default, specifically enforced min / max length,
+   * or character set.
+   * 
+ * + * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for username. + */ + @java.lang.Override + public com.google.protobuf.ByteString getUsernameBytes() { + java.lang.Object ref = username_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + username_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PASSWORD_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object password_ = ""; + + /** + * + * + *
+   * Required. Password of the account identified by username.
+   * There are no restrictions on the format of the password. It has no default,
+   * specifically enforced min / max length or character set. The password
+   * will have been provided by the Trellix administrator.
+   * 
+ * + * string password = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The password. + */ + @java.lang.Override + public java.lang.String getPassword() { + java.lang.Object ref = password_; + 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(); + password_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. Password of the account identified by username.
+   * There are no restrictions on the format of the password. It has no default,
+   * specifically enforced min / max length or character set. The password
+   * will have been provided by the Trellix administrator.
+   * 
+ * + * string password = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for password. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPasswordBytes() { + java.lang.Object ref = password_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + password_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TOKEN_ENDPOINT_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object tokenEndpoint_ = ""; + + /** + * + * + *
+   * Required. The endpoint to fetch the token from.
+   * This must be a valid URL with an http or https scheme. It has no default.
+   * 
+ * + * string token_endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The tokenEndpoint. + */ + @java.lang.Override + public java.lang.String getTokenEndpoint() { + java.lang.Object ref = tokenEndpoint_; + 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(); + tokenEndpoint_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. The endpoint to fetch the token from.
+   * This must be a valid URL with an http or https scheme. It has no default.
+   * 
+ * + * string token_endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for tokenEndpoint. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTokenEndpointBytes() { + java.lang.Object ref = tokenEndpoint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tokenEndpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TOKEN_HEADER_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object tokenHeader_ = ""; + + /** + * + * + *
+   * Required. The HTTP header name to use for the token for authentcated
+   * requests. It varies per Trellix product. Refer to the Trellix API
+   * documentation for the correct value. It has no default.
+   * 
+ * + * string token_header = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The tokenHeader. + */ + @java.lang.Override + public java.lang.String getTokenHeader() { + java.lang.Object ref = tokenHeader_; + 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(); + tokenHeader_ = s; + return s; + } + } + + /** + * + * + *
+   * Required. The HTTP header name to use for the token for authentcated
+   * requests. It varies per Trellix product. Refer to the Trellix API
+   * documentation for the correct value. It has no default.
+   * 
+ * + * string token_header = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for tokenHeader. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTokenHeaderBytes() { + java.lang.Object ref = tokenHeader_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tokenHeader_ = 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.GeneratedMessage.isStringEmpty(username_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, username_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(password_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, password_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tokenEndpoint_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, tokenEndpoint_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tokenHeader_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, tokenHeader_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(username_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, username_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(password_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, password_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tokenEndpoint_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, tokenEndpoint_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tokenHeader_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, tokenHeader_); + } + 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.cloud.chronicle.v1.TrellixLocalAuthentication)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.TrellixLocalAuthentication other = + (com.google.cloud.chronicle.v1.TrellixLocalAuthentication) obj; + + if (!getUsername().equals(other.getUsername())) return false; + if (!getPassword().equals(other.getPassword())) return false; + if (!getTokenEndpoint().equals(other.getTokenEndpoint())) return false; + if (!getTokenHeader().equals(other.getTokenHeader())) 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) + USERNAME_FIELD_NUMBER; + hash = (53 * hash) + getUsername().hashCode(); + hash = (37 * hash) + PASSWORD_FIELD_NUMBER; + hash = (53 * hash) + getPassword().hashCode(); + hash = (37 * hash) + TOKEN_ENDPOINT_FIELD_NUMBER; + hash = (53 * hash) + getTokenEndpoint().hashCode(); + hash = (37 * hash) + TOKEN_HEADER_FIELD_NUMBER; + hash = (53 * hash) + getTokenHeader().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.TrellixLocalAuthentication parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.TrellixLocalAuthentication parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.TrellixLocalAuthentication parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.TrellixLocalAuthentication 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.cloud.chronicle.v1.TrellixLocalAuthentication parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.TrellixLocalAuthentication parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.TrellixLocalAuthentication parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.TrellixLocalAuthentication parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.TrellixLocalAuthentication parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.TrellixLocalAuthentication parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.TrellixLocalAuthentication parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.TrellixLocalAuthentication parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.TrellixLocalAuthentication 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Info for TrellixLocalAuthentication using a username, password, endpoint,
+   * and header name.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.TrellixLocalAuthentication} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.TrellixLocalAuthentication) + com.google.cloud.chronicle.v1.TrellixLocalAuthenticationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixLocalAuthentication_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixLocalAuthentication_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.TrellixLocalAuthentication.class, + com.google.cloud.chronicle.v1.TrellixLocalAuthentication.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.TrellixLocalAuthentication.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + username_ = ""; + password_ = ""; + tokenEndpoint_ = ""; + tokenHeader_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixLocalAuthentication_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixLocalAuthentication getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.TrellixLocalAuthentication.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixLocalAuthentication build() { + com.google.cloud.chronicle.v1.TrellixLocalAuthentication result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixLocalAuthentication buildPartial() { + com.google.cloud.chronicle.v1.TrellixLocalAuthentication result = + new com.google.cloud.chronicle.v1.TrellixLocalAuthentication(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.TrellixLocalAuthentication result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.username_ = username_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.password_ = password_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.tokenEndpoint_ = tokenEndpoint_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.tokenHeader_ = tokenHeader_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.TrellixLocalAuthentication) { + return mergeFrom((com.google.cloud.chronicle.v1.TrellixLocalAuthentication) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.TrellixLocalAuthentication other) { + if (other == com.google.cloud.chronicle.v1.TrellixLocalAuthentication.getDefaultInstance()) + return this; + if (!other.getUsername().isEmpty()) { + username_ = other.username_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getPassword().isEmpty()) { + password_ = other.password_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getTokenEndpoint().isEmpty()) { + tokenEndpoint_ = other.tokenEndpoint_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getTokenHeader().isEmpty()) { + tokenHeader_ = other.tokenHeader_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + username_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + password_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + tokenEndpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + tokenHeader_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object username_ = ""; + + /** + * + * + *
+     * Required. Username for Trellix Local authentication.
+     * This is a unique username for the user that is generated on a Trellix
+     * device. It has no default, specifically enforced min / max length,
+     * or character set.
+     * 
+ * + * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The username. + */ + public java.lang.String getUsername() { + java.lang.Object ref = username_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + username_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Username for Trellix Local authentication.
+     * This is a unique username for the user that is generated on a Trellix
+     * device. It has no default, specifically enforced min / max length,
+     * or character set.
+     * 
+ * + * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for username. + */ + public com.google.protobuf.ByteString getUsernameBytes() { + java.lang.Object ref = username_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + username_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Username for Trellix Local authentication.
+     * This is a unique username for the user that is generated on a Trellix
+     * device. It has no default, specifically enforced min / max length,
+     * or character set.
+     * 
+ * + * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The username to set. + * @return This builder for chaining. + */ + public Builder setUsername(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + username_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Username for Trellix Local authentication.
+     * This is a unique username for the user that is generated on a Trellix
+     * device. It has no default, specifically enforced min / max length,
+     * or character set.
+     * 
+ * + * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearUsername() { + username_ = getDefaultInstance().getUsername(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Username for Trellix Local authentication.
+     * This is a unique username for the user that is generated on a Trellix
+     * device. It has no default, specifically enforced min / max length,
+     * or character set.
+     * 
+ * + * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for username to set. + * @return This builder for chaining. + */ + public Builder setUsernameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + username_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object password_ = ""; + + /** + * + * + *
+     * Required. Password of the account identified by username.
+     * There are no restrictions on the format of the password. It has no default,
+     * specifically enforced min / max length or character set. The password
+     * will have been provided by the Trellix administrator.
+     * 
+ * + * string password = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The password. + */ + public java.lang.String getPassword() { + java.lang.Object ref = password_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + password_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. Password of the account identified by username.
+     * There are no restrictions on the format of the password. It has no default,
+     * specifically enforced min / max length or character set. The password
+     * will have been provided by the Trellix administrator.
+     * 
+ * + * string password = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for password. + */ + public com.google.protobuf.ByteString getPasswordBytes() { + java.lang.Object ref = password_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + password_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. Password of the account identified by username.
+     * There are no restrictions on the format of the password. It has no default,
+     * specifically enforced min / max length or character set. The password
+     * will have been provided by the Trellix administrator.
+     * 
+ * + * string password = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The password to set. + * @return This builder for chaining. + */ + public Builder setPassword(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + password_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Password of the account identified by username.
+     * There are no restrictions on the format of the password. It has no default,
+     * specifically enforced min / max length or character set. The password
+     * will have been provided by the Trellix administrator.
+     * 
+ * + * string password = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearPassword() { + password_ = getDefaultInstance().getPassword(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Password of the account identified by username.
+     * There are no restrictions on the format of the password. It has no default,
+     * specifically enforced min / max length or character set. The password
+     * will have been provided by the Trellix administrator.
+     * 
+ * + * string password = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for password to set. + * @return This builder for chaining. + */ + public Builder setPasswordBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + password_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object tokenEndpoint_ = ""; + + /** + * + * + *
+     * Required. The endpoint to fetch the token from.
+     * This must be a valid URL with an http or https scheme. It has no default.
+     * 
+ * + * string token_endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The tokenEndpoint. + */ + public java.lang.String getTokenEndpoint() { + java.lang.Object ref = tokenEndpoint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tokenEndpoint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. The endpoint to fetch the token from.
+     * This must be a valid URL with an http or https scheme. It has no default.
+     * 
+ * + * string token_endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for tokenEndpoint. + */ + public com.google.protobuf.ByteString getTokenEndpointBytes() { + java.lang.Object ref = tokenEndpoint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tokenEndpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. The endpoint to fetch the token from.
+     * This must be a valid URL with an http or https scheme. It has no default.
+     * 
+ * + * string token_endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The tokenEndpoint to set. + * @return This builder for chaining. + */ + public Builder setTokenEndpoint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + tokenEndpoint_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The endpoint to fetch the token from.
+     * This must be a valid URL with an http or https scheme. It has no default.
+     * 
+ * + * string token_endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearTokenEndpoint() { + tokenEndpoint_ = getDefaultInstance().getTokenEndpoint(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The endpoint to fetch the token from.
+     * This must be a valid URL with an http or https scheme. It has no default.
+     * 
+ * + * string token_endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for tokenEndpoint to set. + * @return This builder for chaining. + */ + public Builder setTokenEndpointBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tokenEndpoint_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object tokenHeader_ = ""; + + /** + * + * + *
+     * Required. The HTTP header name to use for the token for authentcated
+     * requests. It varies per Trellix product. Refer to the Trellix API
+     * documentation for the correct value. It has no default.
+     * 
+ * + * string token_header = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The tokenHeader. + */ + public java.lang.String getTokenHeader() { + java.lang.Object ref = tokenHeader_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tokenHeader_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Required. The HTTP header name to use for the token for authentcated
+     * requests. It varies per Trellix product. Refer to the Trellix API
+     * documentation for the correct value. It has no default.
+     * 
+ * + * string token_header = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for tokenHeader. + */ + public com.google.protobuf.ByteString getTokenHeaderBytes() { + java.lang.Object ref = tokenHeader_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tokenHeader_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Required. The HTTP header name to use for the token for authentcated
+     * requests. It varies per Trellix product. Refer to the Trellix API
+     * documentation for the correct value. It has no default.
+     * 
+ * + * string token_header = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The tokenHeader to set. + * @return This builder for chaining. + */ + public Builder setTokenHeader(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + tokenHeader_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The HTTP header name to use for the token for authentcated
+     * requests. It varies per Trellix product. Refer to the Trellix API
+     * documentation for the correct value. It has no default.
+     * 
+ * + * string token_header = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearTokenHeader() { + tokenHeader_ = getDefaultInstance().getTokenHeader(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. The HTTP header name to use for the token for authentcated
+     * requests. It varies per Trellix product. Refer to the Trellix API
+     * documentation for the correct value. It has no default.
+     * 
+ * + * string token_header = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for tokenHeader to set. + * @return This builder for chaining. + */ + public Builder setTokenHeaderBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tokenHeader_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.TrellixLocalAuthentication) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.TrellixLocalAuthentication) + private static final com.google.cloud.chronicle.v1.TrellixLocalAuthentication DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.TrellixLocalAuthentication(); + } + + public static com.google.cloud.chronicle.v1.TrellixLocalAuthentication getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TrellixLocalAuthentication parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixLocalAuthentication getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixLocalAuthenticationOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixLocalAuthenticationOrBuilder.java new file mode 100644 index 000000000000..431d8091a5c6 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixLocalAuthenticationOrBuilder.java @@ -0,0 +1,150 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface TrellixLocalAuthenticationOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.TrellixLocalAuthentication) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Username for Trellix Local authentication.
+   * This is a unique username for the user that is generated on a Trellix
+   * device. It has no default, specifically enforced min / max length,
+   * or character set.
+   * 
+ * + * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The username. + */ + java.lang.String getUsername(); + + /** + * + * + *
+   * Required. Username for Trellix Local authentication.
+   * This is a unique username for the user that is generated on a Trellix
+   * device. It has no default, specifically enforced min / max length,
+   * or character set.
+   * 
+ * + * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for username. + */ + com.google.protobuf.ByteString getUsernameBytes(); + + /** + * + * + *
+   * Required. Password of the account identified by username.
+   * There are no restrictions on the format of the password. It has no default,
+   * specifically enforced min / max length or character set. The password
+   * will have been provided by the Trellix administrator.
+   * 
+ * + * string password = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The password. + */ + java.lang.String getPassword(); + + /** + * + * + *
+   * Required. Password of the account identified by username.
+   * There are no restrictions on the format of the password. It has no default,
+   * specifically enforced min / max length or character set. The password
+   * will have been provided by the Trellix administrator.
+   * 
+ * + * string password = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for password. + */ + com.google.protobuf.ByteString getPasswordBytes(); + + /** + * + * + *
+   * Required. The endpoint to fetch the token from.
+   * This must be a valid URL with an http or https scheme. It has no default.
+   * 
+ * + * string token_endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The tokenEndpoint. + */ + java.lang.String getTokenEndpoint(); + + /** + * + * + *
+   * Required. The endpoint to fetch the token from.
+   * This must be a valid URL with an http or https scheme. It has no default.
+   * 
+ * + * string token_endpoint = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for tokenEndpoint. + */ + com.google.protobuf.ByteString getTokenEndpointBytes(); + + /** + * + * + *
+   * Required. The HTTP header name to use for the token for authentcated
+   * requests. It varies per Trellix product. Refer to the Trellix API
+   * documentation for the correct value. It has no default.
+   * 
+ * + * string token_header = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The tokenHeader. + */ + java.lang.String getTokenHeader(); + + /** + * + * + *
+   * Required. The HTTP header name to use for the token for authentcated
+   * requests. It varies per Trellix product. Refer to the Trellix API
+   * documentation for the correct value. It has no default.
+   * 
+ * + * string token_header = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for tokenHeader. + */ + com.google.protobuf.ByteString getTokenHeaderBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixStarXAuthentication.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixStarXAuthentication.java new file mode 100644 index 000000000000..8c491268cac6 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixStarXAuthentication.java @@ -0,0 +1,1493 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * TrellixStarXAuthentication contains a oneof with all of the authentication
+ * types supported by Trellix *X devices.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.TrellixStarXAuthentication} + */ +@com.google.protobuf.Generated +public final class TrellixStarXAuthentication extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.TrellixStarXAuthentication) + TrellixStarXAuthenticationOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "TrellixStarXAuthentication"); + } + + // Use TrellixStarXAuthentication.newBuilder() to construct. + private TrellixStarXAuthentication(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private TrellixStarXAuthentication() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixStarXAuthentication_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixStarXAuthentication_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.TrellixStarXAuthentication.class, + com.google.cloud.chronicle.v1.TrellixStarXAuthentication.Builder.class); + } + + private int authTypeCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object authType_; + + public enum AuthTypeCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + MSSO(1), + TRELLIX_IAM(2), + TRELLIX_LOCAL(3), + AUTHTYPE_NOT_SET(0); + private final int value; + + private AuthTypeCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static AuthTypeCase valueOf(int value) { + return forNumber(value); + } + + public static AuthTypeCase forNumber(int value) { + switch (value) { + case 1: + return MSSO; + case 2: + return TRELLIX_IAM; + case 3: + return TRELLIX_LOCAL; + case 0: + return AUTHTYPE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public AuthTypeCase getAuthTypeCase() { + return AuthTypeCase.forNumber(authTypeCase_); + } + + public static final int MSSO_FIELD_NUMBER = 1; + + /** + * + * + *
+   * Input only. MssoAuthentication auth type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MssoAuthentication msso = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the msso field is set. + */ + @java.lang.Override + public boolean hasMsso() { + return authTypeCase_ == 1; + } + + /** + * + * + *
+   * Input only. MssoAuthentication auth type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MssoAuthentication msso = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The msso. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MssoAuthentication getMsso() { + if (authTypeCase_ == 1) { + return (com.google.cloud.chronicle.v1.MssoAuthentication) authType_; + } + return com.google.cloud.chronicle.v1.MssoAuthentication.getDefaultInstance(); + } + + /** + * + * + *
+   * Input only. MssoAuthentication auth type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MssoAuthentication msso = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MssoAuthenticationOrBuilder getMssoOrBuilder() { + if (authTypeCase_ == 1) { + return (com.google.cloud.chronicle.v1.MssoAuthentication) authType_; + } + return com.google.cloud.chronicle.v1.MssoAuthentication.getDefaultInstance(); + } + + public static final int TRELLIX_IAM_FIELD_NUMBER = 2; + + /** + * + * + *
+   * Input only. TrellixIAMAuthentication auth type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixIAMAuthentication trellix_iam = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the trellixIam field is set. + */ + @java.lang.Override + public boolean hasTrellixIam() { + return authTypeCase_ == 2; + } + + /** + * + * + *
+   * Input only. TrellixIAMAuthentication auth type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixIAMAuthentication trellix_iam = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The trellixIam. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixIAMAuthentication getTrellixIam() { + if (authTypeCase_ == 2) { + return (com.google.cloud.chronicle.v1.TrellixIAMAuthentication) authType_; + } + return com.google.cloud.chronicle.v1.TrellixIAMAuthentication.getDefaultInstance(); + } + + /** + * + * + *
+   * Input only. TrellixIAMAuthentication auth type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixIAMAuthentication trellix_iam = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixIAMAuthenticationOrBuilder getTrellixIamOrBuilder() { + if (authTypeCase_ == 2) { + return (com.google.cloud.chronicle.v1.TrellixIAMAuthentication) authType_; + } + return com.google.cloud.chronicle.v1.TrellixIAMAuthentication.getDefaultInstance(); + } + + public static final int TRELLIX_LOCAL_FIELD_NUMBER = 3; + + /** + * + * + *
+   * Input only. TrellixLocalAuthentication auth type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixLocalAuthentication trellix_local = 3 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the trellixLocal field is set. + */ + @java.lang.Override + public boolean hasTrellixLocal() { + return authTypeCase_ == 3; + } + + /** + * + * + *
+   * Input only. TrellixLocalAuthentication auth type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixLocalAuthentication trellix_local = 3 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The trellixLocal. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixLocalAuthentication getTrellixLocal() { + if (authTypeCase_ == 3) { + return (com.google.cloud.chronicle.v1.TrellixLocalAuthentication) authType_; + } + return com.google.cloud.chronicle.v1.TrellixLocalAuthentication.getDefaultInstance(); + } + + /** + * + * + *
+   * Input only. TrellixLocalAuthentication auth type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixLocalAuthentication trellix_local = 3 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixLocalAuthenticationOrBuilder + getTrellixLocalOrBuilder() { + if (authTypeCase_ == 3) { + return (com.google.cloud.chronicle.v1.TrellixLocalAuthentication) authType_; + } + return com.google.cloud.chronicle.v1.TrellixLocalAuthentication.getDefaultInstance(); + } + + 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 (authTypeCase_ == 1) { + output.writeMessage(1, (com.google.cloud.chronicle.v1.MssoAuthentication) authType_); + } + if (authTypeCase_ == 2) { + output.writeMessage(2, (com.google.cloud.chronicle.v1.TrellixIAMAuthentication) authType_); + } + if (authTypeCase_ == 3) { + output.writeMessage(3, (com.google.cloud.chronicle.v1.TrellixLocalAuthentication) authType_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (authTypeCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.chronicle.v1.MssoAuthentication) authType_); + } + if (authTypeCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.chronicle.v1.TrellixIAMAuthentication) authType_); + } + if (authTypeCase_ == 3) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.chronicle.v1.TrellixLocalAuthentication) authType_); + } + 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.cloud.chronicle.v1.TrellixStarXAuthentication)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.TrellixStarXAuthentication other = + (com.google.cloud.chronicle.v1.TrellixStarXAuthentication) obj; + + if (!getAuthTypeCase().equals(other.getAuthTypeCase())) return false; + switch (authTypeCase_) { + case 1: + if (!getMsso().equals(other.getMsso())) return false; + break; + case 2: + if (!getTrellixIam().equals(other.getTrellixIam())) return false; + break; + case 3: + if (!getTrellixLocal().equals(other.getTrellixLocal())) return false; + break; + case 0: + default: + } + 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(); + switch (authTypeCase_) { + case 1: + hash = (37 * hash) + MSSO_FIELD_NUMBER; + hash = (53 * hash) + getMsso().hashCode(); + break; + case 2: + hash = (37 * hash) + TRELLIX_IAM_FIELD_NUMBER; + hash = (53 * hash) + getTrellixIam().hashCode(); + break; + case 3: + hash = (37 * hash) + TRELLIX_LOCAL_FIELD_NUMBER; + hash = (53 * hash) + getTrellixLocal().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.TrellixStarXAuthentication parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.TrellixStarXAuthentication parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.TrellixStarXAuthentication parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.TrellixStarXAuthentication 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.cloud.chronicle.v1.TrellixStarXAuthentication parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.TrellixStarXAuthentication parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.TrellixStarXAuthentication parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.TrellixStarXAuthentication parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.TrellixStarXAuthentication parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.TrellixStarXAuthentication parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.TrellixStarXAuthentication parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.TrellixStarXAuthentication parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.TrellixStarXAuthentication 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * TrellixStarXAuthentication contains a oneof with all of the authentication
+   * types supported by Trellix *X devices.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.TrellixStarXAuthentication} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.TrellixStarXAuthentication) + com.google.cloud.chronicle.v1.TrellixStarXAuthenticationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixStarXAuthentication_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixStarXAuthentication_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.TrellixStarXAuthentication.class, + com.google.cloud.chronicle.v1.TrellixStarXAuthentication.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.TrellixStarXAuthentication.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (mssoBuilder_ != null) { + mssoBuilder_.clear(); + } + if (trellixIamBuilder_ != null) { + trellixIamBuilder_.clear(); + } + if (trellixLocalBuilder_ != null) { + trellixLocalBuilder_.clear(); + } + authTypeCase_ = 0; + authType_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_TrellixStarXAuthentication_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixStarXAuthentication getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.TrellixStarXAuthentication.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixStarXAuthentication build() { + com.google.cloud.chronicle.v1.TrellixStarXAuthentication result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixStarXAuthentication buildPartial() { + com.google.cloud.chronicle.v1.TrellixStarXAuthentication result = + new com.google.cloud.chronicle.v1.TrellixStarXAuthentication(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.TrellixStarXAuthentication result) { + int from_bitField0_ = bitField0_; + } + + private void buildPartialOneofs( + com.google.cloud.chronicle.v1.TrellixStarXAuthentication result) { + result.authTypeCase_ = authTypeCase_; + result.authType_ = this.authType_; + if (authTypeCase_ == 1 && mssoBuilder_ != null) { + result.authType_ = mssoBuilder_.build(); + } + if (authTypeCase_ == 2 && trellixIamBuilder_ != null) { + result.authType_ = trellixIamBuilder_.build(); + } + if (authTypeCase_ == 3 && trellixLocalBuilder_ != null) { + result.authType_ = trellixLocalBuilder_.build(); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.TrellixStarXAuthentication) { + return mergeFrom((com.google.cloud.chronicle.v1.TrellixStarXAuthentication) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.TrellixStarXAuthentication other) { + if (other == com.google.cloud.chronicle.v1.TrellixStarXAuthentication.getDefaultInstance()) + return this; + switch (other.getAuthTypeCase()) { + case MSSO: + { + mergeMsso(other.getMsso()); + break; + } + case TRELLIX_IAM: + { + mergeTrellixIam(other.getTrellixIam()); + break; + } + case TRELLIX_LOCAL: + { + mergeTrellixLocal(other.getTrellixLocal()); + break; + } + case AUTHTYPE_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage(internalGetMssoFieldBuilder().getBuilder(), extensionRegistry); + authTypeCase_ = 1; + break; + } // case 10 + case 18: + { + input.readMessage( + internalGetTrellixIamFieldBuilder().getBuilder(), extensionRegistry); + authTypeCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage( + internalGetTrellixLocalFieldBuilder().getBuilder(), extensionRegistry); + authTypeCase_ = 3; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int authTypeCase_ = 0; + private java.lang.Object authType_; + + public AuthTypeCase getAuthTypeCase() { + return AuthTypeCase.forNumber(authTypeCase_); + } + + public Builder clearAuthType() { + authTypeCase_ = 0; + authType_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MssoAuthentication, + com.google.cloud.chronicle.v1.MssoAuthentication.Builder, + com.google.cloud.chronicle.v1.MssoAuthenticationOrBuilder> + mssoBuilder_; + + /** + * + * + *
+     * Input only. MssoAuthentication auth type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MssoAuthentication msso = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the msso field is set. + */ + @java.lang.Override + public boolean hasMsso() { + return authTypeCase_ == 1; + } + + /** + * + * + *
+     * Input only. MssoAuthentication auth type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MssoAuthentication msso = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The msso. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MssoAuthentication getMsso() { + if (mssoBuilder_ == null) { + if (authTypeCase_ == 1) { + return (com.google.cloud.chronicle.v1.MssoAuthentication) authType_; + } + return com.google.cloud.chronicle.v1.MssoAuthentication.getDefaultInstance(); + } else { + if (authTypeCase_ == 1) { + return mssoBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.MssoAuthentication.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Input only. MssoAuthentication auth type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MssoAuthentication msso = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setMsso(com.google.cloud.chronicle.v1.MssoAuthentication value) { + if (mssoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authType_ = value; + onChanged(); + } else { + mssoBuilder_.setMessage(value); + } + authTypeCase_ = 1; + return this; + } + + /** + * + * + *
+     * Input only. MssoAuthentication auth type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MssoAuthentication msso = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setMsso( + com.google.cloud.chronicle.v1.MssoAuthentication.Builder builderForValue) { + if (mssoBuilder_ == null) { + authType_ = builderForValue.build(); + onChanged(); + } else { + mssoBuilder_.setMessage(builderForValue.build()); + } + authTypeCase_ = 1; + return this; + } + + /** + * + * + *
+     * Input only. MssoAuthentication auth type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MssoAuthentication msso = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeMsso(com.google.cloud.chronicle.v1.MssoAuthentication value) { + if (mssoBuilder_ == null) { + if (authTypeCase_ == 1 + && authType_ != com.google.cloud.chronicle.v1.MssoAuthentication.getDefaultInstance()) { + authType_ = + com.google.cloud.chronicle.v1.MssoAuthentication.newBuilder( + (com.google.cloud.chronicle.v1.MssoAuthentication) authType_) + .mergeFrom(value) + .buildPartial(); + } else { + authType_ = value; + } + onChanged(); + } else { + if (authTypeCase_ == 1) { + mssoBuilder_.mergeFrom(value); + } else { + mssoBuilder_.setMessage(value); + } + } + authTypeCase_ = 1; + return this; + } + + /** + * + * + *
+     * Input only. MssoAuthentication auth type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MssoAuthentication msso = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearMsso() { + if (mssoBuilder_ == null) { + if (authTypeCase_ == 1) { + authTypeCase_ = 0; + authType_ = null; + onChanged(); + } + } else { + if (authTypeCase_ == 1) { + authTypeCase_ = 0; + authType_ = null; + } + mssoBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Input only. MssoAuthentication auth type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MssoAuthentication msso = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.MssoAuthentication.Builder getMssoBuilder() { + return internalGetMssoFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. MssoAuthentication auth type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MssoAuthentication msso = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.MssoAuthenticationOrBuilder getMssoOrBuilder() { + if ((authTypeCase_ == 1) && (mssoBuilder_ != null)) { + return mssoBuilder_.getMessageOrBuilder(); + } else { + if (authTypeCase_ == 1) { + return (com.google.cloud.chronicle.v1.MssoAuthentication) authType_; + } + return com.google.cloud.chronicle.v1.MssoAuthentication.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Input only. MssoAuthentication auth type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.MssoAuthentication msso = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MssoAuthentication, + com.google.cloud.chronicle.v1.MssoAuthentication.Builder, + com.google.cloud.chronicle.v1.MssoAuthenticationOrBuilder> + internalGetMssoFieldBuilder() { + if (mssoBuilder_ == null) { + if (!(authTypeCase_ == 1)) { + authType_ = com.google.cloud.chronicle.v1.MssoAuthentication.getDefaultInstance(); + } + mssoBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.MssoAuthentication, + com.google.cloud.chronicle.v1.MssoAuthentication.Builder, + com.google.cloud.chronicle.v1.MssoAuthenticationOrBuilder>( + (com.google.cloud.chronicle.v1.MssoAuthentication) authType_, + getParentForChildren(), + isClean()); + authType_ = null; + } + authTypeCase_ = 1; + onChanged(); + return mssoBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.TrellixIAMAuthentication, + com.google.cloud.chronicle.v1.TrellixIAMAuthentication.Builder, + com.google.cloud.chronicle.v1.TrellixIAMAuthenticationOrBuilder> + trellixIamBuilder_; + + /** + * + * + *
+     * Input only. TrellixIAMAuthentication auth type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixIAMAuthentication trellix_iam = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the trellixIam field is set. + */ + @java.lang.Override + public boolean hasTrellixIam() { + return authTypeCase_ == 2; + } + + /** + * + * + *
+     * Input only. TrellixIAMAuthentication auth type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixIAMAuthentication trellix_iam = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The trellixIam. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixIAMAuthentication getTrellixIam() { + if (trellixIamBuilder_ == null) { + if (authTypeCase_ == 2) { + return (com.google.cloud.chronicle.v1.TrellixIAMAuthentication) authType_; + } + return com.google.cloud.chronicle.v1.TrellixIAMAuthentication.getDefaultInstance(); + } else { + if (authTypeCase_ == 2) { + return trellixIamBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.TrellixIAMAuthentication.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Input only. TrellixIAMAuthentication auth type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixIAMAuthentication trellix_iam = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setTrellixIam(com.google.cloud.chronicle.v1.TrellixIAMAuthentication value) { + if (trellixIamBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authType_ = value; + onChanged(); + } else { + trellixIamBuilder_.setMessage(value); + } + authTypeCase_ = 2; + return this; + } + + /** + * + * + *
+     * Input only. TrellixIAMAuthentication auth type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixIAMAuthentication trellix_iam = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setTrellixIam( + com.google.cloud.chronicle.v1.TrellixIAMAuthentication.Builder builderForValue) { + if (trellixIamBuilder_ == null) { + authType_ = builderForValue.build(); + onChanged(); + } else { + trellixIamBuilder_.setMessage(builderForValue.build()); + } + authTypeCase_ = 2; + return this; + } + + /** + * + * + *
+     * Input only. TrellixIAMAuthentication auth type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixIAMAuthentication trellix_iam = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeTrellixIam(com.google.cloud.chronicle.v1.TrellixIAMAuthentication value) { + if (trellixIamBuilder_ == null) { + if (authTypeCase_ == 2 + && authType_ + != com.google.cloud.chronicle.v1.TrellixIAMAuthentication.getDefaultInstance()) { + authType_ = + com.google.cloud.chronicle.v1.TrellixIAMAuthentication.newBuilder( + (com.google.cloud.chronicle.v1.TrellixIAMAuthentication) authType_) + .mergeFrom(value) + .buildPartial(); + } else { + authType_ = value; + } + onChanged(); + } else { + if (authTypeCase_ == 2) { + trellixIamBuilder_.mergeFrom(value); + } else { + trellixIamBuilder_.setMessage(value); + } + } + authTypeCase_ = 2; + return this; + } + + /** + * + * + *
+     * Input only. TrellixIAMAuthentication auth type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixIAMAuthentication trellix_iam = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearTrellixIam() { + if (trellixIamBuilder_ == null) { + if (authTypeCase_ == 2) { + authTypeCase_ = 0; + authType_ = null; + onChanged(); + } + } else { + if (authTypeCase_ == 2) { + authTypeCase_ = 0; + authType_ = null; + } + trellixIamBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Input only. TrellixIAMAuthentication auth type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixIAMAuthentication trellix_iam = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.TrellixIAMAuthentication.Builder getTrellixIamBuilder() { + return internalGetTrellixIamFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. TrellixIAMAuthentication auth type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixIAMAuthentication trellix_iam = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixIAMAuthenticationOrBuilder + getTrellixIamOrBuilder() { + if ((authTypeCase_ == 2) && (trellixIamBuilder_ != null)) { + return trellixIamBuilder_.getMessageOrBuilder(); + } else { + if (authTypeCase_ == 2) { + return (com.google.cloud.chronicle.v1.TrellixIAMAuthentication) authType_; + } + return com.google.cloud.chronicle.v1.TrellixIAMAuthentication.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Input only. TrellixIAMAuthentication auth type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixIAMAuthentication trellix_iam = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.TrellixIAMAuthentication, + com.google.cloud.chronicle.v1.TrellixIAMAuthentication.Builder, + com.google.cloud.chronicle.v1.TrellixIAMAuthenticationOrBuilder> + internalGetTrellixIamFieldBuilder() { + if (trellixIamBuilder_ == null) { + if (!(authTypeCase_ == 2)) { + authType_ = com.google.cloud.chronicle.v1.TrellixIAMAuthentication.getDefaultInstance(); + } + trellixIamBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.TrellixIAMAuthentication, + com.google.cloud.chronicle.v1.TrellixIAMAuthentication.Builder, + com.google.cloud.chronicle.v1.TrellixIAMAuthenticationOrBuilder>( + (com.google.cloud.chronicle.v1.TrellixIAMAuthentication) authType_, + getParentForChildren(), + isClean()); + authType_ = null; + } + authTypeCase_ = 2; + onChanged(); + return trellixIamBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.TrellixLocalAuthentication, + com.google.cloud.chronicle.v1.TrellixLocalAuthentication.Builder, + com.google.cloud.chronicle.v1.TrellixLocalAuthenticationOrBuilder> + trellixLocalBuilder_; + + /** + * + * + *
+     * Input only. TrellixLocalAuthentication auth type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixLocalAuthentication trellix_local = 3 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the trellixLocal field is set. + */ + @java.lang.Override + public boolean hasTrellixLocal() { + return authTypeCase_ == 3; + } + + /** + * + * + *
+     * Input only. TrellixLocalAuthentication auth type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixLocalAuthentication trellix_local = 3 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The trellixLocal. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixLocalAuthentication getTrellixLocal() { + if (trellixLocalBuilder_ == null) { + if (authTypeCase_ == 3) { + return (com.google.cloud.chronicle.v1.TrellixLocalAuthentication) authType_; + } + return com.google.cloud.chronicle.v1.TrellixLocalAuthentication.getDefaultInstance(); + } else { + if (authTypeCase_ == 3) { + return trellixLocalBuilder_.getMessage(); + } + return com.google.cloud.chronicle.v1.TrellixLocalAuthentication.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Input only. TrellixLocalAuthentication auth type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixLocalAuthentication trellix_local = 3 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setTrellixLocal(com.google.cloud.chronicle.v1.TrellixLocalAuthentication value) { + if (trellixLocalBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authType_ = value; + onChanged(); + } else { + trellixLocalBuilder_.setMessage(value); + } + authTypeCase_ = 3; + return this; + } + + /** + * + * + *
+     * Input only. TrellixLocalAuthentication auth type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixLocalAuthentication trellix_local = 3 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setTrellixLocal( + com.google.cloud.chronicle.v1.TrellixLocalAuthentication.Builder builderForValue) { + if (trellixLocalBuilder_ == null) { + authType_ = builderForValue.build(); + onChanged(); + } else { + trellixLocalBuilder_.setMessage(builderForValue.build()); + } + authTypeCase_ = 3; + return this; + } + + /** + * + * + *
+     * Input only. TrellixLocalAuthentication auth type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixLocalAuthentication trellix_local = 3 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeTrellixLocal( + com.google.cloud.chronicle.v1.TrellixLocalAuthentication value) { + if (trellixLocalBuilder_ == null) { + if (authTypeCase_ == 3 + && authType_ + != com.google.cloud.chronicle.v1.TrellixLocalAuthentication.getDefaultInstance()) { + authType_ = + com.google.cloud.chronicle.v1.TrellixLocalAuthentication.newBuilder( + (com.google.cloud.chronicle.v1.TrellixLocalAuthentication) authType_) + .mergeFrom(value) + .buildPartial(); + } else { + authType_ = value; + } + onChanged(); + } else { + if (authTypeCase_ == 3) { + trellixLocalBuilder_.mergeFrom(value); + } else { + trellixLocalBuilder_.setMessage(value); + } + } + authTypeCase_ = 3; + return this; + } + + /** + * + * + *
+     * Input only. TrellixLocalAuthentication auth type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixLocalAuthentication trellix_local = 3 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearTrellixLocal() { + if (trellixLocalBuilder_ == null) { + if (authTypeCase_ == 3) { + authTypeCase_ = 0; + authType_ = null; + onChanged(); + } + } else { + if (authTypeCase_ == 3) { + authTypeCase_ = 0; + authType_ = null; + } + trellixLocalBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Input only. TrellixLocalAuthentication auth type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixLocalAuthentication trellix_local = 3 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.TrellixLocalAuthentication.Builder + getTrellixLocalBuilder() { + return internalGetTrellixLocalFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. TrellixLocalAuthentication auth type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixLocalAuthentication trellix_local = 3 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixLocalAuthenticationOrBuilder + getTrellixLocalOrBuilder() { + if ((authTypeCase_ == 3) && (trellixLocalBuilder_ != null)) { + return trellixLocalBuilder_.getMessageOrBuilder(); + } else { + if (authTypeCase_ == 3) { + return (com.google.cloud.chronicle.v1.TrellixLocalAuthentication) authType_; + } + return com.google.cloud.chronicle.v1.TrellixLocalAuthentication.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Input only. TrellixLocalAuthentication auth type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.TrellixLocalAuthentication trellix_local = 3 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.TrellixLocalAuthentication, + com.google.cloud.chronicle.v1.TrellixLocalAuthentication.Builder, + com.google.cloud.chronicle.v1.TrellixLocalAuthenticationOrBuilder> + internalGetTrellixLocalFieldBuilder() { + if (trellixLocalBuilder_ == null) { + if (!(authTypeCase_ == 3)) { + authType_ = com.google.cloud.chronicle.v1.TrellixLocalAuthentication.getDefaultInstance(); + } + trellixLocalBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.TrellixLocalAuthentication, + com.google.cloud.chronicle.v1.TrellixLocalAuthentication.Builder, + com.google.cloud.chronicle.v1.TrellixLocalAuthenticationOrBuilder>( + (com.google.cloud.chronicle.v1.TrellixLocalAuthentication) authType_, + getParentForChildren(), + isClean()); + authType_ = null; + } + authTypeCase_ = 3; + onChanged(); + return trellixLocalBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.TrellixStarXAuthentication) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.TrellixStarXAuthentication) + private static final com.google.cloud.chronicle.v1.TrellixStarXAuthentication DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.TrellixStarXAuthentication(); + } + + public static com.google.cloud.chronicle.v1.TrellixStarXAuthentication getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TrellixStarXAuthentication parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.TrellixStarXAuthentication getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixStarXAuthenticationOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixStarXAuthenticationOrBuilder.java new file mode 100644 index 000000000000..96935a2ec015 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/TrellixStarXAuthenticationOrBuilder.java @@ -0,0 +1,159 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface TrellixStarXAuthenticationOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.TrellixStarXAuthentication) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. MssoAuthentication auth type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MssoAuthentication msso = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the msso field is set. + */ + boolean hasMsso(); + + /** + * + * + *
+   * Input only. MssoAuthentication auth type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MssoAuthentication msso = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The msso. + */ + com.google.cloud.chronicle.v1.MssoAuthentication getMsso(); + + /** + * + * + *
+   * Input only. MssoAuthentication auth type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.MssoAuthentication msso = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.MssoAuthenticationOrBuilder getMssoOrBuilder(); + + /** + * + * + *
+   * Input only. TrellixIAMAuthentication auth type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixIAMAuthentication trellix_iam = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the trellixIam field is set. + */ + boolean hasTrellixIam(); + + /** + * + * + *
+   * Input only. TrellixIAMAuthentication auth type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixIAMAuthentication trellix_iam = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The trellixIam. + */ + com.google.cloud.chronicle.v1.TrellixIAMAuthentication getTrellixIam(); + + /** + * + * + *
+   * Input only. TrellixIAMAuthentication auth type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixIAMAuthentication trellix_iam = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.TrellixIAMAuthenticationOrBuilder getTrellixIamOrBuilder(); + + /** + * + * + *
+   * Input only. TrellixLocalAuthentication auth type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixLocalAuthentication trellix_local = 3 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the trellixLocal field is set. + */ + boolean hasTrellixLocal(); + + /** + * + * + *
+   * Input only. TrellixLocalAuthentication auth type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixLocalAuthentication trellix_local = 3 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The trellixLocal. + */ + com.google.cloud.chronicle.v1.TrellixLocalAuthentication getTrellixLocal(); + + /** + * + * + *
+   * Input only. TrellixLocalAuthentication auth type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.TrellixLocalAuthentication trellix_local = 3 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.TrellixLocalAuthenticationOrBuilder getTrellixLocalOrBuilder(); + + com.google.cloud.chronicle.v1.TrellixStarXAuthentication.AuthTypeCase getAuthTypeCase(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/URISourceType.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/URISourceType.java new file mode 100644 index 000000000000..b11f156c0243 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/URISourceType.java @@ -0,0 +1,218 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * The type of URIs specified in the source URIs.
+ * 
+ * + * Protobuf enum {@code google.cloud.chronicle.v1.URISourceType} + */ +@com.google.protobuf.Generated +public enum URISourceType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+   * If encountered, will throw an `INVALID_ARGUMENT` error.
+   * 
+ * + * URI_SOURCE_TYPE_UNSPECIFIED = 0; + */ + URI_SOURCE_TYPE_UNSPECIFIED(0), + /** + * + * + *
+   * The type of files pointed to by `source_uris` are files.
+   * 
+ * + * FILES = 1; + */ + FILES(1), + /** + * + * + *
+   * The type of files pointed to by `source_uris` are folders and Xenon
+   * should not descend into subfolders of those folders.
+   * 
+ * + * FOLDERS = 2; + */ + FOLDERS(2), + /** + * + * + *
+   * The type of files pointed to by `source_uris` are folders and Xenon
+   * should descend into subfolders of those folders.
+   * 
+ * + * FOLDERS_RECURSIVE = 3; + */ + FOLDERS_RECURSIVE(3), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "URISourceType"); + } + + /** + * + * + *
+   * If encountered, will throw an `INVALID_ARGUMENT` error.
+   * 
+ * + * URI_SOURCE_TYPE_UNSPECIFIED = 0; + */ + public static final int URI_SOURCE_TYPE_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
+   * The type of files pointed to by `source_uris` are files.
+   * 
+ * + * FILES = 1; + */ + public static final int FILES_VALUE = 1; + + /** + * + * + *
+   * The type of files pointed to by `source_uris` are folders and Xenon
+   * should not descend into subfolders of those folders.
+   * 
+ * + * FOLDERS = 2; + */ + public static final int FOLDERS_VALUE = 2; + + /** + * + * + *
+   * The type of files pointed to by `source_uris` are folders and Xenon
+   * should descend into subfolders of those folders.
+   * 
+ * + * FOLDERS_RECURSIVE = 3; + */ + public static final int FOLDERS_RECURSIVE_VALUE = 3; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static URISourceType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static URISourceType forNumber(int value) { + switch (value) { + case 0: + return URI_SOURCE_TYPE_UNSPECIFIED; + case 1: + return FILES; + case 2: + return FOLDERS; + case 3: + return FOLDERS_RECURSIVE; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public URISourceType findValueByNumber(int number) { + return URISourceType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto.getDescriptor().getEnumTypes().get(0); + } + + private static final URISourceType[] VALUES = values(); + + public static URISourceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private URISourceType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.chronicle.v1.URISourceType) +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/UpdateFeedRequest.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/UpdateFeedRequest.java new file mode 100644 index 000000000000..85555dc7dbcf --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/UpdateFeedRequest.java @@ -0,0 +1,1038 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Request message for UpdateFeed.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.UpdateFeedRequest} + */ +@com.google.protobuf.Generated +public final class UpdateFeedRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.UpdateFeedRequest) + UpdateFeedRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "UpdateFeedRequest"); + } + + // Use UpdateFeedRequest.newBuilder() to construct. + private UpdateFeedRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private UpdateFeedRequest() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_UpdateFeedRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_UpdateFeedRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.UpdateFeedRequest.class, + com.google.cloud.chronicle.v1.UpdateFeedRequest.Builder.class); + } + + private int bitField0_; + public static final int FEED_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.Feed feed_; + + /** + * + * + *
+   * Required. Feed to update. Updates full feed object.
+   * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the feed field is set. + */ + @java.lang.Override + public boolean hasFeed() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Required. Feed to update. Updates full feed object.
+   * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The feed. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.Feed getFeed() { + return feed_ == null ? com.google.cloud.chronicle.v1.Feed.getDefaultInstance() : feed_; + } + + /** + * + * + *
+   * Required. Feed to update. Updates full feed object.
+   * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.FeedOrBuilder getFeedOrBuilder() { + return feed_ == null ? com.google.cloud.chronicle.v1.Feed.getDefaultInstance() : feed_; + } + + public static final int UPDATE_MASK_FIELD_NUMBER = 2; + private com.google.protobuf.FieldMask updateMask_; + + /** + * + * + *
+   * Optional. Specifies which fields to update. If empty, update the full feed.
+   * To update the display name, pass only `displayName` and no other
+   * fields. To update other fields, pass a comma-separated list of fields to
+   * update and omit `displayName`. The update fails if an existing
+   * `displayName` is sent in the update request.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the updateMask field is set. + */ + @java.lang.Override + public boolean hasUpdateMask() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+   * Optional. Specifies which fields to update. If empty, update the full feed.
+   * To update the display name, pass only `displayName` and no other
+   * fields. To update other fields, pass a comma-separated list of fields to
+   * update and omit `displayName`. The update fails if an existing
+   * `displayName` is sent in the update request.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The updateMask. + */ + @java.lang.Override + public com.google.protobuf.FieldMask getUpdateMask() { + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + } + + /** + * + * + *
+   * Optional. Specifies which fields to update. If empty, update the full feed.
+   * To update the display name, pass only `displayName` and no other
+   * fields. To update other fields, pass a comma-separated list of fields to
+   * update and omit `displayName`. The update fails if an existing
+   * `displayName` is sent in the update request.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getFeed()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getUpdateMask()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getFeed()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + } + 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.cloud.chronicle.v1.UpdateFeedRequest)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.UpdateFeedRequest other = + (com.google.cloud.chronicle.v1.UpdateFeedRequest) obj; + + if (hasFeed() != other.hasFeed()) return false; + if (hasFeed()) { + if (!getFeed().equals(other.getFeed())) return false; + } + if (hasUpdateMask() != other.hasUpdateMask()) return false; + if (hasUpdateMask()) { + if (!getUpdateMask().equals(other.getUpdateMask())) 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(); + if (hasFeed()) { + hash = (37 * hash) + FEED_FIELD_NUMBER; + hash = (53 * hash) + getFeed().hashCode(); + } + if (hasUpdateMask()) { + hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; + hash = (53 * hash) + getUpdateMask().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.UpdateFeedRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.UpdateFeedRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.UpdateFeedRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.UpdateFeedRequest 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.cloud.chronicle.v1.UpdateFeedRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.UpdateFeedRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.UpdateFeedRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.UpdateFeedRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.UpdateFeedRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.UpdateFeedRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.UpdateFeedRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.UpdateFeedRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.UpdateFeedRequest 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Request message for UpdateFeed.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.UpdateFeedRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.UpdateFeedRequest) + com.google.cloud.chronicle.v1.UpdateFeedRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_UpdateFeedRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_UpdateFeedRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.UpdateFeedRequest.class, + com.google.cloud.chronicle.v1.UpdateFeedRequest.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.UpdateFeedRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetFeedFieldBuilder(); + internalGetUpdateMaskFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + feed_ = null; + if (feedBuilder_ != null) { + feedBuilder_.dispose(); + feedBuilder_ = null; + } + updateMask_ = null; + if (updateMaskBuilder_ != null) { + updateMaskBuilder_.dispose(); + updateMaskBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_UpdateFeedRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.UpdateFeedRequest getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.UpdateFeedRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.UpdateFeedRequest build() { + com.google.cloud.chronicle.v1.UpdateFeedRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.UpdateFeedRequest buildPartial() { + com.google.cloud.chronicle.v1.UpdateFeedRequest result = + new com.google.cloud.chronicle.v1.UpdateFeedRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.UpdateFeedRequest result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.feed_ = feedBuilder_ == null ? feed_ : feedBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.UpdateFeedRequest) { + return mergeFrom((com.google.cloud.chronicle.v1.UpdateFeedRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.UpdateFeedRequest other) { + if (other == com.google.cloud.chronicle.v1.UpdateFeedRequest.getDefaultInstance()) + return this; + if (other.hasFeed()) { + mergeFeed(other.getFeed()); + } + if (other.hasUpdateMask()) { + mergeUpdateMask(other.getUpdateMask()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage(internalGetFeedFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + internalGetUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.Feed feed_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.Feed, + com.google.cloud.chronicle.v1.Feed.Builder, + com.google.cloud.chronicle.v1.FeedOrBuilder> + feedBuilder_; + + /** + * + * + *
+     * Required. Feed to update. Updates full feed object.
+     * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the feed field is set. + */ + public boolean hasFeed() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Required. Feed to update. Updates full feed object.
+     * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The feed. + */ + public com.google.cloud.chronicle.v1.Feed getFeed() { + if (feedBuilder_ == null) { + return feed_ == null ? com.google.cloud.chronicle.v1.Feed.getDefaultInstance() : feed_; + } else { + return feedBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Required. Feed to update. Updates full feed object.
+     * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFeed(com.google.cloud.chronicle.v1.Feed value) { + if (feedBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + feed_ = value; + } else { + feedBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Feed to update. Updates full feed object.
+     * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFeed(com.google.cloud.chronicle.v1.Feed.Builder builderForValue) { + if (feedBuilder_ == null) { + feed_ = builderForValue.build(); + } else { + feedBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Feed to update. Updates full feed object.
+     * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeFeed(com.google.cloud.chronicle.v1.Feed value) { + if (feedBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && feed_ != null + && feed_ != com.google.cloud.chronicle.v1.Feed.getDefaultInstance()) { + getFeedBuilder().mergeFrom(value); + } else { + feed_ = value; + } + } else { + feedBuilder_.mergeFrom(value); + } + if (feed_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Required. Feed to update. Updates full feed object.
+     * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearFeed() { + bitField0_ = (bitField0_ & ~0x00000001); + feed_ = null; + if (feedBuilder_ != null) { + feedBuilder_.dispose(); + feedBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Required. Feed to update. Updates full feed object.
+     * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.Feed.Builder getFeedBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetFeedFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Required. Feed to update. Updates full feed object.
+     * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.chronicle.v1.FeedOrBuilder getFeedOrBuilder() { + if (feedBuilder_ != null) { + return feedBuilder_.getMessageOrBuilder(); + } else { + return feed_ == null ? com.google.cloud.chronicle.v1.Feed.getDefaultInstance() : feed_; + } + } + + /** + * + * + *
+     * Required. Feed to update. Updates full feed object.
+     * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.Feed, + com.google.cloud.chronicle.v1.Feed.Builder, + com.google.cloud.chronicle.v1.FeedOrBuilder> + internalGetFeedFieldBuilder() { + if (feedBuilder_ == null) { + feedBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.Feed, + com.google.cloud.chronicle.v1.Feed.Builder, + com.google.cloud.chronicle.v1.FeedOrBuilder>( + getFeed(), getParentForChildren(), isClean()); + feed_ = null; + } + return feedBuilder_; + } + + private com.google.protobuf.FieldMask updateMask_; + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; + + /** + * + * + *
+     * Optional. Specifies which fields to update. If empty, update the full feed.
+     * To update the display name, pass only `displayName` and no other
+     * fields. To update other fields, pass a comma-separated list of fields to
+     * update and omit `displayName`. The update fails if an existing
+     * `displayName` is sent in the update request.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the updateMask field is set. + */ + public boolean hasUpdateMask() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+     * Optional. Specifies which fields to update. If empty, update the full feed.
+     * To update the display name, pass only `displayName` and no other
+     * fields. To update other fields, pass a comma-separated list of fields to
+     * update and omit `displayName`. The update fails if an existing
+     * `displayName` is sent in the update request.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The updateMask. + */ + public com.google.protobuf.FieldMask getUpdateMask() { + if (updateMaskBuilder_ == null) { + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; + } else { + return updateMaskBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Optional. Specifies which fields to update. If empty, update the full feed.
+     * To update the display name, pass only `displayName` and no other
+     * fields. To update other fields, pass a comma-separated list of fields to
+     * update and omit `displayName`. The update fails if an existing
+     * `displayName` is sent in the update request.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setUpdateMask(com.google.protobuf.FieldMask value) { + if (updateMaskBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateMask_ = value; + } else { + updateMaskBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Specifies which fields to update. If empty, update the full feed.
+     * To update the display name, pass only `displayName` and no other
+     * fields. To update other fields, pass a comma-separated list of fields to
+     * update and omit `displayName`. The update fails if an existing
+     * `displayName` is sent in the update request.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + if (updateMaskBuilder_ == null) { + updateMask_ = builderForValue.build(); + } else { + updateMaskBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Specifies which fields to update. If empty, update the full feed.
+     * To update the display name, pass only `displayName` and no other
+     * fields. To update other fields, pass a comma-separated list of fields to
+     * update and omit `displayName`. The update fails if an existing
+     * `displayName` is sent in the update request.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { + if (updateMaskBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + getUpdateMaskBuilder().mergeFrom(value); + } else { + updateMask_ = value; + } + } else { + updateMaskBuilder_.mergeFrom(value); + } + if (updateMask_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Optional. Specifies which fields to update. If empty, update the full feed.
+     * To update the display name, pass only `displayName` and no other
+     * fields. To update other fields, pass a comma-separated list of fields to
+     * update and omit `displayName`. The update fails if an existing
+     * `displayName` is sent in the update request.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearUpdateMask() { + bitField0_ = (bitField0_ & ~0x00000002); + updateMask_ = null; + if (updateMaskBuilder_ != null) { + updateMaskBuilder_.dispose(); + updateMaskBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Specifies which fields to update. If empty, update the full feed.
+     * To update the display name, pass only `displayName` and no other
+     * fields. To update other fields, pass a comma-separated list of fields to
+     * update and omit `displayName`. The update fails if an existing
+     * `displayName` is sent in the update request.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return internalGetUpdateMaskFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Optional. Specifies which fields to update. If empty, update the full feed.
+     * To update the display name, pass only `displayName` and no other
+     * fields. To update other fields, pass a comma-separated list of fields to
+     * update and omit `displayName`. The update fails if an existing
+     * `displayName` is sent in the update request.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { + if (updateMaskBuilder_ != null) { + return updateMaskBuilder_.getMessageOrBuilder(); + } else { + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; + } + } + + /** + * + * + *
+     * Optional. Specifies which fields to update. If empty, update the full feed.
+     * To update the display name, pass only `displayName` and no other
+     * fields. To update other fields, pass a comma-separated list of fields to
+     * update and omit `displayName`. The update fails if an existing
+     * `displayName` is sent in the update request.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + internalGetUpdateMaskFieldBuilder() { + if (updateMaskBuilder_ == null) { + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); + updateMask_ = null; + } + return updateMaskBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.UpdateFeedRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.UpdateFeedRequest) + private static final com.google.cloud.chronicle.v1.UpdateFeedRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.UpdateFeedRequest(); + } + + public static com.google.cloud.chronicle.v1.UpdateFeedRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.UpdateFeedRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/UpdateFeedRequestOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/UpdateFeedRequestOrBuilder.java new file mode 100644 index 000000000000..011a23fc3624 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/UpdateFeedRequestOrBuilder.java @@ -0,0 +1,120 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface UpdateFeedRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.UpdateFeedRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Feed to update. Updates full feed object.
+   * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the feed field is set. + */ + boolean hasFeed(); + + /** + * + * + *
+   * Required. Feed to update. Updates full feed object.
+   * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The feed. + */ + com.google.cloud.chronicle.v1.Feed getFeed(); + + /** + * + * + *
+   * Required. Feed to update. Updates full feed object.
+   * 
+ * + * .google.cloud.chronicle.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.chronicle.v1.FeedOrBuilder getFeedOrBuilder(); + + /** + * + * + *
+   * Optional. Specifies which fields to update. If empty, update the full feed.
+   * To update the display name, pass only `displayName` and no other
+   * fields. To update other fields, pass a comma-separated list of fields to
+   * update and omit `displayName`. The update fails if an existing
+   * `displayName` is sent in the update request.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the updateMask field is set. + */ + boolean hasUpdateMask(); + + /** + * + * + *
+   * Optional. Specifies which fields to update. If empty, update the full feed.
+   * To update the display name, pass only `displayName` and no other
+   * fields. To update other fields, pass a comma-separated list of fields to
+   * update and omit `displayName`. The update fails if an existing
+   * `displayName` is sent in the update request.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The updateMask. + */ + com.google.protobuf.FieldMask getUpdateMask(); + + /** + * + * + *
+   * Optional. Specifies which fields to update. If empty, update the full feed.
+   * To update the display name, pass only `displayName` and no other
+   * fields. To update other fields, pass a comma-separated list of fields to
+   * update and omit `displayName`. The update fails if an existing
+   * `displayName` is sent in the update request.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/UsernameSecretAuth.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/UsernameSecretAuth.java new file mode 100644 index 000000000000..c5c261bf01c0 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/UsernameSecretAuth.java @@ -0,0 +1,785 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Info for username and secret based authentication.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.UsernameSecretAuth} + */ +@com.google.protobuf.Generated +public final class UsernameSecretAuth extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.UsernameSecretAuth) + UsernameSecretAuthOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "UsernameSecretAuth"); + } + + // Use UsernameSecretAuth.newBuilder() to construct. + private UsernameSecretAuth(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private UsernameSecretAuth() { + user_ = ""; + secret_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_UsernameSecretAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_UsernameSecretAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.UsernameSecretAuth.class, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder.class); + } + + public static final int USER_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object user_ = ""; + + /** + * + * + *
+   * Username of an identity used for authentication.
+   * 
+ * + * string user = 1; + * + * @return The user. + */ + @java.lang.Override + public java.lang.String getUser() { + java.lang.Object ref = user_; + 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(); + user_ = s; + return s; + } + } + + /** + * + * + *
+   * Username of an identity used for authentication.
+   * 
+ * + * string user = 1; + * + * @return The bytes for user. + */ + @java.lang.Override + public com.google.protobuf.ByteString getUserBytes() { + java.lang.Object ref = user_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + user_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SECRET_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object secret_ = ""; + + /** + * + * + *
+   * Secret of the account identified by user_name.
+   * 
+ * + * string secret = 2; + * + * @return The secret. + */ + @java.lang.Override + public java.lang.String getSecret() { + java.lang.Object ref = secret_; + 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(); + secret_ = s; + return s; + } + } + + /** + * + * + *
+   * Secret of the account identified by user_name.
+   * 
+ * + * string secret = 2; + * + * @return The bytes for secret. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSecretBytes() { + java.lang.Object ref = secret_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + secret_ = 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.GeneratedMessage.isStringEmpty(user_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, user_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(secret_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, secret_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(user_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, user_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(secret_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, secret_); + } + 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.cloud.chronicle.v1.UsernameSecretAuth)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.UsernameSecretAuth other = + (com.google.cloud.chronicle.v1.UsernameSecretAuth) obj; + + if (!getUser().equals(other.getUser())) return false; + if (!getSecret().equals(other.getSecret())) 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) + USER_FIELD_NUMBER; + hash = (53 * hash) + getUser().hashCode(); + hash = (37 * hash) + SECRET_FIELD_NUMBER; + hash = (53 * hash) + getSecret().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.UsernameSecretAuth parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.UsernameSecretAuth parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.UsernameSecretAuth parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.UsernameSecretAuth 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.cloud.chronicle.v1.UsernameSecretAuth parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.UsernameSecretAuth parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.UsernameSecretAuth parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.UsernameSecretAuth parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.UsernameSecretAuth parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.UsernameSecretAuth parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.UsernameSecretAuth parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.UsernameSecretAuth parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.UsernameSecretAuth 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Info for username and secret based authentication.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.UsernameSecretAuth} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.UsernameSecretAuth) + com.google.cloud.chronicle.v1.UsernameSecretAuthOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_UsernameSecretAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_UsernameSecretAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.UsernameSecretAuth.class, + com.google.cloud.chronicle.v1.UsernameSecretAuth.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.UsernameSecretAuth.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + user_ = ""; + secret_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_UsernameSecretAuth_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuth getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuth build() { + com.google.cloud.chronicle.v1.UsernameSecretAuth result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuth buildPartial() { + com.google.cloud.chronicle.v1.UsernameSecretAuth result = + new com.google.cloud.chronicle.v1.UsernameSecretAuth(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.UsernameSecretAuth result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.user_ = user_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.secret_ = secret_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.UsernameSecretAuth) { + return mergeFrom((com.google.cloud.chronicle.v1.UsernameSecretAuth) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.UsernameSecretAuth other) { + if (other == com.google.cloud.chronicle.v1.UsernameSecretAuth.getDefaultInstance()) + return this; + if (!other.getUser().isEmpty()) { + user_ = other.user_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSecret().isEmpty()) { + secret_ = other.secret_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + user_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + secret_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object user_ = ""; + + /** + * + * + *
+     * Username of an identity used for authentication.
+     * 
+ * + * string user = 1; + * + * @return The user. + */ + public java.lang.String getUser() { + java.lang.Object ref = user_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + user_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Username of an identity used for authentication.
+     * 
+ * + * string user = 1; + * + * @return The bytes for user. + */ + public com.google.protobuf.ByteString getUserBytes() { + java.lang.Object ref = user_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + user_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Username of an identity used for authentication.
+     * 
+ * + * string user = 1; + * + * @param value The user to set. + * @return This builder for chaining. + */ + public Builder setUser(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + user_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Username of an identity used for authentication.
+     * 
+ * + * string user = 1; + * + * @return This builder for chaining. + */ + public Builder clearUser() { + user_ = getDefaultInstance().getUser(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Username of an identity used for authentication.
+     * 
+ * + * string user = 1; + * + * @param value The bytes for user to set. + * @return This builder for chaining. + */ + public Builder setUserBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + user_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object secret_ = ""; + + /** + * + * + *
+     * Secret of the account identified by user_name.
+     * 
+ * + * string secret = 2; + * + * @return The secret. + */ + public java.lang.String getSecret() { + java.lang.Object ref = secret_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + secret_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Secret of the account identified by user_name.
+     * 
+ * + * string secret = 2; + * + * @return The bytes for secret. + */ + public com.google.protobuf.ByteString getSecretBytes() { + java.lang.Object ref = secret_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + secret_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Secret of the account identified by user_name.
+     * 
+ * + * string secret = 2; + * + * @param value The secret to set. + * @return This builder for chaining. + */ + public Builder setSecret(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + secret_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Secret of the account identified by user_name.
+     * 
+ * + * string secret = 2; + * + * @return This builder for chaining. + */ + public Builder clearSecret() { + secret_ = getDefaultInstance().getSecret(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Secret of the account identified by user_name.
+     * 
+ * + * string secret = 2; + * + * @param value The bytes for secret to set. + * @return This builder for chaining. + */ + public Builder setSecretBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + secret_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.UsernameSecretAuth) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.UsernameSecretAuth) + private static final com.google.cloud.chronicle.v1.UsernameSecretAuth DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.UsernameSecretAuth(); + } + + public static com.google.cloud.chronicle.v1.UsernameSecretAuth getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UsernameSecretAuth parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.UsernameSecretAuth getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/UsernameSecretAuthOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/UsernameSecretAuthOrBuilder.java new file mode 100644 index 000000000000..93fbf2bc6ae9 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/UsernameSecretAuthOrBuilder.java @@ -0,0 +1,80 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface UsernameSecretAuthOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.UsernameSecretAuth) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Username of an identity used for authentication.
+   * 
+ * + * string user = 1; + * + * @return The user. + */ + java.lang.String getUser(); + + /** + * + * + *
+   * Username of an identity used for authentication.
+   * 
+ * + * string user = 1; + * + * @return The bytes for user. + */ + com.google.protobuf.ByteString getUserBytes(); + + /** + * + * + *
+   * Secret of the account identified by user_name.
+   * 
+ * + * string secret = 2; + * + * @return The secret. + */ + java.lang.String getSecret(); + + /** + * + * + *
+   * Secret of the account identified by user_name.
+   * 
+ * + * string secret = 2; + * + * @return The bytes for secret. + */ + com.google.protobuf.ByteString getSecretBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WebhookSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WebhookSettings.java new file mode 100644 index 000000000000..88707e35af97 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WebhookSettings.java @@ -0,0 +1,395 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Settings required by Webhook Feeds(HTTP-Push).
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.WebhookSettings} + */ +@com.google.protobuf.Generated +public final class WebhookSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.WebhookSettings) + WebhookSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "WebhookSettings"); + } + + // Use WebhookSettings.newBuilder() to construct. + private WebhookSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private WebhookSettings() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WebhookSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WebhookSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.WebhookSettings.class, + com.google.cloud.chronicle.v1.WebhookSettings.Builder.class); + } + + 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 { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + 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.cloud.chronicle.v1.WebhookSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.WebhookSettings other = + (com.google.cloud.chronicle.v1.WebhookSettings) obj; + + 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 = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.WebhookSettings parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WebhookSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WebhookSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WebhookSettings 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.cloud.chronicle.v1.WebhookSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WebhookSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WebhookSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WebhookSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WebhookSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WebhookSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WebhookSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WebhookSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.WebhookSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Settings required by Webhook Feeds(HTTP-Push).
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.WebhookSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.WebhookSettings) + com.google.cloud.chronicle.v1.WebhookSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WebhookSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WebhookSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.WebhookSettings.class, + com.google.cloud.chronicle.v1.WebhookSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.WebhookSettings.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WebhookSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WebhookSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.WebhookSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WebhookSettings build() { + com.google.cloud.chronicle.v1.WebhookSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WebhookSettings buildPartial() { + com.google.cloud.chronicle.v1.WebhookSettings result = + new com.google.cloud.chronicle.v1.WebhookSettings(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.WebhookSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.WebhookSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.WebhookSettings other) { + if (other == com.google.cloud.chronicle.v1.WebhookSettings.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.WebhookSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.WebhookSettings) + private static final com.google.cloud.chronicle.v1.WebhookSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.WebhookSettings(); + } + + public static com.google.cloud.chronicle.v1.WebhookSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WebhookSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WebhookSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WebhookSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WebhookSettingsOrBuilder.java new file mode 100644 index 000000000000..7f8162701c84 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WebhookSettingsOrBuilder.java @@ -0,0 +1,27 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface WebhookSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.WebhookSettings) + com.google.protobuf.MessageOrBuilder {} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkdayAuth.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkdayAuth.java new file mode 100644 index 000000000000..ac52f1a9dadb --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkdayAuth.java @@ -0,0 +1,1582 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Authentication for Workday.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.WorkdayAuth} + */ +@com.google.protobuf.Generated +public final class WorkdayAuth extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.WorkdayAuth) + WorkdayAuthOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "WorkdayAuth"); + } + + // Use WorkdayAuth.newBuilder() to construct. + private WorkdayAuth(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private WorkdayAuth() { + user_ = ""; + secret_ = ""; + tokenEndpoint_ = ""; + clientId_ = ""; + clientSecret_ = ""; + refreshToken_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkdayAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkdayAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.WorkdayAuth.class, + com.google.cloud.chronicle.v1.WorkdayAuth.Builder.class); + } + + public static final int USER_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object user_ = ""; + + /** + * + * + *
+   * Username. This is unused: Workday feeds were originally configured using a
+   * username and secret authentication method, but only the secret field was
+   * used, and it was used to supply the OAuth access token.
+   * 
+ * + * string user = 1; + * + * @return The user. + */ + @java.lang.Override + public java.lang.String getUser() { + java.lang.Object ref = user_; + 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(); + user_ = s; + return s; + } + } + + /** + * + * + *
+   * Username. This is unused: Workday feeds were originally configured using a
+   * username and secret authentication method, but only the secret field was
+   * used, and it was used to supply the OAuth access token.
+   * 
+ * + * string user = 1; + * + * @return The bytes for user. + */ + @java.lang.Override + public com.google.protobuf.ByteString getUserBytes() { + java.lang.Object ref = user_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + user_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SECRET_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object secret_ = ""; + + /** + * + * + *
+   * The access token used to authenticate against Workday. This field is called
+   * "secret" to maintain backwards compatibility. Workday was (only) configured
+   * using username (which was unused) and secret (which is used as the access
+   * token). Either this field or all of the other OAuth fields below must be
+   * specified.
+   * 
+ * + * string secret = 2; + * + * @return The secret. + */ + @java.lang.Override + public java.lang.String getSecret() { + java.lang.Object ref = secret_; + 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(); + secret_ = s; + return s; + } + } + + /** + * + * + *
+   * The access token used to authenticate against Workday. This field is called
+   * "secret" to maintain backwards compatibility. Workday was (only) configured
+   * using username (which was unused) and secret (which is used as the access
+   * token). Either this field or all of the other OAuth fields below must be
+   * specified.
+   * 
+ * + * string secret = 2; + * + * @return The bytes for secret. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSecretBytes() { + java.lang.Object ref = secret_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + secret_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TOKEN_ENDPOINT_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object tokenEndpoint_ = ""; + + /** + * + * + *
+   * Token endpoint to get the OAuth token from.
+   * 
+ * + * string token_endpoint = 3; + * + * @return The tokenEndpoint. + */ + @java.lang.Override + public java.lang.String getTokenEndpoint() { + java.lang.Object ref = tokenEndpoint_; + 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(); + tokenEndpoint_ = s; + return s; + } + } + + /** + * + * + *
+   * Token endpoint to get the OAuth token from.
+   * 
+ * + * string token_endpoint = 3; + * + * @return The bytes for tokenEndpoint. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTokenEndpointBytes() { + java.lang.Object ref = tokenEndpoint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tokenEndpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLIENT_ID_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object clientId_ = ""; + + /** + * + * + *
+   * Client ID.
+   * 
+ * + * string client_id = 4; + * + * @return The clientId. + */ + @java.lang.Override + public java.lang.String getClientId() { + java.lang.Object ref = clientId_; + 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(); + clientId_ = s; + return s; + } + } + + /** + * + * + *
+   * Client ID.
+   * 
+ * + * string client_id = 4; + * + * @return The bytes for clientId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getClientIdBytes() { + java.lang.Object ref = clientId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLIENT_SECRET_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private volatile java.lang.Object clientSecret_ = ""; + + /** + * + * + *
+   * Client Secret.
+   * 
+ * + * string client_secret = 5; + * + * @return The clientSecret. + */ + @java.lang.Override + public java.lang.String getClientSecret() { + java.lang.Object ref = clientSecret_; + 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(); + clientSecret_ = s; + return s; + } + } + + /** + * + * + *
+   * Client Secret.
+   * 
+ * + * string client_secret = 5; + * + * @return The bytes for clientSecret. + */ + @java.lang.Override + public com.google.protobuf.ByteString getClientSecretBytes() { + java.lang.Object ref = clientSecret_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientSecret_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REFRESH_TOKEN_FIELD_NUMBER = 6; + + @SuppressWarnings("serial") + private volatile java.lang.Object refreshToken_ = ""; + + /** + * + * + *
+   * Refresh Token.
+   * 
+ * + * string refresh_token = 6; + * + * @return The refreshToken. + */ + @java.lang.Override + public java.lang.String getRefreshToken() { + java.lang.Object ref = refreshToken_; + 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(); + refreshToken_ = s; + return s; + } + } + + /** + * + * + *
+   * Refresh Token.
+   * 
+ * + * string refresh_token = 6; + * + * @return The bytes for refreshToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRefreshTokenBytes() { + java.lang.Object ref = refreshToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + refreshToken_ = 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.GeneratedMessage.isStringEmpty(user_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, user_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(secret_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, secret_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tokenEndpoint_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, tokenEndpoint_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, clientId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientSecret_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, clientSecret_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(refreshToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 6, refreshToken_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(user_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, user_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(secret_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, secret_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tokenEndpoint_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, tokenEndpoint_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, clientId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(clientSecret_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, clientSecret_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(refreshToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(6, refreshToken_); + } + 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.cloud.chronicle.v1.WorkdayAuth)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.WorkdayAuth other = + (com.google.cloud.chronicle.v1.WorkdayAuth) obj; + + if (!getUser().equals(other.getUser())) return false; + if (!getSecret().equals(other.getSecret())) return false; + if (!getTokenEndpoint().equals(other.getTokenEndpoint())) return false; + if (!getClientId().equals(other.getClientId())) return false; + if (!getClientSecret().equals(other.getClientSecret())) return false; + if (!getRefreshToken().equals(other.getRefreshToken())) 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) + USER_FIELD_NUMBER; + hash = (53 * hash) + getUser().hashCode(); + hash = (37 * hash) + SECRET_FIELD_NUMBER; + hash = (53 * hash) + getSecret().hashCode(); + hash = (37 * hash) + TOKEN_ENDPOINT_FIELD_NUMBER; + hash = (53 * hash) + getTokenEndpoint().hashCode(); + hash = (37 * hash) + CLIENT_ID_FIELD_NUMBER; + hash = (53 * hash) + getClientId().hashCode(); + hash = (37 * hash) + CLIENT_SECRET_FIELD_NUMBER; + hash = (53 * hash) + getClientSecret().hashCode(); + hash = (37 * hash) + REFRESH_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getRefreshToken().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.WorkdayAuth parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WorkdayAuth parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkdayAuth parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WorkdayAuth 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.cloud.chronicle.v1.WorkdayAuth parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WorkdayAuth parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkdayAuth parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WorkdayAuth parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkdayAuth parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WorkdayAuth parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkdayAuth parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WorkdayAuth parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.WorkdayAuth 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Authentication for Workday.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.WorkdayAuth} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.WorkdayAuth) + com.google.cloud.chronicle.v1.WorkdayAuthOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkdayAuth_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkdayAuth_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.WorkdayAuth.class, + com.google.cloud.chronicle.v1.WorkdayAuth.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.WorkdayAuth.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + user_ = ""; + secret_ = ""; + tokenEndpoint_ = ""; + clientId_ = ""; + clientSecret_ = ""; + refreshToken_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkdayAuth_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkdayAuth getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.WorkdayAuth.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkdayAuth build() { + com.google.cloud.chronicle.v1.WorkdayAuth result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkdayAuth buildPartial() { + com.google.cloud.chronicle.v1.WorkdayAuth result = + new com.google.cloud.chronicle.v1.WorkdayAuth(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.WorkdayAuth result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.user_ = user_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.secret_ = secret_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.tokenEndpoint_ = tokenEndpoint_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.clientId_ = clientId_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.clientSecret_ = clientSecret_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.refreshToken_ = refreshToken_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.WorkdayAuth) { + return mergeFrom((com.google.cloud.chronicle.v1.WorkdayAuth) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.WorkdayAuth other) { + if (other == com.google.cloud.chronicle.v1.WorkdayAuth.getDefaultInstance()) return this; + if (!other.getUser().isEmpty()) { + user_ = other.user_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSecret().isEmpty()) { + secret_ = other.secret_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getTokenEndpoint().isEmpty()) { + tokenEndpoint_ = other.tokenEndpoint_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getClientId().isEmpty()) { + clientId_ = other.clientId_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getClientSecret().isEmpty()) { + clientSecret_ = other.clientSecret_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getRefreshToken().isEmpty()) { + refreshToken_ = other.refreshToken_; + bitField0_ |= 0x00000020; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + user_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + secret_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + tokenEndpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + clientId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + clientSecret_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + refreshToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object user_ = ""; + + /** + * + * + *
+     * Username. This is unused: Workday feeds were originally configured using a
+     * username and secret authentication method, but only the secret field was
+     * used, and it was used to supply the OAuth access token.
+     * 
+ * + * string user = 1; + * + * @return The user. + */ + public java.lang.String getUser() { + java.lang.Object ref = user_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + user_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Username. This is unused: Workday feeds were originally configured using a
+     * username and secret authentication method, but only the secret field was
+     * used, and it was used to supply the OAuth access token.
+     * 
+ * + * string user = 1; + * + * @return The bytes for user. + */ + public com.google.protobuf.ByteString getUserBytes() { + java.lang.Object ref = user_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + user_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Username. This is unused: Workday feeds were originally configured using a
+     * username and secret authentication method, but only the secret field was
+     * used, and it was used to supply the OAuth access token.
+     * 
+ * + * string user = 1; + * + * @param value The user to set. + * @return This builder for chaining. + */ + public Builder setUser(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + user_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Username. This is unused: Workday feeds were originally configured using a
+     * username and secret authentication method, but only the secret field was
+     * used, and it was used to supply the OAuth access token.
+     * 
+ * + * string user = 1; + * + * @return This builder for chaining. + */ + public Builder clearUser() { + user_ = getDefaultInstance().getUser(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Username. This is unused: Workday feeds were originally configured using a
+     * username and secret authentication method, but only the secret field was
+     * used, and it was used to supply the OAuth access token.
+     * 
+ * + * string user = 1; + * + * @param value The bytes for user to set. + * @return This builder for chaining. + */ + public Builder setUserBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + user_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object secret_ = ""; + + /** + * + * + *
+     * The access token used to authenticate against Workday. This field is called
+     * "secret" to maintain backwards compatibility. Workday was (only) configured
+     * using username (which was unused) and secret (which is used as the access
+     * token). Either this field or all of the other OAuth fields below must be
+     * specified.
+     * 
+ * + * string secret = 2; + * + * @return The secret. + */ + public java.lang.String getSecret() { + java.lang.Object ref = secret_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + secret_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * The access token used to authenticate against Workday. This field is called
+     * "secret" to maintain backwards compatibility. Workday was (only) configured
+     * using username (which was unused) and secret (which is used as the access
+     * token). Either this field or all of the other OAuth fields below must be
+     * specified.
+     * 
+ * + * string secret = 2; + * + * @return The bytes for secret. + */ + public com.google.protobuf.ByteString getSecretBytes() { + java.lang.Object ref = secret_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + secret_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * The access token used to authenticate against Workday. This field is called
+     * "secret" to maintain backwards compatibility. Workday was (only) configured
+     * using username (which was unused) and secret (which is used as the access
+     * token). Either this field or all of the other OAuth fields below must be
+     * specified.
+     * 
+ * + * string secret = 2; + * + * @param value The secret to set. + * @return This builder for chaining. + */ + public Builder setSecret(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + secret_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * The access token used to authenticate against Workday. This field is called
+     * "secret" to maintain backwards compatibility. Workday was (only) configured
+     * using username (which was unused) and secret (which is used as the access
+     * token). Either this field or all of the other OAuth fields below must be
+     * specified.
+     * 
+ * + * string secret = 2; + * + * @return This builder for chaining. + */ + public Builder clearSecret() { + secret_ = getDefaultInstance().getSecret(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * The access token used to authenticate against Workday. This field is called
+     * "secret" to maintain backwards compatibility. Workday was (only) configured
+     * using username (which was unused) and secret (which is used as the access
+     * token). Either this field or all of the other OAuth fields below must be
+     * specified.
+     * 
+ * + * string secret = 2; + * + * @param value The bytes for secret to set. + * @return This builder for chaining. + */ + public Builder setSecretBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + secret_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object tokenEndpoint_ = ""; + + /** + * + * + *
+     * Token endpoint to get the OAuth token from.
+     * 
+ * + * string token_endpoint = 3; + * + * @return The tokenEndpoint. + */ + public java.lang.String getTokenEndpoint() { + java.lang.Object ref = tokenEndpoint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tokenEndpoint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Token endpoint to get the OAuth token from.
+     * 
+ * + * string token_endpoint = 3; + * + * @return The bytes for tokenEndpoint. + */ + public com.google.protobuf.ByteString getTokenEndpointBytes() { + java.lang.Object ref = tokenEndpoint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tokenEndpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Token endpoint to get the OAuth token from.
+     * 
+ * + * string token_endpoint = 3; + * + * @param value The tokenEndpoint to set. + * @return This builder for chaining. + */ + public Builder setTokenEndpoint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + tokenEndpoint_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Token endpoint to get the OAuth token from.
+     * 
+ * + * string token_endpoint = 3; + * + * @return This builder for chaining. + */ + public Builder clearTokenEndpoint() { + tokenEndpoint_ = getDefaultInstance().getTokenEndpoint(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Token endpoint to get the OAuth token from.
+     * 
+ * + * string token_endpoint = 3; + * + * @param value The bytes for tokenEndpoint to set. + * @return This builder for chaining. + */ + public Builder setTokenEndpointBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tokenEndpoint_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object clientId_ = ""; + + /** + * + * + *
+     * Client ID.
+     * 
+ * + * string client_id = 4; + * + * @return The clientId. + */ + public java.lang.String getClientId() { + java.lang.Object ref = clientId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Client ID.
+     * 
+ * + * string client_id = 4; + * + * @return The bytes for clientId. + */ + public com.google.protobuf.ByteString getClientIdBytes() { + java.lang.Object ref = clientId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Client ID.
+     * 
+ * + * string client_id = 4; + * + * @param value The clientId to set. + * @return This builder for chaining. + */ + public Builder setClientId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + clientId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Client ID.
+     * 
+ * + * string client_id = 4; + * + * @return This builder for chaining. + */ + public Builder clearClientId() { + clientId_ = getDefaultInstance().getClientId(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+     * Client ID.
+     * 
+ * + * string client_id = 4; + * + * @param value The bytes for clientId to set. + * @return This builder for chaining. + */ + public Builder setClientIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object clientSecret_ = ""; + + /** + * + * + *
+     * Client Secret.
+     * 
+ * + * string client_secret = 5; + * + * @return The clientSecret. + */ + public java.lang.String getClientSecret() { + java.lang.Object ref = clientSecret_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientSecret_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Client Secret.
+     * 
+ * + * string client_secret = 5; + * + * @return The bytes for clientSecret. + */ + public com.google.protobuf.ByteString getClientSecretBytes() { + java.lang.Object ref = clientSecret_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientSecret_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Client Secret.
+     * 
+ * + * string client_secret = 5; + * + * @param value The clientSecret to set. + * @return This builder for chaining. + */ + public Builder setClientSecret(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + clientSecret_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Client Secret.
+     * 
+ * + * string client_secret = 5; + * + * @return This builder for chaining. + */ + public Builder clearClientSecret() { + clientSecret_ = getDefaultInstance().getClientSecret(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + + /** + * + * + *
+     * Client Secret.
+     * 
+ * + * string client_secret = 5; + * + * @param value The bytes for clientSecret to set. + * @return This builder for chaining. + */ + public Builder setClientSecretBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientSecret_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object refreshToken_ = ""; + + /** + * + * + *
+     * Refresh Token.
+     * 
+ * + * string refresh_token = 6; + * + * @return The refreshToken. + */ + public java.lang.String getRefreshToken() { + java.lang.Object ref = refreshToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + refreshToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Refresh Token.
+     * 
+ * + * string refresh_token = 6; + * + * @return The bytes for refreshToken. + */ + public com.google.protobuf.ByteString getRefreshTokenBytes() { + java.lang.Object ref = refreshToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + refreshToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Refresh Token.
+     * 
+ * + * string refresh_token = 6; + * + * @param value The refreshToken to set. + * @return This builder for chaining. + */ + public Builder setRefreshToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + refreshToken_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
+     * Refresh Token.
+     * 
+ * + * string refresh_token = 6; + * + * @return This builder for chaining. + */ + public Builder clearRefreshToken() { + refreshToken_ = getDefaultInstance().getRefreshToken(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + + /** + * + * + *
+     * Refresh Token.
+     * 
+ * + * string refresh_token = 6; + * + * @param value The bytes for refreshToken to set. + * @return This builder for chaining. + */ + public Builder setRefreshTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + refreshToken_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.WorkdayAuth) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.WorkdayAuth) + private static final com.google.cloud.chronicle.v1.WorkdayAuth DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.WorkdayAuth(); + } + + public static com.google.cloud.chronicle.v1.WorkdayAuth getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkdayAuth parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkdayAuth getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkdayAuthOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkdayAuthOrBuilder.java new file mode 100644 index 000000000000..cd3b6aa709d6 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkdayAuthOrBuilder.java @@ -0,0 +1,196 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface WorkdayAuthOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.WorkdayAuth) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Username. This is unused: Workday feeds were originally configured using a
+   * username and secret authentication method, but only the secret field was
+   * used, and it was used to supply the OAuth access token.
+   * 
+ * + * string user = 1; + * + * @return The user. + */ + java.lang.String getUser(); + + /** + * + * + *
+   * Username. This is unused: Workday feeds were originally configured using a
+   * username and secret authentication method, but only the secret field was
+   * used, and it was used to supply the OAuth access token.
+   * 
+ * + * string user = 1; + * + * @return The bytes for user. + */ + com.google.protobuf.ByteString getUserBytes(); + + /** + * + * + *
+   * The access token used to authenticate against Workday. This field is called
+   * "secret" to maintain backwards compatibility. Workday was (only) configured
+   * using username (which was unused) and secret (which is used as the access
+   * token). Either this field or all of the other OAuth fields below must be
+   * specified.
+   * 
+ * + * string secret = 2; + * + * @return The secret. + */ + java.lang.String getSecret(); + + /** + * + * + *
+   * The access token used to authenticate against Workday. This field is called
+   * "secret" to maintain backwards compatibility. Workday was (only) configured
+   * using username (which was unused) and secret (which is used as the access
+   * token). Either this field or all of the other OAuth fields below must be
+   * specified.
+   * 
+ * + * string secret = 2; + * + * @return The bytes for secret. + */ + com.google.protobuf.ByteString getSecretBytes(); + + /** + * + * + *
+   * Token endpoint to get the OAuth token from.
+   * 
+ * + * string token_endpoint = 3; + * + * @return The tokenEndpoint. + */ + java.lang.String getTokenEndpoint(); + + /** + * + * + *
+   * Token endpoint to get the OAuth token from.
+   * 
+ * + * string token_endpoint = 3; + * + * @return The bytes for tokenEndpoint. + */ + com.google.protobuf.ByteString getTokenEndpointBytes(); + + /** + * + * + *
+   * Client ID.
+   * 
+ * + * string client_id = 4; + * + * @return The clientId. + */ + java.lang.String getClientId(); + + /** + * + * + *
+   * Client ID.
+   * 
+ * + * string client_id = 4; + * + * @return The bytes for clientId. + */ + com.google.protobuf.ByteString getClientIdBytes(); + + /** + * + * + *
+   * Client Secret.
+   * 
+ * + * string client_secret = 5; + * + * @return The clientSecret. + */ + java.lang.String getClientSecret(); + + /** + * + * + *
+   * Client Secret.
+   * 
+ * + * string client_secret = 5; + * + * @return The bytes for clientSecret. + */ + com.google.protobuf.ByteString getClientSecretBytes(); + + /** + * + * + *
+   * Refresh Token.
+   * 
+ * + * string refresh_token = 6; + * + * @return The refreshToken. + */ + java.lang.String getRefreshToken(); + + /** + * + * + *
+   * Refresh Token.
+   * 
+ * + * string refresh_token = 6; + * + * @return The bytes for refreshToken. + */ + com.google.protobuf.ByteString getRefreshTokenBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkdaySettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkdaySettings.java new file mode 100644 index 000000000000..7d4a25e1bb61 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkdaySettings.java @@ -0,0 +1,1102 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Workday settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.WorkdaySettings} + */ +@com.google.protobuf.Generated +public final class WorkdaySettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.WorkdaySettings) + WorkdaySettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "WorkdaySettings"); + } + + // Use WorkdaySettings.newBuilder() to construct. + private WorkdaySettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private WorkdaySettings() { + hostname_ = ""; + tenantId_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkdaySettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkdaySettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.WorkdaySettings.class, + com.google.cloud.chronicle.v1.WorkdaySettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.WorkdayAuth authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.WorkdayAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.WorkdayAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkdayAuth getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.WorkdayAuth.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.WorkdayAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkdayAuthOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.WorkdayAuth.getDefaultInstance() + : authentication_; + } + + public static final int HOSTNAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object hostname_ = ""; + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + @java.lang.Override + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TENANT_ID_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object tenantId_ = ""; + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 3; + * + * @return The tenantId. + */ + @java.lang.Override + public java.lang.String getTenantId() { + java.lang.Object ref = tenantId_; + 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(); + tenantId_ = s; + return s; + } + } + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 3; + * + * @return The bytes for tenantId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTenantIdBytes() { + java.lang.Object ref = tenantId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tenantId_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenantId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, tenantId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, hostname_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenantId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, tenantId_); + } + 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.cloud.chronicle.v1.WorkdaySettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.WorkdaySettings other = + (com.google.cloud.chronicle.v1.WorkdaySettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getHostname().equals(other.getHostname())) return false; + if (!getTenantId().equals(other.getTenantId())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); + hash = (37 * hash) + TENANT_ID_FIELD_NUMBER; + hash = (53 * hash) + getTenantId().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.WorkdaySettings parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WorkdaySettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkdaySettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WorkdaySettings 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.cloud.chronicle.v1.WorkdaySettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WorkdaySettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkdaySettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WorkdaySettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkdaySettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WorkdaySettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkdaySettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WorkdaySettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.WorkdaySettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Workday settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.WorkdaySettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.WorkdaySettings) + com.google.cloud.chronicle.v1.WorkdaySettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkdaySettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkdaySettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.WorkdaySettings.class, + com.google.cloud.chronicle.v1.WorkdaySettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.WorkdaySettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + hostname_ = ""; + tenantId_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkdaySettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkdaySettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.WorkdaySettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkdaySettings build() { + com.google.cloud.chronicle.v1.WorkdaySettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkdaySettings buildPartial() { + com.google.cloud.chronicle.v1.WorkdaySettings result = + new com.google.cloud.chronicle.v1.WorkdaySettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.WorkdaySettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.hostname_ = hostname_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.tenantId_ = tenantId_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.WorkdaySettings) { + return mergeFrom((com.google.cloud.chronicle.v1.WorkdaySettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.WorkdaySettings other) { + if (other == com.google.cloud.chronicle.v1.WorkdaySettings.getDefaultInstance()) return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getHostname().isEmpty()) { + hostname_ = other.hostname_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getTenantId().isEmpty()) { + tenantId_ = other.tenantId_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + hostname_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + tenantId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.WorkdayAuth authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WorkdayAuth, + com.google.cloud.chronicle.v1.WorkdayAuth.Builder, + com.google.cloud.chronicle.v1.WorkdayAuthOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.WorkdayAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.WorkdayAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.WorkdayAuth getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.WorkdayAuth.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.WorkdayAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.WorkdayAuth value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.WorkdayAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.WorkdayAuth.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.WorkdayAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.WorkdayAuth value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ != com.google.cloud.chronicle.v1.WorkdayAuth.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.WorkdayAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.WorkdayAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.WorkdayAuth.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.WorkdayAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.WorkdayAuthOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.WorkdayAuth.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.WorkdayAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WorkdayAuth, + com.google.cloud.chronicle.v1.WorkdayAuth.Builder, + com.google.cloud.chronicle.v1.WorkdayAuthOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.WorkdayAuth, + com.google.cloud.chronicle.v1.WorkdayAuth.Builder, + com.google.cloud.chronicle.v1.WorkdayAuthOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object hostname_ = ""; + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @return This builder for chaining. + */ + public Builder clearHostname() { + hostname_ = getDefaultInstance().getHostname(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * API Hostname.
+     * 
+ * + * string hostname = 2; + * + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object tenantId_ = ""; + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 3; + * + * @return The tenantId. + */ + public java.lang.String getTenantId() { + java.lang.Object ref = tenantId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tenantId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 3; + * + * @return The bytes for tenantId. + */ + public com.google.protobuf.ByteString getTenantIdBytes() { + java.lang.Object ref = tenantId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tenantId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 3; + * + * @param value The tenantId to set. + * @return This builder for chaining. + */ + public Builder setTenantId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + tenantId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 3; + * + * @return This builder for chaining. + */ + public Builder clearTenantId() { + tenantId_ = getDefaultInstance().getTenantId(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Tenant ID.
+     * 
+ * + * string tenant_id = 3; + * + * @param value The bytes for tenantId to set. + * @return This builder for chaining. + */ + public Builder setTenantIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tenantId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.WorkdaySettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.WorkdaySettings) + private static final com.google.cloud.chronicle.v1.WorkdaySettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.WorkdaySettings(); + } + + public static com.google.cloud.chronicle.v1.WorkdaySettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkdaySettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkdaySettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkdaySettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkdaySettingsOrBuilder.java new file mode 100644 index 000000000000..d30da301d118 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkdaySettingsOrBuilder.java @@ -0,0 +1,123 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface WorkdaySettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.WorkdaySettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.WorkdayAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.WorkdayAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.WorkdayAuth getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.WorkdayAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.WorkdayAuthOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The hostname. + */ + java.lang.String getHostname(); + + /** + * + * + *
+   * API Hostname.
+   * 
+ * + * string hostname = 2; + * + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString getHostnameBytes(); + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 3; + * + * @return The tenantId. + */ + java.lang.String getTenantId(); + + /** + * + * + *
+   * Tenant ID.
+   * 
+ * + * string tenant_id = 3; + * + * @return The bytes for tenantId. + */ + com.google.protobuf.ByteString getTenantIdBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceActivitySettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceActivitySettings.java new file mode 100644 index 000000000000..d1ea4c13bbed --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceActivitySettings.java @@ -0,0 +1,1206 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Workspace Activity settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.WorkspaceActivitySettings} + */ +@com.google.protobuf.Generated +public final class WorkspaceActivitySettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.WorkspaceActivitySettings) + WorkspaceActivitySettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "WorkspaceActivitySettings"); + } + + // Use WorkspaceActivitySettings.newBuilder() to construct. + private WorkspaceActivitySettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private WorkspaceActivitySettings() { + workspaceCustomerId_ = ""; + applications_ = com.google.protobuf.LazyStringArrayList.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceActivitySettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceActivitySettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.WorkspaceActivitySettings.class, + com.google.cloud.chronicle.v1.WorkspaceActivitySettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.OAuthJWTCredentials authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthJWTCredentials getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } + + public static final int WORKSPACE_CUSTOMER_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object workspaceCustomerId_ = ""; + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The workspaceCustomerId. + */ + @java.lang.Override + public java.lang.String getWorkspaceCustomerId() { + java.lang.Object ref = workspaceCustomerId_; + 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(); + workspaceCustomerId_ = s; + return s; + } + } + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The bytes for workspaceCustomerId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getWorkspaceCustomerIdBytes() { + java.lang.Object ref = workspaceCustomerId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + workspaceCustomerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int APPLICATIONS_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList applications_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + /** + * + * + *
+   * Applications.
+   * 
+ * + * repeated string applications = 3; + * + * @return A list containing the applications. + */ + public com.google.protobuf.ProtocolStringList getApplicationsList() { + return applications_; + } + + /** + * + * + *
+   * Applications.
+   * 
+ * + * repeated string applications = 3; + * + * @return The count of applications. + */ + public int getApplicationsCount() { + return applications_.size(); + } + + /** + * + * + *
+   * Applications.
+   * 
+ * + * repeated string applications = 3; + * + * @param index The index of the element to return. + * @return The applications at the given index. + */ + public java.lang.String getApplications(int index) { + return applications_.get(index); + } + + /** + * + * + *
+   * Applications.
+   * 
+ * + * repeated string applications = 3; + * + * @param index The index of the value to return. + * @return The bytes of the applications at the given index. + */ + public com.google.protobuf.ByteString getApplicationsBytes(int index) { + return applications_.getByteString(index); + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(workspaceCustomerId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, workspaceCustomerId_); + } + for (int i = 0; i < applications_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, applications_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(workspaceCustomerId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, workspaceCustomerId_); + } + { + int dataSize = 0; + for (int i = 0; i < applications_.size(); i++) { + dataSize += computeStringSizeNoTag(applications_.getRaw(i)); + } + size += dataSize; + size += 1 * getApplicationsList().size(); + } + 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.cloud.chronicle.v1.WorkspaceActivitySettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.WorkspaceActivitySettings other = + (com.google.cloud.chronicle.v1.WorkspaceActivitySettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getWorkspaceCustomerId().equals(other.getWorkspaceCustomerId())) return false; + if (!getApplicationsList().equals(other.getApplicationsList())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + WORKSPACE_CUSTOMER_ID_FIELD_NUMBER; + hash = (53 * hash) + getWorkspaceCustomerId().hashCode(); + if (getApplicationsCount() > 0) { + hash = (37 * hash) + APPLICATIONS_FIELD_NUMBER; + hash = (53 * hash) + getApplicationsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.WorkspaceActivitySettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WorkspaceActivitySettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspaceActivitySettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WorkspaceActivitySettings 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.cloud.chronicle.v1.WorkspaceActivitySettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WorkspaceActivitySettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspaceActivitySettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WorkspaceActivitySettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspaceActivitySettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WorkspaceActivitySettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspaceActivitySettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WorkspaceActivitySettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.WorkspaceActivitySettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Workspace Activity settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.WorkspaceActivitySettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.WorkspaceActivitySettings) + com.google.cloud.chronicle.v1.WorkspaceActivitySettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceActivitySettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceActivitySettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.WorkspaceActivitySettings.class, + com.google.cloud.chronicle.v1.WorkspaceActivitySettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.WorkspaceActivitySettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + workspaceCustomerId_ = ""; + applications_ = com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceActivitySettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceActivitySettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.WorkspaceActivitySettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceActivitySettings build() { + com.google.cloud.chronicle.v1.WorkspaceActivitySettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceActivitySettings buildPartial() { + com.google.cloud.chronicle.v1.WorkspaceActivitySettings result = + new com.google.cloud.chronicle.v1.WorkspaceActivitySettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.WorkspaceActivitySettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.workspaceCustomerId_ = workspaceCustomerId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + applications_.makeImmutable(); + result.applications_ = applications_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.WorkspaceActivitySettings) { + return mergeFrom((com.google.cloud.chronicle.v1.WorkspaceActivitySettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.WorkspaceActivitySettings other) { + if (other == com.google.cloud.chronicle.v1.WorkspaceActivitySettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getWorkspaceCustomerId().isEmpty()) { + workspaceCustomerId_ = other.workspaceCustomerId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.applications_.isEmpty()) { + if (applications_.isEmpty()) { + applications_ = other.applications_; + bitField0_ |= 0x00000004; + } else { + ensureApplicationsIsMutable(); + applications_.addAll(other.applications_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + workspaceCustomerId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureApplicationsIsMutable(); + applications_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.OAuthJWTCredentials authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentials getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.OAuthJWTCredentials value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.OAuthJWTCredentials value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object workspaceCustomerId_ = ""; + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @return The workspaceCustomerId. + */ + public java.lang.String getWorkspaceCustomerId() { + java.lang.Object ref = workspaceCustomerId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspaceCustomerId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @return The bytes for workspaceCustomerId. + */ + public com.google.protobuf.ByteString getWorkspaceCustomerIdBytes() { + java.lang.Object ref = workspaceCustomerId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + workspaceCustomerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @param value The workspaceCustomerId to set. + * @return This builder for chaining. + */ + public Builder setWorkspaceCustomerId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + workspaceCustomerId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearWorkspaceCustomerId() { + workspaceCustomerId_ = getDefaultInstance().getWorkspaceCustomerId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @param value The bytes for workspaceCustomerId to set. + * @return This builder for chaining. + */ + public Builder setWorkspaceCustomerIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspaceCustomerId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList applications_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureApplicationsIsMutable() { + if (!applications_.isModifiable()) { + applications_ = new com.google.protobuf.LazyStringArrayList(applications_); + } + bitField0_ |= 0x00000004; + } + + /** + * + * + *
+     * Applications.
+     * 
+ * + * repeated string applications = 3; + * + * @return A list containing the applications. + */ + public com.google.protobuf.ProtocolStringList getApplicationsList() { + applications_.makeImmutable(); + return applications_; + } + + /** + * + * + *
+     * Applications.
+     * 
+ * + * repeated string applications = 3; + * + * @return The count of applications. + */ + public int getApplicationsCount() { + return applications_.size(); + } + + /** + * + * + *
+     * Applications.
+     * 
+ * + * repeated string applications = 3; + * + * @param index The index of the element to return. + * @return The applications at the given index. + */ + public java.lang.String getApplications(int index) { + return applications_.get(index); + } + + /** + * + * + *
+     * Applications.
+     * 
+ * + * repeated string applications = 3; + * + * @param index The index of the value to return. + * @return The bytes of the applications at the given index. + */ + public com.google.protobuf.ByteString getApplicationsBytes(int index) { + return applications_.getByteString(index); + } + + /** + * + * + *
+     * Applications.
+     * 
+ * + * repeated string applications = 3; + * + * @param index The index to set the value at. + * @param value The applications to set. + * @return This builder for chaining. + */ + public Builder setApplications(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureApplicationsIsMutable(); + applications_.set(index, value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Applications.
+     * 
+ * + * repeated string applications = 3; + * + * @param value The applications to add. + * @return This builder for chaining. + */ + public Builder addApplications(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureApplicationsIsMutable(); + applications_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Applications.
+     * 
+ * + * repeated string applications = 3; + * + * @param values The applications to add. + * @return This builder for chaining. + */ + public Builder addAllApplications(java.lang.Iterable values) { + ensureApplicationsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, applications_); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Applications.
+     * 
+ * + * repeated string applications = 3; + * + * @return This builder for chaining. + */ + public Builder clearApplications() { + applications_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; + onChanged(); + return this; + } + + /** + * + * + *
+     * Applications.
+     * 
+ * + * repeated string applications = 3; + * + * @param value The bytes of the applications to add. + * @return This builder for chaining. + */ + public Builder addApplicationsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureApplicationsIsMutable(); + applications_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.WorkspaceActivitySettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.WorkspaceActivitySettings) + private static final com.google.cloud.chronicle.v1.WorkspaceActivitySettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.WorkspaceActivitySettings(); + } + + public static com.google.cloud.chronicle.v1.WorkspaceActivitySettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkspaceActivitySettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceActivitySettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceActivitySettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceActivitySettingsOrBuilder.java new file mode 100644 index 000000000000..b4670f9ae97f --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceActivitySettingsOrBuilder.java @@ -0,0 +1,151 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface WorkspaceActivitySettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.WorkspaceActivitySettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.OAuthJWTCredentials getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The workspaceCustomerId. + */ + java.lang.String getWorkspaceCustomerId(); + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The bytes for workspaceCustomerId. + */ + com.google.protobuf.ByteString getWorkspaceCustomerIdBytes(); + + /** + * + * + *
+   * Applications.
+   * 
+ * + * repeated string applications = 3; + * + * @return A list containing the applications. + */ + java.util.List getApplicationsList(); + + /** + * + * + *
+   * Applications.
+   * 
+ * + * repeated string applications = 3; + * + * @return The count of applications. + */ + int getApplicationsCount(); + + /** + * + * + *
+   * Applications.
+   * 
+ * + * repeated string applications = 3; + * + * @param index The index of the element to return. + * @return The applications at the given index. + */ + java.lang.String getApplications(int index); + + /** + * + * + *
+   * Applications.
+   * 
+ * + * repeated string applications = 3; + * + * @param index The index of the value to return. + * @return The bytes of the applications at the given index. + */ + com.google.protobuf.ByteString getApplicationsBytes(int index); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceAlertsSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceAlertsSettings.java new file mode 100644 index 000000000000..0f96a8f96ffb --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceAlertsSettings.java @@ -0,0 +1,916 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Workspace Alert settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.WorkspaceAlertsSettings} + */ +@com.google.protobuf.Generated +public final class WorkspaceAlertsSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.WorkspaceAlertsSettings) + WorkspaceAlertsSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "WorkspaceAlertsSettings"); + } + + // Use WorkspaceAlertsSettings.newBuilder() to construct. + private WorkspaceAlertsSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private WorkspaceAlertsSettings() { + workspaceCustomerId_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceAlertsSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceAlertsSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.WorkspaceAlertsSettings.class, + com.google.cloud.chronicle.v1.WorkspaceAlertsSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.OAuthJWTCredentials authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthJWTCredentials getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } + + public static final int WORKSPACE_CUSTOMER_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object workspaceCustomerId_ = ""; + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The workspaceCustomerId. + */ + @java.lang.Override + public java.lang.String getWorkspaceCustomerId() { + java.lang.Object ref = workspaceCustomerId_; + 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(); + workspaceCustomerId_ = s; + return s; + } + } + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The bytes for workspaceCustomerId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getWorkspaceCustomerIdBytes() { + java.lang.Object ref = workspaceCustomerId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + workspaceCustomerId_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(workspaceCustomerId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, workspaceCustomerId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(workspaceCustomerId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, workspaceCustomerId_); + } + 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.cloud.chronicle.v1.WorkspaceAlertsSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.WorkspaceAlertsSettings other = + (com.google.cloud.chronicle.v1.WorkspaceAlertsSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getWorkspaceCustomerId().equals(other.getWorkspaceCustomerId())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + WORKSPACE_CUSTOMER_ID_FIELD_NUMBER; + hash = (53 * hash) + getWorkspaceCustomerId().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.WorkspaceAlertsSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WorkspaceAlertsSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspaceAlertsSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WorkspaceAlertsSettings 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.cloud.chronicle.v1.WorkspaceAlertsSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WorkspaceAlertsSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspaceAlertsSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WorkspaceAlertsSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspaceAlertsSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WorkspaceAlertsSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspaceAlertsSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WorkspaceAlertsSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.WorkspaceAlertsSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Workspace Alert settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.WorkspaceAlertsSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.WorkspaceAlertsSettings) + com.google.cloud.chronicle.v1.WorkspaceAlertsSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceAlertsSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceAlertsSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.WorkspaceAlertsSettings.class, + com.google.cloud.chronicle.v1.WorkspaceAlertsSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.WorkspaceAlertsSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + workspaceCustomerId_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceAlertsSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceAlertsSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.WorkspaceAlertsSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceAlertsSettings build() { + com.google.cloud.chronicle.v1.WorkspaceAlertsSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceAlertsSettings buildPartial() { + com.google.cloud.chronicle.v1.WorkspaceAlertsSettings result = + new com.google.cloud.chronicle.v1.WorkspaceAlertsSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.WorkspaceAlertsSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.workspaceCustomerId_ = workspaceCustomerId_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.WorkspaceAlertsSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.WorkspaceAlertsSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.WorkspaceAlertsSettings other) { + if (other == com.google.cloud.chronicle.v1.WorkspaceAlertsSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getWorkspaceCustomerId().isEmpty()) { + workspaceCustomerId_ = other.workspaceCustomerId_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + workspaceCustomerId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.OAuthJWTCredentials authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentials getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.OAuthJWTCredentials value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.OAuthJWTCredentials value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object workspaceCustomerId_ = ""; + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @return The workspaceCustomerId. + */ + public java.lang.String getWorkspaceCustomerId() { + java.lang.Object ref = workspaceCustomerId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspaceCustomerId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @return The bytes for workspaceCustomerId. + */ + public com.google.protobuf.ByteString getWorkspaceCustomerIdBytes() { + java.lang.Object ref = workspaceCustomerId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + workspaceCustomerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @param value The workspaceCustomerId to set. + * @return This builder for chaining. + */ + public Builder setWorkspaceCustomerId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + workspaceCustomerId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearWorkspaceCustomerId() { + workspaceCustomerId_ = getDefaultInstance().getWorkspaceCustomerId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @param value The bytes for workspaceCustomerId to set. + * @return This builder for chaining. + */ + public Builder setWorkspaceCustomerIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspaceCustomerId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.WorkspaceAlertsSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.WorkspaceAlertsSettings) + private static final com.google.cloud.chronicle.v1.WorkspaceAlertsSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.WorkspaceAlertsSettings(); + } + + public static com.google.cloud.chronicle.v1.WorkspaceAlertsSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkspaceAlertsSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceAlertsSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceAlertsSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceAlertsSettingsOrBuilder.java new file mode 100644 index 000000000000..bfd821d1bdd8 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceAlertsSettingsOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface WorkspaceAlertsSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.WorkspaceAlertsSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.OAuthJWTCredentials getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The workspaceCustomerId. + */ + java.lang.String getWorkspaceCustomerId(); + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The bytes for workspaceCustomerId. + */ + com.google.protobuf.ByteString getWorkspaceCustomerIdBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceChromeOSSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceChromeOSSettings.java new file mode 100644 index 000000000000..e5b0c4adfdd9 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceChromeOSSettings.java @@ -0,0 +1,916 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Workspace Chrome OS settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.WorkspaceChromeOSSettings} + */ +@com.google.protobuf.Generated +public final class WorkspaceChromeOSSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.WorkspaceChromeOSSettings) + WorkspaceChromeOSSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "WorkspaceChromeOSSettings"); + } + + // Use WorkspaceChromeOSSettings.newBuilder() to construct. + private WorkspaceChromeOSSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private WorkspaceChromeOSSettings() { + workspaceCustomerId_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceChromeOSSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceChromeOSSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings.class, + com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.OAuthJWTCredentials authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthJWTCredentials getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } + + public static final int WORKSPACE_CUSTOMER_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object workspaceCustomerId_ = ""; + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The workspaceCustomerId. + */ + @java.lang.Override + public java.lang.String getWorkspaceCustomerId() { + java.lang.Object ref = workspaceCustomerId_; + 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(); + workspaceCustomerId_ = s; + return s; + } + } + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The bytes for workspaceCustomerId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getWorkspaceCustomerIdBytes() { + java.lang.Object ref = workspaceCustomerId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + workspaceCustomerId_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(workspaceCustomerId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, workspaceCustomerId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(workspaceCustomerId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, workspaceCustomerId_); + } + 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.cloud.chronicle.v1.WorkspaceChromeOSSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings other = + (com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getWorkspaceCustomerId().equals(other.getWorkspaceCustomerId())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + WORKSPACE_CUSTOMER_ID_FIELD_NUMBER; + hash = (53 * hash) + getWorkspaceCustomerId().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings 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.cloud.chronicle.v1.WorkspaceChromeOSSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.WorkspaceChromeOSSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Workspace Chrome OS settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.WorkspaceChromeOSSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.WorkspaceChromeOSSettings) + com.google.cloud.chronicle.v1.WorkspaceChromeOSSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceChromeOSSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceChromeOSSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings.class, + com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + workspaceCustomerId_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceChromeOSSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings build() { + com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings buildPartial() { + com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings result = + new com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.workspaceCustomerId_ = workspaceCustomerId_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings other) { + if (other == com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getWorkspaceCustomerId().isEmpty()) { + workspaceCustomerId_ = other.workspaceCustomerId_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + workspaceCustomerId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.OAuthJWTCredentials authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentials getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.OAuthJWTCredentials value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.OAuthJWTCredentials value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object workspaceCustomerId_ = ""; + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @return The workspaceCustomerId. + */ + public java.lang.String getWorkspaceCustomerId() { + java.lang.Object ref = workspaceCustomerId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspaceCustomerId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @return The bytes for workspaceCustomerId. + */ + public com.google.protobuf.ByteString getWorkspaceCustomerIdBytes() { + java.lang.Object ref = workspaceCustomerId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + workspaceCustomerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @param value The workspaceCustomerId to set. + * @return This builder for chaining. + */ + public Builder setWorkspaceCustomerId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + workspaceCustomerId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearWorkspaceCustomerId() { + workspaceCustomerId_ = getDefaultInstance().getWorkspaceCustomerId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @param value The bytes for workspaceCustomerId to set. + * @return This builder for chaining. + */ + public Builder setWorkspaceCustomerIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspaceCustomerId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.WorkspaceChromeOSSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.WorkspaceChromeOSSettings) + private static final com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings(); + } + + public static com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkspaceChromeOSSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceChromeOSSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceChromeOSSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceChromeOSSettingsOrBuilder.java new file mode 100644 index 000000000000..fb8d3b2a6c3e --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceChromeOSSettingsOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface WorkspaceChromeOSSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.WorkspaceChromeOSSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.OAuthJWTCredentials getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The workspaceCustomerId. + */ + java.lang.String getWorkspaceCustomerId(); + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The bytes for workspaceCustomerId. + */ + com.google.protobuf.ByteString getWorkspaceCustomerIdBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceGroupsSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceGroupsSettings.java new file mode 100644 index 000000000000..b3157fc84a58 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceGroupsSettings.java @@ -0,0 +1,916 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Workspace Groups settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.WorkspaceGroupsSettings} + */ +@com.google.protobuf.Generated +public final class WorkspaceGroupsSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.WorkspaceGroupsSettings) + WorkspaceGroupsSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "WorkspaceGroupsSettings"); + } + + // Use WorkspaceGroupsSettings.newBuilder() to construct. + private WorkspaceGroupsSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private WorkspaceGroupsSettings() { + workspaceCustomerId_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceGroupsSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceGroupsSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.WorkspaceGroupsSettings.class, + com.google.cloud.chronicle.v1.WorkspaceGroupsSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.OAuthJWTCredentials authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthJWTCredentials getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } + + public static final int WORKSPACE_CUSTOMER_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object workspaceCustomerId_ = ""; + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The workspaceCustomerId. + */ + @java.lang.Override + public java.lang.String getWorkspaceCustomerId() { + java.lang.Object ref = workspaceCustomerId_; + 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(); + workspaceCustomerId_ = s; + return s; + } + } + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The bytes for workspaceCustomerId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getWorkspaceCustomerIdBytes() { + java.lang.Object ref = workspaceCustomerId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + workspaceCustomerId_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(workspaceCustomerId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, workspaceCustomerId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(workspaceCustomerId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, workspaceCustomerId_); + } + 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.cloud.chronicle.v1.WorkspaceGroupsSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.WorkspaceGroupsSettings other = + (com.google.cloud.chronicle.v1.WorkspaceGroupsSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getWorkspaceCustomerId().equals(other.getWorkspaceCustomerId())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + WORKSPACE_CUSTOMER_ID_FIELD_NUMBER; + hash = (53 * hash) + getWorkspaceCustomerId().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.WorkspaceGroupsSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WorkspaceGroupsSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspaceGroupsSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WorkspaceGroupsSettings 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.cloud.chronicle.v1.WorkspaceGroupsSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WorkspaceGroupsSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspaceGroupsSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WorkspaceGroupsSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspaceGroupsSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WorkspaceGroupsSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspaceGroupsSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WorkspaceGroupsSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.WorkspaceGroupsSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Workspace Groups settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.WorkspaceGroupsSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.WorkspaceGroupsSettings) + com.google.cloud.chronicle.v1.WorkspaceGroupsSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceGroupsSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceGroupsSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.WorkspaceGroupsSettings.class, + com.google.cloud.chronicle.v1.WorkspaceGroupsSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.WorkspaceGroupsSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + workspaceCustomerId_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceGroupsSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceGroupsSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.WorkspaceGroupsSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceGroupsSettings build() { + com.google.cloud.chronicle.v1.WorkspaceGroupsSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceGroupsSettings buildPartial() { + com.google.cloud.chronicle.v1.WorkspaceGroupsSettings result = + new com.google.cloud.chronicle.v1.WorkspaceGroupsSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.WorkspaceGroupsSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.workspaceCustomerId_ = workspaceCustomerId_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.WorkspaceGroupsSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.WorkspaceGroupsSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.WorkspaceGroupsSettings other) { + if (other == com.google.cloud.chronicle.v1.WorkspaceGroupsSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getWorkspaceCustomerId().isEmpty()) { + workspaceCustomerId_ = other.workspaceCustomerId_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + workspaceCustomerId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.OAuthJWTCredentials authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentials getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.OAuthJWTCredentials value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.OAuthJWTCredentials value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object workspaceCustomerId_ = ""; + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @return The workspaceCustomerId. + */ + public java.lang.String getWorkspaceCustomerId() { + java.lang.Object ref = workspaceCustomerId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspaceCustomerId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @return The bytes for workspaceCustomerId. + */ + public com.google.protobuf.ByteString getWorkspaceCustomerIdBytes() { + java.lang.Object ref = workspaceCustomerId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + workspaceCustomerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @param value The workspaceCustomerId to set. + * @return This builder for chaining. + */ + public Builder setWorkspaceCustomerId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + workspaceCustomerId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearWorkspaceCustomerId() { + workspaceCustomerId_ = getDefaultInstance().getWorkspaceCustomerId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @param value The bytes for workspaceCustomerId to set. + * @return This builder for chaining. + */ + public Builder setWorkspaceCustomerIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspaceCustomerId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.WorkspaceGroupsSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.WorkspaceGroupsSettings) + private static final com.google.cloud.chronicle.v1.WorkspaceGroupsSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.WorkspaceGroupsSettings(); + } + + public static com.google.cloud.chronicle.v1.WorkspaceGroupsSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkspaceGroupsSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceGroupsSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceGroupsSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceGroupsSettingsOrBuilder.java new file mode 100644 index 000000000000..747cff6f43cb --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceGroupsSettingsOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface WorkspaceGroupsSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.WorkspaceGroupsSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.OAuthJWTCredentials getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The workspaceCustomerId. + */ + java.lang.String getWorkspaceCustomerId(); + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The bytes for workspaceCustomerId. + */ + com.google.protobuf.ByteString getWorkspaceCustomerIdBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceMobileSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceMobileSettings.java new file mode 100644 index 000000000000..c18e863e071d --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceMobileSettings.java @@ -0,0 +1,916 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Workspace Mobile settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.WorkspaceMobileSettings} + */ +@com.google.protobuf.Generated +public final class WorkspaceMobileSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.WorkspaceMobileSettings) + WorkspaceMobileSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "WorkspaceMobileSettings"); + } + + // Use WorkspaceMobileSettings.newBuilder() to construct. + private WorkspaceMobileSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private WorkspaceMobileSettings() { + workspaceCustomerId_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceMobileSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceMobileSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.WorkspaceMobileSettings.class, + com.google.cloud.chronicle.v1.WorkspaceMobileSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.OAuthJWTCredentials authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthJWTCredentials getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } + + public static final int WORKSPACE_CUSTOMER_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object workspaceCustomerId_ = ""; + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The workspaceCustomerId. + */ + @java.lang.Override + public java.lang.String getWorkspaceCustomerId() { + java.lang.Object ref = workspaceCustomerId_; + 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(); + workspaceCustomerId_ = s; + return s; + } + } + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The bytes for workspaceCustomerId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getWorkspaceCustomerIdBytes() { + java.lang.Object ref = workspaceCustomerId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + workspaceCustomerId_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(workspaceCustomerId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, workspaceCustomerId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(workspaceCustomerId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, workspaceCustomerId_); + } + 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.cloud.chronicle.v1.WorkspaceMobileSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.WorkspaceMobileSettings other = + (com.google.cloud.chronicle.v1.WorkspaceMobileSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getWorkspaceCustomerId().equals(other.getWorkspaceCustomerId())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + WORKSPACE_CUSTOMER_ID_FIELD_NUMBER; + hash = (53 * hash) + getWorkspaceCustomerId().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.WorkspaceMobileSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WorkspaceMobileSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspaceMobileSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WorkspaceMobileSettings 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.cloud.chronicle.v1.WorkspaceMobileSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WorkspaceMobileSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspaceMobileSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WorkspaceMobileSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspaceMobileSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WorkspaceMobileSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspaceMobileSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WorkspaceMobileSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.WorkspaceMobileSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Workspace Mobile settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.WorkspaceMobileSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.WorkspaceMobileSettings) + com.google.cloud.chronicle.v1.WorkspaceMobileSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceMobileSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceMobileSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.WorkspaceMobileSettings.class, + com.google.cloud.chronicle.v1.WorkspaceMobileSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.WorkspaceMobileSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + workspaceCustomerId_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceMobileSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceMobileSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.WorkspaceMobileSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceMobileSettings build() { + com.google.cloud.chronicle.v1.WorkspaceMobileSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceMobileSettings buildPartial() { + com.google.cloud.chronicle.v1.WorkspaceMobileSettings result = + new com.google.cloud.chronicle.v1.WorkspaceMobileSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.WorkspaceMobileSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.workspaceCustomerId_ = workspaceCustomerId_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.WorkspaceMobileSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.WorkspaceMobileSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.WorkspaceMobileSettings other) { + if (other == com.google.cloud.chronicle.v1.WorkspaceMobileSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getWorkspaceCustomerId().isEmpty()) { + workspaceCustomerId_ = other.workspaceCustomerId_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + workspaceCustomerId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.OAuthJWTCredentials authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentials getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.OAuthJWTCredentials value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.OAuthJWTCredentials value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object workspaceCustomerId_ = ""; + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @return The workspaceCustomerId. + */ + public java.lang.String getWorkspaceCustomerId() { + java.lang.Object ref = workspaceCustomerId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspaceCustomerId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @return The bytes for workspaceCustomerId. + */ + public com.google.protobuf.ByteString getWorkspaceCustomerIdBytes() { + java.lang.Object ref = workspaceCustomerId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + workspaceCustomerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @param value The workspaceCustomerId to set. + * @return This builder for chaining. + */ + public Builder setWorkspaceCustomerId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + workspaceCustomerId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearWorkspaceCustomerId() { + workspaceCustomerId_ = getDefaultInstance().getWorkspaceCustomerId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @param value The bytes for workspaceCustomerId to set. + * @return This builder for chaining. + */ + public Builder setWorkspaceCustomerIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspaceCustomerId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.WorkspaceMobileSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.WorkspaceMobileSettings) + private static final com.google.cloud.chronicle.v1.WorkspaceMobileSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.WorkspaceMobileSettings(); + } + + public static com.google.cloud.chronicle.v1.WorkspaceMobileSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkspaceMobileSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceMobileSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceMobileSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceMobileSettingsOrBuilder.java new file mode 100644 index 000000000000..0b30ee0cad0d --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceMobileSettingsOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface WorkspaceMobileSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.WorkspaceMobileSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.OAuthJWTCredentials getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The workspaceCustomerId. + */ + java.lang.String getWorkspaceCustomerId(); + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The bytes for workspaceCustomerId. + */ + com.google.protobuf.ByteString getWorkspaceCustomerIdBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspacePrivilegesSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspacePrivilegesSettings.java new file mode 100644 index 000000000000..5ce7aacf4a1d --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspacePrivilegesSettings.java @@ -0,0 +1,916 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Workspace Privileges settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.WorkspacePrivilegesSettings} + */ +@com.google.protobuf.Generated +public final class WorkspacePrivilegesSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.WorkspacePrivilegesSettings) + WorkspacePrivilegesSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "WorkspacePrivilegesSettings"); + } + + // Use WorkspacePrivilegesSettings.newBuilder() to construct. + private WorkspacePrivilegesSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private WorkspacePrivilegesSettings() { + workspaceCustomerId_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspacePrivilegesSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspacePrivilegesSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings.class, + com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings.Builder.class); + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.OAuthJWTCredentials authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthJWTCredentials getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } + + public static final int WORKSPACE_CUSTOMER_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object workspaceCustomerId_ = ""; + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The workspaceCustomerId. + */ + @java.lang.Override + public java.lang.String getWorkspaceCustomerId() { + java.lang.Object ref = workspaceCustomerId_; + 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(); + workspaceCustomerId_ = s; + return s; + } + } + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The bytes for workspaceCustomerId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getWorkspaceCustomerIdBytes() { + java.lang.Object ref = workspaceCustomerId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + workspaceCustomerId_ = 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(workspaceCustomerId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, workspaceCustomerId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(workspaceCustomerId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, workspaceCustomerId_); + } + 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.cloud.chronicle.v1.WorkspacePrivilegesSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings other = + (com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getWorkspaceCustomerId().equals(other.getWorkspaceCustomerId())) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + WORKSPACE_CUSTOMER_ID_FIELD_NUMBER; + hash = (53 * hash) + getWorkspaceCustomerId().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings 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.cloud.chronicle.v1.WorkspacePrivilegesSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.WorkspacePrivilegesSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Workspace Privileges settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.WorkspacePrivilegesSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.WorkspacePrivilegesSettings) + com.google.cloud.chronicle.v1.WorkspacePrivilegesSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspacePrivilegesSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspacePrivilegesSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings.class, + com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + workspaceCustomerId_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspacePrivilegesSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings build() { + com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings buildPartial() { + com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings result = + new com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.workspaceCustomerId_ = workspaceCustomerId_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings other) { + if (other == com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getWorkspaceCustomerId().isEmpty()) { + workspaceCustomerId_ = other.workspaceCustomerId_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + workspaceCustomerId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.OAuthJWTCredentials authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentials getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.OAuthJWTCredentials value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.OAuthJWTCredentials value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object workspaceCustomerId_ = ""; + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @return The workspaceCustomerId. + */ + public java.lang.String getWorkspaceCustomerId() { + java.lang.Object ref = workspaceCustomerId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspaceCustomerId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @return The bytes for workspaceCustomerId. + */ + public com.google.protobuf.ByteString getWorkspaceCustomerIdBytes() { + java.lang.Object ref = workspaceCustomerId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + workspaceCustomerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @param value The workspaceCustomerId to set. + * @return This builder for chaining. + */ + public Builder setWorkspaceCustomerId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + workspaceCustomerId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearWorkspaceCustomerId() { + workspaceCustomerId_ = getDefaultInstance().getWorkspaceCustomerId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @param value The bytes for workspaceCustomerId to set. + * @return This builder for chaining. + */ + public Builder setWorkspaceCustomerIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspaceCustomerId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.WorkspacePrivilegesSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.WorkspacePrivilegesSettings) + private static final com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings(); + } + + public static com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkspacePrivilegesSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspacePrivilegesSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspacePrivilegesSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspacePrivilegesSettingsOrBuilder.java new file mode 100644 index 000000000000..cf506d8c87c9 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspacePrivilegesSettingsOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface WorkspacePrivilegesSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.WorkspacePrivilegesSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.OAuthJWTCredentials getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The workspaceCustomerId. + */ + java.lang.String getWorkspaceCustomerId(); + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The bytes for workspaceCustomerId. + */ + com.google.protobuf.ByteString getWorkspaceCustomerIdBytes(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceUsersSettings.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceUsersSettings.java new file mode 100644 index 000000000000..2990df188c9b --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceUsersSettings.java @@ -0,0 +1,1268 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +/** + * + * + *
+ * Workspace Users settings.
+ * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.WorkspaceUsersSettings} + */ +@com.google.protobuf.Generated +public final class WorkspaceUsersSettings extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.chronicle.v1.WorkspaceUsersSettings) + WorkspaceUsersSettingsOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "WorkspaceUsersSettings"); + } + + // Use WorkspaceUsersSettings.newBuilder() to construct. + private WorkspaceUsersSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private WorkspaceUsersSettings() { + workspaceCustomerId_ = ""; + projectionType_ = 0; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceUsersSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceUsersSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.WorkspaceUsersSettings.class, + com.google.cloud.chronicle.v1.WorkspaceUsersSettings.Builder.class); + } + + /** + * + * + *
+   * Projection Type.
+   * 
+ * + * Protobuf enum {@code google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType} + */ + public enum ProjectionType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * For the feeds in which this field is not set.
+     * 
+ * + * PROJECTION_TYPE_UNSPECIFIED = 0; + */ + PROJECTION_TYPE_UNSPECIFIED(0), + /** + * + * + *
+     * Do not include any custom fields for the user.
+     * 
+ * + * BASIC_PROJECTION = 1; + */ + BASIC_PROJECTION(1), + /** + * + * + *
+     * Include both basic and custom fields associated with this user.
+     * 
+ * + * FULL_PROJECTION = 2; + */ + FULL_PROJECTION(2), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "ProjectionType"); + } + + /** + * + * + *
+     * For the feeds in which this field is not set.
+     * 
+ * + * PROJECTION_TYPE_UNSPECIFIED = 0; + */ + public static final int PROJECTION_TYPE_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
+     * Do not include any custom fields for the user.
+     * 
+ * + * BASIC_PROJECTION = 1; + */ + public static final int BASIC_PROJECTION_VALUE = 1; + + /** + * + * + *
+     * Include both basic and custom fields associated with this user.
+     * 
+ * + * FULL_PROJECTION = 2; + */ + public static final int FULL_PROJECTION_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ProjectionType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ProjectionType forNumber(int value) { + switch (value) { + case 0: + return PROJECTION_TYPE_UNSPECIFIED; + case 1: + return BASIC_PROJECTION; + case 2: + return FULL_PROJECTION; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ProjectionType findValueByNumber(int number) { + return ProjectionType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.chronicle.v1.WorkspaceUsersSettings.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final ProjectionType[] VALUES = values(); + + public static ProjectionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ProjectionType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType) + } + + private int bitField0_; + public static final int AUTHENTICATION_FIELD_NUMBER = 1; + private com.google.cloud.chronicle.v1.OAuthJWTCredentials authentication_; + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + @java.lang.Override + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthJWTCredentials getAuthentication() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder() { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } + + public static final int WORKSPACE_CUSTOMER_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object workspaceCustomerId_ = ""; + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The workspaceCustomerId. + */ + @java.lang.Override + public java.lang.String getWorkspaceCustomerId() { + java.lang.Object ref = workspaceCustomerId_; + 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(); + workspaceCustomerId_ = s; + return s; + } + } + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The bytes for workspaceCustomerId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getWorkspaceCustomerIdBytes() { + java.lang.Object ref = workspaceCustomerId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + workspaceCustomerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROJECTION_TYPE_FIELD_NUMBER = 3; + private int projectionType_ = 0; + + /** + * + * + *
+   * Optional. Projection Type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType projection_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for projectionType. + */ + @java.lang.Override + public int getProjectionTypeValue() { + return projectionType_; + } + + /** + * + * + *
+   * Optional. Projection Type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType projection_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The projectionType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType getProjectionType() { + com.google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType result = + com.google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType.forNumber( + projectionType_); + return result == null + ? com.google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType.UNRECOGNIZED + : result; + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(workspaceCustomerId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, workspaceCustomerId_); + } + if (projectionType_ + != com.google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType + .PROJECTION_TYPE_UNSPECIFIED + .getNumber()) { + output.writeEnum(3, projectionType_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAuthentication()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(workspaceCustomerId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, workspaceCustomerId_); + } + if (projectionType_ + != com.google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType + .PROJECTION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, projectionType_); + } + 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.cloud.chronicle.v1.WorkspaceUsersSettings)) { + return super.equals(obj); + } + com.google.cloud.chronicle.v1.WorkspaceUsersSettings other = + (com.google.cloud.chronicle.v1.WorkspaceUsersSettings) obj; + + if (hasAuthentication() != other.hasAuthentication()) return false; + if (hasAuthentication()) { + if (!getAuthentication().equals(other.getAuthentication())) return false; + } + if (!getWorkspaceCustomerId().equals(other.getWorkspaceCustomerId())) return false; + if (projectionType_ != other.projectionType_) 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(); + if (hasAuthentication()) { + hash = (37 * hash) + AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthentication().hashCode(); + } + hash = (37 * hash) + WORKSPACE_CUSTOMER_ID_FIELD_NUMBER; + hash = (53 * hash) + getWorkspaceCustomerId().hashCode(); + hash = (37 * hash) + PROJECTION_TYPE_FIELD_NUMBER; + hash = (53 * hash) + projectionType_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.chronicle.v1.WorkspaceUsersSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WorkspaceUsersSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspaceUsersSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WorkspaceUsersSettings 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.cloud.chronicle.v1.WorkspaceUsersSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.chronicle.v1.WorkspaceUsersSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspaceUsersSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WorkspaceUsersSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspaceUsersSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WorkspaceUsersSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.chronicle.v1.WorkspaceUsersSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.chronicle.v1.WorkspaceUsersSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.chronicle.v1.WorkspaceUsersSettings 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Workspace Users settings.
+   * 
+ * + * Protobuf type {@code google.cloud.chronicle.v1.WorkspaceUsersSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.chronicle.v1.WorkspaceUsersSettings) + com.google.cloud.chronicle.v1.WorkspaceUsersSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceUsersSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceUsersSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.chronicle.v1.WorkspaceUsersSettings.class, + com.google.cloud.chronicle.v1.WorkspaceUsersSettings.Builder.class); + } + + // Construct using com.google.cloud.chronicle.v1.WorkspaceUsersSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetAuthenticationFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + workspaceCustomerId_ = ""; + projectionType_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.chronicle.v1.FeedProto + .internal_static_google_cloud_chronicle_v1_WorkspaceUsersSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceUsersSettings getDefaultInstanceForType() { + return com.google.cloud.chronicle.v1.WorkspaceUsersSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceUsersSettings build() { + com.google.cloud.chronicle.v1.WorkspaceUsersSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceUsersSettings buildPartial() { + com.google.cloud.chronicle.v1.WorkspaceUsersSettings result = + new com.google.cloud.chronicle.v1.WorkspaceUsersSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.chronicle.v1.WorkspaceUsersSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.authentication_ = + authenticationBuilder_ == null ? authentication_ : authenticationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.workspaceCustomerId_ = workspaceCustomerId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.projectionType_ = projectionType_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.chronicle.v1.WorkspaceUsersSettings) { + return mergeFrom((com.google.cloud.chronicle.v1.WorkspaceUsersSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.chronicle.v1.WorkspaceUsersSettings other) { + if (other == com.google.cloud.chronicle.v1.WorkspaceUsersSettings.getDefaultInstance()) + return this; + if (other.hasAuthentication()) { + mergeAuthentication(other.getAuthentication()); + } + if (!other.getWorkspaceCustomerId().isEmpty()) { + workspaceCustomerId_ = other.workspaceCustomerId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.projectionType_ != 0) { + setProjectionTypeValue(other.getProjectionTypeValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + workspaceCustomerId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + projectionType_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.chronicle.v1.OAuthJWTCredentials authentication_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder> + authenticationBuilder_; + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + public boolean hasAuthentication() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentials getAuthentication() { + if (authenticationBuilder_ == null) { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } else { + return authenticationBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication(com.google.cloud.chronicle.v1.OAuthJWTCredentials value) { + if (authenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authentication_ = value; + } else { + authenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder setAuthentication( + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder builderForValue) { + if (authenticationBuilder_ == null) { + authentication_ = builderForValue.build(); + } else { + authenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder mergeAuthentication(com.google.cloud.chronicle.v1.OAuthJWTCredentials value) { + if (authenticationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && authentication_ != null + && authentication_ + != com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance()) { + getAuthenticationBuilder().mergeFrom(value); + } else { + authentication_ = value; + } + } else { + authenticationBuilder_.mergeFrom(value); + } + if (authentication_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public Builder clearAuthentication() { + bitField0_ = (bitField0_ & ~0x00000001); + authentication_ = null; + if (authenticationBuilder_ != null) { + authenticationBuilder_.dispose(); + authenticationBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder getAuthenticationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetAuthenticationFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + public com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder() { + if (authenticationBuilder_ != null) { + return authenticationBuilder_.getMessageOrBuilder(); + } else { + return authentication_ == null + ? com.google.cloud.chronicle.v1.OAuthJWTCredentials.getDefaultInstance() + : authentication_; + } + } + + /** + * + * + *
+     * Input only. Authentication.
+     * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder> + internalGetAuthenticationFieldBuilder() { + if (authenticationBuilder_ == null) { + authenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.chronicle.v1.OAuthJWTCredentials, + com.google.cloud.chronicle.v1.OAuthJWTCredentials.Builder, + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder>( + getAuthentication(), getParentForChildren(), isClean()); + authentication_ = null; + } + return authenticationBuilder_; + } + + private java.lang.Object workspaceCustomerId_ = ""; + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @return The workspaceCustomerId. + */ + public java.lang.String getWorkspaceCustomerId() { + java.lang.Object ref = workspaceCustomerId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspaceCustomerId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @return The bytes for workspaceCustomerId. + */ + public com.google.protobuf.ByteString getWorkspaceCustomerIdBytes() { + java.lang.Object ref = workspaceCustomerId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + workspaceCustomerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @param value The workspaceCustomerId to set. + * @return This builder for chaining. + */ + public Builder setWorkspaceCustomerId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + workspaceCustomerId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearWorkspaceCustomerId() { + workspaceCustomerId_ = getDefaultInstance().getWorkspaceCustomerId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Customer ID.
+     * 
+ * + * string workspace_customer_id = 2; + * + * @param value The bytes for workspaceCustomerId to set. + * @return This builder for chaining. + */ + public Builder setWorkspaceCustomerIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspaceCustomerId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int projectionType_ = 0; + + /** + * + * + *
+     * Optional. Projection Type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType projection_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for projectionType. + */ + @java.lang.Override + public int getProjectionTypeValue() { + return projectionType_; + } + + /** + * + * + *
+     * Optional. Projection Type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType projection_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The enum numeric value on the wire for projectionType to set. + * @return This builder for chaining. + */ + public Builder setProjectionTypeValue(int value) { + projectionType_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Projection Type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType projection_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The projectionType. + */ + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType getProjectionType() { + com.google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType result = + com.google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType.forNumber( + projectionType_); + return result == null + ? com.google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * Optional. Projection Type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType projection_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The projectionType to set. + * @return This builder for chaining. + */ + public Builder setProjectionType( + com.google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + projectionType_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Projection Type.
+     * 
+ * + * + * .google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType projection_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearProjectionType() { + bitField0_ = (bitField0_ & ~0x00000004); + projectionType_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.chronicle.v1.WorkspaceUsersSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.chronicle.v1.WorkspaceUsersSettings) + private static final com.google.cloud.chronicle.v1.WorkspaceUsersSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.chronicle.v1.WorkspaceUsersSettings(); + } + + public static com.google.cloud.chronicle.v1.WorkspaceUsersSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkspaceUsersSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.chronicle.v1.WorkspaceUsersSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceUsersSettingsOrBuilder.java b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceUsersSettingsOrBuilder.java new file mode 100644 index 000000000000..bcd3c3c370ee --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/java/com/google/cloud/chronicle/v1/WorkspaceUsersSettingsOrBuilder.java @@ -0,0 +1,127 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/chronicle/v1/feed.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.chronicle.v1; + +@com.google.protobuf.Generated +public interface WorkspaceUsersSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.chronicle.v1.WorkspaceUsersSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return Whether the authentication field is set. + */ + boolean hasAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * + * @return The authentication. + */ + com.google.cloud.chronicle.v1.OAuthJWTCredentials getAuthentication(); + + /** + * + * + *
+   * Input only. Authentication.
+   * 
+ * + * + * .google.cloud.chronicle.v1.OAuthJWTCredentials authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * + */ + com.google.cloud.chronicle.v1.OAuthJWTCredentialsOrBuilder getAuthenticationOrBuilder(); + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The workspaceCustomerId. + */ + java.lang.String getWorkspaceCustomerId(); + + /** + * + * + *
+   * Customer ID.
+   * 
+ * + * string workspace_customer_id = 2; + * + * @return The bytes for workspaceCustomerId. + */ + com.google.protobuf.ByteString getWorkspaceCustomerIdBytes(); + + /** + * + * + *
+   * Optional. Projection Type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType projection_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for projectionType. + */ + int getProjectionTypeValue(); + + /** + * + * + *
+   * Optional. Projection Type.
+   * 
+ * + * + * .google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType projection_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The projectionType. + */ + com.google.cloud.chronicle.v1.WorkspaceUsersSettings.ProjectionType getProjectionType(); +} diff --git a/java-chronicle/proto-google-cloud-chronicle-v1/src/main/proto/google/cloud/chronicle/v1/feed.proto b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/proto/google/cloud/chronicle/v1/feed.proto new file mode 100644 index 000000000000..09c38dd94c82 --- /dev/null +++ b/java-chronicle/proto-google-cloud-chronicle-v1/src/main/proto/google/cloud/chronicle/v1/feed.proto @@ -0,0 +1,3090 @@ +// Copyright 2026 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 +// +// http://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. + +syntax = "proto3"; + +package google.cloud.chronicle.v1; + +import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; +import "google/api/field_info.proto"; +import "google/api/httpbody.proto"; +import "google/api/resource.proto"; +import "google/protobuf/empty.proto"; +import "google/protobuf/field_mask.proto"; +import "google/protobuf/timestamp.proto"; + +option csharp_namespace = "Google.Cloud.Chronicle.V1"; +option go_package = "cloud.google.com/go/chronicle/apiv1/chroniclepb;chroniclepb"; +option java_multiple_files = true; +option java_outer_classname = "FeedProto"; +option java_package = "com.google.cloud.chronicle.v1"; +option php_namespace = "Google\\Cloud\\Chronicle\\V1"; +option ruby_package = "Google::Cloud::Chronicle::V1"; +option (google.api.resource_definition) = { + type: "chronicle.googleapis.com/LogType" + pattern: "projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type}" +}; + +// FeedsService contains procedures for managing Chronicle third-party feeds. +service FeedsService { + option (google.api.default_host) = "chronicle.googleapis.com"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/chronicle," + "https://www.googleapis.com/auth/chronicle.readonly," + "https://www.googleapis.com/auth/cloud-platform"; + + // Fetch Chronicle's service account used for ingesting data from Cloud + // Storage buckets. + rpc FetchServiceAccountForCustomer(FetchServiceAccountForCustomerRequest) + returns (FeedServiceAccount) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/instances/*}/feedServiceAccounts:fetchServiceAccountForCustomer" + }; + option (google.api.method_signature) = "parent"; + } + + // Creates a feed. + rpc CreateFeed(CreateFeedRequest) returns (Feed) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*/instances/*}/feeds" + body: "feed" + }; + option (google.api.method_signature) = "parent,feed"; + } + + // Gets a feed. + rpc GetFeed(GetFeedRequest) returns (Feed) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/instances/*/feeds/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Deletes a feed. + rpc DeleteFeed(DeleteFeedRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/instances/*/feeds/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Enable feed for ingestion. + rpc EnableFeed(EnableFeedRequest) returns (Feed) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/instances/*/feeds/*}:enable" + body: "*" + }; + option (google.api.method_signature) = "name"; + } + + // Disable feed for ingestion. Make FeedState ARCHIVED. + rpc DisableFeed(DisableFeedRequest) returns (Feed) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/instances/*/feeds/*}:disable" + body: "*" + }; + option (google.api.method_signature) = "name"; + } + + // Lists all feeds for the customer. + rpc ListFeeds(ListFeedsRequest) returns (ListFeedsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/instances/*}/feeds" + }; + option (google.api.method_signature) = "parent"; + } + + // Lists Packs for which feeds can be configured. + rpc ListFeedPacks(ListFeedPacksRequest) returns (ListFeedPacksResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/instances/*}/feedPacks" + }; + option (google.api.method_signature) = "parent"; + } + + // Gets a feed pack. + rpc GetFeedPack(GetFeedPackRequest) returns (FeedPack) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/instances/*/feedPacks/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Updates the full feed. + rpc UpdateFeed(UpdateFeedRequest) returns (Feed) { + option (google.api.http) = { + patch: "/v1/{feed.name=projects/*/locations/*/instances/*/feeds/*}" + body: "feed" + }; + option (google.api.method_signature) = "feed,update_mask"; + } + + // List all FeedSourceTypeSchemas. + rpc ListFeedSourceTypeSchemas(ListFeedSourceTypeSchemasRequest) + returns (ListFeedSourceTypeSchemasResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/instances/*}/feedSourceTypeSchemas" + }; + option (google.api.method_signature) = "parent"; + } + + // List all LogTypeSchemas compatible with a given + // FeedSourceType. + rpc ListLogTypeSchemas(ListLogTypeSchemasRequest) + returns (ListLogTypeSchemasResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/instances/*/feedSourceTypeSchemas/*}/logTypeSchemas" + }; + option (google.api.method_signature) = "parent"; + } + + // Import logs coming from https push feeds. + // All log entries must be valid UTF-8. A single invalid event will cause the + // entire request to be rejected. + rpc ImportPushLogs(ImportPushLogsRequest) returns (google.api.HttpBody) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*/instances/*/feeds/*}:importPushLogs" + body: "*" + }; + option (google.api.method_signature) = "parent"; + } + + // Generates a new secret for https push feeds which do not support jwt + // tokens. Secrets once generated should be copied and stored in safe place + // to be used while configuring https push feeds.Please note that you can + // always generate a new secret again for a feed using this API but it will + // invalidate the previously generated secret for the feed. + rpc GenerateSecret(GenerateSecretRequest) returns (GenerateSecretResponse) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/instances/*/feeds/*}:generateSecret" + body: "*" + }; + option (google.api.method_signature) = "name"; + } +} + +// The type of URIs specified in the source URIs. +enum URISourceType { + // If encountered, will throw an `INVALID_ARGUMENT` error. + URI_SOURCE_TYPE_UNSPECIFIED = 0; + + // The type of files pointed to by `source_uris` are files. + FILES = 1; + + // The type of files pointed to by `source_uris` are folders and Xenon + // should not descend into subfolders of those folders. + FOLDERS = 2; + + // The type of files pointed to by `source_uris` are folders and Xenon + // should descend into subfolders of those folders. + FOLDERS_RECURSIVE = 3; +} + +// Source deletion option controls whether source files should be deleted after +// transferring. +enum SourceDeletionOption { + // If encountered, will be treated as `SOURCE_DELETION_NEVER`. + SOURCE_DELETION_OPTION_UNSPECIFIED = 0; + + // Never delete files from the source. + SOURCE_DELETION_NEVER = 1; + + // After the fetch completes, if there are no errors, delete files and any + // directories made empty by the file deletion from the source. + SOURCE_DELETION_ON_SUCCESS = 2; + + // After the fetch completes, if there are no errors, delete files (leaving + // any directories) from the source. + SOURCE_DELETION_ON_SUCCESS_FILES_ONLY = 3; +} + +// Source deletion option determines whether source files should be deleted +// after transferring. +enum SourceDeletionOptionV2 { + // If encountered, will be treated as `SOURCE_DELETION_NEVER`. + SOURCE_DELETION_OPTION_V2_UNSPECIFIED = 0; + + // Never delete files from the source. + NEVER = 1; + + // After the fetch completes, if there are no errors, delete files and any + // directories made empty by the file deletion from the source. + ON_SUCCESS = 2; +} + +// AWS S3 regions: +// https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region. +enum S3Region { + // Unspecified region means Auto detect. + // Auto detect does not successfully detect GOV Cloud. + S3_REGION_UNSPECIFIED = 0; + + // US. + // N. Virginia (previously known as US_STANDARD). + US_EAST_1 = 1; + + // Ohio. + US_EAST_2 = 2; + + // N. California. + US_WEST_1 = 3; + + // Oregon. + US_WEST_2 = 4; + + // Not accessible unless AWS US Govt. account. + US_GOV_CLOUD = 5; + + // Not accessible unless AWS US Govt. account. + US_GOV_EAST_1 = 6; + + // Europe. + // Ireland. + EU_WEST_1 = 7; + + // London. + EU_WEST_2 = 8; + + // Paris. + EU_WEST_3 = 9; + + // Frankfurt. + EU_CENTRAL_1 = 10; + + // Stockholm. + EU_NORTH_1 = 11; + + // Milan. + EU_SOUTH_1 = 21; + + // Asia Pacific + // Mumbai. + AP_SOUTH_1 = 12; + + // Singapore. + AP_SOUTHEAST_1 = 13; + + // Sydney. + AP_SOUTHEAST_2 = 14; + + // Jakarta. + AP_SOUTHEAST_3 = 22; + + // Tokyo. + AP_NORTHEAST_1 = 15; + + // Seoul. + AP_NORTHEAST_2 = 16; + + // Osaka. + AP_NORTHEAST_3 = 23; + + // Hong Kong. + AP_EAST_1 = 24; + + // South America. + // Sao Paulo. + SA_EAST_1 = 17; + + // China - Not accessible unless AWS China account. + // China - Beijing. + CN_NORTH_1 = 18; + + // China - Ningxia. + CN_NORTHWEST_1 = 19; + + // Canada. + // Canada Central. + CA_CENTRAL_1 = 20; + + // Africa. + // Capetown. + AF_SOUTH_1 = 25; + + // Middle East. + // Bahrain. + ME_SOUTH_1 = 26; + + // Asia Pacific (Hyderabad). + AP_SOUTH_2 = 27; + + // Asia Pacific (Melbourne). + AP_SOUTHEAST_4 = 28; + + // Canada West (Calgary). + CA_WEST_1 = 29; + + // Europe (Spain). + EU_SOUTH_2 = 30; + + // Europe (Zurich). + EU_CENTRAL_2 = 31; + + // Israel (Tel Aviv). + IL_CENTRAL_1 = 32; + + // Middle East (UAE). + ME_CENTRAL_1 = 33; +} + +// An enumeration of the possible types of a `Feed.details` field, where type +// implies both encoding and semantics. This is used in constructing a schema in +// order to construct a UI for creating well formed feeds. +enum SemanticType { + // No semantic type. All fields must specify a semantic type. + SEMANTIC_TYPE_UNSPECIFIED = 0; + + // A boolean (with no special semantics). + BOOL = 1; + + // An enum (with no special semantics). + ENUM = 2; + + // A repeated field with a Message type where the Message contains two + // fields: `key` and `value`. + KEY_VALUE_LIST = 3; + + // A `map` (with no special semantics). + MAP_STRING_STRING = 4; + + // A string (with no special semantics). + STRING = 5; + + // A repeated string (with no special semantics). + STRING_LIST = 6; + + // A string that may contain any whitespace characters (with no special + // semantics). + STRING_MULTILINE = 7; + + // A string that may contain any whitespace characters and that encodes a + // secret. + STRING_MULTILINE_SECRET = 8; + + // A string which encodes a secret. + STRING_SECRET = 9; + + // A string which encodes a URI. + STRING_URI = 10; + + // A repeated string which encodes URIs. + STRING_URI_LIST = 11; +} + +// FeedPack is a logical container for related LogTypes for which feeds can be +// configured. +message FeedPack { + option (google.api.resource) = { + type: "chronicle.googleapis.com/FeedPack" + pattern: "projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feed_pack}" + plural: "feedPacks" + singular: "feedPack" + }; + + // Type of feed pack. Feeds Page currently only lists PRODUCT_BASED packs. + enum PackType { + // Unspecified feed pack type. + PACK_TYPE_UNSPECIFIED = 0; + + // Product based feed pack type. + PRODUCT_BASED = 1; + + // Use case based feed pack type. + USECASE_BASED = 2; + + // Onboarding feed pack type. + ONBOARDING = 3; + } + + // Identifier. The resource name of the feed pack. + // Format: + // projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feed_pack} + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; + + // Output only. The display name of the feed pack. + string display_name = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The description of the feed pack. + string description = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The icon image of the content pack in base64 in png format. + bytes icon = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Categories the featured content is associated with. In case of + // product feed packs, there will be only one category. + repeated string categories = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Type of pack. + PackType pack_type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Log types featured in the pack. + repeated PackLogType pack_log_types = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Whether the feed pack should be displayed in the Feeds Page. + bool hidden = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Pack specific documentation in markdown format. + string pack_documentation = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// PackLogtype is a log type featured in the feed pack. +message PackLogType { + // Log Type featured in the feed pack. + // Format: + // projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type} + string log_type = 1; + + // Whether the logtype is required to deploy a feed pack. + bool required = 2; + + // Whether a default(prebuilt) parser is available for the given log type. + bool has_default_parser = 3; + + // The recommended source type for the log type. + FeedDetails.FeedSourceType recommended_source_type = 4; + + // The display name of the log type. + string display_name = 5; + + // Documentation to define steps on how to configure a log type. + string configuration_documentation = 6; + + // Documentation to share any CTAs for more reference. + string additional_documentation = 7; +} + +// Feed is a resource that contains feed information needed to create a feed. +message Feed { + option (google.api.resource) = { + type: "chronicle.googleapis.com/Feed" + pattern: "projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}" + }; + + // List of states a feed can have. + enum State { + // Unspecified feed state. + STATE_UNSPECIFIED = 0; + + // Feed is configured and ready to ingest data. Newly created feeds have + // this state. Once ingestion begins the feed will transition out of this + // state and will not transition back. + ACTIVE = 1; + + // Feed is Disabled. When a user disables a feed it will transition to this + // state regardless of its current state. Once enabled a feed will + // transition to its previous state. + INACTIVE = 2; + + // Feed is enabled and currently ingesting data. A feed will transition to + // this state from an ACTIVE or COMPLETED state when Chronicle has begun + // fetching data for this feed. + RUNNING = 3; + + // Feed is enabled and has recently successfully ingested data. A feed will + // transition to this state from RUNNING or FAILED once a fetch has + // completed successfully. + SUCCEEDED = 4; + + // Feed is enabled, but has recently failed to ingest data. A feed will + // transition to this state only from RUNNING once a fetch has failed. It + // will remain in this state until a subsequent fetch has succeeded. + FAILED = 5; + } + + // The resource name of the feed. + // Format: + // projects/{project}/locations/{location}/instances/{instance}/feeds/{feed} + string name = 1; + + // Output only. Unique identifier for the feed. + string uid = 9 [ + (google.api.field_info).format = UUID4, + (google.api.field_behavior) = OUTPUT_ONLY + ]; + + // Customer-provided feed name. + string display_name = 2; + + // Additional details of the feed, these details are dynamic and will be + // different for each of the feeds. + FeedDetails details = 3; + + // Output only. State of the feed. + State state = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Details about the most recent failure when feed state is + // FAILED. + string failure_msg = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Whether this feed can be updated or deleted. + bool read_only = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Latest timestamp when the transfer was successful for the + // feed. + google.protobuf.Timestamp last_feed_initiation_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Failure details for the feed. If the feed is in the failure + // state, this field will contain the details of the error cause and actions. + FeedFailureDetails failure_details = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Reference ID, this field will contain the legacy id of the + // feed. + string reference_id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// FeedFailureDetails contains details about the errors thrown by chronicle for +// the feeds. These are user visible details. These details help user identify +// the root cause and take appropriate action for the feed errors. +message FeedFailureDetails { + // Output only. error_code contains the error code for the feed. The field is + // populated for the feeds with failed status. + string error_code = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. http_error_code contains the HTTP error code for the feed + // failure. feed transfer failure may or may not result in http error code. + int32 http_error_code = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. error_cause contains the information regarding the failure + // cause. + string error_cause = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. error_action contains the user action prescribed for + // remediation of feed error. + string error_action = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// FeedServiceAccount is a resource that wraps the feed service account's name. +message FeedServiceAccount { + option (google.api.resource) = { + type: "chronicle.googleapis.com/FeedServiceAccount" + pattern: "projects/{project}/locations/{location}/instances/{instance}/feedServiceAccounts/{feed_service_account}" + }; + + // The resource name of the feedServiceAccount. + // Format: + // projects/{project}/locations/{location}/instances/{instance}/feedServiceAccounts/{feedserviceaccount} + string name = 1; + + // Unique identifier for the service account. + string subject_id = 2; +} + +// Additional details of the feed, these details are dynamic and will be +// different for each of the feeds. +message FeedDetails { + // Different types of feed sources. + enum FeedSourceType { + // Unspecified feed source type. + FEED_SOURCE_TYPE_UNSPECIFIED = 0; + + // Cloud Storage. + GOOGLE_CLOUD_STORAGE = 1; + + // HTTP. + HTTP = 2; + + // SFTP. + SFTP = 3; + + // S3. + AMAZON_S3 = 4; + + // Azure Blobstore. + AZURE_BLOBSTORE = 5; + + // API. + API = 6; + + // SQS. + AMAZON_SQS = 7; + + // Pub/Sub. + PUBSUB = 8; + + // AMAZON_KINESIS_FIREHOSE. + AMAZON_KINESIS_FIREHOSE = 9; + + // WEBHOOK. + WEBHOOK = 10; + + // HTTPS GCloud Pub/Sub. + HTTPS_PUSH_GOOGLE_CLOUD_PUBSUB = 11; + + // HTTPS Amazon Kinesis Firehose. + HTTPS_PUSH_AMAZON_KINESIS_FIREHOSE = 12; + + // HTTPS Webhook. + HTTPS_PUSH_WEBHOOK = 13; + + // Microsoft Azure native ingestion for event hub. + AZURE_EVENT_HUB = 17; + + // Google Cloud Storage Feed backed by Omniflow STS + GOOGLE_CLOUD_STORAGE_V2 = 18; + + // Amazon S3 Feed backed by Omniflow STS. + AMAZON_S3_V2 = 19; + + // Amazon SQS Feed backed by Omniflow STS. + AMAZON_SQS_V2 = 20; + + // Azure Blobstore Feed backed by Omniflow STS. + AZURE_BLOBSTORE_V2 = 21; + + // Google Cloud Storage Feed backed by Omniflow STS driven by pubsub events. + GOOGLE_CLOUD_STORAGE_EVENT_DRIVEN = 22; + + // A customized, declarative, configuration-driven connector for + // ingesting JSON data from third-party REST APIs. + CUSTOM_API = 23; + } + + // Whether the feed is ready for STS migration. + enum STSMigrationReadiness { + // Default value. This value is unused. + STS_MIGRATION_READINESS_UNSPECIFIED = 0; + + // The feed needs some work for STS migration. + NOT_READY = 1; + + // The feed is ready for STS migration. + READY = 2; + + // Need to recreate feed with updated auth. + AUTH_RECONFIG_REQUIRED = 3; + } + + // Additional details of the feed. Depends on the feed type. + oneof details { + // Anomali IOC settings. + AnomaliIocSettings anomali_settings = 3; + + // Azure AD Context settings. + AzureADContextSettings azure_ad_context_settings = 4; + + // Cloud Passage settings. + CloudPassageSettings cloud_passage_settings = 5; + + // Cortex XDR settings. + CortexXDRSettings cortex_xdr_settings = 6; + + // Duo Auth settings. + DuoAuthSettings duo_auth_settings = 7; + + // Duo User Context settings. + DuoUserContextSettings duo_user_context_settings = 8; + + // Microsoft Graph Alert settings. + MicrosoftGraphAlertSettings microsoft_graph_alert_settings = 9; + + // Microsoft Security center alert settings. + MicrosoftSecurityCenterAlertSettings + microsoft_security_center_alert_settings = 10; + + // Mimecast mail settings. + MimecastMailSettings mimecast_mail_settings = 11; + + // Office 365 settings. + Office365Settings office365_settings = 12; + + // Proofpoint mail settings. + ProofpointMailSettings proofpoint_mail_settings = 13; + + // Recorded Future IOC settings. + RecordedFutureIocSettings recorded_future_ioc_settings = 14; + + // Workday settings. + WorkdaySettings workday_settings = 15; + + // PAN IOC settings. + PanIocSettings pan_ioc_settings = 16; + + // Okta settings. + OktaSettings okta_settings = 17; + + // Okta user context settings. + OktaUserContextSettings okta_user_context_settings = 18; + + // Fox-IT STIX settings. + FoxITStixSettings fox_it_stix_settings = 19; + + // ThreatConnect IOC settings. + ThreatConnectIoCSettings threat_connect_ioc_settings = 20; + + // ServiceNow CMDB settings. + ServiceNowCMDBSettings service_now_cmdb_settings = 21; + + // Imperva WAF settings. + ImpervaWAFSettings imperva_waf_settings = 22; + + // Thinkst Canary settings. + ThinkstCanarySettings thinkst_canary_settings = 23; + + // RH-ISAC IOC settings. + RHIsacIocSettings rh_isac_ioc_settings = 24; + + // Rapid7 Insight settings. + Rapid7InsightSettings rapid7_insight_settings = 25; + + // Salesforce settings. + SalesforceSettings salesforce_settings = 26; + + // Netskope alert settings. + NetskopeAlertSettings netskope_alert_settings = 27; + + // Azure MDM Intune settings. + AzureMDMIntuneSettings azure_mdm_intune_settings = 28; + + // Azure AD settings. + AzureADSettings azure_ad_settings = 29; + + // Proofpoint On-Demand settings. + ProofpointOnDemandSettings proofpoint_on_demand_settings = 30; + + // Workspace users settings. + WorkspaceUsersSettings workspace_users_settings = 31; + + // Workspace activity settings. + WorkspaceActivitySettings workspace_activity_settings = 32; + + // Workspace alerts settings. + WorkspaceAlertsSettings workspace_alerts_settings = 33; + + // Workspace privileges settings. + WorkspacePrivilegesSettings workspace_privileges_settings = 34; + + // Workspace mobile settings. + WorkspaceMobileSettings workspace_mobile_settings = 35; + + // Workspace ChromeOS settings. + WorkspaceChromeOSSettings workspace_chrome_os_settings = 36; + + // Workspace Groups settings. + WorkspaceGroupsSettings workspace_groups_settings = 37; + + // Azure AD Audit settings. + AzureADAuditSettings azure_ad_audit_settings = 38; + + // Symantec Event Export settings. + SymantecEventExportSettings symantec_event_export_settings = 39; + + // Qualys VM settings + QualysVMSettings qualys_vm_settings = 40; + + // PAN Prisma Cloud settings. + PanPrismaCloudSettings pan_prisma_cloud_settings = 41; + + // Google Cloud Storage settings. + GoogleCloudStorageSettings gcs_settings = 42; + + // HTTP settings. + HttpSettings http_settings = 43; + + // SFTP settings. + SftpSettings sftp_settings = 44; + + // Amazon S3 settings. + AmazonS3Settings amazon_s3_settings = 45; + + // Azure Blob Storage settings. + AzureBlobStoreSettings azure_blob_store_settings = 46; + + // Amazon SQS settings. + AmazonSQSSettings amazon_sqs_settings = 47; + + // Google Cloud Identity Devices settings. + GoogleCloudIdentityDevicesSettings google_cloud_identity_devices_settings = + 48; + + // Google Cloud Identity Device Users settings. + GoogleCloudIdentityDeviceUsersSettings + google_cloud_identity_device_users_settings = 49; + + // CrowdStrike Detects API settings. + CrowdStrikeDetectsSettings crowdstrike_detects_settings = 50; + + // Mandiant IOC settings. + MandiantIoCSettings mandiant_ioc_settings = 53; + + // SentinelOne Alert settings. + SentineloneAlertSettings sentinelone_alert_settings = 54; + + // Qualys Scan Settings + QualysScanSettings qualys_scan_settings = 55; + + // Pub/Sub settings. + PubsubSettings pubsub_settings = 56; + + // Amazon Kinesis Firehose settings. + AmazonKinesisFirehoseSettings amazon_kinesis_firehose_settings = 57; + + // Webhook settings. + WebhookSettings webhook_settings = 58; + + // DummyLogType Settings. + DummyLogTypeSettings dummy_log_type_settings = 59; + + // Https push Google Pub/Sub settings. + HttpsPushGoogleCloudPubSubSettings https_push_google_cloud_pubsub_settings = + 60; + + // Https push Amazon Kinesis Firehose settings. + HttpsPushAmazonKinesisFirehoseSettings + https_push_amazon_kinesis_firehose_settings = 61; + + // Https push Webhook settings. + HttpsPushWebhookSettings https_push_webhook_settings = 62; + + // AWS EC2 Hosts settings. + AWSEC2HostsSettings aws_ec2_hosts_settings = 63; + + // AWS EC2 Instances settings. + AWSEC2InstancesSettings aws_ec2_instances_settings = 64; + + // AWS EC2 Vpcs settings. + AWSEC2VpcsSettings aws_ec2_vpcs_settings = 65; + + // AWS IAM settings. + AWSIAMSettings aws_iam_settings = 66; + + // Netskope alert V2 settings. + NetskopeAlertV2Settings netskope_alert_v2_settings = 70; + + // Settings for Google Cloud Storage Omniflow feeds. + GoogleCloudStorageV2Settings gcs_v2_settings = 71; + + // Settings for S3 Omniflow feeds. + AmazonS3V2Settings amazon_s3_v2_settings = 72; + + // Settings for SQS Omniflow feeds. + AmazonSQSV2Settings amazon_sqs_v2_settings = 73; + + // Settings for Omniflow based native ingestion from azure event hub. + AzureEventHubSettings azure_event_hub_settings = 74; + + // Settings for Trellix HX Host Metadata. + TrellixHxHostsSettings trellix_hx_hosts_settings = 75; + + // Settings for Azure Blobstore Omniflow feeds. + AzureBlobStoreV2Settings azure_blob_store_v2_settings = 76; + + // Settings for Trellix HX Alerts Metadata. + TrellixHxAlertsSettings trellix_hx_alerts_settings = 77; + + // Settings for Omniflow based Google Cloud Storage event driven feeds. + GoogleCloudStorageEventDrivenSettings + google_cloud_storage_event_driven_settings = 78; + + // CrowdStrike Alerts API settings. + CrowdStrikeAlertsSettings crowdstrike_alerts_settings = 79; + + // Settings for Trellix HX Bulk Acquisitions Metadata. + TrellixHxBulkAcqsSettings trellix_hx_bulk_acqs_settings = 80; + + // Required. Mimecast mail v2 settings. + MimecastMailV2Settings mimecast_mail_v2_settings = 82 + [(google.api.field_behavior) = REQUIRED]; + + // Threat Connect IOC V3 settings. + ThreatConnectIoCV3Settings threat_connect_ioc_v3_settings = 83; + + // Settings for Custom API (Codeless) Feeds. + CustomAPISettings custom_api_settings = 85; + } + + // Source Type of the feed. + FeedSourceType feed_source_type = 1; + + // LogType. + // Format: + // projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type} + string log_type = 2 [(google.api.resource_reference) = { + type: "chronicle.googleapis.com/LogType" + }]; + + // The asset namespace to apply to all logs ingested through this feed. + string asset_namespace = 51; + + // The ingestion metadata labels to apply to all logs ingested through this + // feed, and the resulting normalized data. + map labels = 52; + + // Optional. The status of the feed's migration to STS. + STSMigrationReadiness sts_migration_readiness = 81 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The time of the last attempt to migrate the feed to STS V2. + google.protobuf.Timestamp last_v2_migration_attempt_time = 84 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Settings required by Feeds of DummyLogType(used for testing purposes). +message DummyLogTypeSettings { + // Input only. Authentication. + HttpHeaderAuth authentication = 1 [(google.api.field_behavior) = INPUT_ONLY]; + + // Full API Endpoint. + string api_endpoint = 2; +} + +// Settings required by Google Cloud Platform Pub/Sub Feeds(HTTPS-Push V2). +message HttpsPushGoogleCloudPubSubSettings { + // Optional. Delimiter to split on for the feed. + string split_delimiter = 1 [(google.api.field_behavior) = OPTIONAL]; +} + +// Settings required by Amazon Kinesis Firehose Feeds(HTTPS-Push V2). +message HttpsPushAmazonKinesisFirehoseSettings { + // Optional. Delimiter to split on for the feed. + string split_delimiter = 1 [(google.api.field_behavior) = OPTIONAL]; +} + +// Settings required by Webhook Feeds(HTTPS-Push V2). +message HttpsPushWebhookSettings { + // Optional. Delimiter to split on for the feed. + string split_delimiter = 1 [(google.api.field_behavior) = OPTIONAL]; +} + +// SentinelOne Alert settings. +message SentineloneAlertSettings { + // Input only. Authentication. + HttpHeaderAuth authentication = 1 [(google.api.field_behavior) = INPUT_ONLY]; + + // Hostname of SentinelOne alert settings. + string hostname = 2; + + // initialStartTime from when to fetch the alerts + string initial_start_time = 3; + + // Is the customer subscribed to Alerts Api + bool is_alert_api_subscribed = 4; +} + +// Qualys Scan settings. +message QualysScanSettings { + // API Type + enum ApiType { + // Unspecified API Type + API_TYPE_UNSPECIFIED = 0; + + // Scan Summaries + SCAN_SUMMARY_OUTPUT = 1; + + // Scan Compliance + SCAN_COMPLIANCE_OUTPUT = 2; + + // Scan Compliance Control + SCAN_COMPLIANCE_CONTROL_OUTPUT = 3; + } + + // Input only. Authentication + UsernameSecretAuth authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; + + // Hostname. + string hostname = 2; + + // Supported Qualys Scan api type. + ApiType api_type = 3; +} + +// Settings required by Google Cloud Pub/Sub Feeds(HTTP-Push). +message PubsubSettings { + // Google Service Account Email. + string google_service_account_email = 1; +} + +// Settings required by Amazon Kinesis Firehose Feeds(HTTP-Push). +message AmazonKinesisFirehoseSettings {} + +// Settings required by Webhook Feeds(HTTP-Push). +message WebhookSettings {} + +// Amazon SQS settings. +message AmazonSQSSettings { + // S3 Region. + S3Region region = 1; + + // Name of the queue. + string queue = 2; + + // Account number of the owner of the queue. + string account_number = 3; + + // Input only. Authentication. + SQSAuth authentication = 4 [(google.api.field_behavior) = INPUT_ONLY]; + + // Source deletion option. + SourceDeletionOption source_deletion_option = 5; +} + +// Anomali IOC settings. +message AnomaliIocSettings { + // Input only. Authentication. + UsernameSecretAuth authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; + + // Optional. The hostname of the Anomali ThreatStream instance. + string hostname = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// Azure AD settings. +message AzureADSettings { + // Input only. Authentication. + MicrosoftOAuthClientCredentials authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; + + // Tenant ID. + string tenant_id = 2; + + // API Hostname. + string hostname = 3; + + // API Auth Endpoint. + string auth_endpoint = 4; +} + +// Azure AD Audit settings. +message AzureADAuditSettings { + // Input only. Authentication. + MicrosoftOAuthClientCredentials authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; + + // Tenant ID. + string tenant_id = 2; + + // API Hostname. + string hostname = 3; + + // API Auth Endpoint. + string auth_endpoint = 4; +} + +// Azure AD Context settings. +message AzureADContextSettings { + // Input only. Authentication. + MicrosoftOAuthClientCredentials authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; + + // Whether to retrieve device information in user context. + bool retrieve_devices = 2; + + // Whether to retrieve group information in user context. + bool retrieve_groups = 3; + + // Tenant ID. + string tenant_id = 4; + + // API Hostname. + string hostname = 5; + + // API Auth Endpoint. + string auth_endpoint = 6; +} + +// CloudPassage settings. +message CloudPassageSettings { + // Input only. Authentication. + UsernameSecretAuth authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; + + // Event types filter for the events API. + repeated string event_types = 2; +} + +// PAN Cortex XDR settings. +message CortexXDRSettings { + // Input only. Authentication. + HttpHeaderAuth authentication = 1 [(google.api.field_behavior) = INPUT_ONLY]; + + // API Hostname. + string hostname = 2; + + // API Endpoint. + string endpoint = 3; +} + +// CrowdStrike Detects settings. +message CrowdStrikeDetectsSettings { + // Ingestion Type. + enum IngestionType { + // For the feeds in which this field is not set + INGESTION_TYPE_UNSPECIFIED = 0; + + // Ingests only new detections to be ingested. + BRING_ONLY_NEW_DETECTIONS = 1; + + // Ingests both new as well as old detections which are updated + BRING_ALL_DETECTIONS = 2; + } + + // Input only. OAuthClientCredentials. + OAuthClientCredentials authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; + + // API Hostname. + string hostname = 2; + + // Optional. Ingestion Type. + IngestionType ingestion_type = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// CrowdStrike Alerts settings. +message CrowdStrikeAlertsSettings { + // Ingestion Type. + enum IngestionType { + // For the feeds in which this field is not set + INGESTION_TYPE_UNSPECIFIED = 0; + + // Ingests both new as well as old alerts which are updated + BRING_ALL_ALERTS = 1; + + // Ingests only new alerts to be ingested. + BRING_ONLY_NEW_ALERTS = 2; + } + + // Required. OAuthClientCredentials. + OAuthClientCredentials authentication = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. API Hostname. + string hostname = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Ingestion Type. + IngestionType ingestion_type = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Duo Authentication settings. +message DuoAuthSettings { + // Input only. Authentication. + UsernameSecretAuth authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; + + // API Hostname. + string hostname = 2; +} + +// Duo User Context settings. +message DuoUserContextSettings { + // Input only. Authentication. + UsernameSecretAuth authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; + + // API hostname. + string hostname = 2; +} + +// Microsoft Graph Alert settings. +message MicrosoftGraphAlertSettings { + // Input only. Authentication. + MicrosoftOAuthClientCredentials authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; + + // Tenant ID. + string tenant_id = 2; + + // API Hostname. + string hostname = 3; + + // API Auth Endpoint. + string auth_endpoint = 4; +} + +// Microsoft Security Center alert settings. +message MicrosoftSecurityCenterAlertSettings { + // Input only. Authentication. + MicrosoftOAuthClientCredentials authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; + + // Subscription ID of the Microsoft security center alert settings alert. + string subscription_id = 2; + + // Tenant ID. + string tenant_id = 3; + + // API Hostname. + string hostname = 4; + + // API Auth Endpoint. + string auth_endpoint = 5; +} + +// Mimecast Mail settings. +message MimecastMailSettings { + // Input only. Authentication. + HttpHeaderAuth authentication = 1 [(google.api.field_behavior) = INPUT_ONLY]; + + // API Hostname. + string hostname = 2; +} + +// Mimecast Mail V2 Settings. +message MimecastMailV2Settings { + // Required. Mimecast OAuthClientCredentials. + MimecastV2OAuthClientCredentials auth_credentials = 1 + [(google.api.field_behavior) = REQUIRED]; +} + +// Office 365 settings. +message Office365Settings { + // Office 365 supported content types: + // https://docs.microsoft.com/en-us/office/office-365-management-api/office-365-management-activity-api-reference#working-with-the-office-365-management-activity-api + enum ContentType { + // Unspecified content type. + CONTENT_TYPE_UNSPECIFIED = 0; + + // Audit.AzureActiveDirectory. + AUDIT_AZURE_ACTIVE_DIRECTORY = 1; + + // Audit.Exchange. + AUDIT_EXCHANGE = 2; + + // Audit.SharePoint. + AUDIT_SHARE_POINT = 3; + + // Audit.General. + AUDIT_GENERAL = 4; + + // DLP.All. + DLP_ALL = 5; + } + + // Input only. Authentication. + MicrosoftOAuthClientCredentials authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; + + // Tenant ID. + string tenant_id = 2; + + // Supported office 365 content type. + ContentType content_type = 3; + + // API Hostname. + string hostname = 4; + + // API Auth Endpoint. + string auth_endpoint = 5; +} + +// Proofpoint Mail settings. +message ProofpointMailSettings { + // Input only. Authentication. + UsernameSecretAuth authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; +} + +// Proofpoint On-demand settings. +message ProofpointOnDemandSettings { + // Input only. Authentication. + HttpHeaderAuth authentication = 1 [(google.api.field_behavior) = INPUT_ONLY]; + + // Cluster ID. + string cluster_id = 2; +} + +// Recorded Future IOC settings. +message RecordedFutureIocSettings { + // Input only. Authentication. + HttpHeaderAuth authentication = 1 [(google.api.field_behavior) = INPUT_ONLY]; +} + +// Workday settings. +message WorkdaySettings { + // Input only. Authentication. + WorkdayAuth authentication = 1 [(google.api.field_behavior) = INPUT_ONLY]; + + // API Hostname. + string hostname = 2; + + // Tenant ID. + string tenant_id = 3; +} + +// PAN IOC settings. +message PanIocSettings { + // Input only. Authentication. + HttpHeaderAuth authentication = 1 [(google.api.field_behavior) = INPUT_ONLY]; + + // PAN IOC feed ID. + string feed_id = 2; + + // PAN IOC feed name. + string feed = 3; +} + +// Okta settings. +message OktaSettings { + // Input only. Authentication. + HttpHeaderAuth authentication = 1 [(google.api.field_behavior) = INPUT_ONLY]; + + // API Hostname. + string hostname = 2; +} + +// Okta user context settings. +message OktaUserContextSettings { + // Input only. Authentication. + HttpHeaderAuth authentication = 1 [(google.api.field_behavior) = INPUT_ONLY]; + + // API Hostname. + string hostname = 2; + + // Manager id reference field. + string manager_id_reference_field = 3; +} + +// Fox-IT STIX settings. +message FoxITStixSettings { + // Input only. Authentication. + UsernameSecretAuth authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; + + // SSL client key pair. + SSLClientKeypair ssl = 2; + + // TAXII poll service URI. + string poll_service_uri = 3; + + // Collection available at the poll service. + string collection = 4; +} + +// ThreatConnect IOC Settings. +message ThreatConnectIoCSettings { + // Input only. Authentication. + UsernameSecretAuth authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; + + // API Hostname. + string hostname = 2; + + // Owners. + repeated string owners = 3; +} + +// ThreatConnectIoCV3Settings +message ThreatConnectIoCV3Settings { + // Required. Input only. UsernameSecretAuth. + UsernameSecretAuth authentication = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = INPUT_ONLY + ]; + + // Required. hostname. + string hostname = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. Owners. + repeated string owners = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. ThreatConnect Query Language filter. + string tql_query = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Fields + repeated string fields = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Schedule + int32 schedule = 6 [(google.api.field_behavior) = OPTIONAL]; +} + +// ServiceNow CMDB settings. +message ServiceNowCMDBSettings { + // Input only. Authentication. + UsernameSecretAuth authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; + + // API Hostname. + string hostname = 2; + + // Feedname. + string feedname = 3; +} + +// Imperva WAF settings. +message ImpervaWAFSettings { + // Input only. Authentication. + HttpHeaderAuth authentication = 1 [(google.api.field_behavior) = INPUT_ONLY]; +} + +// Thinkst Canary settings. +message ThinkstCanarySettings { + // Input only. Authentication. + HttpHeaderAuth authentication = 1 [(google.api.field_behavior) = INPUT_ONLY]; + + // API Hostname. + string hostname = 2; +} + +// RH-ISAC settings. +message RHIsacIocSettings { + // Input only. Authentication. + OAuthClientCredentials authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; +} + +// Rapid7 Insight settings. +message Rapid7InsightSettings { + // Input only. Authentication. + HttpHeaderAuth authentication = 1 [(google.api.field_behavior) = INPUT_ONLY]; + + // Rapid7 API endpoint. Should be "vulnerabilities" or "assets". + string endpoint = 2; + + // API Hostname. + string hostname = 3; +} + +// Salesforce settings. +message SalesforceSettings { + // Possible types of authentication. + oneof authentication { + // Input only. OAuthPasswordGrantCredentials auth. + OAuthPasswordGrantCredentials oauth_password_grant_auth = 1 + [(google.api.field_behavior) = INPUT_ONLY]; + + // Input only. OAuthJWTCredentials auth. + OAuthJWTCredentials oauth_jwt_credentials = 2 + [(google.api.field_behavior) = INPUT_ONLY]; + } + + // API hostname. + string hostname = 3; +} + +// Mandiant IOC settings. +message MandiantIoCSettings { + // Input only. Authentication. + HttpHeaderAuth authentication = 1 [(google.api.field_behavior) = INPUT_ONLY]; + + // time since when to start fetching the IOCs + google.protobuf.Timestamp start_time = 2; +} + +// Netskope Alert settings. +message NetskopeAlertSettings { + // Input only. Authentication. + HttpHeaderAuth authentication = 1 [(google.api.field_behavior) = INPUT_ONLY]; + + // API Hostname. + string hostname = 2; + + // Feedname. + string feedname = 3; + + // Content type. + string content_type = 4; +} + +// Netskope Alert V2 settings. +message NetskopeAlertV2Settings { + // Input only. Authentication. + HttpHeaderAuth authentication = 1 [(google.api.field_behavior) = INPUT_ONLY]; + + // API Hostname. + string hostname = 2; + + // Content Category. + string content_category = 3; + + // Content type. + repeated string content_types = 4; +} + +// Azure MDM Intune settings. +message AzureMDMIntuneSettings { + // Input only. Authentication. + MicrosoftOAuthClientCredentials authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; + + // Tenant ID. + string tenant_id = 2; + + // API Hostname. + string hostname = 3; + + // API Auth Endpoint. + string auth_endpoint = 4; +} + +// Workspace Users settings. +message WorkspaceUsersSettings { + // Projection Type. + enum ProjectionType { + // For the feeds in which this field is not set. + PROJECTION_TYPE_UNSPECIFIED = 0; + + // Do not include any custom fields for the user. + BASIC_PROJECTION = 1; + + // Include both basic and custom fields associated with this user. + FULL_PROJECTION = 2; + } + + // Input only. Authentication. + OAuthJWTCredentials authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; + + // Customer ID. + string workspace_customer_id = 2; + + // Optional. Projection Type. + ProjectionType projection_type = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Workspace Activity settings. +message WorkspaceActivitySettings { + // Input only. Authentication. + OAuthJWTCredentials authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; + + // Customer ID. + string workspace_customer_id = 2; + + // Applications. + repeated string applications = 3; +} + +// Workspace Alert settings. +message WorkspaceAlertsSettings { + // Input only. Authentication. + OAuthJWTCredentials authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; + + // Customer ID. + string workspace_customer_id = 2; +} + +// Workspace Privileges settings. +message WorkspacePrivilegesSettings { + // Input only. Authentication. + OAuthJWTCredentials authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; + + // Customer ID. + string workspace_customer_id = 2; +} + +// Workspace Mobile settings. +message WorkspaceMobileSettings { + // Input only. Authentication. + OAuthJWTCredentials authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; + + // Customer ID. + string workspace_customer_id = 2; +} + +// Workspace Chrome OS settings. +message WorkspaceChromeOSSettings { + // Input only. Authentication. + OAuthJWTCredentials authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; + + // Customer ID. + string workspace_customer_id = 2; +} + +// Workspace Groups settings. +message WorkspaceGroupsSettings { + // Input only. Authentication. + OAuthJWTCredentials authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; + + // Customer ID. + string workspace_customer_id = 2; +} + +// Google Cloud Identity Devices settings. +message GoogleCloudIdentityDevicesSettings { + // Input only. Authentication + OAuthJWTCredentials authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; + + // API Version + string api_version = 2; +} + +// Google Cloud Identity Device Users settings. +message GoogleCloudIdentityDeviceUsersSettings { + // Input only. Authentication. + OAuthJWTCredentials authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; +} + +// Symantec Event Export settings. +message SymantecEventExportSettings { + // Input only. Authentication. + OAuthRefreshToken authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; +} + +// Qualys VM settings. +message QualysVMSettings { + // Input only. Authentication. + UsernameSecretAuth authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; + + // API Hostname. + string hostname = 2; +} + +// PAN Prisma Cloud settings. +message PanPrismaCloudSettings { + // Input only. Authentication. + PanPrismaAuth authentication = 1 [(google.api.field_behavior) = INPUT_ONLY]; + + // API Hostname. + string hostname = 2; +} + +// SFTP settings. +message SftpSettings { + // Input only. Authentication. + SftpAuth authentication = 1 [(google.api.field_behavior) = INPUT_ONLY]; + + // SFTP URI. + string uri = 2; + + // The URI source type. + URISourceType source_type = 3; + + // Source deletion option. + SourceDeletionOption source_deletion_option = 4; +} + +// Google Cloud Storage settings. +message GoogleCloudStorageSettings { + // Bucket URI. + string bucket_uri = 1; + + // The URI source type. + URISourceType source_type = 2; + + // Source deletion option. + SourceDeletionOption source_deletion_option = 3; + + // Output only. Service Account Chronicle will be using to pull data. + string chronicle_service_account = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// HTTP settings. +message HttpSettings { + // HTTP URI. + string uri = 1; + + // The URI source type. + URISourceType source_type = 2; + + // Source deletion option. + SourceDeletionOption source_deletion_option = 3; +} + +// Amazon S3 settings. +message AmazonS3Settings { + // Input only. Authentication. + S3Auth authentication = 1 [(google.api.field_behavior) = INPUT_ONLY]; + + // S3 URI. + string s3_uri = 2; + + // The URI source type. + URISourceType source_type = 3; + + // Source deletion option. + SourceDeletionOption source_deletion_option = 4; +} + +// Azure Blob Storage settings. +message AzureBlobStoreSettings { + // Input only. Authentication. + AzureAuth authentication = 1 [(google.api.field_behavior) = INPUT_ONLY]; + + // Azure URI. + string azure_uri = 2; + + // The URI source type. + URISourceType source_type = 3; + + // Source deletion option. + SourceDeletionOption source_deletion_option = 4; +} + +// AWS EC2 Hosts Settings. +message AWSEC2HostsSettings { + // Input only. UsernameSecretAuth. + UsernameSecretAuth authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; +} + +// AWS EC2 Instances Settings. +message AWSEC2InstancesSettings { + // Input only. UsernameSecretAuth. + UsernameSecretAuth authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; +} + +// AWS EC2 Vpcs Settings. +message AWSEC2VpcsSettings { + // Input only. UsernameSecretAuth. + UsernameSecretAuth authentication = 1 + [(google.api.field_behavior) = INPUT_ONLY]; +} + +// AWSIAMSettings contains details needed for creating an AWS IAM feed. +message AWSIAMSettings { + // API Type + enum ApiType { + // API Type Unspecified + API_TYPE_UNSPECIFIED = 0; + + // Users. + USERS = 1; + + // Roles. + ROLES = 2; + + // Groups. + GROUPS = 3; + } + + // Input only. Authentication + UsernameSecretAuth authentication = 2 + [(google.api.field_behavior) = INPUT_ONLY]; + + // Supported AWS IAM api type. + ApiType api_type = 3; +} + +// Azure auth. +message AzureAuth { + // Type of auth used with Azure. + oneof auth_type { + // Shared Key. + string shared_key = 1; + + // SAS Token. + string sas_token = 2; + } +} + +// Amazon SQS auth. +message SQSAuth { + // SQS access key secret auth. + SQSAccessKeySecretAuth sqs_access_key_secret_auth = 1; + + // Authentication for the S3 bucket referred to by the items in the SQS queue. + // This is only required if it is different from the authentication for the + // queue. + AdditionalS3AccessKeySecretAuth additional_s3_access_key_secret_auth = 2; +} + +// A message containing fields used to authenticate with Amazon SQS. +message SQSAuthV2 { + // auth tyoe for the SQS queue. + oneof auth_type { + // Required. Auth key and secret for the SQS queue. + SQSV2AccessKeySecretAuth sqs_v2_access_key_secret_auth = 3 + [(google.api.field_behavior) = REQUIRED]; + + // Required. AWS IAM Role for Identity Federation. + SQSV2AwsIamRoleAuth aws_iam_role_auth = 5 + [(google.api.field_behavior) = REQUIRED]; + } +} + +// AWS IAM Role Auth for SQS V2. +message SQSV2AwsIamRoleAuth { + // AWS IAM Role for Identity Federation. + string aws_iam_role_arn = 1; + + // Subject ID to use for SQS. + string subject_id = 2; +} + +// SQS V2 access key and secret auth. +message SQSV2AccessKeySecretAuth { + // Access key ID of the S3 bucket. Ex: AKIABCDEFGHIJKL. + string access_key_id = 1; + + // Secret access key to access the S3 bucket. + string secret_access_key = 2; +} + +// Amazon SQS access key and secret auth. +message SQSAccessKeySecretAuth { + // Access key ID. + string access_key_id = 1; + + // Secret access key. + string secret_access_key = 2; +} + +// Additional S3 access key secret auth. +message AdditionalS3AccessKeySecretAuth { + // Access key ID. + string access_key_id = 1; + + // Secret access key. + string secret_access_key = 2; +} + +// Amazon S3 auth. +message S3Auth { + // Access key ID. Used when using access key auth. + string access_key_id = 1; + + // Secret access key. Used when using access key auth. + string secret_access_key = 2; + + // Client ID. Used when using OAuth auth. + string client_id = 3; + + // Client secret. Used when using OAuth auth. + string client_secret = 4; + + // Refresh URI. Used when using OAuth auth. + string refresh_uri = 5; + + // S3 Region. + S3Region region = 6; +} + +// OAuth 2.0 refresh token grant. See https://tools.ietf.org/html/rfc6749. +message OAuthRefreshToken { + // Token endpoint to get the OAuth token from. + string token_endpoint = 1; + + // Client ID. + string client_id = 2; + + // Client secret. + string client_secret = 3; + + // Refresh token. + string refresh_token = 4; +} + +// SFTP Auth. +message SftpAuth { + // Username. Used for username and password authentication. + string username = 1; + + // Password. Used for username and password authentication. + string password = 2; + + // Private key. Used for private key authentication. + string private_key = 3; + + // Private key passphrase. Used for private key authentication. + string private_key_passphrase = 4; +} + +// HTTP header based authentication. +message HttpHeaderAuth { + // Header key-value pairs. + repeated HeaderKeyValue header_key_values = 1; +} + +// Header key-value pairs. +message HeaderKeyValue { + // Key. + string key = 1; + + // Value. + string value = 2; +} + +// Info for username and secret based authentication. +message UsernameSecretAuth { + // Username of an identity used for authentication. + string user = 1; + + // Secret of the account identified by user_name. + string secret = 2; +} + +// Microsoft OAuth 2.0 client credentials grant. +message MicrosoftOAuthClientCredentials { + // Client ID. + string client_id = 1; + + // Client secret. + string client_secret = 2; +} + +// OAuth 2.0 client credentials grant. See https://tools.ietf.org/html/rfc6749. +message OAuthClientCredentials { + // Token endpoint. + string token_endpoint = 1; + + // Client ID. + string client_id = 2; + + // Client secret. + string client_secret = 3; +} + +// OAuth 2.0 password grant. See https://tools.ietf.org/html/rfc6749. +message OAuthPasswordGrantCredentials { + // Token endpoint to get the OAuth token from. + string token_endpoint = 1; + + // Client ID. + string client_id = 2; + + // Client secret. + string client_secret = 3; + + // Username. + string user = 4; + + // Password. + string password = 5; +} + +// PAN Prisma Cloud auth. +message PanPrismaAuth { + // Username. + string user = 1; + + // Password. + string password = 2; +} + +// OAuth 2.0 JWT grant. See, https://tools.ietf.org/html/rfc7519 +message OAuthJWTCredentials { + // Credentials. + oneof credentials { + // RS credentials. + RSCredentials rs_credentials = 3; + } + + // Token endpoint to get the OAuth token from. + string token_endpoint = 1; + + // Claims. + Claims claims = 2; +} + +// RS credentials. +message RSCredentials { + // Private key in PEM format. + string private_key = 1; +} + +// Claims identifying a specific customer. +message Claims { + // Issuer. Usually the client_id. + string issuer = 1; + + // Subject. Usually the email. + string subject = 2; + + // Audience. + string audience = 3; +} + +// An SSL client certificate keypair. +message SSLClientKeypair { + // The encoded private key. The string should be a private key in PEM format, + // and should include the begin header and end footer lines. It may also + // include newlines. + // + // Example: + // -----BEGIN RSA PRIVATE KEY----- + // Proc-Type: 4,ENCRYPTED + // DEK-Info: DES-EDE3-CBC,F23074E02CF47304 + // + // + // -----END RSA PRIVATE KEY----- + string encoded_private_key = 1; + + // The encoded SSL certificate. The string should be an SSL certificate in + // PEM format, and should include the begin header and end footer lines. It + // may also include newlines. + // + // Example: + // -----BEGIN CERTIFICATE----- + // + // -----END CERTIFICATE----- + string ssl_certificate = 2; +} + +// Authentication for Workday. +message WorkdayAuth { + // Username. This is unused: Workday feeds were originally configured using a + // username and secret authentication method, but only the secret field was + // used, and it was used to supply the OAuth access token. + string user = 1; + + // The access token used to authenticate against Workday. This field is called + // "secret" to maintain backwards compatibility. Workday was (only) configured + // using username (which was unused) and secret (which is used as the access + // token). Either this field or all of the other OAuth fields below must be + // specified. + string secret = 2; + + // Token endpoint to get the OAuth token from. + string token_endpoint = 3; + + // Client ID. + string client_id = 4; + + // Client Secret. + string client_secret = 5; + + // Refresh Token. + string refresh_token = 6; +} + +// GoogleCloudStorageV2Settings is the settings proto for Omniflow Google Cloud +// Storage feeds. +message GoogleCloudStorageV2Settings { + // Required. Google Cloud Storage Bucket URI for the feed. + string bucket_uri = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Source deletion option determines if the data from the source is + // to be deleted after ingestion. + SourceDeletionOptionV2 source_deletion_option = 2 + [(google.api.field_behavior) = OPTIONAL]; + + // Output only. SA that will read data, this is Storage Transfer Service SA of + // Customer's Tenancy Project. + string chronicle_service_account = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Maximum File Age to ingest in days. + int32 max_lookback_days = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Optional list of object prefixes to include. + repeated string include_prefixes = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// GoogleCloudStorageEventDrivenSettings is the settings proto for Omniflow +// Google Cloud Storage feeds driven by pubsub events. +message GoogleCloudStorageEventDrivenSettings { + // Required. Google Cloud Storage Bucket URI for the feed. + string bucket_uri = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Subscription name for pubsub topic. + string pubsub_subscription = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Source deletion option determines if the data from the source is + // to be deleted after ingestion. + SourceDeletionOptionV2 source_deletion_option = 3 + [(google.api.field_behavior) = OPTIONAL]; + + // Output only. SA that will read data, this is Storage Transfer Service SA of + // Customer's Tenancy Project. + string chronicle_service_account = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Maximum File Age to ingest in days. + int32 max_lookback_days = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Optional list of object prefixes to include. + repeated string include_prefixes = 6 [(google.api.field_behavior) = OPTIONAL]; +} + +// A message containing fields used to authenticate with Amazon S3. +message S3AuthV2 { + // auth type for S3. + oneof auth_type { + // Access Key ID and Secret Access Key for an AWS account. + S3V2AccessKeySecretAuth access_key_secret_auth = 3; + + // AWS IAM Role Auth for Identity Federation. + S3V2AwsIamRoleAuth aws_iam_role_auth = 5; + } +} + +// AWS IAM Role Auth for S3 V2. +message S3V2AwsIamRoleAuth { + // AWS IAM Role for Identity Federation. + string aws_iam_role_arn = 1; + + // Subject ID to use for S3. + string subject_id = 2; +} + +// S3 V2 access key and secret auth. +message S3V2AccessKeySecretAuth { + // Required. Access Key ID for an AWS account (a 20-character, alphanumeric + // string). + string access_key_id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Secret Access Key for an AWS account (a 40-character string). + string secret_access_key = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// AmazonS3V2Settings is the settings proto for Omniflow S3 feeds. +message AmazonS3V2Settings { + // Required. Authentication. + S3AuthV2 authentication = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. S3 URI. + string s3_uri = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Source deletion option. + SourceDeletionOptionV2 source_deletion_option = 3 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Maximum File Age to ingest in days. + int32 max_lookback_days = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. SA that will read data, this is Storage Transfer Service SA of + // Customer's Tenancy Project. + string chronicle_service_account = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Optional list of object prefixes to include. + repeated string include_prefixes = 6 [(google.api.field_behavior) = OPTIONAL]; +} + +// Info for MssoAuthentication using a username, password, and login api +// endpoint. +message MssoAuthentication { + // Required. Username for MSSO authentication. + // There are no restrictions on the format of the username. It has no default, + // specifically enforced min / max length or character set. The username + // will have been provided by an MSSO administrator and it is assumed that + // they have provided a username that is internally consistent with MSSO + // authentication requirements / validation. + string username = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Password of the account identified by username. + // There are no restrictions on the format of the password. It has no default, + // specifically enforced min / max length or character set. The password + // will have been provided by an MSSO administrator and it is assumed that + // they have provided a password that is internally consistent with MSSO + // authentication requirements / validation. + string password = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The login api endpoint url. + // This must be a valid URL with an http or https scheme. It has no default. + string api_endpoint = 3 [(google.api.field_behavior) = REQUIRED]; +} + +// OAuth 2.0 client credentials grant. See https://tools.ietf.org/html/rfc6749. +message MimecastV2OAuthClientCredentials { + // Required. Client ID. + string client_id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Client Secret. + string client_secret = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Settings for TrellixIAMAuthentication. +message TrellixIAMAuthentication { + // Required. Client ID generated in Trellix IAM. + // This is a unique identifier for the user that is generated in Trellix IAM. + // It has no default, specifically enforced min / max length or character set. + // It is assumed that the Client ID generated in Trellix IAM is internally + // consistent with Trellix IAM authentication requirements / validation. + string client_id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Secret associated with the Client ID. + // This is the secret generated in Trellix IAM for the Client ID. It has no + // default, specifically enforced min / max length or character set. It is + // assumed that the secret generated in Trellix IAM is internally + // consistent with Trellix IAM authentication requirements / validation. + string client_secret = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. OAUTH 2 scope to request for the authentication token. + // This is the OAUTH 2 scope to request for the authentication token. It has + // no default, specifically enforced min / max length or character set. It is + // assumed that the scope provided is internally consistent with Trellix IAM + // authentication requirements / validation. + string scope = 3 [(google.api.field_behavior) = REQUIRED]; +} + +// Info for TrellixLocalAuthentication using a username, password, endpoint, +// and header name. +message TrellixLocalAuthentication { + // Required. Username for Trellix Local authentication. + // This is a unique username for the user that is generated on a Trellix + // device. It has no default, specifically enforced min / max length, + // or character set. + string username = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Password of the account identified by username. + // There are no restrictions on the format of the password. It has no default, + // specifically enforced min / max length or character set. The password + // will have been provided by the Trellix administrator. + string password = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The endpoint to fetch the token from. + // This must be a valid URL with an http or https scheme. It has no default. + string token_endpoint = 3 [(google.api.field_behavior) = REQUIRED]; + + // Required. The HTTP header name to use for the token for authentcated + // requests. It varies per Trellix product. Refer to the Trellix API + // documentation for the correct value. It has no default. + string token_header = 4 [(google.api.field_behavior) = REQUIRED]; +} + +// TrellixStarXAuthentication contains a oneof with all of the authentication +// types supported by Trellix *X devices. +message TrellixStarXAuthentication { + // One of multiple potential auth types. + oneof auth_type { + // Input only. MssoAuthentication auth type. + MssoAuthentication msso = 1 [(google.api.field_behavior) = INPUT_ONLY]; + + // Input only. TrellixIAMAuthentication auth type. + TrellixIAMAuthentication trellix_iam = 2 + [(google.api.field_behavior) = INPUT_ONLY]; + + // Input only. TrellixLocalAuthentication auth type. + TrellixLocalAuthentication trellix_local = 3 + [(google.api.field_behavior) = INPUT_ONLY]; + } +} + +// Settings required by Feeds of TrellixHxHosts. +message TrellixHxHostsSettings { + // Required. Authentication. + TrellixStarXAuthentication authentication = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. Trellix HX Device URL. + // This must be a valid URL with an http or https scheme. It has no default. + // Usually a device URL is in the form of either: + // https://xxx.trellix.com/hx/id// + // - or - + // https://htapdeviceproxy.md.mandiant.net/dphb/hx// + string endpoint = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Settings required by Feeds of TrellixHxAlerts. +message TrellixHxAlertsSettings { + // Required. Authentication. + TrellixStarXAuthentication authentication = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. Trellix HX Device URL. + // This must be a valid URL with an http or https scheme. It has no default. + // Usually a device URL is in the form of either: + // https://xxx.trellix.com/hx/id// + // - or - + // https://htapdeviceproxy.md.mandiant.net/dphb/hx// + string endpoint = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Settings required by Feeds of TrellixHxBulkAcqs. +message TrellixHxBulkAcqsSettings { + // Required. Authentication. + TrellixStarXAuthentication authentication = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. Trellix HX Device URL. + // This must be a valid URL with an http or https scheme. It has no default. + // Usually a device URL is in the form of either: + // https://xxx.trellix.com/hx/id// + // - or - + // https://htapdeviceproxy.md.mandiant.net/dphb/hx// + string endpoint = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Settings required by Azure Event Hub Feeds. +message AzureEventHubSettings { + // Required. Event hub to read from. + string name = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Event hub consumer group to read from. + string consumer_group = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. Event hub connection string for authentication. + string event_hub_connection_string = 3 + [(google.api.field_behavior) = REQUIRED]; + + // Optional. Blob store connection string for authentication. + string azure_storage_connection_string = 4 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Blob storage container name. + string azure_storage_container = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. SAS token + string azure_sas_token = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. Event hub namespace + string event_hub_namespace = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// AmazonSQSV2Settings is the settings proto for Omniflow SQS feeds. +message AmazonSQSV2Settings { + // Required. Amazon Resource Name(ARN) of the queue. + string queue = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. S3 URI. + string s3_uri = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. Authentication. + SQSAuthV2 authentication = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Source deletion option. + SourceDeletionOptionV2 source_deletion_option = 4 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Maximum File Age to ingest in days. + int32 max_lookback_days = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. SA that will read data, this is Storage Transfer Service SA of + // Customer's Tenancy Project. + string chronicle_service_account = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Optional list of object prefixes to include. + repeated string include_prefixes = 7 [(google.api.field_behavior) = OPTIONAL]; +} + +// AzureBlobStoreV2Settings is the settings proto for Azure Blob Storage feeds. +message AzureBlobStoreV2Settings { + // Required. Azure URI. + string azure_uri = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Authentication. + AzureAuthV2 authentication = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Source deletion option. + SourceDeletionOptionV2 source_deletion_option = 4 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Maximum File Age to ingest in days. + int32 max_lookback_days = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. SA that will read data, this is Storage Transfer Service SA of + // Customer's Tenancy Project. + string chronicle_service_account = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Optional list of object prefixes to include. + repeated string include_prefixes = 7 [(google.api.field_behavior) = OPTIONAL]; +} + +// Azure V2 Workload Identity Federation. +message AzureV2WorkloadIdentityFederation { + // Required. OAuth client ID. + string client_id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Tenant ID. + string tenant_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. Subject ID of the Azure subscription. + string subject_id = 3 [(google.api.field_behavior) = REQUIRED]; +} + +// A message containing fields used to authenticate with Azure Blob Storage. +message AzureAuthV2 { + // Possible types of authentication. + oneof auth_type { + // Required. Access Key also known as shared key. + string access_key = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. SAS Token. + string sas_token = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. Azure V2 Workload Identity Federation. + AzureV2WorkloadIdentityFederation azure_v2_workload_identity_federation = 3 + [(google.api.field_behavior) = REQUIRED]; + } +} + +// Metadata that pertains to feed source types (see +// Feed.FeedDetails.FeedSourceType) that is useful for building interfaces to +// construct valid Feed messages. +message FeedSourceTypeSchema { + option (google.api.resource) = { + type: "chronicle.googleapis.com/FeedSourceTypeSchema" + pattern: "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}" + }; + + // The resource name for this FeedSourceTypeSchema. + // Format: + // "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}". + string name = 1; + + // A human-readable name for this feed source type. + string display_name = 2; + + // A human-readable description for this feed source type. + string description = 3; + + // Whether feeds having this source type, while they are expected to exist, + // should not be modified (created, edited, or deleted). + bool read_only = 4; + + // The value to be used in the `details.feed_source_type` field in the Feed + // message. + FeedDetails.FeedSourceType feed_source_type = 5; +} + +// Metadata that pertains to a log type in the context of Feeds, and is useful +// for building interfaces to construct valid Feed messages. +message LogTypeSchema { + option (google.api.resource) = { + type: "chronicle.googleapis.com/LogTypeSchema" + pattern: "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}/logTypeSchemas/{log_type}" + }; + + // A collection of `details` field schema sets. The user must provide values + // for only one set of fields within an alternative. + message DetailsFieldSchemaAlternative { + // The schemas for each alternative set of fields. + repeated DetailsFieldSchemaSet details_field_schema_sets = 1; + } + + // A collection of schemas for related fields within `details`. + message DetailsFieldSchemaSet { + // A human-readable name for this collection of `details` fields. + string display_name = 1; + + // A human-readable description for this collection of `details` fields. + string description = 2; + + // Schemas for the fields in this set. + repeated DetailsFieldSchema details_field_schemas = 3; + } + + // A schema for a particular `details` field on the Feed proto message. + message DetailsFieldSchema { + // The protocol buffer field path. For example, + // "details.azure_ad_context_settings.authentication.token_endpoint". + string field_path = 1; + + // A human-readable name for this field. + string display_name = 2; + + // A human-readable description for this field. + string description = 3; + + // A type that represents both the encoding and the semantics of this field. + SemanticType type = 4; + + // If a field has an enum type, this is the schema describing the possible + // values. + repeated EnumFieldSchema enum_field_schemas = 5; + + // Whether this field must be specified to have a valid feed configuration. + bool required = 6; + + // For those fields with input requirements that aren't adequately expressed + // by the SemanticType it is often useful to supply an example input. + string example_input = 7; + + // For those fields which are read only. + bool read_only = 8; + } + + // A schema for a particular value, for a particular enum `details` field on + // the Feed proto message. + message EnumFieldSchema { + // The value to assign to the field. + string value = 1; + + // A human-readable name for this value. + string display_name = 2; + + // A human-readable description for this value. + string description = 3; + } + + // The resource name. + // Format: + // "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}/logTypeSchemas/{log_type}" + string name = 1; + + // A human-readable name for this log type. + string display_name = 2; + + // The log type to be used in the `details.log_type` field. + string log_type = 3; + + // Whether this log type schema represents a feed configuration that may + // exist, but should not be modified (created, edited, or deleted). + bool read_only = 4; + + // A description that is displayed when users create or edit feeds. + string supporting_documentation = 5; + + // The schemas for `detail` fields that are compatible with this log + // type and feed source type. All fields for this log type and feed source + // type are either contained here or within + // details_field_schema_alternatives. + repeated DetailsFieldSchema details_field_schemas = 6; + + // There are sets of fields which represent alternatives to one another. A + // user would only fill in one set of fields for any one alternative. + repeated DetailsFieldSchemaAlternative details_field_schema_alternatives = 7; +} + +// Request message for FetchServiceAccountForCustomer. +message FetchServiceAccountForCustomerRequest { + // Required. The parent resource where this FeedServiceAccount will be + // created. Format: + // projects/{project}/locations/{location}/instances/{instance} + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "chronicle.googleapis.com/FeedServiceAccount" + } + ]; +} + +// ListFeedSourceTypeSchemas request message. Note that Feed schemas do not +// contain customer data, so are not scoped to a particular customer. +message ListFeedSourceTypeSchemasRequest { + // Required. The parent, which owns this collection of FeedSourceTypeSchemas. + // Format: projects/{project}/locations/{location}/instances/{instance} + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "chronicle.googleapis.com/FeedSourceTypeSchema" + } + ]; + + // The maximum number of FeedSourceTypeSchemas to return. The service may + // return fewer than this value. If unspecified all FeedSourceTypeSchemas will + // be returned, meaning one FeedSourceTypeSchema for each + // FeedDetails.FeedSourceType. + // The maximum value is 100; values above 100 will be coerced to 100. + int32 page_size = 2; + + // A page token, received from a previous `ListFeedSourceTypeSchemas` call. + // Provide this to retrieve the subsequent page. + string page_token = 3; +} + +// ListFeedSourceTypeSchemas response message. +message ListFeedSourceTypeSchemasResponse { + // Schemas describing each FeedSourceType. + repeated FeedSourceTypeSchema feed_source_type_schemas = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} + +// ListLogTypeSchemas request message. Note that feed schemas do not contain +// customer data, so are not scoped to a particular customer. +message ListLogTypeSchemasRequest { + // Required. The parent, which owns this collection of LogTypeSchemas. + // Format: Format: + // projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type} + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "chronicle.googleapis.com/LogTypeSchema" + } + ]; + + // The maximum number of LogTypeSchemas to return. The service may return + // fewer than this value. + // If unspecified, at most 5000 LogTypeSchemas will be returned. + // The maximum value is 10000; values above 10000 will be coerced to 10000. + int32 page_size = 2; + + // A page token, received from a previous `ListLogTypeSchemas` call. Provide + // this to retrieve the subsequent page. + string page_token = 3; +} + +// ListLogTypeSchemas response message. +message ListLogTypeSchemasResponse { + // LogTypeSchemas. + repeated LogTypeSchema log_type_schemas = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} + +// ImportPushLogsRequest request message. +message ImportPushLogsRequest { + // Required. The parent, which owns this collection of logs. + // Format: + // projects/{project}/locations/{location}/instances/{instance}/feeds/{feed} + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "chronicle.googleapis.com/Feed" } + ]; + + // Required. The raw HTTP body is bound to this field. + // All log entries must be valid UTF-8. A single invalid event will cause the + // entire request to be rejected. + google.api.HttpBody http_body = 2 [(google.api.field_behavior) = REQUIRED]; + + // Immutable. The secret for the feed. + string secret = 3 [(google.api.field_behavior) = IMMUTABLE]; +} + +// Request message for UpdateFeed. +message UpdateFeedRequest { + // Required. Feed to update. Updates full feed object. + Feed feed = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Specifies which fields to update. If empty, update the full feed. + // To update the display name, pass only `displayName` and no other + // fields. To update other fields, pass a comma-separated list of fields to + // update and omit `displayName`. The update fails if an existing + // `displayName` is sent in the update request. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for ListFeed. +message ListFeedsRequest { + // Required. The parent resource where this Feed will be created. + // Format: projects/{project}/locations/{location}/instances/{instance} + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "chronicle.googleapis.com/Feed" + } + ]; + + // The maximum number of feeds to return. The service may return fewer than + // this value. + // If unspecified, at most 100 feeds will be returned. + // The maximum value is 1000; values above 1000 will be coerced to 1000. + int32 page_size = 2; + + // A page token, received from a previous `ListFeeds` call. Provide this to + // retrieve the subsequent page. + string page_token = 3; +} + +// Response message for ListFeed. +message ListFeedsResponse { + // List of feeds. + repeated Feed feeds = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} + +// Request message for ListFeedPacks. +message ListFeedPacksRequest { + // Required. The parent resource where this content pack will be created. + // Format: projects/{project}/locations/{location}/instances/{instance} + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "chronicle.googleapis.com/FeedPack" + } + ]; + + // Optional. The maximum number of feed content packs to return. The service + // may return fewer than this value. If unspecified, at most 50 feed content + // packs will be returned. The maximum value is 1000; values above 1000 will + // be coerced to 1000. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A page token, received from a previous `ListFeedPacks` call. + // Provide this to retrieve the subsequent page. When paginating, all other + // parameters provided to `ListFeedPacks` must match the call that provided + // the page token. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for ListFeedPacks. +message ListFeedPacksResponse { + // List of feeds packs. + repeated FeedPack feed_packs = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} + +// Request message for GetFeedPack. +message GetFeedPackRequest { + // Required. The ID of the feed pack to retrieve. + // Format: + // projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feedPack} + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "chronicle.googleapis.com/FeedPack" + } + ]; +} + +// Request message for CreateFeed. +message CreateFeedRequest { + // Required. The parent resource where this Feed will be created. + // Format: projects/{project}/locations/{location}/instances/{instance} + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "chronicle.googleapis.com/Feed" + } + ]; + + // Required. Feed to create. + Feed feed = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Request message to retrieve a feed. +message GetFeedRequest { + // Required. The ID of the feed to retrieve. + // Format: + // projects/{project}/locations/{location}/instances/{instance}/feeds/{feed} + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "chronicle.googleapis.com/Feed" } + ]; +} + +// Request message to delete a feed. +message DeleteFeedRequest { + // Required. The ID of the feed to retrieve. + // Format: + // projects/{project}/locations/{location}/instances/{instance}/feeds/{feed} + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "chronicle.googleapis.com/Feed" } + ]; + + // Optional. If true, delete the uningested backlog in OOB retry queue for the + // feed. + bool delete_backlog = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// EnableFeed request message. +message EnableFeedRequest { + // Required. The name of the feed to enable. + // Format: + // projects/{project}/locations/{location}/instances/{instance}/feeds/{feed} + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "chronicle.googleapis.com/Feed" } + ]; +} + +// GenerateSecret request message. +message GenerateSecretRequest { + // Required. The name of the feed to for which to generate secret. + // Format: + // projects/{project}/locations/{location}/instances/{instance}/feeds/{feed} + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "chronicle.googleapis.com/Feed" } + ]; +} + +// GenerateSecret response message. +message GenerateSecretResponse { + // The generated secret. Store the secret value at a safe place and use it + // while configuring your https push feed. + string secret = 1; +} + +// DisableFeed request message. +message DisableFeedRequest { + // Required. The name of the feed to disable. + // Format: + // projects/{project}/locations/{location}/instances/{instance}/feeds/{feed} + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "chronicle.googleapis.com/Feed" } + ]; +} + +// CustomAPIHeaderKeyValue defines dynamic headers key-values for Custom API. +message CustomAPIHeaderKeyValue { + // Required. Enter the name of the HTTP Request header (e.g., Authorization or + // X-API-Key). + string key = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Enter the API Key, Bearer Token, or credential value associated + // with the header. + string value = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// CustomAPIHeaderAuth lists HTTP headers for custom API auth. +message CustomAPIHeaderAuth { + // Optional. Add HTTP request header key-value pairs. + repeated CustomAPIHeaderKeyValue header_key_values = 1 + [(google.api.field_behavior) = OPTIONAL]; +} + +// CustomAPIQueryKeyValue defines dynamic query parameters key-values for Custom +// API Auth. +message CustomAPIQueryKeyValue { + // Required. Enter the name of the URL Query Parameter (e.g., api_key or + // token). + string key = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Enter the API Key or credential value associated with the query + // parameter. + string value = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// CustomAPIQueryAuth lists URL Query parameters for custom API auth. +message CustomAPIQueryAuth { + // Optional. Add URL Query parameter key-value pairs. + repeated CustomAPIQueryKeyValue query_key_values = 1 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Info for No-Authentication custom API feeds. +message CustomAPINoAuth {} + +// Settings required by Feeds of Custom API (Codeless). +// Supports fetching data from third-party APIs with configurable pagination, +// authentication, and response parsing. +message CustomAPISettings { + // Choose the method and credentials used to securely authorize access to the + // API. + oneof authentication { + // Authenticate without credentials or secrets. + CustomAPINoAuth no_auth = 8; + + // Authenticate using Username/Password credentials. + UsernameSecretAuth basic_auth = 3; + + // Authenticate using OAuth 2.0 Client Credentials Grant flow. + OAuthClientCredentials oauth_client_credentials = 4; + + // Authenticate using custom API Keys injected into request headers. + CustomAPIHeaderAuth header_auth = 5; + + // Authenticate using custom API Keys injected into URL query parameters. + CustomAPIQueryAuth query_auth = 9; + } + + // Required. Enter the primary web address of the third-party API (e.g., + // https://api.vendor.com). + string base_url = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Specify how often the platform checks the API for new data in + // minutes (default is 15 minutes). + int32 polling_frequency = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Required. Configure the initial API call used to fetch the main list of + // logs or events. + CustomAPITransferNode primary_request = 6 + [(google.api.field_behavior) = REQUIRED]; +} + +// Container for a specific API interaction. +message CustomAPITransferNode { + // Required. Define the technical parameters for the outgoing API call, + // including paths, headers, and payloads. + CustomAPIRequestConfig request_settings = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. Provide rules that tell the platform how to locate and extract + // the relevant security data from the API's reply. + CustomAPIResponseConfig response_mapping = 2 + [(google.api.field_behavior) = REQUIRED]; + + // Required. Select how the connector should request subsequent pages when the + // data is too large for a single response. + CustomAPIPagination pagination_strategy = 3 + [(google.api.field_behavior) = REQUIRED]; + + // Required. Configure settings that allow the connector to remember where it + // left off in the previous poll (e.g., tracking the last fetched timestamp). + CustomAPICheckpointConfig checkpointing = 4 + [(google.api.field_behavior) = REQUIRED]; + + // Optional. Configuration for dependent requests (child chaining). + CustomAPIDependentRequestsConfig dependent_requests_config = 8 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Configuration for dependent requests (child chaining). +message CustomAPIDependentRequestsConfig { + // Required. Enter the specific field in the response that uniquely identifies + // an individual record or alert. + string item_id_json_path = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Specify a custom variable name to hold the extracted ID, which + // can be linked as a placeholder in dependent requests. + string item_id_variable = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Add follow-up API calls triggered for each item found in the + // primary request (e.g., fetching full event details for a list of basic + // alert IDs). Note: In MVP, the child depth fan-out limit is capped at 1. + repeated CustomAPITransferNode dependent_requests = 3 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Configuration for the outgoing API request. +message CustomAPIRequestConfig { + // HTTPS methods supported. + enum HttpMethod { + // Unspecified method. + HTTP_METHOD_UNSPECIFIED = 0; + + // HTTP GET method. + GET = 1; + + // HTTP POST method. + POST = 2; + } + + // Required. Enter the specific API route appended to the Base URL to fetch + // the data (e.g., /v1/alerts). + string endpoint_path = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Select the type of action to perform on the API endpoint (usually + // GET to retrieve data or POST to submit a query). + HttpMethod http_method = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Provide the data payload sent to the API to specify what + // information you want, typically formatted in JSON. + string request_body = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Add extra filters or settings appended to the end of the URL + // (e.g., ?status=critical). + repeated HeaderKeyValue query_parameters = 4 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Define specialized key-value pairs sent with the request, often + // used for custom API versioning or specific vendor requirements. + repeated HeaderKeyValue custom_headers = 5 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Set a safety limit to ensure the connector does not exceed the + // third-party vendor's API rate limits. + int32 max_requests_per_minute = 6 [(google.api.field_behavior) = OPTIONAL]; +} + +// Configuration for handling the API response. +message CustomAPIResponseConfig { + // Required. Enter the exact path in the API's response payload where the list + // of target log entries is located. + repeated string target_data_path = 1 [(google.api.field_behavior) = REQUIRED]; +} + +// Checkpoint configuration to enable sequential (cursor-based) polling. +message CustomAPICheckpointConfig { + // Fetch all available data in one go without tracking progress. + message NoneStrategy {} + + // Track the timestamp of the newest record to fetch newer ones next. + message LatestTimestampStrategy { + // Required. Enter the exact location within a log record where the + // checkpoint value (like a timestamp or ID) is found. + string checkpoint_value_path = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Specify a custom name you assign to store and reference the + // checkpoint value between polling cycles. + string checkpoint_variable = 2 [(google.api.field_behavior) = REQUIRED]; + } + + // Track the highest record ID to fetch only new records next. + message LatestRecordStrategy { + // Required. Enter the exact location within a log record where the + // checkpoint value (like a timestamp or ID) is found. + string checkpoint_value_path = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Specify a custom name you assign to store and reference the + // checkpoint value between polling cycles. + string checkpoint_variable = 2 [(google.api.field_behavior) = REQUIRED]; + } + + // Use progress tokens provided by the API. + message IteratorStrategy { + // Required. Enter the exact location within a log record where the + // checkpoint value (like a timestamp or ID) is found. + string checkpoint_value_path = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Specify a custom name you assign to store and reference the + // checkpoint value between polling cycles. + string checkpoint_variable = 2 [(google.api.field_behavior) = REQUIRED]; + } + + // Select the specific checkpointing mechanism the third-party API requires. + oneof strategy { + // Fetch all available data in one go without tracking progress. + NoneStrategy none_strategy = 1; + + // Track the timestamp of the newest record to fetch newer ones next. + LatestTimestampStrategy latest_timestamp_strategy = 2; + + // Track the highest record ID to fetch only new records next. + LatestRecordStrategy latest_record_strategy = 3; + + // Use progress tokens provided by the API. + IteratorStrategy iterator_strategy = 4; + } +} + +// Pagination strategy for the request. +message CustomAPIPagination { + // Fetch data in a single request without paging. + message NonePagination {} + + // Use tokens (custom keys) to get the next page of data. + message TokenPagination { + // Required. Enter the field in the API response that contains the URL or + // token needed to fetch the next page of data. + string next_page_token_json_path = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. Specify the name of the query parameter for next page token in + // request. + string query_param = 2 [(google.api.field_behavior) = REQUIRED]; + } + + // Follow links provided in the response to get more data. + message LinkPagination { + // Required. Enter the field in the API response that contains the URL or + // token needed to fetch the next page of data. + string next_page_link_json_path = 1 + [(google.api.field_behavior) = REQUIRED]; + } + + // Skip a set number of records to get the next set. + message OffsetPagination { + // Required. Specify the name of the query parameter for offset in request. + string offset_query_param = 1 [(google.api.field_behavior) = REQUIRED]; + } + + // Go to the next page number (e.g., page 2). + message PageNumberPagination { + // Required. Specify the name of the query parameter for page number in + // request. + string page_number_query_param = 1 [(google.api.field_behavior) = REQUIRED]; + } + + // Select the specific paging mechanism the third-party API requires. + oneof pagination_strategy { + // Fetch data in a single request without paging. + NonePagination none = 4; + + // Use tokens (custom keys) to get the next page of data. + TokenPagination token = 5; + + // Follow links provided in the response to get more data. + LinkPagination link = 6; + + // Skip a set number of records to get the next set. + OffsetPagination offset = 7; + + // Go to the next page number (e.g., page 2). + PageNumberPagination page_number = 8; + } +} diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/create/SyncCreateSetCredentialsProvider.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/create/SyncCreateSetCredentialsProvider.java new file mode 100644 index 000000000000..3d256a473a0d --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/create/SyncCreateSetCredentialsProvider.java @@ -0,0 +1,44 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_Create_SetCredentialsProvider_sync] +import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.FeedsServiceSettings; +import com.google.cloud.chronicle.v1.myCredentials; + +public class SyncCreateSetCredentialsProvider { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider(); + } + + public static void syncCreateSetCredentialsProvider() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + FeedsServiceSettings feedsServiceSettings = + FeedsServiceSettings.newBuilder() + .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) + .build(); + FeedsServiceClient feedsServiceClient = FeedsServiceClient.create(feedsServiceSettings); + } +} +// [END chronicle_v1_generated_FeedsService_Create_SetCredentialsProvider_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/create/SyncCreateSetEndpoint.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/create/SyncCreateSetEndpoint.java new file mode 100644 index 000000000000..712aaa446403 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/create/SyncCreateSetEndpoint.java @@ -0,0 +1,41 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_Create_SetEndpoint_sync] +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.FeedsServiceSettings; +import com.google.cloud.chronicle.v1.myEndpoint; + +public class SyncCreateSetEndpoint { + + public static void main(String[] args) throws Exception { + syncCreateSetEndpoint(); + } + + public static void syncCreateSetEndpoint() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + FeedsServiceSettings feedsServiceSettings = + FeedsServiceSettings.newBuilder().setEndpoint(myEndpoint).build(); + FeedsServiceClient feedsServiceClient = FeedsServiceClient.create(feedsServiceSettings); + } +} +// [END chronicle_v1_generated_FeedsService_Create_SetEndpoint_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/create/SyncCreateUseHttpJsonTransport.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/create/SyncCreateUseHttpJsonTransport.java new file mode 100644 index 000000000000..c76ebaf58829 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/create/SyncCreateUseHttpJsonTransport.java @@ -0,0 +1,39 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_Create_UseHttpJsonTransport_sync] +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.FeedsServiceSettings; + +public class SyncCreateUseHttpJsonTransport { + + public static void main(String[] args) throws Exception { + syncCreateUseHttpJsonTransport(); + } + + public static void syncCreateUseHttpJsonTransport() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + FeedsServiceSettings feedsServiceSettings = FeedsServiceSettings.newHttpJsonBuilder().build(); + FeedsServiceClient feedsServiceClient = FeedsServiceClient.create(feedsServiceSettings); + } +} +// [END chronicle_v1_generated_FeedsService_Create_UseHttpJsonTransport_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/createfeed/AsyncCreateFeed.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/createfeed/AsyncCreateFeed.java new file mode 100644 index 000000000000..c0d1b5fe5405 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/createfeed/AsyncCreateFeed.java @@ -0,0 +1,50 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_CreateFeed_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.chronicle.v1.CreateFeedRequest; +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.InstanceName; + +public class AsyncCreateFeed { + + public static void main(String[] args) throws Exception { + asyncCreateFeed(); + } + + public static void asyncCreateFeed() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + CreateFeedRequest request = + CreateFeedRequest.newBuilder() + .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setFeed(Feed.newBuilder().build()) + .build(); + ApiFuture future = feedsServiceClient.createFeedCallable().futureCall(request); + // Do something. + Feed response = future.get(); + } + } +} +// [END chronicle_v1_generated_FeedsService_CreateFeed_async] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/createfeed/SyncCreateFeed.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/createfeed/SyncCreateFeed.java new file mode 100644 index 000000000000..90f08f297021 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/createfeed/SyncCreateFeed.java @@ -0,0 +1,47 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_CreateFeed_sync] +import com.google.cloud.chronicle.v1.CreateFeedRequest; +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.InstanceName; + +public class SyncCreateFeed { + + public static void main(String[] args) throws Exception { + syncCreateFeed(); + } + + public static void syncCreateFeed() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + CreateFeedRequest request = + CreateFeedRequest.newBuilder() + .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setFeed(Feed.newBuilder().build()) + .build(); + Feed response = feedsServiceClient.createFeed(request); + } + } +} +// [END chronicle_v1_generated_FeedsService_CreateFeed_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/createfeed/SyncCreateFeedInstancenameFeed.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/createfeed/SyncCreateFeedInstancenameFeed.java new file mode 100644 index 000000000000..946acdaaa400 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/createfeed/SyncCreateFeedInstancenameFeed.java @@ -0,0 +1,43 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_CreateFeed_InstancenameFeed_sync] +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.InstanceName; + +public class SyncCreateFeedInstancenameFeed { + + public static void main(String[] args) throws Exception { + syncCreateFeedInstancenameFeed(); + } + + public static void syncCreateFeedInstancenameFeed() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]"); + Feed feed = Feed.newBuilder().build(); + Feed response = feedsServiceClient.createFeed(parent, feed); + } + } +} +// [END chronicle_v1_generated_FeedsService_CreateFeed_InstancenameFeed_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/createfeed/SyncCreateFeedStringFeed.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/createfeed/SyncCreateFeedStringFeed.java new file mode 100644 index 000000000000..1062c5c605d0 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/createfeed/SyncCreateFeedStringFeed.java @@ -0,0 +1,43 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_CreateFeed_StringFeed_sync] +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.InstanceName; + +public class SyncCreateFeedStringFeed { + + public static void main(String[] args) throws Exception { + syncCreateFeedStringFeed(); + } + + public static void syncCreateFeedStringFeed() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + String parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString(); + Feed feed = Feed.newBuilder().build(); + Feed response = feedsServiceClient.createFeed(parent, feed); + } + } +} +// [END chronicle_v1_generated_FeedsService_CreateFeed_StringFeed_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/deletefeed/AsyncDeleteFeed.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/deletefeed/AsyncDeleteFeed.java new file mode 100644 index 000000000000..6911fb976762 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/deletefeed/AsyncDeleteFeed.java @@ -0,0 +1,50 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_DeleteFeed_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.chronicle.v1.DeleteFeedRequest; +import com.google.cloud.chronicle.v1.FeedName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.protobuf.Empty; + +public class AsyncDeleteFeed { + + public static void main(String[] args) throws Exception { + asyncDeleteFeed(); + } + + public static void asyncDeleteFeed() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + DeleteFeedRequest request = + DeleteFeedRequest.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .setDeleteBacklog(true) + .build(); + ApiFuture future = feedsServiceClient.deleteFeedCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END chronicle_v1_generated_FeedsService_DeleteFeed_async] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/deletefeed/SyncDeleteFeed.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/deletefeed/SyncDeleteFeed.java new file mode 100644 index 000000000000..bc0145151aa1 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/deletefeed/SyncDeleteFeed.java @@ -0,0 +1,47 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_DeleteFeed_sync] +import com.google.cloud.chronicle.v1.DeleteFeedRequest; +import com.google.cloud.chronicle.v1.FeedName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.protobuf.Empty; + +public class SyncDeleteFeed { + + public static void main(String[] args) throws Exception { + syncDeleteFeed(); + } + + public static void syncDeleteFeed() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + DeleteFeedRequest request = + DeleteFeedRequest.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .setDeleteBacklog(true) + .build(); + feedsServiceClient.deleteFeed(request); + } + } +} +// [END chronicle_v1_generated_FeedsService_DeleteFeed_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/deletefeed/SyncDeleteFeedFeedname.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/deletefeed/SyncDeleteFeedFeedname.java new file mode 100644 index 000000000000..9383bc9adfcc --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/deletefeed/SyncDeleteFeedFeedname.java @@ -0,0 +1,42 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_DeleteFeed_Feedname_sync] +import com.google.cloud.chronicle.v1.FeedName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.protobuf.Empty; + +public class SyncDeleteFeedFeedname { + + public static void main(String[] args) throws Exception { + syncDeleteFeedFeedname(); + } + + public static void syncDeleteFeedFeedname() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + feedsServiceClient.deleteFeed(name); + } + } +} +// [END chronicle_v1_generated_FeedsService_DeleteFeed_Feedname_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/deletefeed/SyncDeleteFeedString.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/deletefeed/SyncDeleteFeedString.java new file mode 100644 index 000000000000..4802b5048645 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/deletefeed/SyncDeleteFeedString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_DeleteFeed_String_sync] +import com.google.cloud.chronicle.v1.FeedName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.protobuf.Empty; + +public class SyncDeleteFeedString { + + public static void main(String[] args) throws Exception { + syncDeleteFeedString(); + } + + public static void syncDeleteFeedString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + String name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString(); + feedsServiceClient.deleteFeed(name); + } + } +} +// [END chronicle_v1_generated_FeedsService_DeleteFeed_String_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/disablefeed/AsyncDisableFeed.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/disablefeed/AsyncDisableFeed.java new file mode 100644 index 000000000000..5572e7755b7a --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/disablefeed/AsyncDisableFeed.java @@ -0,0 +1,49 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_DisableFeed_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.chronicle.v1.DisableFeedRequest; +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; + +public class AsyncDisableFeed { + + public static void main(String[] args) throws Exception { + asyncDisableFeed(); + } + + public static void asyncDisableFeed() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + DisableFeedRequest request = + DisableFeedRequest.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .build(); + ApiFuture future = feedsServiceClient.disableFeedCallable().futureCall(request); + // Do something. + Feed response = future.get(); + } + } +} +// [END chronicle_v1_generated_FeedsService_DisableFeed_async] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/disablefeed/SyncDisableFeed.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/disablefeed/SyncDisableFeed.java new file mode 100644 index 000000000000..fa7bc0555a32 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/disablefeed/SyncDisableFeed.java @@ -0,0 +1,46 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_DisableFeed_sync] +import com.google.cloud.chronicle.v1.DisableFeedRequest; +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; + +public class SyncDisableFeed { + + public static void main(String[] args) throws Exception { + syncDisableFeed(); + } + + public static void syncDisableFeed() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + DisableFeedRequest request = + DisableFeedRequest.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .build(); + Feed response = feedsServiceClient.disableFeed(request); + } + } +} +// [END chronicle_v1_generated_FeedsService_DisableFeed_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/disablefeed/SyncDisableFeedFeedname.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/disablefeed/SyncDisableFeedFeedname.java new file mode 100644 index 000000000000..e994fbfa46ea --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/disablefeed/SyncDisableFeedFeedname.java @@ -0,0 +1,42 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_DisableFeed_Feedname_sync] +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; + +public class SyncDisableFeedFeedname { + + public static void main(String[] args) throws Exception { + syncDisableFeedFeedname(); + } + + public static void syncDisableFeedFeedname() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + Feed response = feedsServiceClient.disableFeed(name); + } + } +} +// [END chronicle_v1_generated_FeedsService_DisableFeed_Feedname_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/disablefeed/SyncDisableFeedString.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/disablefeed/SyncDisableFeedString.java new file mode 100644 index 000000000000..b39777074556 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/disablefeed/SyncDisableFeedString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_DisableFeed_String_sync] +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; + +public class SyncDisableFeedString { + + public static void main(String[] args) throws Exception { + syncDisableFeedString(); + } + + public static void syncDisableFeedString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + String name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString(); + Feed response = feedsServiceClient.disableFeed(name); + } + } +} +// [END chronicle_v1_generated_FeedsService_DisableFeed_String_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/enablefeed/AsyncEnableFeed.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/enablefeed/AsyncEnableFeed.java new file mode 100644 index 000000000000..034327025620 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/enablefeed/AsyncEnableFeed.java @@ -0,0 +1,49 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_EnableFeed_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.chronicle.v1.EnableFeedRequest; +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; + +public class AsyncEnableFeed { + + public static void main(String[] args) throws Exception { + asyncEnableFeed(); + } + + public static void asyncEnableFeed() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + EnableFeedRequest request = + EnableFeedRequest.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .build(); + ApiFuture future = feedsServiceClient.enableFeedCallable().futureCall(request); + // Do something. + Feed response = future.get(); + } + } +} +// [END chronicle_v1_generated_FeedsService_EnableFeed_async] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/enablefeed/SyncEnableFeed.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/enablefeed/SyncEnableFeed.java new file mode 100644 index 000000000000..6b5e3fcb734e --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/enablefeed/SyncEnableFeed.java @@ -0,0 +1,46 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_EnableFeed_sync] +import com.google.cloud.chronicle.v1.EnableFeedRequest; +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; + +public class SyncEnableFeed { + + public static void main(String[] args) throws Exception { + syncEnableFeed(); + } + + public static void syncEnableFeed() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + EnableFeedRequest request = + EnableFeedRequest.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .build(); + Feed response = feedsServiceClient.enableFeed(request); + } + } +} +// [END chronicle_v1_generated_FeedsService_EnableFeed_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/enablefeed/SyncEnableFeedFeedname.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/enablefeed/SyncEnableFeedFeedname.java new file mode 100644 index 000000000000..e44d3a90a3fa --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/enablefeed/SyncEnableFeedFeedname.java @@ -0,0 +1,42 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_EnableFeed_Feedname_sync] +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; + +public class SyncEnableFeedFeedname { + + public static void main(String[] args) throws Exception { + syncEnableFeedFeedname(); + } + + public static void syncEnableFeedFeedname() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + Feed response = feedsServiceClient.enableFeed(name); + } + } +} +// [END chronicle_v1_generated_FeedsService_EnableFeed_Feedname_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/enablefeed/SyncEnableFeedString.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/enablefeed/SyncEnableFeedString.java new file mode 100644 index 000000000000..ea718c4e9e7a --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/enablefeed/SyncEnableFeedString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_EnableFeed_String_sync] +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; + +public class SyncEnableFeedString { + + public static void main(String[] args) throws Exception { + syncEnableFeedString(); + } + + public static void syncEnableFeedString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + String name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString(); + Feed response = feedsServiceClient.enableFeed(name); + } + } +} +// [END chronicle_v1_generated_FeedsService_EnableFeed_String_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/fetchserviceaccountforcustomer/AsyncFetchServiceAccountForCustomer.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/fetchserviceaccountforcustomer/AsyncFetchServiceAccountForCustomer.java new file mode 100644 index 000000000000..f4422ad77381 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/fetchserviceaccountforcustomer/AsyncFetchServiceAccountForCustomer.java @@ -0,0 +1,50 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_FetchServiceAccountForCustomer_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.chronicle.v1.FeedServiceAccount; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest; +import com.google.cloud.chronicle.v1.InstanceName; + +public class AsyncFetchServiceAccountForCustomer { + + public static void main(String[] args) throws Exception { + asyncFetchServiceAccountForCustomer(); + } + + public static void asyncFetchServiceAccountForCustomer() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + FetchServiceAccountForCustomerRequest request = + FetchServiceAccountForCustomerRequest.newBuilder() + .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .build(); + ApiFuture future = + feedsServiceClient.fetchServiceAccountForCustomerCallable().futureCall(request); + // Do something. + FeedServiceAccount response = future.get(); + } + } +} +// [END chronicle_v1_generated_FeedsService_FetchServiceAccountForCustomer_async] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/fetchserviceaccountforcustomer/SyncFetchServiceAccountForCustomer.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/fetchserviceaccountforcustomer/SyncFetchServiceAccountForCustomer.java new file mode 100644 index 000000000000..b9010671e37c --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/fetchserviceaccountforcustomer/SyncFetchServiceAccountForCustomer.java @@ -0,0 +1,46 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_FetchServiceAccountForCustomer_sync] +import com.google.cloud.chronicle.v1.FeedServiceAccount; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.FetchServiceAccountForCustomerRequest; +import com.google.cloud.chronicle.v1.InstanceName; + +public class SyncFetchServiceAccountForCustomer { + + public static void main(String[] args) throws Exception { + syncFetchServiceAccountForCustomer(); + } + + public static void syncFetchServiceAccountForCustomer() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + FetchServiceAccountForCustomerRequest request = + FetchServiceAccountForCustomerRequest.newBuilder() + .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .build(); + FeedServiceAccount response = feedsServiceClient.fetchServiceAccountForCustomer(request); + } + } +} +// [END chronicle_v1_generated_FeedsService_FetchServiceAccountForCustomer_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/fetchserviceaccountforcustomer/SyncFetchServiceAccountForCustomerInstancename.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/fetchserviceaccountforcustomer/SyncFetchServiceAccountForCustomerInstancename.java new file mode 100644 index 000000000000..4de7db6d7338 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/fetchserviceaccountforcustomer/SyncFetchServiceAccountForCustomerInstancename.java @@ -0,0 +1,42 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_FetchServiceAccountForCustomer_Instancename_sync] +import com.google.cloud.chronicle.v1.FeedServiceAccount; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.InstanceName; + +public class SyncFetchServiceAccountForCustomerInstancename { + + public static void main(String[] args) throws Exception { + syncFetchServiceAccountForCustomerInstancename(); + } + + public static void syncFetchServiceAccountForCustomerInstancename() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]"); + FeedServiceAccount response = feedsServiceClient.fetchServiceAccountForCustomer(parent); + } + } +} +// [END chronicle_v1_generated_FeedsService_FetchServiceAccountForCustomer_Instancename_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/fetchserviceaccountforcustomer/SyncFetchServiceAccountForCustomerString.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/fetchserviceaccountforcustomer/SyncFetchServiceAccountForCustomerString.java new file mode 100644 index 000000000000..8a9a202fc157 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/fetchserviceaccountforcustomer/SyncFetchServiceAccountForCustomerString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_FetchServiceAccountForCustomer_String_sync] +import com.google.cloud.chronicle.v1.FeedServiceAccount; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.InstanceName; + +public class SyncFetchServiceAccountForCustomerString { + + public static void main(String[] args) throws Exception { + syncFetchServiceAccountForCustomerString(); + } + + public static void syncFetchServiceAccountForCustomerString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + String parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString(); + FeedServiceAccount response = feedsServiceClient.fetchServiceAccountForCustomer(parent); + } + } +} +// [END chronicle_v1_generated_FeedsService_FetchServiceAccountForCustomer_String_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/generatesecret/AsyncGenerateSecret.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/generatesecret/AsyncGenerateSecret.java new file mode 100644 index 000000000000..edbcab359d8a --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/generatesecret/AsyncGenerateSecret.java @@ -0,0 +1,50 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_GenerateSecret_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.chronicle.v1.FeedName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.GenerateSecretRequest; +import com.google.cloud.chronicle.v1.GenerateSecretResponse; + +public class AsyncGenerateSecret { + + public static void main(String[] args) throws Exception { + asyncGenerateSecret(); + } + + public static void asyncGenerateSecret() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + GenerateSecretRequest request = + GenerateSecretRequest.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .build(); + ApiFuture future = + feedsServiceClient.generateSecretCallable().futureCall(request); + // Do something. + GenerateSecretResponse response = future.get(); + } + } +} +// [END chronicle_v1_generated_FeedsService_GenerateSecret_async] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/generatesecret/SyncGenerateSecret.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/generatesecret/SyncGenerateSecret.java new file mode 100644 index 000000000000..3a9299d30753 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/generatesecret/SyncGenerateSecret.java @@ -0,0 +1,46 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_GenerateSecret_sync] +import com.google.cloud.chronicle.v1.FeedName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.GenerateSecretRequest; +import com.google.cloud.chronicle.v1.GenerateSecretResponse; + +public class SyncGenerateSecret { + + public static void main(String[] args) throws Exception { + syncGenerateSecret(); + } + + public static void syncGenerateSecret() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + GenerateSecretRequest request = + GenerateSecretRequest.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .build(); + GenerateSecretResponse response = feedsServiceClient.generateSecret(request); + } + } +} +// [END chronicle_v1_generated_FeedsService_GenerateSecret_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/generatesecret/SyncGenerateSecretFeedname.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/generatesecret/SyncGenerateSecretFeedname.java new file mode 100644 index 000000000000..67dee4489b6a --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/generatesecret/SyncGenerateSecretFeedname.java @@ -0,0 +1,42 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_GenerateSecret_Feedname_sync] +import com.google.cloud.chronicle.v1.FeedName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.GenerateSecretResponse; + +public class SyncGenerateSecretFeedname { + + public static void main(String[] args) throws Exception { + syncGenerateSecretFeedname(); + } + + public static void syncGenerateSecretFeedname() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + GenerateSecretResponse response = feedsServiceClient.generateSecret(name); + } + } +} +// [END chronicle_v1_generated_FeedsService_GenerateSecret_Feedname_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/generatesecret/SyncGenerateSecretString.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/generatesecret/SyncGenerateSecretString.java new file mode 100644 index 000000000000..31de6f0e1bfa --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/generatesecret/SyncGenerateSecretString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_GenerateSecret_String_sync] +import com.google.cloud.chronicle.v1.FeedName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.GenerateSecretResponse; + +public class SyncGenerateSecretString { + + public static void main(String[] args) throws Exception { + syncGenerateSecretString(); + } + + public static void syncGenerateSecretString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + String name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString(); + GenerateSecretResponse response = feedsServiceClient.generateSecret(name); + } + } +} +// [END chronicle_v1_generated_FeedsService_GenerateSecret_String_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/getfeed/AsyncGetFeed.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/getfeed/AsyncGetFeed.java new file mode 100644 index 000000000000..9f75b3a8b5f2 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/getfeed/AsyncGetFeed.java @@ -0,0 +1,49 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_GetFeed_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.GetFeedRequest; + +public class AsyncGetFeed { + + public static void main(String[] args) throws Exception { + asyncGetFeed(); + } + + public static void asyncGetFeed() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + GetFeedRequest request = + GetFeedRequest.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .build(); + ApiFuture future = feedsServiceClient.getFeedCallable().futureCall(request); + // Do something. + Feed response = future.get(); + } + } +} +// [END chronicle_v1_generated_FeedsService_GetFeed_async] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/getfeed/SyncGetFeed.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/getfeed/SyncGetFeed.java new file mode 100644 index 000000000000..744da9553eb0 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/getfeed/SyncGetFeed.java @@ -0,0 +1,46 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_GetFeed_sync] +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.GetFeedRequest; + +public class SyncGetFeed { + + public static void main(String[] args) throws Exception { + syncGetFeed(); + } + + public static void syncGetFeed() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + GetFeedRequest request = + GetFeedRequest.newBuilder() + .setName(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .build(); + Feed response = feedsServiceClient.getFeed(request); + } + } +} +// [END chronicle_v1_generated_FeedsService_GetFeed_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/getfeed/SyncGetFeedFeedname.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/getfeed/SyncGetFeedFeedname.java new file mode 100644 index 000000000000..520580ea7632 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/getfeed/SyncGetFeedFeedname.java @@ -0,0 +1,42 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_GetFeed_Feedname_sync] +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; + +public class SyncGetFeedFeedname { + + public static void main(String[] args) throws Exception { + syncGetFeedFeedname(); + } + + public static void syncGetFeedFeedname() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + FeedName name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + Feed response = feedsServiceClient.getFeed(name); + } + } +} +// [END chronicle_v1_generated_FeedsService_GetFeed_Feedname_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/getfeed/SyncGetFeedString.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/getfeed/SyncGetFeedString.java new file mode 100644 index 000000000000..fa04e4ec0ca5 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/getfeed/SyncGetFeedString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_GetFeed_String_sync] +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; + +public class SyncGetFeedString { + + public static void main(String[] args) throws Exception { + syncGetFeedString(); + } + + public static void syncGetFeedString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + String name = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString(); + Feed response = feedsServiceClient.getFeed(name); + } + } +} +// [END chronicle_v1_generated_FeedsService_GetFeed_String_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/getfeedpack/AsyncGetFeedPack.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/getfeedpack/AsyncGetFeedPack.java new file mode 100644 index 000000000000..6a824fcfb0e3 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/getfeedpack/AsyncGetFeedPack.java @@ -0,0 +1,51 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_GetFeedPack_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.chronicle.v1.FeedPack; +import com.google.cloud.chronicle.v1.FeedPackName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.GetFeedPackRequest; + +public class AsyncGetFeedPack { + + public static void main(String[] args) throws Exception { + asyncGetFeedPack(); + } + + public static void asyncGetFeedPack() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + GetFeedPackRequest request = + GetFeedPackRequest.newBuilder() + .setName( + FeedPackName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_PACK]") + .toString()) + .build(); + ApiFuture future = feedsServiceClient.getFeedPackCallable().futureCall(request); + // Do something. + FeedPack response = future.get(); + } + } +} +// [END chronicle_v1_generated_FeedsService_GetFeedPack_async] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/getfeedpack/SyncGetFeedPack.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/getfeedpack/SyncGetFeedPack.java new file mode 100644 index 000000000000..db430be820c9 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/getfeedpack/SyncGetFeedPack.java @@ -0,0 +1,48 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_GetFeedPack_sync] +import com.google.cloud.chronicle.v1.FeedPack; +import com.google.cloud.chronicle.v1.FeedPackName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.GetFeedPackRequest; + +public class SyncGetFeedPack { + + public static void main(String[] args) throws Exception { + syncGetFeedPack(); + } + + public static void syncGetFeedPack() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + GetFeedPackRequest request = + GetFeedPackRequest.newBuilder() + .setName( + FeedPackName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_PACK]") + .toString()) + .build(); + FeedPack response = feedsServiceClient.getFeedPack(request); + } + } +} +// [END chronicle_v1_generated_FeedsService_GetFeedPack_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/getfeedpack/SyncGetFeedPackFeedpackname.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/getfeedpack/SyncGetFeedPackFeedpackname.java new file mode 100644 index 000000000000..8358f82f0603 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/getfeedpack/SyncGetFeedPackFeedpackname.java @@ -0,0 +1,42 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_GetFeedPack_Feedpackname_sync] +import com.google.cloud.chronicle.v1.FeedPack; +import com.google.cloud.chronicle.v1.FeedPackName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; + +public class SyncGetFeedPackFeedpackname { + + public static void main(String[] args) throws Exception { + syncGetFeedPackFeedpackname(); + } + + public static void syncGetFeedPackFeedpackname() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + FeedPackName name = FeedPackName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_PACK]"); + FeedPack response = feedsServiceClient.getFeedPack(name); + } + } +} +// [END chronicle_v1_generated_FeedsService_GetFeedPack_Feedpackname_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/getfeedpack/SyncGetFeedPackString.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/getfeedpack/SyncGetFeedPackString.java new file mode 100644 index 000000000000..3a0377aaecbf --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/getfeedpack/SyncGetFeedPackString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_GetFeedPack_String_sync] +import com.google.cloud.chronicle.v1.FeedPack; +import com.google.cloud.chronicle.v1.FeedPackName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; + +public class SyncGetFeedPackString { + + public static void main(String[] args) throws Exception { + syncGetFeedPackString(); + } + + public static void syncGetFeedPackString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + String name = + FeedPackName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_PACK]").toString(); + FeedPack response = feedsServiceClient.getFeedPack(name); + } + } +} +// [END chronicle_v1_generated_FeedsService_GetFeedPack_String_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/importpushlogs/AsyncImportPushLogs.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/importpushlogs/AsyncImportPushLogs.java new file mode 100644 index 000000000000..6f50881c4057 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/importpushlogs/AsyncImportPushLogs.java @@ -0,0 +1,51 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_ImportPushLogs_async] +import com.google.api.HttpBody; +import com.google.api.core.ApiFuture; +import com.google.cloud.chronicle.v1.FeedName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.ImportPushLogsRequest; + +public class AsyncImportPushLogs { + + public static void main(String[] args) throws Exception { + asyncImportPushLogs(); + } + + public static void asyncImportPushLogs() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + ImportPushLogsRequest request = + ImportPushLogsRequest.newBuilder() + .setParent(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .setHttpBody(HttpBody.newBuilder().build()) + .setSecret("secret-906277200") + .build(); + ApiFuture future = feedsServiceClient.importPushLogsCallable().futureCall(request); + // Do something. + HttpBody response = future.get(); + } + } +} +// [END chronicle_v1_generated_FeedsService_ImportPushLogs_async] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/importpushlogs/SyncImportPushLogs.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/importpushlogs/SyncImportPushLogs.java new file mode 100644 index 000000000000..93ef01065391 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/importpushlogs/SyncImportPushLogs.java @@ -0,0 +1,48 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_ImportPushLogs_sync] +import com.google.api.HttpBody; +import com.google.cloud.chronicle.v1.FeedName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.ImportPushLogsRequest; + +public class SyncImportPushLogs { + + public static void main(String[] args) throws Exception { + syncImportPushLogs(); + } + + public static void syncImportPushLogs() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + ImportPushLogsRequest request = + ImportPushLogsRequest.newBuilder() + .setParent(FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString()) + .setHttpBody(HttpBody.newBuilder().build()) + .setSecret("secret-906277200") + .build(); + HttpBody response = feedsServiceClient.importPushLogs(request); + } + } +} +// [END chronicle_v1_generated_FeedsService_ImportPushLogs_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/importpushlogs/SyncImportPushLogsFeedname.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/importpushlogs/SyncImportPushLogsFeedname.java new file mode 100644 index 000000000000..2e668fb0ded8 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/importpushlogs/SyncImportPushLogsFeedname.java @@ -0,0 +1,42 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_ImportPushLogs_Feedname_sync] +import com.google.api.HttpBody; +import com.google.cloud.chronicle.v1.FeedName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; + +public class SyncImportPushLogsFeedname { + + public static void main(String[] args) throws Exception { + syncImportPushLogsFeedname(); + } + + public static void syncImportPushLogsFeedname() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + FeedName parent = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]"); + HttpBody response = feedsServiceClient.importPushLogs(parent); + } + } +} +// [END chronicle_v1_generated_FeedsService_ImportPushLogs_Feedname_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/importpushlogs/SyncImportPushLogsString.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/importpushlogs/SyncImportPushLogsString.java new file mode 100644 index 000000000000..36c94b8f310b --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/importpushlogs/SyncImportPushLogsString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_ImportPushLogs_String_sync] +import com.google.api.HttpBody; +import com.google.cloud.chronicle.v1.FeedName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; + +public class SyncImportPushLogsString { + + public static void main(String[] args) throws Exception { + syncImportPushLogsString(); + } + + public static void syncImportPushLogsString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + String parent = FeedName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED]").toString(); + HttpBody response = feedsServiceClient.importPushLogs(parent); + } + } +} +// [END chronicle_v1_generated_FeedsService_ImportPushLogs_String_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedpacks/AsyncListFeedPacks.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedpacks/AsyncListFeedPacks.java new file mode 100644 index 000000000000..654dde117d5a --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedpacks/AsyncListFeedPacks.java @@ -0,0 +1,54 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_ListFeedPacks_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.chronicle.v1.FeedPack; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.InstanceName; +import com.google.cloud.chronicle.v1.ListFeedPacksRequest; + +public class AsyncListFeedPacks { + + public static void main(String[] args) throws Exception { + asyncListFeedPacks(); + } + + public static void asyncListFeedPacks() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + ListFeedPacksRequest request = + ListFeedPacksRequest.newBuilder() + .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + ApiFuture future = + feedsServiceClient.listFeedPacksPagedCallable().futureCall(request); + // Do something. + for (FeedPack element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END chronicle_v1_generated_FeedsService_ListFeedPacks_async] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedpacks/AsyncListFeedPacksPaged.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedpacks/AsyncListFeedPacksPaged.java new file mode 100644 index 000000000000..f9e2867709e9 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedpacks/AsyncListFeedPacksPaged.java @@ -0,0 +1,61 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_ListFeedPacks_Paged_async] +import com.google.cloud.chronicle.v1.FeedPack; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.InstanceName; +import com.google.cloud.chronicle.v1.ListFeedPacksRequest; +import com.google.cloud.chronicle.v1.ListFeedPacksResponse; +import com.google.common.base.Strings; + +public class AsyncListFeedPacksPaged { + + public static void main(String[] args) throws Exception { + asyncListFeedPacksPaged(); + } + + public static void asyncListFeedPacksPaged() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + ListFeedPacksRequest request = + ListFeedPacksRequest.newBuilder() + .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + while (true) { + ListFeedPacksResponse response = feedsServiceClient.listFeedPacksCallable().call(request); + for (FeedPack element : response.getFeedPacksList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END chronicle_v1_generated_FeedsService_ListFeedPacks_Paged_async] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedpacks/SyncListFeedPacks.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedpacks/SyncListFeedPacks.java new file mode 100644 index 000000000000..ca73d7898aa9 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedpacks/SyncListFeedPacks.java @@ -0,0 +1,50 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_ListFeedPacks_sync] +import com.google.cloud.chronicle.v1.FeedPack; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.InstanceName; +import com.google.cloud.chronicle.v1.ListFeedPacksRequest; + +public class SyncListFeedPacks { + + public static void main(String[] args) throws Exception { + syncListFeedPacks(); + } + + public static void syncListFeedPacks() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + ListFeedPacksRequest request = + ListFeedPacksRequest.newBuilder() + .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + for (FeedPack element : feedsServiceClient.listFeedPacks(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END chronicle_v1_generated_FeedsService_ListFeedPacks_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedpacks/SyncListFeedPacksInstancename.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedpacks/SyncListFeedPacksInstancename.java new file mode 100644 index 000000000000..4e54d1fb6f0f --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedpacks/SyncListFeedPacksInstancename.java @@ -0,0 +1,44 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_ListFeedPacks_Instancename_sync] +import com.google.cloud.chronicle.v1.FeedPack; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.InstanceName; + +public class SyncListFeedPacksInstancename { + + public static void main(String[] args) throws Exception { + syncListFeedPacksInstancename(); + } + + public static void syncListFeedPacksInstancename() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]"); + for (FeedPack element : feedsServiceClient.listFeedPacks(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END chronicle_v1_generated_FeedsService_ListFeedPacks_Instancename_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedpacks/SyncListFeedPacksString.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedpacks/SyncListFeedPacksString.java new file mode 100644 index 000000000000..b9477e0b38f3 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedpacks/SyncListFeedPacksString.java @@ -0,0 +1,44 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_ListFeedPacks_String_sync] +import com.google.cloud.chronicle.v1.FeedPack; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.InstanceName; + +public class SyncListFeedPacksString { + + public static void main(String[] args) throws Exception { + syncListFeedPacksString(); + } + + public static void syncListFeedPacksString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + String parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString(); + for (FeedPack element : feedsServiceClient.listFeedPacks(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END chronicle_v1_generated_FeedsService_ListFeedPacks_String_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeeds/AsyncListFeeds.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeeds/AsyncListFeeds.java new file mode 100644 index 000000000000..724016dbd777 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeeds/AsyncListFeeds.java @@ -0,0 +1,53 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_ListFeeds_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.InstanceName; +import com.google.cloud.chronicle.v1.ListFeedsRequest; + +public class AsyncListFeeds { + + public static void main(String[] args) throws Exception { + asyncListFeeds(); + } + + public static void asyncListFeeds() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + ListFeedsRequest request = + ListFeedsRequest.newBuilder() + .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + ApiFuture future = feedsServiceClient.listFeedsPagedCallable().futureCall(request); + // Do something. + for (Feed element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END chronicle_v1_generated_FeedsService_ListFeeds_async] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeeds/AsyncListFeedsPaged.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeeds/AsyncListFeedsPaged.java new file mode 100644 index 000000000000..6c8d85f65c83 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeeds/AsyncListFeedsPaged.java @@ -0,0 +1,61 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_ListFeeds_Paged_async] +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.InstanceName; +import com.google.cloud.chronicle.v1.ListFeedsRequest; +import com.google.cloud.chronicle.v1.ListFeedsResponse; +import com.google.common.base.Strings; + +public class AsyncListFeedsPaged { + + public static void main(String[] args) throws Exception { + asyncListFeedsPaged(); + } + + public static void asyncListFeedsPaged() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + ListFeedsRequest request = + ListFeedsRequest.newBuilder() + .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + while (true) { + ListFeedsResponse response = feedsServiceClient.listFeedsCallable().call(request); + for (Feed element : response.getFeedsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END chronicle_v1_generated_FeedsService_ListFeeds_Paged_async] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeeds/SyncListFeeds.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeeds/SyncListFeeds.java new file mode 100644 index 000000000000..8b07c3d1abac --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeeds/SyncListFeeds.java @@ -0,0 +1,50 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_ListFeeds_sync] +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.InstanceName; +import com.google.cloud.chronicle.v1.ListFeedsRequest; + +public class SyncListFeeds { + + public static void main(String[] args) throws Exception { + syncListFeeds(); + } + + public static void syncListFeeds() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + ListFeedsRequest request = + ListFeedsRequest.newBuilder() + .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + for (Feed element : feedsServiceClient.listFeeds(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END chronicle_v1_generated_FeedsService_ListFeeds_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeeds/SyncListFeedsInstancename.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeeds/SyncListFeedsInstancename.java new file mode 100644 index 000000000000..eb0166bacd3a --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeeds/SyncListFeedsInstancename.java @@ -0,0 +1,44 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_ListFeeds_Instancename_sync] +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.InstanceName; + +public class SyncListFeedsInstancename { + + public static void main(String[] args) throws Exception { + syncListFeedsInstancename(); + } + + public static void syncListFeedsInstancename() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]"); + for (Feed element : feedsServiceClient.listFeeds(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END chronicle_v1_generated_FeedsService_ListFeeds_Instancename_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeeds/SyncListFeedsString.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeeds/SyncListFeedsString.java new file mode 100644 index 000000000000..cbb77bb52bee --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeeds/SyncListFeedsString.java @@ -0,0 +1,44 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_ListFeeds_String_sync] +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.InstanceName; + +public class SyncListFeedsString { + + public static void main(String[] args) throws Exception { + syncListFeedsString(); + } + + public static void syncListFeedsString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + String parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString(); + for (Feed element : feedsServiceClient.listFeeds(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END chronicle_v1_generated_FeedsService_ListFeeds_String_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedsourcetypeschemas/AsyncListFeedSourceTypeSchemas.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedsourcetypeschemas/AsyncListFeedSourceTypeSchemas.java new file mode 100644 index 000000000000..c1d53a4a37de --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedsourcetypeschemas/AsyncListFeedSourceTypeSchemas.java @@ -0,0 +1,54 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_ListFeedSourceTypeSchemas_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.chronicle.v1.FeedSourceTypeSchema; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.InstanceName; +import com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest; + +public class AsyncListFeedSourceTypeSchemas { + + public static void main(String[] args) throws Exception { + asyncListFeedSourceTypeSchemas(); + } + + public static void asyncListFeedSourceTypeSchemas() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + ListFeedSourceTypeSchemasRequest request = + ListFeedSourceTypeSchemasRequest.newBuilder() + .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + ApiFuture future = + feedsServiceClient.listFeedSourceTypeSchemasPagedCallable().futureCall(request); + // Do something. + for (FeedSourceTypeSchema element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END chronicle_v1_generated_FeedsService_ListFeedSourceTypeSchemas_async] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedsourcetypeschemas/AsyncListFeedSourceTypeSchemasPaged.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedsourcetypeschemas/AsyncListFeedSourceTypeSchemasPaged.java new file mode 100644 index 000000000000..2bb76677606f --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedsourcetypeschemas/AsyncListFeedSourceTypeSchemasPaged.java @@ -0,0 +1,62 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_ListFeedSourceTypeSchemas_Paged_async] +import com.google.cloud.chronicle.v1.FeedSourceTypeSchema; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.InstanceName; +import com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest; +import com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasResponse; +import com.google.common.base.Strings; + +public class AsyncListFeedSourceTypeSchemasPaged { + + public static void main(String[] args) throws Exception { + asyncListFeedSourceTypeSchemasPaged(); + } + + public static void asyncListFeedSourceTypeSchemasPaged() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + ListFeedSourceTypeSchemasRequest request = + ListFeedSourceTypeSchemasRequest.newBuilder() + .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + while (true) { + ListFeedSourceTypeSchemasResponse response = + feedsServiceClient.listFeedSourceTypeSchemasCallable().call(request); + for (FeedSourceTypeSchema element : response.getFeedSourceTypeSchemasList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END chronicle_v1_generated_FeedsService_ListFeedSourceTypeSchemas_Paged_async] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedsourcetypeschemas/SyncListFeedSourceTypeSchemas.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedsourcetypeschemas/SyncListFeedSourceTypeSchemas.java new file mode 100644 index 000000000000..91f9293993ec --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedsourcetypeschemas/SyncListFeedSourceTypeSchemas.java @@ -0,0 +1,51 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_ListFeedSourceTypeSchemas_sync] +import com.google.cloud.chronicle.v1.FeedSourceTypeSchema; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.InstanceName; +import com.google.cloud.chronicle.v1.ListFeedSourceTypeSchemasRequest; + +public class SyncListFeedSourceTypeSchemas { + + public static void main(String[] args) throws Exception { + syncListFeedSourceTypeSchemas(); + } + + public static void syncListFeedSourceTypeSchemas() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + ListFeedSourceTypeSchemasRequest request = + ListFeedSourceTypeSchemasRequest.newBuilder() + .setParent(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + for (FeedSourceTypeSchema element : + feedsServiceClient.listFeedSourceTypeSchemas(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END chronicle_v1_generated_FeedsService_ListFeedSourceTypeSchemas_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedsourcetypeschemas/SyncListFeedSourceTypeSchemasInstancename.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedsourcetypeschemas/SyncListFeedSourceTypeSchemasInstancename.java new file mode 100644 index 000000000000..05d0016fa1b9 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedsourcetypeschemas/SyncListFeedSourceTypeSchemasInstancename.java @@ -0,0 +1,45 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_ListFeedSourceTypeSchemas_Instancename_sync] +import com.google.cloud.chronicle.v1.FeedSourceTypeSchema; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.InstanceName; + +public class SyncListFeedSourceTypeSchemasInstancename { + + public static void main(String[] args) throws Exception { + syncListFeedSourceTypeSchemasInstancename(); + } + + public static void syncListFeedSourceTypeSchemasInstancename() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + InstanceName parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]"); + for (FeedSourceTypeSchema element : + feedsServiceClient.listFeedSourceTypeSchemas(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END chronicle_v1_generated_FeedsService_ListFeedSourceTypeSchemas_Instancename_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedsourcetypeschemas/SyncListFeedSourceTypeSchemasString.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedsourcetypeschemas/SyncListFeedSourceTypeSchemasString.java new file mode 100644 index 000000000000..42d644720c59 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listfeedsourcetypeschemas/SyncListFeedSourceTypeSchemasString.java @@ -0,0 +1,45 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_ListFeedSourceTypeSchemas_String_sync] +import com.google.cloud.chronicle.v1.FeedSourceTypeSchema; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.InstanceName; + +public class SyncListFeedSourceTypeSchemasString { + + public static void main(String[] args) throws Exception { + syncListFeedSourceTypeSchemasString(); + } + + public static void syncListFeedSourceTypeSchemasString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + String parent = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString(); + for (FeedSourceTypeSchema element : + feedsServiceClient.listFeedSourceTypeSchemas(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END chronicle_v1_generated_FeedsService_ListFeedSourceTypeSchemas_String_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listlogtypeschemas/AsyncListLogTypeSchemas.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listlogtypeschemas/AsyncListLogTypeSchemas.java new file mode 100644 index 000000000000..1254cfddd540 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listlogtypeschemas/AsyncListLogTypeSchemas.java @@ -0,0 +1,57 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_ListLogTypeSchemas_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.chronicle.v1.FeedSourceTypeSchemaName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest; +import com.google.cloud.chronicle.v1.LogTypeSchema; + +public class AsyncListLogTypeSchemas { + + public static void main(String[] args) throws Exception { + asyncListLogTypeSchemas(); + } + + public static void asyncListLogTypeSchemas() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + ListLogTypeSchemasRequest request = + ListLogTypeSchemasRequest.newBuilder() + .setParent( + FeedSourceTypeSchemaName.of( + "[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_SOURCE_TYPE]") + .toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + ApiFuture future = + feedsServiceClient.listLogTypeSchemasPagedCallable().futureCall(request); + // Do something. + for (LogTypeSchema element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END chronicle_v1_generated_FeedsService_ListLogTypeSchemas_async] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listlogtypeschemas/AsyncListLogTypeSchemasPaged.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listlogtypeschemas/AsyncListLogTypeSchemasPaged.java new file mode 100644 index 000000000000..2d8c50f4327e --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listlogtypeschemas/AsyncListLogTypeSchemasPaged.java @@ -0,0 +1,65 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_ListLogTypeSchemas_Paged_async] +import com.google.cloud.chronicle.v1.FeedSourceTypeSchemaName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest; +import com.google.cloud.chronicle.v1.ListLogTypeSchemasResponse; +import com.google.cloud.chronicle.v1.LogTypeSchema; +import com.google.common.base.Strings; + +public class AsyncListLogTypeSchemasPaged { + + public static void main(String[] args) throws Exception { + asyncListLogTypeSchemasPaged(); + } + + public static void asyncListLogTypeSchemasPaged() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + ListLogTypeSchemasRequest request = + ListLogTypeSchemasRequest.newBuilder() + .setParent( + FeedSourceTypeSchemaName.of( + "[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_SOURCE_TYPE]") + .toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + while (true) { + ListLogTypeSchemasResponse response = + feedsServiceClient.listLogTypeSchemasCallable().call(request); + for (LogTypeSchema element : response.getLogTypeSchemasList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END chronicle_v1_generated_FeedsService_ListLogTypeSchemas_Paged_async] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listlogtypeschemas/SyncListLogTypeSchemas.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listlogtypeschemas/SyncListLogTypeSchemas.java new file mode 100644 index 000000000000..c6f36a300b6b --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listlogtypeschemas/SyncListLogTypeSchemas.java @@ -0,0 +1,53 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_ListLogTypeSchemas_sync] +import com.google.cloud.chronicle.v1.FeedSourceTypeSchemaName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.ListLogTypeSchemasRequest; +import com.google.cloud.chronicle.v1.LogTypeSchema; + +public class SyncListLogTypeSchemas { + + public static void main(String[] args) throws Exception { + syncListLogTypeSchemas(); + } + + public static void syncListLogTypeSchemas() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + ListLogTypeSchemasRequest request = + ListLogTypeSchemasRequest.newBuilder() + .setParent( + FeedSourceTypeSchemaName.of( + "[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_SOURCE_TYPE]") + .toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + for (LogTypeSchema element : feedsServiceClient.listLogTypeSchemas(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END chronicle_v1_generated_FeedsService_ListLogTypeSchemas_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listlogtypeschemas/SyncListLogTypeSchemasFeedsourcetypeschemaname.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listlogtypeschemas/SyncListLogTypeSchemasFeedsourcetypeschemaname.java new file mode 100644 index 000000000000..92b24826c329 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listlogtypeschemas/SyncListLogTypeSchemasFeedsourcetypeschemaname.java @@ -0,0 +1,46 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_ListLogTypeSchemas_Feedsourcetypeschemaname_sync] +import com.google.cloud.chronicle.v1.FeedSourceTypeSchemaName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.LogTypeSchema; + +public class SyncListLogTypeSchemasFeedsourcetypeschemaname { + + public static void main(String[] args) throws Exception { + syncListLogTypeSchemasFeedsourcetypeschemaname(); + } + + public static void syncListLogTypeSchemasFeedsourcetypeschemaname() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + FeedSourceTypeSchemaName parent = + FeedSourceTypeSchemaName.of( + "[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_SOURCE_TYPE]"); + for (LogTypeSchema element : feedsServiceClient.listLogTypeSchemas(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END chronicle_v1_generated_FeedsService_ListLogTypeSchemas_Feedsourcetypeschemaname_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listlogtypeschemas/SyncListLogTypeSchemasString.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listlogtypeschemas/SyncListLogTypeSchemasString.java new file mode 100644 index 000000000000..7034e220dd33 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/listlogtypeschemas/SyncListLogTypeSchemasString.java @@ -0,0 +1,46 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_ListLogTypeSchemas_String_sync] +import com.google.cloud.chronicle.v1.FeedSourceTypeSchemaName; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.LogTypeSchema; + +public class SyncListLogTypeSchemasString { + + public static void main(String[] args) throws Exception { + syncListLogTypeSchemasString(); + } + + public static void syncListLogTypeSchemasString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + String parent = + FeedSourceTypeSchemaName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[FEED_SOURCE_TYPE]") + .toString(); + for (LogTypeSchema element : feedsServiceClient.listLogTypeSchemas(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END chronicle_v1_generated_FeedsService_ListLogTypeSchemas_String_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/updatefeed/AsyncUpdateFeed.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/updatefeed/AsyncUpdateFeed.java new file mode 100644 index 000000000000..ceee1a54afd9 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/updatefeed/AsyncUpdateFeed.java @@ -0,0 +1,50 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_UpdateFeed_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.UpdateFeedRequest; +import com.google.protobuf.FieldMask; + +public class AsyncUpdateFeed { + + public static void main(String[] args) throws Exception { + asyncUpdateFeed(); + } + + public static void asyncUpdateFeed() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + UpdateFeedRequest request = + UpdateFeedRequest.newBuilder() + .setFeed(Feed.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + ApiFuture future = feedsServiceClient.updateFeedCallable().futureCall(request); + // Do something. + Feed response = future.get(); + } + } +} +// [END chronicle_v1_generated_FeedsService_UpdateFeed_async] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/updatefeed/SyncUpdateFeed.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/updatefeed/SyncUpdateFeed.java new file mode 100644 index 000000000000..cf039af734e9 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/updatefeed/SyncUpdateFeed.java @@ -0,0 +1,47 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_UpdateFeed_sync] +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.cloud.chronicle.v1.UpdateFeedRequest; +import com.google.protobuf.FieldMask; + +public class SyncUpdateFeed { + + public static void main(String[] args) throws Exception { + syncUpdateFeed(); + } + + public static void syncUpdateFeed() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + UpdateFeedRequest request = + UpdateFeedRequest.newBuilder() + .setFeed(Feed.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + Feed response = feedsServiceClient.updateFeed(request); + } + } +} +// [END chronicle_v1_generated_FeedsService_UpdateFeed_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/updatefeed/SyncUpdateFeedFeedFieldmask.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/updatefeed/SyncUpdateFeedFeedFieldmask.java new file mode 100644 index 000000000000..904b3bc87fb6 --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservice/updatefeed/SyncUpdateFeedFeedFieldmask.java @@ -0,0 +1,43 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsService_UpdateFeed_FeedFieldmask_sync] +import com.google.cloud.chronicle.v1.Feed; +import com.google.cloud.chronicle.v1.FeedsServiceClient; +import com.google.protobuf.FieldMask; + +public class SyncUpdateFeedFeedFieldmask { + + public static void main(String[] args) throws Exception { + syncUpdateFeedFeedFieldmask(); + } + + public static void syncUpdateFeedFeedFieldmask() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (FeedsServiceClient feedsServiceClient = FeedsServiceClient.create()) { + Feed feed = Feed.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + Feed response = feedsServiceClient.updateFeed(feed, updateMask); + } + } +} +// [END chronicle_v1_generated_FeedsService_UpdateFeed_FeedFieldmask_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservicesettings/fetchserviceaccountforcustomer/SyncFetchServiceAccountForCustomer.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservicesettings/fetchserviceaccountforcustomer/SyncFetchServiceAccountForCustomer.java new file mode 100644 index 000000000000..3a03578d30dc --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/feedsservicesettings/fetchserviceaccountforcustomer/SyncFetchServiceAccountForCustomer.java @@ -0,0 +1,55 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.samples; + +// [START chronicle_v1_generated_FeedsServiceSettings_FetchServiceAccountForCustomer_sync] +import com.google.cloud.chronicle.v1.FeedsServiceSettings; +import java.time.Duration; + +public class SyncFetchServiceAccountForCustomer { + + public static void main(String[] args) throws Exception { + syncFetchServiceAccountForCustomer(); + } + + public static void syncFetchServiceAccountForCustomer() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + FeedsServiceSettings.Builder feedsServiceSettingsBuilder = FeedsServiceSettings.newBuilder(); + feedsServiceSettingsBuilder + .fetchServiceAccountForCustomerSettings() + .setRetrySettings( + feedsServiceSettingsBuilder + .fetchServiceAccountForCustomerSettings() + .getRetrySettings() + .toBuilder() + .setInitialRetryDelayDuration(Duration.ofSeconds(1)) + .setInitialRpcTimeoutDuration(Duration.ofSeconds(5)) + .setMaxAttempts(5) + .setMaxRetryDelayDuration(Duration.ofSeconds(30)) + .setMaxRpcTimeoutDuration(Duration.ofSeconds(60)) + .setRetryDelayMultiplier(1.3) + .setRpcTimeoutMultiplier(1.5) + .setTotalTimeoutDuration(Duration.ofSeconds(300)) + .build()); + FeedsServiceSettings feedsServiceSettings = feedsServiceSettingsBuilder.build(); + } +} +// [END chronicle_v1_generated_FeedsServiceSettings_FetchServiceAccountForCustomer_sync] diff --git a/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/stub/feedsservicestubsettings/fetchserviceaccountforcustomer/SyncFetchServiceAccountForCustomer.java b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/stub/feedsservicestubsettings/fetchserviceaccountforcustomer/SyncFetchServiceAccountForCustomer.java new file mode 100644 index 000000000000..76b32342540d --- /dev/null +++ b/java-chronicle/samples/snippets/generated/com/google/cloud/chronicle/v1/stub/feedsservicestubsettings/fetchserviceaccountforcustomer/SyncFetchServiceAccountForCustomer.java @@ -0,0 +1,56 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.chronicle.v1.stub.samples; + +// [START chronicle_v1_generated_FeedsServiceStubSettings_FetchServiceAccountForCustomer_sync] +import com.google.cloud.chronicle.v1.stub.FeedsServiceStubSettings; +import java.time.Duration; + +public class SyncFetchServiceAccountForCustomer { + + public static void main(String[] args) throws Exception { + syncFetchServiceAccountForCustomer(); + } + + public static void syncFetchServiceAccountForCustomer() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + FeedsServiceStubSettings.Builder feedsServiceSettingsBuilder = + FeedsServiceStubSettings.newBuilder(); + feedsServiceSettingsBuilder + .fetchServiceAccountForCustomerSettings() + .setRetrySettings( + feedsServiceSettingsBuilder + .fetchServiceAccountForCustomerSettings() + .getRetrySettings() + .toBuilder() + .setInitialRetryDelayDuration(Duration.ofSeconds(1)) + .setInitialRpcTimeoutDuration(Duration.ofSeconds(5)) + .setMaxAttempts(5) + .setMaxRetryDelayDuration(Duration.ofSeconds(30)) + .setMaxRpcTimeoutDuration(Duration.ofSeconds(60)) + .setRetryDelayMultiplier(1.3) + .setRpcTimeoutMultiplier(1.5) + .setTotalTimeoutDuration(Duration.ofSeconds(300)) + .build()); + FeedsServiceStubSettings feedsServiceSettings = feedsServiceSettingsBuilder.build(); + } +} +// [END chronicle_v1_generated_FeedsServiceStubSettings_FetchServiceAccountForCustomer_sync] diff --git a/java-cloudapiregistry/README.md b/java-cloudapiregistry/README.md index eb49aea40a02..e3c11f20a82a 100644 --- a/java-cloudapiregistry/README.md +++ b/java-cloudapiregistry/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-cloudapiregistry - 0.15.0 + 0.16.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-cloudapiregistry' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-cloudapiregistry:0.15.0' +implementation 'com.google.cloud:google-cloud-cloudapiregistry:0.16.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-cloudapiregistry" % "0.15.0" +libraryDependencies += "com.google.cloud" % "google-cloud-cloudapiregistry" % "0.16.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-cloudapiregistry/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-cloudapiregistry.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudapiregistry/0.15.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudapiregistry/0.16.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-cloudbuild/README.md b/java-cloudbuild/README.md index e8eec66f3864..4eb31aebf638 100644 --- a/java-cloudbuild/README.md +++ b/java-cloudbuild/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-build - 3.98.0 + 3.99.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-build' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-build:3.98.0' +implementation 'com.google.cloud:google-cloud-build:3.99.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-build" % "3.98.0" +libraryDependencies += "com.google.cloud" % "google-cloud-build" % "3.99.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-build/latest/overview [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-build.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-build/3.98.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-build/3.99.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-cloudcommerceconsumerprocurement/README.md b/java-cloudcommerceconsumerprocurement/README.md index b8455dade75e..97d5f6cd7aa7 100644 --- a/java-cloudcommerceconsumerprocurement/README.md +++ b/java-cloudcommerceconsumerprocurement/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-cloudcommerceconsumerprocurement - 0.94.0 + 0.95.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-cloudcommerceconsumerprocurement' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-cloudcommerceconsumerprocurement:0.94.0' +implementation 'com.google.cloud:google-cloud-cloudcommerceconsumerprocurement:0.95.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-cloudcommerceconsumerprocurement" % "0.94.0" +libraryDependencies += "com.google.cloud" % "google-cloud-cloudcommerceconsumerprocurement" % "0.95.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-cloudcommerceconsumerprocurement/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-cloudcommerceconsumerprocurement.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudcommerceconsumerprocurement/0.94.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudcommerceconsumerprocurement/0.95.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-cloudcontrolspartner/README.md b/java-cloudcontrolspartner/README.md index 8c1d951bd0ac..b829061975e4 100644 --- a/java-cloudcontrolspartner/README.md +++ b/java-cloudcontrolspartner/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-cloudcontrolspartner - 0.60.0 + 0.61.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-cloudcontrolspartner' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-cloudcontrolspartner:0.60.0' +implementation 'com.google.cloud:google-cloud-cloudcontrolspartner:0.61.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-cloudcontrolspartner" % "0.60.0" +libraryDependencies += "com.google.cloud" % "google-cloud-cloudcontrolspartner" % "0.61.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-cloudcontrolspartner/latest/overview [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-cloudcontrolspartner.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudcontrolspartner/0.60.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudcontrolspartner/0.61.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-cloudquotas/README.md b/java-cloudquotas/README.md index 12fdd759a4f7..3014ec8492f2 100644 --- a/java-cloudquotas/README.md +++ b/java-cloudquotas/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-cloudquotas - 0.64.0 + 0.65.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-cloudquotas' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-cloudquotas:0.64.0' +implementation 'com.google.cloud:google-cloud-cloudquotas:0.65.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-cloudquotas" % "0.64.0" +libraryDependencies += "com.google.cloud" % "google-cloud-cloudquotas" % "0.65.0" ``` ## Authentication @@ -182,7 +182,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-cloudquotas/latest/overview [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-cloudquotas.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudquotas/0.64.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudquotas/0.65.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-cloudsecuritycompliance/README.md b/java-cloudsecuritycompliance/README.md index 715430fe1095..e0f6426d9279 100644 --- a/java-cloudsecuritycompliance/README.md +++ b/java-cloudsecuritycompliance/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-cloudsecuritycompliance - 0.23.0 + 0.24.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-cloudsecuritycompliance' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-cloudsecuritycompliance:0.23.0' +implementation 'com.google.cloud:google-cloud-cloudsecuritycompliance:0.24.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-cloudsecuritycompliance" % "0.23.0" +libraryDependencies += "com.google.cloud" % "google-cloud-cloudsecuritycompliance" % "0.24.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-cloudsecuritycompliance/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-cloudsecuritycompliance.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudsecuritycompliance/0.23.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudsecuritycompliance/0.24.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-cloudsupport/README.md b/java-cloudsupport/README.md index ce4d6fba7d8c..10ec1d4a770c 100644 --- a/java-cloudsupport/README.md +++ b/java-cloudsupport/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-cloudsupport - 0.80.0 + 0.81.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-cloudsupport' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-cloudsupport:0.80.0' +implementation 'com.google.cloud:google-cloud-cloudsupport:0.81.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-cloudsupport" % "0.80.0" +libraryDependencies += "com.google.cloud" % "google-cloud-cloudsupport" % "0.81.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-cloudsupport/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-cloudsupport.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudsupport/0.80.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudsupport/0.81.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-commerceproducer/README.md b/java-commerceproducer/README.md index 6b1d44101e7a..a176db36ef2d 100644 --- a/java-commerceproducer/README.md +++ b/java-commerceproducer/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-commerceproducer - 0.2.0 + 0.3.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-commerceproducer' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-commerceproducer:0.2.0' +implementation 'com.google.cloud:google-cloud-commerceproducer:0.3.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-commerceproducer" % "0.2.0" +libraryDependencies += "com.google.cloud" % "google-cloud-commerceproducer" % "0.3.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-commerceproducer/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-commerceproducer.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-commerceproducer/0.2.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-commerceproducer/0.3.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-compute/README.md b/java-compute/README.md index e1c8c2f7ee66..244670c1b8f7 100644 --- a/java-compute/README.md +++ b/java-compute/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-compute - 1.106.0 + 1.107.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-compute' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-compute:1.106.0' +implementation 'com.google.cloud:google-cloud-compute:1.107.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-compute" % "1.106.0" +libraryDependencies += "com.google.cloud" % "google-cloud-compute" % "1.107.0" ``` ## Authentication @@ -245,7 +245,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-compute/latest/overview [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-compute.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-compute/1.106.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-compute/1.107.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-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ReservationSlotsClient.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ReservationSlotsClient.java index 3cae4b0ef591..5b27da2fdbd2 100644 --- a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ReservationSlotsClient.java +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ReservationSlotsClient.java @@ -89,6 +89,25 @@ * * * + *

GetHealth + *

Get health info on a reservation slot. + * + *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • getHealthAsync(GetHealthReservationSlotRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • getHealthAsync(String project, String zone, String parentName, String reservationSlot) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • getHealthOperationCallable() + *

  • getHealthCallable() + *

+ * + * + * *

GetVersion *

Allows customers to get SBOM versions of a reservation slot. * @@ -343,6 +362,146 @@ public final UnaryCallableSample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ReservationSlotsClient reservationSlotsClient = ReservationSlotsClient.create()) {
+   *   String project = "project-309310695";
+   *   String zone = "zone3744684";
+   *   String parentName = "parentName-244870571";
+   *   String reservationSlot = "reservationSlot-337781782";
+   *   Operation response =
+   *       reservationSlotsClient.getHealthAsync(project, zone, parentName, reservationSlot).get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param zone Name of the zone for this request. Zone name should conform to RFC1035. + * @param parentName The name of the parent reservation, parent block and parent sub-block. In the + * format of + * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name} + * @param reservationSlot The name of the reservation slot. Name should conform to RFC1035 or be a + * resource ID. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture getHealthAsync( + String project, String zone, String parentName, String reservationSlot) { + GetHealthReservationSlotRequest request = + GetHealthReservationSlotRequest.newBuilder() + .setProject(project) + .setZone(zone) + .setParentName(parentName) + .setReservationSlot(reservationSlot) + .build(); + return getHealthAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Get health info on a reservation slot. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ReservationSlotsClient reservationSlotsClient = ReservationSlotsClient.create()) {
+   *   GetHealthReservationSlotRequest request =
+   *       GetHealthReservationSlotRequest.newBuilder()
+   *           .setParentName("parentName-244870571")
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setReservationSlot("reservationSlot-337781782")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   Operation response = reservationSlotsClient.getHealthAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture getHealthAsync( + GetHealthReservationSlotRequest request) { + return getHealthOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Get health info on a reservation slot. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ReservationSlotsClient reservationSlotsClient = ReservationSlotsClient.create()) {
+   *   GetHealthReservationSlotRequest request =
+   *       GetHealthReservationSlotRequest.newBuilder()
+   *           .setParentName("parentName-244870571")
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setReservationSlot("reservationSlot-337781782")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   OperationFuture future =
+   *       reservationSlotsClient.getHealthOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + getHealthOperationCallable() { + return stub.getHealthOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Get health info on a reservation slot. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ReservationSlotsClient reservationSlotsClient = ReservationSlotsClient.create()) {
+   *   GetHealthReservationSlotRequest request =
+   *       GetHealthReservationSlotRequest.newBuilder()
+   *           .setParentName("parentName-244870571")
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setReservationSlot("reservationSlot-337781782")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   ApiFuture future = reservationSlotsClient.getHealthCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getHealthCallable() { + return stub.getHealthCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Allows customers to get SBOM versions of a reservation slot. diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ReservationSlotsSettings.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ReservationSlotsSettings.java index f5721562ffe8..85c26d219164 100644 --- a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ReservationSlotsSettings.java +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ReservationSlotsSettings.java @@ -88,7 +88,7 @@ * *

To configure the RetrySettings of a Long Running Operation method, create an * OperationTimedPollAlgorithm object and update the RPC's polling algorithm. For example, to - * configure the RetrySettings for getVersion: + * configure the RetrySettings for getHealth: * *

{@code
  * // This snippet has been automatically generated and should be regarded as a code template only.
@@ -121,6 +121,17 @@ public UnaryCallSettings
     return ((ReservationSlotsStubSettings) getStubSettings()).getSettings();
   }
 
+  /** Returns the object with the settings used for calls to getHealth. */
+  public UnaryCallSettings getHealthSettings() {
+    return ((ReservationSlotsStubSettings) getStubSettings()).getHealthSettings();
+  }
+
+  /** Returns the object with the settings used for calls to getHealth. */
+  public OperationCallSettings
+      getHealthOperationSettings() {
+    return ((ReservationSlotsStubSettings) getStubSettings()).getHealthOperationSettings();
+  }
+
   /** Returns the object with the settings used for calls to getVersion. */
   public UnaryCallSettings getVersionSettings() {
     return ((ReservationSlotsStubSettings) getStubSettings()).getVersionSettings();
@@ -253,6 +264,18 @@ public Builder applyToAllUnaryMethods(
       return getStubSettingsBuilder().getSettings();
     }
 
+    /** Returns the builder for the settings used for calls to getHealth. */
+    public UnaryCallSettings.Builder
+        getHealthSettings() {
+      return getStubSettingsBuilder().getHealthSettings();
+    }
+
+    /** Returns the builder for the settings used for calls to getHealth. */
+    public OperationCallSettings.Builder
+        getHealthOperationSettings() {
+      return getStubSettingsBuilder().getHealthOperationSettings();
+    }
+
     /** Returns the builder for the settings used for calls to getVersion. */
     public UnaryCallSettings.Builder
         getVersionSettings() {
diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/gapic_metadata.json b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/gapic_metadata.json
index a67bdbd23975..7f7cb5a80c5e 100644
--- a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/gapic_metadata.json
+++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/gapic_metadata.json
@@ -3091,6 +3091,9 @@
             "Get": {
               "methods": ["get", "get", "getCallable"]
             },
+            "GetHealth": {
+              "methods": ["getHealthAsync", "getHealthAsync", "getHealthOperationCallable", "getHealthCallable"]
+            },
             "GetVersion": {
               "methods": ["getVersionAsync", "getVersionAsync", "getVersionOperationCallable", "getVersionCallable"]
             },
diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonReservationSlotsStub.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonReservationSlotsStub.java
index 1a6eebf4ea88..c1b869f573de 100644
--- a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonReservationSlotsStub.java
+++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonReservationSlotsStub.java
@@ -33,6 +33,7 @@
 import com.google.api.gax.rpc.RequestParamsBuilder;
 import com.google.api.gax.rpc.UnaryCallable;
 import com.google.api.pathtemplate.PathTemplate;
+import com.google.cloud.compute.v1.GetHealthReservationSlotRequest;
 import com.google.cloud.compute.v1.GetReservationSlotRequest;
 import com.google.cloud.compute.v1.GetVersionReservationSlotRequest;
 import com.google.cloud.compute.v1.ListReservationSlotsRequest;
@@ -100,6 +101,59 @@ public class HttpJsonReservationSlotsStub extends ReservationSlotsStub {
                       .build())
               .build();
 
+  private static final ApiMethodDescriptor
+      getHealthMethodDescriptor =
+          ApiMethodDescriptor.newBuilder()
+              .setFullMethodName("google.cloud.compute.v1.ReservationSlots/GetHealth")
+              .setHttpMethod("POST")
+              .setType(ApiMethodDescriptor.MethodType.UNARY)
+              .setRequestFormatter(
+                  ProtoMessageRequestFormatter.newBuilder()
+                      .setPath(
+                          "/compute/v1/projects/{project}/zones/{zone}/{parentName=reservations/*/reservationBlocks/*/reservationSubBlocks/*}/reservationSlots/{reservationSlot}/getHealth",
+                          request -> {
+                            Map fields = new HashMap<>();
+                            ProtoRestSerializer serializer =
+                                ProtoRestSerializer.create();
+                            serializer.putPathParam(fields, "parentName", request.getParentName());
+                            serializer.putPathParam(fields, "project", request.getProject());
+                            serializer.putPathParam(
+                                fields, "reservationSlot", request.getReservationSlot());
+                            serializer.putPathParam(fields, "zone", request.getZone());
+                            return fields;
+                          })
+                      .setQueryParamsExtractor(
+                          request -> {
+                            Map> fields = new HashMap<>();
+                            ProtoRestSerializer serializer =
+                                ProtoRestSerializer.create();
+                            if (request.hasRequestId()) {
+                              serializer.putQueryParam(fields, "requestId", request.getRequestId());
+                            }
+                            return fields;
+                          })
+                      .setRequestBodyExtractor(request -> null)
+                      .build())
+              .setResponseParser(
+                  ProtoMessageResponseParser.newBuilder()
+                      .setDefaultInstance(Operation.getDefaultInstance())
+                      .setDefaultTypeRegistry(typeRegistry)
+                      .build())
+              .setOperationSnapshotFactory(
+                  (GetHealthReservationSlotRequest request, Operation response) -> {
+                    StringBuilder opName = new StringBuilder(response.getName());
+                    opName.append(":").append(request.getProject());
+                    opName.append(":").append(request.getZone());
+                    return HttpJsonOperationSnapshot.newBuilder()
+                        .setName(opName.toString())
+                        .setMetadata(response)
+                        .setDone(Status.DONE.equals(response.getStatus()))
+                        .setResponse(response)
+                        .setError(response.getHttpErrorStatusCode(), response.getHttpErrorMessage())
+                        .build();
+                  })
+              .build();
+
   private static final ApiMethodDescriptor
       getVersionMethodDescriptor =
           ApiMethodDescriptor.newBuilder()
@@ -276,6 +330,9 @@ public class HttpJsonReservationSlotsStub extends ReservationSlotsStub {
               .build();
 
   private final UnaryCallable getCallable;
+  private final UnaryCallable getHealthCallable;
+  private final OperationCallable
+      getHealthOperationCallable;
   private final UnaryCallable getVersionCallable;
   private final OperationCallable
       getVersionOperationCallable;
@@ -293,6 +350,9 @@ public class HttpJsonReservationSlotsStub extends ReservationSlotsStub {
   private static final PathTemplate GET_RESOURCE_NAME_TEMPLATE =
       PathTemplate.create(
           "projects/{project}/zones/{zone}/{parent_name=reservations/*/reservationBlocks/*/reservationSubBlocks/*}/reservationSlots/{reservation_slot}");
+  private static final PathTemplate GET_HEALTH_RESOURCE_NAME_TEMPLATE =
+      PathTemplate.create(
+          "projects/{project}/zones/{zone}/{parent_name=reservations/*/reservationBlocks/*/reservationSubBlocks/*}/reservationSlots/{reservation_slot}");
   private static final PathTemplate GET_VERSION_RESOURCE_NAME_TEMPLATE =
       PathTemplate.create(
           "projects/{project}/zones/{zone}/{parent_name=reservations/*/reservationBlocks/*/reservationSubBlocks/*}/reservationSlots/{reservation_slot}");
@@ -370,6 +430,30 @@ protected HttpJsonReservationSlotsStub(
                       return GET_RESOURCE_NAME_TEMPLATE.instantiate(resourceNameSegments);
                     })
                 .build();
+    HttpJsonCallSettings getHealthTransportSettings =
+        HttpJsonCallSettings.newBuilder()
+            .setMethodDescriptor(getHealthMethodDescriptor)
+            .setTypeRegistry(typeRegistry)
+            .setParamsExtractor(
+                request -> {
+                  RequestParamsBuilder builder = RequestParamsBuilder.create();
+                  builder.add("parent_name", String.valueOf(request.getParentName()));
+                  builder.add("project", String.valueOf(request.getProject()));
+                  builder.add("reservation_slot", String.valueOf(request.getReservationSlot()));
+                  builder.add("zone", String.valueOf(request.getZone()));
+                  return builder.build();
+                })
+            .setResourceNameExtractor(
+                request -> {
+                  Map resourceNameSegments = new HashMap();
+                  resourceNameSegments.put("parent_name", String.valueOf(request.getParentName()));
+                  resourceNameSegments.put("project", String.valueOf(request.getProject()));
+                  resourceNameSegments.put(
+                      "reservation_slot", String.valueOf(request.getReservationSlot()));
+                  resourceNameSegments.put("zone", String.valueOf(request.getZone()));
+                  return GET_HEALTH_RESOURCE_NAME_TEMPLATE.instantiate(resourceNameSegments);
+                })
+            .build();
     HttpJsonCallSettings getVersionTransportSettings =
         HttpJsonCallSettings.newBuilder()
             .setMethodDescriptor(getVersionMethodDescriptor)
@@ -446,6 +530,15 @@ protected HttpJsonReservationSlotsStub(
     this.getCallable =
         callableFactory.createUnaryCallable(
             getTransportSettings, settings.getSettings(), clientContext);
+    this.getHealthCallable =
+        callableFactory.createUnaryCallable(
+            getHealthTransportSettings, settings.getHealthSettings(), clientContext);
+    this.getHealthOperationCallable =
+        callableFactory.createOperationCallable(
+            getHealthTransportSettings,
+            settings.getHealthOperationSettings(),
+            clientContext,
+            httpJsonOperationsStub);
     this.getVersionCallable =
         callableFactory.createUnaryCallable(
             getVersionTransportSettings, settings.getVersionSettings(), clientContext);
@@ -479,6 +572,7 @@ protected HttpJsonReservationSlotsStub(
   public static List getMethodDescriptors() {
     List methodDescriptors = new ArrayList<>();
     methodDescriptors.add(getMethodDescriptor);
+    methodDescriptors.add(getHealthMethodDescriptor);
     methodDescriptors.add(getVersionMethodDescriptor);
     methodDescriptors.add(listMethodDescriptor);
     methodDescriptors.add(updateMethodDescriptor);
@@ -490,6 +584,17 @@ public UnaryCallable get
     return getCallable;
   }
 
+  @Override
+  public UnaryCallable getHealthCallable() {
+    return getHealthCallable;
+  }
+
+  @Override
+  public OperationCallable
+      getHealthOperationCallable() {
+    return getHealthOperationCallable;
+  }
+
   @Override
   public UnaryCallable getVersionCallable() {
     return getVersionCallable;
diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ReservationSlotsStub.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ReservationSlotsStub.java
index e6f0af537a1c..4c507595676a 100644
--- a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ReservationSlotsStub.java
+++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ReservationSlotsStub.java
@@ -21,6 +21,7 @@
 import com.google.api.gax.core.BackgroundResource;
 import com.google.api.gax.rpc.OperationCallable;
 import com.google.api.gax.rpc.UnaryCallable;
+import com.google.cloud.compute.v1.GetHealthReservationSlotRequest;
 import com.google.cloud.compute.v1.GetReservationSlotRequest;
 import com.google.cloud.compute.v1.GetVersionReservationSlotRequest;
 import com.google.cloud.compute.v1.ListReservationSlotsRequest;
@@ -45,6 +46,15 @@ public UnaryCallable get
     throw new UnsupportedOperationException("Not implemented: getCallable()");
   }
 
+  public OperationCallable
+      getHealthOperationCallable() {
+    throw new UnsupportedOperationException("Not implemented: getHealthOperationCallable()");
+  }
+
+  public UnaryCallable getHealthCallable() {
+    throw new UnsupportedOperationException("Not implemented: getHealthCallable()");
+  }
+
   public OperationCallable
       getVersionOperationCallable() {
     throw new UnsupportedOperationException("Not implemented: getVersionOperationCallable()");
diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ReservationSlotsStubSettings.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ReservationSlotsStubSettings.java
index 7fcc400d7ff9..5bce417d80c9 100644
--- a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ReservationSlotsStubSettings.java
+++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/ReservationSlotsStubSettings.java
@@ -45,6 +45,7 @@
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.api.gax.rpc.UnaryCallable;
+import com.google.cloud.compute.v1.GetHealthReservationSlotRequest;
 import com.google.cloud.compute.v1.GetReservationSlotRequest;
 import com.google.cloud.compute.v1.GetVersionReservationSlotRequest;
 import com.google.cloud.compute.v1.ListReservationSlotsRequest;
@@ -116,7 +117,7 @@
  *
  * 

To configure the RetrySettings of a Long Running Operation method, create an * OperationTimedPollAlgorithm object and update the RPC's polling algorithm. For example, to - * configure the RetrySettings for getVersion: + * configure the RetrySettings for getHealth: * *

{@code
  * // This snippet has been automatically generated and should be regarded as a code template only.
@@ -153,6 +154,9 @@ public class ReservationSlotsStubSettings extends StubSettings
       getSettings;
+  private final UnaryCallSettings getHealthSettings;
+  private final OperationCallSettings
+      getHealthOperationSettings;
   private final UnaryCallSettings getVersionSettings;
   private final OperationCallSettings
       getVersionOperationSettings;
@@ -227,6 +231,17 @@ public UnaryCallSettings
     return getSettings;
   }
 
+  /** Returns the object with the settings used for calls to getHealth. */
+  public UnaryCallSettings getHealthSettings() {
+    return getHealthSettings;
+  }
+
+  /** Returns the object with the settings used for calls to getHealth. */
+  public OperationCallSettings
+      getHealthOperationSettings() {
+    return getHealthOperationSettings;
+  }
+
   /** Returns the object with the settings used for calls to getVersion. */
   public UnaryCallSettings getVersionSettings() {
     return getVersionSettings;
@@ -339,6 +354,8 @@ protected ReservationSlotsStubSettings(Builder settingsBuilder) throws IOExcepti
     super(settingsBuilder);
 
     getSettings = settingsBuilder.getSettings().build();
+    getHealthSettings = settingsBuilder.getHealthSettings().build();
+    getHealthOperationSettings = settingsBuilder.getHealthOperationSettings().build();
     getVersionSettings = settingsBuilder.getVersionSettings().build();
     getVersionOperationSettings = settingsBuilder.getVersionOperationSettings().build();
     listSettings = settingsBuilder.listSettings().build();
@@ -360,6 +377,11 @@ public static class Builder extends StubSettings.Builder> unaryMethodSettingsBuilders;
     private final UnaryCallSettings.Builder
         getSettings;
+    private final UnaryCallSettings.Builder
+        getHealthSettings;
+    private final OperationCallSettings.Builder<
+            GetHealthReservationSlotRequest, Operation, Operation>
+        getHealthOperationSettings;
     private final UnaryCallSettings.Builder
         getVersionSettings;
     private final OperationCallSettings.Builder<
@@ -422,6 +444,8 @@ protected Builder(@Nullable ClientContext clientContext) {
       super(clientContext);
 
       getSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+      getHealthSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+      getHealthOperationSettings = OperationCallSettings.newBuilder();
       getVersionSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
       getVersionOperationSettings = OperationCallSettings.newBuilder();
       listSettings = PagedCallSettings.newBuilder(LIST_PAGE_STR_FACT);
@@ -430,7 +454,7 @@ protected Builder(@Nullable ClientContext clientContext) {
 
       unaryMethodSettingsBuilders =
           ImmutableList.>of(
-              getSettings, getVersionSettings, listSettings, updateSettings);
+              getSettings, getHealthSettings, getVersionSettings, listSettings, updateSettings);
       initDefaults(this);
     }
 
@@ -438,6 +462,8 @@ protected Builder(ReservationSlotsStubSettings settings) {
       super(settings);
 
       getSettings = settings.getSettings.toBuilder();
+      getHealthSettings = settings.getHealthSettings.toBuilder();
+      getHealthOperationSettings = settings.getHealthOperationSettings.toBuilder();
       getVersionSettings = settings.getVersionSettings.toBuilder();
       getVersionOperationSettings = settings.getVersionOperationSettings.toBuilder();
       listSettings = settings.listSettings.toBuilder();
@@ -446,7 +472,7 @@ protected Builder(ReservationSlotsStubSettings settings) {
 
       unaryMethodSettingsBuilders =
           ImmutableList.>of(
-              getSettings, getVersionSettings, listSettings, updateSettings);
+              getSettings, getHealthSettings, getVersionSettings, listSettings, updateSettings);
     }
 
     private static Builder createDefault() {
@@ -467,6 +493,11 @@ private static Builder initDefaults(Builder builder) {
           .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
 
+      builder
+          .getHealthSettings()
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
+
       builder
           .getVersionSettings()
           .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
@@ -482,6 +513,30 @@ private static Builder initDefaults(Builder builder) {
           .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
 
+      builder
+          .getHealthOperationSettings()
+          .setInitialCallSettings(
+              UnaryCallSettings
+                  .newUnaryCallSettingsBuilder()
+                  .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+                  .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"))
+                  .build())
+          .setResponseTransformer(
+              ProtoOperationTransformers.ResponseTransformer.create(Operation.class))
+          .setMetadataTransformer(
+              ProtoOperationTransformers.MetadataTransformer.create(Operation.class))
+          .setPollingAlgorithm(
+              OperationTimedPollAlgorithm.create(
+                  RetrySettings.newBuilder()
+                      .setInitialRetryDelayDuration(Duration.ofMillis(500L))
+                      .setRetryDelayMultiplier(1.5)
+                      .setMaxRetryDelayDuration(Duration.ofMillis(20000L))
+                      .setInitialRpcTimeoutDuration(Duration.ZERO)
+                      .setRpcTimeoutMultiplier(1.0)
+                      .setMaxRpcTimeoutDuration(Duration.ZERO)
+                      .setTotalTimeoutDuration(Duration.ofMillis(600000L))
+                      .build()));
+
       builder
           .getVersionOperationSettings()
           .setInitialCallSettings(
@@ -555,6 +610,18 @@ public Builder applyToAllUnaryMethods(
       return getSettings;
     }
 
+    /** Returns the builder for the settings used for calls to getHealth. */
+    public UnaryCallSettings.Builder
+        getHealthSettings() {
+      return getHealthSettings;
+    }
+
+    /** Returns the builder for the settings used for calls to getHealth. */
+    public OperationCallSettings.Builder
+        getHealthOperationSettings() {
+      return getHealthOperationSettings;
+    }
+
     /** Returns the builder for the settings used for calls to getVersion. */
     public UnaryCallSettings.Builder
         getVersionSettings() {
diff --git a/java-compute/google-cloud-compute/src/main/resources/META-INF/native-image/com.google.cloud.compute.v1/reflect-config.json b/java-compute/google-cloud-compute/src/main/resources/META-INF/native-image/com.google.cloud.compute.v1/reflect-config.json
index a4a223027bea..2ddc6a137e57 100644
--- a/java-compute/google-cloud-compute/src/main/resources/META-INF/native-image/com.google.cloud.compute.v1/reflect-config.json
+++ b/java-compute/google-cloud-compute/src/main/resources/META-INF/native-image/com.google.cloud.compute.v1/reflect-config.json
@@ -10241,6 +10241,78 @@
     "allDeclaredClasses": true,
     "allPublicClasses": true
   },
+  {
+    "name": "com.google.cloud.compute.v1.GetHealthOperationMetadata",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.compute.v1.GetHealthOperationMetadata$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo$AvailabilitySloStatus",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo$HealthStatus",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo$RepairCategory",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo$UnhealthyReason",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
   {
     "name": "com.google.cloud.compute.v1.GetHealthRegionBackendServiceRequest",
     "queryAllDeclaredConstructors": true,
@@ -10295,6 +10367,24 @@
     "allDeclaredClasses": true,
     "allPublicClasses": true
   },
+  {
+    "name": "com.google.cloud.compute.v1.GetHealthReservationSlotRequest",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.compute.v1.GetHealthReservationSlotRequest$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
   {
     "name": "com.google.cloud.compute.v1.GetHealthTargetPoolRequest",
     "queryAllDeclaredConstructors": true,
@@ -23606,6 +23696,15 @@
     "allDeclaredClasses": true,
     "allPublicClasses": true
   },
+  {
+    "name": "com.google.cloud.compute.v1.ManagedInstance$TargetStatus",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
   {
     "name": "com.google.cloud.compute.v1.ManagedInstanceInstanceHealth",
     "queryAllDeclaredConstructors": true,
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/AddressesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/AddressesClientTest.java
index 93f52760b820..ee1bfbef2fef 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/AddressesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/AddressesClientTest.java
@@ -142,6 +142,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -285,6 +286,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -412,6 +414,7 @@ public void moveTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -492,6 +495,7 @@ public void setLabelsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/AutoscalersClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/AutoscalersClientTest.java
index 2303ce7304ee..edb88776ebbe 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/AutoscalersClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/AutoscalersClientTest.java
@@ -143,6 +143,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -279,6 +280,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -406,6 +408,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -532,6 +535,7 @@ public void updateTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/BackendBucketsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/BackendBucketsClientTest.java
index 046b9f0d9e4d..cf4940d9af44 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/BackendBucketsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/BackendBucketsClientTest.java
@@ -91,6 +91,7 @@ public void addSignedUrlKeyTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -219,6 +220,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -292,6 +294,7 @@ public void deleteSignedUrlKeyTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -479,6 +482,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -652,6 +656,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -728,6 +733,7 @@ public void setEdgeSecurityPolicyTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -913,6 +919,7 @@ public void updateTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/BackendServicesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/BackendServicesClientTest.java
index 1ff5d98bb755..df577a376931 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/BackendServicesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/BackendServicesClientTest.java
@@ -92,6 +92,7 @@ public void addSignedUrlKeyTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -220,6 +221,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -293,6 +295,7 @@ public void deleteSignedUrlKeyTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -617,6 +620,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -790,6 +794,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -866,6 +871,7 @@ public void setEdgeSecurityPolicyTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1002,6 +1008,7 @@ public void setSecurityPolicyTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1131,6 +1138,7 @@ public void updateTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/CrossSiteNetworksClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/CrossSiteNetworksClientTest.java
index 467187847d82..db7e5dc3cd0a 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/CrossSiteNetworksClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/CrossSiteNetworksClientTest.java
@@ -87,6 +87,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -211,6 +212,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -334,6 +336,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/DisksClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/DisksClientTest.java
index b8290aa1d05b..c19951c4374b 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/DisksClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/DisksClientTest.java
@@ -90,6 +90,7 @@ public void addResourcePoliciesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -226,6 +227,7 @@ public void bulkInsertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -304,6 +306,7 @@ public void bulkSetLabelsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -382,6 +385,7 @@ public void createSnapshotTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -460,6 +464,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -684,6 +689,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -811,6 +817,7 @@ public void removeResourcePoliciesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -897,6 +904,7 @@ public void resizeTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1030,6 +1038,7 @@ public void setLabelsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1108,6 +1117,7 @@ public void startAsyncReplicationTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1194,6 +1204,7 @@ public void stopAsyncReplicationTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1269,6 +1280,7 @@ public void stopGroupAsyncReplicationTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1404,6 +1416,7 @@ public void updateTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1481,6 +1494,7 @@ public void updateKmsKeyTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ExternalVpnGatewaysClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ExternalVpnGatewaysClientTest.java
index b3465f8f2835..87ee20c1b991 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ExternalVpnGatewaysClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ExternalVpnGatewaysClientTest.java
@@ -88,6 +88,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -217,6 +218,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -340,6 +342,7 @@ public void setLabelsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/FirewallPoliciesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/FirewallPoliciesClientTest.java
index 29af3c9669bc..1dcdc3a07784 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/FirewallPoliciesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/FirewallPoliciesClientTest.java
@@ -87,6 +87,7 @@ public void addAssociationTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -163,6 +164,7 @@ public void addRuleTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -237,6 +239,7 @@ public void cloneRulesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -308,6 +311,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -595,6 +599,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -771,6 +776,7 @@ public void moveTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -844,6 +850,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -917,6 +924,7 @@ public void patchRuleTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -991,6 +999,7 @@ public void removeAssociationTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1062,6 +1071,7 @@ public void removeRuleTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/FirewallsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/FirewallsClientTest.java
index 6628b46a111c..96e34c64b216 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/FirewallsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/FirewallsClientTest.java
@@ -86,6 +86,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -224,6 +225,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -347,6 +349,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -471,6 +474,7 @@ public void updateTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ForwardingRulesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ForwardingRulesClientTest.java
index b4ea636f857c..b8ff8d6fbf54 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ForwardingRulesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ForwardingRulesClientTest.java
@@ -143,6 +143,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -306,6 +307,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -433,6 +435,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -511,6 +514,7 @@ public void setLabelsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -591,6 +595,7 @@ public void setTargetTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/FutureReservationsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/FutureReservationsClientTest.java
index 74f0d02b61df..2e8018f02f15 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/FutureReservationsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/FutureReservationsClientTest.java
@@ -143,6 +143,7 @@ public void cancelTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -218,6 +219,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -370,6 +372,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -497,6 +500,7 @@ public void updateTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalAddressesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalAddressesClientTest.java
index ae12091c10ff..5db5dfa12537 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalAddressesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalAddressesClientTest.java
@@ -88,6 +88,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -227,6 +228,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -350,6 +352,7 @@ public void moveTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -428,6 +431,7 @@ public void setLabelsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalForwardingRulesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalForwardingRulesClientTest.java
index 5711a49fd76f..c280db9aa955 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalForwardingRulesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalForwardingRulesClientTest.java
@@ -88,6 +88,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -247,6 +248,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -370,6 +372,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -446,6 +449,7 @@ public void setLabelsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -524,6 +528,7 @@ public void setTargetTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalNetworkEndpointGroupsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalNetworkEndpointGroupsClientTest.java
index d3f86f4cdded..9eda7076b2ae 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalNetworkEndpointGroupsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalNetworkEndpointGroupsClientTest.java
@@ -89,6 +89,7 @@ public void attachNetworkEndpointsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -179,6 +180,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -252,6 +254,7 @@ public void detachNetworkEndpointsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -406,6 +409,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalOperationsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalOperationsClientTest.java
index 939a9b332491..82a7efbdb867 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalOperationsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalOperationsClientTest.java
@@ -185,6 +185,7 @@ public void getTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -309,6 +310,7 @@ public void waitTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalOrganizationOperationsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalOrganizationOperationsClientTest.java
index 1a262de601cd..ab239b1abaec 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalOrganizationOperationsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalOrganizationOperationsClientTest.java
@@ -128,6 +128,7 @@ public void getTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalPublicDelegatedPrefixesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalPublicDelegatedPrefixesClientTest.java
index 9a6517760b51..67e0638abefe 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalPublicDelegatedPrefixesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalPublicDelegatedPrefixesClientTest.java
@@ -87,6 +87,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -224,6 +225,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -349,6 +351,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalVmExtensionPoliciesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalVmExtensionPoliciesClientTest.java
index 13f288753e16..150b459e16be 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalVmExtensionPoliciesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalVmExtensionPoliciesClientTest.java
@@ -144,6 +144,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -292,6 +293,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -417,6 +419,7 @@ public void updateTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/HealthChecksClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/HealthChecksClientTest.java
index 4b5fb08c3bda..3a56f80f7467 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/HealthChecksClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/HealthChecksClientTest.java
@@ -142,6 +142,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -281,6 +282,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -404,6 +406,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -528,6 +531,7 @@ public void updateTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/HostsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/HostsClientTest.java
index 52943a3b6876..4eb636fef5ab 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/HostsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/HostsClientTest.java
@@ -146,6 +146,7 @@ public void getVersionTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ImagesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ImagesClientTest.java
index 80fd7a196d44..339988dffeaf 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ImagesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ImagesClientTest.java
@@ -87,6 +87,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -160,6 +161,7 @@ public void deprecateTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -446,6 +448,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -569,6 +572,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -698,6 +702,7 @@ public void setLabelsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestsClientTest.java
index 66cc05d999a7..872de3469ea1 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestsClientTest.java
@@ -87,6 +87,7 @@ public void cancelTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -165,6 +166,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -307,6 +309,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceGroupManagersClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceGroupManagersClientTest.java
index 805605ae7541..cde72bfd9676 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceGroupManagersClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceGroupManagersClientTest.java
@@ -93,6 +93,7 @@ public void abandonInstancesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -240,6 +241,7 @@ public void applyUpdatesToInstancesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -329,6 +331,7 @@ public void createInstancesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -423,6 +426,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -498,6 +502,7 @@ public void deleteInstancesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -592,6 +597,7 @@ public void deletePerInstanceConfigsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -768,6 +774,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1061,6 +1068,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1139,6 +1147,7 @@ public void patchPerInstanceConfigsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1233,6 +1242,7 @@ public void recreateInstancesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1327,6 +1337,7 @@ public void resizeTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1404,6 +1415,7 @@ public void resumeInstancesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1498,6 +1510,7 @@ public void setInstanceTemplateTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1592,6 +1605,7 @@ public void setTargetPoolsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1685,6 +1699,7 @@ public void startInstancesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1778,6 +1793,7 @@ public void stopInstancesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1870,6 +1886,7 @@ public void suspendInstancesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1964,6 +1981,7 @@ public void updatePerInstanceConfigsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceGroupsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceGroupsClientTest.java
index 6ab97a5af161..8f076f4357db 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceGroupsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceGroupsClientTest.java
@@ -91,6 +91,7 @@ public void addInstancesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -229,6 +230,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -364,6 +366,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -552,6 +555,7 @@ public void removeInstancesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -638,6 +642,7 @@ public void setNamedPortsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceSettingsServiceClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceSettingsServiceClientTest.java
index d4f07853ec0f..ad1fb427bdbe 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceSettingsServiceClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceSettingsServiceClientTest.java
@@ -132,6 +132,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceTemplatesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceTemplatesClientTest.java
index dd2035c48f90..0e51856fb040 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceTemplatesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceTemplatesClientTest.java
@@ -142,6 +142,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -320,6 +321,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstancesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstancesClientTest.java
index 5aa8a824126c..eb8296a5c09b 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstancesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstancesClientTest.java
@@ -91,6 +91,7 @@ public void addAccessConfigTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -175,6 +176,7 @@ public void addNetworkInterfaceTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -253,6 +255,7 @@ public void addResourcePoliciesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -391,6 +394,7 @@ public void attachDiskTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -469,6 +473,7 @@ public void bulkInsertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -547,6 +552,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -622,6 +628,7 @@ public void deleteAccessConfigTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -704,6 +711,7 @@ public void deleteNetworkInterfaceTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -782,6 +790,7 @@ public void detachDiskTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1264,6 +1273,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1445,6 +1455,7 @@ public void performMaintenanceTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1520,6 +1531,7 @@ public void removeResourcePoliciesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1606,6 +1618,7 @@ public void reportHostAsFaultyTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1692,6 +1705,7 @@ public void resetTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1767,6 +1781,7 @@ public void resumeTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1889,6 +1904,7 @@ public void setDeletionProtectionTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1964,6 +1980,7 @@ public void setDiskAutoDeleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -2099,6 +2116,7 @@ public void setLabelsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -2179,6 +2197,7 @@ public void setMachineResourcesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -2265,6 +2284,7 @@ public void setMachineTypeTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -2349,6 +2369,7 @@ public void setMetadataTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -2427,6 +2448,7 @@ public void setMinCpuPlatformTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -2513,6 +2535,7 @@ public void setNameTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -2593,6 +2616,7 @@ public void setSchedulingTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -2671,6 +2695,7 @@ public void setSecurityPolicyTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -2757,6 +2782,7 @@ public void setServiceAccountTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -2843,6 +2869,7 @@ public void setShieldedInstanceIntegrityPolicyTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -2929,6 +2956,7 @@ public void setTagsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -3006,6 +3034,7 @@ public void simulateMaintenanceEventTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -3081,6 +3110,7 @@ public void startTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -3156,6 +3186,7 @@ public void startWithEncryptionKeyTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -3242,6 +3273,7 @@ public void stopTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -3317,6 +3349,7 @@ public void suspendTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -3443,6 +3476,7 @@ public void updateTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -3520,6 +3554,7 @@ public void updateAccessConfigTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -3605,6 +3640,7 @@ public void updateDisplayDeviceTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -3683,6 +3719,7 @@ public void updateNetworkInterfaceTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -3769,6 +3806,7 @@ public void updateShieldedInstanceConfigTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstantSnapshotGroupsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstantSnapshotGroupsClientTest.java
index 35aca033cfb8..b8436567f7ef 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstantSnapshotGroupsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstantSnapshotGroupsClientTest.java
@@ -87,6 +87,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -273,6 +274,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstantSnapshotsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstantSnapshotsClientTest.java
index 865c400f2b96..361519b92b91 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstantSnapshotsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstantSnapshotsClientTest.java
@@ -143,6 +143,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -339,6 +340,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -521,6 +523,7 @@ public void setLabelsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectAttachmentGroupsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectAttachmentGroupsClientTest.java
index 366383d1814c..620c40f4c775 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectAttachmentGroupsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectAttachmentGroupsClientTest.java
@@ -88,6 +88,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -316,6 +317,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -443,6 +445,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectAttachmentsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectAttachmentsClientTest.java
index ac2b7bd81a62..f950213b49d0 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectAttachmentsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectAttachmentsClientTest.java
@@ -144,6 +144,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -314,6 +315,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -444,6 +446,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -528,6 +531,7 @@ public void setLabelsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectGroupsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectGroupsClientTest.java
index d42279a0cbda..44695bd94b12 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectGroupsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectGroupsClientTest.java
@@ -88,6 +88,7 @@ public void createMembersTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -172,6 +173,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -399,6 +401,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -522,6 +525,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectsClientTest.java
index 5ff0952419b8..ee7fd2b71109 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InterconnectsClientTest.java
@@ -88,6 +88,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -191,6 +192,7 @@ public void getTest() throws Exception {
             .setRequestedLinkCount(1118793211)
             .setSatisfiesPzs(true)
             .setSelfLink("selfLink1191800166")
+            .setSelfLinkWithId("selfLinkWithId-776809081")
             .setState("state109757585")
             .setSubzone("subzone-1867398676")
             .addAllWireGroups(new ArrayList())
@@ -339,6 +341,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -462,6 +465,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -537,6 +541,7 @@ public void setLabelsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/LicensesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/LicensesClientTest.java
index 6328c958d123..dc08e9bfcc22 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/LicensesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/LicensesClientTest.java
@@ -86,6 +86,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -276,6 +277,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -502,6 +504,7 @@ public void updateTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/MachineImagesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/MachineImagesClientTest.java
index 95ba1e8a1656..e27b25159013 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/MachineImagesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/MachineImagesClientTest.java
@@ -88,6 +88,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -277,6 +278,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -454,6 +456,7 @@ public void setLabelsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworkAttachmentsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworkAttachmentsClientTest.java
index 7585e4a81bab..a435617c515d 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworkAttachmentsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworkAttachmentsClientTest.java
@@ -143,6 +143,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -332,6 +333,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -459,6 +461,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServicesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServicesClientTest.java
index 5200d2610f47..d935b08a06f8 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServicesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServicesClientTest.java
@@ -141,6 +141,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -275,6 +276,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -353,6 +355,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworkEndpointGroupsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworkEndpointGroupsClientTest.java
index d6e8b32faea1..6cc402bb9a2b 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworkEndpointGroupsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworkEndpointGroupsClientTest.java
@@ -145,6 +145,7 @@ public void attachNetworkEndpointsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -239,6 +240,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -314,6 +316,7 @@ public void detachNetworkEndpointsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -474,6 +477,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworkFirewallPoliciesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworkFirewallPoliciesClientTest.java
index 67911c2cd043..5d196e7e60da 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworkFirewallPoliciesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworkFirewallPoliciesClientTest.java
@@ -90,6 +90,7 @@ public void addAssociationTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -170,6 +171,7 @@ public void addPacketMirroringRuleTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -248,6 +250,7 @@ public void addRuleTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -376,6 +379,7 @@ public void cloneRulesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -449,6 +453,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -808,6 +813,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -931,6 +937,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1007,6 +1014,7 @@ public void patchPacketMirroringRuleTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1087,6 +1095,7 @@ public void patchRuleTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1163,6 +1172,7 @@ public void removeAssociationTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1236,6 +1246,7 @@ public void removePacketMirroringRuleTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1309,6 +1320,7 @@ public void removeRuleTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworksClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworksClientTest.java
index 479535fc4d65..340f17c98490 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworksClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworksClientTest.java
@@ -87,6 +87,7 @@ public void addPeeringTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -165,6 +166,7 @@ public void cancelRequestRemovePeeringTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -249,6 +251,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -437,6 +440,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -612,6 +616,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -687,6 +692,7 @@ public void removePeeringTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -765,6 +771,7 @@ public void requestRemovePeeringTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -848,6 +855,7 @@ public void switchToCustomModeTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -921,6 +929,7 @@ public void updatePeeringTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NodeGroupsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NodeGroupsClientTest.java
index 650c1428c53f..90fa538903ea 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NodeGroupsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NodeGroupsClientTest.java
@@ -90,6 +90,7 @@ public void addNodesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -222,6 +223,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -297,6 +299,7 @@ public void deleteNodesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -495,6 +498,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -679,6 +683,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -756,6 +761,7 @@ public void performMaintenanceTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -897,6 +903,7 @@ public void setNodeTemplateTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -982,6 +989,7 @@ public void simulateMaintenanceEventTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NodeTemplatesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NodeTemplatesClientTest.java
index fe1c6ef324b0..068ffbc11e42 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NodeTemplatesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NodeTemplatesClientTest.java
@@ -143,6 +143,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -333,6 +334,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/OrganizationSecurityPoliciesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/OrganizationSecurityPoliciesClientTest.java
index 9c85774a5561..9dc921c3ba6f 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/OrganizationSecurityPoliciesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/OrganizationSecurityPoliciesClientTest.java
@@ -88,6 +88,7 @@ public void addAssociationTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -164,6 +165,7 @@ public void addRuleTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -238,6 +240,7 @@ public void copyRulesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -309,6 +312,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -549,6 +553,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -773,6 +778,7 @@ public void moveTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -844,6 +850,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -917,6 +924,7 @@ public void patchRuleTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -991,6 +999,7 @@ public void removeAssociationTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1062,6 +1071,7 @@ public void removeRuleTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/PacketMirroringsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/PacketMirroringsClientTest.java
index 5da447315d54..15b6feaa289f 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/PacketMirroringsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/PacketMirroringsClientTest.java
@@ -142,6 +142,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -277,6 +278,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -404,6 +406,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/PreviewFeaturesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/PreviewFeaturesClientTest.java
index 69a26d1158a8..1da1188c820e 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/PreviewFeaturesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/PreviewFeaturesClientTest.java
@@ -191,6 +191,7 @@ public void updateTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ProjectsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ProjectsClientTest.java
index b8c33cc27aa5..11e6b34c0909 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ProjectsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ProjectsClientTest.java
@@ -87,6 +87,7 @@ public void disableXpnHostTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -158,6 +159,7 @@ public void disableXpnResourceTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -234,6 +236,7 @@ public void enableXpnHostTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -305,6 +308,7 @@ public void enableXpnResourceTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -602,6 +606,7 @@ public void moveDiskTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -675,6 +680,7 @@ public void moveInstanceTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -748,6 +754,7 @@ public void setCloudArmorTierTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -824,6 +831,7 @@ public void setCommonInstanceMetadataTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -898,6 +906,7 @@ public void setDefaultNetworkTierTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -978,6 +987,7 @@ public void setUsageExportBucketTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/PublicAdvertisedPrefixesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/PublicAdvertisedPrefixesClientTest.java
index a9e256bb44a9..8eca2c824eb4 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/PublicAdvertisedPrefixesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/PublicAdvertisedPrefixesClientTest.java
@@ -87,6 +87,7 @@ public void announceTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -160,6 +161,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -294,6 +296,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -419,6 +422,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -497,6 +501,7 @@ public void withdrawTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/PublicDelegatedPrefixesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/PublicDelegatedPrefixesClientTest.java
index f68dcb961564..eedf1852b24c 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/PublicDelegatedPrefixesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/PublicDelegatedPrefixesClientTest.java
@@ -143,6 +143,7 @@ public void announceTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -218,6 +219,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -359,6 +361,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -489,6 +492,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -573,6 +577,7 @@ public void withdrawTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionAutoscalersClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionAutoscalersClientTest.java
index bc6e82aaba83..eb268f78caf6 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionAutoscalersClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionAutoscalersClientTest.java
@@ -88,6 +88,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -224,6 +225,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -351,6 +353,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -477,6 +480,7 @@ public void updateTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionBackendBucketsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionBackendBucketsClientTest.java
index 5a80e3eba7bb..94a15bf53dbc 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionBackendBucketsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionBackendBucketsClientTest.java
@@ -88,6 +88,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -278,6 +279,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -457,6 +459,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionBackendServicesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionBackendServicesClientTest.java
index 5810e19e0a87..13e3d14134e6 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionBackendServicesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionBackendServicesClientTest.java
@@ -89,6 +89,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -373,6 +374,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -552,6 +554,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -687,6 +690,7 @@ public void setSecurityPolicyTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -823,6 +827,7 @@ public void updateTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionCommitmentsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionCommitmentsClientTest.java
index eaa86f9a0cfb..1961dc83f5bc 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionCommitmentsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionCommitmentsClientTest.java
@@ -213,6 +213,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -340,6 +341,7 @@ public void updateTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionCompositeHealthChecksClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionCompositeHealthChecksClientTest.java
index 8b629ba89c12..876488e9a921 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionCompositeHealthChecksClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionCompositeHealthChecksClientTest.java
@@ -143,6 +143,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -328,6 +329,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -456,6 +458,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionDisksClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionDisksClientTest.java
index 09c93350ca0d..98cb0376e538 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionDisksClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionDisksClientTest.java
@@ -88,6 +88,7 @@ public void addResourcePoliciesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -174,6 +175,7 @@ public void bulkInsertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -252,6 +254,7 @@ public void createSnapshotTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -330,6 +333,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -554,6 +558,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -681,6 +686,7 @@ public void removeResourcePoliciesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -767,6 +773,7 @@ public void resizeTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -904,6 +911,7 @@ public void setLabelsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -984,6 +992,7 @@ public void startAsyncReplicationTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1070,6 +1079,7 @@ public void stopAsyncReplicationTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1145,6 +1155,7 @@ public void stopGroupAsyncReplicationTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1280,6 +1291,7 @@ public void updateTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1357,6 +1369,7 @@ public void updateKmsKeyTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionHealthAggregationPoliciesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionHealthAggregationPoliciesClientTest.java
index 1aadbadba7af..cbb78c2327cb 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionHealthAggregationPoliciesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionHealthAggregationPoliciesClientTest.java
@@ -143,6 +143,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -277,6 +278,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -407,6 +409,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionHealthCheckServicesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionHealthCheckServicesClientTest.java
index 23f79cf75d18..a7b4a138083c 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionHealthCheckServicesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionHealthCheckServicesClientTest.java
@@ -143,6 +143,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -277,6 +278,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -405,6 +407,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionHealthChecksClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionHealthChecksClientTest.java
index b4b669761ef1..33baa74f1647 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionHealthChecksClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionHealthChecksClientTest.java
@@ -87,6 +87,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -230,6 +231,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -357,6 +359,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -486,6 +489,7 @@ public void updateTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionHealthSourcesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionHealthSourcesClientTest.java
index f966e86c34c7..ee08e56dbbf5 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionHealthSourcesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionHealthSourcesClientTest.java
@@ -142,6 +142,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -326,6 +327,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -453,6 +455,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerResizeRequestsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerResizeRequestsClientTest.java
index a103c6b902ed..6514992ee07e 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerResizeRequestsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerResizeRequestsClientTest.java
@@ -88,6 +88,7 @@ public void cancelTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -166,6 +167,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -308,6 +310,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersClientTest.java
index 1d3c7b769823..25c17cf5e699 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersClientTest.java
@@ -90,6 +90,7 @@ public void abandonInstancesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -184,6 +185,7 @@ public void applyUpdatesToInstancesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -278,6 +280,7 @@ public void createInstancesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -372,6 +375,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -447,6 +451,7 @@ public void deleteInstancesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -541,6 +546,7 @@ public void deletePerInstanceConfigsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -717,6 +723,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1010,6 +1017,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1090,6 +1098,7 @@ public void patchPerInstanceConfigsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1184,6 +1193,7 @@ public void recreateInstancesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1277,6 +1287,7 @@ public void resizeTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1355,6 +1366,7 @@ public void resumeInstancesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1449,6 +1461,7 @@ public void setInstanceTemplateTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1543,6 +1556,7 @@ public void setTargetPoolsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1637,6 +1651,7 @@ public void startInstancesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1731,6 +1746,7 @@ public void stopInstancesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1825,6 +1841,7 @@ public void suspendInstancesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1919,6 +1936,7 @@ public void updatePerInstanceConfigsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstanceGroupsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstanceGroupsClientTest.java
index 1a28cc1d7ecd..4ef2c1b91033 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstanceGroupsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstanceGroupsClientTest.java
@@ -261,6 +261,7 @@ public void setNamedPortsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstanceTemplatesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstanceTemplatesClientTest.java
index faa85fb0c64c..20b7c5038851 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstanceTemplatesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstanceTemplatesClientTest.java
@@ -87,6 +87,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -219,6 +220,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstancesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstancesClientTest.java
index 425f6bfcd4e5..de6ca3f3d197 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstancesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstancesClientTest.java
@@ -82,6 +82,7 @@ public void bulkInsertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstantSnapshotGroupsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstantSnapshotGroupsClientTest.java
index ef6e48dacd35..1c57bc541a2b 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstantSnapshotGroupsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstantSnapshotGroupsClientTest.java
@@ -87,6 +87,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -273,6 +274,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstantSnapshotsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstantSnapshotsClientTest.java
index 8b87c06ed3b3..2092d03266c9 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstantSnapshotsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstantSnapshotsClientTest.java
@@ -88,6 +88,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -284,6 +285,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -468,6 +470,7 @@ public void setLabelsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionNetworkEndpointGroupsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionNetworkEndpointGroupsClientTest.java
index f9c6b7fe92c2..d07968808901 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionNetworkEndpointGroupsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionNetworkEndpointGroupsClientTest.java
@@ -89,6 +89,7 @@ public void attachNetworkEndpointsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -183,6 +184,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -258,6 +260,7 @@ public void detachNetworkEndpointsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -418,6 +421,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesClientTest.java
index 651ff2974abc..d62da10efff1 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesClientTest.java
@@ -87,6 +87,7 @@ public void addAssociationTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -171,6 +172,7 @@ public void addRuleTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -249,6 +251,7 @@ public void cloneRulesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -324,6 +327,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -684,6 +688,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -811,6 +816,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -889,6 +895,7 @@ public void patchRuleTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -967,6 +974,7 @@ public void removeAssociationTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1042,6 +1050,7 @@ public void removeRuleTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionNotificationEndpointsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionNotificationEndpointsClientTest.java
index 41e675bd021f..3915e9989578 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionNotificationEndpointsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionNotificationEndpointsClientTest.java
@@ -143,6 +143,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -273,6 +274,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionOperationsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionOperationsClientTest.java
index 83c9cc802e7a..da59eda30b4b 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionOperationsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionOperationsClientTest.java
@@ -132,6 +132,7 @@ public void getTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -260,6 +261,7 @@ public void waitTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionSecurityPoliciesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionSecurityPoliciesClientTest.java
index 77db8ae5ad92..99dd1aef7b0a 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionSecurityPoliciesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionSecurityPoliciesClientTest.java
@@ -88,6 +88,7 @@ public void addRuleTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -166,6 +167,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -368,6 +370,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -495,6 +498,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -573,6 +577,7 @@ public void patchRuleTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -651,6 +656,7 @@ public void removeRuleTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -726,6 +732,7 @@ public void setLabelsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionSnapshotSettingsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionSnapshotSettingsClientTest.java
index 9e3506b3f91e..ab4f506d3279 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionSnapshotSettingsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionSnapshotSettingsClientTest.java
@@ -130,6 +130,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionSnapshotsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionSnapshotsClientTest.java
index 33de340b956c..ceffff34f7ce 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionSnapshotsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionSnapshotsClientTest.java
@@ -88,6 +88,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -303,6 +304,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -487,6 +489,7 @@ public void setLabelsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -618,6 +621,7 @@ public void updateKmsKeyTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionSslCertificatesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionSslCertificatesClientTest.java
index 84f3dc49997e..6f1e3a3ab84b 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionSslCertificatesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionSslCertificatesClientTest.java
@@ -87,6 +87,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -223,6 +224,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionSslPoliciesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionSslPoliciesClientTest.java
index 4c028a3e3caf..d5633b6cc3cf 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionSslPoliciesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionSslPoliciesClientTest.java
@@ -87,6 +87,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -223,6 +224,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -397,6 +399,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionTargetHttpProxiesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionTargetHttpProxiesClientTest.java
index 46b3b8fedd77..62b5b2dfcf69 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionTargetHttpProxiesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionTargetHttpProxiesClientTest.java
@@ -87,6 +87,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -220,6 +221,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -347,6 +349,7 @@ public void setUrlMapTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionTargetHttpsProxiesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionTargetHttpsProxiesClientTest.java
index e5f04ae7a417..f3eb3546bdc7 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionTargetHttpsProxiesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionTargetHttpsProxiesClientTest.java
@@ -87,6 +87,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -227,6 +228,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -354,6 +356,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -432,6 +435,7 @@ public void setSslCertificatesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -526,6 +530,7 @@ public void setUrlMapTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionTargetTcpProxiesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionTargetTcpProxiesClientTest.java
index b464f675b68a..869243556db7 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionTargetTcpProxiesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionTargetTcpProxiesClientTest.java
@@ -87,6 +87,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -220,6 +221,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionUrlMapsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionUrlMapsClientTest.java
index 8cd5d19525c0..2be71d25d25d 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionUrlMapsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionUrlMapsClientTest.java
@@ -87,6 +87,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -225,6 +226,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -352,6 +354,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -429,6 +432,7 @@ public void updateTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ReservationBlocksClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ReservationBlocksClientTest.java
index c94c0234e541..c6548d27c03c 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ReservationBlocksClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ReservationBlocksClientTest.java
@@ -246,6 +246,7 @@ public void performMaintenanceTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ReservationSlotsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ReservationSlotsClientTest.java
index d8d7a85ac7aa..19e782cb05e0 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ReservationSlotsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ReservationSlotsClientTest.java
@@ -131,6 +131,87 @@ public void getExceptionTest() throws Exception {
     }
   }
 
+  @Test
+  public void getHealthTest() throws Exception {
+    Operation expectedResponse =
+        Operation.newBuilder()
+            .setClientOperationId("clientOperationId-1230366697")
+            .setCreationTimestamp("creationTimestamp-370203401")
+            .setDescription("description-1724546052")
+            .setEndTime("endTime-1607243192")
+            .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
+            .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
+            .setHttpErrorMessage("httpErrorMessage1577303431")
+            .setHttpErrorStatusCode(0)
+            .setId(3355)
+            .setInsertTime("insertTime966165798")
+            .setInstancesBulkInsertOperationMetadata(
+                InstancesBulkInsertOperationMetadata.newBuilder().build())
+            .setKind("kind3292052")
+            .setName("name3373707")
+            .setOperationGroupId("operationGroupId1716161683")
+            .setOperationType("operationType91999553")
+            .setProgress(-1001078227)
+            .setRegion("region-934795532")
+            .setSelfLink("selfLink1191800166")
+            .setSetCommonInstanceMetadataOperationMetadata(
+                SetCommonInstanceMetadataOperationMetadata.newBuilder().build())
+            .setStartTime("startTime-2129294769")
+            .setStatus(Status.DONE)
+            .setStatusMessage("statusMessage-958704715")
+            .setTargetId(-815576439)
+            .setTargetLink("targetLink486368555")
+            .setUser("user3599307")
+            .addAllWarnings(new ArrayList())
+            .setZone("zone3744684")
+            .build();
+    mockService.addResponse(expectedResponse);
+
+    String project = "project-6911";
+    String zone = "zone-5246";
+    String parentName =
+        "reservations/reservation-1729/reservationBlocks/reservationBlock-1729/reservationSubBlocks/reservationSubBlock-1729";
+    String reservationSlot = "reservationSlot-608";
+
+    Operation actualResponse =
+        client.getHealthAsync(project, zone, parentName, reservationSlot).get();
+    Assert.assertEquals(expectedResponse, actualResponse);
+
+    List actualRequests = mockService.getRequestPaths();
+    Assert.assertEquals(1, actualRequests.size());
+
+    String apiClientHeaderKey =
+        mockService
+            .getRequestHeaders()
+            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
+            .iterator()
+            .next();
+    Assert.assertTrue(
+        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
+            .matcher(apiClientHeaderKey)
+            .matches());
+  }
+
+  @Test
+  public void getHealthExceptionTest() throws Exception {
+    ApiException exception =
+        ApiExceptionFactory.createException(
+            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
+    mockService.addException(exception);
+
+    try {
+      String project = "project-6911";
+      String zone = "zone-5246";
+      String parentName =
+          "reservations/reservation-1729/reservationBlocks/reservationBlock-1729/reservationSubBlocks/reservationSubBlock-1729";
+      String reservationSlot = "reservationSlot-608";
+      client.getHealthAsync(project, zone, parentName, reservationSlot).get();
+      Assert.fail("No exception raised");
+    } catch (ExecutionException e) {
+    }
+  }
+
   @Test
   public void getVersionTest() throws Exception {
     Operation expectedResponse =
@@ -140,6 +221,7 @@ public void getVersionTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -290,6 +372,7 @@ public void updateTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ReservationSubBlocksClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ReservationSubBlocksClientTest.java
index 8a5f47c07a47..895ec51666a3 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ReservationSubBlocksClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ReservationSubBlocksClientTest.java
@@ -193,6 +193,7 @@ public void getVersionTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -343,6 +344,7 @@ public void performMaintenanceTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -421,6 +423,7 @@ public void reportFaultyTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ReservationsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ReservationsClientTest.java
index 9ad144b58ab0..824d5aefc810 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ReservationsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ReservationsClientTest.java
@@ -143,6 +143,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -346,6 +347,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -473,6 +475,7 @@ public void performMaintenanceTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -559,6 +562,7 @@ public void resizeTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -745,6 +749,7 @@ public void updateTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ResourcePoliciesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ResourcePoliciesClientTest.java
index e3bc98bc4fd6..fd70a9ad020f 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ResourcePoliciesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ResourcePoliciesClientTest.java
@@ -142,6 +142,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -331,6 +332,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -458,6 +460,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RolloutPlansClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RolloutPlansClientTest.java
index 7244a9e357ea..dd48f6d9fd7f 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RolloutPlansClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RolloutPlansClientTest.java
@@ -87,6 +87,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -214,6 +215,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RolloutsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RolloutsClientTest.java
index 8f0c87478a17..0d769752264a 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RolloutsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RolloutsClientTest.java
@@ -86,6 +86,7 @@ public void advanceTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -159,6 +160,7 @@ public void cancelTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -232,6 +234,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -417,6 +420,7 @@ public void pauseTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -490,6 +494,7 @@ public void resumeTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RoutersClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RoutersClientTest.java
index 4869d83f0a29..daf0b3a898b1 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RoutersClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RoutersClientTest.java
@@ -145,6 +145,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -220,6 +221,7 @@ public void deleteNamedSetTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -295,6 +297,7 @@ public void deleteRoutePolicyTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -680,6 +683,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -970,6 +974,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1047,6 +1052,7 @@ public void patchNamedSetTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1125,6 +1131,7 @@ public void patchRoutePolicyTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1251,6 +1258,7 @@ public void updateTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1328,6 +1336,7 @@ public void updateNamedSetTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -1406,6 +1415,7 @@ public void updateRoutePolicyTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RoutesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RoutesClientTest.java
index 59160081a934..ad05c261e3d4 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RoutesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RoutesClientTest.java
@@ -86,6 +86,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -231,6 +232,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SecurityPoliciesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SecurityPoliciesClientTest.java
index db25b057d370..04b3ca779a3b 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SecurityPoliciesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SecurityPoliciesClientTest.java
@@ -91,6 +91,7 @@ public void addRuleTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -219,6 +220,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -415,6 +417,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -583,6 +586,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -659,6 +663,7 @@ public void patchRuleTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -735,6 +740,7 @@ public void removeRuleTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -808,6 +814,7 @@ public void setLabelsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ServiceAttachmentsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ServiceAttachmentsClientTest.java
index 6538ea983cde..31131d789b34 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ServiceAttachmentsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ServiceAttachmentsClientTest.java
@@ -144,6 +144,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -340,6 +341,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -467,6 +469,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SnapshotSettingsServiceClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SnapshotSettingsServiceClientTest.java
index 044097ef3b30..4278c3dfbbb1 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SnapshotSettingsServiceClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SnapshotSettingsServiceClientTest.java
@@ -128,6 +128,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SnapshotsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SnapshotsClientTest.java
index 9a10bbcedc86..da2821ddd7bd 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SnapshotsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SnapshotsClientTest.java
@@ -87,6 +87,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -296,6 +297,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -473,6 +475,7 @@ public void setLabelsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -600,6 +603,7 @@ public void updateKmsKeyTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SslCertificatesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SslCertificatesClientTest.java
index f56846464ac2..e255ab99edc5 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SslCertificatesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SslCertificatesClientTest.java
@@ -142,6 +142,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -274,6 +275,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SslPoliciesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SslPoliciesClientTest.java
index 1f1528430c0a..7764d121535b 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SslPoliciesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SslPoliciesClientTest.java
@@ -142,6 +142,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -274,6 +275,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -441,6 +443,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/StoragePoolsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/StoragePoolsClientTest.java
index e97f0be68d09..f2f1facb3aa4 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/StoragePoolsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/StoragePoolsClientTest.java
@@ -144,6 +144,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -341,6 +342,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -628,6 +630,7 @@ public void updateTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SubnetworksClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SubnetworksClientTest.java
index 28bf89812755..4e0ed3490f67 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SubnetworksClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SubnetworksClientTest.java
@@ -143,6 +143,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -218,6 +219,7 @@ public void expandIpCidrRangeTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -436,6 +438,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -613,6 +616,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -748,6 +752,7 @@ public void setPrivateIpGoogleAccessTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetGrpcProxiesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetGrpcProxiesClientTest.java
index eea569a3afdf..ddf76207d88b 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetGrpcProxiesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetGrpcProxiesClientTest.java
@@ -87,6 +87,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -215,6 +216,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -338,6 +340,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetHttpProxiesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetHttpProxiesClientTest.java
index b7e4d1dde19a..d3a4da8e0735 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetHttpProxiesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetHttpProxiesClientTest.java
@@ -142,6 +142,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -271,6 +272,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -394,6 +396,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -470,6 +473,7 @@ public void setUrlMapTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetHttpsProxiesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetHttpsProxiesClientTest.java
index de964175b92e..34dcdab676a1 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetHttpsProxiesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetHttpsProxiesClientTest.java
@@ -143,6 +143,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -279,6 +280,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -402,6 +404,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -478,6 +481,7 @@ public void setCertificateMapTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -563,6 +567,7 @@ public void setQuicOverrideTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -647,6 +652,7 @@ public void setSslCertificatesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -733,6 +739,7 @@ public void setSslPolicyTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -809,6 +816,7 @@ public void setUrlMapTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetInstancesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetInstancesClientTest.java
index 170b57e3af86..0633fa08bbb6 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetInstancesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetInstancesClientTest.java
@@ -142,6 +142,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -275,6 +276,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -402,6 +404,7 @@ public void setSecurityPolicyTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetPoolsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetPoolsClientTest.java
index d8ed46add790..d217d542f5ca 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetPoolsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetPoolsClientTest.java
@@ -90,6 +90,7 @@ public void addHealthCheckTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -176,6 +177,7 @@ public void addInstanceTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -312,6 +314,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -499,6 +502,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -626,6 +630,7 @@ public void removeHealthCheckTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -712,6 +717,7 @@ public void removeInstanceTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -798,6 +804,7 @@ public void setBackupTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -876,6 +883,7 @@ public void setSecurityPolicyTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetSslProxiesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetSslProxiesClientTest.java
index c581017d8160..5de83e5389e7 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetSslProxiesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetSslProxiesClientTest.java
@@ -87,6 +87,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -216,6 +217,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -339,6 +341,7 @@ public void setBackendServiceTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -423,6 +426,7 @@ public void setCertificateMapTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -507,6 +511,7 @@ public void setProxyHeaderTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -591,6 +596,7 @@ public void setSslCertificatesTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -675,6 +681,7 @@ public void setSslPolicyTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetTcpProxiesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetTcpProxiesClientTest.java
index 276aea8520d8..5fb38959c2e7 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetTcpProxiesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetTcpProxiesClientTest.java
@@ -142,6 +142,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -271,6 +272,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -394,6 +396,7 @@ public void setBackendServiceTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -478,6 +481,7 @@ public void setProxyHeaderTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetVpnGatewaysClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetVpnGatewaysClientTest.java
index dbc6549aaaaa..666119496a34 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetVpnGatewaysClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetVpnGatewaysClientTest.java
@@ -143,6 +143,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -279,6 +280,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -406,6 +408,7 @@ public void setLabelsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/UrlMapsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/UrlMapsClientTest.java
index 3b6775548c42..4ac51a73ad98 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/UrlMapsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/UrlMapsClientTest.java
@@ -141,6 +141,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -275,6 +276,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -348,6 +350,7 @@ public void invalidateCacheTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -476,6 +479,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -600,6 +604,7 @@ public void updateTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/VpnGatewaysClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/VpnGatewaysClientTest.java
index a7751840541b..aa31f59d0292 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/VpnGatewaysClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/VpnGatewaysClientTest.java
@@ -143,6 +143,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -327,6 +328,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -454,6 +456,7 @@ public void setLabelsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/VpnTunnelsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/VpnTunnelsClientTest.java
index 8a635cbdacc5..1aade3a1657e 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/VpnTunnelsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/VpnTunnelsClientTest.java
@@ -142,6 +142,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -290,6 +291,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -417,6 +419,7 @@ public void setLabelsTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/WireGroupsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/WireGroupsClientTest.java
index 5549387c2201..38c062a3dcf4 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/WireGroupsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/WireGroupsClientTest.java
@@ -87,6 +87,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -221,6 +222,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -349,6 +351,7 @@ public void patchTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ZoneOperationsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ZoneOperationsClientTest.java
index b54fe9bb6c35..04afc83ff3fd 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ZoneOperationsClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ZoneOperationsClientTest.java
@@ -131,6 +131,7 @@ public void getTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -259,6 +260,7 @@ public void waitTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ZoneVmExtensionPoliciesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ZoneVmExtensionPoliciesClientTest.java
index f09cadfc81f5..824b5ce21d7a 100644
--- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ZoneVmExtensionPoliciesClientTest.java
+++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ZoneVmExtensionPoliciesClientTest.java
@@ -88,6 +88,7 @@ public void deleteTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -224,6 +225,7 @@ public void insertTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
@@ -351,6 +353,7 @@ public void updateTest() throws Exception {
             .setDescription("description-1724546052")
             .setEndTime("endTime-1607243192")
             .setError(Error.newBuilder().build())
+            .setGetHealthOperationMetadata(GetHealthOperationMetadata.newBuilder().build())
             .setGetVersionOperationMetadata(GetVersionOperationMetadata.newBuilder().build())
             .setHttpErrorMessage("httpErrorMessage1577303431")
             .setHttpErrorStatusCode(0)
diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Compute.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Compute.java
index 133c7202aa6b..2d81c7f7a08a 100644
--- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Compute.java
+++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Compute.java
@@ -2136,6 +2136,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
       internal_static_google_cloud_compute_v1_GetHealthCheckRequest_descriptor;
   static com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internal_static_google_cloud_compute_v1_GetHealthCheckRequest_fieldAccessorTable;
+  static com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_compute_v1_GetHealthOperationMetadata_descriptor;
+  static com.google.protobuf.GeneratedMessage.FieldAccessorTable
+      internal_static_google_cloud_compute_v1_GetHealthOperationMetadata_fieldAccessorTable;
+  static com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_compute_v1_GetHealthOperationMetadataHealthInfo_descriptor;
+  static com.google.protobuf.GeneratedMessage.FieldAccessorTable
+      internal_static_google_cloud_compute_v1_GetHealthOperationMetadataHealthInfo_fieldAccessorTable;
   static com.google.protobuf.Descriptors.Descriptor
       internal_static_google_cloud_compute_v1_GetHealthRegionBackendServiceRequest_descriptor;
   static com.google.protobuf.GeneratedMessage.FieldAccessorTable
@@ -2148,6 +2156,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
       internal_static_google_cloud_compute_v1_GetHealthRegionHealthSourceRequest_descriptor;
   static com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internal_static_google_cloud_compute_v1_GetHealthRegionHealthSourceRequest_fieldAccessorTable;
+  static com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_compute_v1_GetHealthReservationSlotRequest_descriptor;
+  static com.google.protobuf.GeneratedMessage.FieldAccessorTable
+      internal_static_google_cloud_compute_v1_GetHealthReservationSlotRequest_fieldAccessorTable;
   static com.google.protobuf.Descriptors.Descriptor
       internal_static_google_cloud_compute_v1_GetHealthTargetPoolRequest_descriptor;
   static com.google.protobuf.GeneratedMessage.FieldAccessorTable
@@ -12190,13 +12202,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "oogle.cloud.compute.v1.CompositeHealthCheck\0229\n"
           + "\007warning\030\234\337\226\030 \001(\0132"
           + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n"
-          + "\010_warning\"\333\002\n"
+          + "\010_warning\"\351\002\n"
           + "\032ConfidentialInstanceConfig\022*\n"
           + "\032confidential_instance_type\030\255\214\336\024 \001(\tH\000\210\001\001\022+\n"
           + "\033enable_confidential_compute\030\274\353\3310"
-          + " \001(\010H\001\210\001\001\"\244\001\n"
+          + " \001(\010H\001\210\001\001\"\262\001\n"
           + "\030ConfidentialInstanceType\022(\n"
-          + "$UNDEFINED_CONFIDENTIAL_INSTANCE_TYPE\020\000\022\t\n"
+          + "$UNDEFINED_CONFIDENTIAL_INSTANCE_TYPE\020\000\022\014\n"
+          + "\005BMSAI\020\220\237\231\036\022\t\n"
           + "\003CCA\020\341\207\004\022-\n"
           + "&CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED\020\205\260\3546\022\t\n"
           + "\003SEV\020\304\200\005\022\016\n"
@@ -12209,8 +12222,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\024draining_timeout_sec\030\236\325\254k \001(\005H\000\210\001\001B\027\n"
           + "\025_draining_timeout_sec\"\210\002\n"
           + "\"ConsistentHashLoadBalancerSettings\022b\n"
-          + "\013http_cookie\030\373\253\227\003 \001(\0132E.google.cloud.compute.v1.C"
-          + "onsistentHashLoadBalancerSettingsHttpCookieH\000\210\001\001\022 \n"
+          + "\013http_cookie\030\373\253\227\003 \001(\0132E.google.clou"
+          + "d.compute.v1.ConsistentHashLoadBalancerSettingsHttpCookieH\000\210\001\001\022 \n"
           + "\020http_header_name\030\306\367\372o \001(\tH\001\210\001\001\022!\n"
           + "\021minimum_ring_size\030\277\273\341o \001(\003H\002\210\001\001B\016\n"
           + "\014_http_cookieB\023\n"
@@ -12224,8 +12237,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005_nameB\007\n"
           + "\005_pathB\006\n"
           + "\004_ttl\"\273\001\n"
-          + "*CopyRulesOrganizationSecurityPolicyRequest\022\032\n"
-          + "\n"
+          + "*CopyRulesOrganizationSecurityPolicyRequest\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\037\n"
           + "\017security_policy\030\221\206\312Q \001(\tB\003\340A\002\022&\n"
           + "\026source_security_policy\030\355\325\372o \001(\tH\001\210\001\001B\r\n"
@@ -12245,9 +12257,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\010_max_age\"\321\002\n"
           + "*CreateInstancesInstanceGroupManagerRequest\022&\n"
           + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\217\001\n"
-          + "9instance_group_managers_create_instances_request_resource\030\223\372\332\013"
-          + " \001(\0132D.google.clo"
-          + "ud.compute.v1.InstanceGroupManagersCreateInstancesRequestB\003\340A\002\022!\n"
+          + "9instance_group_managers_create_instances_request_resource\030\223\372\332\013 \001("
+          + "\0132D.google.cloud.compute.v1.InstanceGroupManagersCreateInstancesRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
@@ -12259,18 +12270,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\235\001\n"
-          + "@region_instance_group_man"
-          + "agers_create_instances_request_resource\030\210\277\230\253\001"
-          + " \001(\0132J.google.cloud.compute.v1.Regi"
-          + "onInstanceGroupManagersCreateInstancesRequestB\003\340A\002\022\032\n\n"
-          + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r"
-          + "\n"
+          + "@region_inst"
+          + "ance_group_managers_create_instances_request_resource\030\210\277\230\253\001"
+          + " \001(\0132J.google.cloud.c"
+          + "ompute.v1.RegionInstanceGroupManagersCreateInstancesRequestB\003\340A\002\022\032\n\n"
+          + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\367\001\n"
           + "%CreateMembersInterconnectGroupRequest\022#\n"
           + "\022interconnect_group\030\216\267\251\271\001 \001(\tB\003\340A\002\022\205\001\n"
           + "3interconnect_groups_create_members_request_resource\030\355\374\213\246\001"
-          + " \001(\0132?"
-          + ".google.cloud.compute.v1.InterconnectGroupsCreateMembersRequestB\003\340A\002\022!\n"
+          + " \001(\0132?.google.cloud.compute.v1.I"
+          + "nterconnectGroupsCreateMembersRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\"\221\002\n"
           + "\031CreateSnapshotDiskRequest\022\024\n"
@@ -12279,8 +12289,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\001\210\001\001\022E\n"
-          + "\021snapshot_resource\030\251\270\301\345\001 \001(\0132"
-          + "!.google.cloud.compute.v1.SnapshotB\003\340A\002\022\033\n"
+          + "\021snapshot_resource\030\251\270\301\345\001"
+          + " \001(\0132!.google.cloud.compute.v1.SnapshotB\003\340A\002\022\033\n"
           + "\004zone\030\254\307\344\001 \001(\tB\n"
           + "\340A\002\362G\004zoneB\016\n"
           + "\014_guest_flushB\r\n"
@@ -12310,8 +12320,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\024CrossSiteNetworkList\022\024\n"
           + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\tH\001\210\001\001\022;\n"
-          + "\005items\030\300\317\367/ \003(\0132)."
-          + "google.cloud.compute.v1.CrossSiteNetwork\022\024\n"
+          + "\005items\030\300\317\367/"
+          + " \003(\0132).google.cloud.compute.v1.CrossSiteNetwork\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\004\210\001\001\022\027\n"
@@ -12325,8 +12335,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\270\001\n"
           + "\031CustomErrorResponsePolicy\022j\n"
-          + "\024error_response_rules\030\220\255\374\006 \003(\0132I.google.cloud.com"
-          + "pute.v1.CustomErrorResponsePolicyCustomErrorResponseRule\022\035\n\r"
+          + "\024error_response_rules\030\220\255\374\006 \003(\0132I.go"
+          + "ogle.cloud.compute.v1.CustomErrorResponsePolicyCustomErrorResponseRule\022\035\n\r"
           + "error_service\030\376\356\246N \001(\tH\000\210\001\001B\020\n"
           + "\016_error_service\"\266\001\n"
           + "0CustomErrorResponsePolicyCustomErrorResponseRule\022\037\n"
@@ -12348,8 +12358,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\022_rsa_encrypted_keyB\t\n"
           + "\007_sha256\"\265\001\n"
           + "\"CustomerEncryptionKeyProtectedDisk\022T\n"
-          + "\023disk_encryption_key\030\205\355\304\201\001 \001(\0132..g"
-          + "oogle.cloud.compute.v1.CustomerEncryptionKeyH\000\210\001\001\022\026\n"
+          + "\023disk_encryption_key\030\205\355\304\201\001"
+          + " \001(\0132..google.cloud.compute.v1.CustomerEncryptionKeyH\000\210\001\001\022\026\n"
           + "\006source\030\233\320\301T \001(\tH\001\210\001\001B\026\n"
           + "\024_disk_encryption_keyB\t\n"
           + "\007_source\"C\n"
@@ -12425,8 +12435,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\035DeleteCrossSiteNetworkRequest\022\"\n"
           + "\022cross_site_network\030\325\305\3133 \001(\tB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
-          + "\340A\002\362G\007project\022\032\n"
-          + "\n"
+          + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\224\001\n"
           + "\021DeleteDiskRequest\022\024\n"
@@ -12458,7 +12467,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
-          + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
+          + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r"
+          + "\n"
           + "\013_request_id\"\257\001\n"
           + "\036DeleteFutureReservationRequest\022\"\n"
           + "\022future_reservation\030\320\306\346\032 \001(\tB\003\340A\002\022!\n"
@@ -12504,8 +12514,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "$DeleteGlobalVmExtensionPolicyRequest\022*\n"
           + "\032global_vm_extension_policy\030\236\326\374\003 \001(\tB\003\340A\002\022\241\001\n"
           + "Cglobal_vm_extension_policy_rollout_operation_rollout_input_resource\030\330\367\230F"
-          + " \001(\0132L.google"
-          + ".cloud.compute.v1.GlobalVmExtensionPolicyRolloutOperationRolloutInputB\003\340A\002\022!\n"
+          + " \001(\0132L.google.cloud.compute.v1.GlobalVm"
+          + "ExtensionPolicyRolloutOperationRolloutInputB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
@@ -12520,17 +12530,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005image\030\333\322\352/ \001(\tB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
-          + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r"
-          + "\n"
+          + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\366\001\n"
           + "!DeleteInstanceGroupManagerRequest\022&\n"
           + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022%\n"
           + "\024no_graceful_shutdown\030\222\267\253\240\001 \001(\010H\000\210\001\001\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
-          + "request_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\033\n"
-          + "\004zon",
-      "e\030\254\307\344\001 \001(\tB\n"
+          + "request_id\030\313\201\331\021 \001",
+      "(\tH\001\210\001\001\022\033\n"
+          + "\004zone\030\254\307\344\001 \001(\tB\n"
           + "\340A\002\362G\004zoneB\027\n"
           + "\025_no_graceful_shutdownB\r\n"
           + "\013_request_id\"\343\001\n"
@@ -12570,8 +12579,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "*DeleteInstancesInstanceGroupManagerRequest\022&\n"
           + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\217\001\n"
           + "9instance_group_managers_delete_instances_request_resource\030\204\306\255O"
-          + " \001(\0132D.google"
-          + ".cloud.compute.v1.InstanceGroupManagersDeleteInstancesRequestB\003\340A\002\022%\n"
+          + " \001(\0132D.google.cloud.compute.v1.Instance"
+          + "GroupManagersDeleteInstancesRequestB\003\340A\002\022%\n"
           + "\024no_graceful_shutdown\030\222\267\253\240\001 \001(\010H\000\210\001\001\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
@@ -12586,10 +12595,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\235\001\n"
-          + "@region_instance_group_managers_delete_instances_request_resource\030\371\212\353\356\001"
-          + " \001(\0132J.g"
-          + "oogle.cloud.compute.v1.RegionInstanceGroupManagersDeleteInstancesRequestB\003\340A\002\022\032\n"
-          + "\n"
+          + "@region_instance_group_ma"
+          + "nagers_delete_instances_request_resource\030\371\212\353\356\001"
+          + " \001(\0132J.google.cloud.compute.v1.Reg"
+          + "ionInstanceGroupManagersDeleteInstancesRequestB\003\340A\002\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\001\210\001\001B\027\n"
           + "\025_no_graceful_shutdownB\r\n"
           + "\013_request_id\"\266\001\n"
@@ -12715,8 +12724,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\227\002\n"
           + "\033DeleteNodesNodeGroupRequest\022\033\n\n"
           + "node_group\030\202\374\213\340\001 \001(\tB\003\340A\002\022p\n"
-          + ")node_groups_delete_nodes_request_resource\030\222\327\263W \001(\01325.google.cloud"
-          + ".compute.v1.NodeGroupsDeleteNodesRequestB\003\340A\002\022!\n"
+          + ")node_groups_delete_nodes_request_resource\030\222\327\263W \001(\0132"
+          + "5.google.cloud.compute.v1.NodeGroupsDeleteNodesRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
@@ -12737,10 +12746,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\274\002\n"
           + "3DeletePerInstanceConfigsInstanceGroupManagerRequest\022&\n"
           + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\234\001\n"
-          + "@instance_g"
-          + "roup_managers_delete_per_instance_configs_req_resource\030\240\352\350\254\001"
-          + " \001(\0132I.google.cloud."
-          + "compute.v1.InstanceGroupManagersDeletePerInstanceConfigsReqB\003\340A\002\022!\n"
+          + "@instance_group_managers_delete_per_instance_configs_req_resource\030\240\352\350\254\001"
+          + " \001(\0132I.google.cloud.compute.v1.InstanceGroupMa"
+          + "nagersDeletePerInstanceConfigsReqB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\033\n"
           + "\004zone\030\254\307\344\001 \001(\tB\n"
@@ -12751,8 +12759,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\234\001\n"
           + "Aregion_instance_group_manager_delete_instance_config_req_resource\030\205\233-"
-          + " \001(\0132J.google.cloud.compute."
-          + "v1.RegionInstanceGroupManagerDeleteInstanceConfigReqB\003\340A\002\"\236\001\n"
+          + " \001(\0132J.google."
+          + "cloud.compute.v1.RegionInstanceGroupManagerDeleteInstanceConfigReqB\003\340A\002\"\236\001\n"
           + "$DeletePublicAdvertisedPrefixeRequest\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022(\n"
@@ -12827,8 +12835,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
-          + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r"
-          + "\n"
+          + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\200\002\n"
           + "\'DeleteRegionInstanceGroupManagerRequest\022&\n"
           + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022%\n"
@@ -12843,8 +12850,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
-          + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n"
-          + "\n"
+          + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\036\n"
           + "\016resize_request\030\204\204\271g \001(\tB\003\340A\002B\r\n"
           + "\013_request_id\"\270\001\n"
@@ -12867,7 +12873,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
-          + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
+          + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r"
+          + "\n"
           + "\013_request_id\"\301\001\n"
           + "\'DeleteRegionNetworkEndpointGroupRequest\022\'\n"
           + "\026network_endpoint_group\030\206\313\363\316\001 \001(\tB\003\340A\002\022!\n"
@@ -12928,8 +12935,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022!\n"
-          + "\021target_http_proxy\030\345\276\322b \001(\tB\003\340A\002B\r"
-          + "\n"
+          + "\021target_http_proxy\030\345\276\322b \001(\tB\003\340A\002B\r\n"
           + "\013_request_id\"\270\001\n"
           + "#DeleteRegionTargetHttpsProxyRequest\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
@@ -13158,13 +13164,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005ports\030\222\360\3712 \003(\tB\017\n\r"
           + "_I_p_protocol\"\326\001\n"
           + "\025DeprecateImageRequest\022X\n"
-          + "\033deprecation_status_resource\030\360\211\345\236\001"
-          + " \001(\0132*.google.cloud.compute.v1.DeprecationStatusB\003\340A\002\022\025\n"
+          + "\033deprecation_status_resource\030\360\211\345\236\001 \001(\0132*."
+          + "google.cloud.compute.v1.DeprecationStatusB\003\340A\002\022\025\n"
           + "\005image\030\333\322\352/ \001(\tB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
-          + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r",
-      "\n"
+          + "request_id\030\313",
+      "\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\277\002\n"
           + "\021DeprecationStatus\022\030\n"
           + "\007deleted\030\231\340\250\343\001 \001(\tH\000\210\001\001\022\033\n\n"
@@ -13194,8 +13200,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\317\002\n"
           + "7DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest\022\234\001\n"
           + "@global_network_endpoint_groups_detach_endpoints_request_resource\030\335\215\237\004"
-          + " \001(\0132J.google.cloud"
-          + ".compute.v1.GlobalNetworkEndpointGroupsDetachEndpointsRequestB\003\340A\002\022\'\n"
+          + " \001(\0132J.google.cloud.compute.v1.GlobalNetworkE"
+          + "ndpointGroupsDetachEndpointsRequestB\003\340A\002\022\'\n"
           + "\026network_endpoint_group\030\206\313\363\316\001 \001(\tB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
@@ -13204,8 +13210,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "1DetachNetworkEndpointsNetworkEndpointGroupRequest\022\'\n"
           + "\026network_endpoint_group\030\206\313\363\316\001 \001(\tB\003\340A\002\022\220\001\n"
           + "9network_endpoint_groups_detach_endpoints_request_resource\030\371\240\356\365\001"
-          + " \001(\0132D.googl"
-          + "e.cloud.compute.v1.NetworkEndpointGroupsDetachEndpointsRequestB\003\340A\002\022!\n"
+          + " \001(\0132D.google.cloud.compute.v1.Network"
+          + "EndpointGroupsDetachEndpointsRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
@@ -13217,10 +13223,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\235\001\n"
-          + "@region_netwo"
-          + "rk_endpoint_groups_detach_endpoints_request_resource\030\356\345\253\225\001"
-          + " \001(\0132J.google.cloud.co"
-          + "mpute.v1.RegionNetworkEndpointGroupsDetachEndpointsRequestB\003\340A\002\022\032\n\n"
+          + "@region_network_endpoint_groups_detach_endpoints_request_resource\030\356\345\253\225\001"
+          + " \001(\0132J.g"
+          + "oogle.cloud.compute.v1.RegionNetworkEndpointGroupsDetachEndpointsRequestB\003\340A\002\022\032\n"
+          + "\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"l\n"
           + "\034DisableXpnHostProjectRequest\022!\n"
@@ -13231,30 +13237,29 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " DisableXpnResourceProjectRequest\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022z\n"
-          + ".projects_disable_xpn_resource_request_resource\030\252\324\334c"
-          + " \001(\0132:.google.clo"
-          + "ud.compute.v1.ProjectsDisableXpnResourceRequestB\003\340A\002\022\032\n\n"
+          + ".projects_disable_xpn_resource_request_resource\030\252\324\334c \001("
+          + "\0132:.google.cloud.compute.v1.ProjectsDisableXpnResourceRequestB\003\340A\002\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\317\032\n"
           + "\004Disk\022\033\n"
           + "\013access_mode\030\236\367\317\023 \001(\tH\000\210\001\001\022\035\n"
           + "\014architecture\030\323\322\261\220\001 \001(\tH\001\210\001\001\022Q\n"
-          + "\022async_primary_disk\030\235\365\211V \001(\0132-.go"
-          + "ogle.cloud.compute.v1.DiskAsyncReplicationH\002\210\001\001\022Y\n"
-          + "\025async_secondary_disks\030\250\350\375\231\001 \003"
-          + "(\01326.google.cloud.compute.v1.Disk.AsyncSecondaryDisksEntry\022\"\n"
+          + "\022async_primary_disk\030\235\365\211V"
+          + " \001(\0132-.google.cloud.compute.v1.DiskAsyncReplicationH\002\210\001\001\022Y\n"
+          + "\025async_secondary_disks\030\250\350\375\231\001"
+          + " \003(\01326.google.cloud.compute.v1.Disk.AsyncSecondaryDisksEntry\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\003\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\004\210\001\001\022T\n"
-          + "\023disk_encryption_key\030\205\355\304\201\001 \001(\0132.."
-          + "google.cloud.compute.v1.CustomerEncryptionKeyH\005\210\001\001\022+\n"
+          + "\023disk_encryption_key\030\205\355\304\201\001"
+          + " \001(\0132..google.cloud.compute.v1.CustomerEncryptionKeyH\005\210\001\001\022+\n"
           + "\033enable_confidential_compute\030\274\353\3310 \001(\010H\006\210\001\001\022E\n"
           + "\021guest_os_features\030\321\340\347%"
           + " \003(\0132\'.google.cloud.compute.v1.GuestOsFeature\022\020\n"
           + "\002id\030\233\032 \001(\004H\007\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\010\210\001\001\022!\n"
           + "\021label_fingerprint\030\231\360\367T \001(\tH\t\210\001\001\022=\n"
-          + "\006labels\030\377\277\301\356\001"
-          + " \003(\0132).google.cloud.compute.v1.Disk.LabelsEntry\022%\n"
+          + "\006labels\030\377\277\301\356\001 \003(\0132).go"
+          + "ogle.cloud.compute.v1.Disk.LabelsEntry\022%\n"
           + "\025last_attach_timestamp\030\245\234\215\024 \001(\tH\n"
           + "\210\001\001\022%\n"
           + "\025last_detach_timestamp\030\363\333\366\032 \001(\tH\013\210\001\001\022\030\n\r"
@@ -13275,8 +13280,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "replica_zones\030\200\270\214\027 \003(\t\022\034\n"
           + "\021resource_policies\030\341\234\314\n"
           + " \003(\t\022L\n"
-          + "\017resource_status\030\303\372\367v \001(\0132+"
-          + ".google.cloud.compute.v1.DiskResourceStatusH\024\210\001\001\022\036\n\r"
+          + "\017resource_status\030\303\372\367v"
+          + " \001(\0132+.google.cloud.compute.v1.DiskResourceStatusH\024\210\001\001\022\036\n\r"
           + "satisfies_pzi\030\241\335\253\345\001 \001(\010H\025\210\001\001\022\036\n\r"
           + "satisfies_pzs\030\253\335\253\345\001 \001(\010H\026\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\027\210\001\001\022\030\n"
@@ -13287,8 +13292,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013source_disk\030\301\356\264\327\001 \001(\tH\033\210\001\001\022\037\n"
           + "\016source_disk_id\030\331\315\311\330\001 \001(\tH\034\210\001\001\022\034\n"
           + "\014source_image\030\267\350\206\030 \001(\tH\035\210\001\001\022\\\n"
-          + "\033source_image_encryption_key\030\253\221\365\265\001 \001("
-          + "\0132..google.cloud.compute.v1.CustomerEncryptionKeyH\036\210\001\001\022\037\n"
+          + "\033source_image_encryption_key\030\253\221\365\265\001"
+          + " \001(\0132..google.cloud.compute.v1.CustomerEncryptionKeyH\036\210\001\001\022\037\n"
           + "\017source_image_id\030\243\374\260\032 \001(\tH\037\210\001\001\022\'\n"
           + "\027source_instant_snapshot\030\206\204\303h \001(\tH \210\001\001\022+\n"
           + "\032source_instant_snapshot_id\030\364\323\220\211\001 \001(\tH!\210\001\001\022\037\n"
@@ -13304,8 +13309,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\004zone\030\254\307\344\001 \001(\tH)\210\001\001\032m\n"
           + "\030AsyncSecondaryDisksEntry\022\013\n"
           + "\003key\030\001 \001(\t\022@\n"
-          + "\005value\030\002 \001(\01321.google"
-          + ".cloud.compute.v1.DiskAsyncReplicationList:\0028\001\032-\n"
+          + "\005value\030\002"
+          + " \001(\01321.google.cloud.compute.v1.DiskAsyncReplicationList:\0028\001\032-\n"
           + "\013LabelsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\"q\n\n"
@@ -13397,8 +13402,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005_diskB\n\n"
           + "\010_disk_id\"\214\001\n"
           + "\030DiskAsyncReplicationList\022U\n"
-          + "\026async_replication_disk\030\223\313\303n \001("
-          + "\0132-.google.cloud.compute.v1.DiskAsyncReplicationH\000\210\001\001B\031\n"
+          + "\026async_replication_disk\030\223\313\303n"
+          + " \001(\0132-.google.cloud.compute.v1.DiskAsyncReplicationH\000\210\001\001B\031\n"
           + "\027_async_replication_disk\"\244\003\n"
           + "\027DiskInstantiationConfig\022\034\n"
           + "\013auto_delete\030\273\344\316\335\001 \001(\010H\000\210\001\001\022\034\n"
@@ -13437,20 +13442,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\021_destination_zoneB\016\n"
           + "\014_target_disk\"\251\001\n\n"
           + "DiskParams\022_\n"
-          + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132<.g"
-          + "oogle.cloud.compute.v1.DiskParams.ResourceManagerTagsEntry\032:\n"
+          + "\025resource_manager_tags\030\374\233\213\264\001"
+          + " \003(\0132<.google.cloud.compute.v1.DiskParams.ResourceManagerTagsEntry\032:\n"
           + "\030ResourceManagerTagsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\"\372\002\n"
           + "\022DiskResourceStatus\022e\n"
-          + "\022async_primary_disk\030\235\365\211V \001(\0132A.google.cloud.compute.v1.D"
-          + "iskResourceStatusAsyncReplicationStatusH\000\210\001\001\022g\n"
-          + "\025async_secondary_disks\030\250\350\375\231\001 \003(\0132"
-          + "D.google.cloud.compute.v1.DiskResourceStatus.AsyncSecondaryDisksEntry\032}\n"
+          + "\022async_primary_disk\030\235\365\211V \001(\0132A.google.clou"
+          + "d.compute.v1.DiskResourceStatusAsyncReplicationStatusH\000\210\001\001\022g\n"
+          + "\025async_secondary_disks\030\250\350\375\231\001 \003(\0132D.google.cloud.compute.v1."
+          + "DiskResourceStatus.AsyncSecondaryDisksEntry\032}\n"
           + "\030AsyncSecondaryDisksEntry\022\013\n"
           + "\003key\030\001 \001(\t\022P\n"
-          + "\005value\030\002"
-          + " \001(\0132A.google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus:\0028\001B\025\n"
+          + "\005value\030\002 \001(\0132A.google.cloud.compu"
+          + "te.v1.DiskResourceStatusAsyncReplicationStatus:\0028\001B\025\n"
           + "\023_async_primary_disk\"\332\001\n"
           + "(DiskResourceStatusAsyncReplicationStatus\022\025\n"
           + "\005state\030\221\211\2534 \001(\tH\000\210\001\001\"\214\001\n"
@@ -13466,8 +13471,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\010DiskType\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022%\n"
           + "\024default_disk_size_gb\030\365\244\205\201\001 \001(\003H\001\210\001\001\022G\n\n"
-          + "deprecated\030\263\313\321\365\001 \001(\0132*.googl"
-          + "e.cloud.compute.v1.DeprecationStatusH\002\210\001\001\022\034\n"
+          + "deprecated\030\263\313\321\365\001"
+          + " \001(\0132*.google.cloud.compute.v1.DeprecationStatusH\002\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\003\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\004H\004\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\005\210\001\001\022\024\n"
@@ -13490,8 +13495,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005_zone\"\271\003\n"
           + "\026DiskTypeAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022L\n"
-          + "\005items\030\300\317\367/ \003(\0132:.google.cloud.co"
-          + "mpute.v1.DiskTypeAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132:.g"
+          + "oogle.cloud.compute.v1.DiskTypeAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
@@ -13535,7 +13540,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\021resource_policies\030\341\234\314\n"
           + " \003(\t\":\n"
           + "\022DisksResizeRequest\022\030\n"
-          + "\007size_gb\030\331\213\200\354\001 \001(\003H\000\210\001\001B\n\n"
+          + "\007size_gb\030\331\213\200\354\001 \001(\003H\000\210\001\001B\n"
+          + "\n"
           + "\010_size_gb\"\211\001\n"
           + "\017DisksScopedList\022/\n"
           + "\005disks\030\366\314\312- \003(\0132\035.google.cloud.compute.v1.Disk\0229\n"
@@ -13553,8 +13559,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\017_enable_display\"\201\002\n"
           + "\022DistributionPolicy\022\035\n"
           + "\014target_shape\030\363\346\273\241\001 \001(\tH\000\210\001\001\022N\n"
-          + "\005zones\030\307\244\2557 \003(\0132<.google"
-          + ".cloud.compute.v1.DistributionPolicyZoneConfiguration\"k\n"
+          + "\005zones\030\307\244\2557"
+          + " \003(\0132<.google.cloud.compute.v1.DistributionPolicyZoneConfiguration\"k\n"
           + "\013TargetShape\022\032\n"
           + "\026UNDEFINED_TARGET_SHAPE\020\000\022\t\n"
           + "\003ANY\020\314\373\003\022\026\n"
@@ -13579,30 +13585,30 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022y\n"
           + "-projects_enable_xpn_resource_request_resource\030\257\320\233\311\001"
-          + " \001(\01329.google.cloud.compute.v1.ProjectsEnableXpnResourceRequestB\003\340A\002\022\032\n\n"
+          + " \001(\01329.google.cloud"
+          + ".compute.v1.ProjectsEnableXpnResourceRequestB\003\340A\002\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"<\n"
           + "\005Error\0223\n"
           + "\006errors\030\353\336\325\226\001"
           + " \003(\0132\037.google.cloud.compute.v1.Errors\"\327\002\n"
-          + "\014ErrorDetails\022>\n"
-          + "\n"
+          + "\014ErrorDetails\022>\n\n"
           + "error_info\030\205\241\205\014"
           + " \001(\0132\".google.cloud.compute.v1.ErrorInfoH\000\210\001\001\0223\n"
           + "\004help\030\301\236\303\001"
           + " \001(\0132\035.google.cloud.compute.v1.HelpH\001\210\001\001\022M\n"
-          + "\021localized_message\030\303\376\362\300\001"
-          + " \001(\0132).google.cloud.compute.v1.LocalizedMessageH\002\210\001\001\022F\n\n"
-          + "quota_info\030\225\324\344,"
-          + " \001(\0132*.google.cloud.compute.v1.QuotaExceededInfoH\003\210\001\001B\r\n"
+          + "\021localized_message\030\303\376\362\300\001 \001(\0132"
+          + ").google.cloud.compute.v1.LocalizedMessageH\002\210\001\001\022F\n\n"
+          + "quota_info\030\225\324\344, \001(\0132*.google."
+          + "cloud.compute.v1.QuotaExceededInfoH\003\210\001\001B\r\n"
           + "\013_error_infoB\007\n"
           + "\005_helpB\024\n"
           + "\022_localized_messageB\r\n"
           + "\013_quota_info\"\315\001\n"
           + "\tErrorInfo\022\027\n"
           + "\006domain\030\304\251\317\207\001 \001(\tH\000\210\001\001\022G\n"
-          + "\tmetadatas\030\244\326\207\004 \003(\01321.google.clo"
-          + "ud.compute.v1.ErrorInfo.MetadatasEntry\022\026\n"
+          + "\tmetadatas\030\244\326\207\004 \003("
+          + "\01321.google.cloud.compute.v1.ErrorInfo.MetadatasEntry\022\026\n"
           + "\006reason\030\304\244\226B \001(\tH\001\210\001\001\0320\n"
           + "\016MetadatasEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
@@ -13637,8 +13643,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005_type\"\274\002\n"
           + "\032ExchangedPeeringRoutesList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022@\n"
-          + "\005items\030\300\317\367/"
-          + " \003(\0132..google.cloud.compute.v1.ExchangedPeeringRoute\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132..goog"
+          + "le.cloud.compute.v1.ExchangedPeeringRoute\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n"
@@ -13656,8 +13662,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\n"
           + "subnetwork\030\356\247\344\222\001 \001(\tB\003\340A\002\022\200\001\n"
           + "1subnetworks_expand_ip_cidr_range_request_resource\030\336\320\272\343\001"
-          + " \001(\0132<.google.cloud.compu"
-          + "te.v1.SubnetworksExpandIpCidrRangeRequestB\003\340A\002B\r\n"
+          + " \001(\0132<.goog"
+          + "le.cloud.compute.v1.SubnetworksExpandIpCidrRangeRequestB\003\340A\002B\r\n"
           + "\013_request_id\"\251\001\n"
           + "\004Expr\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\000\210\001\001\022\033\n\n"
@@ -13672,15 +13678,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\004H\002\210\001\001\022K\n\n"
-          + "interfaces\030\332\364\340\005 "
-          + "\003(\01324.google.cloud.compute.v1.ExternalVpnGatewayInterface\022\024\n"
+          + "interfaces\030\332\364\340\005"
+          + " \003(\01324.google.cloud.compute.v1.ExternalVpnGatewayInterface\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\003\210\001\001\022!\n"
           + "\021label_fingerprint\030\231\360\367T \001(\tH\004\210\001\001\022K\n"
-          + "\006labels\030\377\277\301\356\001"
-          + " \003(\01327.google.cloud.compute.v1.ExternalVpnGateway.LabelsEntry\022\024\n"
+          + "\006labels\030\377\277\301\356\001 \003(\01327.google.cl"
+          + "oud.compute.v1.ExternalVpnGateway.LabelsEntry\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022I\n"
-          + "\006params\030\206\363\253% \001(\01321.googl"
-          + "e.cloud.compute.v1.ExternalVpnGatewayParamsH\006\210\001\001\022 \n"
+          + "\006params\030\206\363\253%"
+          + " \001(\01321.google.cloud.compute.v1.ExternalVpnGatewayParamsH\006\210\001\001\022 \n"
           + "\017redundancy_type\030\234\316\267\201\001 \001(\tH\007\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\032-\n"
           + "\013LabelsEntry\022\013\n"
@@ -13711,8 +13717,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\026ExternalVpnGatewayList\022\024\n"
           + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\tH\001\210\001\001\022=\n"
-          + "\005items\030\300\317\367/"
-          + " \003(\0132+.google.cloud.compute.v1.ExternalVpnGateway\022\024\n"
+          + "\005items\030\300\317\367/ \003"
+          + "(\0132+.google.cloud.compute.v1.ExternalVpnGateway\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\004\210\001\001\0229\n"
@@ -13725,8 +13731,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\305\001\n"
           + "\030ExternalVpnGatewayParams\022m\n"
-          + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132J.google."
-          + "cloud.compute.v1.ExternalVpnGatewayParams.ResourceManagerTagsEntry\032:\n"
+          + "\025resource_manager_tags\030\374\233\213\264\001"
+          + " \003(\0132J.google.cloud.compute.v1.ExternalV"
+          + "pnGatewayParams.ResourceManagerTagsEntry\032:\n"
           + "\030ResourceManagerTagsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\"\262\001\n"
@@ -13751,8 +13758,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\010disabled\030\374\364\230\201\001 \001(\010H\003\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\004H\004\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\005\210\001\001\022G\n\n"
-          + "log_config\030\235\321\301\247\001 "
-          + "\001(\0132*.google.cloud.compute.v1.FirewallLogConfigH\006\210\001\001\022\024\n"
+          + "log_config\030\235\321\301\247\001"
+          + " \001(\0132*.google.cloud.compute.v1.FirewallLogConfigH\006\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\007\210\001\001\022\027\n"
           + "\007network\030\256\264\205o \001(\tH\010\210\001\001\022?\n"
           + "\006params\030\206\363\253% \001(\0132\'.google.cloud.compute.v1.FirewallParamsH"
@@ -13770,14 +13777,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006EGRESS\020\365\366\264\316\001\022\017\n"
           + "\007INGRESS\020\225\375\276\366\001B\025\n"
           + "\023_creation_timestampB\016\n"
-          + "\014_descriptionB\014\n"
-          + "\n"
+          + "\014_descriptionB\014\n\n"
           + "_directionB\013\n"
           + "\t_disabledB\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\r\n"
           + "\013_log_configB\007\n"
-          + "\005_nameB\n\n"
+          + "\005_nameB\n"
+          + "\n"
           + "\010_networkB\t\n"
           + "\007_paramsB\013\n"
           + "\t_priorityB\014\n\n"
@@ -13805,8 +13812,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007_enableB\013\n"
           + "\t_metadata\"\261\001\n"
           + "\016FirewallParams\022c\n"
-          + "\025resource_manager_tags\030\374\233\213\264\001"
-          + " \003(\0132@.google.cloud.compute.v1.FirewallParams.ResourceManagerTagsEntry\032:\n"
+          + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132@.google.clou"
+          + "d.compute.v1.FirewallParams.ResourceManagerTagsEntry\032:\n"
           + "\030ResourceManagerTagsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\"\227\001\n"
@@ -13815,16 +13822,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " \003(\01322.google.cloud.compute.v1.FirewallPolicyAssociation\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\000\210\001\001B\007\n"
           + "\005_kind\"\253\001\n"
-          + "\032FirewallPoliciesScopedL",
-      "ist\022F\n"
+          + "\032FirewallP",
+      "oliciesScopedList\022F\n"
           + "\021firewall_policies\030\257\213\225\273\001"
           + " \003(\0132\'.google.cloud.compute.v1.FirewallPolicy\0229\n"
           + "\007warning\030\234\337\226\030 \001(\0132"
           + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n"
           + "\010_warning\"\254\007\n"
           + "\016FirewallPolicy\022L\n"
-          + "\014associations\030\222\350\312\362\001 \003(\01322.google"
-          + ".cloud.compute.v1.FirewallPolicyAssociation\022\"\n"
+          + "\014associations\030\222\350\312\362\001"
+          + " \003(\01322.google.cloud.compute.v1.FirewallPolicyAssociation\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\034\n"
           + "\014display_name\030\350\207\221\002 \001(\tH\002\210\001\001\022\033\n"
@@ -13832,15 +13839,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\002id\030\233\032 \001(\004H\004\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\005\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\006\210\001\001\022O\n"
-          + "\026packet_mirroring_rules\030\304\377\300\375\001"
-          + " \003(\0132+.google.cloud.compute.v1.FirewallPolicyRule\022\026\n"
+          + "\026packet_mirroring_rules\030\304\377\300\375\001 \003(\013"
+          + "2+.google.cloud.compute.v1.FirewallPolicyRule\022\026\n"
           + "\006parent\030\252\221\254% \001(\tH\007\210\001\001\022\033\n"
           + "\013policy_type\030\247\244\324\010 \001(\tH\010\210\001\001\022\026\n"
           + "\006region\030\364\315\240B \001(\tH\t\210\001\001\022!\n"
           + "\020rule_tuple_count\030\225\302\226\271\001 \001(\005H\n"
           + "\210\001\001\022=\n"
-          + "\005rules\030\367\221\3653 \003("
-          + "\0132+.google.cloud.compute.v1.FirewallPolicyRule\022\032\n"
+          + "\005rules\030\367\221\3653"
+          + " \003(\0132+.google.cloud.compute.v1.FirewallPolicyRule\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\013\210\001\001\022!\n"
           + "\021self_link_with_id\030\202\254\235\025 \001(\tH\014\210\001\001\022\033\n\n"
           + "short_name\030\356\270\320\352\001 \001(\tH\r"
@@ -13848,7 +13855,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "PolicyType\022\031\n"
           + "\025UNDEFINED_POLICY_TYPE\020\000\022\027\n"
           + "\020RDMA_ROCE_POLICY\020\231\265\367F\022\021\n\n"
-          + "ULL_POLICY\020\234\330\365/\022\021\n\n"
+          + "ULL_POLICY\020\234\330\365/\022\021\n"
+          + "\n"
           + "VPC_POLICY\020\350\212\270#B\025\n"
           + "\023_creation_timestampB\016\n"
           + "\014_descriptionB\017\n\r"
@@ -13894,8 +13902,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\010disabled\030\374\364\230\201\001 \001(\010H\003\210\001\001\022\037\n"
           + "\016enable_logging\030\243\311\355\214\001 \001(\010H\004\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\005\210\001\001\022I\n"
-          + "\005match\030\305\263\2671 \001(\01322.google.cloud."
-          + "compute.v1.FirewallPolicyRuleMatcherH\006\210\001\001\022\031\n"
+          + "\005match\030\305\263\2671 \001(\01322"
+          + ".google.cloud.compute.v1.FirewallPolicyRuleMatcherH\006\210\001\001\022\031\n"
           + "\010priority\030\244\363\241\324\001 \001(\005H\007\210\001\001\022\031\n"
           + "\trule_name\030\356\263\256\032 \001(\tH\010\210\001\001\022!\n"
           + "\020rule_tuple_count\030\225\302\226\271\001 \001(\005H\t\210\001\001\022&\n"
@@ -13903,8 +13911,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\210\001\001\022#\n"
           + "\027target_forwarding_rules\030\243\344\274\354\001 \003(\t\022\034\n"
           + "\020target_resources\030\367\321\360\373\001 \003(\t\022T\n"
-          + "\022target_secure_tags\030\263\304\234\337\001 \003(\01324.google.c"
-          + "loud.compute.v1.FirewallPolicyRuleSecureTag\022#\n"
+          + "\022target_secure_tags\030\263\304\234\337\001 "
+          + "\003(\01324.google.cloud.compute.v1.FirewallPolicyRuleSecureTag\022#\n"
           + "\027target_service_accounts\030\236\216\234\332\001 \003(\t\022\033\n"
           + "\013target_type\030\250\322\200\036 \001(\tH\013\210\001\001\022\033\n"
           + "\013tls_inspect\030\320\275\332\024 \001(\010H\014\210\001\001\"E\n"
@@ -13937,8 +13945,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\021dest_network_type\030\250\272\267\303\001 \001(\tH\001\210\001\001\022\034\n"
           + "\021dest_region_codes\030\230\253\371^ \003(\t\022$\n"
           + "\031dest_threat_intelligences\030\254\363\2259 \003(\t\022Z\n"
-          + "\016layer4_configs\030\265\334\216\262\001 \003(\0132>.google.cloud.com"
-          + "pute.v1.FirewallPolicyRuleMatcherLayer4Config\022\036\n"
+          + "\016layer4_configs\030\265\334\216\262\001 \003(\0132>.go"
+          + "ogle.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config\022\036\n"
           + "\022src_address_groups\030\272\230\215\320\001 \003(\t\022\025\n"
           + "\tsrc_fqdns\030\343\314\355\317\001 \003(\t\022\031\n\r"
           + "src_ip_ranges\030\323\200\207\316\001 \003(\t\022#\n"
@@ -13946,8 +13954,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\020src_network_type\030\246\362\335\223\001 \001(\tH\003\210\001\001\022\027\n"
           + "\014src_networks\030\200\200\353u \003(\t\022\033\n"
           + "\020src_region_codes\030\226\343\237/ \003(\t\022Q\n"
-          + "\017src_secure_tags\030\206\224\316\362\001 \003"
-          + "(\01324.google.cloud.compute.v1.FirewallPolicyRuleSecureTag\022$\n"
+          + "\017src_secure_tags\030\206\224\316\362\001"
+          + " \003(\01324.google.cloud.compute.v1.FirewallPolicyRuleSecureTag\022$\n"
           + "\030src_threat_intelligences\030\252\357\250\232\001 \003(\t\"8\n"
           + "\022DestNetworkContext\022\"\n"
           + "\036UNDEFINED_DEST_NETWORK_CONTEXT\020\000\"2\n"
@@ -13997,8 +14005,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\tall_ports\030\364\257\243\324\001 \001(\010H\002\210\001\001\022$\n"
           + "\023allow_global_access\030\212\306\221\356\001 \001(\010H\003\210\001\001\022\'\n"
           + "\027allow_psc_global_access\030\313\205\321} \001(\010H\004\210\001\001\022Y\n"
-          + "\023attached_extensions\030\217\253\330\267\001"
-          + " \003(\01328.google.cloud.compute.v1.ForwardingRuleAttachedExtension\022 \n"
+          + "\023attached_extensions\030\217\253\330\267\001 \003(\01328.google.clo"
+          + "ud.compute.v1.ForwardingRuleAttachedExtension\022 \n"
           + "\017backend_service\030\212\300\256\222\001 \001(\tH\005\210\001\001\022%\n"
           + "\024base_forwarding_rule\030\220\333\243\372\001 \001(\tH\006\210\001\001\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\007\210\001\001\022\034\n"
@@ -14016,8 +14024,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\026is_mirroring_collector\030\374\340\3568 \001(\010H\017\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\020\210\001\001\022!\n"
           + "\021label_fingerprint\030\231\360\367T \001(\tH\021\210\001\001\022G\n"
-          + "\006labels\030\377\277\301\356\001"
-          + " \003(\01323.google.cloud.compute.v1.ForwardingRule.LabelsEntry\022&\n"
+          + "\006labels\030\377\277\301\356\001 \003(\01323.google"
+          + ".cloud.compute.v1.ForwardingRule.LabelsEntry\022&\n"
           + "\025load_balancing_scheme\030\304\214\302\255\001 \001(\tH\022\210\001\001\022E\n"
           + "\020metadata_filters\030\353\315\314\335\001"
           + " \003(\0132\'.google.cloud.compute.v1.MetadataFilter\022\024\n"
@@ -14032,8 +14040,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006region\030\364\315\240B \001(\tH\032\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\033\210\001\001\022!\n"
           + "\021self_link_with_id\030\202\254\235\025 \001(\tH\034\210\001\001\022o\n"
-          + "\037service_directory_registrations\030\376\261\314j \003(\0132C.google.c"
-          + "loud.compute.v1.ForwardingRuleServiceDirectoryRegistration\022\036\n\r"
+          + "\037service_directory_registrations\030\376\261\314j "
+          + "\003(\0132C.google.cloud.compute.v1.ForwardingRuleServiceDirectoryRegistration\022\036\n\r"
           + "service_label\030\352\231\354\306\001 \001(\tH\035\210\001\001\022\035\n"
           + "\014service_name\030\325\253\315\253\001 \001(\tH\036\210\001\001\022\033\n"
           + "\020source_ip_ranges\030\312\243\2315 \003(\t\022\033\n\n"
@@ -14084,8 +14092,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007PENDING\020\367\252\360\020\022\017\n"
           + "\010REJECTED\020\376\210\204S\022\031\n"
           + "\022STATUS_UNSPECIFIED\020\312\314\213\024B\016\n"
-          + "\014_I_p_addressB\017\n"
-          + "\r"
+          + "\014_I_p_addressB\017\n\r"
           + "_I_p_protocolB\014\n\n"
           + "_all_portsB\026\n"
           + "\024_allow_global_accessB\032\n"
@@ -14120,19 +14127,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007_target\"\313\003\n"
           + "\034ForwardingRuleAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022R\n"
-          + "\005items\030\300\317\367/"
-          + " \003(\0132@.google.cloud.compute.v1.ForwardingRuleAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132@.google.cloud.comput"
+          + "e.v1.ForwardingRuleAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
           + "\014unreachables\030\237\240\206t \003(\t\0229\n"
           + "\007warning\030\234\337\226\030 \001(\0132"
-          + " .google.cloud.compute.v1.WarningH\004\210\001\001\032`\n"
-          + "\n"
+          + " .google.cloud.compute.v1.WarningH\004\210\001\001\032`\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022A\n"
-          + "\005value\030\002 \001(\0132"
-          + "2.google.cloud.compute.v1.ForwardingRulesScopedList:\0028\001B\005\n"
+          + "\005value\030\002"
+          + " \001(\01322.google.cloud.compute.v1.ForwardingRulesScopedList:\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
@@ -14170,18 +14176,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " \003(\0132\'.google.cloud.compute.v1.ForwardingRule\0229\n"
           + "\007warning\030\234\337\226\030 \001(\0132"
           + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n"
-          + "\010_warning\"\241\026\n"
+          + "\010_warning\"\311\026\n"
           + "\021FutureReservation\022_\n"
-          + "\025aggregate_reservation\030\314\362\203\213\001"
-          + " \001(\01327.google.cloud.compute.v1.AllocationAggregateReservationH\000\210\001\001\0225\n"
+          + "\025aggregate_reservation\030\314\362\203\213\001 \001(\01327.google.cloud.comput"
+          + "e.v1.AllocationAggregateReservationH\000\210\001\001\0225\n"
           + "%auto_created_reservations_delete_time\030\320\331\346s \001("
           + "\tH\001\210\001\001\022V\n"
           + "\"auto_created_reservations_duration\030\205\260\320\354\001"
           + " \001(\0132!.google.cloud.compute.v1.DurationH\002\210\001\001\0226\n"
           + "%auto_delete_auto_created_reservations\030\252\343\245\352\001"
           + " \001(\010H\003\210\001\001\022Y\n"
-          + "\017commitment_info\030\230\357\257N"
-          + " \001(\01328.google.cloud.compute.v1.FutureReservationCommitmentInfoH\004\210\001\001\022*\n"
+          + "\017commitment_info\030\230\357\257N \001(\01328.google.clo"
+          + "ud.compute.v1.FutureReservationCommitmentInfoH\004\210\001\001\022*\n"
           + "\031confidential_compute_type\030\231\357\242\270\001 \001(\tH\005\210\001\001\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\006\210\001\001\022 \n"
           + "\017deployment_type\030\364\200\226\275\001 \001(\tH\007\210\001\001\022\034\n"
@@ -14194,8 +14200,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\004name\030\213\365\315\001 \001(\tH\014\210\001\001\022\033\n"
           + "\013name_prefix\030\306\245\335p \001(\tH\r"
           + "\210\001\001\022H\n"
-          + "\006params\030\206\363\253%"
-          + " \001(\01320.google.cloud.compute.v1.FutureReservationParamsH\016\210\001\001\022\037\n"
+          + "\006params\030\206\363\253% \001(\01320.google."
+          + "cloud.compute.v1.FutureReservationParamsH\016\210\001\001\022\037\n"
           + "\017planning_status\030\224\246\263\t \001(\tH\017\210\001\001\022!\n"
           + "\020reservation_mode\030\266\334\234\204\001 \001(\tH\020\210\001\001\022!\n"
           + "\020reservation_name\030\236\336\235\204\001 \001(\tH\021\210\001\001\022L\n"
@@ -14208,17 +14214,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\016share_settings\030\203\221\224\177"
           + " \001(\0132&.google.cloud.compute.v1.ShareSettingsH\027\210\001\001\022-\n"
           + "\035specific_reservation_required\030\237\307\203l \001(\010H\030\210\001\001\022h\n"
-          + "\027specific_sku_properties\030\302\370\3653 \001(\0132?.google.cloud.compute.v"
-          + "1.FutureReservationSpecificSKUPropertiesH\031\210\001\001\022H\n"
-          + "\006status\030\362\237\267V \001(\01320.google.cloud."
-          + "compute.v1.FutureReservationStatusH\032\210\001\001\022h\n"
-          + "\027storage_pool_properties\030\362\306\206\" \001(\0132?.go"
-          + "ogle.cloud.compute.v1.FutureReservationStoragePoolPropertiesH\033\210\001\001\022R\n"
-          + "\013time_window\030\242\353\330\311\001"
-          + " \001(\01324.google.cloud.compute.v1.FutureReservationTimeWindowH\034\210\001\001\022\024\n"
-          + "\004zone\030\254\307\344\001 \001(\tH\035\210\001\001\"\227\001\n"
+          + "\027specific_sku_properties\030\302\370\3653 \001(\0132?.google.c"
+          + "loud.compute.v1.FutureReservationSpecificSKUPropertiesH\031\210\001\001\022H\n"
+          + "\006status\030\362\237\267V \001(\01320"
+          + ".google.cloud.compute.v1.FutureReservationStatusH\032\210\001\001\022h\n"
+          + "\027storage_pool_properties\030\362\306\206\" \001(\0132?.google.cloud.compute.v1.Futu"
+          + "reReservationStoragePoolPropertiesH\033\210\001\001\022R\n"
+          + "\013time_window\030\242\353\330\311\001 \001(\01324.google.cloud."
+          + "compute.v1.FutureReservationTimeWindowH\034\210\001\001\022\024\n"
+          + "\004zone\030\254\307\344\001 \001(\tH\035\210\001\001\"\277\001\n"
           + "\027ConfidentialComputeType\022\'\n"
-          + "#UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE\020\000\022%\n"
+          + "#UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE\020\000\022&\n"
+          + "\037CONFIDENTIAL_COMPUTE_TYPE_BMSAI\020\212\327\2731\022%\n"
           + "\035CONFIDENTIAL_COMPUTE_TYPE_TDX\020\342\254\322\217\001\022,\n"
           + "%CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED\020\221\257\221\024\"a\n"
           + "\016DeploymentType\022\035\n"
@@ -14287,14 +14294,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\020_commitment_planB\034\n"
           + "\032_previous_commitment_terms\"\303\001\n"
           + "\027FutureReservationParams\022l\n"
-          + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132I."
-          + "google.cloud.compute.v1.FutureReservationParams.ResourceManagerTagsEntry\032:\n"
+          + "\025resource_manager_tags\030\374\233\213\264\001"
+          + " \003(\0132I.google.cloud.compute.v1.Fu"
+          + "tureReservationParams.ResourceManagerTagsEntry\032:\n"
           + "\030ResourceManagerTagsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\"\256\002\n"
           + "&FutureReservationSpecificSKUProperties\022w\n"
-          + "\023instance_properties\030\235\236\330f \001(\0132R.google.cloud.compute.v1.Alloca"
-          + "tionSpecificSKUAllocationReservedInstancePropertiesH\000\210\001\001\022)\n"
+          + "\023instance_properties\030\235\236\330f \001(\0132R.google.cloud.com"
+          + "pute.v1.AllocationSpecificSKUAllocationReservedInstancePropertiesH\000\210\001\001\022)\n"
           + "\030source_instance_template\030\300\303\301\236\001 \001("
           + "\tH\001\210\001\001\022\033\n"
           + "\013total_count\030\324\230\310= \001(\003H\002\210\001\001B\026\n"
@@ -14304,21 +14312,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\027FutureReservationStatus\022 \n"
           + "\020amendment_status\030\344\242\253w \001(\tH\000\210\001\001\022$\n"
           + "\031auto_created_reservations\030\256\225\356B \003(\t\022r\n"
-          + "\037exapool_provisioned_capacity_gb\030\340\341\313\244\001"
-          + " \001(\0132@.google.cloud.co"
-          + "mpute.v1.StoragePoolExapoolProvisionedCapacityGbH\001\210\001\001\022x\n"
-          + "\034existing_matching_usage_info\030\332\212\223\363\001"
-          + " \001(\0132I.google.cloud.compute.v"
-          + "1.FutureReservationStatusExistingMatchingUsageInfoH\002\210\001\001\022 \n"
+          + "\037exapool_provisioned_capacity_gb\030\340\341\313\244\001 \001(\0132@.g"
+          + "oogle.cloud.compute.v1.StoragePoolExapoolProvisionedCapacityGbH\001\210\001\001\022x\n"
+          + "\034existing_matching_usage_info\030\332\212\223\363\001 \001(\0132I.google.c"
+          + "loud.compute.v1.FutureReservationStatusExistingMatchingUsageInfoH\002\210\001\001\022"
+          + " \n"
           + "\017fulfilled_count\030\357\223\246\230\001 \001(\003H\003\210\001\001\022i\n"
-          + "\025last_known_good_state\030\224\337\370[ "
-          + "\001(\0132B.google.cloud.compute.v1.FutureReservationStatusLastKnownGoodStateH\004\210\001\001\022\031\n"
+          + "\025last_known_good_state\030\224\337\370[ \001(\0132B.google.cloud.compute"
+          + ".v1.FutureReservationStatusLastKnownGoodStateH\004\210\001\001\022\031\n"
           + "\tlock_time\030\341\222\307D \001(\tH\005\210\001\001\022\"\n"
           + "\022procurement_status\030\341\340\223k \001(\tH\006\210\001\001\022n\n"
-          + "\027specific_sku_properties\030\302\370\3653 \001(\0132E.google.cloud.compute.v"
-          + "1.FutureReservationStatusSpecificSKUPropertiesH\007\210\001\001\022{\n"
-          + "!storage_pool_provisioned_capacity\030\344\237\346@ \001(\0132H.google.cloud.compute"
-          + ".v1.FutureReservationStoragePoolProvisionedCapacityH\010\210\001\001\"\251\001\n"
+          + "\027specific_sku_properties\030\302\370\3653 \001(\0132E.google.c"
+          + "loud.compute.v1.FutureReservationStatusSpecificSKUPropertiesH\007\210\001\001\022{\n"
+          + "!storage_pool_provisioned_capacity\030\344\237\346@ \001(\0132H.google"
+          + ".cloud.compute.v1.FutureReservationStoragePoolProvisionedCapacityH\010\210\001\001\"\251\001\n"
           + "\017AmendmentStatus\022\036\n"
           + "\032UNDEFINED_AMENDMENT_STATUS\020\000\022\031\n"
           + "\022AMENDMENT_APPROVED\020\311\237\346G\022\031\n"
@@ -14356,11 +14363,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_timestamp\"\213\007\n"
           + ")FutureReservationStatusLastKnownGoodState\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\000\210\001\001\022x\n"
-          + "\034existing_matching_usage_info\030\332\212\223\363\001 \001(\0132I.google.clo"
-          + "ud.compute.v1.FutureReservationStatusExistingMatchingUsageInfoH\001\210\001\001\022\202\001\n"
-          + "\030future_reservation_specs\030\351\224\255\' \001(\0132X.google.cloud"
-          + ".compute.v1.FutureReservationStatusLastK"
-          + "nownGoodStateFutureReservationSpecsH\002\210\001\001\022\031\n"
+          + "\034existing_matching_usage_info\030\332\212\223\363\001 \001("
+          + "\0132I.google.cloud.compute.v1.FutureReserv"
+          + "ationStatusExistingMatchingUsageInfoH\001\210\001\001\022\202\001\n"
+          + "\030future_reservation_specs\030\351\224\255\' \001(\0132"
+          + "X.google.cloud.compute.v1.FutureReservat"
+          + "ionStatusLastKnownGoodStateFutureReservationSpecsH\002\210\001\001\022\031\n"
           + "\tlock_time\030\341\222\307D \001(\tH\003\210\001\001\022\033\n"
           + "\013name_prefix\030\306\245\335p \001(\tH\004\210\001\001\022\"\n"
           + "\022procurement_status\030\341\340\223k \001(\tH\005\210\001\001\"\341\002\n"
@@ -14386,12 +14394,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\014_name_prefixB\025\n"
           + "\023_procurement_status\"\206\003\n"
           + "?FutureReservationStatusLastKnownGoodStateFutureReservationSpecs\022F\n"
-          + "\016share_settings\030\203\221\224\177 \001(\0132&.goo"
-          + "gle.cloud.compute.v1.ShareSettingsH\000\210\001\001\022h\n"
-          + "\027specific_sku_properties\030\302\370\3653 \001(\0132?.go"
-          + "ogle.cloud.compute.v1.FutureReservationSpecificSKUPropertiesH\001\210\001\001\022R\n"
-          + "\013time_window\030\242\353\330\311\001"
-          + " \001(\01324.google.cloud.compute.v1.FutureReservationTimeWindowH\002\210\001\001B\021\n"
+          + "\016share_settings\030\203\221\224\177"
+          + " \001(\0132&.google.cloud.compute.v1.ShareSettingsH\000\210\001\001\022h\n"
+          + "\027specific_sku_properties\030\302\370\3653 \001(\0132?.google.cloud.compute.v1.Futu"
+          + "reReservationSpecificSKUPropertiesH\001\210\001\001\022R\n"
+          + "\013time_window\030\242\353\330\311\001 \001(\01324.google.cloud."
+          + "compute.v1.FutureReservationTimeWindowH\002\210\001\001B\021\n"
           + "\017_share_settingsB\032\n"
           + "\030_specific_sku_propertiesB\016\n"
           + "\014_time_window\"{\n"
@@ -14399,13 +14407,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\033source_instance_template_id\030\372\357\2025 \001(\tH\000\210\001\001B\036\n"
           + "\034_source_instance_template_id\"\306\003\n"
           + "&FutureReservationStoragePoolProperties\022{\n"
-          + ")requested_exapool_provisioned_capacity_gb\030\217\210\270S \001(\0132@.goo"
-          + "gle.cloud.compute.v1.StoragePoolExapoolProvisionedCapacityGbH\000\210\001\001\022\206\001\n"
-          + "+requested_storage_pool_provisioned_capacity\030\323\246\362\233\001 "
-          + "\001(\0132H.google.cloud.compute.v1.FutureRese"
-          + "rvationStoragePoolProvisionedCapacityH\001\210\001\001\022\"\n"
-          + "\021storage_pool_type\030\271\201\260\210\001 \001(\tH\002\210\001\001B,",
-      "\n"
+          + ")requested_exapool_provisioned_capacity_gb\030\217\210\270S"
+          + " \001(\0132@.google.cloud.compute.v1.Stora"
+          + "gePoolExapoolProvisionedCapacityGbH\000\210\001\001\022\206\001\n"
+          + "+requested_storage_pool_provisioned_capacity\030\323\246\362\233\001"
+          + " \001(\0132H.google.cloud.compute.v1.FutureReservationStoragePoolProvisio",
+      "nedCapacityH\001\210\001\001\022\"\n"
+          + "\021storage_pool_type\030\271\201\260\210\001 \001(\tH\002\210\001\001B,\n"
           + "*_requested_exapool_provisioned_capacity_gbB.\n"
           + ",_requested_storage_pool_provisioned_capacityB\024\n"
           + "\022_storage_pool_type\"\217\002\n"
@@ -14418,8 +14426,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\026_pool_provisioned_iopsB\036\n"
           + "\034_pool_provisioned_throughput\"\271\001\n"
           + "\033FutureReservationTimeWindow\022;\n"
-          + "\010duration\030\224\233\221J \001("
-          + "\0132!.google.cloud.compute.v1.DurationH\000\210\001\001\022\030\n"
+          + "\010duration\030\224\233\221J"
+          + " \001(\0132!.google.cloud.compute.v1.DurationH\000\210\001\001\022\030\n"
           + "\010end_time\030\261\247\3476 \001(\tH\001\210\001\001\022\032\n\n"
           + "start_time\030\212\351\356\021 \001(\tH\002\210\001\001B\013\n"
           + "\t_durationB\013\n"
@@ -14428,8 +14436,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "(FutureReservationsAggregatedListResponse\022\024\n"
           + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\tH\001\210\001\001\022^\n"
-          + "\005items\030\300\317\367/ \003(\0132"
-          + "L.google.cloud.compute.v1.FutureReservationsAggregatedListResponse.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132L.google.cloud.compute.v1."
+          + "FutureReservationsAggregatedListResponse.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\004\210\001\001\022\027\n"
@@ -14438,8 +14446,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\005\210\001\001\032c\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022D\n"
-          + "\005value\030\002"
-          + " \001(\01325.google.cloud.compute.v1.FutureReservationsScopedList:\0028\001B\007\n"
+          + "\005value\030\002 \001(\01325.google.cloud.comp"
+          + "ute.v1.FutureReservationsScopedList:\0028\001B\007\n"
           + "\005_etagB\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
@@ -14449,8 +14457,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\036FutureReservationsListResponse\022\024\n"
           + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\tH\001\210\001\001\022<\n"
-          + "\005items\030\300\317\367/"
-          + " \003(\0132*.google.cloud.compute.v1.FutureReservation\022\024\n"
+          + "\005items\030\300\317\367/ "
+          + "\003(\0132*.google.cloud.compute.v1.FutureReservation\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\004\210\001\001\022\027\n"
@@ -14472,15 +14480,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\035FutureResourcesRecommendation\022\030\n"
           + "\010end_time\030\261\247\3476 \001(\tH\000\210\001\001\022\031\n"
           + "\010location\030\265\277\276\212\001 \001(\tH\001\210\001\001\022f\n"
-          + "\017other_locations\030\357\371\300U \003(\0132J.google.cloud.compute.v1.FutureR"
-          + "esourcesRecommendation.OtherLocationsEntry\022\"\n"
+          + "\017other_locations\030\357\371\300U \003(\0132J.google.cloud.comp"
+          + "ute.v1.FutureResourcesRecommendation.OtherLocationsEntry\022\"\n"
           + "\021recommendation_id\030\341\326\243\342\001 \001(\tH\002\210\001\001\022#\n"
           + "\023recommendation_type\030\200\350\203n \001(\tH\003\210\001\001\022\032\n\n"
           + "start_time\030\212\351\356\021 \001(\tH\004\210\001\001\032z\n"
           + "\023OtherLocationsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022R\n"
-          + "\005value\030\002 \001(\0132C.goo"
-          + "gle.cloud.compute.v1.FutureResourcesRecommendationOtherLocation:\0028\001\"z\n"
+          + "\005value\030\002 \001(\0132C.google.cloud.compute.v1.Futur"
+          + "eResourcesRecommendationOtherLocation:\0028\001\"z\n"
           + "\022RecommendationType\022!\n"
           + "\035UNDEFINED_RECOMMENDATION_TYPE\020\000\022\031\n"
           + "\022FUTURE_RESERVATION\020\260\326\310\023\022&\n"
@@ -14504,12 +14512,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007_status\"\366\003\n"
           + "\023FutureResourcesSpec\022 \n"
           + "\017deployment_type\030\364\200\226\275\001 \001(\tH\000\210\001\001\022\\\n"
-          + "\017location_policy\030\374\271\207\336\001"
-          + " \001(\0132:.google.cloud.compute.v1.FutureResourcesSpecLocationPolicyH\001\210\001\001\022^\n"
-          + "\020target_resources\030\367\321\360\373\001 \001(\0132;.google.clou"
-          + "d.compute.v1.FutureResourcesSpecTargetResourcesH\002\210\001\001\022K\n"
-          + "\017time_range_spec\030\257\314\3077 \001(\013"
-          + "2*.google.cloud.compute.v1.FlexibleTimeRangeH\003\210\001\001\"a\n"
+          + "\017location_policy\030\374\271\207\336\001 \001(\0132:.google.cloud"
+          + ".compute.v1.FutureResourcesSpecLocationPolicyH\001\210\001\001\022^\n"
+          + "\020target_resources\030\367\321\360\373\001 \001(\013"
+          + "2;.google.cloud.compute.v1.FutureResourcesSpecTargetResourcesH\002\210\001\001\022K\n"
+          + "\017time_range_spec\030\257\314\3077"
+          + " \001(\0132*.google.cloud.compute.v1.FlexibleTimeRangeH\003\210\001\001\"a\n"
           + "\016DeploymentType\022\035\n"
           + "\031UNDEFINED_DEPLOYMENT_TYPE\020\000\022\014\n"
           + "\005DENSE\020\377\225\373\036\022\"\n"
@@ -14550,12 +14558,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\017_disk_interfaceB\017\n\r"
           + "_disk_size_gb\"\373\001\n"
           + "!FutureResourcesSpecLocationPolicy\022`\n"
-          + "\tlocations\030\336\256\221\305\001 \003(\0132I.google.clo"
-          + "ud.compute.v1.FutureResourcesSpecLocationPolicy.LocationsEntry\032t\n"
+          + "\tlocations\030\336\256\221\305\001 \003("
+          + "\0132I.google.cloud.compute.v1.FutureResourcesSpecLocationPolicy.LocationsEntry\032t\n"
           + "\016LocationsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022Q\n"
-          + "\005value\030\002 \001(\0132B.google.cl"
-          + "oud.compute.v1.FutureResourcesSpecLocationPolicyLocation:\0028\001\"\270\001\n"
+          + "\005value\030\002 \001"
+          + "(\0132B.google.cloud.compute.v1.FutureResourcesSpecLocationPolicyLocation:\0028\001\"\270\001\n"
           + ")FutureResourcesSpecLocationPolicyLocation\022\032\n\n"
           + "preference\030\333\371\362G \001(\tH\000\210\001\001\"`\n\n"
           + "Preference\022\030\n"
@@ -14566,16 +14574,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_preference\"\354\001\n"
           + "\'FutureResourcesSpecSpecificSKUResources\022\036\n"
           + "\016instance_count\030\345\211\357$ \001(\003H\000\210\001\001\022_\n"
-          + "\024local_ssd_partitions\030\270\306\270\340\001 \003(\0132=."
-          + "google.cloud.compute.v1.FutureResourcesSpecLocalSsdPartition\022\034\n"
+          + "\024local_ssd_partitions\030\270\306\270\340\001"
+          + " \003(\0132=.google.cloud.compute.v1.FutureResourcesSpecLocalSsdPartition\022\034\n"
           + "\014machine_type\030\262\260\312l \001(\tH\001\210\001\001B\021\n"
           + "\017_instance_countB\017\n\r"
           + "_machine_type\"\246\002\n"
           + "\"FutureResourcesSpecTargetResources\022c\n"
-          + "\023aggregate_resources\030\245\247\237V \001(\0132>."
-          + "google.cloud.compute.v1.FutureResourcesSpecAggregateResourcesH\000\210\001\001\022h\n"
-          + "\026specific_sku_resources\030\266\342\254\177 \001(\0132@.google.cloud.com"
-          + "pute.v1.FutureResourcesSpecSpecificSKUResourcesH\001\210\001\001B\026\n"
+          + "\023aggregate_resources\030\245\247\237V \001(\0132>.google.cloud.compute.v1.Fu"
+          + "tureResourcesSpecAggregateResourcesH\000\210\001\001\022h\n"
+          + "\026specific_sku_resources\030\266\342\254\177 \001(\0132@.go"
+          + "ogle.cloud.compute.v1.FutureResourcesSpecSpecificSKUResourcesH\001\210\001\001B\026\n"
           + "\024_aggregate_resourcesB\031\n"
           + "\027_specific_sku_resources\"\315\002\n"
           + "\017GRPCHealthCheck\022!\n"
@@ -14737,11 +14745,50 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\036GetHealthBackendServiceRequest\022 \n"
           + "\017backend_service\030\212\300\256\222\001 \001(\tB\003\340A\002\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022b\n"
-          + "!resource_group_reference_resource\030\323\376\3555 \001(\0132/.google.c"
-          + "loud.compute.v1.ResourceGroupReferenceB\003\340A\002\"O\n"
+          + "!resource_group_reference_resource\030\323\376\3555 "
+          + "\001(\0132/.google.cloud.compute.v1.ResourceGroupReferenceB\003\340A\002\"O\n"
           + "\025GetHealthCheckRequest\022\035\n"
           + "\014health_check\030\345\252\244\223\001 \001(\tB\003\340A\002\022\027\n"
-          + "\007project\030\231\226\301l \001(\tB\003\340A\002\"\335\001\n"
+          + "\007project\030\231\226\301l \001(\tB\003\340A\002\"\210\001\n"
+          + "\032GetHealthOperationMetadata\022Z\n"
+          + "\013health_info\030\261\351\230p \001(\0132=.goog"
+          + "le.cloud.compute.v1.GetHealthOperationMetadataHealthInfoH\000\210\001\001B\016\n"
+          + "\014_health_info\"\221\t\n"
+          + "$GetHealthOperationMetadataHealthInfo\022\'\n"
+          + "\027availability_slo_status\030\377\240\207z \001(\tH\000\210\001\001\022\036\n\r"
+          + "health_status\030\265\326\272\265\001 \001(\tH\001\210\001\001\022\037\n"
+          + "\017repair_category\030\360\372\2076 \001(\tH\002\210\001\001\022!\n"
+          + "\020unhealthy_reason\030\377\363\202\326\001 \001(\tH\003\210\001\001\022\034\n"
+          + "\013update_time\030\203\321\307\356\001 \001(\tH\004\210\001\001\"\352\001\n"
+          + "\025AvailabilitySloStatus\022%\n"
+          + "!UNDEFINED_AVAILABILITY_SLO_STATUS\020\000\022%\n"
+          + "\036AVAILABILITY_SLO_STATUS_IN_SLO\020\234\375\225D\022)\n"
+          + "\"AVAILABILITY_SLO_STATUS_OUT_OF_SLO\020\377\200\2725\022+\n"
+          + "#AVAILABILITY_SLO_STATUS_SLO_UNKNOWN\020\341\234\345\205\001\022+\n"
+          + "#AVAILABILITY_SLO_STATUS_UNSPECIFIED\020\367\206\263\345\001\"\216\001\n"
+          + "\014HealthStatus\022\033\n"
+          + "\027UNDEFINED_HEALTH_STATUS\020\000\022\035\n"
+          + "\025HEALTH_STATUS_HEALTHY\020\363\304\252\206\001\022\037\n"
+          + "\027HEALTH_STATUS_UNHEALTHY\020\272\210\377\342\001\022!\n"
+          + "\031HEALTH_STATUS_UNSPECIFIED\020\215\202\372\345\001\"\204\002\n"
+          + "\016RepairCategory\022\035\n"
+          + "\031UNDEFINED_REPAIR_CATEGORY\020\000\022\'\n"
+          + " REPAIR_CATEGORY_CRITICAL_FAILURE\020\271\347\342\033\022,\n"
+          + "$REPAIR_CATEGORY_EMERGENT_MAINTENANCE\020\234\216\223\277\001\022+\n"
+          + "#REPAIR_CATEGORY_PLANNED_MAINTENANCE\020\211\327\247\351\001\022#\n"
+          + "\033REPAIR_CATEGORY_UNSPECIFIED\020\310\235\375\210\001\022*\n"
+          + "#REPAIR_CATEGORY_USER_REPORTED_FAULT\020\273\262\315l\"\321\001\n"
+          + "\017UnhealthyReason\022\036\n"
+          + "\032UNDEFINED_UNHEALTHY_REASON\020\000\022.\n"
+          + "&UNHEALTHY_REASON_PENDING_USER_APPROVAL\020\317\252\262\226\001\022!\n"
+          + "\032UNHEALTHY_REASON_REPAIRING\020\365\305\205_\022%\n"
+          + "\036UNHEALTHY_REASON_UNSCHEDULABLE\020\357\236\2478\022$\n"
+          + "\034UNHEALTHY_REASON_UNSPECIFIED\020\367\221\205\241\001B\032\n"
+          + "\030_availability_slo_statusB\020\n"
+          + "\016_health_statusB\022\n"
+          + "\020_repair_categoryB\023\n"
+          + "\021_unhealthy_reasonB\016\n"
+          + "\014_update_time\"\335\001\n"
           + "$GetHealthRegionBackendServiceRequest\022 \n"
           + "\017backend_service\030\212\300\256\222\001 \001(\tB\003\340A\002\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
@@ -14755,10 +14802,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\"GetHealthRegionHealthSourceRequest\022\036\n\r"
           + "health_source\030\336\206\305\263\001 \001(\tB\003\340A\002\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
-          + "\006region\030\364\315\240B \001(\tB\003\340A\002\"\304\001\n"
+          + "\006region\030\364\315\240B \001(\tB\003\340A\002\"\315\001\n"
+          + "\037GetHealthReservationSlotRequest\022\034\n"
+          + "\013parent_name\030\200\212\200\344\001 \001(\tB\003\340A\002\022!\n"
+          + "\007project\030\231\226\301l \001(\tB\r"
+          + "\340A\002\362G\007project\022\032\n\n"
+          + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022!\n"
+          + "\020reservation_slot\030\221\275\247\204\001 \001(\tB\003\340A\002\022\033\n"
+          + "\004zone\030\254\307\344\001 \001(\tB\n"
+          + "\340A\002\362G\004zoneB\r\n"
+          + "\013_request_id\"\304\001\n"
           + "\032GetHealthTargetPoolRequest\022X\n"
-          + "\033instance_reference_resource\030\354\344\326\213\001 \001(\0132*.g"
-          + "oogle.cloud.compute.v1.InstanceReferenceB\003\340A\002\022\027\n"
+          + "\033instance_reference_resource\030\354\344\326\213\001"
+          + " \001(\0132*.google.cloud.compute.v1.InstanceReferenceB\003\340A\002\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\033\n"
           + "\013target_pool\030\212\344\370\035 \001(\tB\003\340A\002\"s\n"
@@ -14913,7 +14969,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " options_requested_policy_version\030\275\374\205\356\001"
           + " \001(\005H\000\210\001\001\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
-          + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n"
+          + "\006region\030\364\315\240",
+      "B \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002B#\n"
           + "!_options_requested_policy_version\"\323\001\n"
           + ".GetIamPolicyRegionNetworkFirewallPolicyRequest\0221\n"
@@ -14967,8 +15024,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002B#\n"
           + "!_options_requested_policy_version\"\250\001\n"
-          + "\033GetIamPo",
-      "licySnapshotRequest\0221\n"
+          + "\033GetIamPolicySnapshotRequest\0221\n"
           + " options_requested_policy_version\030\275\374\205\356\001"
           + " \001(\005H\000\210\001\001\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
@@ -15464,25 +15520,25 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\025GetVersionHostRequest\022\034\n"
           + "\013association\030\201\271\243\326\001 \001(\tB\003\340A\002\022\024\n"
           + "\004host\030\250\353\303\001 \001(\tB\003\340A\002\022d\n"
-          + "\"hosts_get_version_request_resource\030\202\262\255\202\001 \001(\0132/.google.cl"
-          + "oud.compute.v1.HostsGetVersionRequestB\003\340A\002\022!\n"
+          + "\"hosts_get_version_request_resource\030\202\262\255\202\001 \001("
+          + "\0132/.google.cloud.compute.v1.HostsGetVersionRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
-          + "\340A\002\362G\007project\022\032\n"
-          + "\n"
+          + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
           + "\004zone\030\254\307\344\001 \001(\tB\n"
           + "\340A\002\362G\004zoneB\r\n"
           + "\013_request_id\"\222\001\n"
           + "\033GetVersionOperationMetadata\022^\n"
-          + "\020inline_sbom_info\030\232\216\260\003"
-          + " \001(\0132<.google.cloud.compute.v1.GetVersionOperationMetadataSbomInfoH\000\210\001\001B\023\n"
+          + "\020inline_sbom_info\030\232\216\260\003 \001(\0132<.google.cloud.c"
+          + "ompute.v1.GetVersionOperationMetadataSbomInfoH\000\210\001\001B\023\n"
           + "\021_inline_sbom_info\"\256\003\n"
           + "#GetVersionOperationMetadataSbomInfo\022\202\001\n"
-          + "\032current_component_versions\030\243\270\252\202\001 \003(\0132Z.google.cloud.compu"
-          + "te.v1.GetVersionOperationMetadataSbomInfo.CurrentComponentVersionsEntry\022\200\001\n"
-          + "\031target_component_versions\030\213\202\376\244\001 \003(\0132Y.google"
-          + ".cloud.compute.v1.GetVersionOperationMet"
-          + "adataSbomInfo.TargetComponentVersionsEntry\032?\n"
+          + "\032current_component_versions\030\243\270\252\202\001 \003(\0132Z.googl"
+          + "e.cloud.compute.v1.GetVersionOperationMe"
+          + "tadataSbomInfo.CurrentComponentVersionsEntry\022\200\001\n"
+          + "\031target_component_versions\030\213\202\376\244\001"
+          + " \003(\0132Y.google.cloud.compute.v1.GetVersio"
+          + "nOperationMetadataSbomInfo.TargetComponentVersionsEntry\032?\n"
           + "\035CurrentComponentVersionsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\032>\n"
@@ -15490,13 +15546,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\"\313\002\n"
           + " GetVersionReservationSlotRequest\022\034\n"
-          + "\013parent_name\030\200\212\200\344\001 \001(\tB\003\340A\002\022!\n"
+          + "\013parent_name\030\200\212\200",
+      "\344\001 \001(\tB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022!\n"
           + "\020reservation_slot\030\221\275\247\204\001 \001(\tB\003\340A\002\022{\n"
-          + ".reservation_slots_get_version_request_resource\030\253\210\362\237\001 \001(\0132:.g"
-          + "oogle.cloud.compute.v1.ReservationSlotsGetVersionRequestB\003\340A\002\022\033\n"
+          + ".reservation_slots_get_version_request_resource\030\253\210\362\237\001"
+          + " \001(\0132:.google.cloud.compute.v1.ReservationSlotsGetVersionRequestB\003\340A\002\022\033\n"
           + "\004zone\030\254\307\344\001 \001(\tB\n"
           + "\340A\002\362G\004zoneB\r\n"
           + "\013_request_id\"\334\002\n"
@@ -15507,9 +15564,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022%\n"
           + "\025reservation_sub_block\030\233\312\354\n"
           + " \001(\tB\003\340A\002\022\203\001\n"
-          + "3reservation_sub_blocks_get_version_request_resource\030\265\372\254j"
-          + " \001(\0132>.google.cloud.c"
-          + "ompute.v1.ReservationSubBlocksGetVersionRequestB\003\340A\002\022\033\n"
+          + "3reservation_sub_blocks_get_version_request_resource\030\265\372\254j \001(\0132>.g"
+          + "oogle.cloud.compute.v1.ReservationSubBlocksGetVersionRequestB\003\340A\002\022\033\n"
           + "\004zone\030\254\307\344\001 \001(\tB\n"
           + "\340A\002\362G\004zoneB\r\n"
           + "\013_request_id\"e\n"
@@ -15551,19 +15607,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\037GetZoneVmExtensionPolicyRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022$\n"
           + "\023vm_extension_policy\030\272\223\213\236\001 \001(\tB\003\340A\002\022\024\n"
-          + "\004zone\030\254\307\344\001 ",
-      "\001(\tB\003\340A\002\"\210\001\n"
+          + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\210\001\n"
           + "\032GlobalAddressesMoveRequest\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\000\210\001\001\022$\n"
           + "\023destination_address\030\303\261\236\261\001 \001(\tH\001\210\001\001B\016\n"
           + "\014_descriptionB\026\n"
           + "\024_destination_address\"{\n"
           + "1GlobalNetworkEndpointGroupsAttachEndpointsRequest\022F\n"
-          + "\021network_endpoints\030\255\221\272G"
-          + " \003(\0132(.google.cloud.compute.v1.NetworkEndpoint\"{\n"
+          + "\021network_endpoints\030\255\221\272G "
+          + "\003(\0132(.google.cloud.compute.v1.NetworkEndpoint\"{\n"
           + "1GlobalNetworkEndpointGroupsDetachEndpointsRequest\022F\n"
-          + "\021network_endpoints\030\255\221\272G \003(\0132(.go"
-          + "ogle.cloud.compute.v1.NetworkEndpoint\"\277\001\n"
+          + "\021network_endpoints\030\255\221\272G"
+          + " \003(\0132(.google.cloud.compute.v1.NetworkEndpoint\"\277\001\n"
           + "\"GlobalOrganizationSetPolicyRequest\0226\n"
           + "\010bindings\030\216\305\244\300\001 \003(\0132"
           + " .google.cloud.compute.v1.Binding\022\024\n"
@@ -15574,8 +15629,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007_policy\"\321\001\n"
           + "\026GlobalSetLabelsRequest\022!\n"
           + "\021label_fingerprint\030\231\360\367T \001(\tH\000\210\001\001\022O\n"
-          + "\006labels\030\377\277\301\356\001 \003(\0132;.goog"
-          + "le.cloud.compute.v1.GlobalSetLabelsRequest.LabelsEntry\032-\n"
+          + "\006labels\030\377\277\301\356\001"
+          + " \003(\0132;.google.cloud.compute.v1.GlobalSetLabelsRequest.LabelsEntry\032-\n"
           + "\013LabelsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001B\024\n"
@@ -15591,16 +15646,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\027GlobalVmExtensionPolicy\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022f\n"
-          + "\022extension_policies\030\320\272\315l \003(\0132G.google."
-          + "cloud.compute.v1.GlobalVmExtensionPolicy.ExtensionPoliciesEntry\022\020\n"
+          + "\022extension_policies\030\320\272\315l "
+          + "\003(\0132G.google.cloud.compute.v1.GlobalVmExtensionPolicy.ExtensionPoliciesEntry\022\020\n"
           + "\002id\030\233\032 \001(\004H\002\210\001\001\022`\n"
-          + "\022instance_selectors\030\312\302\214\370\001 \003(\0132@.goog"
-          + "le.cloud.compute.v1.GlobalVmExtensionPolicyInstanceSelector\022\024\n"
+          + "\022instance_selectors\030\312\302\214\370\001"
+          + " \003(\0132@.google.cloud.compute.v1.GlobalVmExtensionPolicyInstanceSelector\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\003\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\004\210\001\001\022\031\n"
           + "\010priority\030\244\363\241\324\001 \001(\005H\005\210\001\001\022d\n"
-          + "\021rollout_operation\030\331\320\214\350\001 \001("
-          + "\0132@.google.cloud.compute.v1.GlobalVmExtensionPolicyRolloutOperationH\006\210\001\001\022&\n"
+          + "\021rollout_operation\030\331\320\214\350\001 \001(\0132@.google.cloud.compute.v1"
+          + ".GlobalVmExtensionPolicyRolloutOperationH\006\210\001\001\022&\n"
           + "\026scoped_resource_status\030\224\377\342V \001(\tH\007\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\022!\n"
           + "\021self_link_with_id\030\202\254\235\025 \001(\tH\t\210\001\001\022 \n"
@@ -15608,8 +15663,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\210\001\001\032y\n"
           + "\026ExtensionPoliciesEntry\022\013\n"
           + "\003key\030\001 \001(\t\022N\n"
-          + "\005value\030\002 \001(\0132?.google.cloud.c"
-          + "ompute.v1.GlobalVmExtensionPolicyExtensionPolicy:\0028\001\"\221\001\n"
+          + "\005value\030\002 \001(\0132?.g"
+          + "oogle.cloud.compute.v1.GlobalVmExtensionPolicyExtensionPolicy:\0028\001\"\221\001\n"
           + "\024ScopedResourceStatus\022$\n"
           + " UNDEFINED_SCOPED_RESOURCE_STATUS\020\000\022\'\n"
           + "\037SCOPED_RESOURCE_STATUS_DELETING\020\363\247\336\300\001\022*\n"
@@ -15631,21 +15686,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\017_pinned_versionB\020\n"
           + "\016_string_config\"\234\001\n"
           + "\'GlobalVmExtensionPolicyInstanceSelector\022^\n"
-          + "\016label_selector\030\312\361\344\246\001 \001(\013"
-          + "2=.google.cloud.compute.v1.GlobalVmExtensionPolicyLabelSelectorH\000\210\001\001B\021\n"
+          + "\016label_selector\030\312\361\344\246\001 \001(\0132=.google.cloud.compute.v1."
+          + "GlobalVmExtensionPolicyLabelSelectorH\000\210\001\001B\021\n"
           + "\017_label_selector\"\320\001\n"
           + "$GlobalVmExtensionPolicyLabelSelector\022p\n"
-          + "\020inclusion_labels\030\202\331\205\357\001 \003(\0132R"
-          + ".google.cloud.compute.v1.GlobalVmExtensi"
-          + "onPolicyLabelSelector.InclusionLabelsEntry\0326\n"
+          + "\020inclusion_labels\030\202\331\205\357\001 \003(\0132R.google.cloud.compute.v1.Gl"
+          + "obalVmExtensionPolicyLabelSelector.InclusionLabelsEntry\0326\n"
           + "\024InclusionLabelsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\"\367\002\n"
           + "\033GlobalVmExtensionPolicyList\022\024\n"
           + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\tH\001\210\001\001\022B\n"
-          + "\005items\030\300\317\367/ \003(\01320.google.cl"
-          + "oud.compute.v1.GlobalVmExtensionPolicy\022\024\n"
+          + "\005items\030\300\317\367/ \003("
+          + "\01320.google.cloud.compute.v1.GlobalVmExtensionPolicy\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\004\210\001\001\022\027\n"
@@ -15659,10 +15713,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\253\002\n"
           + "\'GlobalVmExtensionPolicyRolloutOperation\022k\n\r"
-          + "rollout_input\030\274\347\333~ \001(\0132L.google.clou"
-          + "d.compute.v1.GlobalVmExtensionPolicyRolloutOperationRolloutInputH\000\210\001\001\022n\n"
-          + "\016rollout_status\030\300\344\226\343\001 \001(\0132M.google.cloud.compute"
-          + ".v1.GlobalVmExtensionPolicyRolloutOperationRolloutStatusH\001\210\001\001B\020\n"
+          + "rollout_input\030\274\347\333~ \001(\0132L.google.cloud.compute.v1.GlobalVmExtens"
+          + "ionPolicyRolloutOperationRolloutInputH\000\210\001\001\022n\n"
+          + "\016rollout_status\030\300\344\226\343\001 \001(\0132M.google."
+          + "cloud.compute.v1.GlobalVmExtensionPolicyRolloutOperationRolloutStatusH\001\210\001\001B\020\n"
           + "\016_rollout_inputB\021\n"
           + "\017_rollout_status\"\213\003\n"
           + "3GlobalVmExtensionPolicyRolloutOperationRolloutInput\022!\n"
@@ -15681,37 +15735,40 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\030_predefined_rollout_planB\r\n"
           + "\013_retry_uuid\"\307\002\n"
           + "4GlobalVmExtensionPolicyRolloutOperationRolloutStatus\022y\n"
-          + "\020current_rollouts\030\350\201\377\022 \003(\0132\\.google.cloud.co"
-          + "mpute.v1.GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata\022\177\n"
-          + "\020previous_rollout\030\351\370\225\263\001 \001(\0132\\.google.clou"
-          + "d.compute.v1.GlobalVmExtensionPolicyRoll"
-          + "outOperationRolloutStatusRolloutMetadataH\000\210\001\001B\023\n"
+          + "\020current_rollouts\030\350\201\377\022 \003(\0132\\.go"
+          + "ogle.cloud.compute.v1.GlobalVmExtensionP"
+          + "olicyRolloutOperationRolloutStatusRolloutMetadata\022\177\n"
+          + "\020previous_rollout\030\351\370\225\263\001 \001(\0132"
+          + "\\.google.cloud.compute.v1.GlobalVmExtens"
+          + "ionPolicyRolloutOperationRolloutStatusRolloutMetadataH\000\210\001\001B\023\n"
           + "\021_previous_rollout\"\323\005\n"
           + "CGlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata\022\234\001\n"
-          + "\027location_rollout_status\030\212\200\312\204\001 \003(\0132w.google.cloud.compute."
-          + "v1.GlobalVmExtensionPolicyRolloutOperati"
-          + "onRolloutStatusRolloutMetadata.LocationRolloutStatusEntry\022\030\n"
+          + "\027location_rollout_status\030\212\200\312\204\001 \003(\0132w.google.c"
+          + "loud.compute.v1.GlobalVmExtensionPolicyR"
+          + "olloutOperationRolloutStatusRolloutMetadata.LocationRolloutStatusEntry\022\030\n"
           + "\007rollout\030\261\203\324\220\001 \001(\tH\000\210\001\001\022\035\n"
           + "\014rollout_plan\030\367\321\362\332\001 \001(\tH\001\210\001\001\022\025\n"
           + "\005state\030\221\211\2534 \001(\tH\002\210\001\001\032\260\001\n"
           + "\032LocationRolloutStatusEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\200\001\n"
-          + "\005value\030\002 \001(\0132q.google.cloud.compute.v1.GlobalVmExtensio"
-          + "nPolicyRolloutOperationRolloutStatusRolloutMetadataLocationRolloutStatus:\0028\001\"\302\001\n"
+          + "\005value\030\002 \001(\0132q.google.cloud.compute.v1.Glo"
+          + "balVmExtensionPolicyRolloutOperationRoll"
+          + "outStatusRolloutMetadataLocationRolloutStatus:\0028\001\"\302\001\n"
           + "\005State\022\023\n"
           + "\017UNDEFINED_STATE\020\000\022\027\n"
           + "\017STATE_CANCELLED\020\343\315\367\376\001\022\026\n"
           + "\017STATE_COMPLETED\020\335\347\332~\022\023\n"
           + "\014STATE_FAILED\020\313\217\240\030\022\024\n"
           + "\014STATE_PAUSED\020\274\231\370\240\001\022\027\n"
-          + "\020STATE_PROCESSING\020\241\307\260#\022\024\n\r"
+          + "\020STATE_PROCESSING\020\241\307\260#\022\024\n"
+          + "\r"
           + "STATE_UNKNOWN\020\334\324\212n\022\031\n"
           + "\021STATE_UNSPECIFIED\020\311\320\274\340\001B\n\n"
           + "\010_rolloutB\017\n\r"
           + "_rollout_planB\010\n"
           + "\006_state\"\347\002\n"
-          + "XGlobalVmExtensionPolicyRolloutOperationRoll"
-          + "outStatusRolloutMetadataLocationRolloutStatus\022\025\n"
+          + "XGlobalVmExtensionPolicyRollout"
+          + "OperationRolloutStatusRolloutMetadataLocationRolloutStatus\022\025\n"
           + "\005state\030\221\211\2534 \001(\tH\000\210\001\001\"\351\001\n"
           + "\005State\022\023\n"
           + "\017UNDEFINED_STATE\020\000\022\'\n"
@@ -15733,8 +15790,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " \001(\005H\005\210\001\001\0229\n"
           + "(subblock_infra_maintenance_pending_count\030\232\331\301\221\001"
           + " \001(\005H\006\210\001\001\022Y\n"
-          + "\032upcoming_group_maintenance\030\360\311\315\273\001 \001(\013"
-          + "2,.google.cloud.compute.v1.UpcomingMaintenanceH\007\210\001\001\"\200\001\n"
+          + "\032upcoming_group_maintenance\030\360\311\315\273\001"
+          + " \001(\0132,.google.cloud.compute.v1.UpcomingMaintenanceH\007\210\001\001\"\200\001\n"
           + "\016SchedulingType\022\035\n"
           + "\031UNDEFINED_SCHEDULING_TYPE\020\000\022\017\n"
           + "\007GROUPED\020\276\326\243\342\001\022*\n"
@@ -15751,8 +15808,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\017GuestAttributes\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\000\210\001\001\022\033\n\n"
           + "query_path\030\274\202\341\257\001 \001(\tH\001\210\001\001\022J\n"
-          + "\013query_value\030\272\256\221K \001(\0132-.g"
-          + "oogle.cloud.compute.v1.GuestAttributesValueH\002\210\001\001\022\032\n"
+          + "\013query_value\030\272\256\221K"
+          + " \001(\0132-.google.cloud.compute.v1.GuestAttributesValueH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\034\n"
           + "\014variable_key\030\234\204\260N \001(\tH\004\210\001\001\022\036\n"
           + "\016variable_value\030\356\363\263; \001(\tH\005\210\001\001B\007\n"
@@ -15770,10 +15827,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_namespaceB\010\n"
           + "\006_value\"W\n"
           + "\024GuestAttributesValue\022?\n"
-          + "\005items\030\300\317\367/ \003(\0132-.g"
-          + "oogle.cloud.compute.v1.GuestAttributesEntry\"\313\003\n"
+          + "\005items\030\300\317\367/"
+          + " \003(\0132-.google.cloud.compute.v1.GuestAttributesEntry\"\344\003\n"
           + "\016GuestOsFeature\022\024\n"
-          + "\004type\030\272\236\332\001 \001(\tH\000\210\001\001\"\231\003\n"
+          + "\004type\030\272\236\332\001 \001(\tH\000\210\001\001\"\262\003\n"
           + "\004Type\022\022\n"
           + "\016UNDEFINED_TYPE\020\000\022#\n"
           + "\033BARE_METAL_LINUX_COMPATIBLE\020\244\323\364\250\001\022\022\n"
@@ -15787,7 +15844,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\023SEV_LIVE_MIGRATABLE\020\214\233\370\272\001\022\035\n"
           + "\026SEV_LIVE_MIGRATABLE_V2\020\257\314\257P\022\025\n"
           + "\017SEV_SNP_CAPABLE\020\247\207\032\022\027\n"
-          + "\020SNP_SVSM_CAPABLE\020\364\210\236\031\022\022\n"
+          + "\020SNP_SVSM_CAPABLE\020\364\210\236\031\022\027\n"
+          + "\020SUSPEND_SAFE_FPR\020\331\233\345j\022\022\n"
           + "\013TDX_CAPABLE\020\265\325\323r\022\026\n"
           + "\017UEFI_COMPATIBLE\020\300\326\262]\022\035\n"
           + "\026VIRTIO_SCSI_MULTIQUEUE\020\215\301\220`\022\017\n"
@@ -15905,8 +15963,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\022_self_link_with_id\"\347\003\n"
           + "%HealthAggregationPolicyAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022[\n"
-          + "\005items\030\300\317\367/ \003(\0132I.google.cloud.co"
-          + "mpute.v1.HealthAggregationPolicyAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132I.google.cloud.comp"
+          + "ute.v1.HealthAggregationPolicyAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
@@ -15915,8 +15973,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\004\210\001\001\032j\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022K\n"
-          + "\005value\030\002 \001(\0132<.google.clou"
-          + "d.compute.v1.HealthAggregationPoliciesScopedList:\0028\001B\005\n"
+          + "\005value\030\002 \001(\0132<.google.cloud."
+          + "compute.v1.HealthAggregationPoliciesScopedList:\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
@@ -15961,10 +16019,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\016\210\001\001\022\032\n"
           + "\016source_regions\030\333\367\261\301\001 \003(\t\022J\n"
-          + "\020ssl_health_check\030\270\351\303\205\001 \001(\0132\'."
-          + "google.cloud.compute.v1.SSLHealthCheckH\017\210\001\001\022J\n"
-          + "\020tcp_health_check\030\203\252\215\340\001 \001(\0132\'.goog"
-          + "le.cloud.compute.v1.TCPHealthCheckH\020\210\001\001\022\033\n"
+          + "\020ssl_health_check\030\270\351\303\205\001 \001(\0132\'.go"
+          + "ogle.cloud.compute.v1.SSLHealthCheckH\017\210\001\001\022J\n"
+          + "\020tcp_health_check\030\203\252\215\340\001"
+          + " \001(\0132\'.google.cloud.compute.v1.TCPHealthCheckH\020\210\001\001\022\033\n"
           + "\013timeout_sec\030\363\300\222& \001(\005H\021\210\001\001\022\024\n"
           + "\004type\030\272\236\332\001 \001(\tH\022\210\001\001\022#\n"
           + "\023unhealthy_threshold\030\320\275\331l \001(\005H\023\210\001\001\"\215\001\n"
@@ -16046,8 +16104,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_link\"\327\003\n"
           + " HealthCheckServiceAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022V\n"
-          + "\005items\030\300\317\367/ \003(\0132D.google.cloud.compute.v1.Heal"
-          + "thCheckServiceAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/"
+          + " \003(\0132D.google.cloud.compute.v1.HealthCheckServiceAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
@@ -16061,8 +16119,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
-          + "_self_linkB\n"
-          + "\n"
+          + "_self_linkB\n\n"
           + "\010_warning\"]\n"
           + "\033HealthCheckServiceReference\022%\n"
           + "\024health_check_service\030\333\233\335\302\001 \001(\tH\000\210\001\001B\027\n"
@@ -16082,15 +16139,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\251\001\n"
           + "\035HealthCheckServicesScopedList\022A\n"
-          + "\tresources\030\245\374\262N \003(\0132+.goo"
-          + "gle.cloud.compute.v1.HealthCheckService\0229\n"
+          + "\tresources\030\245\374\262N"
+          + " \003(\0132+.google.cloud.compute.v1.HealthCheckService\0229\n"
           + "\007warning\030\234\337\226\030 \001(\0132"
           + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n"
           + "\010_warning\"\304\003\n"
           + "\032HealthChecksAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022P\n"
-          + "\005items\030\300\317\367/ \003(\0132>.google.cloud.compute"
-          + ".v1.HealthChecksAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132>.google.cloud.compute.v"
+          + "1.HealthChecksAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
@@ -16109,8 +16166,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\026HealthChecksScopedList\022?\n\r"
           + "health_checks\030\256\257\346\325\001"
           + " \003(\0132$.google.cloud.compute.v1.HealthCheck\0229\n"
-          + "\007warning\030\234\337\226\030 \001(\0132"
-          + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n"
+          + "\007warning\030\234\337\226\030 \001(\0132 .go",
+      "ogle.cloud.compute.v1.WarningH\000\210\001\001B\n\n"
           + "\010_warning\"\316\004\n"
           + "\014HealthSource\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n"
@@ -16142,8 +16199,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\014_source_type\"\305\003\n"
           + "\032HealthSourceAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022P\n"
-          + "\005items\030\300\317\367/ \003(\0132>.google.cl"
-          + "oud.compute.v1.HealthSourceAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132>.google.clou"
+          + "d.compute.v1.HealthSourceAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
@@ -16162,8 +16219,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\022HealthSourceHealth\022\035\n"
           + "\014health_state\030\356\351\277\232\001 \001(\tH\000\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022U\n"
-          + "\007sources\030\270\267\362; \003(\0132A.goog"
-          + "le.cloud.compute.v1.HealthSourcesGetHealthResponseSourceInfo\"^\n"
+          + "\007sources\030\270\267\362; \003(\0132A.google"
+          + ".cloud.compute.v1.HealthSourcesGetHealthResponseSourceInfo\"^\n"
           + "\013HealthState\022\032\n"
           + "\026UNDEFINED_HEALTH_STATE\020\000\022\017\n"
           + "\007HEALTHY\020\375\252\333\321\001\022\021\n"
@@ -16177,16 +16234,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n"
-          + "\007warning\030\234\337\226\030 \001(\0132 .google.cloud.com",
-      "pute.v1.WarningH\004\210\001\001B\005\n"
+          + "\007warning\030\234\337\226\030 \001(\0132"
+          + " .google.cloud.compute.v1.WarningH\004\210\001\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
           + "_self_linkB\n\n"
           + "\010_warning\"\347\001\n"
           + "(HealthSourcesGetHealthResponseSourceInfo\022b\n"
-          + "\010backends\030\337\230\313\363\001 \003(\0132L.google.c"
-          + "loud.compute.v1.HealthSourcesGetHealthResponseSourceInfoBackendInfo\022 \n"
+          + "\010backends\030\337\230\313\363\001 \003(\0132L.google.clo"
+          + "ud.compute.v1.HealthSourcesGetHealthResponseSourceInfoBackendInfo\022 \n"
           + "\017forwarding_rule\030\376\245\335\200\001 \001(\tH\000\210\001\001\022\026\n"
           + "\006source\030\233\320\301T \001(\tH\001\210\001\001B\022\n"
           + "\020_forwarding_ruleB\t\n"
@@ -16240,15 +16297,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_ipv6_addressB\024\n"
           + "\022_ipv6_health_stateB\007\n"
           + "\005_portB\t\n"
-          + "\007_weightB\017\n\r"
+          + "\007_weightB\017\n"
+          + "\r"
           + "_weight_error\"\324\005\n"
           + "\036HealthStatusForNetworkEndpoint\022R\n"
-          + "\017backend_service\030\212\300\256\222\001 \001(\013"
-          + "20.google.cloud.compute.v1.BackendServiceReferenceH\000\210\001\001\022R\n"
-          + "\017forwarding_rule\030\376\245\335\200\001"
-          + " \001(\01320.google.cloud.compute.v1.ForwardingRuleReferenceH\001\210\001\001\022L\n"
-          + "\014health_check\030\345\252\244\223\001"
-          + " \001(\0132-.google.cloud.compute.v1.HealthCheckReferenceH\002\210\001\001\022[\n"
+          + "\017backend_service\030\212\300\256\222\001 \001(\01320"
+          + ".google.cloud.compute.v1.BackendServiceReferenceH\000\210\001\001\022R\n"
+          + "\017forwarding_rule\030\376\245\335\200\001 \001"
+          + "(\01320.google.cloud.compute.v1.ForwardingRuleReferenceH\001\210\001\001\022L\n"
+          + "\014health_check\030\345\252\244\223\001 "
+          + "\001(\0132-.google.cloud.compute.v1.HealthCheckReferenceH\002\210\001\001\022[\n"
           + "\024health_check_service\030\333\233\335\302\001"
           + " \001(\01324.google.cloud.compute.v1.HealthCheckServiceReferenceH\003\210\001\001\022\035\n"
           + "\014health_state\030\356\351\277\232\001 \001(\tH\004\210\001\001\022!\n"
@@ -16284,8 +16342,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\tself_link\030\215\222\305\331\001 \001(\tH\005\210\001\001\022!\n"
           + "\021self_link_with_id\030\202\254\235\025 \001(\tH\006\210\001\001\022\025\n"
           + "\005state\030\221\211\2534 \001(\tH\007\210\001\001\022;\n"
-          + "\006status\030\362\237\267V \001(\0132#."
-          + "google.cloud.compute.v1.HostStatusH\010\210\001\001\022\024\n"
+          + "\006status\030\362\237\267V"
+          + " \001(\0132#.google.cloud.compute.v1.HostStatusH\010\210\001\001\022\024\n"
           + "\004zone\030\254\307\344\001 \001(\tH\t\210\001\001\"\200\001\n"
           + "\005State\022\023\n"
           + "\017UNDEFINED_STATE\020\000\022\016\n"
@@ -16311,8 +16369,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\tsub_block\030\316\353\370\343\001 \001(\tH\003\210\001\001B\010\n"
           + "\006_blockB\n\n"
           + "\010_clusterB\007\n"
-          + "\005_hostB\014\n"
-          + "\n"
+          + "\005_hostB\014\n\n"
           + "_sub_block\"z\n"
           + "\010HostRule\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\000\210\001\001\022\020\n"
@@ -16363,13 +16420,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\022HttpFaultInjection\022>\n"
           + "\005abort\030\260\306\224,"
           + " \001(\0132\'.google.cloud.compute.v1.HttpFaultAbortH\000\210\001\001\022>\n"
-          + "\005delay\030\203\363\302- \001(\0132\'.goog"
-          + "le.cloud.compute.v1.HttpFaultDelayH\001\210\001\001B\010\n"
+          + "\005delay\030\203\363\302-"
+          + " \001(\0132\'.google.cloud.compute.v1.HttpFaultDelayH\001\210\001\001B\010\n"
           + "\006_abortB\010\n"
           + "\006_delay\"\374\001\n"
           + "\020HttpHeaderAction\022L\n"
-          + "\026request_headers_to_add\030\346\256\261\" \003(\0132).go"
-          + "ogle.cloud.compute.v1.HttpHeaderOption\022$\n"
+          + "\026request_headers_to_add\030\346\256\261\""
+          + " \003(\0132).google.cloud.compute.v1.HttpHeaderOption\022$\n"
           + "\031request_headers_to_remove\030\237\317\223h \003(\t\022M\n"
           + "\027response_headers_to_add\030\364\266\251\017"
           + " \003(\0132).google.cloud.compute.v1.HttpHeaderOption\022%\n"
@@ -16440,20 +16497,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\017HttpRouteAction\022C\n"
           + "\014cache_policy\030\217\271\213\332\001"
           + " \001(\0132$.google.cloud.compute.v1.CachePolicyH\000\210\001\001\022A\n"
-          + "\013cors_policy\030\204\314\235\276\001 \001"
-          + "(\0132#.google.cloud.compute.v1.CorsPolicyH\001\210\001\001\022T\n"
-          + "\026fault_injection_policy\030\227\224\352\304\001 \001(\013"
-          + "2+.google.cloud.compute.v1.HttpFaultInjectionH\002\210\001\001\022F\n"
-          + "\023max_stream_duration\030\230\245\245\035 \001"
-          + "(\0132!.google.cloud.compute.v1.DurationH\003\210\001\001\022S\n"
-          + "\025request_mirror_policy\030\202\340\377h \001(\0132,.g"
-          + "oogle.cloud.compute.v1.RequestMirrorPolicyH\004\210\001\001\022F\n"
-          + "\014retry_policy\030\251\345\212\033 \001(\0132(.googl"
-          + "e.cloud.compute.v1.HttpRetryPolicyH\005\210\001\001\022;\n"
+          + "\013cors_policy\030\204\314\235\276\001 \001(\013"
+          + "2#.google.cloud.compute.v1.CorsPolicyH\001\210\001\001\022T\n"
+          + "\026fault_injection_policy\030\227\224\352\304\001 \001(\0132+"
+          + ".google.cloud.compute.v1.HttpFaultInjectionH\002\210\001\001\022F\n"
+          + "\023max_stream_duration\030\230\245\245\035 \001(\013"
+          + "2!.google.cloud.compute.v1.DurationH\003\210\001\001\022S\n"
+          + "\025request_mirror_policy\030\202\340\377h \001(\0132,.goo"
+          + "gle.cloud.compute.v1.RequestMirrorPolicyH\004\210\001\001\022F\n"
+          + "\014retry_policy\030\251\345\212\033"
+          + " \001(\0132(.google.cloud.compute.v1.HttpRetryPolicyH\005\210\001\001\022;\n"
           + "\007timeout\030\341\232\275\215\001"
           + " \001(\0132!.google.cloud.compute.v1.DurationH\006\210\001\001\022A\n"
-          + "\013url_rewrite\030\274\375\252\202\001"
-          + " \001(\0132#.google.cloud.compute.v1.UrlRewriteH\007\210\001\001\022V\n"
+          + "\013url_rewrite\030\274\375\252\202\001 "
+          + "\001(\0132#.google.cloud.compute.v1.UrlRewriteH\007\210\001\001\022V\n"
           + "\031weighted_backend_services\030\321\307\332\240\001"
           + " \003(\0132/.google.cloud.compute.v1.WeightedBackendServiceB\017\n\r"
           + "_cache_policyB\016\n"
@@ -16465,16 +16522,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\010_timeoutB\016\n"
           + "\014_url_rewrite\"\350\004\n\r"
           + "HttpRouteRule\022`\n"
-          + "\034custom_error_response_policy\030\353\370\332` \001(\01322.google.c"
-          + "loud.compute.v1.CustomErrorResponsePolicyH\000\210\001\001\022\034\n"
+          + "\034custom_error_response_policy\030\353\370\332` \001(\01322.google.clo"
+          + "ud.compute.v1.CustomErrorResponsePolicyH\000\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022I\n\r"
           + "header_action\030\250\240\270\234\001"
           + " \001(\0132).google.cloud.compute.v1.HttpHeaderActionH\002\210\001\001\022D\n"
           + "\013match_rules\030\375\273\261\263\001"
           + " \003(\0132+.google.cloud.compute.v1.HttpRouteRuleMatch\022\031\n"
           + "\010priority\030\244\363\241\324\001 \001(\005H\003\210\001\001\022G\n"
-          + "\014route_action\030\354\251\271\312\001 \001(\0132(.goo"
-          + "gle.cloud.compute.v1.HttpRouteActionH\004\210\001\001\022\030\n"
+          + "\014route_action\030\354\251\271\312\001 \001(\0132(.googl"
+          + "e.cloud.compute.v1.HttpRouteActionH\004\210\001\001\022\030\n"
           + "\007service\030\265\215\217\262\001 \001(\tH\005\210\001\001\022J\n"
           + "\014url_redirect\030\254\241\230\301\001"
           + " \001(\0132+.google.cloud.compute.v1.HttpRedirectActionH\006\210\001\001B\037\n"
@@ -16482,7 +16539,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\014_descriptionB\020\n"
           + "\016_header_actionB\013\n"
           + "\t_priorityB\017\n\r"
-          + "_route_actionB\n\n"
+          + "_route_actionB\n"
+          + "\n"
           + "\010_serviceB\017\n\r"
           + "_url_redirect\"\365\003\n"
           + "\022HttpRouteRuleMatch\022\037\n"
@@ -16494,8 +16552,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " \003(\0132\'.google.cloud.compute.v1.MetadataFilter\022$\n"
           + "\023path_template_match\030\232\302\263\213\001 \001(\tH\002\210\001\001\022\034\n"
           + "\014prefix_match\030\330\363\374z \001(\tH\003\210\001\001\022U\n"
-          + "\027query_parameter_matches\030\346\225\276\210\001 \003("
-          + "\01320.google.cloud.compute.v1.HttpQueryParameterMatch\022\033\n"
+          + "\027query_parameter_matches\030\346\225\276\210\001 \003(\0132"
+          + "0.google.cloud.compute.v1.HttpQueryParameterMatch\022\033\n"
           + "\013regex_match\030\315\267\2323 \001(\tH\004\210\001\001B\022\n"
           + "\020_full_path_matchB\016\n"
           + "\014_ignore_caseB\026\n"
@@ -16506,14 +16564,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\014architecture\030\323\322\261\220\001 \001(\tH\000\210\001\001\022#\n"
           + "\022archive_size_bytes\030\312\214\334\265\001 \001(\003H\001\210\001\001\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\002\210\001\001\022G\n\n"
-          + "deprecated\030\263\313\321\365\001 \001(\0132*.google"
-          + ".cloud.compute.v1.DeprecationStatusH\003\210\001\001\022\034\n"
+          + "deprecated\030\263\313\321\365\001 \001(\0132*.google.c"
+          + "loud.compute.v1.DeprecationStatusH\003\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\004\210\001\001\022\035\n"
           + "\014disk_size_gb\030\267\232\347\226\001 \001(\003H\005\210\001\001\022+\n"
           + "\033enable_confidential_compute\030\274\353\3310 \001(\010H\006\210\001\001\022\027\n"
           + "\006family\030\344\266\341\234\001 \001(\tH\007\210\001\001\022E\n"
-          + "\021guest_os_features\030\321\340\347% \003("
-          + "\0132\'.google.cloud.compute.v1.GuestOsFeature\022\020\n"
+          + "\021guest_os_features\030\321\340\347% \003(\0132"
+          + "\'.google.cloud.compute.v1.GuestOsFeature\022\020\n"
           + "\002id\030\233\032 \001(\004H\010\210\001\001\022U\n"
           + "\024image_encryption_key\030\207\316\373\264\001"
           + " \001(\0132..google.cloud.compute.v1.CustomerEncryptionKeyH\t\210\001\001\022\024\n"
@@ -16532,19 +16590,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "satisfies_pzi\030\241\335\253\345\001 \001(\010H\017\210\001\001\022\036\n\r"
           + "satisfies_pzs\030\253\335\253\345\001 \001(\010H\020\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\021\210\001\001\022\\\n"
-          + "\037shielded_instance_initial_state\030\203\304\334[ \001(\0132+."
-          + "google.cloud.compute.v1.InitialStateConfigH\022\210\001\001\022\034\n"
+          + "\037shielded_instance_initial_state\030\203\304\334[ \001(\0132+.go"
+          + "ogle.cloud.compute.v1.InitialStateConfigH\022\210\001\001\022\034\n"
           + "\013source_disk\030\301\356\264\327\001 \001(\tH\023\210\001\001\022[\n"
-          + "\032source_disk_encryption_key\030\341\240\270\375\001 \001(\0132.."
-          + "google.cloud.compute.v1.CustomerEncryptionKeyH\024\210\001\001\022\037\n"
+          + "\032source_disk_encryption_key\030\341\240\270\375\001 \001(\0132..go"
+          + "ogle.cloud.compute.v1.CustomerEncryptionKeyH\024\210\001\001\022\037\n"
           + "\016source_disk_id\030\331\315\311\330\001 \001(\tH\025\210\001\001\022\034\n"
           + "\014source_image\030\267\350\206\030 \001(\tH\026\210\001\001\022\\\n"
-          + "\033source_image_encryption_key\030\253\221\365\265\001 \001(\0132..goo"
-          + "gle.cloud.compute.v1.CustomerEncryptionKeyH\027\210\001\001\022\037\n"
+          + "\033source_image_encryption_key\030\253\221\365\265\001 \001(\0132..googl"
+          + "e.cloud.compute.v1.CustomerEncryptionKeyH\027\210\001\001\022\037\n"
           + "\017source_image_id\030\243\374\260\032 \001(\tH\030\210\001\001\022\037\n"
           + "\017source_snapshot\030\350\232\216< \001(\tH\031\210\001\001\022_\n"
-          + "\036source_snapshot_encryption_key\030\332\216\347\220\001 \001(\0132.."
-          + "google.cloud.compute.v1.CustomerEncryptionKeyH\032\210\001\001\022\"\n"
+          + "\036source_snapshot_encryption_key\030\332\216\347\220\001 \001(\0132..go"
+          + "ogle.cloud.compute.v1.CustomerEncryptionKeyH\032\210\001\001\022\"\n"
           + "\022source_snapshot_id\030\322\226\230/ \001(\tH\033\210\001\001\022\034\n"
           + "\013source_type\030\336\361\322\327\001 \001(\tH\034\210\001\001\022\026\n"
           + "\006status\030\362\237\267V \001(\tH\035\210\001\001\022\035\n"
@@ -16614,8 +16672,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\253\001\n"
           + "\013ImageParams\022`\n"
-          + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132=.google"
-          + ".cloud.compute.v1.ImageParams.ResourceManagerTagsEntry\032:\n"
+          + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132=.google.c"
+          + "loud.compute.v1.ImageParams.ResourceManagerTagsEntry\032:\n"
           + "\030ResourceManagerTagsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\"\216\002\n"
@@ -16623,8 +16681,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\003dbs\030\265\207\006 \003(\0132*.google.cloud.compute.v1.FileContentBuffer\022;\n"
           + "\004dbxs\030\371\347\273\001"
           + " \003(\0132*.google.cloud.compute.v1.FileContentBuffer\022;\n"
-          + "\004keks\030\302\330\310\001 \003(\0132*.goo"
-          + "gle.cloud.compute.v1.FileContentBuffer\022<\n"
+          + "\004keks\030\302\330\310\001"
+          + " \003(\0132*.google.cloud.compute.v1.FileContentBuffer\022<\n"
           + "\002pk\030\373\033"
           + " \001(\0132*.google.cloud.compute.v1.FileContentBufferH\000\210\001\001B\005\n"
           + "\003_pk\"\312\001\n"
@@ -16669,8 +16727,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_idB\020\n"
           + "\016_validate_only\"\353\001\n"
           + "\021InsertDiskRequest\022<\n\r"
-          + "disk_resource\030\360\320\253\014 "
-          + "\001(\0132\035.google.cloud.compute.v1.DiskB\003\340A\002\022!\n"
+          + "disk_resource\030\360\320\253\014"
+          + " \001(\0132\035.google.cloud.compute.v1.DiskB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\034\n"
@@ -16680,11 +16738,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_idB\017\n\r"
           + "_source_image\"\314\001\n"
           + "\037InsertExternalVpnGatewayRequest\022[\n"
-          + "\035external_vpn_gateway_resource\030\210\337\220\350\001 \001(\0132+.googl"
-          + "e.cloud.compute.v1.ExternalVpnGatewayB\003\340A\002\022!\n"
+          + "\035external_vpn_gateway_resource\030\210\337\220\350\001 \001(\0132+.google."
+          + "cloud.compute.v1.ExternalVpnGatewayB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
-          + "\340A\002\362G\007project\022\032\n"
-          + "\n"
+          + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\304\001\n"
           + "\033InsertFirewallPolicyRequest\022R\n"
@@ -16698,21 +16755,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " \001(\0132!.google.cloud.compute.v1.FirewallB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
-          + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r"
-          + "\n"
+          + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\340\001\n"
           + "\033InsertForwardingRuleRequest\022R\n"
-          + "\030forwarding_rule_resource\030\257\300\320\217\001 "
-          + "\001(\0132\'.google.cloud.compute.v1.ForwardingRuleB\003\340A\002\022!\n"
+          + "\030forwarding_rule_resource\030\257\300\320\217\001 \001("
+          + "\0132\'.google.cloud.compute.v1.ForwardingRuleB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
-          + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n"
-          + "\n"
+          + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\345\001\n"
           + "\036InsertFutureReservationRequest\022X\n"
-          + "\033future_reservation_resource\030\235\230\310\336\001 \001(\0132*.g"
-          + "oogle.cloud.compute.v1.FutureReservationB\003\340A\002\022!\n"
+          + "\033future_reservation_resource\030\235\230\310\336\001 \001(\0132*.goo"
+          + "gle.cloud.compute.v1.FutureReservationB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
@@ -16741,10 +16796,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\333\001\n"
           + ")InsertGlobalPublicDelegatedPrefixeRequest\022!\n"
-          + "\007project\030\231\226\301l \001(\tB\r"
+          + "\007pro",
+      "ject\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022`\n"
-          + " public_delegated_prefix_resource\030\205\370\330\026 \001(\0132..go"
-          + "ogle.cloud.compute.v1.PublicDelegatedPrefixB\003\340A\002\022\032\n\n"
+          + " public_delegated_prefix_resource\030\205\370\330\026 \001(\0132..goog"
+          + "le.cloud.compute.v1.PublicDelegatedPrefixB\003\340A\002\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\333\001\n"
           + "$InsertGlobalVmExtensionPolicyRequest\022e\n"
@@ -16771,10 +16827,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_force_createB\r\n"
           + "\013_request_id\"\356\001\n"
           + "!InsertInstanceGroupManagerRequest\022^\n"
-          + "\037instance_group_manager_resource\030\212\212\276| \001(\0132-.googl"
-          + "e.cloud.compute.v1.InstanceGroupManagerB\003\340A\002\022!\n"
+          + "\037instance_group_manager_resource\030\212\212\276| \001(\0132-.google."
+          + "cloud.compute.v1.InstanceGroupManagerB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
-          + "\340A\002\362G\007project\022\032\n\n"
+          + "\340A\002\362G\007project\022\032\n"
+          + "\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
           + "\004zone\030\254\307\344\001 \001(\tB\n"
           + "\340A\002\362G\004zoneB\r\n"
@@ -16782,8 +16839,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + ".InsertInstanceGroupManagerResizeRequestRequest\022&\n"
           + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022{\n"
           + ".instance_group_manager_resize_request_resource\030\355\276\265\337\001"
-          + " \001(\0132:.google.cloud.co"
-          + "mpute.v1.InstanceGroupManagerResizeRequestB\003\340A\002\022!\n"
+          + " \001(\0132:.google.cloud.comp"
+          + "ute.v1.InstanceGroupManagerResizeRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
@@ -16799,8 +16856,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\004zone\030\254\307\344\001 \001(\tB\n"
           + "\340A\002\362G\004zoneB\r\n"
           + "\013_request_id\"\317\002\n"
-          + "\025InsertInstanceRequest",
-      "\022D\n"
+          + "\025InsertInstanceRequest\022D\n"
           + "\021instance_resource\030\370\360\376f"
           + " \001(\0132!.google.cloud.compute.v1.InstanceB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
@@ -16822,8 +16878,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\266\002\n"
           + "!InsertInstantSnapshotGroupRequest\022^\n"
-          + "\037instant_snapshot_group_resource\030\313\232\226E \001(\0132-.goog"
-          + "le.cloud.compute.v1.InstantSnapshotGroupB\003\340A\002\022!\n"
+          + "\037instant_snapshot_group_resource\030\313\232\226E \001(\0132-.google"
+          + ".cloud.compute.v1.InstantSnapshotGroupB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022)\n"
@@ -16843,8 +16899,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\004zoneB\r\n"
           + "\013_request_id\"\346\001\n"
           + "(InsertInterconnectAttachmentGroupRequest\022l\n"
-          + "&interconnect_attachment_group_resource\030\371\337\341\004 \001(\01324.google.clou"
-          + "d.compute.v1.InterconnectAttachmentGroupB\003\340A\002\022!\n"
+          + "&interconnect_attachment_group_resource\030\371\337\341\004 \001(\01324.google.cloud."
+          + "compute.v1.InterconnectAttachmentGroupB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
@@ -16898,8 +16954,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\267\002\n"
           + "\'InsertNetworkEdgeSecurityServiceRequest\022l\n"
-          + "&network_edge_security_service_resource\030\246\243\333\343\001 \001(\01323.go"
-          + "ogle.cloud.compute.v1.NetworkEdgeSecurityServiceB\003\340A\002\022!\n"
+          + "&network_edge_security_service_resource\030\246\243\333\343\001 \001(\01323.goog"
+          + "le.cloud.compute.v1.NetworkEdgeSecurityServiceB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
@@ -16914,7 +16970,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
           + "\004zone\030\254\307\344\001 \001(\tB\n"
-          + "\340A\002\362G\004zoneB\r\n"
+          + "\340A\002\362G\004zoneB\r"
+          + "\n"
           + "\013_request_id\"\306\001\n"
           + "\"InsertNetworkFirewallPolicyRequest\022R\n"
           + "\030firewall_policy_resource\030\274\266\207\354\001"
@@ -16932,10 +16989,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\361\001\n"
           + "\026InsertNodeGroupRequest\022\"\n"
           + "\022initial_node_count\030\355\310\247\" \001(\005B\003\340A\002\022H\n"
-          + "\023node_group_resource\030\253\263\372\360\001 "
-          + "\001(\0132\".google.cloud.compute.v1.NodeGroupB\003\340A\002\022!\n"
+          + "\023node_group_resource\030\253\263\372\360\001 \001("
+          + "\0132\".google.cloud.compute.v1.NodeGroupB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
-          + "\340A\002\362G\007project\022\032\n\n"
+          + "\340A\002\362G\007project\022\032\n"
+          + "\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
           + "\004zone\030\254\307\344\001 \001(\tB\n"
           + "\340A\002\362G\004zoneB\r\n"
@@ -16952,8 +17010,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\tparent_id\030\320\341\232\333\001 \001(\tB\014\362G"
           + "\tparent_idH\000\210\001\001\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\001\210\001\001\022Q\n"
-          + "\030security_policy_resource\030\374\252\211g \001"
-          + "(\0132\'.google.cloud.compute.v1.SecurityPolicyB\003\340A\002B\014\n\n"
+          + "\030security_policy_resource\030\374\252\211g \001(\013"
+          + "2\'.google.cloud.compute.v1.SecurityPolicyB\003\340A\002B\014\n\n"
           + "_parent_idB\r\n"
           + "\013_request_id\"\343\001\n"
           + "\034InsertPacketMirroringRequest\022T\n"
@@ -16967,8 +17025,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "$InsertPublicAdvertisedPrefixeRequest\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022b\n"
-          + "!public_advertised_prefix_resource\030\217\327\262o \001(\0132/.google.c"
-          + "loud.compute.v1.PublicAdvertisedPrefixB\003\340A\002\022\032\n\n"
+          + "!public_advertised_prefix_resource\030\217\327\262o \001(\0132/.google.clo"
+          + "ud.compute.v1.PublicAdvertisedPrefixB\003\340A\002\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\366\001\n"
           + "#InsertPublicDelegatedPrefixeRequest\022!\n"
@@ -16977,11 +17035,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " public_delegated_prefix_resource\030\205\370\330\026"
           + " \001(\0132..google.cloud.compute.v1.PublicDelegatedPrefixB\003\340A\002\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
-          + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
+          + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r"
+          + "\n"
           + "\013_request_id\"\330\001\n"
           + "\035InsertRegionAutoscalerRequest\022H\n"
-          + "\023autoscaler_resource\030\366\360\377b \001("
-          + "\0132#.google.cloud.compute.v1.AutoscalerB\003\340A\002\022!\n"
+          + "\023autoscaler_resource\030\366\360\377b \001(\0132"
+          + "#.google.cloud.compute.v1.AutoscalerB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
@@ -17004,16 +17063,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\330\001\n"
           + "\035InsertRegionCommitmentRequest\022H\n"
-          + "\023commitment_resource\030\370\243\273t "
-          + "\001(\0132#.google.cloud.compute.v1.CommitmentB\003\340A\002\022!\n"
+          + "\023commitment_resource\030\370\243\273t \001("
+          + "\0132#.google.cloud.compute.v1.CommitmentB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\370\001\n"
           + "\'InsertRegionCompositeHealthCheckRequest\022^\n"
-          + "\037composite_health_check_resource\030\360\313\204?"
-          + " \001(\0132-.google.cloud.compute.v1.CompositeHealthCheckB\003\340A\002\022!\n"
+          + "\037composite_health_check_resource\030\360\313\204? \001"
+          + "(\0132-.google.cloud.compute.v1.CompositeHealthCheckB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
@@ -17030,8 +17089,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_idB\017\n\r"
           + "_source_image\"\202\002\n"
           + "*InsertRegionHealthAggregationPolicyRequest\022e\n"
-          + "\"health_aggregation_policy_resource\030\273\273\373\213\001 \001(\01320.google."
-          + "cloud.compute.v1.HealthAggregationPolicyB\003\340A\002\022!\n"
+          + "\"health_aggregation_policy_resource\030\273\273\373\213\001 \001(\01320.google.cl"
+          + "oud.compute.v1.HealthAggregationPolicyB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
@@ -17072,24 +17131,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "4InsertRegionInstanceGroupManagerResizeRequestRequest\022&\n"
           + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022{\n"
           + ".instance_group_manager_resize_request_resource\030\355\276\265\337\001"
-          + " \001(\0132:.google.cloud.comp"
-          + "ute.v1.InstanceGroupManagerResizeRequestB\003\340A\002\022!\n"
+          + " \001(\0132:.google.cloud.comput"
+          + "e.v1.InstanceGroupManagerResizeRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\353\001\n"
           + "#InsertRegionInstanceTemplateRequest\022U\n"
-          + "\032instance_template_resource\030\211\352\213\005 \001(\0132).go"
-          + "ogle.cloud.compute.v1.InstanceTemplateB\003\340A\002\022!\n"
+          + "\032instance_template_resource\030\211\352\213\005 \001(\0132).goog"
+          + "le.cloud.compute.v1.InstanceTemplateB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\300\002\n"
           + "\'InsertRegionInstantSnapshotGroupRequest\022^\n"
-          + "\037instant_snapshot_group_resource\030\313\232\226E \001"
-          + "(\0132-.google.cloud.compute.v1.InstantSnapshotGroupB\003\340A\002\022!\n"
+          + "\037instant_snapshot_group_resource\030\313\232\226E \001(\013"
+          + "2-.google.cloud.compute.v1.InstantSnapshotGroupB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
@@ -17098,16 +17157,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_idB\033\n"
           + "\031_source_consistency_group\"\351\001\n"
           + "\"InsertRegionInstantSnapshotRequest\022T\n"
-          + "\031instant_snapshot_resource\030\313\252\210\267\001 \001(\0132(.go"
-          + "ogle.cloud.compute.v1.InstantSnapshotB\003\340A\002\022!\n"
+          + "\031instant_snapshot_resource\030\313\252\210\267\001 \001(\0132(.goog"
+          + "le.cloud.compute.v1.InstantSnapshotB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\371\001\n"
           + "\'InsertRegionNetworkEndpointGroupRequest\022_\n"
-          + "\037network_endpoint_group_resource\030\247\315\333\372\001 \001"
-          + "(\0132-.google.cloud.compute.v1.NetworkEndpointGroupB\003\340A\002\022!\n"
+          + "\037network_endpoint_group_resource\030\247\315\333\372\001 \001(\013"
+          + "2-.google.cloud.compute.v1.NetworkEndpointGroupB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
@@ -17142,8 +17201,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\033InsertRegionSnapshotRequest\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
-          + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n"
-          + "\n"
+          + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022E\n"
           + "\021snapshot_resource\030\251\270\301\345\001"
           + " \001(\0132!.google.cloud.compute.v1.SnapshotB\003\340A\002B\r\n"
@@ -17153,8 +17211,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022Q\n"
-          + "\030ssl_certificate_resource\030\211\324\225V \001"
-          + "(\0132\'.google.cloud.compute.v1.SslCertificateB\003\340A\002B\r\n"
+          + "\030ssl_certificate_resource\030\211\324\225V \001(\013"
+          + "2\'.google.cloud.compute.v1.SslCertificateB\003\340A\002B\r\n"
           + "\013_request_id\"\327\001\n"
           + "\034InsertRegionSslPolicyRequest\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
@@ -17200,8 +17258,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022K\n"
-          + "\024reservation_resource\030\241\356\364\207\001"
-          + " \001(\0132$.google.cloud.compute.v1.ReservationB\003\340A\002\022\033\n"
+          + "\024reservation_resource\030\241\356\364\207\001 \001"
+          + "(\0132$.google.cloud.compute.v1.ReservationB\003\340A\002\022\033\n"
           + "\004zone\030\254\307\344\001 \001(\tB\n"
           + "\340A\002\362G\004zoneB\r\n"
           + "\013_request_id\"\337\001\n"
@@ -17217,12 +17275,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022K\n"
-          + "\025rollout_plan_resource\030\326\344\265\022 "
-          + "\001(\0132$.google.cloud.compute.v1.RolloutPlanB\003\340A\002B\r\n"
+          + "\025rollout_plan_resource\030\326\344\265\022 \001("
+          + "\0132$.google.cloud.compute.v1.RolloutPlanB\003\340A\002B\r\n"
           + "\013_request_id\"\242\001\n"
           + "\022InsertRouteRequest\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
-          + "\340A\002\362G\007project\022\032\n\n"
+          + "\340A\002\362G\007project\022\032\n"
+          + "\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022>\n"
           + "\016route_resource\030\304\212\277k"
           + " \001(\0132\036.google.cloud.compute.v1.RouteB\003\340A\002B\r\n"
@@ -17239,8 +17298,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022Q\n"
-          + "\030security_policy_resource\030\374\252\211g \001(\0132"
-          + "\'.google.cloud.compute.v1.SecurityPolicyB\003\340A\002\022\035\n\r"
+          + "\030security_policy_resource\030\374\252\211g \001(\0132\'."
+          + "google.cloud.compute.v1.SecurityPolicyB\003\340A\002\022\035\n\r"
           + "validate_only\030\265\372\337s \001(\010H\001\210\001\001B\r\n"
           + "\013_request_idB\020\n"
           + "\016_validate_only\"\351\001\n"
@@ -17249,8 +17308,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022X\n"
-          + "\033service_attachment_resource\030\240\266\304\341\001 \001("
-          + "\0132*.google.cloud.compute.v1.ServiceAttachmentB\003\340A\002B\r\n"
+          + "\033service_attachment_resource\030\240\266\304\341\001 \001(\0132"
+          + "*.google.cloud.compute.v1.ServiceAttachmentB\003\340A\002B\r\n"
           + "\013_request_id\"\254\001\n"
           + "\025InsertSnapshotRequest\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
@@ -17314,7 +17373,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\033InsertTargetInstanceRequest\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
-          + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022R\n"
+          + "request_id\030\313\201\331\021 \001",
+      "(\tH\000\210\001\001\022R\n"
           + "\030target_instance_resource\030\312\342\240\315\001"
           + " \001(\0132\'.google.cloud.compute.v1.TargetInstanceB\003\340A\002\022\033\n"
           + "\004zone\030\254\307\344\001 \001(\tB\n"
@@ -17332,15 +17392,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022R\n"
-          + "\031target_ssl_proxy_resource\030\300\375\333C"
-          + " \001(\0132\'.google.cloud.compute.v1.TargetSslProxyB\003\340A\002B\r\n"
+          + "\031target_ssl_proxy_resource\030\300\375\333C \001"
+          + "(\0132\'.google.cloud.compute.v1.TargetSslProxyB\003\340A\002B\r\n"
           + "\013_request_id\"\277\001\n"
           + "\033InsertTargetTcpProxyRequest\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022R\n"
-          + "\031target_tcp_proxy_resource\030\313\360\311E \001(\0132\'"
-          + ".google.cloud.compute.v1.TargetTcpProxyB\003\340A\002B\r\n"
+          + "\031target_tcp_proxy_resource\030\313\360\311E \001(\0132\'.g"
+          + "oogle.cloud.compute.v1.TargetTcpProxyB\003\340A\002B\r\n"
           + "\013_request_id\"\345\001\n"
           + "\035InsertTargetVpnGatewayRequest\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
@@ -17374,8 +17434,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " \001(\0132\".google.cloud.compute.v1.VpnTunnelB\003\340A\002B\r\n"
           + "\013_request_id\"\204\002\n"
           + "\026InsertWireGroupRequest\022\"\n"
-          + "\022cros",
-      "s_site_network\030\325\305\3133 \001(\tB\003\340A\002\022!\n"
+          + "\022cross_site_network\030\325\305\3133 \001(\tB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\035\n\r"
@@ -17394,8 +17453,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\004zoneB\r\n"
           + "\013_request_id\"\201!\n"
           + "\010Instance\022\\\n"
-          + "\031advanced_machine_features\030\262\347\252\303\001 \001(\01320."
-          + "google.cloud.compute.v1.AdvancedMachineFeaturesH\000\210\001\001\022\037\n"
+          + "\031advanced_machine_features\030\262\347\252\303\001 \001(\01320.go"
+          + "ogle.cloud.compute.v1.AdvancedMachineFeaturesH\000\210\001\001\022\037\n"
           + "\016can_ip_forward\030\374\206\204\337\001 \001(\010H\001\210\001\001\022b\n"
           + "\034confidential_instance_config\030\365\222\372\351\001"
           + " \001(\01323.google.cloud.compute.v1.ConfidentialInstanceConfigH\002\210\001\001\022\035\n"
@@ -17404,16 +17463,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\023deletion_protection\030\352\377\262\332\001 \001(\010H\005\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\006\210\001\001\0227\n"
           + "\005disks\030\366\314\312- \003(\0132%.google.cloud.compute.v1.AttachedDisk\022F\n"
-          + "\016display_device\030\363\210\274{"
-          + " \001(\0132&.google.cloud.compute.v1.DisplayDeviceH\007\210\001\001\022\033\n"
+          + "\016display_device\030\363\210\274{ \001"
+          + "(\0132&.google.cloud.compute.v1.DisplayDeviceH\007\210\001\001\022\033\n"
           + "\013fingerprint\030\344\321\363o \001(\tH\010\210\001\001\022J\n"
           + "\022guest_accelerators\030\357\314\207\335\001"
           + " \003(\0132*.google.cloud.compute.v1.AcceleratorConfig\022\030\n"
           + "\010hostname\030\263\270\205q \001(\tH\t\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\004H\n"
           + "\210\001\001\022W\n"
-          + "\027instance_encryption_key\030\215\301\357\036 \001(\0132..goo"
-          + "gle.cloud.compute.v1.CustomerEncryptionKeyH\013\210\001\001\022*\n"
+          + "\027instance_encryption_key\030\215\301\357\036 \001(\0132..googl"
+          + "e.cloud.compute.v1.CustomerEncryptionKeyH\013\210\001\001\022*\n"
           + "\032key_revocation_action_type\030\342\334\300p \001(\tH\014\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\r"
           + "\210\001\001\022!\n"
@@ -17429,34 +17488,34 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " \001(\0132!.google.cloud.compute.v1.MetadataH\024\210\001\001\022 \n"
           + "\020min_cpu_platform\030\367\233\352s \001(\tH\025\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\026\210\001\001\022H\n"
-          + "\022network_interfaces\030\213\332\222\031 \003(\0132).g"
-          + "oogle.cloud.compute.v1.NetworkInterface\022^\n"
-          + "\032network_performance_config\030\342\227\370\275\001 \001(\0132"
-          + "1.google.cloud.compute.v1.NetworkPerformanceConfigH\027\210\001\001\022?\n"
-          + "\006params\030\206\363\253% \001(\0132\'.goo"
-          + "gle.cloud.compute.v1.InstanceParamsH\030\210\001\001\022*\n"
+          + "\022network_interfaces\030\213\332\222\031"
+          + " \003(\0132).google.cloud.compute.v1.NetworkInterface\022^\n"
+          + "\032network_performance_config\030\342\227\370\275\001 \001(\01321."
+          + "google.cloud.compute.v1.NetworkPerformanceConfigH\027\210\001\001\022?\n"
+          + "\006params\030\206\363\253% \001(\0132\'.googl"
+          + "e.cloud.compute.v1.InstanceParamsH\030\210\001\001\022*\n"
           + "\032private_ipv6_google_access\030\216\314\202\027 \001(\tH\031\210\001\001\022R\n"
-          + "\024reservation_affinity\030\273\270\242K \001(\0132,."
-          + "google.cloud.compute.v1.ReservationAffinityH\032\210\001\001\022\034\n"
+          + "\024reservation_affinity\030\273\270\242K \001(\0132,.go"
+          + "ogle.cloud.compute.v1.ReservationAffinityH\032\210\001\001\022\034\n"
           + "\021resource_policies\030\341\234\314\n"
           + " \003(\t\022H\n"
           + "\017resource_status\030\303\372\367v"
           + " \001(\0132\'.google.cloud.compute.v1.ResourceStatusH\033\210\001\001\022\036\n\r"
           + "satisfies_pzi\030\241\335\253\345\001 \001(\010H\034\210\001\001\022\036\n\r"
           + "satisfies_pzs\030\253\335\253\345\001 \001(\010H\035\210\001\001\022@\n\n"
-          + "scheduling\030\224\313\261\270\001 \001(\013"
-          + "2#.google.cloud.compute.v1.SchedulingH\036\210\001\001\022\032\n"
+          + "scheduling\030\224\313\261\270\001 \001(\0132#"
+          + ".google.cloud.compute.v1.SchedulingH\036\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\037\210\001\001\022E\n"
           + "\020service_accounts\030\260\304\253\204\001"
           + " \003(\0132\'.google.cloud.compute.v1.ServiceAccount\022Y\n"
           + "\030shielded_instance_config\030\265\213\221\006"
           + " \001(\0132/.google.cloud.compute.v1.ShieldedInstanceConfigH \210\001\001\022l\n"
-          + "\"shielded_instance_integrity_policy\030\227\242\207N \001(\0132"
-          + "8.google.cloud.compute.v1.ShieldedInstanceIntegrityPolicyH!\210\001\001\022$\n"
+          + "\"shielded_instance_integrity_policy\030\227\242\207N \001(\01328."
+          + "google.cloud.compute.v1.ShieldedInstanceIntegrityPolicyH!\210\001\001\022$\n"
           + "\024source_machine_image\030\277\334\260\n"
           + " \001(\tH\"\210\001\001\022c\n"
-          + "#source_machine_image_encryption_key\030\243\373\371[ \001(\0132..google.cl"
-          + "oud.compute.v1.CustomerEncryptionKeyH#\210\001\001\022 \n"
+          + "#source_machine_image_encryption_key\030\243\373\371[ \001(\0132..google.clou"
+          + "d.compute.v1.CustomerEncryptionKeyH#\210\001\001\022 \n"
           + "\020start_restricted\030\330\320\375: \001(\010H$\210\001\001\022\026\n"
           + "\006status\030\362\237\267V \001(\tH%\210\001\001\022\037\n"
           + "\016status_message\030\272\311\351\215\001 \001(\tH&\210\001\001\0223\n"
@@ -17541,8 +17600,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005_zone\"\271\003\n"
           + "\026InstanceAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022L\n"
-          + "\005items\030\300\317\367/ \003(\0132:.g"
-          + "oogle.cloud.compute.v1.InstanceAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132:.goo"
+          + "gle.cloud.compute.v1.InstanceAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
@@ -17559,8 +17618,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\251\001\n"
           + "\027InstanceConsumptionData\022R\n"
-          + "\020consumption_info\030\322\345\344E \001(\01320.goo"
-          + "gle.cloud.compute.v1.InstanceConsumptionInfoH\000\210\001\001\022\030\n"
+          + "\020consumption_info\030\322\345\344E \001(\01320.googl"
+          + "e.cloud.compute.v1.InstanceConsumptionInfoH\000\210\001\001\022\030\n"
           + "\010instance\030\225\251\332\010 \001(\tH\001\210\001\001B\023\n"
           + "\021_consumption_infoB\013\n"
           + "\t_instance\"\320\001\n"
@@ -17575,12 +17634,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\016_min_node_cpus\"\207\002\n"
           + "\031InstanceFlexibilityPolicy\022j\n"
           + "\023instance_selections\030\321\204\371\n"
-          + " \003(\0132J.google.cloud.co"
-          + "mpute.v1.InstanceFlexibilityPolicy.InstanceSelectionsEntry\032~\n"
+          + " \003(\0132J.google.cloud.comp"
+          + "ute.v1.InstanceFlexibilityPolicy.InstanceSelectionsEntry\032~\n"
           + "\027InstanceSelectionsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022R\n"
-          + "\005value\030\002 \001(\0132C.goog"
-          + "le.cloud.compute.v1.InstanceFlexibilityPolicyInstanceSelection:\0028\001\"\325\001\n"
+          + "\005value\030\002 \001(\0132C.google"
+          + ".cloud.compute.v1.InstanceFlexibilityPolicyInstanceSelection:\0028\001\"\325\001\n"
           + "*InstanceFlexibilityPolicyInstanceSelection\0227\n"
           + "\005disks\030\366\314\312-"
           + " \003(\0132%.google.cloud.compute.v1.AttachedDisk\022\030\n\r"
@@ -17596,8 +17655,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022;\n"
-          + "\013named_ports\030\214\307\362\313\001 \003"
-          + "(\0132\".google.cloud.compute.v1.NamedPort\022\027\n"
+          + "\013named_ports\030\214\307\362\313\001"
+          + " \003(\0132\".google.cloud.compute.v1.NamedPort\022\027\n"
           + "\007network\030\256\264\205o \001(\tH\006\210\001\001\022\026\n"
           + "\006region\030\364\315\240B \001(\tH\007\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\022\024\n"
@@ -17629,8 +17688,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\004\210\001\001\032_\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022@\n"
-          + "\005value\030\002 \001(\013"
-          + "21.google.cloud.compute.v1.InstanceGroupsScopedList:\0028\001B\005\n"
+          + "\005value\030\002 \001(\01321"
+          + ".google.cloud.compute.v1.InstanceGroupsScopedList:\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
@@ -17650,25 +17709,25 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\367\023\n"
           + "\024InstanceGroupManager\022e\n"
-          + "\024all_instances_config\030\201\256\3305 \001(\0132?."
-          + "google.cloud.compute.v1.InstanceGroupManagerAllInstancesConfigH\000\210\001\001\022a\n"
-          + "\025auto_healing_policies\030\205\347\350\331\001 \003(\0132>.google.cloud.co"
-          + "mpute.v1.InstanceGroupManagerAutoHealingPolicy\022#\n"
+          + "\024all_instances_config\030\201\256\3305 \001(\0132?.go"
+          + "ogle.cloud.compute.v1.InstanceGroupManagerAllInstancesConfigH\000\210\001\001\022a\n"
+          + "\025auto_healing_policies\030\205\347\350\331\001 \003(\0132>.google.cloud.comp"
+          + "ute.v1.InstanceGroupManagerAutoHealingPolicy\022#\n"
           + "\022base_instance_name\030\207\226\305\271\001 \001(\tH\001\210\001\001\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\002\210\001\001\022\\\n"
-          + "\017current_actions\030\267\310\234N \001(\0132;.google.clo"
-          + "ud.compute.v1.InstanceGroupManagerActionsSummaryH\003\210\001\001\022\034\n"
+          + "\017current_actions\030\267\310\234N \001(\0132;.google.cloud"
+          + ".compute.v1.InstanceGroupManagerActionsSummaryH\003\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\004\210\001\001\022Q\n"
-          + "\023distribution_policy\030\315\356\362\376\001 \001(\0132+.g"
-          + "oogle.cloud.compute.v1.DistributionPolicyH\005\210\001\001\022\033\n"
+          + "\023distribution_policy\030\315\356\362\376\001 \001(\0132+.goo"
+          + "gle.cloud.compute.v1.DistributionPolicyH\005\210\001\001\022\033\n"
           + "\013fingerprint\030\344\321\363o \001(\tH\006\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\004H\007\210\001\001\022s\n"
           + "\033instance_flexibility_policy\030\202\216\354\014"
-          + " \001(\0132F.google.cloud.compute.v1."
-          + "InstanceGroupManagerInstanceFlexibilityPolicyH\010\210\001\001\022\036\n"
+          + " \001(\0132F.google.cloud.compute.v1.In"
+          + "stanceGroupManagerInstanceFlexibilityPolicyH\010\210\001\001\022\036\n"
           + "\016instance_group\030\325\324\325& \001(\tH\t\210\001\001\022p\n"
-          + "\031instance_lifecycle_policy\030\221\264\315\325\001 \001("
-          + "\0132D.google.cloud.compute.v1.InstanceGroupManagerInstanceLifecyclePolicyH\n"
+          + "\031instance_lifecycle_policy\030\221\264\315\325\001 \001(\0132"
+          + "D.google.cloud.compute.v1.InstanceGroupManagerInstanceLifecyclePolicyH\n"
           + "\210\001\001\022\"\n"
           + "\021instance_template\030\344\201\273\223\001 \001(\tH\013\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\014\210\001\001\022/\n"
@@ -17679,27 +17738,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " \003(\0132\".google.cloud.compute.v1.NamedPort\022\026\n"
           + "\006region\030\364\315\240B \001(\tH\017\210\001\001\022`\n"
           + "\021resource_policies\030\341\234\314\n"
-          + " \001(\013"
-          + "2=.google.cloud.compute.v1.InstanceGroupManagerResourcePoliciesH\020\210\001\001\022\036\n\r"
+          + " \001(\0132="
+          + ".google.cloud.compute.v1.InstanceGroupManagerResourcePoliciesH\020\210\001\001\022\036\n\r"
           + "satisfies_pzi\030\241\335\253\345\001 \001(\010H\021\210\001\001\022\036\n\r"
           + "satisfies_pzs\030\253\335\253\345\001 \001(\010H\022\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\023\210\001\001\022[\n"
-          + "\016standby_policy\030\204\206\216\356\001 \001(\0132:.google.cl"
-          + "oud.compute.v1.InstanceGroupManagerStandbyPolicyH\024\210\001\001\022H\n"
-          + "\017stateful_policy\030\205\303\325\026 \001("
-          + "\0132\'.google.cloud.compute.v1.StatefulPolicyH\025\210\001\001\022K\n"
-          + "\006status\030\362\237\267V \001(\01323.google.clou"
-          + "d.compute.v1.InstanceGroupManagerStatusH\026\210\001\001\022\030\n"
+          + "\016standby_policy\030\204\206\216\356\001 \001(\0132:.google.clou"
+          + "d.compute.v1.InstanceGroupManagerStandbyPolicyH\024\210\001\001\022H\n"
+          + "\017stateful_policy\030\205\303\325\026 \001(\0132"
+          + "\'.google.cloud.compute.v1.StatefulPolicyH\025\210\001\001\022K\n"
+          + "\006status\030\362\237\267V \001(\01323.google.cloud."
+          + "compute.v1.InstanceGroupManagerStatusH\026\210\001\001\022\030\n"
           + "\014target_pools\030\251\237\240\240\001 \003(\t\022\033\n"
           + "\013target_size\030\357\363\375\035 \001(\005H\027\210\001\001\022a\n"
-          + "\022target_size_policy\030\202\333\263= \001(\0132=.google.cloud.compute.v1.Ins"
-          + "tanceGroupManagerTargetSizePolicyH\030\210\001\001\022#\n"
+          + "\022target_size_policy\030\202\333\263="
+          + " \001(\0132=.google.cloud.compute.v1.InstanceGroupManagerTargetSizePolicyH\030\210\001\001\022#\n"
           + "\023target_stopped_size\030\241\326\223\001 \001(\005H\031\210\001\001\022&\n"
           + "\025target_suspended_size\030\323\210\364\222\001 \001(\005H\032\210\001\001\022X\n\r"
-          + "update_policy\030\350\312\352S \001(\01329.google.cloud.com"
-          + "pute.v1.InstanceGroupManagerUpdatePolicyH\033\210\001\001\022I\n"
-          + "\010versions\030\233\375\271M \003(\01324.google.clou"
-          + "d.compute.v1.InstanceGroupManagerVersion\022\024\n"
+          + "update_policy\030\350\312\352S \001(\01329.google.cloud.compu"
+          + "te.v1.InstanceGroupManagerUpdatePolicyH\033\210\001\001\022I\n"
+          + "\010versions\030\233\375\271M \003(\01324.google.cloud."
+          + "compute.v1.InstanceGroupManagerVersion\022\024\n"
           + "\004zone\030\254\307\344\001 \001(\tH\034\210\001\001\"n\n"
           + "\033ListManagedInstancesResults\022,\n"
           + "(UNDEFINED_LIST_MANAGED_INSTANCES_RESULTS\020\000\022\017\n"
@@ -17740,7 +17799,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\030creating_without_retries\030\311\366\261\260\001"
           + " \001(\005H\002\210\001\001\022\031\n"
           + "\010deleting\030\250\307\357\206\001 \001(\005H\003\210\001\001\022\024\n"
-          + "\004none\030\270\336\316\001 \001(\005H\004\210\001\001\022\033\n\n"
+          + "\004none\030\270\336\316\001 \001(\005H\004\210\001\001\022\033\n"
+          + "\n"
           + "recreating\030\354\263\326\241\001 \001(\005H\005\210\001\001\022\032\n\n"
           + "refreshing\030\247\246\305f \001(\005H\006\210\001\001\022\033\n\n"
           + "restarting\030\363\226\304\261\001 \001(\005H\007\210\001\001\022\030\n"
@@ -17762,13 +17822,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\t_resumingB\013\n"
           + "\t_startingB\013\n"
           + "\t_stoppingB\r\n"
-          + "\013_suspendingB\014\n"
-          + "\n"
+          + "\013_suspendingB\014\n\n"
           + "_verifying\"\335\003\n"
           + "\"InstanceGroupManagerAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022X\n"
-          + "\005items\030\300\317\367/ \003(\0132F.google.cloud.compute.v1.Instanc"
-          + "eGroupManagerAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/"
+          + " \003(\0132F.google.cloud.compute.v1.InstanceGroupManagerAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
@@ -17785,8 +17844,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\205\001\n"
           + "&InstanceGroupManagerAllInstancesConfig\022L\n\n"
-          + "properties\030\263\232\266F \001(\01320."
-          + "google.cloud.compute.v1.InstancePropertiesPatchH\000\210\001\001B\r\n"
+          + "properties\030\263\232\266F \001(\01320.go"
+          + "ogle.cloud.compute.v1.InstancePropertiesPatchH\000\210\001\001B\r\n"
           + "\013_properties\"\220\001\n"
           + "%InstanceGroupManagerAutoHealingPolicy\022\035\n"
           + "\014health_check\030\345\252\244\223\001 \001(\tH\000\210\001\001\022!\n"
@@ -17795,12 +17854,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\022_initial_delay_sec\"\304\002\n"
           + "-InstanceGroupManagerInstanceFlexibilityPolicy\022~\n"
           + "\023instance_selections\030\321\204\371\n"
-          + " \003(\0132^.google.cloud.compute."
-          + "v1.InstanceGroupManagerInstanceFlexibilityPolicy.InstanceSelectionsEntry\032\222\001\n"
+          + " \003(\0132^.google.cloud.compute.v1"
+          + ".InstanceGroupManagerInstanceFlexibilityPolicy.InstanceSelectionsEntry\032\222\001\n"
           + "\027InstanceSelectionsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022f\n"
-          + "\005value\030\002 \001(\0132W.google.cloud.compute.v1.Insta"
-          + "nceGroupManagerInstanceFlexibilityPolicyInstanceSelection:\0028\001\"y\n"
+          + "\005value\030\002 \001(\0132W.google.cloud.compute.v1.Instanc"
+          + "eGroupManagerInstanceFlexibilityPolicyInstanceSelection:\0028\001\"y\n"
           + ">InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection\022\030\n\r"
           + "machine_types\030\201\335\201& \003(\t\022\024\n"
           + "\004rank\030\254\230\325\001 \001(\005H\000\210\001\001B\007\n"
@@ -17809,8 +17868,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\031default_action_on_failure\030\325\304\242\035 \001(\tH\000\210\001\001\022\'\n"
           + "\026force_update_on_repair\030\313\371\362\251\001 \001(\tH\001\210\001\001\022&\n"
           + "\026on_failed_health_check\030\307\327\375\022 \001(\tH\002\210\001\001\022h\n"
-          + "\ton_repair\030\355\213\246\261\001 \001(\0132L.google.cloud.compu"
-          + "te.v1.InstanceGroupManagerInstanceLifecyclePolicyOnRepairH\003\210\001\001\"d\n"
+          + "\ton_repair\030\355\213\246\261\001 \001(\0132L.google.cloud.compute"
+          + ".v1.InstanceGroupManagerInstanceLifecyclePolicyOnRepairH\003\210\001\001\"d\n"
           + "\026DefaultActionOnFailure\022\'\n"
           + "#UNDEFINED_DEFAULT_ACTION_ON_FAILURE\020\000\022\022\n\n"
           + "DO_NOTHING\020\371\317\231\327\001\022\r\n"
@@ -17863,8 +17922,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\021self_link_with_id\030\202\254\235\025 \001(\tH\t\210\001\001\022\025\n"
           + "\005state\030\221\211\2534 \001(\tH\n"
           + "\210\001\001\022X\n"
-          + "\006status\030\362\237\267V \001"
-          + "(\0132@.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusH\013\210\001\001\022\024\n"
+          + "\006status\030\362\237\267V \001(\013"
+          + "2@.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusH\013\210\001\001\022\024\n"
           + "\004zone\030\254\307\344\001 \001(\tH\014\210\001\001\"\217\001\n"
           + "\005State\022\023\n"
           + "\017UNDEFINED_STATE\020\000\022\017\n"
@@ -17881,18 +17940,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005_nameB\t\n"
           + "\007_regionB\031\n"
           + "\027_requested_run_durationB\014\n\n"
-          + "_resize_byB\014\n"
-          + "\n"
+          + "_resize_byB\014\n\n"
           + "_self_linkB\024\n"
           + "\022_self_link_with_idB\010\n"
           + "\006_stateB\t\n"
           + "\007_statusB\007\n"
           + "\005_zone\"\347\001\n"
           + "\'InstanceGroupManagerResizeRequestStatus\0225\n"
-          + "\005error\030\210\244\223."
-          + " \001(\0132\036.google.cloud.compute.v1.ErrorH\000\210\001\001\022j\n"
-          + "\014last_attempt\030\244\254\250\317\001 \001(\0132K.google.cl"
-          + "oud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttemptH\001\210\001\001B\010\n"
+          + "\005error\030\210\244\223. "
+          + "\001(\0132\036.google.cloud.compute.v1.ErrorH\000\210\001\001\022j\n"
+          + "\014last_attempt\030\244\254\250\317\001 \001(\0132K.google.clou"
+          + "d.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttemptH\001\210\001\001B\010\n"
           + "\006_errorB\017\n\r"
           + "_last_attempt\"u\n"
           + "2InstanceGroupManagerResizeRequestStatusLastAttempt\0225\n"
@@ -17901,8 +17959,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006_error\"\334\002\n"
           + ".InstanceGroupManagerResizeRequestsListResponse\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022L\n"
-          + "\005items\030\300\317\367/ \003(\0132:.google.cloud.c"
-          + "ompute.v1.InstanceGroupManagerResizeRequest\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132:.google.cloud.com"
+          + "pute.v1.InstanceGroupManagerResizeRequest\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n"
@@ -17912,7 +17970,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
           + "_self_linkB\n\n"
-          + "\010_warning\"[\n"
+          + "\010_wa",
+      "rning\"[\n"
           + "$InstanceGroupManagerResourcePolicies\022\037\n"
           + "\017workload_policy\030\372\205\3326 \001(\tH\000\210\001\001B\022\n"
           + "\020_workload_policy\"\274\001\n"
@@ -17926,22 +17985,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\022_initial_delay_secB\007\n"
           + "\005_mode\"\351\006\n"
           + "\032InstanceGroupManagerStatus\022k\n"
-          + "\024all_instances_config\030\201\256\3305 \001(\0132E.go"
-          + "ogle.cloud.compute.v1.InstanceGroupManagerStatusAllInstancesConfigH\000\210\001\001\022r\n"
-          + "\036applied_accelerator_topologies\030\243\357\305\345\001 \003(\0132F.go"
-          + "ogle.cloud.compute.v1.InstanceGroupManagerStatusAcceleratorTopology\022\033\n\n"
+          + "\024all_instances_config\030\201\256\3305 \001(\0132E.goog"
+          + "le.cloud.compute.v1.InstanceGroupManagerStatusAllInstancesConfigH\000\210\001\001\022r\n"
+          + "\036applied_accelerator_topologies\030\243\357\305\345\001 \003(\0132F.goog"
+          + "le.cloud.compute.v1.InstanceGroupManagerStatusAcceleratorTopology\022\033\n\n"
           + "autoscaler\030\327\375\322\366\001 \001(\tH\001\210\001\001\022r\n"
           + "\027bulk_instance_operation\030\212\255\233\357\001"
-          + " \001(\0132H.google.cloud.compute.v1."
-          + "InstanceGroupManagerStatusBulkInstanceOperationH\002\210\001\001\022t\n"
-          + "\031current_instance_statuses\030\304\356\274\200\001"
           + " \001(\0132H.google.cloud.compute.v1.In"
-          + "stanceGroupManagerStatusInstanceStatusSummaryH\003\210\001\001\022\031\n"
+          + "stanceGroupManagerStatusBulkInstanceOperationH\002\210\001\001\022t\n"
+          + "\031current_instance_statuses\030\304\356\274\200\001"
+          + " \001(\0132H.google.cloud.compute.v1.Inst"
+          + "anceGroupManagerStatusInstanceStatusSummaryH\003\210\001\001\022\031\n"
           + "\tis_stable\030\360\357\3303 \001(\010H\004\210\001\001\022U\n"
-          + "\010stateful\030\314\346\310t \001(\0132;.google.cloud.comput"
-          + "e.v1.InstanceGroupManagerStatusStatefulH\005\210\001\001\022a\n"
-          + "\016version_target\030\330\335\376\211\001 \001(\0132@.googl"
-          + "e.cloud.compute.v1.InstanceGroupManagerStatusVersionTargetH\006\210\001\001B\027\n"
+          + "\010stateful\030\314\346\310t \001(\0132;.google.cloud.compute."
+          + "v1.InstanceGroupManagerStatusStatefulH\005\210\001\001\022a\n"
+          + "\016version_target\030\330\335\376\211\001 \001(\0132@.google."
+          + "cloud.compute.v1.InstanceGroupManagerStatusVersionTargetH\006\210\001\001B\027\n"
           + "\025_all_instances_configB\r\n"
           + "\013_autoscalerB\032\n"
           + "\030_bulk_instance_operationB\034\n"
@@ -17952,9 +18011,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "-InstanceGroupManagerStatusAcceleratorTopology\022%\n"
           + "\024accelerator_topology\030\303\263\322\271\001 \001(\tH\000\210\001\001\022\025\n"
           + "\005state\030\221\211\2534 \001(\tH\001\210\001\001\022\204\001\n\r"
-          + "state_details\030\224\371\310- \001(\0132e.google.clou"
-          + "d.compute.v1.InstanceGroupManagerStatusA"
-          + "cceleratorTopologyAcceleratorTopologyStateDetailsH\002\210\001\001\"\215\001\n"
+          + "state_details\030\224\371\310- \001(\0132e.google.cloud."
+          + "compute.v1.InstanceGroupManagerStatusAcc"
+          + "eleratorTopologyAcceleratorTopologyStateDetailsH\002\210\001\001\"\215\001\n"
           + "\005State\022\023\n"
           + "\017UNDEFINED_STATE\020\000\022\022\n\n"
           + "ACTIVATING\020\360\331\321\264\001\022\016\n"
@@ -17965,8 +18024,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\014REACTIVATING\020\343\246\376xB\027\n"
           + "\025_accelerator_topologyB\010\n"
           + "\006_stateB\020\n"
-          + "\016_st",
-      "ate_details\"\270\001\n"
+          + "\016_state_details\"\270\001\n"
           + "LInstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails\0225\n"
           + "\005error\030\210\244\223."
           + " \001(\0132\036.google.cloud.compute.v1.ErrorH\000\210\001\001\022\031\n"
@@ -17980,8 +18038,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_effective\"\367\001\n"
           + "/InstanceGroupManagerStatusBulkInstanceOperation\022\034\n"
           + "\013in_progress\030\207\300\327\230\001 \001(\010H\000\210\001\001\022~\n"
-          + "\023last_progress_check\030\277\242\276c \001(\0132Y.google.cloud.compute"
-          + ".v1.InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheckH\001\210\001\001B\016\n"
+          + "\023last_progress_check\030\277\242\276c \001(\0132Y.google.cloud.compute.v"
+          + "1.InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheckH\001\210\001\001B\016\n"
           + "\014_in_progressB\026\n"
           + "\024_last_progress_check\"\254\001\n"
           + "@InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck\0225\n"
@@ -18021,9 +18079,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_terminated\"\360\001\n"
           + "\"InstanceGroupManagerStatusStateful\022#\n"
           + "\023has_stateful_config\030\360\347\3264 \001(\010H\000\210\001\001\022t\n"
-          + "\024per_instance_configs\030\251\325\370\372\001"
-          + " \001(\0132M.google.cloud.compute.v1.InstanceG"
-          + "roupManagerStatusStatefulPerInstanceConfigsH\001\210\001\001B\026\n"
+          + "\024per_instance_configs\030\251\325\370\372\001 \001"
+          + "(\0132M.google.cloud.compute.v1.InstanceGro"
+          + "upManagerStatusStatefulPerInstanceConfigsH\001\210\001\001B\026\n"
           + "\024_has_stateful_configB\027\n"
           + "\025_per_instance_configs\"h\n"
           + "4InstanceGroupManagerStatusStatefulPerInstanceConfigs\022\036\n\r"
@@ -18043,8 +18101,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " InstanceGroupManagerUpdatePolicy\022-\n"
           + "\034instance_redistribution_type\030\230\337\304\213\001 \001("
           + "\tH\000\210\001\001\022C\n"
-          + "\tmax_surge\030\223\311\243\220\001 \001(\0132\'.goo"
-          + "gle.cloud.compute.v1.FixedOrPercentH\001\210\001\001\022I\n"
+          + "\tmax_surge\030\223\311\243\220\001 \001(\0132\'.googl"
+          + "e.cloud.compute.v1.FixedOrPercentH\001\210\001\001\022I\n"
           + "\017max_unavailable\030\365\313\213\301\001"
           + " \001(\0132\'.google.cloud.compute.v1.FixedOrPercentH\002\210\001\001\022\037\n"
           + "\016minimal_action\030\224\215\202\201\001 \001(\tH\003\210\001\001\022.\n"
@@ -18112,17 +18170,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\017next_page_token\030\225\272\206& \001(\tH\000\210\001\001B\022\n"
           + "\020_next_page_token\"\261\001\n"
           + "1InstanceGroupManagersListManagedInstancesResponse\022G\n"
-          + "\021managed_instances\030\336\233\251\240\001 \003(\0132"
-          + "(.google.cloud.compute.v1.ManagedInstance\022\037\n"
+          + "\021managed_instances\030\336\233\251\240\001 \003(\0132(."
+          + "google.cloud.compute.v1.ManagedInstance\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\000\210\001\001B\022\n"
           + "\020_next_page_token\"\353\001\n"
           + "/InstanceGroupManagersListPerInstanceConfigsResp\022<\n"
-          + "\005items\030\300\317\367/"
-          + " \003(\0132*.google.cloud.compute.v1.PerInstanceConfig\022\037\n"
+          + "\005items\030\300\317\367/ \003"
+          + "(\0132*.google.cloud.compute.v1.PerInstanceConfig\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\000\210\001\001\0229\n"
           + "\007warning\030\234\337\226\030 \001(\0132"
           + " .google.cloud.compute.v1.WarningH\001\210\001\001B\022\n"
-          + "\020_next_page_tokenB\n\n"
+          + "\020_next_page_tokenB\n"
+          + "\n"
           + "\010_warning\"\177\n"
           + "/InstanceGroupManagersPatchPerInstanceConfigsReq\022L\n"
           + "\024per_instance_configs\030\251\325\370\372\001"
@@ -18134,8 +18193,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\tinstances\030\376\374\357\r"
           + " \003(\t\"\273\001\n"
           + "\037InstanceGroupManagersScopedList\022Q\n"
-          + "\027instance_group_managers\030\220\372\211f \003(\0132-.goog"
-          + "le.cloud.compute.v1.InstanceGroupManager\0229\n"
+          + "\027instance_group_managers\030\220\372\211f \003(\0132-.google"
+          + ".cloud.compute.v1.InstanceGroupManager\0229\n"
           + "\007warning\030\234\337\226\030 \001(\0132"
           + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n"
           + "\010_warning\"k\n"
@@ -18161,8 +18220,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " \003(\tB\020\n"
           + "\016_force_suspend\"\200\001\n"
           + "0InstanceGroupManagersUpdatePerInstanceConfigsReq\022L\n"
-          + "\024per_instance_configs\030\251\325\370\372\001 \003("
-          + "\0132*.google.cloud.compute.v1.PerInstanceConfig\"e\n"
+          + "\024per_instance_configs\030\251\325\370\372\001 \003(\0132"
+          + "*.google.cloud.compute.v1.PerInstanceConfig\"e\n"
           + "!InstanceGroupsAddInstancesRequest\022@\n"
           + "\tinstances\030\376\374\357\r"
           + " \003(\0132*.google.cloud.compute.v1.InstanceReference\"\276\002\n"
@@ -18211,7 +18270,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\004\210\001\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
-          + "\020_next_page_tokenB\014\n\n"
+          + "\020_next_page_tokenB\014\n"
+          + "\n"
           + "_self_linkB\n\n"
           + "\010_warning\"\253\002\n"
           + "\025InstanceListReferrers\022\020\n"
@@ -18228,11 +18288,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\274\002\n"
           + "\031InstanceManagedByIgmError\022]\n"
-          + "\005error\030\210\244\223. \001(\0132F.google.cloud.compute.v"
-          + "1.InstanceManagedByIgmErrorManagedInstanceErrorH\000\210\001\001\022q\n"
+          + "\005error\030\210\244\223. \001(\0132F.google.cloud.compute.v1."
+          + "InstanceManagedByIgmErrorManagedInstanceErrorH\000\210\001\001\022q\n"
           + "\027instance_action_details\030\243\374\253\213\001"
-          + " \001(\0132G.google.cloud.compute.v1.Inst"
-          + "anceManagedByIgmErrorInstanceActionDetailsH\001\210\001\001\022\031\n"
+          + " \001(\0132G.google.cloud.compute.v1.Instan"
+          + "ceManagedByIgmErrorInstanceActionDetailsH\001\210\001\001\022\031\n"
           + "\ttimestamp\030\226\322\244\032 \001(\tH\002\210\001\001B\010\n"
           + "\006_errorB\032\n"
           + "\030_instance_action_detailsB\014\n\n"
@@ -18250,8 +18310,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\010DELETING\020\250\247\207\374\001\022\013\n"
           + "\004NONE\020\270\316\222\001\022\022\n\n"
           + "RECREATING\020\354\213\376\210\001\022\021\n\n"
-          + "REFRESHING\020\247\376\354M\022\022\n"
-          + "\n"
+          + "REFRESHING\020\247\376\354M\022\022\n\n"
           + "RESTARTING\020\363\356\353\230\001\022\020\n"
           + "\010RESUMING\020\252\373\211\325\001\022\020\n"
           + "\010STARTING\020\300\240\213\351\001\022\020\n"
@@ -18281,18 +18340,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005value\030\002 \001(\t:\0028\001B\035\n"
           + "\033_request_valid_for_duration\"\314\023\n"
           + "\022InstanceProperties\022\\\n"
-          + "\031advanced_machine_features\030\262\347\252\303\001 \001(\01320.google.cl"
-          + "oud.compute.v1.AdvancedMachineFeaturesH\000\210\001\001\022\037\n"
+          + "\031advanced_machine_features\030\262\347\252\303\001 \001(\01320.google.clou"
+          + "d.compute.v1.AdvancedMachineFeaturesH\000\210\001\001\022\037\n"
           + "\016can_ip_forward\030\374\206\204\337\001 \001(\010H\001\210\001\001\022b\n"
-          + "\034confidential_instance_config\030\365\222\372\351\001 \001(\01323"
-          + ".google.cloud.compute.v1.ConfidentialInstanceConfigH\002\210\001\001\022\034\n"
+          + "\034confidential_instance_config\030\365\222\372\351\001 \001(\01323.g"
+          + "oogle.cloud.compute.v1.ConfidentialInstanceConfigH\002\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\003\210\001\001\0227\n"
           + "\005disks\030\366\314\312- \003(\0132%.google.cloud.compute.v1.AttachedDisk\022J\n"
           + "\022guest_accelerators\030\357\314\207\335\001"
           + " \003(\0132*.google.cloud.compute.v1.AcceleratorConfig\022*\n"
           + "\032key_revocation_action_type\030\342\334\300p \001(\tH\004\210\001\001\022K\n"
-          + "\006labels\030\377\277\301\356\001 "
-          + "\003(\01327.google.cloud.compute.v1.InstanceProperties.LabelsEntry\022)\n"
+          + "\006labels\030\377\277\301\356\001 \003("
+          + "\01327.google.cloud.compute.v1.InstanceProperties.LabelsEntry\022)\n"
           + "\031local_ssd_encryption_mode\030\320\343\3749 \001(\tH\005\210\001\001\022\034\n"
           + "\014machine_type\030\262\260\312l \001(\tH\006\210\001\001\022;\n"
           + "\010metadata\030\257\366\265)"
@@ -18304,18 +18363,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " \001(\01321.google.cloud.compute.v1.NetworkPerformanceConfigH\t\210\001\001\022*\n"
           + "\032private_ipv6_google_access\030\216\314\202\027 \001(\tH\n"
           + "\210\001\001\022R\n"
-          + "\024reservation_affinity\030\273\270\242K \001(\0132,.go"
-          + "ogle.cloud.compute.v1.ReservationAffinityH\013\210\001\001\022g\n"
-          + "\025resource_manager_tags\030\374\233\213\264\001 \003("
-          + "\0132D.google.cloud.compute.v1.InstanceProperties.ResourceManagerTagsEntry\022\034\n"
+          + "\024reservation_affinity\030\273\270\242K \001(\0132,.goog"
+          + "le.cloud.compute.v1.ReservationAffinityH\013\210\001\001\022g\n"
+          + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132"
+          + "D.google.cloud.compute.v1.InstanceProperties.ResourceManagerTagsEntry\022\034\n"
           + "\021resource_policies\030\341\234\314\n"
           + " \003(\t\022@\n\n"
-          + "scheduling\030\224\313\261\270\001"
-          + " \001(\0132#.google.cloud.compute.v1.SchedulingH\014\210\001\001\022E\n"
-          + "\020service_accounts\030\260\304\253\204\001 \003(\0132\'."
-          + "google.cloud.compute.v1.ServiceAccount\022Y\n"
-          + "\030shielded_instance_config\030\265\213\221\006 \001(\0132/.go"
-          + "ogle.cloud.compute.v1.ShieldedInstanceConfigH\r"
+          + "scheduling\030\224\313\261\270\001 "
+          + "\001(\0132#.google.cloud.compute.v1.SchedulingH\014\210\001\001\022E\n"
+          + "\020service_accounts\030\260\304\253\204\001"
+          + " \003(\0132\'.google.cloud.compute.v1.ServiceAccount\022Y\n"
+          + "\030shielded_instance_config\030\265\213\221\006 \001(\0132/.goog"
+          + "le.cloud.compute.v1.ShieldedInstanceConfigH\r"
           + "\210\001\001\0223\n"
           + "\004tags\030\231\350\330\001"
           + " \001(\0132\035.google.cloud.compute.v1.TagsH\016\210\001\001\022Z\n"
@@ -18359,13 +18418,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005_tagsB\033\n"
           + "\031_workload_identity_config\"\240\002\n"
           + "\027InstancePropertiesPatch\022P\n"
-          + "\006labels\030\377\277\301\356\001"
-          + " \003(\0132<.google.cloud.compute.v1.InstancePropertiesPatch.LabelsEntry\022S\n"
+          + "\006labels\030\377\277\301\356\001 "
+          + "\003(\0132<.google.cloud.compute.v1.InstancePropertiesPatch.LabelsEntry\022S\n"
           + "\010metadata\030\257\366\265)"
           + " \003(\0132>.google.cloud.compute.v1.InstancePropertiesPatch.MetadataEntry\032-\n"
           + "\013LabelsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
-          + "\005value\030\002 \001(\t:\0028\001\032/\n\r"
+          + "\005value\030\002 \001(\t:\0028\001\032/\n"
+          + "\r"
           + "MetadataEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\":\n"
@@ -18375,8 +18435,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\020InstanceSettings\022\033\n"
           + "\013fingerprint\030\344\321\363o \001(\tH\000\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022K\n"
-          + "\010metadata\030\257\366\265) \001("
-          + "\01321.google.cloud.compute.v1.InstanceSettingsMetadataH\002\210\001\001\022\024\n"
+          + "\010metadata\030\257\366\265) \001(\0132"
+          + "1.google.cloud.compute.v1.InstanceSettingsMetadataH\002\210\001\001\022\024\n"
           + "\004zone\030\254\307\344\001 \001(\tH\003\210\001\001B\016\n"
           + "\014_fingerprintB\007\n"
           + "\005_kindB\013\n"
@@ -18396,8 +18456,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\002id\030\233\032 \001(\004H\002\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\003\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\004\210\001\001\022G\n\n"
-          + "properties\030\263\232\266F"
-          + " \001(\0132+.google.cloud.compute.v1.InstancePropertiesH\005\210\001\001\022\026\n"
+          + "properties\030\263\232\266F \001"
+          + "(\0132+.google.cloud.compute.v1.InstancePropertiesH\005\210\001\001\022\026\n"
           + "\006region\030\364\315\240B \001(\tH\006\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\007\210\001\001\022 \n"
           + "\017source_instance\030\271\230\375\274\001 \001(\tH\010\210\001\001\022U\n"
@@ -18409,8 +18469,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005_kindB\007\n"
           + "\005_nameB\r\n"
           + "\013_propertiesB\t\n"
-          + "\007_regionB\014\n"
-          + "\n"
+          + "\007_regionB\014\n\n"
           + "_self_linkB\022\n"
           + "\020_source_instanceB\031\n"
           + "\027_source_instance_params\"\270\003\n"
@@ -18425,8 +18484,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\004\210\001\001\032b\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022C\n"
-          + "\005value\030\002 \001(\01324.google.cloud.com"
-          + "pute.v1.InstanceTemplatesScopedList:\0028\001B\005\n"
+          + "\005value\030\002"
+          + " \001(\01324.google.cloud.compute.v1.InstanceTemplatesScopedList:\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
@@ -18434,8 +18493,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\010_warning\"\261\002\n"
           + "\024InstanceTemplateList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022;\n"
-          + "\005items\030\300\317\367/ \003"
-          + "(\0132).google.cloud.compute.v1.InstanceTemplate\022\024\n"
+          + "\005items\030\300\317\367/ \003(\013"
+          + "2).google.cloud.compute.v1.InstanceTemplate\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n"
@@ -18477,22 +18536,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\021resource_policies\030\341\234\314\n"
           + " \003(\t\"\212\002\n"
           + "$InstancesBulkInsertOperationMetadata\022t\n"
-          + "\023per_location_status\030\232\351\204P \003(\0132T.googl"
-          + "e.cloud.compute.v1.InstancesBulkInsertOperationMetadata.PerLocationStatusEntry\032l\n"
+          + "\023per_location_status\030\232\351\204P \003(\0132T.google."
+          + "cloud.compute.v1.InstancesBulkInsertOperationMetadata.PerLocationStatusEntry\032l\n"
           + "\026PerLocationStatusEntry\022\013\n"
           + "\003key\030\001 \001(\t\022A\n"
           + "\005value\030\002"
           + " \001(\01322.google.cloud.compute.v1.BulkInsertOperationStatus:\0028\001\"\330\001\n"
           + "&InstancesGetEffectiveFirewallsResponse\022t\n"
-          + "\020firewall_policys\030\302\312\374\303\001 \003(\0132V.google.cloud.com"
-          + "pute.v1.InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy\0228\n"
+          + "\020firewall_policys\030\302\312\374\303\001 \003(\0132V.google.cloud.compu"
+          + "te.v1.InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy\0228\n"
           + "\tfirewalls\030\363\306\350\201\001"
           + " \003(\0132!.google.cloud.compute.v1.Firewall\"\254\004\n"
           + "=InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy\022\034\n"
           + "\014display_name\030\350\207\221\002 \001(\tH\000\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\001\210\001\001\022O\n"
-          + "\026packet_mirroring_rules\030\304\377\300\375\001 \003("
-          + "\0132+.google.cloud.compute.v1.FirewallPolicyRule\022\031\n"
+          + "\026packet_mirroring_rules\030\304\377\300\375\001 \003(\0132"
+          + "+.google.cloud.compute.v1.FirewallPolicy",
+      "Rule\022\031\n"
           + "\010priority\030\244\363\241\324\001 \001(\005H\002\210\001\001\022=\n"
           + "\005rules\030\367\221\3653"
           + " \003(\0132+.google.cloud.compute.v1.FirewallPolicyRule\022\033\n\n"
@@ -18516,8 +18576,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " \003(\t\"\310\002\n"
           + "\"InstancesReportHostAsFaultyRequest\022#\n"
           + "\023disruption_schedule\030\203\305\333- \001(\tH\000\210\001\001\022`\n\r"
-          + "fault_reasons\030\222\253\221P \003(\0132F.google.cloud.comp"
-          + "ute.v1.InstancesReportHostAsFaultyRequestFaultReason\"\202\001\n"
+          + "fault_reasons\030\222\253\221P \003(\0132F.google.cloud.comput"
+          + "e.v1.InstancesReportHostAsFaultyRequestFaultReason\"\202\001\n"
           + "\022DisruptionSchedule\022!\n"
           + "\035UNDEFINED_DISRUPTION_SCHEDULE\020\000\022\'\n"
           + "\037DISRUPTION_SCHEDULE_UNSPECIFIED\020\333\356\310\236\001\022\016\n"
@@ -18544,18 +18604,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\010_warning\"\327\001\n"
           + "\031InstancesSetLabelsRequest\022!\n"
           + "\021label_fingerprint\030\231\360\367T \001(\tH\000\210\001\001\022R\n"
-          + "\006labels\030\377\277\301\356\001 \003(\0132>.google"
-          + ".cloud.compute.v1.InstancesSetLabelsRequest.LabelsEntry\032-\n"
+          + "\006labels\030\377\277\301\356\001 \003(\0132>.google.c"
+          + "loud.compute.v1.InstancesSetLabelsRequest.LabelsEntry\032-\n"
           + "\013LabelsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001B\024\n"
           + "\022_label_fingerprint\"q\n"
           + "#InstancesSetMachineResourcesRequest\022J\n"
-          + "\022guest_accelerators\030\357\314\207\335\001 \003(\0132*.go"
-          + "ogle.cloud.compute.v1.AcceleratorConfig\"O\n"
+          + "\022guest_accelerators\030\357\314\207\335\001"
+          + " \003(\0132*.google.cloud.compute.v1.AcceleratorConfig\"O\n"
           + "\036InstancesSetMachineTypeRequest\022\034\n"
-          + "\014mac",
-      "hine_type\030\262\260\312l \001(\tH\000\210\001\001B\017\n\r"
+          + "\014machine_type\030\262\260\312l \001(\tH\000\210\001\001B\017\n\r"
           + "_machine_type\"Z\n"
           + "!InstancesSetMinCpuPlatformRequest\022 \n"
           + "\020min_cpu_platform\030\367\233\352s \001(\tH\000\210\001\001B\023\n"
@@ -18574,8 +18633,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006scopes\030\237\231\222O \003(\tB\010\n"
           + "\006_email\"w\n"
           + "&InstancesStartWithEncryptionKeyRequest\022M\n"
-          + "\005disks\030\366\314\312- \003(\0132;.google.cl"
-          + "oud.compute.v1.CustomerEncryptionKeyProtectedDisk\"\275\013\n"
+          + "\005disks\030\366\314\312- \003(\0132;.google.clou"
+          + "d.compute.v1.CustomerEncryptionKeyProtectedDisk\"\275\013\n"
           + "\017InstantSnapshot\022\035\n"
           + "\014architecture\030\323\322\261\220\001 \001(\tH\000\210\001\001\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n"
@@ -18587,8 +18646,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006labels\030\377\277\301\356\001"
           + " \003(\01324.google.cloud.compute.v1.InstantSnapshot.LabelsEntry\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\007\210\001\001\022F\n"
-          + "\006params\030\206\363\253% \001(\0132..google.clo"
-          + "ud.compute.v1.InstantSnapshotParamsH\010\210\001\001\022\026\n"
+          + "\006params\030\206\363\253% \001(\0132..google.cloud"
+          + ".compute.v1.InstantSnapshotParamsH\010\210\001\001\022\026\n"
           + "\006region\030\364\315\240B \001(\tH\t\210\001\001\022W\n"
           + "\017resource_status\030\303\372\367v"
           + " \001(\01326.google.cloud.compute.v1.InstantSnapshotResourceStatusH\n"
@@ -18632,7 +18691,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007_regionB\022\n"
           + "\020_resource_statusB\020\n"
           + "\016_satisfies_pziB\020\n"
-          + "\016_satisfies_pzsB\014\n\n"
+          + "\016_satisfies_pzsB\014\n"
+          + "\n"
           + "_self_linkB\024\n"
           + "\022_self_link_with_idB\016\n"
           + "\014_source_diskB\021\n"
@@ -18643,8 +18703,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005_zone\"\316\003\n"
           + "\035InstantSnapshotAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022S\n"
-          + "\005items\030\300\317\367/ \003(\0132A.google"
-          + ".cloud.compute.v1.InstantSnapshotAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132A.google.c"
+          + "loud.compute.v1.InstantSnapshotAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
@@ -18653,8 +18713,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\004\210\001\001\032a\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022B\n"
-          + "\005value\030\002 \001(\01323.google.clo"
-          + "ud.compute.v1.InstantSnapshotsScopedList:\0028\001B\005\n"
+          + "\005value\030\002 \001(\01323.google.cloud"
+          + ".compute.v1.InstantSnapshotsScopedList:\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
@@ -18667,8 +18727,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\004kind\030\224\367\310\001 \001(\tH\003\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\004\210\001\001\022\026\n"
           + "\006region\030\364\315\240B \001(\tH\005\210\001\001\022\\\n"
-          + "\017resource_status\030\303\372\367v \001(\0132;.google"
-          + ".cloud.compute.v1.InstantSnapshotGroupResourceStatusH\006\210\001\001\022\032\n"
+          + "\017resource_status\030\303\372\367v \001(\0132;.google.c"
+          + "loud.compute.v1.InstantSnapshotGroupResourceStatusH\006\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\007\210\001\001\022!\n"
           + "\021self_link_with_id\030\202\254\235\025 \001(\tH\010\210\001\001\022)\n"
           + "\030source_consistency_group\030\364\314\257\375\001 \001(\tH\t\210\001\001\022\026\n"
@@ -18689,8 +18749,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005_kindB\007\n"
           + "\005_nameB\t\n"
           + "\007_regionB\022\n"
-          + "\020_resource_statusB\014\n"
-          + "\n"
+          + "\020_resource_statusB\014\n\n"
           + "_self_linkB\024\n"
           + "\022_self_link_with_idB\033\n"
           + "\031_source_consistency_groupB\t\n"
@@ -18702,8 +18761,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\"InstantSnapshotGroupResourceStatus\0227\n"
           + "&consistency_membership_resolution_time\030\236\265\247\245\001 \001("
           + "\tH\000\210\001\001\022U\n"
-          + "\013source_info\030\322\234\276\327\001 \001(\0132"
-          + "7.google.cloud.compute.v1.InstantSnapshotGroupSourceInfoH\001\210\001\001B)\n"
+          + "\013source_info\030\322\234\276\327\001 \001(\01327."
+          + "google.cloud.compute.v1.InstantSnapshotGroupSourceInfoH\001\210\001\001B)\n"
           + "\'_consistency_membership_resolution_timeB\016\n"
           + "\014_source_info\"\231\001\n"
           + "\036InstantSnapshotGroupSourceInfo\022\"\n"
@@ -18726,8 +18785,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\277\001\n"
           + "\025InstantSnapshotParams\022j\n"
-          + "\025resource_manager_tags\030\374\233\213\264\001 "
-          + "\003(\0132G.google.cloud.compute.v1.InstantSnapshotParams.ResourceManagerTagsEntry\032:\n"
+          + "\025resource_manager_tags\030\374\233\213\264\001 \003("
+          + "\0132G.google.cloud.compute.v1.InstantSnapshotParams.ResourceManagerTagsEntry\032:\n"
           + "\030ResourceManagerTagsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\"[\n"
@@ -18744,16 +18803,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\trange_end\030\331\225\340\231\001 \001(\003H\000\210\001\001\022\033\n"
           + "\013range_start\030\340\375\2421 \001(\003H\001\210\001\001B\014\n\n"
           + "_range_endB\016\n"
-          + "\014_range_start\"\327\024\n"
+          + "\014_range_start\"\220\025\n"
           + "\014Interconnect\022\034\n"
-          + "\013aai_enabled\030\313\242\261\271\001 \001(\010H\000\210\001\001\022\036\n"
-          + "\r"
+          + "\013aai_enabled\030\313\242\261\271\001 \001(\010H\000\210\001\001\022\036\n\r"
           + "admin_enabled\030\321\354\301\324\001 \001(\010H\001\210\001\001\022r\n"
-          + "\036application_aware_interconnect\030\236\370\315\314\001 \001(\0132A.goog"
-          + "le.cloud.compute.v1.InterconnectApplicationAwareInterconnectH\002\210\001\001\022\036\n"
+          + "\036application_aware_interconnect\030\236\370\315\314\001 \001(\0132A.google"
+          + ".cloud.compute.v1.InterconnectApplicationAwareInterconnectH\002\210\001\001\022\036\n"
           + "\022available_features\030\363\271\326\354\001 \003(\t\022J\n\r"
-          + "circuit_infos\030\257\203\315N "
-          + "\003(\01320.google.cloud.compute.v1.InterconnectCircuitInfo\022\"\n"
+          + "circuit_infos\030\257\203\315N \003("
+          + "\01320.google.cloud.compute.v1.InterconnectCircuitInfo\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\003\210\001\001\022\035\n\r"
           + "customer_name\030\314\334\337\001 \001(\tH\004\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\005\210\001\001\022#\n"
@@ -18769,28 +18827,29 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\013\210\001\001\022!\n"
           + "\021label_fingerprint\030\231\360\367T \001(\tH\014\210\001\001\022E\n"
-          + "\006labels\030\377\277\301\356\001 \003(\01321.google.cl"
-          + "oud.compute.v1.Interconnect.LabelsEntry\022\032\n"
+          + "\006labels\030\377\277\301\356\001"
+          + " \003(\01321.google.cloud.compute.v1.Interconnect.LabelsEntry\022\032\n"
           + "\tlink_type\030\337\210\276\371\001 \001(\tH\r"
           + "\210\001\001\022\031\n"
           + "\010location\030\265\277\276\212\001 \001(\tH\016\210\001\001\022D\n"
-          + "\006macsec\030\242\301\227\374\001 \001(\0132+.goo"
-          + "gle.cloud.compute.v1.InterconnectMacsecH\017\210\001\001\022\036\n"
+          + "\006macsec\030\242\301\227\374\001 \001(\0132+.googl"
+          + "e.cloud.compute.v1.InterconnectMacsecH\017\210\001\001\022\036\n"
           + "\016macsec_enabled\030\244\241\315\\ \001(\010H\020\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\021\210\001\001\022!\n"
           + "\021noc_contact_email\030\200\370\332\006 \001(\tH\022\210\001\001\022\"\n"
           + "\022operational_status\030\377\261\360_ \001(\tH\023\210\001\001\022C\n"
-          + "\006params\030\206\363\253% \001(\0132+.google.cl"
-          + "oud.compute.v1.InterconnectParamsH\024\210\001\001\022\037\n"
+          + "\006params\030\206\363\253%"
+          + " \001(\0132+.google.cloud.compute.v1.InterconnectParamsH\024\210\001\001\022\037\n"
           + "\017peer_ip_address\030\331\227\207c \001(\tH\025\210\001\001\022\'\n"
           + "\026provisioned_link_count\030\365\322\366\303\001 \001(\005H\026\210\001\001\022 \n"
           + "\017remote_location\030\216\217\327\232\001 \001(\tH\027\210\001\001\022\036\n"
           + "\022requested_features\030\356\363\367\333\001 \003(\t\022$\n"
           + "\024requested_link_count\030\373\333\275\025 \001(\005H\030\210\001\001\022\036\n\r"
           + "satisfies_pzs\030\253\335\253\345\001 \001(\010H\031\210\001\001\022\032\n"
-          + "\tself_link\030\215\222\305\331\001 \001(\tH\032\210\001\001\022\025\n"
-          + "\005state\030\221\211\2534 \001(\tH\033\210\001\001\022\030\n"
-          + "\007subzone\030\354\203\307\205\001 \001(\tH\034\210\001\001\022\026\n"
+          + "\tself_link\030\215\222\305\331\001 \001(\tH\032\210\001\001\022!\n"
+          + "\021self_link_with_id\030\202\254\235\025 \001(\tH\033\210\001\001\022\025\n"
+          + "\005state\030\221\211\2534 \001(\tH\034\210\001\001\022\030\n"
+          + "\007subzone\030\354\203\307\205\001 \001(\tH\035\210\001\001\022\026\n"
           + "\013wire_groups\030\316\355\261\023 \003(\t\032-\n"
           + "\013LabelsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
@@ -18846,19 +18905,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\027_provisioned_link_countB\022\n"
           + "\020_remote_locationB\027\n"
           + "\025_requested_link_countB\020\n"
-          + "\016_satisfies_pzsB\014\n\n"
-          + "_self_linkB\010\n"
+          + "\016_satisfies_pzsB\014\n"
+          + "\n"
+          + "_self_linkB\024\n"
+          + "\022_self_link_with_idB\010\n"
           + "\006_stateB\n\n"
           + "\010_subzone\"\247\004\n"
           + "(InterconnectApplicationAwareInterconnect\022\207\001\n"
-          + "\033bandwidth_percentage_policy\030\351\334\226Y"
-          + " \001(\0132Z.google.cloud.compute.v1.Interco"
-          + "nnectApplicationAwareInterconnectBandwidthPercentagePolicyH\000\210\001\001\022#\n"
+          + "\033bandwidth_percentage_policy\030\351\334\226Y \001(\0132Z.google.cloud.com"
+          + "pute.v1.InterconnectApplicationAwareInte"
+          + "rconnectBandwidthPercentagePolicyH\000\210\001\001\022#\n"
           + "\023profile_description\030\346\354\250} \001(\tH\001\210\001\001\022z\n"
-          + "\031shape_average_percentages\030\331\270\364{ \003(\0132T.google.cloud.comput"
-          + "e.v1.InterconnectApplicationAwareInterconnectBandwidthPercentage\022}\n"
-          + "\026strict_priority_policy\030\267\225\227E \001(\0132U.google.cloud.compu"
-          + "te.v1.InterconnectApplicationAwareInterconnectStrictPriorityPolicyH\002\210\001\001B\036\n"
+          + "\031shape_average_percentages\030\331\270\364{ \003(\0132T.goog"
+          + "le.cloud.compute.v1.InterconnectApplicationAwareInterconnectBandwidthPercentage\022}\n"
+          + "\026strict_priority_policy\030\267\225\227E \001(\0132U.goo"
+          + "gle.cloud.compute.v1.InterconnectApplica"
+          + "tionAwareInterconnectStrictPriorityPolicyH\002\210\001\001B\036\n"
           + "\034_bandwidth_percentage_policyB\026\n"
           + "\024_profile_descriptionB\031\n"
           + "\027_strict_priority_policy\"\210\002\n"
@@ -18877,11 +18939,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_percentageB\020\n"
           + "\016_traffic_class\"\273\001\n"
           + "AInterconnectApplicationAwareInterconnectBandwidthPercentagePolicy\022v\n"
-          + "\025bandwidth_percentages\030\213\375\243o"
-          + " \003(\0132T.google.cloud.compute.v1.Intercon"
-          + "nectApplicationAwareInterconnectBandwidthPercentage\">\n"
+          + "\025bandwidth_percentages\030\213\375\243o \003(\0132T.google.cloud.comp"
+          + "ute.v1.InterconnectApplicationAwareInterconnectBandwidthPercentage\">\n"
           + ".google.cloud.compute.v1.InterconnectAttachmentPartnerMetadataH\037\210\001\001\022e\n"
-          + "\031private_interconnect_info\030\203\354\221q \001(\0132:.google."
-          + "cloud.compute.v1.InterconnectAttachmentPrivateInfoH \210\001\001\022\026\n"
+          + "\020partner_metadata\030\306\341\266\037 \001(\0132>.google.cloud.comput"
+          + "e.v1.InterconnectAttachmentPartnerMetadataH\037\210\001\001\022e\n"
+          + "\031private_interconnect_info\030\203\354\221q"
+          + " \001(\0132:.google.cloud.compute.v1.InterconnectAttachmentPrivateInfoH"
+          + " \210\001\001\022\026\n"
           + "\006region\030\364\315\240B \001(\tH!\210\001\001\022\037\n"
           + "\016remote_service\030\274\377\362\272\001 \001(\tH\"\210\001\001\022\026\n"
           + "\006router\030\311\256\356F \001(\tH#\210\001\001\022\036\n\r"
@@ -18941,7 +19004,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "stack_type\030\221\265\213\313\001 \001(\tH&\210\001\001\022\025\n"
           + "\005state\030\221\211\2534 \001(\tH\'\210\001\001\022\036\n\r"
           + "subnet_length\030\210\304\267\205\001 \001(\005H(\210\001\001\022\024\n"
-          + "\004type\030\272\236\332\001 \001(\tH)\210\001\001\022\035\n\r"
+          + "\004type\030\272\236\332\001 \001(\tH)\210\001\001\022\035\n"
+          + "\r"
           + "vlan_tag8021q\030\234\350\2279 \001(\005H*\210\001\001\032-\n"
           + "\013LabelsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
@@ -19041,8 +19105,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\016_vlan_tag8021q\"\343\003\n"
           + "$InterconnectAttachmentAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022Z\n"
-          + "\005items\030\300\317\367/ \003(\013"
-          + "2H.google.cloud.compute.v1.InterconnectAttachmentAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132H.google.cloud.compute.v"
+          + "1.InterconnectAttachmentAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
@@ -19051,8 +19115,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\004\210\001\001\032h\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022I\n"
-          + "\005value\030\002 "
-          + "\001(\0132:.google.cloud.compute.v1.InterconnectAttachmentsScopedList:\0028\001B\005\n"
+          + "\005value\030\002 \001(\0132:.google.cloud.comput"
+          + "e.v1.InterconnectAttachmentsScopedList:\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
@@ -19060,9 +19124,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\010_warning\"\263\002\n"
           + ".InterconnectAttachmentConfigurationConstraints\022\030\n"
           + "\007bgp_md5\030\212\350\363\261\001 \001(\tH\000\210\001\001\022w\n"
-          + "\023bgp_peer_asn_ranges\030\202\273\371\342\001 \003(\0132"
-          + "V.google.cloud.compute.v1.InterconnectAt"
-          + "tachmentConfigurationConstraintsBgpPeerASNRange\"b\n"
+          + "\023bgp_peer_asn_ranges\030\202\273\371\342\001 \003(\0132V.google.cloud.compute.v1"
+          + ".InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange\"b\n"
           + "\006BgpMd5\022\025\n"
           + "\021UNDEFINED_BGP_MD5\020\000\022\024\n"
           + "\014MD5_OPTIONAL\020\201\242\340\375\001\022\023\n"
@@ -19077,27 +19140,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\004_maxB\006\n"
           + "\004_min\"\201\007\n"
           + "\033InterconnectAttachmentGroup\022^\n"
-          + "\013attachments\030\260\227\317\237\001 \003(\0132E.google.cloud.compute"
-          + ".v1.InterconnectAttachmentGroup.AttachmentsEntry\022[\n\n"
-          + "configured\030\276\364\373\214\001 \001(\0132>.googl"
-          + "e.cloud.compute.v1.InterconnectAttachmentGroupConfiguredH\000\210\001\001\022\"\n"
+          + "\013attachments\030\260\227\317\237\001 \003(\0132E.googl"
+          + "e.cloud.compute.v1.InterconnectAttachmentGroup.AttachmentsEntry\022[\n\n"
+          + "configured\030\276\364\373\214\001"
+          + " \001(\0132>.google.cloud.compute.v1.InterconnectAttachmentGroupConfiguredH\000\210\001\001\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\024\n"
           + "\004etag\030\225\322\276\001 \001(\tH\003\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\004H\004\210\001\001\022S\n"
-          + "\006intent\030\234\355\304\313\001 \001(\0132:.google.clo"
-          + "ud.compute.v1.InterconnectAttachmentGroupIntentH\005\210\001\001\022#\n"
+          + "\006intent\030\234\355\304\313\001 \001"
+          + "(\0132:.google.cloud.compute.v1.InterconnectAttachmentGroupIntentH\005\210\001\001\022#\n"
           + "\022interconnect_group\030\216\267\251\271\001 \001(\tH\006\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\007\210\001\001\022g\n"
-          + "\021logical_structure\030\275\231\364C \001(\0132D.google.cloud.com"
-          + "pute.v1.InterconnectAttachmentGroupLogicalStructureH\010\210\001\001\022\024\n"
+          + "\021logical_structure\030\275\231\364C \001(\0132D.g"
+          + "oogle.cloud.compute.v1.InterconnectAttachmentGroupLogicalStructureH\010\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\t\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\n"
           + "\210\001\001\032r\n"
           + "\020AttachmentsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022M\n"
-          + "\005value\030\002 \001(\0132>.goo"
-          + "gle.cloud.compute.v1.InterconnectAttachmentGroupAttachment:\0028\001B\r\n"
+          + "\005value\030\002"
+          + " \001(\0132>.google.cloud.compute.v1.InterconnectAttachmentGroupAttachment:\0028\001B\r\n"
           + "\013_configuredB\025\n"
           + "\023_creation_timestampB\016\n"
           + "\014_descriptionB\007\n"
@@ -19113,14 +19176,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "attachment\030\243\262\335W \001(\tH\000\210\001\001B\r\n"
           + "\013_attachment\"\256\001\n"
           + "%InterconnectAttachmentGroupConfigured\022p\n"
-          + "\020availability_sla\030\304\270\263\341\001 \001(\0132M.google.cloud.compute."
-          + "v1.InterconnectAttachmentGroupConfiguredAvailabilitySLAH\000\210\001\001B\023\n"
+          + "\020availability_sla\030\304\270\263\341\001 \001(\0132M.google"
+          + ".cloud.compute.v1.InterconnectAttachment",
+      "GroupConfiguredAvailabilitySLAH\000\210\001\001B\023\n"
           + "\021_availability_sla\"\212\003\n"
           + "4InterconnectAttachmentGroupConfiguredAvailabilitySLA\022\035\n\r"
           + "effective_sla\030\220\325\337D \001(\tH\000\210\001\001\022\203\001\n"
-          + "\025intended_sla_blockers\030\204\255\346\325\001"
-          + " \003(\0132`.google.cloud.compute.v1.Intercon"
-          + "nectAttachmentGroupConfiguredAvailabilitySLAIntendedSlaBlockers\"\232\001\n"
+          + "\025intended_sla_blockers\030\204\255\346\325\001 \003(\0132`.google.cloud.comp"
+          + "ute.v1.InterconnectAttachmentGroupConfig"
+          + "uredAvailabilitySLAIntendedSlaBlockers\"\232\001\n"
           + "\014EffectiveSla\022\033\n"
           + "\027UNDEFINED_EFFECTIVE_SLA\020\000\022!\n"
           + "\031EFFECTIVE_SLA_UNSPECIFIED\020\250\247\220\352\001\022\r\n"
@@ -19152,31 +19216,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\020availability_sla\030\304\270\263\341\001 \001(\tH\000\210\001\001\"\242\001\n"
           + "\017AvailabilitySla\022\036\n"
           + "\032UNDEFINED_AVAILABILITY_SLA\020\000\022#\n"
-          + "\034AVAILABILITY_SLA_UNSPECIFIED\020\374\336\252\005\022\r"
-          + "\n"
+          + "\034AVAILABILITY_SLA_UNSPECIFIED\020\374\336\252\005\022\r\n"
           + "\006NO_SLA\020\212\343\376L\022\033\n"
           + "\023PRODUCTION_CRITICAL\020\345\370\247\340\001\022\036\n"
           + "\027PRODUCTION_NON_CRITICAL\020\267\275\3757B\023\n"
           + "\021_availability_sla\"\215\001\n"
           + "+InterconnectAttachmentGroupLogicalStructure\022^\n"
-          + "\007regions\030\377\357\362\005 \003(\0132J.google.cloud.compute.v1.Interconne"
-          + "ctAttachmentGroupLogicalStructureRegion\"\273\001\n"
+          + "\007regions\030\377\357\362\005 \003(\0132J.google.cloud.comput"
+          + "e.v1.InterconnectAttachmentGroupLogicalStructureRegion\"\273\001\n"
           + "1InterconnectAttachmentGroupLogicalStructureRegion\022c\n"
-          + "\006metros\030\372\354\227\376\001 \003(\0132O.goog"
-          + "le.cloud.compute.v1.InterconnectAttachmentGroupLogicalStructureRegionMetro\022\026\n"
+          + "\006metros\030\372\354\227\376\001 \003(\0132O.google.cloud.compute.v1.Inter"
+          + "connectAttachmentGroupLogicalStructureRegionMetro\022\026\n"
           + "\006region\030\364\315\240B \001(\tH\000\210\001\001B\t\n"
           + "\007_region\"\312\001\n"
-          + "6InterconnectAttachmentGroupLogicalStructureReg",
-      "ionMetro\022o\n\n"
-          + "facilities\030\201\305\364\377\001 \003(\0132W.googl"
-          + "e.cloud.compute.v1.InterconnectAttachmen"
-          + "tGroupLogicalStructureRegionMetroFacility\022\025\n"
+          + "6InterconnectAttachmentGroupLogicalStructureRegionMetro\022o\n\n"
+          + "facilities\030\201\305\364\377\001 \003(\0132W.google.cloud.compute.v1.Interc"
+          + "onnectAttachmentGroupLogicalStructureRegionMetroFacility\022\025\n"
           + "\005metro\030\231\332\2761 \001(\tH\000\210\001\001B\010\n"
           + "\006_metro\"\327\001\n"
           + ">InterconnectAttachmentGroupLogicalStructureRegionMetroFacility\022\031\n"
           + "\010facility\030\243\335\371\356\001 \001(\tH\000\210\001\001\022m\n"
-          + "\005zones\030\307\244\2557 \003(\0132[.google.clou"
-          + "d.compute.v1.InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZoneB\013\n"
+          + "\005zones\030\307\244\2557 \003(\0132[.google.cloud.compute.v1.Interconnect"
+          + "AttachmentGroupLogicalStructureRegionMetroFacilityZoneB\013\n"
           + "\t_facility\"|\n"
           + "BInterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone\022\027\n"
           + "\013attachments\030\260\227\317\237\001 \003(\t\022\024\n"
@@ -19184,15 +19245,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005_zone\"\304\001\n"
           + "8InterconnectAttachmentGroupsGetOperationalStatusResponse\022\024\n"
           + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022^\n"
-          + "\006result\030\235\220\267B \001(\013"
-          + "2F.google.cloud.compute.v1.InterconnectAttachmentGroupsOperationalStatusH\001\210\001\001B\007\n"
+          + "\006result\030\235\220\267B \001(\0132F.google.cloud.compute.v"
+          + "1.InterconnectAttachmentGroupsOperationalStatusH\001\210\001\001B\007\n"
           + "\005_etagB\t\n"
           + "\007_result\"\210\003\n"
           + "(InterconnectAttachmentGroupsListResponse\022\024\n"
           + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\tH\001\210\001\001\022F\n"
-          + "\005items\030\300\317\367/ \003(\013"
-          + "24.google.cloud.compute.v1.InterconnectAttachmentGroup\022\024\n"
+          + "\005items\030\300\317\367/"
+          + " \003(\01324.google.cloud.compute.v1.InterconnectAttachmentGroup\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\004\210\001\001\022\027\n"
@@ -19206,15 +19267,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\210\005\n"
           + "-InterconnectAttachmentGroupsOperationalStatus\022w\n"
-          + "\023attachment_statuses\030\274\257\230\352\001 \003(\0132V.google.cloud.compute.v"
-          + "1.InterconnectAttachmentGroupsOperationalStatusAttachmentStatus\022[\n\n"
-          + "configured\030\276\364\373\214\001"
-          + " \001(\0132>.google.cloud.compute.v1.InterconnectAttachmentGroupConfiguredH\000\210\001\001\022\035\n"
+          + "\023attachment_statuses\030\274\257\230\352\001 \003(\0132V.google."
+          + "cloud.compute.v1.InterconnectAttachmentG"
+          + "roupsOperationalStatusAttachmentStatus\022[\n\n"
+          + "configured\030\276\364\373\214\001 \001(\0132>.google.cloud.co"
+          + "mpute.v1.InterconnectAttachmentGroupConfiguredH\000\210\001\001\022\035\n"
           + "\014group_status\030\262\263\305\241\001 \001(\tH\001\210\001\001\022S\n"
-          + "\006intent\030\234\355\304\313\001"
-          + " \001(\0132:.google.cloud.compute.v1.InterconnectAttachmentGroupIntentH\002\210\001\001\022[\n"
-          + "\013operational\030\322\307\354= \001(\0132>.google.cloud.compute."
-          + "v1.InterconnectAttachmentGroupConfiguredH\003\210\001\001\"u\n"
+          + "\006intent\030\234\355\304\313\001 \001(\0132:.google.cloud.co"
+          + "mpute.v1.InterconnectAttachmentGroupIntentH\002\210\001\001\022[\n"
+          + "\013operational\030\322\307\354= \001(\0132>.google"
+          + ".cloud.compute.v1.InterconnectAttachmentGroupConfiguredH\003\210\001\001\"u\n"
           + "\013GroupStatus\022\032\n"
           + "\026UNDEFINED_GROUP_STATUS\020\000\022\020\n"
           + "\010DEGRADED\020\256\246\240\275\001\022\021\n\n"
@@ -19257,29 +19319,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_is_activeB\t\n"
           + "\007_status\"\333\004\n"
           + "\"InterconnectAttachmentL2Forwarding\022r\n"
-          + "\022appliance_mappings\030\267\277\313\262\001"
-          + " \003(\0132R.google.cloud.compute.v1.Intercon"
-          + "nectAttachmentL2Forwarding.ApplianceMappingsEntry\022-\n"
+          + "\022appliance_mappings\030\267\277\313\262\001 \003(\0132R.google.cloud.comp"
+          + "ute.v1.InterconnectAttachmentL2Forwarding.ApplianceMappingsEntry\022-\n"
           + "\034default_appliance_ip_address\030\354\343\350\377\001 \001("
           + "\tH\000\210\001\001\022f\n\r"
-          + "geneve_header\030\250\225\3148 \001(\0132G.google.cloud.compute.v1.Interconnec"
-          + "tAttachmentL2ForwardingGeneveHeaderH\001\210\001\001\022\027\n"
+          + "geneve_header\030\250\225\3148 \001(\0132G.google.cloud.compute"
+          + ".v1.InterconnectAttachmentL2ForwardingGeneveHeaderH\001\210\001\001\022\027\n"
           + "\007network\030\256\264\205o \001(\tH\002\210\001\001\022+\n"
           + "\032tunnel_endpoint_ip_address\030\357\326\301\337\001 \001("
           + "\tH\003\210\001\001\032\205\001\n"
           + "\026ApplianceMappingsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022Z\n"
-          + "\005value\030\002 \001(\0132K.google.cloud.compute.v1.Intercon"
-          + "nectAttachmentL2ForwardingApplianceMapping:\0028\001B\037\n"
+          + "\005value\030\002 \001(\0132K.google.cloud.comp"
+          + "ute.v1.InterconnectAttachmentL2ForwardingApplianceMapping:\0028\001B\037\n"
           + "\035_default_appliance_ip_addressB\020\n"
           + "\016_geneve_headerB\n\n"
           + "\010_networkB\035\n"
           + "\033_tunnel_endpoint_ip_address\"\250\002\n"
           + "2InterconnectAttachmentL2ForwardingApplianceMapping\022$\n"
           + "\024appliance_ip_address\030\256\225\323\033 \001(\tH\000\210\001\001\022\223\001\n"
-          + " inner_vlan_to_appliance_mappings\030\250\213\270. \003(\0132"
-          + "f.google.cloud.compute.v1.InterconnectAt"
-          + "tachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping\022\024\n"
+          + " inner_vlan_to_appliance_mappings\030\250\213\270. \003(\0132f.google.cloud.compute.v1"
+          + ".InterconnectAttachmentL2ForwardingAppli"
+          + "anceMappingInnerVlanToApplianceMapping\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\001\210\001\001B\027\n"
           + "\025_appliance_ip_addressB\007\n"
           + "\005_name\"\270\001\n"
@@ -19307,9 +19368,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\315\001\n"
           + "\034InterconnectAttachmentParams\022q\n"
-          + "\025resource_manager_tags\030\374\233\213\264\001"
-          + " \003(\0132N.google.cloud.compute.v1.I"
-          + "nterconnectAttachmentParams.ResourceManagerTagsEntry\032:\n"
+          + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132N.google.clo"
+          + "ud.compute.v1.InterconnectAttachmentParams.ResourceManagerTagsEntry\032:\n"
           + "\030ResourceManagerTagsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\"\274\001\n"
@@ -19325,8 +19385,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "H\000\210\001\001B\013\n"
           + "\t_tag8021q\"\301\001\n"
           + "!InterconnectAttachmentsScopedList\022U\n"
-          + "\030interconnect_attachments\030\377\322\353\312\001"
-          + " \003(\0132/.google.cloud.compute.v1.InterconnectAttachment\0229\n"
+          + "\030interconnect_attachments\030\377\322\353\312\001 \003(\0132/.google"
+          + ".cloud.compute.v1.InterconnectAttachment\0229\n"
           + "\007warning\030\234\337\226\030 \001(\0132"
           + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n"
           + "\010_warning\"\305\001\n"
@@ -19339,12 +19399,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\022_google_circuit_idB\023\n"
           + "\021_google_demarc_id\"\225\005\n"
           + "\027InterconnectDiagnostics\022P\n\n"
-          + "arp_caches\030\221\326\330\305\001 \003(\01328.google.cl"
-          + "oud.compute.v1.InterconnectDiagnosticsARPEntry\022(\n"
+          + "arp_caches\030\221\326\330\305\001 "
+          + "\003(\01328.google.cloud.compute.v1.InterconnectDiagnosticsARPEntry\022(\n"
           + "\027bundle_aggregation_type\030\224\311\262\317\001 \001(\tH\000\210\001\001\022)\n"
           + "\031bundle_operational_status\030\334\227\3402 \001(\tH\001\210\001\001\022L\n"
-          + "\005links\030\271\237\2151 \003(\0132:.google.c"
-          + "loud.compute.v1.InterconnectDiagnosticsLinkStatus\022\034\n"
+          + "\005links\030\271\237\2151"
+          + " \003(\0132:.google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus\022\034\n"
           + "\013mac_address\030\204\322\310\236\001 \001(\tH\002\210\001\001\"\212\001\n"
           + "\025BundleAggregationType\022%\n"
           + "!UNDEFINED_BUNDLE_AGGREGATION_TYPE\020\000\022#\n"
@@ -19387,19 +19447,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006_stateB\010\n"
           + "\006_value\"\361\006\n"
           + "!InterconnectDiagnosticsLinkStatus\022P\n\n"
-          + "arp_caches\030\221\326\330\305\001 \003(\01328.google."
-          + "cloud.compute.v1.InterconnectDiagnosticsARPEntry\022\032\n\n"
+          + "arp_caches\030\221\326\330\305\001"
+          + " \003(\01328.google.cloud.compute.v1.InterconnectDiagnosticsARPEntry\022\032\n\n"
           + "circuit_id\030\261\372\257k \001(\tH\000\210\001\001\022\034\n\r"
           + "google_demarc\030\214\217\003 \001(\tH\001\210\001\001\022\\\n"
-          + "\013lacp_status\030\257\304\236\254\001 \001(\0132>.google.cloud.compute.v1.In"
-          + "terconnectDiagnosticsLinkLACPStatusH\002\210\001\001\022U\n"
-          + "\006macsec\030\242\301\227\374\001 \001(\0132<.google.cloud.comp"
-          + "ute.v1.InterconnectDiagnosticsMacsecStatusH\003\210\001\001\022\"\n"
+          + "\013lacp_status\030\257\304\236\254\001 \001(\0132>.google.clou"
+          + "d.compute.v1.InterconnectDiagnosticsLinkLACPStatusH\002\210\001\001\022U\n"
+          + "\006macsec\030\242\301\227\374\001 \001(\0132<.go"
+          + "ogle.cloud.compute.v1.InterconnectDiagnosticsMacsecStatusH\003\210\001\001\022\"\n"
           + "\022operational_status\030\377\261\360_ \001(\tH\004\210\001\001\022i\n"
-          + "\027receiving_optical_power\030\337\255\330t \001(\0132"
-          + "@.google.cloud.compute.v1.InterconnectDiagnosticsLinkOpticalPowerH\005\210\001\001\022m\n"
-          + "\032transmitting_optical_power\030\235\272\211\333\001 \001(\0132@.google."
-          + "cloud.compute.v1.InterconnectDiagnosticsLinkOpticalPowerH\006\210\001\001\"\177\n"
+          + "\027receiving_optical_power\030\337\255\330t \001(\0132@.google.cloud.compute.v1"
+          + ".InterconnectDiagnosticsLinkOpticalPowerH\005\210\001\001\022m\n"
+          + "\032transmitting_optical_power\030\235\272\211\333\001"
+          + " \001(\0132@.google.cloud.compute.v1.InterconnectDiagnosticsLinkOpticalPowerH\006\210\001\001\"\177\n"
           + "\021OperationalStatus\022 \n"
           + "\034UNDEFINED_OPERATIONAL_STATUS\020\000\022$\n"
           + "\034LINK_OPERATIONAL_STATUS_DOWN\020\375\344\246\206\001\022\"\n"
@@ -19417,25 +19477,25 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\004_cknB\016\n"
           + "\014_operational\"\224\006\n"
           + "\021InterconnectGroup\022Q\n\n"
-          + "configured\030\276\364\373\214\001"
-          + " \001(\01324.google.cloud.compute.v1.InterconnectGroupConfiguredH\000\210\001\001\022\"\n"
+          + "configured\030\276\364\373\214\001 \001(\01324.google.cloud"
+          + ".compute.v1.InterconnectGroupConfiguredH\000\210\001\001\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\024\n"
           + "\004etag\030\225\322\276\001 \001(\tH\003\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\004H\004\210\001\001\022I\n"
-          + "\006intent\030\234\355\304\313\001 \001(\01320.go"
-          + "ogle.cloud.compute.v1.InterconnectGroupIntentH\005\210\001\001\022X\n\r"
-          + "interconnects\030\245\333\205\370\001 \003(\0132=."
-          + "google.cloud.compute.v1.InterconnectGroup.InterconnectsEntry\022\024\n"
+          + "\006intent\030\234\355\304\313\001"
+          + " \001(\01320.google.cloud.compute.v1.InterconnectGroupIntentH\005\210\001\001\022X\n\r"
+          + "interconnects\030\245\333\205\370\001"
+          + " \003(\0132=.google.cloud.compute.v1.InterconnectGroup.InterconnectsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\006\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\007\210\001\001\022_\n"
-          + "\022physical_structure\030\213\320\220] \001(\0132;.google.cloud.compute.v"
-          + "1.InterconnectGroupPhysicalStructureH\010\210\001\001\022\032\n"
+          + "\022physical_structure\030\213\320\220] \001(\0132;.google."
+          + "cloud.compute.v1.InterconnectGroupPhysicalStructureH\010\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\t\210\001\001\032l\n"
           + "\022InterconnectsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022E\n"
-          + "\005value\030\002 \001(\0132"
-          + "6.google.cloud.compute.v1.InterconnectGroupInterconnect:\0028\001B\r\n"
+          + "\005value\030\002"
+          + " \001(\01326.google.cloud.compute.v1.InterconnectGroupInterconnect:\0028\001B\r\n"
           + "\013_configuredB\025\n"
           + "\023_creation_timestampB\016\n"
           + "\014_descriptionB\007\n"
@@ -19447,13 +19507,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\023_physical_structureB\014\n\n"
           + "_self_link\"\242\001\n"
           + "\033InterconnectGroupConfigured\022k\n"
-          + "\023topology_capability\030\350\331\340D \001(\0132F.google.cloud.compu"
-          + "te.v1.InterconnectGroupConfiguredTopologyCapabilityH\000\210\001\001B\026\n"
+          + "\023topology_capability\030\350\331\340D \001(\0132F.goo"
+          + "gle.cloud.compute.v1.InterconnectGroupConfiguredTopologyCapabilityH\000\210\001\001B\026\n"
           + "\024_topology_capability\"\374\002\n"
           + "-InterconnectGroupConfiguredTopologyCapability\022\212\001\n"
-          + "\034intended_capability_blockers\030\354\375\300\375\001"
-          + " \003(\0132`.google.cloud.compute.v1."
-          + "InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers\022\035\n\r"
+          + "\034intended_capability_blockers\030\354\375\300\375\001 \003(\0132`.google.cl"
+          + "oud.compute.v1.InterconnectGroupConfigur"
+          + "edTopologyCapabilityIntendedCapabilityBlockers\022\035\n\r"
           + "supported_sla\030\227\364\242\034 \001(\tH\000\210\001\001\"\214\001\n"
           + "\014SupportedSla\022\033\n"
           + "\027UNDEFINED_SUPPORTED_SLA\020\000\022\r\n"
@@ -19494,17 +19554,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\014interconnect\030\216\311\214k \001(\tH\000\210\001\001B\017\n\r"
           + "_interconnect\"{\n"
           + "\"InterconnectGroupPhysicalStructure\022U\n"
-          + "\006metros\030\372\354\227\376\001 "
-          + "\003(\0132A.google.cloud.compute.v1.InterconnectGroupPhysicalStructureMetros\"\260\001\n"
+          + "\006metros\030\372\354\227\376\001 \003(\0132A.google.cloud.comput"
+          + "e.v1.InterconnectGroupPhysicalStructureMetros\"\260\001\n"
           + "(InterconnectGroupPhysicalStructureMetros\022c\n\n"
-          + "facilities\030\201\305\364\377\001 \003(\0132K.google.cloud.compu"
-          + "te.v1.InterconnectGroupPhysicalStructureMetrosFacilities\022\025\n"
+          + "facilities\030\201\305\364\377\001 \003(\0132K.goo"
+          + "gle.cloud.compute.v1.InterconnectGroupPhysicalStructureMetrosFacilities\022\025\n"
           + "\005metro\030\231\332\2761 \001(\tH\000\210\001\001B\010\n"
           + "\006_metro\"\300\001\n"
           + "2InterconnectGroupPhysicalStructureMetrosFacilities\022\031\n"
           + "\010facility\030\243\335\371\356\001 \001(\tH\000\210\001\001\022b\n"
-          + "\005zones\030\307\244\2557 \003(\0132P.google.c"
-          + "loud.compute.v1.InterconnectGroupPhysicalStructureMetrosFacilitiesZonesB\013\n"
+          + "\005zones\030\307\244\2557 \003(\0132P.google.cloud.compute.v1.Interconn"
+          + "ectGroupPhysicalStructureMetrosFacilitiesZonesB\013\n"
           + "\t_facility\"s\n"
           + "7InterconnectGroupPhysicalStructureMetrosFacilitiesZones\022\031\n\r"
           + "interconnects\030\245\333\205\370\001 \003(\t\022\024\n"
@@ -19512,10 +19572,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005_zone\"\320\003\n"
           + "\037InterconnectGroupsCreateMembers\022(\n"
           + "\030intent_mismatch_behavior\030\300\325\262N \001(\tH\000\210\001\001\022d\n\r"
-          + "interconnects\030\245\333\205\370\001 \003(\0132I.google.clou"
-          + "d.compute.v1.InterconnectGroupsCreateMembersInterconnectInput\022p\n"
-          + "\025template_interconnect\030\263\260\225k \001(\0132I.google.cloud.compute.v"
-          + "1.InterconnectGroupsCreateMembersInterconnectInputH\001\210\001\001\"t\n"
+          + "interconnects\030\245\333\205\370\001 \003("
+          + "\0132I.google.cloud.compute.v1.InterconnectGroupsCreateMembersInterconnectInput\022p\n"
+          + "\025template_interconnect\030\263\260\225k \001(\0132I.google."
+          + "cloud.compute.v1.InterconnectGroupsCreateMembersInterconnectInputH\001\210\001\001\"t\n"
           + "\026IntentMismatchBehavior\022&\n"
           + "\"UNDEFINED_INTENT_MISMATCH_BEHAVIOR\020\000\022\016\n"
           + "\006CREATE\020\374\251\342\267\001\022\r\n"
@@ -19562,19 +19622,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\025_requested_link_count\"\207\001\n"
           + "&InterconnectGroupsCreateMembersRequest\022Q\n"
           + "\007request\030\217\345\273\n"
-          + " \001(\01328.google.cloud.compute.v1.InterconnectGroupsCreateMembersH\000\210\001\001B\n\n"
+          + " \001(\01328.google.cloud."
+          + "compute.v1.InterconnectGroupsCreateMembersH\000\210\001\001B\n\n"
           + "\010_request\"\260\001\n"
           + ".InterconnectGroupsGetOperationalStatusResponse\022\024\n"
           + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022T\n"
-          + "\006result\030\235\220\267B \001(\0132<.google.cloud.compute."
-          + "v1.InterconnectGroupsOperationalStatusH\001\210\001\001B\007\n"
+          + "\006result\030\235\220\267B \001(\0132<.google"
+          + ".cloud.compute.v1.InterconnectGroupsOperationalStatusH\001\210\001\001B\007\n"
           + "\005_etagB\t\n"
           + "\007_result\"\364\002\n"
           + "\036InterconnectGroupsListResponse\022\024\n"
           + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\tH\001\210\001\001\022<\n"
-          + "\005items\030\300\317\367/ \003(\0132*.g"
-          + "oogle.cloud.compute.v1.InterconnectGroup\022\024\n"
+          + "\005items\030\300\317\367/"
+          + " \003(\0132*.google.cloud.compute.v1.InterconnectGroup\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\004\210\001\001\022\027\n"
@@ -19588,30 +19649,29 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\350\004\n"
           + "#InterconnectGroupsOperationalStatus\022Q\n\n"
-          + "configured\030\276\364\373\214\001 \001(\01324.google.cloud.co"
-          + "mpute.v1.InterconnectGroupConfiguredH\000\210\001\001\022\035\n"
+          + "configured\030\276\364\373\214\001 \001(\01324."
+          + "google.cloud.compute.v1.InterconnectGroupConfiguredH\000\210\001\001\022\035\n"
           + "\014group_status\030\262\263\305\241\001 \001(\tH\001\210\001\001\022I\n"
-          + "\006intent\030\234\355\304\313\001"
-          + " \001(\01320.google.cloud.compute.v1.InterconnectGroupIntentH\002\210\001\001\022q\n"
-          + "\025interconnect_statuses\030\261\351\203\325\001 \003(\0132N.google.cloud.co"
-          + "mpute.v1.InterconnectGroupsOperationalStatusInterconnectStatus\022Q\n"
-          + "\013operational\030\322\307\354="
-          + " \001(\01324.google.cloud.compute.v1.InterconnectGroupConfiguredH\003\210\001\001\"\202\001\n"
+          + "\006intent\030\234\355\304\313\001 \001(\01320.google.clo"
+          + "ud.compute.v1.InterconnectGroupIntentH\002\210\001\001\022q\n"
+          + "\025interconnect_statuses\030\261\351\203\325\001 \003(\0132N."
+          + "google.cloud.compute.v1.InterconnectGroupsOperationalStatusInterconnectStatus\022Q\n"
+          + "\013operational\030\322\307\354= \001(\01324.google.cloud.com"
+          + "pute.v1.InterconnectGroupConfiguredH\003\210\001\001\"\202\001\n"
           + "\013GroupStatus\022\032\n"
           + "\026UNDEFINED_GROUP_STATUS\020\000\022\020\n"
           + "\010DEGRADED\020\256\246\240\275\001\022\021\n\n"
           + "FULLY_DOWN\020\227\260\353y\022\020\n"
           + "\010FULLY_UP\020\320\276\264\360\001\022 \n"
-          + "\031GROUPS_STATUS_UNSPECIFIED\020\225\215\363|B\r"
-          + "\n"
+          + "\031GROUPS_STATUS_UNSPECIFIED\020\225\215\363|B\r\n"
           + "\013_configuredB\017\n\r"
           + "_group_statusB\t\n"
           + "\007_intentB\016\n"
           + "\014_operational\"\207\003\n"
           + "5InterconnectGroupsOperationalStatusInterconnectStatus\022\036\n\r"
           + "admin_enabled\030\321\354\301\324\001 \001(\010H\000\210\001\001\022N\n"
-          + "\013diagnostics\030\254\263\372\236\001"
-          + " \001(\01320.google.cloud.compute.v1.InterconnectDiagnosticsH\001\210\001\001\022\034\n"
+          + "\013diagnostics\030\254\263\372\236\001 \001(\01320.google.clo"
+          + "ud.compute.v1.InterconnectDiagnosticsH\001\210\001\001\022\034\n"
           + "\014interconnect\030\216\311\214k \001(\tH\002\210\001\001\022\031\n"
           + "\tis_active\030\273\327\3406 \001(\tH\003\210\001\001\"d\n"
           + "\010IsActive\022\027\n"
@@ -19621,8 +19681,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\025IS_ACTIVE_UNSPECIFIED\020\223\301\215\203\001B\020\n"
           + "\016_admin_enabledB\016\n"
           + "\014_diagnosticsB\017\n\r"
-          + "_interconnectB\014\n"
-          + "\n"
+          + "_interconnectB\014\n\n"
           + "_is_active\"\251\002\n"
           + "\020InterconnectList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\0227\n"
@@ -19645,8 +19704,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\004city\030\353\262\272\001 \001(\tH\002\210\001\001\022\031\n"
           + "\tcontinent\030\264\333\320? \001(\tH\003\210\001\001\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\004\210\001\001\022p\n"
-          + "\035cross_site_interconnect_infos\030\215\337\303v \003(\0132F.google."
-          + "cloud.compute.v1.InterconnectLocationCrossSiteInterconnectInfo\022\034\n"
+          + "\035cross_site_interconnect_infos\030\215\337\303v"
+          + " \003(\0132F.google.cloud.compute.v1.InterconnectLocationCrossSiteInterconnectInfo\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\005\210\001\001\022\"\n"
           + "\021facility_provider\030\215\240\246\376\001 \001(\tH\006\210\001\001\022-\n"
           + "\035facility_provider_facility_id\030\205\276\316) \001(\tH\007\210\001\001\022\020\n"
@@ -19655,8 +19714,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\004name\030\213\365\315\001 \001(\tH\n"
           + "\210\001\001\022&\n"
           + "\025peeringdb_facility_id\030\266\272\355\377\001 \001(\tH\013\210\001\001\022Q\n"
-          + "\014region_infos\030\372\350\356\224\001 \003(\01327.google.cloud.c"
-          + "ompute.v1.InterconnectLocationRegionInfo\022\032\n"
+          + "\014region_infos\030\372\350\356\224\001 \003(\01327"
+          + ".google.cloud.compute.v1.InterconnectLocationRegionInfo\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\014\210\001\001\022<\n"
           + "0single_region_production_critical_peer_locations\030\317\233\313\321\001 \003("
           + "\t\022\026\n"
@@ -19669,7 +19728,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\020IF_L2_FORWARDING\020\324\347\357;\022\021\n"
           + "\tIF_MACSEC\020\204\374\372\274\001\"\242\001\n"
           + "\022AvailableLinkTypes\022\"\n"
-          + "\036UNDEFINED_AVAILABLE_LINK_TYPES\020\000\022\"\n"
+          + "\036UND",
+      "EFINED_AVAILABLE_LINK_TYPES\020\000\022\"\n"
           + "\032LINK_TYPE_ETHERNET_100G_LR\020\347\362\201\241\001\022 \n"
           + "\031LINK_TYPE_ETHERNET_10G_LR\020\245\271\361p\022\"\n"
           + "\033LINK_TYPE_ETHERNET_400G_LR4\020\312\364\310<\"\352\001\n"
@@ -19703,14 +19763,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\026_peeringdb_facility_idB\014\n\n"
           + "_self_linkB\t\n"
           + "\007_statusB\017\n\r"
-          + "_supports_pzs\"N\n"
+          + "_supports_pzs\"\366\001\n"
           + "-InterconnectLocationCrossSiteInterconnectInfo\022\024\n"
-          + "\004city\030\353\262\272\001 \001(\tH\000\210\001\001B\007\n"
-          + "\005_city\"\271\002\n"
+          + "\004city\030\353\262\272\001 \001(\tH\000\210\001\001\0220\n"
+          + "\037max_dynamic_path_bandwidth_gbps\030\353\313\240\264\001"
+          + " \001(\003H\001\210\001\001\022.\n"
+          + "\035max_fixed_path_bandwidth_gbps\030\340\313\206\245\001"
+          + " \001(\003H\002\210\001\001B\007\n"
+          + "\005_cityB\"\n"
+          + " _max_dynamic_path_bandwidth_gbpsB \n"
+          + "\036_max_fixed_path_bandwidth_gbps\"\271\002\n"
           + "\030InterconnectLocationList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022?\n"
-          + "\005items\030\300\317\367/"
-          + " \003(\0132-.google.cloud.compute.v1.InterconnectLocation\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132-"
+          + ".google.cloud.compute.v1.InterconnectLocation\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n"
@@ -19738,13 +19804,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007_region\"\224\001\n"
           + "\022InterconnectMacsec\022\032\n"
           + "\tfail_open\030\313\225\373\375\001 \001(\010H\000\210\001\001\022T\n"
-          + "\017pre_shared_keys\030\362\313\265\310\001"
-          + " \003(\01327.google.cloud.compute.v1.InterconnectMacsecPreSharedKeyB\014\n\n"
+          + "\017pre_shared_keys\030\362\313\265\310\001 \003(\01327.google"
+          + ".cloud.compute.v1.InterconnectMacsecPreSharedKeyB\014\n\n"
           + "_fail_open\"v\n"
           + "\030InterconnectMacsecConfig\022Z\n"
-          + "\017pre_shared",
-      "_keys\030\362\313\265\310\001 \003(\0132=.google.cloud.compute.v"
-          + "1.InterconnectMacsecConfigPreSharedKey\"\250\001\n"
+          + "\017pre_shared_keys\030\362\313\265\310\001 \003(\0132"
+          + "=.google.cloud.compute.v1.InterconnectMacsecConfigPreSharedKey\"\250\001\n"
           + "$InterconnectMacsecConfigPreSharedKey\022\022\n"
           + "\003cak\030\315\377\005 \001(\tH\000\210\001\001\022\022\n"
           + "\003ckn\030\206\202\006 \001(\tH\001\210\001\001\022\024\n"
@@ -19793,19 +19858,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_start_timeB\010\n"
           + "\006_state\"\271\001\n"
           + "\022InterconnectParams\022g\n"
-          + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132D.google.cloud.c"
-          + "ompute.v1.InterconnectParams.ResourceManagerTagsEntry\032:\n"
+          + "\025resource_manager_tags\030\374\233\213\264\001"
+          + " \003(\0132D.google.cloud.compute.v1.InterconnectParams.ResourceManagerTagsEntry\032:\n"
           + "\030ResourceManagerTagsEntry\022\013\n"
-          + "\003key\030\001 \001(\t\022\r\n"
+          + "\003key\030\001 \001(\t\022\r"
+          + "\n"
           + "\005value\030\002 \001(\t:\0028\001\"\212\014\n"
           + "\032InterconnectRemoteLocation\022\030\n"
           + "\007address\030\364\267\336\334\001 \001(\tH\000\210\001\001\022~\n"
           + "$attachment_configuration_constraints\030\321\350\353\233\001"
-          + " \001(\0132G.google.cloud.comp"
-          + "ute.v1.InterconnectAttachmentConfigurationConstraintsH\001\210\001\001\022\024\n"
+          + " \001(\0132G.google.cloud.compute.v1.Interconn"
+          + "ectAttachmentConfigurationConstraintsH\001\210\001\001\022\024\n"
           + "\004city\030\353\262\272\001 \001(\tH\002\210\001\001\022[\n"
-          + "\013constraints\030\266\314\356\001 \001(\0132>.google.cloud."
-          + "compute.v1.InterconnectRemoteLocationConstraintsH\003\210\001\001\022\031\n"
+          + "\013constraints\030\266\314\356\001"
+          + " \001(\0132>.google.cloud.compute.v1.InterconnectRemoteLocationConstraintsH\003\210\001\001\022\031\n"
           + "\tcontinent\030\264\333\320? \001(\tH\004\210\001\001\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\005\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\006\210\001\001\022\"\n"
@@ -19821,8 +19887,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\024max_lag_size400_gbps\030\322\214\2052 \001(\005H\016\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\017\210\001\001\022&\n"
           + "\025peeringdb_facility_id\030\266\272\355\377\001 \001(\tH\020\210\001\001\022j\n"
-          + "\025permitted_connections\030\256\263\345\322\001 \003(\0132G.google.cloud.co"
-          + "mpute.v1.InterconnectRemoteLocationPermittedConnections\022\037\n"
+          + "\025permitted_connections\030\256\263\345\322\001"
+          + " \003(\0132G.google.cloud.compute.v1.Interco"
+          + "nnectRemoteLocationPermittedConnections\022\037\n"
           + "\016remote_service\030\274\377\362\272\001 \001(\tH\021\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\022\210\001\001\022\026\n"
           + "\006status\030\362\237\267V \001(\tH\023\210\001\001\"\202\001\n"
@@ -19858,16 +19925,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\025_max_lag_size400_gbpsB\007\n"
           + "\005_nameB\030\n"
           + "\026_peeringdb_facility_idB\021\n"
-          + "\017_remote_serviceB\014\n"
-          + "\n"
+          + "\017_remote_serviceB\014\n\n"
           + "_self_linkB\t\n"
           + "\007_status\"\305\004\n"
           + "%InterconnectRemoteLocationConstraints\022*\n"
           + "\031port_pair_remote_location\030\247\262\274\354\001 \001("
           + "\tH\000\210\001\001\022\037\n"
           + "\016port_pair_vlan\030\352\362\203\344\001 \001(\tH\001\210\001\001\022t\n"
-          + "\023subnet_length_range\030\306\260\373W \001(\0132O.google.cloud.compute.v1."
-          + "InterconnectRemoteLocationConstraintsSubnetLengthRangeH\002\210\001\001\"\234\001\n"
+          + "\023subnet_length_range\030\306\260\373W \001(\0132O."
+          + "google.cloud.compute.v1.InterconnectRemo"
+          + "teLocationConstraintsSubnetLengthRangeH\002\210\001\001\"\234\001\n"
           + "\026PortPairRemoteLocation\022\'\n"
           + "#UNDEFINED_PORT_PAIR_REMOTE_LOCATION\020\000\022)\n"
           + "\"PORT_PAIR_MATCHING_REMOTE_LOCATION\020\323\213\354b\022.\n"
@@ -19886,8 +19953,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\004_min\"\305\002\n"
           + "\036InterconnectRemoteLocationList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022E\n"
-          + "\005items\030\300\317\367/ \003(\01323.google"
-          + ".cloud.compute.v1.InterconnectRemoteLocation\022\024\n"
+          + "\005items\030\300\317\367/"
+          + " \003(\01323.google.cloud.compute.v1.InterconnectRemoteLocation\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n"
@@ -19907,15 +19974,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007_result\"\233\001\n"
           + "$InterconnectsGetMacsecConfigResponse\022\024\n"
           + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022I\n"
-          + "\006result\030\235\220\267B"
-          + " \001(\01321.google.cloud.compute.v1.InterconnectMacsecConfigH\001\210\001\001B\007\n"
+          + "\006result\030\235\220\267B \001(\01321.goo"
+          + "gle.cloud.compute.v1.InterconnectMacsecConfigH\001\210\001\001B\007\n"
           + "\005_etagB\t\n"
           + "\007_result\"\351\001\n"
           + "\034InvalidateCacheUrlMapRequest\022a\n"
-          + " cache_invalidation_rule_resource\030\255\303\223\225\001"
-          + " \001(\0132..google.cloud.compute.v1.CacheInvalidationRuleB\003\340A\002\022!\n"
+          + " cache_invalidation_rule_resource\030\255\303\223\225\001 \001(\0132..google.c"
+          + "loud.compute.v1.CacheInvalidationRuleB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
-          + "\340A\002\362G\007project\022\032\n\n"
+          + "\340A\002\362G\007project\022\032\n"
+          + "\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\030\n"
           + "\007url_map\030\214\225\201\257\001 \001(\tB\003\340A\002B\r\n"
           + "\013_request_id\"D\n"
@@ -19937,15 +20005,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\021minimum_retention\030\255\340\214J"
           + " \001(\0132!.google.cloud.compute.v1.DurationH\007\210\001\001\022\"\n"
           + "\021multi_tenant_only\030\233\340\353\202\001 \001(\010H\010\210\001\001\022\024\n"
-          + "\004name\030\213\365\315\001 \001(\tH\t\210\001\001\022\033\n\n"
+          + "\004name\030\213\365\315\001 \001(\tH\t\210\001\001\022\033\n"
+          + "\n"
           + "os_license\030\346\251\330\350\001 \001(\010H\n"
           + "\210\001\001\022>\n"
           + "\006params\030\206\363\253%"
           + " \001(\0132&.google.cloud.compute.v1.LicenseParamsH\013\210\001\001\022#\n"
           + "\023removable_from_disk\030\256\205\252\014 \001(\010H\014\210\001\001\022\'\n"
           + "\034required_coattached_licenses\030\201\272\315= \003(\t\022[\n"
-          + "\025resource_requirements\030\241\262\227f"
-          + " \001(\01324.google.cloud.compute.v1.LicenseResourceRequirementsH\r"
+          + "\025resource_requirements\030\241\262\227f \001"
+          + "(\01324.google.cloud.compute.v1.LicenseResourceRequirementsH\r"
           + "\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\016\210\001\001\022!\n"
           + "\021self_link_with_id\030\202\254\235\025 \001(\tH\017\210\001\001\022!\n"
@@ -19979,10 +20048,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\002id\030\233\032 \001(\004H\003\210\001\001\022!\n"
           + "\025incompatible_licenses\030\230\260\260\237\001 \003(\t\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022J\n\r"
-          + "license_alias\030\322\221\342\024 \003(\01320"
-          + ".google.cloud.compute.v1.LicenseCodeLicenseAlias\022D\n"
-          + "\021minimum_retention\030\255\340\214J \001(\0132!"
-          + ".google.cloud.compute.v1.DurationH\005\210\001\001\022\"\n"
+          + "license_alias\030\322\221\342\024"
+          + " \003(\01320.google.cloud.compute.v1.LicenseCodeLicenseAlias\022D\n"
+          + "\021minimum_retention\030\255\340\214J"
+          + " \001(\0132!.google.cloud.compute.v1.DurationH\005\210\001\001\022\"\n"
           + "\021multi_tenant_only\030\233\340\353\202\001 \001(\010H\006\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\007\210\001\001\022\033\n\n"
           + "os_license\030\346\251\330\350\001 \001(\010H\010\210\001\001\022#\n"
@@ -20023,8 +20092,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\014_descriptionB\014\n\n"
           + "_self_link\"\257\001\n\r"
           + "LicenseParams\022b\n"
-          + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132?.google.cloud.c"
-          + "ompute.v1.LicenseParams.ResourceManagerTagsEntry\032:\n"
+          + "\025resource_manager_tags\030\374\233\213\264\001"
+          + " \003(\0132?.google.cloud.compute.v1.LicenseParams.ResourceManagerTagsEntry\032:\n"
           + "\030ResourceManagerTagsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\"\234\001\n"
@@ -20048,7 +20117,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007warning\030\234\337\226\030 \001(\0132"
           + " .google.cloud.compute.v1.WarningH\003\210\001\001B\005\n"
           + "\003_idB\022\n"
-          + "\020_next_page_tokenB\014\n\n"
+          + "\020_next_page_tokenB\014\n"
+          + "\n"
           + "_self_linkB\n\n"
           + "\010_warning\"\263\002\n"
           + "\033ListAcceleratorTypesRequest\022\027\n"
@@ -20153,8 +20223,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n"
           + "\007_filterB\016\n"
           + "\014_max_resultsB\013\n"
-          + "\t_order_byB\r"
-          + "\n"
+          + "\t_order_byB\r\n"
           + "\013_page_tokenB\031\n"
           + "\027_return_partial_success\"\213\006\n"
           + "\033ListBgpRoutesRoutersRequest\022\036\n"
@@ -20265,7 +20334,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n"
           + "\007_filterB\016\n"
           + "\014_max_resultsB\013\n"
-          + "\t_order_byB\r\n"
+          + "\t_order_byB\r"
+          + "\n"
           + "\013_page_tokenB\031\n"
           + "\027_return_partial_success\"\356\002\n"
           + ",ListErrorsRegionInstanceGroupManagersRequest\022\027\n"
@@ -20327,7 +20397,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n"
           + "\013max_results\030\233\310\213\032 \001(\r"
           + "H\001\210\001\001\022\030\n"
-          + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n"
+          + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n"
+          + "\n"
           + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n"
@@ -20347,7 +20418,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\026return_partial_success\030\266\244\317\366\001"
           + " \001(\010H\004\210\001\001\022\024\n"
           + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n"
-          + "\007_filterB\016\n"
+          + "\007_filterB\016",
+      "\n"
           + "\014_max_resultsB\013\n"
           + "\t_order_byB\r\n"
           + "\013_page_tokenB\031\n"
@@ -20429,8 +20501,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007_filterB\016\n"
           + "\014_max_resultsB\013\n"
           + "\t_order_byB\r\n"
-          + "\013_page_to",
-      "kenB\031\n"
+          + "\013_page_tokenB\031\n"
           + "\027_return_partial_success\"\246\002\n"
           + "$ListGlobalVmExtensionPoliciesRequest\022\027\n"
           + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n"
@@ -20549,9 +20620,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\"ListInstancesInstanceGroupsRequest\022\027\n"
           + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\036\n"
           + "\016instance_group\030\325\324\325& \001(\tB\003\340A\002\022}\n"
-          + "/instance_groups_list_instances_request_resource\030\237\250\214\343\001"
-          + " \001(\0132;.google.cloud.compute.v"
-          + "1.InstanceGroupsListInstancesRequestB\003\340A\002\022\033\n"
+          + "/instance_groups_list_instances_request_resource\030\237\250\214\343\001 \001(\0132"
+          + ";.google.cloud.compute.v1.InstanceGroupsListInstancesRequestB\003\340A\002\022\033\n"
           + "\013max_results\030\233\310\213\032 \001(\r"
           + "H\001\210\001\001\022\030\n"
           + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n"
@@ -20575,8 +20645,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\211\001\n"
           + "6region_instance_groups_list_instances_request_resource\030\324\251\200\027"
-          + " \001(\0132A.g"
-          + "oogle.cloud.compute.v1.RegionInstanceGroupsListInstancesRequestB\003\340A\002\022\'\n"
+          + " \001(\0132A.google.cloud.comp"
+          + "ute.v1.RegionInstanceGroupsListInstancesRequestB\003\340A\002\022\'\n"
           + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n"
           + "\007_filterB\016\n"
           + "\014_max_resultsB\013\n"
@@ -20778,8 +20848,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n"
           + "\007_filterB\016\n"
           + "\014_max_resultsB\013\n"
-          + "\t_order_byB\r"
-          + "\n"
+          + "\t_order_byB\r\n"
           + "\013_page_tokenB\031\n"
           + "\027_return_partial_success\"\370\002\n"
           + "6ListManagedInstancesRegionInstanceGroupManagersRequest\022\027\n"
@@ -20862,8 +20931,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "H\001\210\001\001\022\'\n"
           + "\026network_endpoint_group\030\206\313\363\316\001 \001(\tB\003\340A\002\022\213\001\n"
           + "7network_endpoint_groups_list_endpoints_request_resource\030\216\230\257\034"
-          + " \001(\0132B."
-          + "google.cloud.compute.v1.NetworkEndpointGroupsListEndpointsRequestB\003\340A\002\022\030\n"
+          + " \001(\0132B.google.cloud.com"
+          + "pute.v1.NetworkEndpointGroupsListEndpointsRequestB\003\340A\002\022\030\n"
           + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n"
           + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n"
@@ -20913,7 +20982,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n"
           + "\007_filterB\016\n"
           + "\014_max_resultsB\013\n"
-          + "\t_order_byB\r\n"
+          + "\t_order_byB\r"
+          + "\n"
           + "\013_page_tokenB\031\n"
           + "\027_return_partial_success\"\225\002\n"
           + "\023ListNetworksRequest\022\027\n"
@@ -20926,7 +20996,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n"
           + "\007_filterB\016\n"
           + "\014_max_resultsB\013\n"
-          + "\t_order_byB\r\n"
+          + "\t_order_byB\r"
+          + "\n"
           + "\013_page_tokenB\031\n"
           + "\027_return_partial_success\"\255\002\n"
           + "\025ListNodeGroupsRequest\022\027\n"
@@ -20941,8 +21012,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n"
           + "\007_filterB\016\n"
           + "\014_max_resultsB\013\n"
-          + "\t_order_byB\r"
-          + "\n"
+          + "\t_order_byB\r\n"
           + "\013_page_tokenB\031\n"
           + "\027_return_partial_success\"\262\002\n"
           + "\030ListNodeTemplatesRequest\022\027\n"
@@ -21061,7 +21131,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "8ListPerInstanceConfigsRegionInstanceGroupManagersRequest\022\027\n"
           + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022&\n"
           + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\033\n"
-          + "\013max_results\030\233\310\213\032 \001(\r"
+          + "\013max_results\030\233\310\213\032 \001(",
+      "\r"
           + "H\001\210\001\001\022\030\n"
           + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n"
           + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n"
@@ -21140,8 +21211,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\t_order_byB\r\n"
           + "\013_page_tokenB\031\n"
           + "\027_return_partial_success\"\317\002\n"
-          + "\035ListReferrersInstancesRequ",
-      "est\022\027\n"
+          + "\035ListReferrersInstancesRequest\022\027\n"
           + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\030\n"
           + "\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022\033\n"
           + "\013max_results\030\233\310\213\032 \001(\r"
@@ -21182,14 +21252,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n"
           + "\007_filterB\016\n"
           + "\014_max_resultsB\013\n"
-          + "\t_order_byB\r\n"
+          + "\t_order_byB\r"
+          + "\n"
           + "\013_page_tokenB\031\n"
           + "\027_return_partial_success\"\272\002\n"
           + " ListRegionBackendServicesRequest\022\027\n"
           + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n"
           + "\013max_results\030\233\310\213\032 \001(\r"
           + "H\001\210\001\001\022\030\n"
-          + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n"
+          + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n"
+          + "\n"
           + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n"
@@ -21238,8 +21310,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n"
           + "\007_filterB\016\n"
           + "\014_max_resultsB\013\n"
-          + "\t_order_byB\r"
-          + "\n"
+          + "\t_order_byB\r\n"
           + "\013_page_tokenB\031\n"
           + "\027_return_partial_success\"\260\002\n"
           + "\026ListRegionDisksRequest\022\027\n"
@@ -21324,8 +21395,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n"
           + "\007_filterB\016\n"
           + "\014_max_resultsB\013\n"
-          + "\t_order_byB\r"
-          + "\n"
+          + "\t_order_byB\r\n"
           + "\013_page_tokenB\031\n"
           + "\027_return_partial_success\"\300\002\n"
           + "&ListRegionInstanceGroupManagersRequest\022\027\n"
@@ -21465,8 +21535,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n"
           + "\007_filterB\016\n"
           + "\014_max_resultsB\013\n"
-          + "\t_order_byB\r"
-          + "\n"
+          + "\t_order_byB\r\n"
           + "\013_page_tokenB\031\n"
           + "\027_return_partial_success\"\264\002\n"
           + "\032ListRegionSnapshotsRequest\022\027\n"
@@ -21627,7 +21696,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n"
           + "\013max_results\030\233\310\213\032 \001(\r"
           + "H\001\210\001\001\022\030\n"
-          + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n"
+          + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n"
+          + "\n"
           + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\034\n"
           + "\013parent_name\030\200\212\200\344\001 \001(\tB\003\340A\002\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n"
@@ -21643,8 +21713,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n"
           + "\013max_results\030\233\310\213\032 \001(\r"
           + "H\001\210\001\001\022\030\n"
-          + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n"
-          + "\n"
+          + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n"
           + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\034\n"
           + "\013parent_name\030\200\212\200\344\001 \001(\tB\003\340A\002\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n"
@@ -21660,7 +21729,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n"
           + "\013max_results\030\233\310\213\032 \001(\r"
           + "H\001\210\001\001\022\030\n"
-          + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n"
+          + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n"
+          + "\n"
           + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n"
           + "\026return_partial_success\030\266\244\317\366\001"
@@ -21764,7 +21834,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n"
           + "\007_filterB\016\n"
           + "\014_max_resultsB\013\n"
-          + "\t_order_byB\r\n"
+          + "\t_order_byB\r"
+          + "\n"
           + "\013_page_tokenB\031\n"
           + "\027_return_partial_success\"\267\002\n"
           + "\035ListServiceAttachmentsRequest\022\027\n"
@@ -21781,7 +21852,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\t_order_byB\r\n"
           + "\013_page_tokenB\031\n"
           + "\027_return_partial_success\"\226\002\n"
-          + "\024ListSnapshotsRequest\022\027\n"
+          + "\024L",
+      "istSnapshotsRequest\022\027\n"
           + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n"
           + "\013max_results\030\233\310\213\032 \001(\r"
           + "H\001\210\001\001\022\030\n"
@@ -21824,7 +21896,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n"
           + "\013max_results\030\233\310\213\032 \001(\r"
           + "H\001\210\001\001\022\030\n"
-          + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n"
+          + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n"
+          + "\n"
           + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n"
           + "\026return_partial_success\030\266\244\317\366\001"
@@ -21867,8 +21940,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\020WITH_UTILIZATION\020\211\240\257\360\001B\t\n"
           + "\007_filterB\016\n"
           + "\014_max_resultsB\013\n"
-          + "\t_order_byB\r\n",
-      "\013_page_tokenB\031\n"
+          + "\t_order_byB\r\n"
+          + "\013_page_tokenB\031\n"
           + "\027_return_partial_successB\010\n"
           + "\006_views\"\236\002\n"
           + "\034ListTargetGrpcProxiesRequest\022\027\n"
@@ -21929,7 +22002,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n"
           + "\013max_results\030\233\310\213\032 \001(\r"
           + "H\001\210\001\001\022\030\n"
-          + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n"
+          + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n"
+          + "\n"
           + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n"
@@ -21956,7 +22030,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n"
           + "\013max_results\030\233\310\213\032 \001(\r"
           + "H\001\210\001\001\022\030\n"
-          + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n"
+          + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n"
+          + "\n"
           + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n"
           + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n"
@@ -22107,12 +22182,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n"
           + "\013max_results\030\233\310\213\032 \001(\r"
           + "H\001\210\001\001\022\030\n"
-          + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n"
-          + "\n"
+          + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n"
           + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022n\n"
-          + "(projects_list_xpn_hosts_request_resource\030\227\320\316q \001(\01324.google.cloud.c"
-          + "ompute.v1.ProjectsListXpnHostsRequestB\003\340A\002\022\'\n"
+          + "(projects_list_xpn_hosts_request_resource\030\227\320\316q"
+          + " \001(\01324.google.cloud.compute.v1.ProjectsListXpnHostsRequestB\003\340A\002\022\'\n"
           + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n"
           + "\007_filterB\016\n"
           + "\014_max_resultsB\013\n"
@@ -22175,15 +22249,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007_localeB\n\n"
           + "\010_message\"\236\003\n"
           + "\016LocationPolicy\022M\n"
-          + "\tlocations\030\336\256\221\305\001 \003(\01326.google.c"
-          + "loud.compute.v1.LocationPolicy.LocationsEntry\022\035\n"
+          + "\tlocations\030\336\256\221\305\001"
+          + " \003(\01326.google.cloud.compute.v1.LocationPolicy.LocationsEntry\022\035\n"
           + "\014target_shape\030\363\346\273\241\001 \001(\tH\000\210\001\001\022J\n"
-          + "\005zones\030\307\244\2557"
-          + " \003(\01328.google.cloud.compute.v1.LocationPolicyZoneConfiguration\032a\n"
+          + "\005zones\030\307\244\2557 \003(\01328"
+          + ".google.cloud.compute.v1.LocationPolicyZoneConfiguration\032a\n"
           + "\016LocationsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022>\n"
-          + "\005value\030\002 \001(\0132/"
-          + ".google.cloud.compute.v1.LocationPolicyLocation:\0028\001\"^\n"
+          + "\005value\030\002"
+          + " \001(\0132/.google.cloud.compute.v1.LocationPolicyLocation:\0028\001\"^\n"
           + "\013TargetShape\022\032\n"
           + "\026UNDEFINED_TARGET_SHAPE\020\000\022\t\n"
           + "\003ANY\020\314\373\003\022\026\n"
@@ -22191,8 +22265,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\010BALANCED\020\210\272\255\337\001B\017\n\r"
           + "_target_shape\"\216\002\n"
           + "\026LocationPolicyLocation\022W\n"
-          + "\013constraints\030\266\314\356\001 \001(\0132:.google.cloud.compute.v"
-          + "1.LocationPolicyLocationConstraintsH\000\210\001\001\022\032\n\n"
+          + "\013constraints\030\266\314\356\001 \001(\0132"
+          + ":.google.cloud.compute.v1.LocationPolicyLocationConstraintsH\000\210\001\001\022\032\n\n"
           + "preference\030\333\371\362G \001(\tH\001\210\001\001\"`\n\n"
           + "Preference\022\030\n"
           + "\024UNDEFINED_PREFERENCE\020\000\022\014\n"
@@ -22216,10 +22290,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " \001(\0132+.google.cloud.compute.v1.InstancePropertiesH\004\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\005\210\001\001\022!\n"
           + "\021label_fingerprint\030\231\360\367T \001(\tH\006\210\001\001\022E\n"
-          + "\006labels\030\377\277\301\356\001 \003(\01321.googl"
-          + "e.cloud.compute.v1.MachineImage.LabelsEntry\022]\n"
-          + "\034machine_image_encryption_key\030\377\377\347\373\001"
-          + " \001(\0132..google.cloud.compute.v1.CustomerEncryptionKeyH\007\210\001\001\022\024\n"
+          + "\006labels\030\377\277\301\356\001"
+          + " \003(\01321.google.cloud.compute.v1.MachineImage.LabelsEntry\022]\n"
+          + "\034machine_image_encryption_key\030\377\377\347\373\001 \001(\0132..google.c"
+          + "loud.compute.v1.CustomerEncryptionKeyH\007\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\010\210\001\001\022C\n"
           + "\006params\030\206\363\253% \001(\0132+.google.cloud.compute.v1.MachineImageParamsH"
           + "\t\210\001\001\022\036\n\r"
@@ -22233,8 +22307,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " \003(\01320.google.cloud.compute.v1.SourceDiskEncryptionKey\022 \n"
           + "\017source_instance\030\271\230\375\274\001 \001(\tH\r"
           + "\210\001\001\022^\n"
-          + "\032source_instance_properties\030\371\321\313\342\001 \001(\01321.google.clo"
-          + "ud.compute.v1.SourceInstancePropertiesH\016\210\001\001\022\026\n"
+          + "\032source_instance_properties\030\371\321\313\342\001"
+          + " \001(\01321.google.cloud.compute.v1.SourceInstancePropertiesH\016\210\001\001\022\026\n"
           + "\006status\030\362\237\267V \001(\tH\017\210\001\001\022\035\n"
           + "\021storage_locations\030\232\355\263\234\001 \003(\t\022#\n"
           + "\023total_storage_bytes\030\354\207\204\' \001(\003H\020\210\001\001\032-\n"
@@ -22279,17 +22353,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\271\001\n"
           + "\022MachineImageParams\022g\n"
-          + "\025resource_manager_tags\030\374\233\213\264\001 "
-          + "\003(\0132D.google.cloud.compute.v1.MachineImageParams.ResourceManagerTagsEntry\032:\n"
+          + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132D.google.clo"
+          + "ud.compute.v1.MachineImageParams.ResourceManagerTagsEntry\032:\n"
           + "\030ResourceManagerTagsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\"\213\010\n"
           + "\013MachineType\022?\n"
-          + "\014accelerators\030\350\326\305\200\001"
-          + " \003(\0132%.google.cloud.compute.v1.Accelerators\022\035\n"
+          + "\014accelerators\030\350\326\305\200\001 \003(\0132"
+          + "%.google.cloud.compute.v1.Accelerators\022\035\n"
           + "\014architecture\030\323\322\261\220\001 \001(\tH\000\210\001\001\022N\n"
-          + "\022bundled_local_ssds\030\200\347\340\270\001 \001(\0132)."
-          + "google.cloud.compute.v1.BundledLocalSsdsH\001\210\001\001\022\"\n"
+          + "\022bundled_local_ssds\030\200\347\340\270\001"
+          + " \001(\0132).google.cloud.compute.v1.BundledLocalSsdsH\001\210\001\001\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\002\210\001\001\022G\n\n"
           + "deprecated\030\263\313\321\365\001"
           + " \001(\0132*.google.cloud.compute.v1.DeprecationStatusH\003\210\001\001\022\034\n"
@@ -22331,8 +22405,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005_zone\"\302\003\n"
           + "\031MachineTypeAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022O\n"
-          + "\005items\030\300\317\367/ \003(\0132=."
-          + "google.cloud.compute.v1.MachineTypeAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132=.google.cloud.com"
+          + "pute.v1.MachineTypeAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
@@ -22341,8 +22415,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\004\210\001\001\032]\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022>\n"
-          + "\005value\030\002 \001(\0132/.google.c"
-          + "loud.compute.v1.MachineTypesScopedList:\0028\001B\005\n"
+          + "\005value\030\002"
+          + " \001(\0132/.google.cloud.compute.v1.MachineTypesScopedList:\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
@@ -22365,33 +22439,34 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "machine_types\030\201\335\201& \003(\0132$.google.cloud.compute.v1.MachineType\0229\n"
           + "\007warning\030\234\337\226\030 \001(\0132"
           + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n"
-          + "\010_warning\"\350\014\n"
+          + "\010_warning\"\372\r\n"
           + "\017ManagedInstance\022\036\n"
           + "\016current_action\030\274\247\215U \001(\tH\000\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\004H\001\210\001\001\022\030\n"
           + "\010instance\030\225\251\332\010 \001(\tH\002\210\001\001\022S\n"
-          + "\017instance_health\030\306\222\274\266\001"
-          + " \003(\01326.google.cloud.compute.v1.ManagedInstanceInstanceHealth\022\037\n"
+          + "\017instance_health\030\306\222\274\266\001 \003(\01326.goog"
+          + "le.cloud.compute.v1.ManagedInstanceInstanceHealth\022\037\n"
           + "\017instance_status\030\334\255\237S \001(\tH\003\210\001\001\022R\n"
-          + "\014last_attempt\030\244\254\250\317\001"
-          + " \001(\01323.google.cloud.compute.v1.ManagedInstanceLastAttemptH\004\210\001\001\022\024\n"
+          + "\014last_attempt\030\244\254\250\317\001 \001(\01323.google.cl"
+          + "oud.compute.v1.ManagedInstanceLastAttemptH\004\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022T\n"
           + "\033preserved_state_from_config\030\342\353\205/"
           + " \001(\0132\'.google.cloud.compute.v1.PreservedStateH\006\210\001\001\022U\n"
-          + "\033preserved_state_from_policy\030\322\257\276\340\001"
-          + " \001(\0132\'.google.cloud.compute.v1.PreservedStateH\007\210\001\001\022{\n"
-          + "\"properties_from_flexibility_policy\030\301\305\224J \001(\0132G.google.cloud."
-          + "compute.v1.ManagedInstancePropertiesFromFlexibilityPolicyH\010\210\001\001\022O\n\n"
-          + "scheduling\030\224\313\261\270\001"
-          + " \001(\01322.google.cloud.compute.v1.ManagedInstanceSchedulingH\t\210\001\001\022Y\n"
-          + "\020shutdown_details\030\331\322\237\007"
-          + " \001(\01327.google.cloud.compute.v1.ManagedInstanceShutdownDetailsH\n"
-          + "\210\001\001\022I\n"
-          + "\007version\030\330\271\324\247\001"
-          + " \001(\0132/.google.cloud.compute.v1.ManagedInstanceVersionH\013\210\001\001\"\205\002\n\r"
+          + "\033preserved_state_from_policy\030\322\257\276\340\001 \001(\0132\'.go"
+          + "ogle.cloud.compute.v1.PreservedStateH\007\210\001\001\022{\n"
+          + "\"properties_from_flexibility_policy\030\301\305\224J"
+          + " \001(\0132G.google.cloud.compute.v1.Manag"
+          + "edInstancePropertiesFromFlexibilityPolicyH\010\210\001\001\022O\n\n"
+          + "scheduling\030\224\313\261\270\001 \001(\01322.google."
+          + "cloud.compute.v1.ManagedInstanceSchedulingH\t\210\001\001\022Y\n"
+          + "\020shutdown_details\030\331\322\237\007 \001(\01327.g"
+          + "oogle.cloud.compute.v1.ManagedInstanceShutdownDetailsH\n"
+          + "\210\001\001\022\036\n\r"
+          + "target_status\030\340\314\342\222\001 \001(\tH\013\210\001\001\022I\n"
+          + "\007version\030\330\271\324\247\001 \001(\0132/.google"
+          + ".cloud.compute.v1.ManagedInstanceVersionH\014\210\001\001\"\205\002\n\r"
           + "CurrentAction\022\034\n"
-          + "\030UNDEFINED_CURRENT_ACTION\020\000\022\022\n"
-          + "\n"
+          + "\030UNDEFINED_CURRENT_ACTION\020\000\022\022\n\n"
           + "ABANDONING\020\315\312\220\271\001\022\020\n"
           + "\010CREATING\020\271\275\235\331\001\022 \n"
           + "\030CREATING_WITHOUT_RETRIES\020\211\306\276\314\001\022\020\n"
@@ -22416,7 +22491,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\010STOPPING\020\364\320\242\247\001\022\020\n"
           + "\tSUSPENDED\020\273\273\266\030\022\022\n\n"
           + "SUSPENDING\020\246\324\230\365\001\022\021\n\n"
-          + "TERMINATED\020\243\364\233wB\021\n"
+          + "TERMINATED\020\243\364\233w\"^\n"
+          + "\014TargetStatus\022\033\n"
+          + "\027UNDEFINED_TARGET_STATUS\020\000\022\020\n"
+          + "\tABANDONED\020\264\303\200\'\022\016\n"
+          + "\007DELETED\020\371\367\3269\022\017\n"
+          + "\007INVALID\020\327\373\355\374\001B\021\n"
           + "\017_current_actionB\005\n"
           + "\003_idB\013\n"
           + "\t_instanceB\022\n"
@@ -22427,7 +22507,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\034_preserved_state_from_policyB%\n"
           + "#_properties_from_flexibility_policyB\r\n"
           + "\013_schedulingB\023\n"
-          + "\021_shutdown_detailsB\n\n"
+          + "\021_shutdown_detailsB\020\n"
+          + "\016_target_statusB\n\n"
           + "\010_version\"\246\002\n"
           + "\035ManagedInstanceInstanceHealth\022&\n"
           + "\025detailed_health_state\030\235\320\264\363\001 \001(\tH\000\210\001\001\022\035\n"
@@ -22442,8 +22523,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\026_detailed_health_stateB\017\n\r"
           + "_health_check\"{\n"
           + "\032ManagedInstanceLastAttempt\022R\n"
-          + "\006errors\030\353\336\325\226\001 \001(\01329.goo"
-          + "gle.cloud.compute.v1.ManagedInstanceLastAttemptErrorsH\000\210\001\001B\t\n"
+          + "\006errors\030\353\336\325\226\001"
+          + " \001(\01329.google.cloud.compute.v1.ManagedInstanceLastAttemptErrorsH\000\210\001\001B"
+          + "\t\n"
           + "\007_errors\"W\n"
           + " ManagedInstanceLastAttemptErrors\0223\n"
           + "\006errors\030\353\336\325\226\001 \003(\0132\037.google.cloud.compute.v1.Errors\"_\n"
@@ -22459,7 +22541,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\036ManagedInstanceShutdownDetails\022?\n"
           + "\014max_duration\030\217\324\206\023"
           + " \001(\0132!.google.cloud.compute.v1.DurationH\000\210\001\001\022\"\n"
-          + "\021request_timestamp\030\346\336\311\370\001 \001(\tH\001\210\001\001B\017\n\r"
+          + "\021request_timestamp",
+      "\030\346\336\311\370\001 \001(\tH\001\210\001\001B\017\n\r"
           + "_max_durationB\024\n"
           + "\022_request_timestamp\"q\n"
           + "\026ManagedInstanceVersion\022\"\n"
@@ -22473,10 +22556,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001B\016\n"
           + "\014_fingerprintB\007\n"
           + "\005_kind\"\217\002\n"
-          + "\016MetadataFilter\022L\n"
-          + "\r"
-          + "filter_labels\030\246\365\350\222\001"
-          + " \003(\01321.google.cloud.compute.v1.MetadataFilterLabelMatch\022%\n"
+          + "\016MetadataFilter\022L\n\r"
+          + "filter_labels\030\246\365\350\222\001 \003(\01321.goo"
+          + "gle.cloud.compute.v1.MetadataFilterLabelMatch\022%\n"
           + "\025filter_match_criteria\030\300\320\266r \001(\tH\000\210\001\001\"n\n"
           + "\023FilterMatchCriteria\022#\n"
           + "\037UNDEFINED_FILTER_MATCH_CRITERIA\020\000\022\020\n"
@@ -22494,13 +22576,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022l\n"
-          + "®ion_addresses_move_request_resource\030\304\260\210\303\001 \001(\01323.goog"
-          + "le.cloud.compute.v1.RegionAddressesMoveRequestB\003\340A\002\022\032\n\n"
+          + "®ion_addresses_move_request_resource\030\304\260\210\303\001 "
+          + "\001(\01323.google.cloud.compute.v1.RegionAddressesMoveRequestB\003\340A\002\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\275\001\n"
           + "\026MoveDiskProjectRequest\022U\n"
-          + "\032disk_move_request_resource\030\312\302\240\225\001 \001("
-          + "\0132(.google.cloud.compute.v1.DiskMoveRequestB\003\340A\002\022!\n"
+          + "\032disk_move_request_resource\030\312\302\240\225\001"
+          + " \001(\0132(.google.cloud.compute.v1.DiskMoveRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
@@ -22512,18 +22594,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\360\001\n"
           + "\030MoveGlobalAddressRequest\022\030\n"
           + "\007address\030\364\267\336\334\001 \001(\tB\003\340A\002\022l\n"
-          + "&global_addresses_move_request_resource\030\363\361\261\220\001"
-          + " \001(\01323.google.cloud.compute.v1.GlobalAddressesMoveRequestB\003\340A\002\022!\n"
+          + "&global_addresses_move_request_resource\030\363\361\261\220\001 \001(\01323.google."
+          + "cloud.compute.v1.GlobalAddressesMoveRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\311\001\n"
           + "\032MoveInstanceProjectRequest\022]\n"
-          + "\036instance_move_request_resource\030\302\274\316\224\001 \001(\0132,.google"
-          + ".cloud.compute.v1.InstanceMoveRequestB\003\340A\002\022!\n"
+          + "\036instance_move_request_resource\030\302\274\316\224\001 \001("
+          + "\0132,.google.cloud.compute.v1.InstanceMoveRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
-          + "\340A\002\362G\007project\022\032\n"
-          + "\n"
+          + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\253\001\n"
           + "%MoveOrganizationSecurityPolicyRequest\022(\n"
@@ -22536,8 +22617,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\tNamedPort\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\000\210\001\001\022\024\n"
           + "\004port\030\201\261\322\001 \001(\005H\001\210\001\001B\007\n"
-          + "\005_name",
-      "B\007\n"
+          + "\005_nameB\007\n"
           + "\005_port\"\263\002\n"
           + "\010NamedSet\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\000\210\001\001\0223\n"
@@ -22595,12 +22675,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\tH\014\210\001\001\022\037\n"
           + "\017network_profile\030\230\371\305R \001(\tH\r"
           + "\210\001\001\022>\n"
-          + "\006params\030\206\363\253%"
-          + " \001(\0132&.google.cloud.compute.v1.NetworkParamsH\016\210\001\001\022<\n"
+          + "\006params\030\206\363\253% \001(\0132&.g"
+          + "oogle.cloud.compute.v1.NetworkParamsH\016\210\001\001\022<\n"
           + "\010peerings\030\263\252\251!"
           + " \003(\0132\'.google.cloud.compute.v1.NetworkPeering\022N\n"
-          + "\016routing_config\030\333\251\323\371\001 \001("
-          + "\0132-.google.cloud.compute.v1.NetworkRoutingConfigH\017\210\001\001\022\032\n"
+          + "\016routing_config\030\333\251\323\371\001"
+          + " \001(\0132-.google.cloud.compute.v1.NetworkRoutingConfigH\017\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\020\210\001\001\022!\n"
           + "\021self_link_with_id\030\202\254\235\025 \001(\tH\021\210\001\001\022\027\n"
           + "\013subnetworks\030\305\324\245\306\001 \003(\t\"\240\001\n"
@@ -22627,8 +22707,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\024\n"
           + "\022_self_link_with_id\"\247\006\n"
           + "\021NetworkAttachment\022]\n"
-          + "\024connection_endpoints\030\335\242\276\233\001 \003(\0132;.google.cloud.compu"
-          + "te.v1.NetworkAttachmentConnectedEndpoint\022&\n"
+          + "\024connection_endpoints\030\335\242\276\233\001 \003(\0132;.google.c"
+          + "loud.compute.v1.NetworkAttachmentConnectedEndpoint\022&\n"
           + "\025connection_preference\030\334\371\244\210\001 \001(\tH\000\210\001\001\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\033\n"
@@ -22662,8 +22742,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\022_self_link_with_id\"\273\003\n"
           + "\037NetworkAttachmentAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022U\n"
-          + "\005items\030\300\317\367/"
-          + " \003(\0132C.google.cloud.compute.v1.NetworkAttachmentAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132C.google.cloud.compute.v"
+          + "1.NetworkAttachmentAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n"
@@ -22671,8 +22751,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\004\210\001\001\032c\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022D\n"
-          + "\005value\030\002"
-          + " \001(\01325.google.cloud.compute.v1.NetworkAttachmentsScopedList:\0028\001B\005\n"
+          + "\005value\030\002 \001(\01325.google.cl"
+          + "oud.compute.v1.NetworkAttachmentsScopedList:\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
@@ -22740,14 +22820,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005_kindB\007\n"
           + "\005_nameB\t\n"
           + "\007_regionB\022\n"
-          + "\020_security_policyB\014\n\n"
+          + "\020_security_policyB\014\n"
+          + "\n"
           + "_self_linkB\024\n"
           + "\022_self_link_with_id\"\216\004\n"
           + "(NetworkEdgeSecurityServiceAggregatedList\022\024\n"
           + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\tH\001\210\001\001\022^\n"
-          + "\005items\030\300\317\367/ \003(\0132L.google.cloud.compute.v1.Network"
-          + "EdgeSecurityServiceAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132L.google.cloud.compute."
+          + "v1.NetworkEdgeSecurityServiceAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\004\210\001\001\022\027\n"
@@ -22756,8 +22837,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\005\210\001\001\032l\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022M\n"
-          + "\005value\030\002 \001(\0132>.google.cloud.compute.v1."
-          + "NetworkEdgeSecurityServicesScopedList:\0028\001B\007\n"
+          + "\005value\030\002 \001(\0132>.google.cloud.c"
+          + "ompute.v1.NetworkEdgeSecurityServicesScopedList:\0028\001B\007\n"
           + "\005_etagB\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
@@ -22765,8 +22846,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\316\001\n"
           + "%NetworkEdgeSecurityServicesScopedList\022^\n"
-          + "\036network_edge_security_services\030\254\313\370\020 \003(\01323."
-          + "google.cloud.compute.v1.NetworkEdgeSecurityService\0229\n"
+          + "\036network_edge_security_services\030\254\313\370\020"
+          + " \003(\01323.google.cloud.compute.v1.NetworkEdgeSecurityService\0229\n"
           + "\007warning\030\234\337\226\030 \001(\0132"
           + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n"
           + "\010_warning\"\236\003\n"
@@ -22780,23 +22861,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\014ipv6_address\030\234\263\357\242\001 \001(\tH\004\210\001\001\022\024\n"
           + "\004port\030\201\261\322\001 \001(\005H\005\210\001\001\0322\n"
           + "\020AnnotationsEntry\022\013\n"
-          + "\003key\030\001 \001(\t\022\r\n"
+          + "\003key\030\001 \001(\t\022\r"
+          + "\n"
           + "\005value\030\002 \001(\t:\0028\001B\032\n"
           + "\030_client_destination_portB\007\n"
           + "\005_fqdnB\013\n"
           + "\t_instanceB\r\n"
           + "\013_ip_addressB\017\n\r"
           + "_ipv6_addressB\007\n"
-          + "\005_port\"\211\013\n"
+          + "\005_port\"\256\013\n"
           + "\024NetworkEndpointGroup\022V\n"
-          + "\013annotations\030\244\366\2655 \003(\0132>.google.clo"
-          + "ud.compute.v1.NetworkEndpointGroup.AnnotationsEntry\022S\n\n"
-          + "app_engine\030\240\214\300\242\001 \001(\01326.go"
-          + "ogle.cloud.compute.v1.NetworkEndpointGroupAppEngineH\000\210\001\001\022[\n"
-          + "\016cloud_function\030\242\345\363\367\001"
-          + " \001(\0132:.google.cloud.compute.v1.NetworkEndpointGroupCloudFunctionH\001\210\001\001\022P\n"
-          + "\tcloud_run\030\201\313\3724"
-          + " \001(\01325.google.cloud.compute.v1.NetworkEndpointGroupCloudRunH\002\210\001\001\022\"\n"
+          + "\013annotations\030\244\366\2655 \003(\0132>."
+          + "google.cloud.compute.v1.NetworkEndpointGroup.AnnotationsEntry\022S\n\n"
+          + "app_engine\030\240\214\300\242\001"
+          + " \001(\01326.google.cloud.compute.v1.NetworkEndpointGroupAppEngineH\000\210\001\001\022[\n"
+          + "\016cloud_function\030\242\345\363\367\001 \001(\0132:.google.cloud.compute.v1"
+          + ".NetworkEndpointGroupCloudFunctionH\001\210\001\001\022P\n"
+          + "\tcloud_run\030\201\313\3724 \001(\01325.google.cloud.com"
+          + "pute.v1.NetworkEndpointGroupCloudRunH\002\210\001\001\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\003\210\001\001\022\035\n"
           + "\014default_port\030\277\367\360\311\001 \001(\005H\004\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\005\210\001\001\022\020\n"
@@ -22806,8 +22888,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007network\030\256\264\205o \001(\tH\t\210\001\001\022%\n"
           + "\025network_endpoint_type\030\323\306\2648 \001(\tH\n"
           + "\210\001\001\022N\n"
-          + "\010psc_data\030\311\333\246\" \001(\01324.go"
-          + "ogle.cloud.compute.v1.NetworkEndpointGroupPscDataH\013\210\001\001\022#\n"
+          + "\010psc_data\030\311\333\246\""
+          + " \001(\01324.google.cloud.compute.v1.NetworkEndpointGroupPscDataH\013\210\001\001\022#\n"
           + "\022psc_target_service\030\346\302\252\200\001 \001(\tH\014\210\001\001\022\026\n"
           + "\006region\030\364\315\240B \001(\tH\r"
           + "\210\001\001\022\032\n"
@@ -22817,18 +22899,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\004zone\030\254\307\344\001 \001(\tH\021\210\001\001\0322\n"
           + "\020AnnotationsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
-          + "\005value\030\002 \001(\t:\0028\001\"\212\002\n"
+          + "\005value\030\002 \001(\t:\0028\001\"\257\002\n"
           + "\023NetworkEndpointType\022#\n"
           + "\037UNDEFINED_NETWORK_ENDPOINT_TYPE\020\000\022\021\n"
-          + "\tGCE_VM_IP\020\331\355\320\277\001\022\026\n"
+          + "\tGCE_VM_IP\020\331\355\320\277\001\022#\n"
+          + "\033GCE_VM_IP_DEDICATED_BACKEND\020\236\210\256\231\001\022\026\n"
           + "\016GCE_VM_IP_PORT\020\247\344\245\357\001\022\030\n"
           + "\021GCE_VM_IP_PORTMAP\020\265\343\360\n"
           + "\022\032\n"
           + "\022INTERNET_FQDN_PORT\020\355\320\333\300\001\022\030\n"
           + "\020INTERNET_IP_PORT\020\233\333\345\343\001\022\037\n"
           + "\027NON_GCP_PRIVATE_IP_PORT\020\340\223\267\240\001\022\036\n"
-          + "\027PRIVATE_SERVICE_CONNECT\020\304\364\371\026\022\022\n"
-          + "\n"
+          + "\027PRIVATE_SERVICE_CONNECT\020\304\364\371\026\022\022\n\n"
           + "SERVERLESS\020\334\306\375\200\001B\r\n"
           + "\013_app_engineB\021\n"
           + "\017_cloud_functionB\014\n\n"
@@ -22850,8 +22932,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005_zone\"\335\003\n"
           + "\"NetworkEndpointGroupAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022X\n"
-          + "\005items\030\300\317\367/ \003(\0132F.goog"
-          + "le.cloud.compute.v1.NetworkEndpointGroupAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\013"
+          + "2F.google.cloud.compute.v1.NetworkEndpointGroupAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
@@ -22860,8 +22942,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\004\210\001\001\032f\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022G\n"
-          + "\005value\030\002 \001(\01328.goo"
-          + "gle.cloud.compute.v1.NetworkEndpointGroupsScopedList:\0028\001B\005\n"
+          + "\005value\030\002 \001("
+          + "\01328.google.cloud.compute.v1.NetworkEndpointGroupsScopedList:\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
@@ -22888,8 +22970,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\t_url_mask\"\271\002\n"
           + "\030NetworkEndpointGroupList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022?\n"
-          + "\005items\030\300\317\367/"
-          + " \003(\0132-.google.cloud.compute.v1.NetworkEndpointGroup\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132-.goog"
+          + "le.cloud.compute.v1.NetworkEndpointGroup\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n"
@@ -22918,11 +23000,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\022_psc_connection_idB\030\n"
           + "\026_psc_connection_status\"u\n"
           + "+NetworkEndpointGroupsAttachEndpointsRequest\022F\n"
-          + "\021network_endpoints\030\255\221\272G \003"
-          + "(\0132(.google.cloud.compute.v1.NetworkEndpoint\"u\n"
+          + "\021network_endpoints\030\255\221\272G"
+          + " \003(\0132(.google.cloud.compute.v1.NetworkEndpoint\"u\n"
           + "+NetworkEndpointGroupsDetachEndpointsRequest\022F\n"
-          + "\021network_endpoints\030\255\221\272G \003("
-          + "\0132(.google.cloud.compute.v1.NetworkEndpoint\"\244\001\n"
+          + "\021network_endpoints\030\255\221\272G"
+          + " \003(\0132(.google.cloud.compute.v1.NetworkEndpoint\"\244\001\n"
           + ")NetworkEndpointGroupsListEndpointsRequest\022\036\n\r"
           + "health_status\030\265\326\272\265\001 \001(\tH\000\210\001\001\"E\n"
           + "\014HealthStatus\022\033\n"
@@ -22949,15 +23031,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n"
           + "\010_warning\"\317\001\n"
           + "\037NetworkEndpointWithHealthStatus\022K\n"
-          + "\007healths\030\227\223\255{ \003(\01327"
-          + ".google.cloud.compute.v1.HealthStatusForNetworkEndpoint\022J\n"
+          + "\007healths\030\227\223\255{"
+          + " \003(\01327.google.cloud.compute.v1.HealthStatusForNetworkEndpoint\022J\n"
           + "\020network_endpoint\030\206\221\212\033"
           + " \001(\0132(.google.cloud.compute.v1.NetworkEndpointH\000\210\001\001B\023\n"
           + "\021_network_endpoint\"\332\003\n"
           + "#NetworkFirewallPolicyAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022Y\n"
-          + "\005items\030\300\317\367/ \003(\0132G.google.cl"
-          + "oud.compute.v1.NetworkFirewallPolicyAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132G.go"
+          + "ogle.cloud.compute.v1.NetworkFirewallPolicyAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
@@ -22966,8 +23048,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\004\210\001\001\032a\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022B\n"
-          + "\005value\030\002 \001(\01323.google."
-          + "cloud.compute.v1.FirewallPoliciesScopedList:\0028\001B\005\n"
+          + "\005value\030\002 \001(\01323."
+          + "google.cloud.compute.v1.FirewallPoliciesScopedList:\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
@@ -23029,7 +23111,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\tIPV6_ONLY\020\344\255\374%\022\036\n"
           + "\026UNSPECIFIED_STACK_TYPE\020\331\321\221\216\001B\030\n"
           + "\026_enable_vpc_scoped_dnsB\016\n"
-          + "\014_fingerprintB\r\n"
+          + "\014_fingerprintB\r"
+          + "\n"
           + "\013_igmp_queryB\036\n"
           + "\034_internal_ipv6_prefix_lengthB\023\n"
           + "\021_ipv6_access_typeB\017\n\r"
@@ -23060,8 +23143,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\257\001\n\r"
           + "NetworkParams\022b\n"
-          + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132?."
-          + "google.cloud.compute.v1.NetworkParams.ResourceManagerTagsEntry\032:\n"
+          + "\025resource_manager_tags\030\374\233\213\264\001"
+          + " \003(\0132?.google.cloud.compute.v1.NetworkParams.ResourceManagerTagsEntry\032:\n"
           + "\030ResourceManagerTagsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\"\316\010\n"
@@ -23115,11 +23198,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\016_state_detailsB\022\n"
           + "\020_update_strategy\"\314\003\n"
           + "\036NetworkPeeringConnectionStatus\022g\n"
-          + "\017consensus_state\030\311\275\213\265\001 \001(\0132E.google.cloud.compute.v1.Ne"
-          + "tworkPeeringConnectionStatusConsensusStateH\000\210\001\001\022r\n"
-          + "\025traffic_configuration\030\264\324\266? \001("
-          + "\0132K.google.cloud.compute.v1.NetworkPeeri"
-          + "ngConnectionStatusTrafficConfigurationH\001\210\001\001\022\037\n"
+          + "\017consensus_state\030\311\275\213\265\001 \001(\0132E.google.cloud.comput"
+          + "e.v1.NetworkPeeringConnectionStatusConsensusStateH\000\210\001\001\022r\n"
+          + "\025traffic_configuration\030",
+      "\264\324\266? \001(\0132K.google.cloud.compute.v1.Netwo"
+          + "rkPeeringConnectionStatusTrafficConfigurationH\001\210\001\001\022\037\n"
           + "\017update_strategy\030\251\334\365\002 \001(\tH\002\210\001\001\"j\n"
           + "\016UpdateStrategy\022\035\n"
           + "\031UNDEFINED_UPDATE_STRATEGY\020\000\022\020\n"
@@ -23179,17 +23262,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\016NetworkProfile\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022P\n"
-          + "\010features\030\275\310\263u \001(\01326.go"
-          + "ogle.cloud.compute.v1.NetworkProfileNetworkFeaturesH\002\210\001\001\022\020\n"
+          + "\010features\030\275\310\263u \001"
+          + "(\01326.google.cloud.compute.v1.NetworkProfileNetworkFeaturesH\002\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022J\n"
-          + "\010location\030\265\277\276\212\001 \001(\0132/"
-          + ".google.cloud.compute.v1.NetworkProfileLocationH\005\210\001\001\022\024\n"
+          + "\010location\030\265\277\276\212\001"
+          + " \001(\0132/.google.cloud.compute.v1.NetworkProfileLocationH\005\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\006\210\001\001\022P\n"
-          + "\014profile_type\030\220\300\315G"
-          + " \001(\01322.google.cloud.compute.v1.NetworkProfileProfileTypeH\007\210\001\001\022\032\n"
-          + "\t",
-      "self_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\022!\n"
+          + "\014profile_type\030\220\300\315G \001(\01322.google.clou"
+          + "d.compute.v1.NetworkProfileProfileTypeH\007\210\001\001\022\032\n"
+          + "\tself_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\022!\n"
           + "\021self_link_with_id\030\202\254\235\025 \001(\tH\t\210\001\001\022\024\n"
           + "\004zone\030\254\307\344\001 \001(\tH\n"
           + "\210\001\001B\025\n"
@@ -23250,9 +23332,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\tmulticast\030\370\227\330\300\001 \001(\tH\033\210\001\001\0227\n"
           + "&predefined_network_internal_ipv6_range\030\335\202\327\373\001 \001("
           + "\tH\034\210\001\001\022y\n"
-          + "\034predefined_subnetwork_ranges\030\316\304\363\302\001"
-          + " \003(\0132O.google.cloud.compute."
-          + "v1.NetworkProfileNetworkFeaturesPredefinedSubnetworkRange\022\033\n"
+          + "\034predefined_subnetwork_ranges\030\316\304\363\302\001 \003(\0132O.google.cloud.c"
+          + "ompute.v1.NetworkProfileNetworkFeaturesPredefinedSubnetworkRange\022\033\n"
           + "\017subnet_purposes\030\267\233\330\217\001 \003(\t\022\036\n"
           + "\022subnet_stack_types\030\240\354\267\370\001 \003(\t\022\037\n"
           + "\023subnetwork_purposes\030\306\240\361\373\001 \003(\t\022\"\n"
@@ -23533,8 +23614,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\031NetworksAddPeeringRequest\022\"\n"
           + "\022auto_create_routes\030\335\342\262\033 \001(\010H\000\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\001\210\001\001\022I\n"
-          + "\017network_peering\030\257\214\354\234\001"
-          + " \001(\0132\'.google.cloud.compute.v1.NetworkPeeringH\002\210\001\001\022\035\n"
+          + "\017network_peering\030\257\214\354\234\001 \001(\0132\'.goog"
+          + "le.cloud.compute.v1.NetworkPeeringH\002\210\001\001\022\035\n"
           + "\014peer_network\030\321\340\333\356\001 \001(\tH\003\210\001\001B\025\n"
           + "\023_auto_create_routesB\007\n"
           + "\005_nameB\022\n"
@@ -23544,9 +23625,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\004name\030\213\365\315\001 \001(\tH\000\210\001\001B\007\n"
           + "\005_name\"\326\001\n"
           + "%NetworksGetEffectiveFirewallsResponse\022s\n"
-          + "\020firewall_policys\030\302\312\374\303\001 \003(\013"
-          + "2U.google.cloud.compute.v1.NetworksGetEf"
-          + "fectiveFirewallsResponseEffectiveFirewallPolicy\0228\n"
+          + "\020firewall_policys\030\302\312\374\303\001"
+          + " \003(\0132U.google.cloud.compute.v1.Networ"
+          + "ksGetEffectiveFirewallsResponseEffectiveFirewallPolicy\0228\n"
           + "\tfirewalls\030\363\306\350\201\001"
           + " \003(\0132!.google.cloud.compute.v1.Firewall\"\363\003\n"
           + " \001(\tH\001\210\001\001\022\035\n"
           + "\014payload_name\030\234\265\234\217\001 \001(\tH\002\210\001\001\022C\n"
-          + "\017resend_interval\030\311\270\210\344\001"
-          + " \001(\0132!.google.cloud.compute.v1.DurationH\003\210\001\001\022\"\n"
+          + "\017resend_interval\030\311\270\210\344\001 \001(\013"
+          + "2!.google.cloud.compute.v1.DurationH\003\210\001\001\022\"\n"
           + "\022retry_duration_sec\030\335\316\2247 \001(\r"
           + "H\004\210\001\001B\014\n\n"
           + "_authorityB\013\n"
@@ -23995,45 +24077,47 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " \003(\0132-.google.cloud.compute.v1.NotificationEndpoint\0229\n"
           + "\007warning\030\234\337\226\030 \001(\0132"
           + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n"
-          + "\010_warning\"\306\r\n"
+          + "\010_warning\"\315\016\n"
           + "\tOperation\022$\n"
           + "\023client_operation_id\030\347\215\336\215\001 \001(\tH\000\210\001\001\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\030\n"
           + "\010end_time\030\261\247\3476 \001(\tH\003\210\001\001\0225\n"
           + "\005error\030\210\244\223."
-          + " \001(\0132\036.google.cloud.compute.v1.ErrorH\004\210\001\001\022d\n"
-          + "\036get_version_operation_metadata\030\327\220\315R"
-          + " \001(\01324.google.cloud.compute.v1.GetVersionOperationMetadataH\005\210\001\001\022\'\n"
-          + "\022http_error_message\030\331\372\310` \001(\tB\003\350G\004H\006\210\001\001\022,\n"
+          + " \001(\0132\036.google.cloud.compute.v1.ErrorH\004\210\001\001\022c\n"
+          + "\035get_health_operation_metadata\030\241\244\365\220\001"
+          + " \001(\01323.google.cloud.compute.v1.GetHealthOperationMetadataH\005\210\001\001\022d\n"
+          + "\036get_version_operation_metadata\030\327\220\315R \001(\01324"
+          + ".google.cloud.compute.v1.GetVersionOperationMetadataH\006\210\001\001\022\'\n"
+          + "\022http_error_message\030\331\372\310` \001(\tB\003\350G\004H\007\210\001\001\022,\n"
           + "\026http_error_status_code\030\354\204\370\224\001"
-          + " \001(\005B\003\350G\003H\007\210\001\001\022\020\n"
-          + "\002id\030\233\032 \001(\004H\010\210\001\001\022\034\n"
-          + "\013insert_time\030\223\251\350\316\001 \001(\tH\t\210\001\001\022w\n"
+          + " \001(\005B\003\350G\003H\010\210\001\001\022\020\n"
+          + "\002id\030\233\032 \001(\004H\t\210\001\001\022\034\n"
+          + "\013insert_time\030\223\251\350\316\001 \001(\tH\n"
+          + "\210\001\001\022w\n"
           + "(instances_bulk_insert_operation_metadata\030\301\206\301*"
-          + " \001(\0132=.google.cloud.compute.v1.InstancesBulkInsertOperationMetadataH\n"
-          + "\210\001\001\022\024\n"
-          + "\004kind\030\224\367\310\001 \001(\tH\013\210\001\001\022\031\n"
-          + "\004name\030\213\365\315\001 \001(\tB\003\350G\001H\014\210\001\001\022\"\n"
-          + "\022operation_group_id\030\263\355\223\023 \001(\tH\r"
-          + "\210\001\001\022\036\n"
-          + "\016operation_type\030\222\366\332T \001(\tH\016\210\001\001\022\030\n"
-          + "\010progress\030\255\204\323\" \001(\005H\017\210\001\001\022\026\n"
-          + "\006region\030\364\315\240B \001(\tH\020\210\001\001\022\032\n"
-          + "\tself_link\030\215\222\305\331\001 \001(\tH\021\210\001\001\022\205\001\n"
+          + " \001(\0132=.google.cloud.compute.v1.InstancesBulkInsertOperationMetadataH\013\210\001\001\022\024\n"
+          + "\004kind\030\224\367\310\001 \001(\tH\014\210\001\001\022\031\n"
+          + "\004name\030\213\365\315\001 \001(\tB\003\350G\001H\r"
+          + "\210\001\001\022\"\n"
+          + "\022operation_group_id\030\263\355\223\023 \001(\tH\016\210\001\001\022\036\n"
+          + "\016operation_type\030\222\366\332T \001(\tH\017\210\001\001\022\030\n"
+          + "\010progress\030\255\204\323\" \001(\005H\020\210\001\001\022\026\n"
+          + "\006region\030\364\315\240B \001(\tH\021\210\001\001\022\032\n"
+          + "\tself_link\030\215\222\305\331\001 \001(\tH\022\210\001\001\022\205\001\n"
           + "/set_common_instance_metadata_operation_metadata\030\344\255\352\351\001"
-          + " \001(\0132C.google.cloud.co"
-          + "mpute.v1.SetCommonInstanceMetadataOperationMetadataH\022\210\001\001\022\032\n\n"
-          + "start_time\030\212\351\356\021 \001(\tH\023\210\001\001\022F\n"
+          + " \001(\0132C.google.cloud.compute.v1.Set"
+          + "CommonInstanceMetadataOperationMetadataH\023\210\001\001\022\032\n\n"
+          + "start_time\030\212\351\356\021 \001(\tH\024\210\001\001\022F\n"
           + "\006status\030\362\237\267V"
-          + " \001(\0162).google.cloud.compute.v1.Operation.StatusB\003\350G\002H\024\210\001\001\022\037\n"
-          + "\016status_message\030\272\311\351\215\001 \001(\tH\025\210\001\001\022\031\n"
-          + "\ttarget_id\030\211\225\215{ \001(\004H\026\210\001\001\022\033\n"
-          + "\013target_link\030\350\223\361\035 \001(\tH\027\210\001\001\022\024\n"
-          + "\004user\030\313\327\333\001 \001(\tH\030\210\001\001\0227\n"
+          + " \001(\0162).google.cloud.compute.v1.Operation.StatusB\003\350G\002H\025\210\001\001\022\037\n"
+          + "\016status_message\030\272\311\351\215\001 \001(\tH\026\210\001\001\022\031\n"
+          + "\ttarget_id\030\211\225\215{ \001(\004H\027\210\001\001\022\033\n"
+          + "\013target_link\030\350\223\361\035 \001(\tH\030\210\001\001\022\024\n"
+          + "\004user\030\313\327\333\001 \001(\tH\031\210\001\001\0227\n"
           + "\010warnings\030\327\210\301\355\001"
           + " \003(\0132!.google.cloud.compute.v1.Warnings\022\024\n"
-          + "\004zone\030\254\307\344\001 \001(\tH\031\210\001\001\"K\n"
+          + "\004zone\030\254\307\344\001 \001(\tH\032\210\001\001\"K\n"
           + "\006Status\022\024\n"
           + "\020UNDEFINED_STATUS\020\000\022\013\n"
           + "\004DONE\020\202\267\200\001\022\016\n"
@@ -24043,7 +24127,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\023_creation_timestampB\016\n"
           + "\014_descriptionB\013\n"
           + "\t_end_timeB\010\n"
-          + "\006_errorB!\n"
+          + "\006_errorB \n"
+          + "\036_get_health_operation_metadataB!\n"
           + "\037_get_version_operation_metadataB\025\n"
           + "\023_http_error_messageB\031\n"
           + "\027_http_error_status_codeB\005\n"
@@ -24067,19 +24152,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005_zone\"\274\003\n"
           + "\027OperationAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022M\n"
-          + "\005items\030\300\317\367/"
-          + " \003(\0132;.google.cloud.compute.v1.OperationAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132;.google"
+          + ".cloud.compute.v1.OperationAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
           + "\014unreachables\030\237\240\206t \003(\t\0229\n"
           + "\007warning\030\234\337\226\030 \001(\0132"
-          + " .google.cloud.compute.v1.WarningH\004\210\001\001\032[\n"
-          + "\n"
+          + " .google.cloud.compute.v1.WarningH\004\210\001\001\032[\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022<\n"
-          + "\005value\030\002 \001(\0132"
-          + "-.google.cloud.compute.v1.OperationsScopedList:\0028\001B\005\n"
+          + "\005value\030\002"
+          + " \001(\0132-.google.cloud.compute.v1.OperationsScopedList:\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
@@ -24104,13 +24188,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n"
           + "\010_warning\"\243\001\n"
           + "4OrganizationSecurityPoliciesListAssociationsResponse\022L\n"
-          + "\014associations\030\222\350\312\362\001"
-          + " \003(\01322.google.cloud.compute.v1.SecurityPolicyAssociation\022\024\n"
+          + "\014associations\030\222\350\312\362\001 \003(\01322.google.clou"
+          + "d.compute.v1.SecurityPolicyAssociation\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\000\210\001\001B\007\n"
           + "\005_kind\"\332\006\n"
           + "\020OutlierDetection\022E\n"
-          + "\022base_ejection_time\030\207\327\317&"
-          + " \001(\0132!.google.cloud.compute.v1.DurationH\000\210\001\001\022#\n"
+          + "\022base_ejection_time\030\207\327\317& \001("
+          + "\0132!.google.cloud.compute.v1.DurationH\000\210\001\001\022#\n"
           + "\022consecutive_errors\030\240\263\320\270\001 \001(\005H\001\210\001\001\022,\n"
           + "\033consecutive_gateway_failure\030\372\267\212\307\001"
           + " \001(\005H\002\210\001\001\022,\n"
@@ -24164,20 +24248,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\016_num_intervalsB\007\n"
           + "\005_type\"\272\006\n"
           + "\017PacketMirroring\022Z\n\r"
-          + "collector_ilb\030\355\211\266\313\001"
-          + " \001(\0132:.google.cloud.compute.v1.PacketMirroringForwardingRuleInfoH\000\210\001\001\022\"\n"
+          + "collector_ilb\030\355\211\266\313\001 \001(\0132:.goo"
+          + "gle.cloud.compute.v1.PacketMirroringForwardingRuleInfoH\000\210\001\001\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\027\n"
           + "\006enable\030\203\313\324\224\001 \001(\tH\003\210\001\001\022G\n"
-          + "\006filter\030\370\226\243\240\001 \001(\0132..google.cl"
-          + "oud.compute.v1.PacketMirroringFilterH\004\210\001\001\022\020\n"
+          + "\006filter\030\370\226\243\240\001"
+          + " \001(\0132..google.cloud.compute.v1.PacketMirroringFilterH\004\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\004H\005\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\006\210\001\001\022`\n"
-          + "\022mirrored_resources\030\304\237\302; \001(\0132<.googl"
-          + "e.cloud.compute.v1.PacketMirroringMirroredResourceInfoH\007\210\001\001\022\024\n"
+          + "\022mirrored_resources\030\304\237\302; \001(\0132<.google.cloud.compute.v1"
+          + ".PacketMirroringMirroredResourceInfoH\007\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\010\210\001\001\022L\n"
-          + "\007network\030\256\264\205o"
-          + " \001(\01323.google.cloud.compute.v1.PacketMirroringNetworkInfoH"
+          + "\007network\030\256\264\205o "
+          + "\001(\01323.google.cloud.compute.v1.PacketMirroringNetworkInfoH"
           + "\t\210\001\001\022\031\n"
           + "\010priority\030\244\363\241\324\001 \001(\r"
           + "H\n"
@@ -24203,8 +24287,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_link\"\316\003\n"
           + "\035PacketMirroringAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022S\n"
-          + "\005items\030\300\317\367/ \003(\0132A.google.cloud."
-          + "compute.v1.PacketMirroringAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/"
+          + " \003(\0132A.google.cloud.compute.v1.PacketMirroringAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
@@ -24213,8 +24297,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\004\210\001\001\032a\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022B\n"
-          + "\005value\030\002"
-          + " \001(\01323.google.cloud.compute.v1.PacketMirroringsScopedList:\0028\001B\005\n"
+          + "\005value\030\002 \001"
+          + "(\01323.google.cloud.compute.v1.PacketMirroringsScopedList:\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
@@ -24246,15 +24330,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\004\210\001\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
-          + "\020_next_page_tokenB\014\n\n"
+          + "\020_next_page_tokenB\014\n"
+          + "\n"
           + "_self_linkB\n\n"
           + "\010_warning\"\367\001\n"
           + "#PacketMirroringMirroredResourceInfo\022^\n"
           + "\tinstances\030\376\374\357\r"
-          + " \003(\0132H.google.cloud.c"
-          + "ompute.v1.PacketMirroringMirroredResourceInfoInstanceInfo\022_\n"
-          + "\013subnetworks\030\305\324\245\306\001 \003"
-          + "(\0132F.google.cloud.compute.v1.PacketMirroringMirroredResourceInfoSubnetInfo\022\017\n"
+          + " \003(\0132H.google.cloud.compute.v1.PacketMi"
+          + "rroringMirroredResourceInfoInstanceInfo\022_\n"
+          + "\013subnetworks\030\305\324\245\306\001 \003(\0132F.google.cloud."
+          + "compute.v1.PacketMirroringMirroredResourceInfoSubnetInfo\022\017\n"
           + "\004tags\030\231\350\330\001 \003(\t\"\177\n"
           + "/PacketMirroringMirroredResourceInfoInstanceInfo\022\036\n\r"
           + "canonical_url\030\244\377\243\364\001 \001(\tH\000\210\001\001\022\022\n"
@@ -24272,15 +24357,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\016_canonical_urlB\006\n"
           + "\004_url\"\253\001\n"
           + "\032PacketMirroringsScopedList\022F\n"
-          + "\021packet_mirrorings\030\247\372\334I \003(\0132(.g"
-          + "oogle.cloud.compute.v1.PacketMirroring\0229\n"
+          + "\021packet_mirrorings\030\247\372\334I"
+          + " \003(\0132(.google.cloud.compute.v1.PacketMirroring\0229\n"
           + "\007warning\030\234\337\226\030 \001(\0132"
           + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n"
           + "\010_warning\"\371\001\n"
           + "\026PatchAutoscalerRequest\022\033\n\n"
           + "autoscaler\030\327\375\322\366\001 \001(\tH\000\210\001\001\022H\n"
-          + "\023autoscaler_resource\030\366\360\377b \001(\0132#."
-          + "google.cloud.compute.v1.AutoscalerB\003\340A\002\022!\n"
+          + "\023autoscaler_resource\030\366\360\377b"
+          + " \001(\0132#.google.cloud.compute.v1.AutoscalerB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\033\n"
@@ -24290,8 +24375,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\333\001\n"
           + "\031PatchBackendBucketRequest\022\036\n"
           + "\016backend_bucket\030\365\343\335+ \001(\tB\003\340A\002\022P\n"
-          + "\027backend_bucket_resource\030\230\316\307\265\001"
-          + " \001(\0132&.google.cloud.compute.v1.BackendBucketB\003\340A\002\022!\n"
+          + "\027backend_bucket_resource\030\230\316\307\265\001 \001"
+          + "(\0132&.google.cloud.compute.v1.BackendBucketB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
@@ -24306,8 +24391,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\307\002\n"
           + "\034PatchCrossSiteNetworkRequest\022\"\n"
           + "\022cross_site_network\030\325\305\3133 \001(\tB\003\340A\002\022V\n"
-          + "\033cross_site_network_resource\030\270\344\335\016 \001(\0132"
-          + ").google.cloud.compute.v1.CrossSiteNetworkB\003\340A\002\022!\n"
+          + "\033cross_site_network_resource\030\270\344\335\016"
+          + " \001(\0132).google.cloud.compute.v1.CrossSiteNetworkB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\034\n"
@@ -24318,8 +24403,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\016_validate_only\"\275\001\n"
           + "\032PatchFirewallPolicyRequest\022 \n"
           + "\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022R\n"
-          + "\030firewall_policy_resource\030\274\266\207\354\001 "
-          + "\001(\0132\'.google.cloud.compute.v1.FirewallPolicyB\003\340A\002\022\032\n\n"
+          + "\030firewall_policy_resource\030\274\266\207\354\001"
+          + " \001(\0132\'.google.cloud.compute.v1.FirewallPolicyB\003\340A\002\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\305\001\n"
           + "\024PatchFirewallRequest\022\031\n"
@@ -24332,8 +24417,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\201\002\n"
           + "\032PatchForwardingRuleRequest\022 \n"
           + "\017forwarding_rule\030\376\245\335\200\001 \001(\tB\003\340A\002\022R\n"
-          + "\030forwarding_rule_resource\030\257\300\320\217\001 \001(\0132\'.go"
-          + "ogle.cloud.compute.v1.ForwardingRuleB\003\340A\002\022!\n"
+          + "\030forwarding_rule_resource\030\257\300\320\217\001"
+          + " \001(\0132\'.google.cloud.compute.v1.ForwardingRuleB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
@@ -24341,8 +24426,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\346\001\n"
           + " PatchGlobalForwardingRuleRequest\022 \n"
           + "\017forwarding_rule\030\376\245\335\200\001 \001(\tB\003\340A\002\022R\n"
-          + "\030forwarding_rule_resource\030\257\300\320\217\001"
-          + " \001(\0132\'.google.cloud.compute.v1.ForwardingRuleB\003\340A\002\022!\n"
+          + "\030forwarding_rule_resource\030\257\300\320\217\001 "
+          + "\001(\0132\'.google.cloud.compute.v1.ForwardingRuleB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
@@ -24351,14 +24436,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\'\n"
           + "\027public_delegated_prefix\030\350\334\261a \001(\tB\003\340A\002\022`\n"
-          + " public_delegated_prefix_resource\030\205\370\330\026 \001(\0132..google"
-          + ".cloud.compute.v1.PublicDelegatedPrefixB\003\340A\002\022\032\n\n"
+          + " public_delegated_prefix_resource\030\205\370\330\026"
+          + " \001(\0132..google.cloud.compute.v1.PublicDelegatedPrefixB\003\340A\002\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\323\001\n"
           + "\027PatchHealthCheckRequest\022\035\n"
           + "\014health_check\030\345\252\244\223\001 \001(\tB\003\340A\002\022K\n"
-          + "\025health_check_resource\030\250\303\244`"
-          + " \001(\0132$.google.cloud.compute.v1.HealthCheckB\003\340A\002\022!\n"
+          + "\025health_check_resource\030\250\303\244` \001"
+          + "(\0132$.google.cloud.compute.v1.HealthCheckB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
@@ -24371,10 +24456,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\225\002\n"
-          + " PatchInstanceGroupManagerRequest\022&\n"
+          + " Patc",
+      "hInstanceGroupManagerRequest\022&\n"
           + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022^\n"
-          + "\037instance_group_manager_resource\030\212\212\276|"
-          + " \001(\0132-.google.cloud.compute.v1.InstanceGroupManagerB\003\340A\002\022!\n"
+          + "\037instance_group_manager_resource\030\212\212\276| \001(\0132-.googl"
+          + "e.cloud.compute.v1.InstanceGroupManagerB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
@@ -24382,8 +24468,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\004zoneB\r\n"
           + "\013_request_id\"\216\002\n"
           + "\033PatchInstanceSettingRequest\022V\n"
-          + "\032instance_settings_resource\030\200\247\316\212\001 \001("
-          + "\0132).google.cloud.compute.v1.InstanceSettingsB\003\340A\002\022!\n"
+          + "\032instance_settings_resource\030\200\247\316\212\001"
+          + " \001(\0132).google.cloud.compute.v1.InstanceSettingsB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\034\n"
@@ -24394,27 +24480,29 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\014_update_mask\"\302\002\n"
           + "\'PatchInterconnectAttachmentGroupRequest\022-\n"
           + "\035interconnect_attachment_group\030\364\357\230$ \001(\tB\003\340A\002\022l\n"
-          + "&interconnect_attachment_group_resource\030\371\337\341\004 \001(\01324.google.cloud."
-          + "compute.v1.InterconnectAttachmentGroupB\003\340A\002\022!\n"
+          + "&interconnect_attachment_group_resource\030\371\337\341\004"
+          + " \001(\01324.google.cloud.compute.v1.InterconnectAttachmentGroupB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\034\n"
-          + "\013update_mask\030\242\271\272\356\001 \001(\tH\001\210\001\001B\r\n"
+          + "\013update_mask\030\242\271\272\356\001 \001(\tH\001\210\001\001B\r"
+          + "\n"
           + "\013_request_idB\016\n"
           + "\014_update_mask\"\240\002\n"
           + "\"PatchInterconnectAttachmentRequest\022(\n"
           + "\027interconnect_attachment\030\364\212\367\222\001 \001(\tB\003\340A\002\022a\n"
-          + " interconnect_attachment_resource\030\371\244\240e"
-          + " \001(\0132/.google.cloud.compute.v1.InterconnectAttachmentB\003\340A\002\022!\n"
+          + " interconnect_attachment_resource\030\371\244\240e \001(\0132/.go"
+          + "ogle.cloud.compute.v1.InterconnectAttachmentB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
-          + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
+          + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n"
+          + "\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\231\002\n"
           + "\035PatchInterconnectGroupRequest\022#\n"
           + "\022interconnect_group\030\216\267\251\271\001 \001(\tB\003\340A\002\022W\n"
-          + "\033interconnect_group_resource\030\237\363\346("
-          + " \001(\0132*.google.cloud.compute.v1.InterconnectGroupB\003\340A\002\022!\n"
+          + "\033interconnect_group_resource\030\237\363\346( \001(\0132*.google"
+          + ".cloud.compute.v1.InterconnectGroupB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\034\n"
@@ -24423,15 +24511,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\014_update_mask\"\325\001\n"
           + "\030PatchInterconnectRequest\022\034\n"
           + "\014interconnect\030\216\311\214k \001(\tB\003\340A\002\022M\n"
-          + "\025interconnect_resource\030\237\241\314\275\001 \001(\0132%.g"
-          + "oogle.cloud.compute.v1.InterconnectB\003\340A\002\022!\n"
+          + "\025interconnect_resource\030\237\241\314\275\001"
+          + " \001(\0132%.google.cloud.compute.v1.InterconnectB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\353\001\n"
           + "\032PatchNamedSetRouterRequest\022F\n"
-          + "\022named_set_resource\030\221\275\353\302\001"
-          + " \001(\0132!.google.cloud.compute.v1.NamedSetB\003\340A\002\022!\n"
+          + "\022named_set_resource\030\221\275\353\302\001 "
+          + "\001(\0132!.google.cloud.compute.v1.NamedSetB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
@@ -24445,18 +24533,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
-          + "request_id\030\313\201",
-      "\331\021 \001(\tH\000\210\001\001B\r\n"
+          + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\203\003\n"
           + "&PatchNetworkEdgeSecurityServiceRequest\022-\n"
           + "\035network_edge_security_service\030\247\237\357J \001(\tB\003\340A\002\022l\n"
-          + "&network_edge_security_service_resource\030\246\243\333\343\001"
-          + " \001(\01323.google.cloud.compute.v1.NetworkEdgeSecurityServiceB\003\340A\002\022\025\n"
+          + "&network_edge_security_service_resource\030\246\243\333\343\001 \001(\01323.google."
+          + "cloud.compute.v1.NetworkEdgeSecurityServiceB\003\340A\002\022\025\n"
           + "\005paths\030\356\301\3402 \001(\tH\000\210\001\001\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
-          + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n"
-          + "\n"
+          + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\034\n"
           + "\013update_mask\030\242\271\272\356\001 \001(\tH\002\210\001\001B\010\n"
           + "\006_pathsB\r\n"
@@ -24506,8 +24592,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\252\002\n"
           + "4PatchPacketMirroringRuleNetworkFirewallPolicyRequest\022 \n"
           + "\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022Z\n"
-          + "\035firewall_policy_rule_resource\030\203\337\272w \001(\0132"
-          + "+.google.cloud.compute.v1.FirewallPolicyRuleB\003\340A\002\022\031\n"
+          + "\035firewall_policy_rule_resource\030\203\337\272w"
+          + " \001(\0132+.google.cloud.compute.v1.FirewallPolicyRuleB\003\340A\002\022\031\n"
           + "\010priority\030\244\363\241\324\001 \001(\005H\000\210\001\001\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
@@ -24516,10 +24602,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\344\002\n"
           + "2PatchPerInstanceConfigsInstanceGroupManagerRequest\022&\n"
           + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\232\001\n"
-          + "?instance_grou"
-          + "p_managers_patch_per_instance_configs_req_resource\030\377\233\210\252\001"
-          + " \001(\0132H.google.cloud.comp"
-          + "ute.v1.InstanceGroupManagersPatchPerInstanceConfigsReqB\003\340A\002\022!\n"
+          + "?instance_group_managers_patch_per_instance_configs_req_resource\030\377\233\210\252\001"
+          + " \001(\0132H.google.cloud.compute.v1.InstanceGro"
+          + "upManagersPatchPerInstanceConfigsReqB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
@@ -24532,31 +24617,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\233\001\n"
           + "@region_instance_group_manager_patch_instance_config_req_resource\030\312\315\241^"
-          + " \001(\0132I.google.cloud.compute.v1."
-          + "RegionInstanceGroupManagerPatchInstanceConfigReqB\003\340A\002\022\032\n\n"
+          + " \001(\0132I.go"
+          + "ogle.cloud.compute.v1.RegionInstanceGroupManagerPatchInstanceConfigReqB\003\340A\002\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\201\002\n"
           + "#PatchPublicAdvertisedPrefixeRequest\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022(\n"
           + "\030public_advertised_prefix\030\236\367\3110 \001(\tB\003\340A\002\022b\n"
-          + "!public_advertised_prefix_resource\030\217\327\262o"
-          + " \001(\0132/.google.cloud.compute.v1.PublicAdvertisedPrefixB\003\340A\002\022\032\n\n"
+          + "!public_advertised_prefix_resource\030\217\327\262o \001("
+          + "\0132/.google.cloud.compute.v1.PublicAdvertisedPrefixB\003\340A\002\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\236\002\n"
           + "\"PatchPublicDelegatedPrefixeRequest\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\'\n"
           + "\027public_delegated_prefix\030\350\334\261a \001(\tB\003\340A\002\022`\n"
-          + " public_delegated_prefix_resource\030\205\370\330\026 \001(\0132..g"
-          + "oogle.cloud.compute.v1.PublicDelegatedPrefixB\003\340A\002\022\037\n"
+          + " public_delegated_prefix_resource\030\205\370\330\026"
+          + " \001(\0132..google.cloud.compute.v1.PublicDelegatedPrefixB\003\340A\002\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\203\002\n"
           + "\034PatchRegionAutoscalerRequest\022\033\n\n"
           + "autoscaler\030\327\375\322\366\001 \001(\tH\000\210\001\001\022H\n"
-          + "\023autoscaler_resource\030\366\360\377b"
-          + " \001(\0132#.google.cloud.compute.v1.AutoscalerB\003\340A\002\022!\n"
+          + "\023autoscaler_resource\030\366\360\377b \001("
+          + "\0132#.google.cloud.compute.v1.AutoscalerB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
@@ -24565,8 +24650,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\202\002\n"
           + "\037PatchRegionBackendBucketRequest\022\036\n"
           + "\016backend_bucket\030\365\343\335+ \001(\tB\003\340A\002\022P\n"
-          + "\027backend_bucket_resource\030\230\316\307\265\001"
-          + " \001(\0132&.google.cloud.compute.v1.BackendBucketB\003\340A\002\022!\n"
+          + "\027backend_bucket_resource\030\230\316\307\265\001 \001(\0132&.goo"
+          + "gle.cloud.compute.v1.BackendBucketB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
@@ -24574,8 +24659,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\207\002\n"
           + " PatchRegionBackendServiceRequest\022 \n"
           + "\017backend_service\030\212\300\256\222\001 \001(\tB\003\340A\002\022R\n"
-          + "\030backend_service_resource\030\243\201\337\245\001 \001(\0132\'."
-          + "google.cloud.compute.v1.BackendServiceB\003\340A\002\022!\n"
+          + "\030backend_service_resource\030\243\201\337\245\001"
+          + " \001(\0132\'.google.cloud.compute.v1.BackendServiceB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
@@ -24583,8 +24668,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\240\002\n"
           + "&PatchRegionCompositeHealthCheckRequest\022\'\n"
           + "\026composite_health_check\030\235\300\326\336\001 \001(\tB\003\340A\002\022^\n"
-          + "\037composite_health_check_resource\030\360\313\204? \001"
-          + "(\0132-.google.cloud.compute.v1.CompositeHealthCheckB\003\340A\002\022!\n"
+          + "\037composite_health_check_resource\030\360\313\204?"
+          + " \001(\0132-.google.cloud.compute.v1.CompositeHealthCheckB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
@@ -24628,8 +24713,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\237\002\n"
           + "&PatchRegionInstanceGroupManagerRequest\022&\n"
           + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022^\n"
-          + "\037instance_group_manager_resource\030\212\212\276| \001(\0132-.google."
-          + "cloud.compute.v1.InstanceGroupManagerB\003\340A\002\022!\n"
+          + "\037instance_group_manager_resource\030\212\212\276|"
+          + " \001(\0132-.google.cloud.compute.v1.InstanceGroupManagerB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
@@ -24660,8 +24745,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022V\n"
-          + "\032snapshot_settings_resource\030\357\215\306\252\001 \001(\0132).google."
-          + "cloud.compute.v1.SnapshotSettingsB\003\340A\002\022\034\n"
+          + "\032snapshot_settings_resource\030\357\215\306\252\001"
+          + " \001(\0132).google.cloud.compute.v1.SnapshotSettingsB\003\340A\002\022\034\n"
           + "\013update_mask\030\242\271\272\356\001 \001(\tH\001\210\001\001B\r\n"
           + "\013_request_idB\016\n"
           + "\014_update_mask\"\363\001\n"
@@ -24680,19 +24765,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\"\n"
           + "\022target_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002\022W\n"
-          + "\033target_https_proxy_resource\030\201\255\344\316\001 \001(\0132)."
-          + "google.cloud.compute.v1.TargetHttpsProxyB\003\340A\002B\r\n"
+          + "\033target_https_proxy_resource\030\201\255\344\316\001"
+          + " \001(\0132).google.cloud.compute.v1.TargetHttpsProxyB\003\340A\002B\r\n"
           + "\013_request_id\"\346\001\n"
           + "\030PatchRegionUrlMapRequest\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
-          + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n"
-          + "\n"
+          + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\030\n"
           + "\007url_map\030\214\225\201\257\001 \001(\tB\003\340A\002\022A\n"
           + "\020url_map_resource\030\341\220\267P"
-          + " \001(\0132\037.google.cloud.compute.v1.UrlMapB\003\340A\002B\r"
-          + "\n"
+          + " \001(\0132\037.google.cloud.compute.v1.UrlMapB\003\340A\002B\r\n"
           + "\013_request_id\"\255\002\n"
           + "\032PatchResourcePolicyRequest\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
@@ -24700,8 +24783,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\037\n"
           + "\017resource_policy\030\203\245\367K \001(\tB\003\340A\002\022Q\n"
-          + "\030resource_policy_resource\030\312\214\321$"
-          + " \001(\0132\'.google.cloud.compute.v1.ResourcePolicyB\003\340A\002\022\034\n"
+          + "\030resource_policy_resource\030\312\214\321$ \001(\0132\'.googl"
+          + "e.cloud.compute.v1.ResourcePolicyB\003\340A\002\022\034\n"
           + "\013update_mask\030\242\271\272\356\001 \001(\tH\001\210\001\001B\r\n"
           + "\013_request_idB\016\n"
           + "\014_update_mask\"\363\001\n"
@@ -24710,8 +24793,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022K\n"
-          + "\025route_policy_resource\030\205\275\2657 \001("
-          + "\0132$.google.cloud.compute.v1.RoutePolicyB\003\340A\002\022\026\n"
+          + "\025route_policy_resource\030\205\275\2657"
+          + " \001(\0132$.google.cloud.compute.v1.RoutePolicyB\003\340A\002\022\026\n"
           + "\006router\030\311\256\356F \001(\tB\003\340A\002B\r\n"
           + "\013_request_id\"\335\001\n"
           + "\022PatchRouterRequest\022!\n"
@@ -24725,16 +24808,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\361\001\n"
           + "\036PatchRuleFirewallPolicyRequest\022 \n"
           + "\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022Z\n"
-          + "\035firewall_policy_rule_resource\030\203\337\272w"
-          + " \001(\0132+.google.cloud.compute.v1.FirewallPolicyRuleB\003\340A\002\022\031\n"
-          + "\010priority\030\244\363\241\324\001 \001(\005H\000\210\001\001\022\032\n\n"
+          + "\035firewall_policy_rule_resource\030\203\337\272w \001(\013"
+          + "2+.google.cloud.compute.v1.FirewallPolicyRuleB\003\340A\002\022\031\n"
+          + "\010priority\030\244\363\241\324\001 \001(\005H\000\210\001\001\022\032\n"
+          + "\n"
           + "request_id\030\313\201\331\021 \001(\tH\001\210\001\001B\013\n"
-          + "\t_priorityB\r\n"
+          + "\t_priorityB\r"
+          + "\n"
           + "\013_request_id\"\233\002\n"
           + "%PatchRuleNetworkFirewallPolicyRequest\022 \n"
           + "\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022Z\n"
-          + "\035firewall_policy_rule_resource\030\203\337\272w \001(\0132+.google.c"
-          + "loud.compute.v1.FirewallPolicyRuleB\003\340A\002\022\031\n"
+          + "\035firewall_policy_rule_resource\030\203\337\272w"
+          + " \001(\0132+.google.cloud.compute.v1.FirewallPolicyRuleB\003\340A\002\022\031\n"
           + "\010priority\030\244\363\241\324\001 \001(\005H\000\210\001\001\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
@@ -24745,15 +24830,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\010priority\030\244\363\241\324\001 \001(\005H\000\210\001\001\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\037\n"
           + "\017security_policy\030\221\206\312Q \001(\tB\003\340A\002\022[\n"
-          + "\035security_policy_rule_resource\030\303\272\202\300\001"
-          + " \001(\0132+.google.cloud.compute.v1.SecurityPolicyRuleB\003\340A\002B\013\n"
-          + "\t_priorityB\r"
-          + "\n"
+          + "\035security_policy_rule_resource\030\303\272\202\300\001 \001(\0132+."
+          + "google.cloud.compute.v1.SecurityPolicyRuleB\003\340A\002B\013\n"
+          + "\t_priorityB\r\n"
           + "\013_request_id\"\302\002\n"
           + "+PatchRuleRegionNetworkFirewallPolicyRequest\022 \n"
           + "\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022Z\n"
-          + "\035firewall_policy_rule_resource\030\203\337\272w"
-          + " \001(\0132+.google.cloud.compute.v1.FirewallPolicyRuleB\003\340A\002\022\031\n"
+          + "\035firewall_policy_rule_resource\030\203\337\272w \001(\0132"
+          + "+.google.cloud.compute.v1.FirewallPolicyRuleB\003\340A\002\022\031\n"
           + "\010priority\030\244\363\241\324\001 \001(\005H\000\210\001\001\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
@@ -24767,8 +24851,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\037\n"
           + "\017security_policy\030\221\206\312Q \001(\tB\003\340A\002\022[\n"
-          + "\035security_policy_rule_resource\030\303\272\202\300\001 \001(\0132+.google."
-          + "cloud.compute.v1.SecurityPolicyRuleB\003\340A\002\022\034\n"
+          + "\035security_policy_rule_resource\030\303\272\202\300\001"
+          + " \001(\0132+.google.cloud.compute.v1.SecurityPolicyRuleB\003\340A\002\022\034\n"
           + "\013update_mask\030\242\271\272\356\001 \001(\tH\001\210\001\001\022\035\n\r"
           + "validate_only\030\265\372\337s \001(\010H\002\210\001\001B\013\n"
           + "\t_priorityB\016\n"
@@ -24779,8 +24863,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\017security_policy\030\221\206\312Q \001(\tB\003\340A\002\022[\n"
-          + "\035security_policy_rule_resource\030\303\272\202\300\001 \001("
-          + "\0132+.google.cloud.compute.v1.SecurityPolicyRuleB\003\340A\002\022\034\n"
+          + "\035security_policy_rule_resource\030\303\272\202\300\001"
+          + " \001(\0132+.google.cloud.compute.v1.SecurityPolicyRuleB\003\340A\002\022\034\n"
           + "\013update_mask\030\242\271\272\356\001 \001(\tH\001\210\001\001\022\035\n\r"
           + "validate_only\030\265\372\337s \001(\010H\002\210\001\001B\013\n"
           + "\t_priorityB\016\n"
@@ -24791,8 +24875,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\037\n"
           + "\017security_policy\030\221\206\312Q \001(\tB\003\340A\002\022Q\n"
-          + "\030security_policy_resource\030\374\252\211g "
-          + "\001(\0132\'.google.cloud.compute.v1.SecurityPolicyB\003\340A\002\022\034\n"
+          + "\030security_policy_resource\030\374\252\211g"
+          + " \001(\0132\'.google.cloud.compute.v1.SecurityPolicyB\003\340A\002\022\034\n"
           + "\013update_mask\030\242\271\272\356\001 \001(\tH\001\210\001\001B\r\n"
           + "\013_request_idB\016\n"
           + "\014_update_mask\"\215\002\n"
@@ -24802,15 +24886,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022#\n"
           + "\022service_attachment\030\355\251\320\241\001 \001(\tB\003\340A\002\022X\n"
-          + "\033service_attachment_resource\030\240\266\304\341\001 \001(\0132*"
-          + ".google.cloud.compute.v1.ServiceAttachmentB\003\340A\002B\r\n"
+          + "\033service_attachment_resource\030\240\266\304\341\001"
+          + " \001(\0132*.google.cloud.compute.v1.ServiceAttachmentB\003\340A\002B\r\n"
           + "\013_request_id\"\361\001\n"
           + "\033PatchSnapshotSettingRequest\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022V\n"
-          + "\032snapshot_settings_resource\030\357\215\306\252\001 \001(\0132)."
-          + "google.cloud.compute.v1.SnapshotSettingsB\003\340A\002\022\034\n"
+          + "\032snapshot_settings_resource\030\357\215\306\252\001"
+          + " \001(\0132).google.cloud.compute.v1.SnapshotSettingsB\003\340A\002\022\034\n"
           + "\013update_mask\030\242\271\272\356\001 \001(\tH\001\210\001\001B\r\n"
           + "\013_request_idB\016\n"
           + "\014_update_mask\"\314\001\n"
@@ -24819,8 +24903,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\n"
           + "ssl_policy\030\305\375\340\214\001 \001(\tB\003\340A\002\022H\n"
-          + "\023ssl_policy_resource\030\310\210\212\203\001"
-          + " \001(\0132\".google.cloud.compute.v1.SslPolicyB\003\340A\002B\r\n"
+          + "\023ssl_policy_resource\030\310\210\212\203\001 \001(\0132"
+          + "\".google.cloud.compute.v1.SslPolicyB\003\340A\002B\r\n"
           + "\013_request_id\"\260\002\n"
           + "\026PatchSubnetworkRequest\022&\n"
           + "\025drain_timeout_seconds\030\332\332\310\252\001 \001(\005H\000\210\001\001\022!\n"
@@ -24829,8 +24913,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\033\n\n"
           + "subnetwork\030\356\247\344\222\001 \001(\tB\003\340A\002\022H\n"
-          + "\023subnetwork_resource\030\277\332\221\024"
-          + " \001(\0132#.google.cloud.compute.v1.SubnetworkB\003\340A\002B\030\n"
+          + "\023subnetwork_resource\030\277\332\221\024 \001(\0132"
+          + "#.google.cloud.compute.v1.SubnetworkB\003\340A\002B\030\n"
           + "\026_drain_timeout_secondsB\r\n"
           + "\013_request_id\"\345\001\n"
           + "\033PatchTargetGrpcProxyRequest\022!\n"
@@ -24846,24 +24930,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022!\n"
           + "\021target_http_proxy\030\345\276\322b \001(\tB\003\340A\002\022T\n"
-          + "\032target_http_proxy_resource\030\250\257\343\013"
-          + " \001(\0132(.google.cloud.compute.v1.TargetHttpProxyB\003\340A\002B\r\n"
+          + "\032target_http_proxy_resource\030\250\257\343\013 "
+          + "\001(\0132(.google.cloud.compute.v1.TargetHttpProxyB\003\340A\002B\r\n"
           + "\013_request_id\"\351\001\n"
           + "\034PatchTargetHttpsProxyRequest\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\"\n"
           + "\022target_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002\022W\n"
-          + "\033target_https_proxy_resource\030\201\255\344\316\001"
-          + " \001(\0132).google.cloud.compute.v1.TargetHttpsProxyB\003\340A\002B\r\n"
+          + "\033target_https_proxy_resource\030\201\255\344\316\001 \001(\0132)"
+          + ".google.cloud.compute.v1.TargetHttpsProxyB\003\340A\002B\r\n"
           + "\013_request_id\"\277\001\n"
           + "\022PatchUrlMapRequest\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\030\n"
           + "\007url_map\030\214\225\201\257\001 \001(\tB\003\340A\002\022A\n"
-          + "\020url_map_resource\030\341\220\267P"
-          + " \001(\0132\037.google.cloud.compute.v1.UrlMapB\003\340A\002B\r\n"
+          + "\020url_map_resource\030\341\220\267P \001"
+          + "(\0132\037.google.cloud.compute.v1.UrlMapB\003\340A\002B\r\n"
           + "\013_request_id\"\315\002\n"
           + "\025PatchWireGroupRequest\022\"\n"
           + "\022cross_site_network\030\325\305\3133 \001(\tB\003\340A\002\022!\n"
@@ -24873,26 +24957,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013update_mask\030\242\271\272\356\001 \001(\tH\001\210\001\001\022\035\n\r"
           + "validate_only\030\265\372\337s \001(\010H\002\210\001\001\022\032\n\n"
           + "wire_group\030\305\244\267: \001(\tB\003\340A\002\022G\n"
-          + "\023wire_group_resource\030\310\301\3537 \001(\0132"
-          + "\".google.cloud.compute.v1.WireGroupB\003\340A\002B\r\n"
+          + "\023wire_group_resource\030\310\301\3537"
+          + " \001(\0132\".google.cloud.compute.v1.WireGroupB\003\340A\002B\r\n"
           + "\013_request_idB\016\n"
           + "\014_update_maskB\020\n"
           + "\016_validate_only\"\322\005\n"
           + "\013PathMatcher\022h\n"
-          + "$default_custom_error_response_policy\030\251\213\340& \001(\01322.goo"
-          + "gle.cloud.compute.v1.CustomErrorResponsePolicyH\000\210\001\001\022O\n"
+          + "$default_custom_error_response_policy\030\251\213\340&"
+          + " \001(\01322.google.cloud.compute.v1.CustomErrorResponsePolicyH\000\210\001\001\022O\n"
           + "\024default_route_action\030\252\264\327\264\001"
           + " \001(\0132(.google.cloud.compute.v1.HttpRouteActionH\001\210\001\001\022 \n"
           + "\017default_service\030\267\345\305\260\001 \001(\tH\002\210\001\001\022R\n"
-          + "\024default_url_redirect\030\352\253\266\253\001 \001(\013"
-          + "2+.google.cloud.compute.v1.HttpRedirectActionH\003\210\001\001\022\034\n"
+          + "\024default_url_redirect\030\352\253\266\253\001"
+          + " \001(\0132+.google.cloud.compute.v1.HttpRedirectActionH\003\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\004\210\001\001\022I\n\r"
           + "header_action\030\250\240\270\234\001"
           + " \001(\0132).google.cloud.compute.v1.HttpHeaderActionH\005\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\006\210\001\001\0228\n\n"
           + "path_rules\030\335\300\3461 \003(\0132!.google.cloud.compute.v1.PathRule\022?\n"
-          + "\013route_rules\030\201\207\267\263\001"
-          + " \003(\0132&.google.cloud.compute.v1.HttpRouteRuleB\'\n"
+          + "\013route_rules\030\201\207\267\263\001 \003"
+          + "(\0132&.google.cloud.compute.v1.HttpRouteRuleB\'\n"
           + "%_default_custom_error_response_policyB\027\n"
           + "\025_default_route_actionB\022\n"
           + "\020_default_serviceB\027\n"
@@ -24901,14 +24985,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\016_header_actionB\007\n"
           + "\005_name\"\374\002\n"
           + "\010PathRule\022`\n"
-          + "\034custom_error_response_policy\030\353\370\332` \001(\01322.google.cl"
-          + "oud.compute.v1.CustomErrorResponsePolicyH\000\210\001\001\022\020\n"
+          + "\034custom_error_response_policy\030\353\370\332`"
+          + " \001(\01322.google.cloud.compute.v1.CustomErrorResponsePolicyH\000\210\001\001\022\020\n"
           + "\005paths\030\356\301\3402 \003(\t\022G\n"
-          + "\014route_action\030\354\251\271\312\001"
-          + " \001(\0132(.google.cloud.compute.v1.HttpRouteActionH\001\210\001\001\022\030\n"
+          + "\014route_action\030\354\251\271\312\001 \001(\0132(.google"
+          + ".cloud.compute.v1.HttpRouteActionH\001\210\001\001\022\030\n"
           + "\007service\030\265\215\217\262\001 \001(\tH\002\210\001\001\022J\n"
-          + "\014url_redirect\030\254\241\230\301\001 \001(\0132+.google.cl"
-          + "oud.compute.v1.HttpRedirectActionH\003\210\001\001B\037\n"
+          + "\014url_redirect\030\254\241\230\301\001"
+          + " \001(\0132+.google.cloud.compute.v1.HttpRedirectActionH\003\210\001\001B\037\n"
           + "\035_custom_error_response_policyB\017\n\r"
           + "_route_actionB\n\n"
           + "\010_serviceB\017\n\r"
@@ -24924,15 +25008,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\021PerInstanceConfig\022\033\n"
           + "\013fingerprint\030\344\321\363o \001(\tH\000\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\001\210\001\001\022H\n"
-          + "\017preserved_state\030\252\342\240\001"
-          + " \001(\0132\'.google.cloud.compute.v1.PreservedStateH\002\210\001\001\022\026\n"
+          + "\017preserved_state\030\252\342\240\001 \001(\0132"
+          + "\'.google.cloud.compute.v1.PreservedStateH\002\210\001\001\022\026\n"
           + "\006status\030\362\237\267V \001(\tH\003\210\001\001\"\220\001\n"
           + "\006Status\022\024\n"
           + "\020UNDEFINED_STATUS\020\000\022\020\n"
           + "\010APPLYING\020\264\313\354\247\001\022\020\n"
           + "\010DELETING\020\250\247\207\374\001\022\020\n"
           + "\tEFFECTIVE\020\207\363\270t\022\013\n"
-          + "\004NONE\020\270\316\222\001\022\021\n"
+          + "\004",
+      "NONE\020\270\316\222\001\022\021\n"
           + "\tUNAPPLIED\020\244\207\341\346\001\022\032\n"
           + "\022UNAPPLIED_DELETION\020\211\264\332\225\001B\016\n"
           + "\014_fingerprintB\007\n"
@@ -24949,8 +25034,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\254\002\n"
           + "\"PerformMaintenanceNodeGroupRequest\022\033\n\n"
           + "node_group\030\202\374\213\340\001 \001(\tB\003\340A\002\022~\n"
-          + "0node_groups_perform_maintenance_request_resource\030\326\270\256X \001(\0132<.google."
-          + "cloud.compute.v1.NodeGroupsPerformMaintenanceRequestB\003\340A\002\022!\n"
+          + "0node_groups_perform_maintenance_request_resource\030\326\270\256X"
+          + " \001(\0132<.google.cloud.compute.v1.N"
+          + "odeGroupsPerformMaintenanceRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
@@ -24964,8 +25050,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013reservation\030\314\207\325\026 \001(\tB\003\340A\002\022\"\n"
           + "\021reservation_block\030\332\304\211\376\001 \001(\tB\003\340A\002\022\217\001\n"
           + "8reservations_blocks_perform_maintenance_request_resource\030\211\251\324\347\001"
-          + " \001(\0132D.google.cloud.compute.v1.Rese"
-          + "rvationsBlocksPerformMaintenanceRequestB\003\340A\002\022\033\n"
+          + " \001(\0132D.google"
+          + ".cloud.compute.v1.ReservationsBlocksPerformMaintenanceRequestB\003\340A\002\022\033\n"
           + "\004zone\030\254\307\344\001 \001(\tB\n"
           + "\340A\002\362G\004zoneB\r\n"
           + "\013_request_id\"\262\002\n"
@@ -24975,7 +25061,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
           + "\013reservation\030\314\207\325\026 \001(\tB\003\340A\002\022\201\001\n"
           + "1reservations_perform_maintenance_request_resource\030\240\365\224\016"
-          + " \001(\0132>.google.cloud.compute.v1.ReservationsPerformMaintenanceRequestB\003\340A\002\022\033\n"
+          + " \001(\0132>.google.clou"
+          + "d.compute.v1.ReservationsPerformMaintenanceRequestB\003\340A\002\022\033\n"
           + "\004zone\030\254\307\344\001 \001(\tB\n"
           + "\340A\002\362G\004zoneB\r\n"
           + "\013_request_id\"\336\001\n"
@@ -24995,8 +25082,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\004type\030\272\236\332\001 \001(\tH\002\210\001\001\022C\n"
           + "\017window_end_time\030\240\256\316\201\001"
           + " \001(\0132!.google.cloud.compute.v1.DateTimeH\003\210\001\001\022E\n"
-          + "\021window_start_time\030\271\260\311\341\001 "
-          + "\001(\0132!.google.cloud.compute.v1.DateTimeH\004\210\001\001\"\353\001\n"
+          + "\021window_start_time\030\271\260\311\341\001"
+          + " \001(\0132!.google.cloud.compute.v1.DateTimeH\004\210\001\001\"\353\001\n"
           + "\007SubType\022\026\n"
           + "\022UNDEFINED_SUB_TYPE\020\000\022\'\n"
           + "\037MAINTENANCE_SUBTYPE_UNSPECIFIED\020\346\270\314\214\001\022-\n"
@@ -25011,8 +25098,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\t_sub_typeB\022\n"
           + "\020_target_resourceB\007\n"
           + "\005_typeB\022\n"
-          + "\020_window_end_ti",
-      "meB\024\n"
+          + "\020_window_end_timeB\024\n"
           + "\022_window_start_time\"\360\001\n"
           + "\006Policy\022?\n\r"
           + "audit_configs\030\215\272\270\234\001"
@@ -25026,36 +25112,37 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_iam_ownedB\n\n"
           + "\010_version\"]\n"
           + "\023PreconfiguredWafSet\022F\n"
-          + "\017expression_sets\030\230\253\203\342\001 \003(\0132"
-          + ").google.cloud.compute.v1.WafExpressionSet\"\276\005\n"
+          + "\017expression_sets\030\230\253\203\342\001"
+          + " \003(\0132).google.cloud.compute.v1.WafExpressionSet\"\276\005\n"
           + "\016PreservedState\022D\n"
-          + "\005disks\030\366\314\312- \003(\0132"
-          + "2.google.cloud.compute.v1.PreservedState.DisksEntry\022S\n\r"
-          + "external_i_ps\030\215\323\200\376\001 \003(\01328"
-          + ".google.cloud.compute.v1.PreservedState.ExternalIPsEntry\022R\n\r"
-          + "internal_i_ps\030\333\233\357f \003"
-          + "(\01328.google.cloud.compute.v1.PreservedState.InternalIPsEntry\022J\n"
-          + "\010metadata\030\257\366\265) \003("
-          + "\01325.google.cloud.compute.v1.PreservedState.MetadataEntry\032b\n\n"
+          + "\005disks\030\366\314\312-"
+          + " \003(\01322.google.cloud.compute.v1.PreservedState.DisksEntry\022S\n\r"
+          + "external_i_ps\030\215\323\200\376\001 \003(\01328.google.cloud.comp"
+          + "ute.v1.PreservedState.ExternalIPsEntry\022R\n\r"
+          + "internal_i_ps\030\333\233\357f \003(\01328.google.cloud."
+          + "compute.v1.PreservedState.InternalIPsEntry\022J\n"
+          + "\010metadata\030\257\366\265) \003(\01325.google.cloud.c"
+          + "ompute.v1.PreservedState.MetadataEntry\032b\n\n"
           + "DisksEntry\022\013\n"
           + "\003key\030\001 \001(\t\022C\n"
-          + "\005value\030\002"
-          + " \001(\01324.google.cloud.compute.v1.PreservedStatePreservedDisk:\0028\001\032m\n"
+          + "\005value\030\002 \001(\013"
+          + "24.google.cloud.compute.v1.PreservedStatePreservedDisk:\0028\001\032m\n"
           + "\020ExternalIPsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022H\n"
-          + "\005value\030\002"
-          + " \001(\01329.google.cloud.compute.v1.PreservedStatePreservedNetworkIp:\0028\001\032m\n"
+          + "\005value\030\002 \001(\01329.google.clou"
+          + "d.compute.v1.PreservedStatePreservedNetworkIp:\0028\001\032m\n"
           + "\020InternalIPsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022H\n"
-          + "\005value\030\002 \001(\01329.go"
-          + "ogle.cloud.compute.v1.PreservedStatePreservedNetworkIp:\0028\001\032/\n\r"
+          + "\005value\030\002 \001(\01329.google.cloud.compute"
+          + ".v1.PreservedStatePreservedNetworkIp:\0028\001\032/\n\r"
           + "MetadataEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\"\254\002\n"
           + "\033PreservedStatePreservedDisk\022\034\n"
           + "\013auto_delete\030\273\344\316\335\001 \001(\tH\000\210\001\001\022\024\n"
           + "\004mode\030\243\363\314\001 \001(\tH\001\210\001\001\022\026\n"
-          + "\006source\030\233\320\301T \001(\tH\002\210\001\001\"\\\n\n"
+          + "\006source\030\233\320\301T \001(\tH\002\210\001\001\"\\\n"
+          + "\n"
           + "AutoDelete\022\031\n"
           + "\025UNDEFINED_AUTO_DELETE\020\000\022\014\n"
           + "\005NEVER\020\354\244\257#\022%\n"
@@ -25068,10 +25155,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005_modeB\t\n"
           + "\007_source\"\236\002\n"
           + " PreservedStatePreservedNetworkIp\022\034\n"
-          + "\013auto_delete\030\273\344\316\335\001 \001(\tH\000\210\001\001\022_\n"
-          + "\n"
-          + "ip_address\030\334\361\334\301\001 \001(\0132B.google.cloud.com"
-          + "pute.v1.PreservedStatePreservedNetworkIpIpAddressH\001\210\001\001\"\\\n\n"
+          + "\013auto_delete\030\273\344\316\335\001 \001(\tH\000\210\001\001\022_\n\n"
+          + "ip_address\030\334\361\334\301\001 "
+          + "\001(\0132B.google.cloud.compute.v1.PreservedStatePreservedNetworkIpIpAddressH\001\210\001\001\"\\\n\n"
           + "AutoDelete\022\031\n"
           + "\025UNDEFINED_AUTO_DELETE\020\000\022\014\n"
           + "\005NEVER\020\354\244\257#\022%\n"
@@ -25090,11 +25176,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022[\n"
-          + "\021rollout_operation\030\331\320\214\350\001 \001(\01327.googl"
-          + "e.cloud.compute.v1.PreviewFeatureRolloutOperationH\006\210\001\001\022\032\n"
+          + "\021rollout_operation\030\331\320\214\350\001"
+          + " \001(\01327.google.cloud.compute.v1.PreviewFeatureRolloutOperationH\006\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\007\210\001\001\022E\n"
-          + "\006status\030\362\237\267V"
-          + " \001(\0132-.google.cloud.compute.v1.PreviewFeatureStatusH\010\210\001\001\"y\n"
+          + "\006status\030\362\237\267V "
+          + "\001(\0132-.google.cloud.compute.v1.PreviewFeatureStatusH\010\210\001\001\"y\n"
           + "\020ActivationStatus\022\037\n"
           + "\033UNDEFINED_ACTIVATION_STATUS\020\000\022\"\n"
           + "\034ACTIVATION_STATE_UNSPECIFIED\020\340\312&\022\020\n"
@@ -25125,8 +25211,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\226\001\n"
           + "\036PreviewFeatureRolloutOperation\022b\n\r"
-          + "rollout_input\030\274\347\333~ \001(\0132"
-          + "C.google.cloud.compute.v1.PreviewFeatureRolloutOperationRolloutInputH\000\210\001\001B\020\n"
+          + "rollout_input\030\274\347\333~ \001(\0132C.google.cloud.com"
+          + "pute.v1.PreviewFeatureRolloutOperationRolloutInputH\000\210\001\001B\020\n"
           + "\016_rollout_input\"\273\002\n"
           + "*PreviewFeatureRolloutOperationRolloutInput\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\000\210\001\001\022(\n"
@@ -25142,8 +25228,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\024PreviewFeatureStatus\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\000\210\001\001\022\031\n"
           + "\thelp_link\030\270\364\303j \001(\tH\001\210\001\001\022[\n"
-          + "\016release_status\030\252\276\237\362\001 \001(\0132"
-          + ":.google.cloud.compute.v1.PreviewFeatureStatusReleaseStatusH\002\210\001\001B\016\n"
+          + "\016release_status\030\252\276\237\362\001 \001(\0132:.google.cloud.com"
+          + "pute.v1.PreviewFeatureStatusReleaseStatusH\002\210\001\001B\016\n"
           + "\014_descriptionB\014\n\n"
           + "_help_linkB\021\n"
           + "\017_release_status\"\367\001\n"
@@ -25179,8 +25265,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\004name\030\213\365\315\001 \001(\tH\010\210\001\001\0221\n"
           + "\006quotas\030\373\241\342; \003(\0132\036.google.cloud.compute.v1.Quota\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\t\210\001\001\022T\n"
-          + "\025usage_export_location\030\302\262\334\245\001 "
-          + "\001(\0132,.google.cloud.compute.v1.UsageExportLocationH\n"
+          + "\025usage_export_location\030\302\262\334\245\001"
+          + " \001(\0132,.google.cloud.compute.v1.UsageExportLocationH\n"
           + "\210\001\001\022\036\n"
           + "\016vm_dns_setting\030\262\247\210\034 \001(\tH\013\210\001\001\022\"\n"
           + "\022xpn_project_status\030\301\315\365l \001(\tH\014\210\001\001\"~\n"
@@ -25198,8 +25284,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\014VmDnsSetting\022\034\n"
           + "\030UNDEFINED_VM_DNS_SETTING\020\000\022\026\n"
           + "\016GLOBAL_DEFAULT\020\205\333\332\244\001\022!\n"
-          + "\032UNSPECIFIED_VM_DNS_SETTING\020\232\273\202\021\022\025\n"
-          + "\r"
+          + "\032UNSPECIFIED_VM_DNS_SETTING\020\232\273\202\021\022\025\n\r"
           + "ZONAL_DEFAULT\020\206\375\331\257\001\022\022\n\n"
           + "ZONAL_ONLY\020\347\272\303\370\001\"i\n"
           + "\020XpnProjectStatus\022 \n"
@@ -25220,12 +25305,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\017_vm_dns_settingB\025\n"
           + "\023_xpn_project_status\"z\n"
           + "!ProjectsDisableXpnResourceRequest\022D\n"
-          + "\014xpn_resource\030\267\223\315?"
-          + " \001(\0132&.google.cloud.compute.v1.XpnResourceIdH\000\210\001\001B\017\n\r"
+          + "\014xpn_resource\030\267\223\315? \001(\013"
+          + "2&.google.cloud.compute.v1.XpnResourceIdH\000\210\001\001B\017\n\r"
           + "_xpn_resource\"y\n"
           + " ProjectsEnableXpnResourceRequest\022D\n"
-          + "\014xpn_resource\030\267\223\315?"
-          + " \001(\0132&.google.cloud.compute.v1.XpnResourceIdH\000\210\001\001B\017\n\r"
+          + "\014xpn_resource\030\267\223\315? "
+          + "\001(\0132&.google.cloud.compute.v1.XpnResourceIdH\000\210\001\001B\017\n\r"
           + "_xpn_resource\"\253\001\n"
           + "\027ProjectsGetXpnResources\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\000\210\001\001\022\037\n"
@@ -25266,8 +25351,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\004name\030\213\365\315\001 \001(\tH\t\210\001\001\022\032\n"
           + "\tpdp_scope\030\321\312\376\371\001 \001(\tH\n"
           + "\210\001\001\022j\n"
-          + "\030public_delegated_prefixs\030\213\276\205\313\001 \003(\0132D.google.cloud.comput"
-          + "e.v1.PublicAdvertisedPrefixPublicDelegatedPrefix\022\032\n"
+          + "\030public_delegated_prefixs\030\213\276\205\313\001 \003(\013"
+          + "2D.google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\013\210\001\001\022\036\n\r"
           + "shared_secret\030\312\247\217\266\001 \001(\tH\014\210\001\001\022\026\n"
           + "\006status\030\362\237\267V \001(\tH\r"
@@ -25312,8 +25397,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007_status\"\275\002\n"
           + "\032PublicAdvertisedPrefixList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022A\n"
-          + "\005items\030\300\317\367/"
-          + " \003(\0132/.google.cloud.compute.v1.PublicAdvertisedPrefix\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132/."
+          + "google.cloud.compute.v1.PublicAdvertisedPrefix\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n"
@@ -25322,7 +25407,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
-          + "_self_linkB\n\n"
+          + "_self_linkB\n"
+          + "\n"
           + "\010_warning\"\336\001\n"
           + "+PublicAdvertisedPrefixPublicDelegatedPrefix\022\030\n"
           + "\010ip_range\030\245\340\227E \001(\tH\000\210\001\001\022\024\n"
@@ -25353,8 +25439,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\004name\030\213\365\315\001 \001(\tH\014\210\001\001\022\035\n\r"
           + "parent_prefix\030\307\347\241\007 \001(\tH\r"
           + "\210\001\001\022o\n"
-          + "\034public_delegated_sub_prefixs\030\214\376\213Z \003(\0132"
-          + "F.google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix\022\026\n"
+          + "\034public_delegated_sub_prefixs\030\214\376\213Z \003(\0132F.google.cloud.com"
+          + "pute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix\022\026\n"
           + "\006region\030\364\315\240B \001(\tH\016\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\017\210\001\001\022\026\n"
           + "\006status\030\362\237\267V \001(\tH\020\210\001\001\"D\n"
@@ -25400,8 +25486,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007_status\"\341\003\n"
           + "#PublicDelegatedPrefixAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022Y\n"
-          + "\005items\030\300\317\367/ "
-          + "\003(\0132G.google.cloud.compute.v1.PublicDelegatedPrefixAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132G.google.cloud"
+          + ".compute.v1.PublicDelegatedPrefixAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
@@ -25410,8 +25496,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\004\210\001\001\032h\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022I\n"
-          + "\005value\030\002"
-          + " \001(\0132:.google.cloud.compute.v1.PublicDelegatedPrefixesScopedList:\0028\001B\005\n"
+          + "\005value\030\002 \001(\0132:.google.clo"
+          + "ud.compute.v1.PublicDelegatedPrefixesScopedList:\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
@@ -25419,8 +25505,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\010_warning\"\273\002\n"
           + "\031PublicDelegatedPrefixList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022@\n"
-          + "\005items\030\300\317\367/ \003(\0132.."
-          + "google.cloud.compute.v1.PublicDelegatedPrefix\022\024\n"
+          + "\005items\030\300\317\367/"
+          + " \003(\0132..google.cloud.compute.v1.PublicDelegatedPrefix\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n"
@@ -25464,16 +25550,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\014_descriptionB\"\n"
           + " _enable_enhanced_ipv4_allocationB\020\n"
           + "\016_ip_cidr_rangeB\023\n"
-          + "\021_ipv6_access_typeB\r"
-          + "\n"
+          + "\021_ipv6_access_typeB\r\n"
           + "\013_is_addressB\007\n"
           + "\005_modeB\007\n"
           + "\005_nameB\t\n"
           + "\007_regionB\t\n"
           + "\007_status\"\301\001\n"
           + "!PublicDelegatedPrefixesScopedList\022U\n"
-          + "\031public_delegated_prefixes\030\226\202\252\226\001"
-          + " \003(\0132..google.cloud.compute.v1.PublicDelegatedPrefix\0229\n"
+          + "\031public_delegated_prefixes\030\226\202\252\226\001 \003(\0132..googl"
+          + "e.cloud.compute.v1.PublicDelegatedPrefix\0229\n"
           + "\007warning\030\234\337\226\030 \001(\0132"
           + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n"
           + "\010_warning\"\346(\n"
@@ -25539,9 +25624,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\014HDB_TOTAL_GB\020\257\302\241\230\001\022\026\n"
           + "\016HDB_TOTAL_IOPS\020\375\351\327\223\001\022\033\n"
           + "\024HDB_TOTAL_THROUGHPUT\020\376\314\200\n"
-          + "\022\025\n\r"
-          + "HEALTH_CHECKS\020\256\257\374\211\001\022\r"
-          + "\n"
+          + "\022\025\n"
+          + "\r"
+          + "HEALTH_CHECKS\020\256\257\374\211\001\022\r\n"
           + "\006IMAGES\020\370\354\265\007\022\020\n"
           + "\tINSTANCES\020\336\234\320>\022\027\n"
           + "\017INSTANCE_GROUPS\020\276\311\333\251\001\022\036\n"
@@ -25565,7 +25650,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\010N2A_CPUS\020\255\307\342~\022\020\n"
           + "\010N2D_CPUS\020\212\333\334\247\001\022\017\n"
           + "\007N2_CPUS\020\206\203\313\306\001\022\020\n"
-          + "\010NETWORKS\020\205\270\277\347\001\022\032\n"
+          + "\010NETW",
+      "ORKS\020\205\270\277\347\001\022\032\n"
           + "\023NETWORK_ATTACHMENTS\020\337\375\207G\022\036\n"
           + "\027NETWORK_ENDPOINT_GROUPS\020\215\267\3320\022 \n"
           + "\031NETWORK_FIREWALL_POLICIES\020\276\333\2330\022*\n"
@@ -25626,8 +25712,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\025SECURITY_POLICY_RULES\020\251\324\207a\022\'\n"
           + " SECURITY_POLICY_RULES_PER_REGION\020\314\310\251<\022\033\n"
           + "\023SERVICE_ATTACHMENTS\020\346\261\353\340\001\022\021\n"
-          + "\tSNAPSHOTS\020\217\346\337",
-      "\243\001\022\023\n"
+          + "\tSNAPSHOTS\020\217\346\337\243\001\022\023\n"
           + "\014SSD_TOTAL_GB\020\321\257\217M\022\030\n"
           + "\020SSL_CERTIFICATES\020\257\202\266\264\001\022\024\n"
           + "\014SSL_POLICIES\020\303\364\300\371\001\022\027\n"
@@ -25657,16 +25742,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006_ownerB\010\n"
           + "\006_usage\"\340\003\n"
           + "\021QuotaExceededInfo\022R\n\n"
-          + "dimensions\030\315\377\310\305\001 \003(\013"
-          + "2:.google.cloud.compute.v1.QuotaExceededInfo.DimensionsEntry\022\035\n"
+          + "dimensions\030\315\377\310\305\001 \003(\0132:.google.cloud.co"
+          + "mpute.v1.QuotaExceededInfo.DimensionsEntry\022\035\n"
           + "\014future_limit\030\277\274\332\331\001 \001(\001H\000\210\001\001\022\025\n"
           + "\005limit\030\273\227\2151 \001(\001H\001\210\001\001\022\033\n\n"
           + "limit_name\030\217\211\360\275\001 \001(\tH\002\210\001\001\022\034\n"
           + "\013metric_name\030\272\227\271\303\001 \001(\tH\003\210\001\001\022\037\n"
           + "\016rollout_status\030\300\344\226\343\001 \001(\tH\004\210\001\001\0321\n"
           + "\017DimensionsEntry\022\013\n"
-          + "\003key\030\001 \001(\t\022\r"
-          + "\n"
+          + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\"e\n\r"
           + "RolloutStatus\022\034\n"
           + "\030UNDEFINED_ROLLOUT_STATUS\020\000\022\023\n"
@@ -25727,8 +25811,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + ",RecreateInstancesInstanceGroupManagerRequest\022&\n"
           + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\223\001\n"
           + ";instance_group_managers_recreate_instances_request_resource\030\200\302\232\n"
-          + " \001(\0132F.google.cloud.compute.v1.Inst"
-          + "anceGroupManagersRecreateInstancesRequestB\003\340A\002\022%\n"
+          + " \001(\0132F.google"
+          + ".cloud.compute.v1.InstanceGroupManagersRecreateInstancesRequestB\003\340A\002\022%\n"
           + "\024no_graceful_shutdown\030\222\267\253\240\001 \001(\010H\000\210\001\001\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
@@ -25744,10 +25828,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\215\001\n"
           + "8region_instance_group_managers_recreate_request_resource\030\224\374\304Q"
-          + " \001(\0132C.google.cloud.compute.v1.Regi"
-          + "onInstanceGroupManagersRecreateRequestB\003\340A\002\022\032\n\n"
+          + " \001(\0132C.google"
+          + ".cloud.compute.v1.RegionInstanceGroupManagersRecreateRequestB\003\340A\002\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\001\210\001\001B\027\n"
-          + "\025_no_graceful_shutdownB\r\n"
+          + "\025_no_graceful_shutdownB\r"
+          + "\n"
           + "\013_request_id\"\250\001\n"
           + "\tReference\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\000\210\001\001\022\036\n"
@@ -25765,14 +25850,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\022_path_substitution\"\204\005\n"
           + "\006Region\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022G\n\n"
-          + "deprecated\030\263\313\321\365\001 \001(\0132*.goo"
-          + "gle.cloud.compute.v1.DeprecationStatusH\001\210\001\001\022\034\n"
+          + "deprecated\030\263\313\321\365\001"
+          + " \001(\0132*.google.cloud.compute.v1.DeprecationStatusH\001\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022R\n"
-          + "\024quota_status_warning\030\366\211\272\220\001"
-          + " \001(\0132+.google.cloud.compute.v1.QuotaStatusWarningH\006\210\001\001\0221\n"
+          + "\024quota_status_warning\030\366\211\272\220\001 \001(\0132+.google"
+          + ".cloud.compute.v1.QuotaStatusWarningH\006\210\001\001\0221\n"
           + "\006quotas\030\373\241\342; \003(\0132\036.google.cloud.compute.v1.Quota\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\007\210\001\001\022\026\n"
           + "\006status\030\362\237\267V \001(\tH\010\210\001\001\022\034\n"
@@ -25855,8 +25940,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005names\030\310\256\3571 \003(\t\"\277\002\n"
           + "\036RegionInstanceGroupManagerList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022?\n"
-          + "\005items\030\300\317\367/ \003(\0132-."
-          + "google.cloud.compute.v1.InstanceGroupManager\022\024\n"
+          + "\005items\030\300\317\367/"
+          + " \003(\0132-.google.cloud.compute.v1.InstanceGroupManager\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n"
@@ -25868,13 +25953,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\200\001\n"
           + "0RegionInstanceGroupManagerPatchInstanceConfigReq\022L\n"
-          + "\024per_instance_configs\030\251\325\370\372\001"
-          + " \003(\0132*.google.cloud.compute.v1.PerInstanceConfig\"\232\003\n"
+          + "\024per_instance_configs\030\251\325\370\372\001 \003(\0132*."
+          + "google.cloud.compute.v1.PerInstanceConfig\"\232\003\n"
           + "4RegionInstanceGroupManagerResizeRequestsListResponse\022\024\n"
           + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\tH\001\210\001\001\022L\n"
-          + "\005items\030\300\317\367/"
-          + " \003(\0132:.google.cloud.compute.v1.InstanceGroupManagerResizeRequest\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132:.g"
+          + "oogle.cloud.compute.v1.InstanceGroupManagerResizeRequest\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\004\210\001\001\022\027\n"
@@ -25888,8 +25973,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\201\001\n"
           + "1RegionInstanceGroupManagerUpdateInstanceConfigReq\022L\n"
-          + "\024per_instance_configs\030\251\325\370\372\001 \003(\013"
-          + "2*.google.cloud.compute.v1.PerInstanceConfig\"J\n"
+          + "\024per_instance_configs\030\251\325\370\372\001"
+          + " \003(\0132*.google.cloud.compute.v1.PerInstanceConfig\"J\n"
           + "2RegionInstanceGroupManagersAbandonInstancesRequest\022\024\n"
           + "\tinstances\030\376\374\357\r"
           + " \003(\t\"\373\002\n"
@@ -25916,13 +26001,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " \001(\010H\000\210\001\001B%\n"
           + "#_skip_instances_on_validation_error\"\252\001\n"
           + "-RegionInstanceGroupManagersListErrorsResponse\022D\n"
-          + "\005items\030\300\317\367/"
-          + " \003(\01322.google.cloud.compute.v1.InstanceManagedByIgmError\022\037\n"
+          + "\005items\030\300\317\367/ \003(\01322"
+          + ".google.cloud.compute.v1.InstanceManagedByIgmError\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\000\210\001\001B\022\n"
           + "\020_next_page_token\"\356\001\n"
           + "2RegionInstanceGroupManagersListInstanceConfigsResp\022<\n"
-          + "\005items\030\300\317\367/ \003(\0132*.goo"
-          + "gle.cloud.compute.v1.PerInstanceConfig\022\037\n"
+          + "\005items\030\300\317\367/"
+          + " \003(\0132*.google.cloud.compute.v1.PerInstanceConfig\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\000\210\001\001\0229\n"
           + "\007warning\030\234\337\226\030 \001(\0132"
           + " .google.cloud.compute.v1.WarningH\001\210\001\001B\022\n"
@@ -26005,23 +26090,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\021network_endpoints\030\255\221\272G"
           + " \003(\0132(.google.cloud.compute.v1.NetworkEndpoint\"{\n"
           + "1RegionNetworkEndpointGroupsDetachEndpointsRequest\022F\n"
-          + "\021network_endpoints\030\255\221\272G"
-          + " \003(\0132(.google.cloud.compute.v1.NetworkEndpoint\"\201\002\n"
+          + "\021network_endpoints\030\255\221\272G \003(\0132(.g"
+          + "oogle.cloud.compute.v1.NetworkEndpoint\"\201\002\n"
           + ":RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse\022\210\001\n"
-          + "\020firewall_policys\030\302\312\374\303\001 \003(\0132j.google."
-          + "cloud.compute.v1.RegionNetworkFirewallPo"
-          + "liciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy\0228\n"
+          + "\020firewall_policys\030\302\312\374\303\001 \003(\0132j.google.cloud.compute.v1.R"
+          + "egionNetworkFirewallPoliciesGetEffective"
+          + "FirewallsResponseEffectiveFirewallPolicy\0228\n"
           + "\tfirewalls\030\363\306\350\201\001"
           + " \003(\0132!.google.cloud.compute.v1.Firewall\"\224\004\n"
-          + "QRegionNetworkFirewallPoliciesGetEffecti"
-          + "veFirewallsResponseEffectiveFirewallPolicy\022\034\n"
+          + "QRegionNetworkFire"
+          + "wallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy\022\034\n"
           + "\014display_name\030\350\207\221\002 \001(\tH\000\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\001\210\001\001\022O\n"
           + "\026packet_mirroring_rules\030\304\377\300\375\001"
           + " \003(\0132+.google.cloud.compute.v1.FirewallPolicyRule\022\031\n"
           + "\010priority\030\244\363\241\324\001 \001(\005H\002\210\001\001\022=\n"
-          + "\005rules\030\367\221\3653"
-          + " \003(\0132+.google.cloud.compute.v1.FirewallPolicyRule\022\024\n"
+          + "\005rules\030\367\221\3653 \003"
+          + "(\0132+.google.cloud.compute.v1.FirewallPolicyRule\022\024\n"
           + "\004type\030\272\236\332\001 \001(\tH\003\210\001\001\"\231\001\n"
           + "\004Type\022\022\n"
           + "\016UNDEFINED_TYPE\020\000\022\020\n"
@@ -26037,8 +26122,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005_type\"\321\001\n"
           + "\026RegionSetLabelsRequest\022!\n"
           + "\021label_fingerprint\030\231\360\367T \001(\tH\000\210\001\001\022O\n"
-          + "\006labels\030\377\277\301\356\001"
-          + " \003(\0132;.google.cloud.compute.v1.RegionSetLabelsRequest.LabelsEntry\032-\n"
+          + "\006labels\030\377\277\301\356\001 \003(\0132;.go"
+          + "ogle.cloud.compute.v1.RegionSetLabelsRequest.LabelsEntry\032-\n"
           + "\013LabelsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001B\024\n"
@@ -26068,8 +26153,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022K\n"
-          + "\016recommendation\030\271\377\300\025 \001(\0132+.g"
-          + "oogle.cloud.compute.v1.RiskRecommendationH\006\210\001\001\022\032\n"
+          + "\016recommendation\030\271\377\300\025"
+          + " \001(\0132+.google.cloud.compute.v1.RiskRecommendationH\006\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\007\210\001\001\022!\n"
           + "\021self_link_with_id\030\202\254\235\025 \001(\tH\010\210\001\001B\025\n"
           + "\023_creation_timestampB\016\n"
@@ -26132,8 +26217,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
           + "\013target_pool\030\212\344\370\035 \001(\tB\003\340A\002\022\200\001\n"
           + "1target_pools_remove_health_check_request_resource\030\263\347\266\221\001"
-          + " \001(\0132<.google.clou"
-          + "d.compute.v1.TargetPoolsRemoveHealthCheckRequestB\003\340A\002B\r\n"
+          + " \001(\0132<.google.cloud.compute.v1.TargetPoolsRemoveHealthCheckRequestB\003\340A\002B\r\n"
           + "\013_request_id\"\247\002\n"
           + "\037RemoveInstanceTargetPoolRequest\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
@@ -26142,13 +26226,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
           + "\013target_pool\030\212\344\370\035 \001(\tB\003\340A\002\022x\n"
           + "-target_pools_remove_instance_request_resource\030\203\300\213\016"
-          + " \001(\01329.google.cloud.compute.v1.TargetPoolsRemoveInstanceRequestB\003\340A\002B\r\n"
+          + " \001(\01329.google.c"
+          + "loud.compute.v1.TargetPoolsRemoveInstanceRequestB\003\340A\002B\r\n"
           + "\013_request_id\"\264\002\n"
           + "#RemoveInstancesInstanceGroupRequest\022\036\n"
           + "\016instance_group\030\325\324\325& \001(\tB\003\340A\002\022\201\001\n"
           + "1instance_groups_remove_instances_request_resource\030\271\321\267\272\001"
-          + " \001(\0132=.google.cloud.co"
-          + "mpute.v1.InstanceGroupsRemoveInstancesRequestB\003\340A\002\022!\n"
+          + " \001(\0132=.google.cloud.compute.v1.InstanceG",
+      "roupsRemoveInstancesRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
@@ -26165,17 +26250,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\366\001\n"
           + "\033RemovePeeringNetworkRequest\022\027\n"
           + "\007network\030\256\264\205o \001(\tB\003\340A\002\022p\n"
-          + "(networks_remove_peering_request_resource\030\376\333\351\310\001 \001(\01325"
-          + ".google.cloud.compute.v1.NetworksRemovePeeringRequestB\003\340A\002\022!\n"
+          + "(networks_remove_peering_request_resource\030\376\333\351\310\001"
+          + " \001(\01325.google.cloud.compute.v1.NetworksRemovePeeringRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\243\002\n"
           + "!RemoveResourcePoliciesDiskRequest\022\024\n"
           + "\004disk\030\235\233\274\001 \001(\tB\003\340A\002\022}\n"
-          + "/disks_remove_resource_policies_request_resource\030\356\301\241\320\001"
-          + " \001(\0132;.google.cloud.compute"
-          + ".v1.DisksRemoveResourcePoliciesRequestB\003\340A\002\022!\n"
+          + "/disks_remove_resource_policies_request_resource\030\356\301\241\320\001 \001(\0132"
+          + ";.google.cloud.compute.v1.DisksRemoveResourcePoliciesRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
@@ -26184,8 +26268,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\263\002\n"
           + "%RemoveResourcePoliciesInstanceRequest\022\030\n"
           + "\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022\204\001\n"
-          + "3instances_remove_resource_policies_request_resource\030\366\335\274\027 "
-          + "\001(\0132?.google.cloud.compute.v1.InstancesRemoveResourcePoliciesRequestB\003\340A\002\022!\n"
+          + "3instances_remove_resource_policies_request_resource\030\366\335\274\027"
+          + " \001(\0132?.google.cloud"
+          + ".compute.v1.InstancesRemoveResourcePoliciesRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
@@ -26198,8 +26283,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\211\001\n"
           + "6region_disks_remove_resource_policies_request_resource\030\243\303\225\004"
-          + " \001(\0132A.google.cloud.co"
-          + "mpute.v1.RegionDisksRemoveResourcePoliciesRequestB\003\340A\002\022\032\n\n"
+          + " \001(\0132A.google.cloud.compute.v1.RegionDisksRemoveResourcePoliciesRequestB\003\340A\002\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\226\001\n"
           + "\037RemoveRuleFirewallPolicyRequest\022 \n"
@@ -26224,8 +26308,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\347\001\n"
           + ",RemoveRuleRegionNetworkFirewallPolicyRequest\022 \n"
           + "\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022\031\n"
-          + "\010priority\030\244\363\241\324\001 \001(\005H\000\210\001\001\022",
-      "!\n"
+          + "\010priority\030\244\363\241\324\001 \001(\005H\000\210\001\001\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
@@ -26253,16 +26336,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\025reservation_sub_block\030\233\312\354\n"
           + " \001(\tB\003\340A\002\022\210\001\n"
           + "5reservation_sub_blocks_report_faulty_request_resource\030\302\311\375\326\001"
-          + " \001(\0132@.google.cloud.compute.v1."
-          + "ReservationSubBlocksReportFaultyRequestB\003\340A\002\022\033\n"
+          + " \001(\0132@.go"
+          + "ogle.cloud.compute.v1.ReservationSubBlocksReportFaultyRequestB\003\340A\002\022\033\n"
           + "\004zone\030\254\307\344\001 \001(\tB\n"
           + "\340A\002\362G\004zoneB\r\n"
           + "\013_request_id\"\250\002\n"
           + "!ReportHostAsFaultyInstanceRequest\022\030\n"
           + "\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022~\n"
           + "0instances_report_host_as_faulty_request_resource\030\246\224\315\353\001"
-          + " \001(\0132;.google.cloud.compute.v1"
-          + ".InstancesReportHostAsFaultyRequestB\003\340A\002\022!\n"
+          + " \001(\0132;.g"
+          + "oogle.cloud.compute.v1.InstancesReportHostAsFaultyRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
@@ -26276,17 +26359,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\017_mirror_percent\"\213\002\n"
           + "\"RequestRemovePeeringNetworkRequest\022\027\n"
           + "\007network\030\256\264\205o \001(\tB\003\340A\002\022~\n"
-          + "0networks_request_remove_peering_request_resource\030\316\344\367G \001("
-          + "\0132<.google.cloud.compute.v1.NetworksRequestRemovePeeringRequestB\003\340A\002\022!\n"
+          + "0networks_request_remove_peering_request_resource\030\316\344\367G"
+          + " \001(\0132<.google.cloud.c"
+          + "ompute.v1.NetworksRequestRemovePeeringRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
-          + "\013_request_id\"\243\026\n"
+          + "\013_request_id\"\313\026\n"
           + "\013Reservation\022k\n"
-          + "\033advanced_deployment_control\030\240\222\346\303\001 "
-          + "\001(\0132=.google.cloud.compute.v1.ReservationAdvancedDeploymentControlH\000\210\001\001\022_\n"
-          + "\025aggregate_reservation\030\314\362\203\213\001 \001(\01327.google.clou"
-          + "d.compute.v1.AllocationAggregateReservationH\001\210\001\001\022\033\n\n"
+          + "\033advanced_deployment_control\030\240\222\346\303\001 \001(\0132=.google.cloud"
+          + ".compute.v1.ReservationAdvancedDeploymentControlH\000\210\001\001\022_\n"
+          + "\025aggregate_reservation\030\314\362\203\213\001"
+          + " \001(\01327.google.cloud.compute.v1.AllocationAggregateReservationH\001\210\001\001\022\033\n\n"
           + "commitment\030\225\226\363\345\001 \001(\tH\002\210\001\001\022*\n"
           + "\031confidential_compute_type\030\231\357\242\270\001 \001(\tH\003\210\001\001\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\004\210\001\001\022I\n"
@@ -26303,33 +26387,34 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\022linked_commitments\030\330\375\310\340\001 \003(\t\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\r"
           + "\210\001\001\022B\n"
-          + "\006params\030\206\363\253%"
-          + " \001(\0132*.google.cloud.compute.v1.ReservationParamsH\016\210\001\001\022 \n"
+          + "\006params\030\206\363\253% \001(\0132*.googl"
+          + "e.cloud.compute.v1.ReservationParamsH\016\210\001\001\022 \n"
           + "\017protection_tier\030\210\237\247\360\001 \001(\tH\017\210\001\001\022g\n"
-          + "\032reservation_sharing_policy\030\310\265\233b \001(\0132;.google.cloud.compute.v1.A"
-          + "llocationReservationSharingPolicyH\020\210\001\001\022L\n"
+          + "\032reservation_sharing_policy\030\310\265\233b \001(\0132;.goo"
+          + "gle.cloud.compute.v1.AllocationReservationSharingPolicyH\020\210\001\001\022L\n"
           + "\021resource_metadata\030\300\260\236/"
           + " \001(\0132).google.cloud.compute.v1.ResourceMetadataH\021\210\001\001\022X\n"
           + "\021resource_policies\030\341\234\314\n"
           + " \003(\0132:.google.cloud.compute.v1.Reservation.ResourcePoliciesEntry\022R\n"
-          + "\017resource_status\030\303\372\367v \001(\01321.goo"
-          + "gle.cloud.compute.v1.AllocationResourceStatusH\022\210\001\001\022\036\n\r"
+          + "\017resource_status\030\303\372\367v"
+          + " \001(\01321.google.cloud.compute.v1.AllocationResourceStatusH\022\210\001\001\022\036\n\r"
           + "satisfies_pzs\030\253\335\253\345\001 \001(\010H\023\210\001\001\022\037\n"
           + "\017scheduling_type\030\205\376\244_ \001(\tH\024\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\025\210\001\001\022F\n"
           + "\016share_settings\030\203\221\224\177"
           + " \001(\0132&.google.cloud.compute.v1.ShareSettingsH\026\210\001\001\022`\n"
-          + "\024specific_reservation\030\277\240\211\301\001"
-          + " \001(\01329.google.cloud.compute.v1.AllocationSpecificSKUReservationH\027\210\001\001\022-\n"
+          + "\024specific_reservation\030\277\240\211\301\001 \001(\01329.google"
+          + ".cloud.compute.v1.AllocationSpecificSKUReservationH\027\210\001\001\022-\n"
           + "\035specific_reservation_required\030\237\307\203l"
           + " \001(\010H\030\210\001\001\022\026\n"
           + "\006status\030\362\237\267V \001(\tH\031\210\001\001\022\024\n"
           + "\004zone\030\254\307\344\001 \001(\tH\032\210\001\001\0327\n"
           + "\025ResourcePoliciesEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
-          + "\005value\030\002 \001(\t:\0028\001\"\227\001\n"
+          + "\005value\030\002 \001(\t:\0028\001\"\277\001\n"
           + "\027ConfidentialComputeType\022\'\n"
-          + "#UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE\020\000\022%\n"
+          + "#UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE\020\000\022&\n"
+          + "\037CONFIDENTIAL_COMPUTE_TYPE_BMSAI\020\212\327\2731\022%\n"
           + "\035CONFIDENTIAL_COMPUTE_TYPE_TDX\020\342\254\322\217\001\022,\n"
           + "%CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED\020\221\257\221\024\"a\n"
           + "\016DeploymentType\022\035\n"
@@ -26409,8 +26494,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\004_key\"\302\003\n"
           + "\031ReservationAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022O\n"
-          + "\005items\030\300\317\367/ \003(\0132=.goo"
-          + "gle.cloud.compute.v1.ReservationAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132=.google.cloud.compute."
+          + "v1.ReservationAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
@@ -26419,8 +26504,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\004\210\001\001\032]\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022>\n"
-          + "\005value\030\002 \001(\0132/.google.clou"
-          + "d.compute.v1.ReservationsScopedList:\0028\001B\005\n"
+          + "\005value\030\002"
+          + " \001(\0132/.google.cloud.compute.v1.ReservationsScopedList:\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
@@ -26429,15 +26514,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\020ReservationBlock\022\025\n"
           + "\005count\030\217\242\235- \001(\005H\000\210\001\001\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022P\n"
-          + "\013health_info\030\261\351\230p"
-          + " \001(\01323.google.cloud.compute.v1.ReservationBlockHealthInfoH\002\210\001\001\022\020\n"
+          + "\013health_info\030\261\351\230p \001(\01323.google.clo"
+          + "ud.compute.v1.ReservationBlockHealthInfoH\002\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\004H\003\210\001\001\022\035\n"
           + "\014in_use_count\030\275\253\246\353\001 \001(\005H\004\210\001\001\022\"\n"
           + "\021in_use_host_count\030\312\207\315\255\001 \001(\005H\005\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\006\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\007\210\001\001\022]\n"
-          + "\021physical_topology\030\327\251\264\205\001 \001(\01329.google.cloud.c"
-          + "ompute.v1.ReservationBlockPhysicalTopologyH\010\210\001\001\022W\n"
+          + "\021physical_topology\030\327\251\264\205\001"
+          + " \001(\01329.google.cloud.compute.v1.ReservationBlockPhysicalTopologyH\010\210\001\001\022W\n"
           + "\027reservation_maintenance\030\240\206\265\242\001"
           + " \001(\0132-.google.cloud.compute.v1.GroupMaintenanceInfoH\t\210\001\001\022,\n"
           + "\033reservation_sub_block_count\030\353\261\335\235\001 \001(\005H\n"
@@ -26493,8 +26578,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\010_cluster\"\235\002\n"
           + "(ReservationBlockPhysicalTopologyInstance\022\033\n"
           + "\013instance_id\030\205\262\330\025 \001(\004H\000\210\001\001\022~\n"
-          + "\026physical_host_topology\030\276\223\257\272\001 \001(\0132U.google.cloud.compute."
-          + "v1.ReservationBlockPhysicalTopologyInstancePhysicalHostTopologyH\001\210\001\001\022\032\n\n"
+          + "\026physical_host_topology\030\276\223\257\272\001 \001(\0132U"
+          + ".google.cloud.compute.v1.ReservationBloc"
+          + "kPhysicalTopologyInstancePhysicalHostTopologyH\001\210\001\001\022\032\n\n"
           + "project_id\030\201\310\322T \001(\004H\002\210\001\001B\016\n"
           + "\014_instance_idB\031\n"
           + "\027_physical_host_topologyB\r\n"
@@ -26510,8 +26596,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\t_resource\"\272\002\n"
           + "\035ReservationBlocksListResponse\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022;\n"
-          + "\005items\030\300\317\367/ \003(\0132).g"
-          + "oogle.cloud.compute.v1.ReservationBlock\022\024\n"
+          + "\005items\030\300\317\367/"
+          + " \003(\0132).google.cloud.compute.v1.ReservationBlock\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n"
@@ -26536,8 +26622,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\267\001\n"
           + "\021ReservationParams\022f\n"
-          + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132C"
-          + ".google.cloud.compute.v1.ReservationParams.ResourceManagerTagsEntry\032:\n"
+          + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132C.google.cloud.comp"
+          + "ute.v1.ReservationParams.ResourceManagerTagsEntry\032:\n"
           + "\030ResourceManagerTagsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\"\353\005\n"
@@ -26546,8 +26632,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\002id\030\233\032 \001(\004H\001\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\003\210\001\001\022\\\n"
-          + "\021physical_topology\030\327\251\264\205\001 \001(\01328.g"
-          + "oogle.cloud.compute.v1.ReservationSlotPhysicalTopologyH\004\210\001\001\022\032\n"
+          + "\021physical_topology\030\327\251\264\205\001 \001(\01328.google.cloud.comput"
+          + "e.v1.ReservationSlotPhysicalTopologyH\004\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\005\210\001\001\022!\n"
           + "\021self_link_with_id\030\202\254\235\025 \001(\tH\006\210\001\001\022F\n"
           + "\016share_settings\030\203\221\224\177"
@@ -26585,14 +26671,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005_hostB\014\n\n"
           + "_sub_block\"\310\001\n"
           + "\025ReservationSlotStatus\022\\\n"
-          + "\021physical_topology\030\327\251\264\205\001 \001(\01328.goo"
-          + "gle.cloud.compute.v1.ReservationSlotPhysicalTopologyH\000\210\001\001\022\034\n"
+          + "\021physical_topology\030\327\251\264\205\001 \001(\01328.google.cloud.compute."
+          + "v1.ReservationSlotPhysicalTopologyH\000\210\001\001\022\034\n"
           + "\021rdma_ip_addresses\030\343\245\204P \003(\t\022\035\n"
           + "\021running_instances\030\376\327\334\377\001 \003(\tB\024\n"
           + "\022_physical_topology\"n\n"
           + "\033ReservationSlotsGetResponse\022B\n"
-          + "\010resource\030\216\210\257] \001(\0132(.googl"
-          + "e.cloud.compute.v1.ReservationSlotH\000\210\001\001B\013\n"
+          + "\010resource\030\216\210\257]"
+          + " \001(\0132(.google.cloud.compute.v1.ReservationSlotH\000\210\001\001B\013\n"
           + "\t_resource\"\323\001\n"
           + "!ReservationSlotsGetVersionRequest\022\032\n"
           + "\017sbom_selections\030\371\366\374  \003(\t\"\221\001\n"
@@ -26603,8 +26689,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\032SBOM_SELECTION_UNSPECIFIED\020\362\364\201\265\001\"\270\002\n"
           + "\034ReservationSlotsListResponse\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022:\n"
-          + "\005items\030\300\317\367/"
-          + " \003(\0132(.google.cloud.compute.v1.ReservationSlot\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132(."
+          + "google.cloud.compute.v1.ReservationSlot\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n"
@@ -26616,22 +26702,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\241\010\n"
           + "\023ReservationSubBlock\022_\n"
-          + "\033accelerator_topologies_info\030\214\351\271("
-          + " \001(\01322.google.cloud.compute.v1.AcceleratorTopologiesInfoH\000\210\001\001\022\025\n"
+          + "\033accelerator_topologies_info\030\214\351\271( \001(\01322.google.clo"
+          + "ud.compute.v1.AcceleratorTopologiesInfoH\000\210\001\001\022\025\n"
           + "\005count\030\217\242\235- \001(\005H\001\210\001\001\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\002\210\001\001\022S\n"
-          + "\013health_info\030\261\351\230p \001(\01326.google.cloud"
-          + ".compute.v1.ReservationSubBlockHealthInfoH\003\210\001\001\022\020\n"
+          + "\013health_info\030\261\351\230p"
+          + " \001(\01326.google.cloud.compute.v1.ReservationSubBlockHealthInfoH\003\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\004H\004\210\001\001\022\035\n"
           + "\014in_use_count\030\275\253\246\353\001 \001(\005H\005\210\001\001\022\"\n"
           + "\021in_use_host_count\030\312\207\315\255\001 \001(\005H\006\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\007\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\010\210\001\001\022`\n"
-          + "\021physical_topology\030\327\251\264\205\001"
-          + " \001(\0132<.google.cloud.compute.v1.ReservationSubBlockPhysicalTopologyH"
-          + "\t\210\001\001\022a\n"
-          + "!reservation_sub_block_maintenance\030\357\313\342\263\001 \001(\013"
-          + "2-.google.cloud.compute.v1.GroupMaintenanceInfoH\n"
+          + "\021physical_topology\030\327\251\264\205\001 \001(\0132<.google.cl"
+          + "oud.compute.v1.ReservationSubBlockPhysicalTopologyH\t\210\001\001\022a\n"
+          + "!reservation_sub_block_maintenance\030\357\313\342\263\001"
+          + " \001(\0132-.google.cloud.compute.v1.GroupMaintenanceInfoH\n"
           + "\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\013\210\001\001\022!\n"
           + "\021self_link_with_id\030\202\254\235\025 \001(\tH\014\210\001\001\022\026\n"
@@ -26683,8 +26768,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\010_clusterB\014\n\n"
           + "_sub_block\"v\n"
           + "\037ReservationSubBlocksGetResponse\022F\n"
-          + "\010resource\030\216\210\257]"
-          + " \001(\0132,.google.cloud.compute.v1.ReservationSubBlockH\000\210\001\001B\013\n"
+          + "\010resource\030\216\210\257] \001(\0132,."
+          + "google.cloud.compute.v1.ReservationSubBlockH\000\210\001\001B\013\n"
           + "\t_resource\"\327\001\n"
           + "%ReservationSubBlocksGetVersionRequest\022\032\n"
           + "\017sbom_selections\030\371\366\374  \003(\t\"\221\001\n"
@@ -26695,8 +26780,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\032SBOM_SELECTION_UNSPECIFIED\020\362\364\201\265\001\"\300\002\n"
           + " ReservationSubBlocksListResponse\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022>\n"
-          + "\005items\030\300\317\367/"
-          + " \003(\0132,.google.cloud.compute.v1.ReservationSubBlock\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132,.googl"
+          + "e.cloud.compute.v1.ReservationSubBlock\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n"
@@ -26710,8 +26795,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\'ReservationSubBlocksReportFaultyRequest\022#\n"
           + "\023disruption_schedule\030\203\305\333- \001(\tH\000\210\001\001\022!\n"
           + "\021failure_component\030\210\311\255\014 \001(\tH\001\210\001\001\022e\n\r"
-          + "fault_reasons\030\222\253\221P \003(\0132K.google.cloud.compute.v1.Reservation"
-          + "SubBlocksReportFaultyRequestFaultReason\"r\n"
+          + "fault_reasons\030\222\253\221P \003(\0132K.google.cloud."
+          + "compute.v1.ReservationSubBlocksReportFaultyRequestFaultReason\"r\n"
           + "\022DisruptionSchedule\022!\n"
           + "\035UNDEFINED_DISRUPTION_SCHEDULE\020\000\022\'\n"
           + "\037DISRUPTION_SCHEDULE_UNSPECIFIED\020\333\356\310\236\001\022\020\n"
@@ -26753,7 +26838,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013RUNNING_VMS\020\334\353\274\377\001\022\026\n"
           + "\017UNUSED_CAPACITY\020\203\332\267eB\024\n"
           + "\022_maintenance_scope\"V\n"
-          + "\031ReservationsResizeRequest\022\"\n"
+          + "\031ReservationsResizeReq",
+      "uest\022\"\n"
           + "\022specific_sku_count\030\240\351\317\006 \001(\003H\000\210\001\001B\025\n"
           + "\023_specific_sku_count\"\237\001\n"
           + "\026ReservationsScopedList\022>\n"
@@ -26772,8 +26858,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\360\001\n"
           + "\021ResizeDiskRequest\022\024\n"
           + "\004disk\030\235\233\274\001 \001(\tB\003\340A\002\022Z\n"
-          + "\035disks_resize_request_resource\030\240\302\253%"
-          + " \001(\0132+.google.cloud.compute.v1.DisksResizeRequestB\003\340A\002\022!\n"
+          + "\035disks_resize_request_resource\030\240\302\253% \001(\0132+.google.c"
+          + "loud.compute.v1.DisksResizeRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
@@ -26783,8 +26869,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "!ResizeInstanceGroupManagerRequest\022&\n"
           + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
-          + "\340A\002\362G\007project\022\032\n"
-          + "\n"
+          + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\024\n"
           + "\004size\030\201\300\327\001 \001(\005B\003\340A\002\022\033\n"
           + "\004zone\030\254\307\344\001 \001(\tB\n"
@@ -26795,8 +26880,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022h\n"
-          + "$region_disks_resize_request_resource\030\225\252\374\324\001"
-          + " \001(\01321.google.cloud.compute.v1.RegionDisksResizeRequestB\003\340A\002\022\032\n\n"
+          + "$region_disks_resize_request_resource\030\225\252\374\324\001 \001("
+          + "\01321.google.cloud.compute.v1.RegionDisksResizeRequestB\003\340A\002\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\326\001\n"
           + "\'ResizeRegionInstanceGroupManagerRequest\022&\n"
@@ -26812,8 +26897,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
           + "\013reservation\030\314\207\325\026 \001(\tB\003\340A\002\022i\n"
-          + "$reservations_resize_request_resource\030\321\333\316\271\001 \001(\01322.google.clou"
-          + "d.compute.v1.ReservationsResizeRequestB\003\340A\002\022\033\n"
+          + "$reservations_resize_request_resource\030\321\333\316\271\001"
+          + " \001(\01322.google.cloud.compute.v1.ReservationsResizeRequestB\003\340A\002\022\033\n"
           + "\004zone\030\254\307\344\001 \001(\tB\n"
           + "\340A\002\362G\004zoneB\r\n"
           + "\013_request_id\"\202\002\n"
@@ -26842,30 +26927,29 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\032ResourcePoliciesScopedList\022E\n"
           + "\021resource_policies\030\341\234\314\n"
           + " \003(\0132\'.google.cloud.compute.v1.ResourcePolicy\0229\n"
-          + "\007warning\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.WarningH",
-      "\000\210\001\001B\n\n"
+          + "\007warning\030\234\337\226\030 \001(\0132"
+          + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n"
           + "\010_warning\"\256\t\n"
           + "\016ResourcePolicy\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022q\n"
-          + "\035disk_consistency_group_policy\030\233\204\362\341\001 \001(\0132A.google.cloud."
-          + "compute.v1.ResourcePolicyDiskConsistencyGroupPolicyH\002\210\001\001\022c\n"
-          + "\026group_placement_policy\030\214\233\233\005"
-          + " \001(\0132;.google.cloud.compute.v1.ResourcePolicyGroupPlacementPolicyH\003\210\001\001\022\020\n"
+          + "\035disk_consistency_group_policy\030\233\204\362\341\001"
+          + " \001(\0132A.google.cloud.compute.v1.Resourc"
+          + "ePolicyDiskConsistencyGroupPolicyH\002\210\001\001\022c\n"
+          + "\026group_placement_policy\030\214\233\233\005 \001(\0132;.goog"
+          + "le.cloud.compute.v1.ResourcePolicyGroupPlacementPolicyH\003\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\004H\004\210\001\001\022h\n"
-          + "\030instance_schedule_policy\030\260\320\271\244\001"
-          + " \001(\0132=.google.cloud.compute.v1."
-          + "ResourcePolicyInstanceSchedulePolicyH\005\210\001\001\022\024\n"
+          + "\030instance_schedule_policy\030\260\320\271\244\001 \001(\0132=.go"
+          + "ogle.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicyH\005\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\006\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\007\210\001\001\022\026\n"
           + "\006region\030\364\315\240B \001(\tH\010\210\001\001\022V\n"
-          + "\017resource_status\030\303\372\367v"
-          + " \001(\01325.google.cloud.compute.v1.ResourcePolicyResourceStatusH"
-          + "\t\210\001\001\022\032\n"
+          + "\017resource_status\030\303\372\367v \001(\0132"
+          + "5.google.cloud.compute.v1.ResourcePolicyResourceStatusH\t\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\n"
           + "\210\001\001\022g\n"
-          + "\030snapshot_schedule_policy\030\337\326\201h \001(\0132=.google.cloud.co"
-          + "mpute.v1.ResourcePolicySnapshotSchedulePolicyH\013\210\001\001\022\026\n"
+          + "\030snapshot_schedule_policy\030\337\326\201h"
+          + " \001(\0132=.google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyH\013\210\001\001\022\026\n"
           + "\006status\030\362\237\267V \001(\tH\014\210\001\001\022V\n"
           + "\017workload_policy\030\372\205\3326"
           + " \001(\01325.google.cloud.compute.v1.ResourcePolicyWorkloadPolicyH\r"
@@ -26894,8 +26978,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\034ResourcePolicyAggregatedList\022\024\n"
           + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\tH\001\210\001\001\022R\n"
-          + "\005items\030\300\317\367/ \003(\0132@.google.cl"
-          + "oud.compute.v1.ResourcePolicyAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/"
+          + " \003(\0132@.google.cloud.compute.v1.ResourcePolicyAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\004\210\001\001\022\027\n"
@@ -26904,8 +26988,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\005\210\001\001\032a\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022B\n"
-          + "\005value\030\002 \001(\01323.google.cloud.c"
-          + "ompute.v1.ResourcePoliciesScopedList:\0028\001B\007\n"
+          + "\005value\030\002"
+          + " \001(\01323.google.cloud.compute.v1.ResourcePoliciesScopedList:\0028\001B\007\n"
           + "\005_etagB\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
@@ -26950,10 +27034,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\017expiration_time\030\335\254\350m \001(\tH\000\210\001\001\022\032\n\n"
           + "start_time\030\212\351\356\021 \001(\tH\001\210\001\001\022\031\n"
           + "\ttime_zone\030\336\203\311\021 \001(\tH\002\210\001\001\022h\n"
-          + "\021vm_start_schedule\030\334\220\274\010 \001(\0132E.google.cloud.compute.v1.Resource"
-          + "PolicyInstanceSchedulePolicyScheduleH\003\210\001\001\022h\n"
-          + "\020vm_stop_schedule\030\254\345\237\313\001 \001(\0132E.google"
-          + ".cloud.compute.v1.ResourcePolicyInstanceSchedulePolicyScheduleH\004\210\001\001B\022\n"
+          + "\021vm_start_schedule\030\334\220\274\010 \001(\0132E.google.clo"
+          + "ud.compute.v1.ResourcePolicyInstanceSchedulePolicyScheduleH\003\210\001\001\022h\n"
+          + "\020vm_stop_schedule\030\254\345\237\313\001 \001(\0132E.google.cloud.compute.v1."
+          + "ResourcePolicyInstanceSchedulePolicyScheduleH\004\210\001\001B\022\n"
           + "\020_expiration_timeB\r\n"
           + "\013_start_timeB\014\n\n"
           + "_time_zoneB\024\n"
@@ -26979,9 +27063,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\271\001\n"
           + "\034ResourcePolicyResourceStatus\022|\n"
-          + "\030instance_schedule_policy\030\260\320\271\244\001"
-          + " \001(\0132Q.google.cloud.compute.v1."
-          + "ResourcePolicyResourceStatusInstanceSchedulePolicyStatusH\000\210\001\001B\033\n"
+          + "\030instance_schedule_policy\030\260\320\271\244\001 \001(\0132Q.go"
+          + "ogle.cloud.compute.v1.ResourcePolicyReso"
+          + "urceStatusInstanceSchedulePolicyStatusH\000\210\001\001B\033\n"
           + "\031_instance_schedule_policy\"\266\001\n"
           + "8ResourcePolicyResourceStatusInstanceSchedulePolicyStatus\022$\n"
           + "\023last_run_start_time\030\207\357\301\220\001 \001(\tH\000\210\001\001\022$\n"
@@ -26989,13 +27073,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\024_last_run_start_timeB\026\n"
           + "\024_next_run_start_time\"\250\003\n"
           + "$ResourcePolicySnapshotSchedulePolicy\022n\n"
-          + "\020retention_policy\030\363\312\334  \001(\0132L.google.cloud"
-          + ".compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicyH\000\210\001\001\022`\n"
-          + "\010schedule\030\227\245\232\263\001 \001(\0132E.google.cloud.compute.v1.Res"
-          + "ourcePolicySnapshotSchedulePolicyScheduleH\001\210\001\001\022t\n"
-          + "\023snapshot_properties\030\216\225\262X \001(\0132O"
-          + ".google.cloud.compute.v1.ResourcePolicyS"
-          + "napshotSchedulePolicySnapshotPropertiesH\002\210\001\001B\023\n"
+          + "\020retention_policy\030\363\312\334  \001(\0132L.google.cloud.compute.v1.Resour"
+          + "cePolicySnapshotSchedulePolicyRetentionPolicyH\000\210\001\001\022`\n"
+          + "\010schedule\030\227\245\232\263\001 \001(\0132E.googl"
+          + "e.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyScheduleH\001\210\001\001\022t\n"
+          + "\023snapshot_properties\030\216\225\262X \001(\0132O.google.cloud.comp"
+          + "ute.v1.ResourcePolicySnapshotSchedulePolicySnapshotPropertiesH\002\210\001\001B\023\n"
           + "\021_retention_policyB\013\n"
           + "\t_scheduleB\026\n"
           + "\024_snapshot_properties\"\325\002\n"
@@ -27010,21 +27093,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\023_max_retention_daysB\030\n"
           + "\026_on_source_disk_delete\"\347\002\n"
           + ",ResourcePolicySnapshotSchedulePolicySchedule\022Q\n"
-          + "\016daily_schedule\030\375\343\212) \001"
-          + "(\01321.google.cloud.compute.v1.ResourcePolicyDailyCycleH\000\210\001\001\022S\n"
-          + "\017hourly_schedule\030\245\261\243\022"
-          + " \001(\01322.google.cloud.compute.v1.ResourcePolicyHourlyCycleH\001\210\001\001\022T\n"
-          + "\017weekly_schedule\030\225\211\271\253\001"
-          + " \001(\01322.google.cloud.compute.v1.ResourcePolicyWeeklyCycleH\002\210\001\001B\021\n"
+          + "\016daily_schedule\030\375\343\212) \001(\01321.google.cloud."
+          + "compute.v1.ResourcePolicyDailyCycleH\000\210\001\001\022S\n"
+          + "\017hourly_schedule\030\245\261\243\022 \001(\01322.google.cl"
+          + "oud.compute.v1.ResourcePolicyHourlyCycleH\001\210\001\001\022T\n"
+          + "\017weekly_schedule\030\225\211\271\253\001 \001(\01322.goo"
+          + "gle.cloud.compute.v1.ResourcePolicyWeeklyCycleH\002\210\001\001B\021\n"
           + "\017_daily_scheduleB\022\n"
           + "\020_hourly_scheduleB\022\n"
           + "\020_weekly_schedule\"\320\002\n"
           + "6ResourcePolicySnapshotSchedulePolicySnapshotProperties\022\032\n\n"
           + "chain_name\030\311\332\335  \001(\tH\000\210\001\001\022\034\n"
           + "\013guest_flush\030\335\223\354\267\001 \001(\010H\001\210\001\001\022o\n"
-          + "\006labels\030\377\277\301\356\001 \003(\0132[.google.cloud"
-          + ".compute.v1.ResourcePolicySnapshotSchedu"
-          + "lePolicySnapshotProperties.LabelsEntry\022\035\n"
+          + "\006labels\030\377\277\301\356\001 \003(\0132[.google.cloud.compute.v1.Resour"
+          + "cePolicySnapshotSchedulePolicySnapshotProperties.LabelsEntry\022\035\n"
           + "\021storage_locations\030\232\355\263\234\001 \003(\t\032-\n"
           + "\013LabelsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
@@ -27032,8 +27114,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_chain_nameB\016\n"
           + "\014_guest_flush\"q\n"
           + "\031ResourcePolicyWeeklyCycle\022T\n"
-          + "\014day_of_weeks\030\332\237\373z \003("
-          + "\0132;.google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek\"\264\002\n"
+          + "\014day_of_weeks\030\332\237\373z \003(\0132;.google.cloud.c"
+          + "ompute.v1.ResourcePolicyWeeklyCycleDayOfWeek\"\264\002\n"
           + "\"ResourcePolicyWeeklyCycleDayOfWeek\022\022\n"
           + "\003day\030\234\207\006 \001(\tH\000\210\001\001\022\030\n"
           + "\010duration\030\224\233\221J \001(\tH\001\210\001\001\022\032\n\n"
@@ -27049,8 +27131,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007TUESDAY\020\255\354\251\204\001\022\021\n"
           + "\tWEDNESDAY\020\266\316\236\311\001B\006\n"
           + "\004_dayB\013\n"
-          + "\t_durationB\r"
-          + "\n"
+          + "\t_durationB\r\n"
           + "\013_start_time\"\266\004\n"
           + "\034ResourcePolicyWorkloadPolicy\022%\n"
           + "\024accelerator_topology\030\303\263\322\271\001 \001(\tH\000\210\001\001\022*\n"
@@ -27075,20 +27156,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\026_max_topology_distanceB\007\n"
           + "\005_type\"\237\006\n"
           + "\016ResourceStatus\022m\n"
-          + "\033effective_instance_metadata\030\201\216\240\032 \001("
-          + "\0132@.google.cloud.compute.v1.ResourceStatusEffectiveInstanceMetadataH\000\210\001\001\022\036\n\r"
+          + "\033effective_instance_metadata\030\201\216\240\032 \001(\0132@.google.cloud.c"
+          + "ompute.v1.ResourceStatusEffectiveInstanceMetadataH\000\210\001\001\022\036\n\r"
           + "physical_host\030\220\370\266\335\001 \001(\tH\001\210\001\001\022d\n"
-          + "\026physical_host_topology\030\276\223\257\272\001 \001(\0132;.google.cloud.comp"
-          + "ute.v1.ResourceStatusPhysicalHostTopologyH\002\210\001\001\022o\n"
-          + "\034reservation_consumption_info\030\345\305\357_"
-          + " \001(\0132A.google.cloud.compute.v1.Resour"
-          + "ceStatusReservationConsumptionInfoH\003\210\001\001\022N\n\n"
-          + "scheduling\030\224\313\261\270\001 \001(\01321.google.cloud.c"
-          + "ompute.v1.ResourceStatusSchedulingH\004\210\001\001\022X\n"
-          + "\020shutdown_details\030\331\322\237\007 \001(\01326.google.cl"
-          + "oud.compute.v1.ResourceStatusShutdownDetailsH\005\210\001\001\022R\n"
-          + "\024upcoming_maintenance\030\360\240\264l \001"
-          + "(\0132,.google.cloud.compute.v1.UpcomingMaintenanceH\006\210\001\001B\036\n"
+          + "\026physical_host_topology\030\276\223\257\272\001 \001"
+          + "(\0132;.google.cloud.compute.v1.ResourceStatusPhysicalHostTopologyH\002\210\001\001\022o\n"
+          + "\034reservation_consumption_info\030\345\305\357_ \001(\0132A.google.c"
+          + "loud.compute.v1.ResourceStatusReservationConsumptionInfoH\003\210\001\001\022N\n\n"
+          + "scheduling\030\224\313\261\270\001"
+          + " \001(\01321.google.cloud.compute.v1.ResourceStatusSchedulingH\004\210\001\001\022X\n"
+          + "\020shutdown_details\030\331\322\237\007"
+          + " \001(\01326.google.cloud.compute.v1.ResourceStatusShutdownDetailsH\005\210\001\001\022R\n"
+          + "\024upcoming_maintenance\030\360\240\264l"
+          + " \001(\0132,.google.cloud.compute.v1.UpcomingMaintenanceH\006\210\001\001B\036\n"
           + "\034_effective_instance_metadataB\020\n"
           + "\016_physical_hostB\031\n"
           + "\027_physical_host_topologyB\037\n"
@@ -27123,8 +27203,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "*_serial_port_logging_enable_metadata_valueB \n"
           + "\036_vm_dns_setting_metadata_value\"\303\002\n"
           + "\"ResourceStatusPhysicalHostTopology\022v\n"
-          + "\025additional_attributes\030\357\360\300# \001(\0132O.google.cloud.compute"
-          + ".v1.ResourceStatusPhysicalHostTopologyAdditionalAttributesH\000\210\001\001\022\025\n"
+          + "\025additional_attributes\030\357\360\300# \001(\0132"
+          + "O.google.cloud.compute.v1.ResourceStatus"
+          + "PhysicalHostTopologyAdditionalAttributesH\000\210\001\001\022\025\n"
           + "\005block\030\215\211\337, \001(\tH\001\210\001\001\022\030\n"
           + "\007cluster\030\372\243\354\237\001 \001(\tH\002\210\001\001\022\024\n"
           + "\004host\030\250\353\303\001 \001(\tH\003\210\001\001\022\030\n"
@@ -27135,9 +27216,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005_hostB\013\n"
           + "\t_subblock\"\213\002\n"
           + "6ResourceStatusPhysicalHostTopologyAdditionalAttributes\022\221\001\n"
-          + "\030accelerator_topology_ids\030\274\214\243\241\001"
-          + " \003(\0132k.google.cloud.compute.v1.Resou"
-          + "rceStatusPhysicalHostTopologyAdditionalAttributes.AcceleratorTopologyIdsEntry\032=\n"
+          + "\030accelerator_topology_ids\030\274\214\243\241\001 \003(\0132k.google."
+          + "cloud.compute.v1.ResourceStatusPhysicalH"
+          + "ostTopologyAdditionalAttributes.AcceleratorTopologyIdsEntry\032=\n"
           + "\033AcceleratorTopologyIdsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\"\211\002\n"
@@ -27158,8 +27239,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\034_graceful_shutdown_timestampB\030\n"
           + "\026_termination_timestamp\"\241\003\n"
           + "\035ResourceStatusShutdownDetails\022?\n"
-          + "\014max_duration\030\217\324\206\023"
-          + " \001(\0132!.google.cloud.compute.v1.DurationH\000\210\001\001\022\"\n"
+          + "\014max_duration\030\217\324\206\023 "
+          + "\001(\0132!.google.cloud.compute.v1.DurationH\000\210\001\001\022\"\n"
           + "\021request_timestamp\030\346\336\311\370\001 \001(\tH\001\210\001\001\022\032\n\n"
           + "stop_state\030\224\314\216  \001(\tH\002\210\001\001\022\035\n"
           + "\014target_state\030\343\320\321\241\001 \001(\tH\003\210\001\001\"M\n"
@@ -27185,9 +27266,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\321\002\n"
           + "*ResumeInstancesInstanceGroupManagerRequest\022&\n"
           + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\217\001\n"
-          + "9instance_group_managers_resume_instances_request_resource\030\302\276\302="
-          + " \001(\0132D.google.cloud.compu"
-          + "te.v1.InstanceGroupManagersResumeInstancesRequestB\003\340A\002\022!\n"
+          + "9instance_group_managers_resume_instances_request_resource\030\302\276\302= \001("
+          + "\0132D.google.cloud.compute.v1.InstanceGroupManagersResumeInstancesRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
@@ -27199,9 +27279,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\235\001\n"
-          + "@region_instance_group_managers_resume_instances_request_resource\030\267\203\200\335\001"
-          + " \001(\0132J.google.cloud.compute.v1.RegionInstan"
-          + "ceGroupManagersResumeInstancesRequestB\003\340A\002\022\032\n\n"
+          + "@region_inst"
+          + "ance_group_managers_resume_instances_request_resource\030\267\203\200\335\001"
+          + " \001(\0132J.google.cloud.c"
+          + "ompute.v1.RegionInstanceGroupManagersResumeInstancesRequestB\003\340A\002\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\235\001\n"
           + "\024ResumeRolloutRequest\022\024\n"
@@ -27214,8 +27295,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\365\003\n"
           + "\013RiskDetails\022\030\n"
           + "\010duration\030\224\233\221J \001(\tH\000\210\001\001\022Y\n"
-          + "\022global_dns_insight\030\346\347\304\365\001 \001(\0132"
-          + "4.google.cloud.compute.v1.RiskDetailsGlobalDnsInsightH\001\210\001\001\022%\n"
+          + "\022global_dns_insight\030\346\347\304\365\001 \001(\01324.google.cloud.com"
+          + "pute.v1.RiskDetailsGlobalDnsInsightH\001\210\001\001\022%\n"
           + "\025last_update_timestamp\030\251\207\361\005 \001(\tH\002\210\001\001\022\031\n"
           + "\010severity\030\375\245\364\300\001 \001(\tH\003\210\001\001\022\024\n"
           + "\004type\030\272\236\332\001 \001(\tH\004\210\001\001\"x\n"
@@ -27263,8 +27344,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "pause_time\030\366\336\300\351\001 \001(\tH\t\210\001\001\022\034\n"
           + "\013resume_time\030\237\257\251\332\001 \001(\tH\n"
           + "\210\001\001\022M\n"
-          + "\016rollout_entity\030\261\214\327! \001(\0132-.goo"
-          + "gle.cloud.compute.v1.RolloutRolloutEntityH\013\210\001\001\022\035\n"
+          + "\016rollout_entity\030\261\214\327!"
+          + " \001(\0132-.google.cloud.compute.v1.RolloutRolloutEntityH\013\210\001\001\022\035\n"
           + "\014rollout_plan\030\367\321\362\332\001 \001(\tH\014\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\r"
           + "\210\001\001\022!\n"
@@ -27334,22 +27415,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\017RolloutPlanWave\022\034\n"
           + "\014display_name\030\350\207\221\002 \001(\tH\000\210\001\001\022\026\n"
           + "\006number\030\311\266\343\022 \001(\003H\001\210\001\001\022c\n"
-          + "\025orchestration_options\030\240\315\271, \001("
-          + "\0132<.google.cloud.compute.v1.RolloutPlanWaveOrchestrationOptionsH\002\210\001\001\022G\n"
-          + "\tselectors\030\364\220\342\315\001"
-          + " \003(\01320.google.cloud.compute.v1.RolloutPlanWaveSelector\022O\n\n"
-          + "validation\030\371\220\235\353\001"
-          + " \001(\01322.google.cloud.compute.v1.RolloutPlanWaveValidationH\003\210\001\001B\017\n\r"
+          + "\025orchestration_options\030\240\315\271, \001(\0132<.google.cloud.c"
+          + "ompute.v1.RolloutPlanWaveOrchestrationOptionsH\002\210\001\001\022G\n"
+          + "\tselectors\030\364\220\342\315\001 \003(\01320.goog"
+          + "le.cloud.compute.v1.RolloutPlanWaveSelector\022O\n\n"
+          + "validation\030\371\220\235\353\001 \001(\01322.google.clo"
+          + "ud.compute.v1.RolloutPlanWaveValidationH\003\210\001\001B\017\n\r"
           + "_display_nameB\t\n"
           + "\007_numberB\030\n"
           + "\026_orchestration_optionsB\r\n"
           + "\013_validation\"\245\002\n"
           + "#RolloutPlanWaveOrchestrationOptions\022U\n"
-          + "\006delays\030\320\356\231\203\001 \003(\0132A.google"
-          + ".cloud.compute.v1.RolloutPlanWaveOrchestrationOptionsDelay\022)\n"
+          + "\006delays\030\320\356\231\203\001 \003(\0132A.google.cloud.compute.v1."
+          + "RolloutPlanWaveOrchestrationOptionsDelay\022)\n"
           + "\030max_concurrent_locations\030\321\365\270\353\001 \001(\003H\000\210\001\001\0225\n"
-          + "%max_concurrent_resources_per_location\030\336\337\210U"
-          + " \001(\003H\001\210\001\001B\033\n"
+          + "%max_concurrent_resources_per_loca",
+      "tion\030\336\337\210U \001(\003H\001\210\001\001B\033\n"
           + "\031_max_concurrent_locationsB(\n"
           + "&_max_concurrent_resources_per_location\"\361\002\n"
           + "(RolloutPlanWaveOrchestrationOptionsDelay\022\032\n"
@@ -27370,11 +27451,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\t_durationB\007\n"
           + "\005_type\"\255\002\n"
           + "\027RolloutPlanWaveSelector\022d\n"
-          + "\021location_selector\030\251\302\255\311\001 \001(\0132@.google.cloud.comput"
-          + "e.v1.RolloutPlanWaveSelectorLocationSelectorH\000\210\001\001\022v\n"
-          + "\033resource_hierarchy_selector\030\372\364\353\037"
-          + " \001(\0132I.google.cloud.compute.v1.Roll"
-          + "outPlanWaveSelectorResourceHierarchySelectorH\001\210\001\001B\024\n"
+          + "\021location_selector\030\251\302\255\311\001 \001(\013"
+          + "2@.google.cloud.compute.v1.RolloutPlanWaveSelectorLocationSelectorH\000\210\001\001\022v\n"
+          + "\033resource_hierarchy_selector\030\372\364\353\037 \001(\0132I.google"
+          + ".cloud.compute.v1.RolloutPlanWaveSelectorResourceHierarchySelectorH\001\210\001\001B\024\n"
           + "\022_location_selectorB\036\n"
           + "\034_resource_hierarchy_selector\"H\n"
           + "\'RolloutPlanWaveSelectorLocationSelector\022\035\n"
@@ -27384,9 +27464,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\026included_organizations\030\335\246\347\227\001 \003(\t\022\034\n"
           + "\021included_projects\030\235\271\320\036 \003(\t\"\334\001\n"
           + "\031RolloutPlanWaveValidation\022}\n"
-          + "\036time_based_validation_metadata\030\267\365\221! \001(\0132"
-          + "M.google.cloud.compute.v1.RolloutPlanWav"
-          + "eValidationTimeBasedValidationMetadataH\000\210\001\001\022\024\n"
+          + "\036time_based_validation_metadata\030\267\365\221! \001(\0132M.google.cloud.com"
+          + "pute.v1.RolloutPlanWaveValidationTimeBasedValidationMetadataH\000\210\001\001\022\024\n"
           + "\004type\030\272\236\332\001 \001(\tH\001\210\001\001B!\n"
           + "\037_time_based_validation_metadataB\007\n"
           + "\005_type\"h\n"
@@ -27408,8 +27487,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\225\001\n"
           + "\024RolloutRolloutEntity\022e\n"
-          + "\023orchestrated_entity\030\374\255\245\303\001"
-          + " \001(\0132?.google.cloud.compute.v1.RolloutRolloutEntityOrchestratedEntityH\000\210\001\001B\026\n"
+          + "\023orchestrated_entity\030\374\255\245\303\001 \001(\0132?.google.clo"
+          + "ud.compute.v1.RolloutRolloutEntityOrchestratedEntityH\000\210\001\001B\026\n"
           + "\024_orchestrated_entity\"\337\001\n"
           + "&RolloutRolloutEntityOrchestratedEntity\022!\n"
           + "\021conflict_behavior\030\237\310\2277 \001(\tH\000\210\001\001\022$\n"
@@ -27419,10 +27498,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\025_orchestration_actionB\027\n"
           + "\025_orchestration_source\"\211\002\n"
           + "\022RolloutWaveDetails\022n\n"
-          + "\031orchestrated_wave_details\030\325\276\214\311\001 \001(\0132B.google.clo"
-          + "ud.compute.v1.RolloutWaveDetailsOrchestratedWaveDetailsH\000\210\001\001\022!\n"
-          + "\021wave_display_nam",
-      "e\030\356\356\211\016 \001(\tH\001\210\001\001\022\034\n"
+          + "\031orchestrated_wave_details\030\325\276\214\311\001"
+          + " \001(\0132B.google.cloud.compute.v1.Roll"
+          + "outWaveDetailsOrchestratedWaveDetailsH\000\210\001\001\022!\n"
+          + "\021wave_display_name\030\356\356\211\016 \001(\tH\001\210\001\001\022\034\n"
           + "\013wave_number\030\317\326\266\352\001 \001(\003H\002\210\001\001B\034\n"
           + "\032_orchestrated_wave_detailsB\024\n"
           + "\022_wave_display_nameB\016\n"
@@ -27434,13 +27513,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " \001(\003H\002\210\001\001\022\033\n"
           + "\020failed_locations\030\334\373\305\016 \003(\t\022\'\n"
           + "\026failed_resources_count\030\363\244\351\272\001 \001(\003H\003\210\001\001\022r\n"
-          + "\017location_status\030\274\217\210\t \003(\0132V.goog"
-          + "le.cloud.compute.v1.RolloutWaveDetailsOr"
-          + "chestratedWaveDetails.LocationStatusEntry\032\207\001\n"
+          + "\017location_status\030\274\217\210\t \003(\0132V.google.cloud.compute.v"
+          + "1.RolloutWaveDetailsOrchestratedWaveDetails.LocationStatusEntry\032\207\001\n"
           + "\023LocationStatusEntry\022\013\n"
           + "\003key\030\001 \001(\t\022_\n"
-          + "\005value\030\002 \001(\0132P.google.cloud.compute.v1."
-          + "RolloutWaveDetailsOrchestratedWaveDetailsLocationStatus:\0028\001B\034\n"
+          + "\005value\030\002 \001(\0132P.google.cloud.compute.v1.RolloutWaveDetails"
+          + "OrchestratedWaveDetailsLocationStatus:\0028\001B\034\n"
           + "\032_completed_resources_countB\034\n"
           + "\032_estimated_completion_timeB\"\n"
           + " _estimated_total_resources_countB\031\n"
@@ -27523,13 +27601,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006SUBNET\020\335\356\274\223\001\022\016\n"
           + "\007TRANSIT\020\263\203\306YB\025\n"
           + "\023_creation_timestampB\016\n"
-          + "\014_descriptionB\r"
-          + "\n"
+          + "\014_descriptionB\r\n"
           + "\013_dest_rangeB\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\007\n"
-          + "\005_nameB\n"
-          + "\n"
+          + "\005_nameB\n\n"
           + "\010_networkB\023\n"
           + "\021_next_hop_gatewayB\017\n\r"
           + "_next_hop_hubB\017\n\r"
@@ -27573,8 +27649,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\253\001\n"
           + "\013RouteParams\022`\n"
-          + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132=.go"
-          + "ogle.cloud.compute.v1.RouteParams.ResourceManagerTagsEntry\032:\n"
+          + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132=.google.cloud.compute"
+          + ".v1.RouteParams.ResourceManagerTagsEntry\032:\n"
           + "\030ResourceManagerTagsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\"\310\002\n"
@@ -27582,8 +27658,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013description\030\374\207\326\311\001 \001(\tH\000\210\001\001\022\033\n"
           + "\013fingerprint\030\344\321\363o \001(\tH\001\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\002\210\001\001\022@\n"
-          + "\005terms\030\207\223\3114 \003(\0132..goog"
-          + "le.cloud.compute.v1.RoutePolicyPolicyTerm\022\024\n"
+          + "\005terms\030\207\223\3114"
+          + " \003(\0132..google.cloud.compute.v1.RoutePolicyPolicyTerm\022\024\n"
           + "\004type\030\272\236\332\001 \001(\tH\003\210\001\001\"^\n"
           + "\004Type\022\022\n"
           + "\016UNDEFINED_TYPE\020\000\022 \n"
@@ -27601,20 +27677,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006_matchB\013\n"
           + "\t_priority\"\321\006\n"
           + "\006Router\0226\n"
-          + "\003bgp\030\313\371\005"
-          + " \001(\0132\".google.cloud.compute.v1.RouterBgpH\000\210\001\001\022=\n"
-          + "\tbgp_peers\030\335\255\356\327\001 \003("
-          + "\0132&.google.cloud.compute.v1.RouterBgpPeer\022\"\n"
+          + "\003bgp\030\313\371\005 \001(\0132"
+          + "\".google.cloud.compute.v1.RouterBgpH\000\210\001\001\022=\n"
+          + "\tbgp_peers\030\335\255\356\327\001"
+          + " \003(\0132&.google.cloud.compute.v1.RouterBgpPeer\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022.\n"
           + "\035encrypted_interconnect_router\030\237\242\214\216\001"
           + " \001(\010H\003\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\004H\004\210\001\001\022?\n\n"
-          + "interfaces\030\332\364\340\005 \003(\0132(.g"
-          + "oogle.cloud.compute.v1.RouterInterface\022\024\n"
+          + "interfaces\030\332\364\340\005"
+          + " \003(\0132(.google.cloud.compute.v1.RouterInterface\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\005\210\001\001\022W\n"
-          + "\027md5_authentication_keys\030\232\256\361!"
-          + " \003(\01323.google.cloud.compute.v1.RouterMd5AuthenticationKey\022\024\n"
+          + "\027md5_authentication_keys\030\232\256\361! \003(\01323"
+          + ".google.cloud.compute.v1.RouterMd5AuthenticationKey\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\006\210\001\001\0223\n"
           + "\004nats\030\362\366\315\001 \003(\0132\".google.cloud.compute.v1.RouterNat\022\033\n"
           + "\013ncc_gateway\030\323\320\261S \001(\tH\007\210\001\001\022\027\n"
@@ -27643,8 +27719,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006_range\"\263\003\n"
           + "\024RouterAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022J\n"
-          + "\005items\030\300\317\367/"
-          + " \003(\01328.google.cloud.compute.v1.RouterAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\01328.googl"
+          + "e.cloud.compute.v1.RouterAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
@@ -27653,8 +27729,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\004\210\001\001\032X\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\0229\n"
-          + "\005value\030\002 \001(\0132*."
-          + "google.cloud.compute.v1.RoutersScopedList:\0028\001B\005\n"
+          + "\005value\030\002"
+          + " \001(\0132*.google.cloud.compute.v1.RoutersScopedList:\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
@@ -27664,8 +27740,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\016advertise_mode\030\273\225\353\224\001 \001(\tH\000\210\001\001\022\034\n"
           + "\021advertised_groups\030\266\336\205\n"
           + " \003(\t\022Q\n"
-          + "\024advertised_ip_ranges\030\314\330\363\020"
-          + " \003(\01320.google.cloud.compute.v1.RouterAdvertisedIpRange\022\022\n"
+          + "\024advertised_ip_ranges\030\314\330\363\020 \003(\0132"
+          + "0.google.cloud.compute.v1.RouterAdvertisedIpRange\022\022\n"
           + "\003asn\030\374\364\005 \001(\r"
           + "H\001\210\001\001\022!\n"
           + "\020identifier_range\030\247\314\225\357\001 \001(\tH\002\210\001\001\022#\n"
@@ -27686,14 +27762,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\016advertise_mode\030\273\225\353\224\001 \001(\tH\000\210\001\001\022\034\n"
           + "\021advertised_groups\030\266\336\205\n"
           + " \003(\t\022Q\n"
-          + "\024advertised_ip_ranges\030\314\330\363\020"
-          + " \003(\01320.google.cloud.compute.v1.RouterAdvertisedIpRange\022)\n"
+          + "\024advertised_ip_ranges\030\314\330\363\020 \003(\01320"
+          + ".google.cloud.compute.v1.RouterAdvertisedIpRange\022)\n"
           + "\031advertised_route_priority\030\274\234\366X \001(\r"
           + "H\001\210\001\001\022=\n"
           + "\003bfd\030\240\371\005"
           + " \001(\0132).google.cloud.compute.v1.RouterBgpPeerBfdH\002\210\001\001\022`\n"
-          + "\030custom_learned_ip_ranges\030\304\210\304\345\001"
-          + " \003(\0132:.google.cloud.compute.v1.RouterBgpPeerCustomLearnedIpRange\022.\n"
+          + "\030custom_learned_ip_ranges\030\304\210\304\345\001 \003(\0132:.googl"
+          + "e.cloud.compute.v1.RouterBgpPeerCustomLearnedIpRange\022.\n"
           + "\035custom_learned_route_priority\030\304\342\306\235\001"
           + " \001(\005H\003\210\001\001\022\027\n"
           + "\006enable\030\203\313\324\224\001 \001(\tH\004\210\001\001\022\033\n"
@@ -27798,8 +27874,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\020_management_typeB\007\n"
           + "\005_nameB\025\n"
           + "\023_private_ip_addressB\026\n"
-          + "\024_redundant_interfaceB\r"
-          + "\n"
+          + "\024_redundant_interfaceB\r\n"
           + "\013_subnetwork\"\235\002\n\n"
           + "RouterList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\0221\n"
@@ -27830,13 +27905,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " \001(\010H\003\210\001\001\022\032\n"
           + "\016endpoint_types\030\317\252\326\357\001 \003(\t\022%\n"
           + "\025icmp_idle_timeout_sec\030\312\320\336\001 \001(\005H\004\210\001\001\022H\n\n"
-          + "log_config\030\235\321\301\247\001 \001(\0132+.goog"
-          + "le.cloud.compute.v1.RouterNatLogConfigH\005\210\001\001\022 \n"
+          + "log_config\030\235\321\301\247\001"
+          + " \001(\0132+.google.cloud.compute.v1.RouterNatLogConfigH\005\210\001\001\022 \n"
           + "\020max_ports_per_vm\030\341\311\236w \001(\005H\006\210\001\001\022 \n"
           + "\020min_ports_per_vm\030\263\255\344X \001(\005H\007\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\010\210\001\001\022Q\n"
-          + "\021nat64_subnetworks\030\245\373\250\036 "
-          + "\003(\01323.google.cloud.compute.v1.RouterNatSubnetworkToNat64\022\'\n"
+          + "\021nat64_subnetworks\030\245\373\250\036 \003(\01323.google.cloud"
+          + ".compute.v1.RouterNatSubnetworkToNat64\022\'\n"
           + "\026nat_ip_allocate_option\030\375\270\364\314\001 \001(\tH\t\210\001\001\022\022\n"
           + "\007nat_ips\030\216\360\2138 \003(\t\0228\n"
           + "\005rules\030\367\221\3653 \003(\0132&.google.cloud.compute.v1.RouterNatRule\0222\n"
@@ -27908,8 +27983,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007_enableB\t\n"
           + "\007_filter\"\335\001\n\r"
           + "RouterNatRule\022D\n"
-          + "\006action\030\266\374\275Y"
-          + " \001(\0132,.google.cloud.compute.v1.RouterNatRuleActionH\000\210\001\001\022\034\n"
+          + "\006action\030\266\374\275Y \001(\013"
+          + "2,.google.cloud.compute.v1.RouterNatRuleActionH\000\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\025\n"
           + "\005match\030\305\263\2671 \001(\tH\002\210\001\001\022\034\n"
           + "\013rule_number\030\354\333\232\377\001 \001(\r"
@@ -27937,8 +28012,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\004name\030\213\365\315\001 \001(\tH\000\210\001\001B\007\n"
           + "\005_name\"\255\001\n"
           + "\014RouterParams\022a\n"
-          + "\025resource_manager_tags\030\374\233\213\264\001"
-          + " \003(\0132>.google.cloud.compute.v1.RouterParams.ResourceManagerTagsEntry\032:\n"
+          + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132>.google.clou"
+          + "d.compute.v1.RouterParams.ResourceManagerTagsEntry\032:\n"
           + "\030ResourceManagerTagsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\"\363\002\n"
@@ -27947,10 +28022,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " \003(\0132\036.google.cloud.compute.v1.Route\022A\n"
           + "\026best_routes_for_router\030\371\373\3668"
           + " \003(\0132\036.google.cloud.compute.v1.Route\022N\n"
-          + "\017bgp_peer_status\030\373\327\225h"
-          + " \003(\01322.google.cloud.compute.v1.RouterStatusBgpPeerStatus\022E\n\n"
-          + "nat_status\030\320\231\213\036"
-          + " \003(\0132..google.cloud.compute.v1.RouterStatusNatStatus\022\033\n"
+          + "\017bgp_peer_status\030\373\327\225h \003(\0132"
+          + "2.google.cloud.compute.v1.RouterStatusBgpPeerStatus\022E\n\n"
+          + "nat_status\030\320\231\213\036 \003(\0132..goo"
+          + "gle.cloud.compute.v1.RouterStatusNatStatus\022\033\n"
           + "\013ncc_gateway\030\323\320\261S \001(\tH\000\210\001\001\022\027\n"
           + "\007network\030\256\264\205o \001(\tH\001\210\001\001B\016\n"
           + "\014_ncc_gatewayB\n\n"
@@ -27958,8 +28033,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\031RouterStatusBgpPeerStatus\022=\n"
           + "\021advertised_routes\030\254\331\374\236\001"
           + " \003(\0132\036.google.cloud.compute.v1.Route\022?\n\n"
-          + "bfd_status\030\361\270\323\274\001"
-          + " \001(\0132\".google.cloud.compute.v1.BfdStatusH\000\210\001\001\022\033\n"
+          + "bfd_status\030\361\270\323\274\001 \001("
+          + "\0132\".google.cloud.compute.v1.BfdStatusH\000\210\001\001\022\033\n"
           + "\013enable_ipv4\030\241\366\303V \001(\010H\001\210\001\001\022\033\n"
           + "\013enable_ipv6\030\243\366\303V \001(\010H\002\210\001\001\022\033\n\n"
           + "ip_address\030\334\361\334\301\001 \001(\tH\003\210\001\001\022$\n"
@@ -27982,7 +28057,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "status_reason\030\261\226\265\243\001 \001(\tH\020\210\001\001\022\026\n"
           + "\006uptime\030\350\267\236p \001(\tH\021\210\001\001\022\036\n"
           + "\016uptime_seconds\030\250\312\3701 \001(\tH\022\210\001\001\"E\n"
-          + "\006Status\022\024\n"
+          + "\006St",
+      "atus\022\024\n"
           + "\020UNDEFINED_STATUS\020\000\022\013\n"
           + "\004DOWN\020\242\271\200\001\022\017\n"
           + "\007UNKNOWN\020\252\360\304\316\001\022\007\n"
@@ -28021,8 +28097,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\004name\030\213\365\315\001 \001(\tH\001\210\001\001\0223\n"
           + "\"num_vm_endpoints_with_nat_mappings\030\354\266\250\364\001"
           + " \001(\005H\002\210\001\001\022S\n"
-          + "\013rule_status\030\225\305\356B \003(\0132;.google.cloud.comput"
-          + "e.v1.RouterStatusNatStatusNatRuleStatus\022*\n"
+          + "\013rule_status\030\225\305\356B \003(\013"
+          + "2;.google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus\022*\n"
           + "\037user_allocated_nat_ip_resources\030\327\351\272e \003(\t\022\"\n"
           + "\026user_allocated_nat_ips\030\242\262\331\361\001 \003(\tB\033\n"
           + "\031_min_extra_nat_ips_neededB\007\n"
@@ -28040,8 +28116,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\014_rule_number\"\177\n"
           + "\024RouterStatusResponse\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\000\210\001\001\022=\n"
-          + "\006result\030\235\220\267B \001(\0132%.g"
-          + "oogle.cloud.compute.v1.RouterStatusH\001\210\001\001B\007\n"
+          + "\006result\030\235\220\267B"
+          + " \001(\0132%.google.cloud.compute.v1.RouterStatusH\001\210\001\001B\007\n"
           + "\005_kindB\t\n"
           + "\007_result\"\205\001\n"
           + "\032RoutersGetNamedSetResponse\022\024\n"
@@ -28067,12 +28143,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005_etagB\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
-          + "\020_next_page_tokenB\014\n"
-          + "\n"
+          + "\020_next_page_tokenB\014\n\n"
           + "_self_linkB\n\n"
           + "\010_warning\"\342\002\n"
-          + "\024RoutersListN",
-      "amedSets\022\024\n"
+          + "\024RoutersListNamedSets\022\024\n"
           + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\tH\001\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n"
@@ -28141,12 +28215,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013auto_delete\030\273\344\316\335\001 \001(\010H\000\210\001\001\022\024\n"
           + "\004boot\030\362\365\270\001 \001(\010H\001\210\001\001\022\033\n"
           + "\013device_name\030\324\265\232  \001(\tH\002\210\001\001\022T\n"
-          + "\023disk_encryption_key\030\205\355\304\201\001 \001(\013"
-          + "2..google.cloud.compute.v1.CustomerEncryptionKeyH\003\210\001\001\022\035\n"
+          + "\023disk_encryption_key\030\205\355\304\201\001"
+          + " \001(\0132..google.cloud.compute.v1.CustomerEncryptionKeyH\003\210\001\001\022\035\n"
           + "\014disk_size_gb\030\267\232\347\226\001 \001(\003H\004\210\001\001\022\031\n"
           + "\tdisk_type\030\234\351\254, \001(\tH\005\210\001\001\022E\n"
-          + "\021guest_os_features\030\321\340\347%"
-          + " \003(\0132\'.google.cloud.compute.v1.GuestOsFeature\022\025\n"
+          + "\021guest_os_features\030\321\340\347% "
+          + "\003(\0132\'.google.cloud.compute.v1.GuestOsFeature\022\025\n"
           + "\005index\030\322\321\354/ \001(\005H\006\210\001\001\022\032\n"
           + "\tinterface\030\271\332\325\357\001 \001(\tH\007\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\010\210\001\001\022\024\n"
@@ -28202,8 +28276,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\022StorageBytesStatus\022\"\n"
           + "\036UNDEFINED_STORAGE_BYTES_STATUS\020\000\022\020\n"
           + "\010UPDATING\020\306\356\354\353\001\022\021\n\n"
-          + "UP_TO_DATE\020\316\242\2470B\017\n"
-          + "\r"
+          + "UP_TO_DATE\020\316\242\2470B\017\n\r"
           + "_architectureB\007\n"
           + "\005_kindB\016\n"
           + "\014_source_diskB\020\n"
@@ -28225,8 +28298,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "Scheduling\022\"\n"
           + "\021automatic_restart\030\373\267\244\247\001 \001(\010H\000\210\001\001\022#\n"
           + "\023availability_domain\030\250\240\264x \001(\005H\001\210\001\001\022V\n"
-          + "\021graceful_shutdown\030\220\345\365k \001(\01323.google.cloud.comp"
-          + "ute.v1.SchedulingGracefulShutdownH\002\210\001\001\022+\n"
+          + "\021graceful_shutdown\030\220\345\365k \001"
+          + "(\01323.google.cloud.compute.v1.SchedulingGracefulShutdownH\002\210\001\001\022+\n"
           + "\032host_error_timeout_seconds\030\223\334\331\302\001"
           + " \001(\005H\003\210\001\001\022+\n"
           + "\033instance_termination_action\030\273\377\2313 \001(\tH\004\210\001\001\022M\n"
@@ -28236,11 +28309,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\020max_run_duration\030\303\257\270\315\001"
           + " \001(\0132!.google.cloud.compute.v1.DurationH\007\210\001\001\022\036\n\r"
           + "min_node_cpus\030\273\244\242\227\001 \001(\005H\010\210\001\001\022L\n"
-          + "\017node_affinities\030\243\204\232\334\001"
-          + " \003(\0132/.google.cloud.compute.v1.SchedulingNodeAffinity\022#\n"
+          + "\017node_affinities\030\243\204\232\334\001 \003(\0132/.googl"
+          + "e.cloud.compute.v1.SchedulingNodeAffinity\022#\n"
           + "\023on_host_maintenance\030\334\362\347\036 \001(\tH\t\210\001\001\022a\n"
-          + "\027on_instance_stop_action\030\311\215\325\374\001"
-          + " \001(\01327.google.cloud.compute.v1.SchedulingOnInstanceStopActionH\n"
+          + "\027on_instance_stop_action\030\311\215\325\374\001 \001(\01327.go"
+          + "ogle.cloud.compute.v1.SchedulingOnInstanceStopActionH\n"
           + "\210\001\001\022\034\n"
           + "\013preemptible\030\241\345\313\232\001 \001(\010H\013\210\001\001\022N\n"
           + "\032preemption_notice_duration\030\265\355\351\347\001"
@@ -28282,8 +28355,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\021_termination_time\"\222\001\n"
           + "\032SchedulingGracefulShutdown\022\026\n"
           + "\007enabled\030\301\226> \001(\010H\000\210\001\001\022?\n"
-          + "\014max_duration\030\217\324\206\023"
-          + " \001(\0132!.google.cloud.compute.v1.DurationH\001\210\001\001B\n\n"
+          + "\014max_duration\030\217\324\206\023 \001(\013"
+          + "2!.google.cloud.compute.v1.DurationH\001\210\001\001B\n\n"
           + "\010_enabledB\017\n\r"
           + "_max_duration\"\307\001\n"
           + "\026SchedulingNodeAffinity\022\022\n"
@@ -28308,8 +28381,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\036SecurityPoliciesAggregatedList\022\024\n"
           + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\tH\001\210\001\001\022T\n"
-          + "\005items\030\300\317\367/ \003(\0132"
-          + "B.google.cloud.compute.v1.SecurityPoliciesAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132B.google.cloud.com"
+          + "pute.v1.SecurityPoliciesAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\004\210\001\001\022\027\n"
@@ -28318,8 +28391,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\005\210\001\001\032a\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022B\n"
-          + "\005value\030\002 \001(\01323.g"
-          + "oogle.cloud.compute.v1.SecurityPoliciesScopedList:\0028\001B\007\n"
+          + "\005value\030\002"
+          + " \001(\01323.google.cloud.compute.v1.SecurityPoliciesScopedList:\0028\001B\007\n"
           + "\005_etagB\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
@@ -28327,12 +28400,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\277\001\n"
           + "7SecurityPoliciesListPreconfiguredExpressionSetsResponse\022b\n"
-          + "\035preconfigured_expression_sets\030\372\214\327\377\001 \001(\01322.google.clo"
-          + "ud.compute.v1.SecurityPoliciesWafConfigH\000\210\001\001B \n"
+          + "\035preconfigured_expression_sets\030\372\214\327\377\001"
+          + " \001(\01322.google.cloud.compute.v1.SecurityPoliciesWafConfigH\000\210\001\001B \n"
           + "\036_preconfigured_expression_sets\"\252\001\n"
           + "\032SecurityPoliciesScopedList\022E\n"
-          + "\021security_policies\030\357\246\367<"
-          + " \003(\0132\'.google.cloud.compute.v1.SecurityPolicy\0229\n"
+          + "\021security_policies\030\357\246\367< \003("
+          + "\0132\'.google.cloud.compute.v1.SecurityPolicy\0229\n"
           + "\007warning\030\234\337\226\030 \001(\0132"
           + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n"
           + "\010_warning\"r\n"
@@ -28341,31 +28414,30 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " \001(\0132,.google.cloud.compute.v1.PreconfiguredWafSetH\000\210\001\001B\014\n\n"
           + "_waf_rules\"\314\013\n"
           + "\016SecurityPolicy\022k\n"
-          + "\032adaptive_protection_config\030\337\373\321G \001(\0132?.google.cloud"
-          + ".compute.v1.SecurityPolicyAdaptiveProtectionConfigH\000\210\001\001\022f\n"
-          + "\027advanced_options_config\030\300\323\235\326\001"
-          + " \001(\0132<.google.cloud.compute.v1.S"
-          + "ecurityPolicyAdvancedOptionsConfigH\001\210\001\001\022L\n"
+          + "\032adaptive_protection_config\030\337\373\321G"
+          + " \001(\0132?.google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigH\000\210\001\001\022f\n"
+          + "\027advanced_options_config\030\300\323\235\326\001 \001(\0132<.goo"
+          + "gle.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfigH\001\210\001\001\022L\n"
           + "\014associations\030\222\350\312\362\001"
           + " \003(\01322.google.cloud.compute.v1.SecurityPolicyAssociation\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\002\210\001\001\022c\n"
-          + "\026ddos_protection_config\030\315\204\377\027 \001(\0132;.google.cl"
-          + "oud.compute.v1.SecurityPolicyDdosProtectionConfigH\003\210\001\001\022\034\n"
+          + "\026ddos_protection_config\030\315\204\377\027"
+          + " \001(\0132;.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfigH\003\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\004\210\001\001\022\033\n"
           + "\013fingerprint\030\344\321\363o \001(\tH\005\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\004H\006\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\007\210\001\001\022!\n"
           + "\021label_fingerprint\030\231\360\367T \001(\tH\010\210\001\001\022G\n"
-          + "\006labels\030\377\277\301\356\001"
-          + " \003(\01323.google.cloud.compute.v1.SecurityPolicy.LabelsEntry\022\024\n"
+          + "\006labels\030\377\277\301\356\001 \003(\01323.google."
+          + "cloud.compute.v1.SecurityPolicy.LabelsEntry\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\t\210\001\001\022\026\n"
           + "\006parent\030\252\221\254% \001(\tH\n"
           + "\210\001\001\022h\n"
-          + "\030recaptcha_options_config\030\333\324\275\367\001 \001(\0132=.google.cloud"
-          + ".compute.v1.SecurityPolicyRecaptchaOptionsConfigH\013\210\001\001\022\026\n"
+          + "\030recaptcha_options_config\030\333\324\275\367\001"
+          + " \001(\0132=.google.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfigH\013\210\001\001\022\026\n"
           + "\006region\030\364\315\240B \001(\tH\014\210\001\001\022=\n"
-          + "\005rules\030\367\221\3653"
-          + " \003(\0132+.google.cloud.compute.v1.SecurityPolicyRule\022\032\n"
+          + "\005rules\030\367\221\3653 \003(\0132+."
+          + "google.cloud.compute.v1.SecurityPolicyRule\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\r"
           + "\210\001\001\022\033\n\n"
           + "short_name\030\356\270\320\352\001 \001(\tH\016\210\001\001\022\024\n"
@@ -28373,7 +28445,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\023user_defined_fields\030\243\211\300\r"
           + " \003(\01327.google.cloud.compute.v1.SecurityPolicyUserDefinedField\032-\n"
           + "\013LabelsEntry\022\013\n"
-          + "\003key\030\001 \001(\t\022\r\n"
+          + "\003key\030\001 \001(\t\022\r"
+          + "\n"
           + "\005value\030\002 \001(\t:\0028\001\"d\n"
           + "\004Type\022\022\n"
           + "\016UNDEFINED_TYPE\020\000\022\022\n"
@@ -28397,14 +28470,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_short_nameB\007\n"
           + "\005_type\"\315\001\n"
           + "&SecurityPolicyAdaptiveProtectionConfig\022\203\001\n"
-          + "\032layer7_ddos_defense_config\030\243\331\303\320\001 \001(\0132V.google.cloud.comput"
-          + "e.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigH\000\210\001\001B\035\n"
+          + "\032layer7_ddos_defense_config\030\243\331\303\320\001 \001(\013"
+          + "2V.google.cloud.compute.v1.SecurityPolic"
+          + "yAdaptiveProtectionConfigLayer7DdosDefenseConfigH\000\210\001\001B\035\n"
           + "\033_layer7_ddos_defense_config\"\363\002\n"
           + "=SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig\022\027\n"
           + "\006enable\030\203\313\324\224\001 \001(\010H\000\210\001\001\022 \n"
           + "\017rule_visibility\030\265\330\220\330\001 \001(\tH\001\210\001\001\022\203\001\n"
-          + "\021threshold_configs\030\235\253\343\034 \003(\0132e.google.cloud.comput"
-          + "e.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig\"R\n"
+          + "\021threshold_configs\030\235\253\343\034 \003(\013"
+          + "2e.google.cloud.compute.v1.SecurityPolic"
+          + "yAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig\"R\n"
           + "\016RuleVisibility\022\035\n"
           + "\031UNDEFINED_RULE_VISIBILITY\020\000\022\017\n"
           + "\007PREMIUM\020\267\264\301\276\001\022\020\n"
@@ -28423,9 +28498,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\"detection_relative_to_baseline_qps\030\205\233\366\212\001"
           + " \001(\002H\006\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\007\210\001\001\022\245\001\n"
-          + "\033traffic_granularity_configs\030\276\264\332( \003(\0132}.goo"
-          + "gle.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConf"
-          + "igThresholdConfigTrafficGranularityConfigB#\n"
+          + "\033traffic_granularity_configs\030\276\264\332( \003(\0132}.google.cloud.compute."
+          + "v1.SecurityPolicyAdaptiveProtectionConfi"
+          + "gLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfigB#\n"
           + "!_auto_deploy_confidence_thresholdB\035\n"
           + "\033_auto_deploy_expiration_secB*\n"
           + "(_auto_deploy_impacted_baseline_thresholdB\035\n"
@@ -28434,8 +28509,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\031_detection_load_thresholdB%\n"
           + "#_detection_relative_to_baseline_qpsB\007\n"
           + "\005_name\"\320\002\n"
-          + "dSecurityPolicyAdaptiveProte"
-          + "ctionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig\022)\n"
+          + "dSecurityPolicyAdaptiveProtectionConfigLayer7D"
+          + "dosDefenseConfigThresholdConfigTrafficGranularityConfig\022)\n"
           + "\030enable_each_unique_value\030\305\212\336\337\001"
           + " \001(\010H\000\210\001\001\022\024\n"
           + "\004type\030\272\236\332\001 \001(\tH\001\210\001\001\022\025\n"
@@ -28449,8 +28524,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005_typeB\010\n"
           + "\006_value\"\255\004\n"
           + "#SecurityPolicyAdvancedOptionsConfig\022p\n"
-          + "\022json_custom_config\030\271\331\2315 \001(\0132L.google.cloud.comput"
-          + "e.v1.SecurityPolicyAdvancedOptionsConfigJsonCustomConfigH\000\210\001\001\022\035\n"
+          + "\022json_custom_config\030\271\331\2315 \001(\013"
+          + "2L.google.cloud.compute.v1.SecurityPolic"
+          + "yAdvancedOptionsConfigJsonCustomConfigH\000\210\001\001\022\035\n"
           + "\014json_parsing\030\331\204\332\206\001 \001(\tH\001\210\001\001\022\031\n"
           + "\tlog_level\030\311\275\204C \001(\tH\002\210\001\001\022,\n"
           + "\034request_body_inspection_size\030\377\215\232[ \001(\tH\003\210\001\001\022#\n"
@@ -28523,21 +28599,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\022SecurityPolicyRule\022\026\n"
           + "\006action\030\266\374\275Y \001(\tH\000\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022[\n\r"
-          + "header_action\030\250\240\270\234\001 \001(\0132;.google.cloud.compute"
-          + ".v1.SecurityPolicyRuleHttpHeaderActionH\002\210\001\001\022\024\n"
+          + "header_action\030\250\240\270\234\001 \001(\0132"
+          + ";.google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionH\002\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\003\210\001\001\022I\n"
-          + "\005match\030\305\263\2671 "
-          + "\001(\01322.google.cloud.compute.v1.SecurityPolicyRuleMatcherH\004\210\001\001\022Y\n\r"
-          + "network_match\030\364\370\372\334\001"
-          + " \001(\01329.google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherH\005\210\001\001\022k\n"
-          + "\030preconfigured_waf_config\030\343\237\2268 \001(\0132A.google.cl"
-          + "oud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigH\006\210\001\001\022\027\n"
+          + "\005match\030\305\263\2671 \001(\01322.google.cloud"
+          + ".compute.v1.SecurityPolicyRuleMatcherH\004\210\001\001\022Y\n\r"
+          + "network_match\030\364\370\372\334\001 \001(\01329.google.c"
+          + "loud.compute.v1.SecurityPolicyRuleNetworkMatcherH\005\210\001\001\022k\n"
+          + "\030preconfigured_waf_config\030\343\237\2268 \001(\0132A.google.cloud.compute.v1.Sec"
+          + "urityPolicyRulePreconfiguredWafConfigH\006\210\001\001\022\027\n"
           + "\007preview\030\310\307\243h \001(\010H\007\210\001\001\022\031\n"
           + "\010priority\030\244\363\241\324\001 \001(\005H\010\210\001\001\022_\n"
-          + "\022rate_limit_options\030\373\311\232  \001(\0132;.google.cloud.c"
-          + "ompute.v1.SecurityPolicyRuleRateLimitOptionsH\t\210\001\001\022\\\n"
-          + "\020redirect_options\030\273\222\356M \001(\0132:"
-          + ".google.cloud.compute.v1.SecurityPolicyRuleRedirectOptionsH\n"
+          + "\022rate_limit_options\030\373\311\232 "
+          + " \001(\0132;.google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsH"
+          + "\t\210\001\001\022\\\n"
+          + "\020redirect_options\030\273\222\356M \001(\0132:.google.cloud.comp"
+          + "ute.v1.SecurityPolicyRuleRedirectOptionsH\n"
           + "\210\001\001B\t\n"
           + "\007_actionB\016\n"
           + "\014_descriptionB\020\n"
@@ -28551,20 +28628,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\023_rate_limit_optionsB\023\n"
           + "\021_redirect_options\"\225\001\n"
           + "\"SecurityPolicyRuleHttpHeaderAction\022o\n"
-          + "\027request_headers_to_adds\030\315\253\372) \003(\0132K"
-          + ".google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption\"\220\001\n"
+          + "\027request_headers_to_adds\030\315\253\372) \003(\0132K.google.cloud.comp"
+          + "ute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption\"\220\001\n"
           + "2SecurityPolicyRuleHttpHeaderActionHttpHeaderOption\022\033\n"
           + "\013header_name\030\375\301\3074 \001(\tH\000\210\001\001\022\034\n"
           + "\014header_value\030\277\362\353` \001(\tH\001\210\001\001B\016\n"
           + "\014_header_nameB\017\n\r"
           + "_header_value\"\233\003\n"
           + "\031SecurityPolicyRuleMatcher\022P\n"
-          + "\006config\030\302\206\376y \001(\01328.google"
-          + ".cloud.compute.v1.SecurityPolicyRuleMatcherConfigH\000\210\001\001\0223\n"
+          + "\006config\030\302\206\376y"
+          + " \001(\01328.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigH\000\210\001\001\0223\n"
           + "\004expr\030\365\363\276\001"
           + " \001(\0132\035.google.cloud.compute.v1.ExprH\001\210\001\001\022\\\n"
-          + "\014expr_options\030\324\304\354\347\001 \001(\0132=.google.cloud.compute.v1."
-          + "SecurityPolicyRuleMatcherExprOptionsH\002\210\001\001\022\037\n"
+          + "\014expr_options\030\324\304\354\347\001 \001(\0132=.go"
+          + "ogle.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptionsH\002\210\001\001\022\037\n"
           + "\016versioned_expr\030\275\343\326\231\001 \001(\tH\003\210\001\001\"@\n\r"
           + "VersionedExpr\022\034\n"
           + "\030UNDEFINED_VERSIONED_EXPR\020\000\022\021\n\n"
@@ -28576,8 +28653,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\037SecurityPolicyRuleMatcherConfig\022\031\n\r"
           + "src_ip_ranges\030\323\200\207\316\001 \003(\t\"\257\001\n"
           + "$SecurityPolicyRuleMatcherExprOptions\022q\n"
-          + "\021recaptcha_options\030\306\366\307\271\001 \001(\0132M.google.cloud.compute.v1.Sec"
-          + "urityPolicyRuleMatcherExprOptionsRecaptchaOptionsH\000\210\001\001B\024\n"
+          + "\021recaptcha_options\030\306\366\307\271\001 \001(\0132M.googl"
+          + "e.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsH\000\210\001\001B\024\n"
           + "\022_recaptcha_options\"~\n"
           + "4SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions\022!\n"
           + "\026action_token_site_keys\030\235\352\311\034 \003(\t\022#\n"
@@ -28592,27 +28669,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\tsrc_ports\030\367\273\236\324\001 \003(\t\022\033\n"
           + "\020src_region_codes\030\226\343\237/ \003(\t\022n\n"
           + "\023user_defined_fields\030\243\211\300\r"
-          + " \003(\0132N.google.cloud.compute.v1.Sec"
-          + "urityPolicyRuleNetworkMatcherUserDefinedFieldMatch\"i\n"
+          + " \003(\0132N.googl",
+      "e.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch\"i\n"
           + "5SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\000\210\001\001\022\021\n"
           + "\006values\030\242\272\226w \003(\tB\007\n"
           + "\005_name\"\215\001\n"
           + "(SecurityPolicyRulePreconfiguredWafConfig\022a\n\n"
-          + "exclusions\030\345\370\277c \003(\0132J.google.cloud"
-          + ".compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusion\"\202\005\n"
+          + "exclusions\030\345\370\277c \003(\0132J.google.cloud.compute.v1.Securi"
+          + "tyPolicyRulePreconfiguredWafConfigExclusion\"\202\005\n"
           + "1SecurityPolicyRulePreconfiguredWafConfigExclusion\022|\n"
-          + "\032request_cookies_to_exclude\030\366\336\337J \003(\0132U.goo"
-          + "gle.cloud.compute.v1.SecurityPolicyRuleP"
-          + "reconfiguredWafConfigExclusionFieldParams\022|\n"
-          + "\032request_headers_to_exclude\030\237\244\223\036 \003(\013"
-          + "2U.google.cloud.compute.v1.SecurityPolic"
-          + "yRulePreconfiguredWafConfigExclusionFieldParams\022\202\001\n"
-          + "\037request_query_params_to_exclude\030\210\236\272\242\001"
-          + " \003(\0132U.google.cloud.compute.v1."
-          + "SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams\022y\n"
-          + "\027request_uris_to_exclude\030\236\252\237+ \003(\0132U.google.cloud.compute."
-          + "v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams\022\033\n"
+          + "\032request_cookies_to_exclude\030\366\336\337J \003(\0132U.google.cloud.compute."
+          + "v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams\022|\n"
+          + "\032request_headers_to_exclude\030\237\244\223\036 \003(\0132U.google.cloud.co"
+          + "mpute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams\022\202\001\n"
+          + "\037request_query_params_to_exclude\030\210\236\272\242\001 \003(\0132U.go"
+          + "ogle.cloud.compute.v1.SecurityPolicyRule"
+          + "PreconfiguredWafConfigExclusionFieldParams\022y\n"
+          + "\027request_uris_to_exclude\030\236\252\237+ \003(\0132U"
+          + ".google.cloud.compute.v1.SecurityPolicyR"
+          + "ulePreconfiguredWafConfigExclusionFieldParams\022\033\n"
           + "\017target_rule_ids\030\343\343\325\355\001 \003(\t\022 \n"
           + "\017target_rule_set\030\215\257\326\355\001 \001(\tH\000\210\001\001B\022\n"
           + "\020_target_rule_set\"\347\001\n"
@@ -28630,18 +28706,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\004_val\"\245\010\n"
           + "\"SecurityPolicyRuleRateLimitOptions\022 \n"
           + "\020ban_duration_sec\030\326\232\272\024 \001(\005H\000\210\001\001\022d\n\r"
-          + "ban_threshold\030\273\250\377\356\001 \001(\013"
-          + "2D.google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThresholdH\001\210\001\001\022\037\n"
+          + "ban_threshold\030\273\250\377\356\001 \001(\0132D.google.cloud.co"
+          + "mpute.v1.SecurityPolicyRuleRateLimitOptionsThresholdH\001\210\001\001\022\037\n"
           + "\016conform_action\030\317\306\350\366\001 \001(\tH\002\210\001\001\022\037\n"
           + "\016enforce_on_key\030\374\235\326\306\001 \001(\tH\003\210\001\001\022p\n"
-          + "\026enforce_on_key_configs\030\256\276\225\020 \003(\0132M.google.cloud.compute."
-          + "v1.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig\022#\n"
+          + "\026enforce_on_key_configs\030\256\276\225\020 \003(\0132M"
+          + ".google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig\022#\n"
           + "\023enforce_on_key_name\030\356\303\232? \001(\tH\004\210\001\001\022\035\n\r"
           + "exceed_action\030\241\312\332O \001(\tH\005\210\001\001\022d\n"
-          + "\027exceed_redirect_options\030\346\214\355\341\001 \001(\013"
-          + "2:.google.cloud.compute.v1.SecurityPolicyRuleRedirectOptionsH\006\210\001\001\022k\n"
-          + "\024rate_limit_threshold\030\210\277\317\226\001 \001(\0132D.google.cloud.compu"
-          + "te.v1.SecurityPolicyRuleRateLimitOptionsThresholdH\007\210\001\001\"\377\001\n"
+          + "\027exceed_redirect_options\030\346\214\355\341\001 \001(\0132:.google.cloud.co"
+          + "mpute.v1.SecurityPolicyRuleRedirectOptionsH\006\210\001\001\022k\n"
+          + "\024rate_limit_threshold\030\210\277\317\226\001 \001("
+          + "\0132D.google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThresholdH\007\210\001\001\"\377\001\n"
           + "\014EnforceOnKey\022\034\n"
           + "\030UNDEFINED_ENFORCE_ON_KEY\020\000\022\t\n"
           + "\003ALL\020\201\373\003\022\t\n"
@@ -28660,8 +28736,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\016_ban_thresholdB\021\n"
           + "\017_conform_actionB\021\n"
           + "\017_enforce_on_keyB\026\n"
-          + "\024_enforc",
-      "e_on_key_nameB\020\n"
+          + "\024_enforce_on_key_nameB\020\n"
           + "\016_exceed_actionB\032\n"
           + "\030_exceed_redirect_optionsB\027\n"
           + "\025_rate_limit_threshold\"\273\003\n"
@@ -28716,8 +28791,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007_offsetB\007\n"
           + "\005_size\"\326\001\n"
           + "\020SecuritySettings\022O\n"
-          + "\025aws_v4_authentication\030\227\353\370\316\001 "
-          + "\001(\0132\'.google.cloud.compute.v1.AWSV4SignatureH\000\210\001\001\022\"\n"
+          + "\025aws_v4_authentication\030\227\353\370\316\001"
+          + " \001(\0132\'.google.cloud.compute.v1.AWSV4SignatureH\000\210\001\001\022\"\n"
           + "\021client_tls_policy\030\352\213\272\334\001 \001(\tH\001\210\001\001\022\035\n"
           + "\021subject_alt_names\030\337\263\257\235\001 \003(\tB\030\n"
           + "\026_aws_v4_authenticationB\024\n"
@@ -28751,11 +28826,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006scopes\030\237\231\222O \003(\tB\010\n"
           + "\006_email\"\261\013\n"
           + "\021ServiceAttachment\022[\n"
-          + "\023connected_endpoints\030\310\227\270\" \003(\0132;"
-          + ".google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint\022&\n"
+          + "\023connected_endpoints\030\310\227\270\" \003(\0132;.google.cloud.comp"
+          + "ute.v1.ServiceAttachmentConnectedEndpoint\022&\n"
           + "\025connection_preference\030\334\371\244\210\001 \001(\tH\000\210\001\001\022a\n"
-          + "\025consumer_accept_lists\030\307\266\204\300\001"
-          + " \003(\0132>.google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit\022 \n"
+          + "\025consumer_accept_lists\030\307\266\204\300\001 \003(\0132>.g"
+          + "oogle.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit\022 \n"
           + "\025consumer_reject_lists\030\236\231\245a \003(\t\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\027\n"
@@ -28764,8 +28839,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013fingerprint\030\344\321\363o \001(\tH\004\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\004H\005\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\006\210\001\001\022M\n"
-          + "\010metadata\030\257\366\265)"
-          + " \003(\01328.google.cloud.compute.v1.ServiceAttachment.MetadataEntry\022\024\n"
+          + "\010metadata\030\257\366\265) \003(\01328.go"
+          + "ogle.cloud.compute.v1.ServiceAttachment.MetadataEntry\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\007\210\001\001\022%\n"
           + "\024nat_ips_per_endpoint\030\210\216\220\261\001 \001(\r"
           + "H\010\210\001\001\022\027\n"
@@ -28807,8 +28882,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\017_target_service\"\324\003\n"
           + "\037ServiceAttachmentAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022U\n"
-          + "\005items\030\300\317\367/ \003(\0132C.g"
-          + "oogle.cloud.compute.v1.ServiceAttachmentAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132C.google.cloud.comput"
+          + "e.v1.ServiceAttachmentAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
@@ -28817,8 +28892,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\004\210\001\001\032c\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022D\n"
-          + "\005value\030\002 \001(\01325.goo"
-          + "gle.cloud.compute.v1.ServiceAttachmentsScopedList:\0028\001B\005\n"
+          + "\005value\030\002"
+          + " \001(\01325.google.cloud.compute.v1.ServiceAttachmentsScopedList:\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
@@ -28859,8 +28934,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\022_project_id_or_num\"\263\002\n"
           + "\025ServiceAttachmentList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022<\n"
-          + "\005items\030\300\317\367/ \003(\0132*.go"
-          + "ogle.cloud.compute.v1.ServiceAttachment\022\024\n"
+          + "\005items\030\300\317\367/"
+          + " \003(\0132*.google.cloud.compute.v1.ServiceAttachment\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n"
@@ -28881,8 +28956,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\212\001\n"
-          + "7target_ssl_proxies_set_backend_service_request_resource\030\244\351\250B \001(\0132"
-          + "A.google.cloud.compute.v1.TargetSslProxiesSetBackendServiceRequestB\003\340A\002\022!\n"
+          + "7target_ssl_proxies_set_backend_service_request_resource\030\244\351\250B"
+          + " \001(\0132A.google.cloud.com"
+          + "pute.v1.TargetSslProxiesSetBackendServiceRequestB\003\340A\002\022!\n"
           + "\020target_ssl_proxy\030\315\272\306\241\001 \001(\tB\003\340A\002B\r\n"
           + "\013_request_id\"\247\002\n"
           + "&SetBackendServiceTargetTcpProxyRequest\022!\n"
@@ -28890,8 +28966,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\213\001\n"
           + "7target_tcp_proxies_set_backend_service_request_resource\030\357\321\302\202\001"
-          + " \001(\0132A.google.cloud.compute"
-          + ".v1.TargetTcpProxiesSetBackendServiceRequestB\003\340A\002\022!\n"
+          + " \001(\0132"
+          + "A.google.cloud.compute.v1.TargetTcpProxiesSetBackendServiceRequestB\003\340A\002\022!\n"
           + "\020target_tcp_proxy\030\342\326\360\357\001 \001(\tB\003\340A\002B\r\n"
           + "\013_request_id\"\261\002\n"
           + "\032SetBackupTargetPoolRequest\022\036\n"
@@ -28910,8 +28986,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\217\001\n"
           + "9target_https_proxies_set_certificate_map_request_resource\030\273\266\376\336\001"
-          + " \001(\0132C.google.clo"
-          + "ud.compute.v1.TargetHttpsProxiesSetCertificateMapRequestB\003\340A\002\022\"\n"
+          + " \001(\0132C.google.cloud.compute.v1.Targ"
+          + "etHttpsProxiesSetCertificateMapRequestB\003\340A\002\022\"\n"
           + "\022target_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002B\r\n"
           + "\013_request_id\"\247\002\n"
           + "&SetCertificateMapTargetSslProxyRequest\022!\n"
@@ -28919,27 +28995,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\213\001\n"
           + "7target_ssl_proxies_set_certificate_map_request_resource\030\272\226\203\244\001"
-          + " \001(\0132A.google.cloud.compute.v1.Targe"
-          + "tSslProxiesSetCertificateMapRequestB\003\340A\002\022!\n"
+          + " \001(\0132A.google."
+          + "cloud.compute.v1.TargetSslProxiesSetCertificateMapRequestB\003\340A\002\022!\n"
           + "\020target_ssl_proxy\030\315\272\306\241\001 \001(\tB\003\340A\002B\r\n"
           + "\013_request_id\"\352\001\n"
           + "\037SetCloudArmorTierProjectRequest\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022y\n"
-          + ".projects_set_cloud_armor_tier_request_resource\030\317\373\336$"
-          + " \001(\01329.google.cloud.comp"
-          + "ute.v1.ProjectsSetCloudArmorTierRequestB\003\340A\002\022\032\n\n"
+          + ".projects_set_cloud_armor_tier_request_resource\030\317\373\336$ \001"
+          + "(\01329.google.cloud.compute.v1.ProjectsSetCloudArmorTierRequestB\003\340A\002\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\214\003\n"
           + "*SetCommonInstanceMetadataOperationMetadata\022$\n"
           + "\023client_operation_id\030\347\215\336\215\001 \001(\tH\000\210\001\001\022\203\001\n"
-          + "\027per_location_operations\030\224\321\202\303\001"
-          + " \003(\0132^.google.cloud.compute.v1.Set"
-          + "CommonInstanceMetadataOperationMetadata.PerLocationOperationsEntry\032\231\001\n"
+          + "\027per_location_operations\030\224\321\202\303\001 \003(\0132^.googl"
+          + "e.cloud.compute.v1.SetCommonInstanceMeta"
+          + "dataOperationMetadata.PerLocationOperationsEntry\032\231\001\n"
           + "\032PerLocationOperationsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022j\n"
-          + "\005value\030\002 \001(\0132[.google.cloud.compute.v1.SetCommo"
-          + "nInstanceMetadataOperationMetadataPerLocationOperationInfo:\0028\001B\026\n"
+          + "\005value\030\002 \001(\0132[.google.cloud.compute.v1.SetCommonInstanceMetadataO"
+          + "perationMetadataPerLocationOperationInfo:\0028\001B\026\n"
           + "\024_client_operation_id\"\262\002\n"
           + "BSetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo\0226\n"
           + "\005error\030\210\244\223."
@@ -28966,7 +29041,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\201\001\n"
           + "2projects_set_default_network_tier_request_resource\030\212\300\243<"
-          + " \001(\0132=.google.cloud.compute.v1.ProjectsSetDefaultNetworkTierRequestB\003\340A\002\022\032\n\n"
+          + " \001(\0132=.google.c"
+          + "loud.compute.v1.ProjectsSetDefaultNetworkTierRequestB\003\340A\002\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\351\001\n"
           + "$SetDeletionProtectionInstanceRequest\022$\n"
@@ -28994,61 +29070,59 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022d\n"
-          + "\"security_policy_reference_resource\030\360\264\253a"
-          + " \001(\01320.google.cloud.compute.v1.SecurityPolicyReferenceB\003\340A\002B\r\n"
+          + "\"security_policy_reference_resource\030\360\264\253a \001(\01320.goog"
+          + "le.cloud.compute.v1.SecurityPolicyReferenceB\003\340A\002B\r\n"
           + "\013_request_id\"\202\002\n"
           + "*SetEdgeSecurityPolicyBackendServiceRequest\022 \n"
           + "\017backend_service\030\212\300\256\222\001 \001(\tB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
-          + "\340A\002\362G\007project\022\032\n"
-          + "\n"
+          + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022d\n"
-          + "\"security_policy_reference_resource\030\360\264\253a \001(\01320.googl"
-          + "e.cloud.compute.v1.SecurityPolicyReferenceB\003\340A\002B\r\n"
+          + "\"security_policy_reference_resource\030\360\264\253a"
+          + " \001(\01320.google.cloud.compute.v1.SecurityPolicyReferenceB\003\340A\002B\r\n"
           + "\013_request_id\"\273\001\n"
           + " SetIamPolicyBackendBucketRequest\022d\n"
-          + "\"global_set_policy_request_resource\030\262\347\333\240\001 \001(\0132/.google.clo"
-          + "ud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n"
+          + "\"global_set_policy_request_resource\030\262\347\333\240\001"
+          + " \001(\0132/.google.cloud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\274\001\n"
           + "!SetIamPolicyBackendServiceRequest\022d\n"
-          + "\"global_set_policy_request_resource\030\262\347\333\240\001"
-          + " \001(\0132/.google.cloud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n"
+          + "\"global_set_policy_request_resource\030\262\347\333\240\001 \001(\013"
+          + "2/.google.cloud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\304\001\n"
           + "\027SetIamPolicyDiskRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022\024\n"
           + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\022`\n"
-          + " zone_set_policy_request_resource\030\273\270\230\266\001 \001(\0132-.google."
-          + "cloud.compute.v1.ZoneSetPolicyRequestB\003\340A\002\"\273\001\n"
+          + " zone_set_policy_request_resource\030\273\270\230\266\001"
+          + " \001(\0132-.google.cloud.compute.v1.ZoneSetPolicyRequestB\003\340A\002\"\273\001\n"
           + "!SetIamPolicyFirewallPolicyRequest\022|\n"
-          + "/global_organization_set_policy_request_resource\030\336\224\314T"
-          + " \001(\0132;.google.cloud.comp"
-          + "ute.v1.GlobalOrganizationSetPolicyRequestB\003\340A\002\022\030\n"
+          + "/global_organization_set_policy_request_resource\030\336\224\314T \001"
+          + "(\0132;.google.cloud.compute.v1.GlobalOrganizationSetPolicyRequestB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\263\001\n"
           + "\030SetIamPolicyImageRequest\022d\n"
-          + "\"global_set_policy_request_resource\030\262\347\333\240\001 \001(\0132/.google.c"
-          + "loud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n"
+          + "\"global_set_policy_request_resource\030\262\347\333\240\001"
+          + " \001(\0132/.google.cloud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\310\001\n"
           + "\033SetIamPolicyInstanceRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022\024\n"
           + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\022`\n"
-          + " zone_set_policy_request_resource\030\273\270\230\266\001"
-          + " \001(\0132-.google.cloud.compute.v1.ZoneSetPolicyRequestB\003\340A\002\"\276\001\n"
+          + " zone_set_policy_request_resource\030\273\270\230\266\001 \001(\0132-.google.clo"
+          + "ud.compute.v1.ZoneSetPolicyRequestB\003\340A\002\"\276\001\n"
           + "#SetIamPolicyInstanceTemplateRequest\022d\n"
-          + "\"global_set_policy_request_resource\030\262\347\333\240\001 \001(\0132/.google.cloud"
-          + ".compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n"
+          + "\"global_set_policy_request_resource\030\262\347\333\240\001"
+          + " \001(\0132/.google.cloud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\324\001\n"
           + "\'SetIamPolicyInstantSnapshotGroupRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022\024\n"
           + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\022`\n"
-          + " zone_set_policy_request_resource\030\273\270\230\266\001"
-          + " \001(\0132-.google.cloud.compute.v1.ZoneSetPolicyRequestB\003\340A\002\"\317\001\n"
+          + " zone_set_policy_request_resource\030\273\270\230\266\001 \001(\0132-.go"
+          + "ogle.cloud.compute.v1.ZoneSetPolicyRequestB\003\340A\002\"\317\001\n"
           + "\"SetIamPolicyInstantSnapshotRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022\024\n"
@@ -29056,130 +29130,131 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " zone_set_policy_request_resource\030\273\270\230\266\001"
           + " \001(\0132-.google.cloud.compute.v1.ZoneSetPolicyRequestB\003\340A\002\"\311\001\n"
           + ".SetIamPolicyInterconnectAttachmentGroupRequest\022d\n"
-          + "\"global_set_policy_request_resource\030\262\347\333\240\001"
-          + " \001(\0132/.google.cloud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n"
+          + "\"global_set_policy_request_resource\030\262\347\333\240\001 \001(\0132/.g"
+          + "oogle.cloud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\277\001\n"
           + "$SetIamPolicyInterconnectGroupRequest\022d\n"
-          + "\"global_set_policy_request_resource\030\262\347\333\240\001"
-          + " \001(\0132/.google.cloud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n"
+          + "\"global_set_policy_request_resource\030\262\347\333\240\001 \001(\0132/.google."
+          + "cloud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\271\001\n"
           + "\036SetIamPolicyLicenseCodeRequest\022d\n"
-          + "\"global_set_policy_request_resource\030\262\347\333\240\001 \001(\0132/.g"
-          + "oogle.cloud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n"
+          + "\"global_set_policy_request_resource\030\262\347\333\240\001"
+          + " \001(\0132/.google.cloud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\265\001\n"
           + "\032SetIamPolicyLicenseRequest\022d\n"
-          + "\"global_set_policy_request_resource\030\262\347\333\240\001"
-          + " \001(\0132/.google.cloud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n"
+          + "\"global_set_policy_request_resource\030\262\347\333\240\001 \001"
+          + "(\0132/.google.cloud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\272\001\n"
           + "\037SetIamPolicyMachineImageRequest\022d\n"
-          + "\"global_set_policy_request_resource\030\262\347\333\240\001"
-          + " \001(\0132/.google.cloud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n"
+          + "\"global_set_policy_request_resource\030\262\347\333\240\001 \001(\0132/.google"
+          + ".cloud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\327\001\n"
           + "$SetIamPolicyNetworkAttachmentRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022d\n"
-          + "\"region_set_policy_request_resource\030\203\307\353\203\001"
-          + " \001(\0132/.google.cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n"
+          + "\"region_set_policy_request_resource\030\203\307\353\203\001 \001(\0132/.goo"
+          + "gle.cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\303\001\n"
           + "(SetIamPolicyNetworkFirewallPolicyRequest\022d\n"
-          + "\"global_set_policy_request_resource\030\262\347\333\240\001 \001(\0132/.google.cloud"
-          + ".compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n"
+          + "\"global_set_policy_request_resource\030\262\347\333\240\001"
+          + " \001(\0132/.google.cloud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\311\001\n"
           + "\034SetIamPolicyNodeGroupRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022\024\n"
           + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\022`\n"
-          + " zone_set_policy_request_resource\030\273\270\230\266\001 \001"
-          + "(\0132-.google.cloud.compute.v1.ZoneSetPolicyRequestB\003\340A\002\"\322\001\n"
+          + " zone_set_policy_request_resource\030\273\270\230\266\001"
+          + " \001(\0132-.google.cloud.compute.v1.ZoneSetPolicyRequestB\003\340A\002\"\322\001\n"
           + "\037SetIamPolicyNodeTemplateRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022d\n"
-          + "\"region_set_policy_request_resource\030\203\307\353\203\001 \001(\0132/.google.clo"
-          + "ud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n"
+          + "\"region_set_policy_request_resource\030\203\307\353\203\001"
+          + " \001(\0132/.google.cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\331\001\n"
           + "&SetIamPolicyRegionBackendBucketRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022d\n"
-          + "\"region_set_policy_request_resource\030\203\307\353\203\001"
-          + " \001(\0132/.google.cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n"
+          + "\"region_set_policy_request_resource\030\203\307\353\203\001 \001(\0132/.google.c"
+          + "loud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\332\001\n"
           + "\'SetIamPolicyRegionBackendServiceRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022d\n"
-          + "\"region_set_policy_request_resource\030\203\307\353\203\001 \001(\0132/.google.cl"
-          + "oud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n"
+          + "\"region_set_policy_request_resource\030\203\307\353\203\001"
+          + " \001(\0132/.google.cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\320\001\n"
           + "\035SetIamPolicyRegionDiskRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022d\n"
-          + "\"region_set_policy_request_resource\030\203\307\353\203\001 \001(\0132"
-          + "/.google.cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n"
+          + "\"region_set_policy_request_resource\030\203\307\353\203\001"
+          + " \001(\0132/.google.cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\340\001\n"
           + "-SetIamPolicyRegionInstantSnapshotGroupRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022d\n"
-          + "\"region_set_policy_request_resource\030\203\307\353\203\001 \001(\0132/.google.clou"
-          + "d.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n"
+          + "\"region_set_policy_request_resource\030\203\307\353\203\001"
+          + " \001(\0132/.google.cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\333\001\n"
           + "(SetIamPolicyRegionInstantSnapshotRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022d\n"
-          + "\"region_set_policy_request_resource\030\203\307\353\203\001"
-          + " \001(\0132/.google.cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n"
+          + "\"region_set_policy_request_resource\030\203\307\353\203\001 \001(\0132/.google."
+          + "cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\341\001\n"
           + ".SetIamPolicyRegionNetworkFirewallPolicyRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022d\n"
-          + "\"region_set_policy_request_resource\030\203\307\353\203\001 \001(\0132/.g"
-          + "oogle.cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n"
+          + "\"region_set_policy_request_",
+      "resource\030\203\307\353\203\001"
+          + " \001(\0132/.google.cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\324\001\n"
           + "!SetIamPolicyRegionSnapshotRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022d\n"
-          + "\"region_set_policy_request_resource\030\203\307\353\203\001"
-          + " \001(\0132/.google.cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n"
+          + "\"region_set_policy_request_resource\030\203\307\353\203\001 \001(\0132/.goog"
+          + "le.cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\375\001\n"
           + "#SetIamPolicyReservationBlockRequest\022\037\n"
           + "\017parent_resource\030\203\230\320\010 \001(\tB\003\340A\002\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022\024\n"
           + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\022l\n"
-          + "\'zone_set_nested_policy_request_resource\030\323\361\200\177"
-          + " \001(\01323.google.cloud.compute.v1.ZoneSetNestedPolicyRequestB\003\340A\002\"\313\001\n"
+          + "\'zone_set_nested_policy_request_resource\030\323\361\200\177 \001(\01323.google"
+          + ".cloud.compute.v1.ZoneSetNestedPolicyRequestB\003\340A\002\"\313\001\n"
           + "\036SetIamPolicyReservationRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022\024\n"
           + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\022`\n"
-          + " zone_set_policy_request_resource\030\273\270\230\266\001"
-          + " \001(\0132-.google.cloud.compute.v1.ZoneSetPolicyRequestB\003\340A\002\"\200\002\n"
+          + " zone_set_policy_request_resource\030\273\270\230\266\001 "
+          + "\001(\0132-.google.cloud.compute.v1.ZoneSetPolicyRequestB\003\340A\002\"\200\002\n"
           + "&SetIamPolicyReservationSubBlockRequest\022\037\n"
           + "\017parent_resource\030\203\230\320\010 \001(\tB\003\340A\002\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022\024\n"
           + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\022l\n"
-          + "\'zone_set_nested_policy_request_resource\030\323\361\200\177 \001(\01323.goo"
-          + "gle.cloud.compute.v1.ZoneSetNestedPolicyRequestB\003\340A\002\"\324\001\n"
+          + "\'zone_set_nested_policy_request_resource\030\323\361\200\177"
+          + " \001(\01323.google.cloud.compute.v1.ZoneSetNestedPolicyRequestB\003\340A\002\"\324\001\n"
           + "!SetIamPolicyResourcePolicyRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022d\n"
-          + "\"region_set_policy_request_resource\030\203\307\353\203\001 \001(\0132/.google.clo"
-          + "ud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n"
+          + "\"region_set_policy_request_resource\030\203\307\353\203\001"
+          + " \001(\0132/.google.cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\327\001\n"
           + "$SetIamPolicyServiceAttachmentRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022d\n"
-          + "\"region_set_policy_request_resource\030\203\307\353\203\001"
-          + " \001(\0132/.google.cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n"
+          + "\"region_set_policy_request_resource\030\203\307\353\203\001 \001(\0132/.google.clo"
+          + "ud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\266\001\n"
           + "\033SetIamPolicySnapshotRequest\022d\n"
-          + "\"global_set_policy_request_resource\030\262\347\333\240\001"
-          + " \001(\0132/.google.cloud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n"
+          + "\"global_set_policy_request_resource\030\262\347\333\240\001 \001(\0132/.google.clo"
+          + "ud.compute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\313\001\n"
           + "\036SetIamPolicyStoragePoolRequest\022\027\n"
@@ -29191,15 +29266,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\035SetIamPolicySubnetworkRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022d\n"
-          + "\"region_set_policy_request_resource\030\203\307\353\203\001"
-          + " \001(\0132/.google.cloud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n"
+          + "\"region_set_policy_request_resource\030\203\307\353\203\001 \001(\0132/.google.c"
+          + "loud.compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\336\002\n"
           + ".SetInstanceTemplateInstanceGroupManagerRequest\022&\n"
           + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\230\001\n"
-          + ">instance_group_ma",
-      "nagers_set_instance_template_request_resource\030\305\331\326\004"
-          + " \001(\0132H.google.cloud.compute.v1"
-          + ".InstanceGroupManagersSetInstanceTemplateRequestB\003\340A\002\022!\n"
+          + ">instance_group_managers_set_instance_template_request_resource\030\305\331\326\004"
+          + " \001(\0132H.g"
+          + "oogle.cloud.compute.v1.InstanceGroupManagersSetInstanceTemplateRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
@@ -29212,8 +29286,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\224\001\n"
           + ".google.cloud"
-          + ".compute.v1.TargetSslProxiesSetProxyHeaderRequestB\003\340A\002\022!\n"
+          + " \001(\0132>.google.cloud.compute.v1.TargetSslProxiesSetProxyHeaderRequestB\003\340A\002\022!\n"
           + "\020target_ssl_proxy\030\315\272\306\241\001 \001(\tB\003\340A\002B\r\n"
           + "\013_request_id\"\235\002\n"
           + "#SetProxyHeaderTargetTcpProxyRequest\022!\n"
@@ -29489,8 +29565,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\204\001\n"
           + "4target_tcp_proxies_set_proxy_header_request_resource\030\303\230\361h"
-          + " \001(\0132>.goog"
-          + "le.cloud.compute.v1.TargetTcpProxiesSetProxyHeaderRequestB\003\340A\002\022!\n"
+          + " \001(\0132>.google.cloud.compute.v"
+          + "1.TargetTcpProxiesSetProxyHeaderRequestB\003\340A\002\022!\n"
           + "\020target_tcp_proxy\030\342\326\360\357\001 \001(\tB\003\340A\002B\r\n"
           + "\013_request_id\"\247\002\n"
           + "&SetQuicOverrideTargetHttpsProxyRequest\022!\n"
@@ -29498,8 +29574,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\212\001\n"
           + "7target_https_proxies_set_quic_override_request_resource\030\342\365\343\""
-          + " \001(\0132A.google.cloud.compute.v1.Target"
-          + "HttpsProxiesSetQuicOverrideRequestB\003\340A\002\022\"\n"
+          + " \001(\0132A.google.c"
+          + "loud.compute.v1.TargetHttpsProxiesSetQuicOverrideRequestB\003\340A\002\022\"\n"
           + "\022target_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002B\r\n"
           + "\013_request_id\"\356\001\n"
           + "\034SetSchedulingInstanceRequest\022\030\n"
@@ -29517,13 +29593,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022d\n"
-          + "\"security_policy_reference_resource\030\360\264\253a \001(\01320"
-          + ".google.cloud.compute.v1.SecurityPolicyReferenceB\003\340A\002B\r\n"
+          + "\"security_policy_reference_resource\030\360\264\253a"
+          + " \001(\01320.google.cloud.compute.v1.SecurityPolicyReferenceB\003\340A\002B\r\n"
           + "\013_request_id\"\243\002\n"
           + " SetSecurityPolicyInstanceRequest\022\030\n"
           + "\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022z\n"
-          + ".instances_set_security_policy_request_resource\030\212\321\272v \001(\0132:.google."
-          + "cloud.compute.v1.InstancesSetSecurityPolicyRequestB\003\340A\002\022!\n"
+          + ".instances_set_security_policy_request_resource\030\212\321\272v"
+          + " \001(\0132:.google.cloud.compute.v1.InstancesSetSecurityPolicyRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
@@ -29536,15 +29612,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022d\n"
-          + "\"security_policy_reference_resource\030\360\264\253a \001(\01320.google.cl"
-          + "oud.compute.v1.SecurityPolicyReferenceB\003\340A\002B\r\n"
+          + "\"security_policy_reference_resource\030\360\264\253a"
+          + " \001(\01320.google.cloud.compute.v1.SecurityPolicyReferenceB\003\340A\002B\r\n"
           + "\013_request_id\"\233\002\n"
           + "&SetSecurityPolicyTargetInstanceRequest\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022d\n"
-          + "\"security_policy_reference_resource\030\360\264\253a"
-          + " \001(\01320.google.cloud.compute.v1.SecurityPolicyReferenceB\003\340A\002\022 \n"
+          + "\"security_policy_reference_resource\030\360\264\253a \001(\01320.goog"
+          + "le.cloud.compute.v1.SecurityPolicyReferenceB\003\340A\002\022 \n"
           + "\017target_instance\030\203\217\226\212\001 \001(\tB\003\340A\002\022\033\n"
           + "\004zone\030\254\307\344\001 \001(\tB\n"
           + "\340A\002\362G\004zoneB\r\n"
@@ -29554,15 +29630,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022d\n"
-          + "\"security_policy_reference_resource\030\360\264\253a"
-          + " \001(\01320.google.cloud.compute.v1.SecurityPolicyReferenceB\003\340A\002\022\033\n"
+          + "\"security_policy_reference_resource\030\360\264\253a \001(\01320.google.cl"
+          + "oud.compute.v1.SecurityPolicyReferenceB\003\340A\002\022\033\n"
           + "\013target_pool\030\212\344\370\035 \001(\tB\003\340A\002B\r\n"
           + "\013_request_id\"\244\002\n"
           + " SetServiceAccountInstanceRequest\022\030\n"
           + "\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022{\n"
           + ".instances_set_service_account_request_resource\030\270\236\262\203\001"
-          + " \001(\0132:.google.cl"
-          + "oud.compute.v1.InstancesSetServiceAccountRequestB\003\340A\002\022!\n"
+          + " \001(\0132:.google.cloud.compute.v1.InstancesSetServiceAccountRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
@@ -29574,8 +29649,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022v\n"
-          + "+shielded_instance_integrity_policy_resource\030\266\334\215\303\001 \001(\013"
-          + "28.google.cloud.compute.v1.ShieldedInstanceIntegrityPolicyB\003\340A\002\022\033\n"
+          + "+shielded_instance_integrity_policy_resource\030\266\334\215\303\001"
+          + " \001(\01328.google.cloud.co"
+          + "mpute.v1.ShieldedInstanceIntegrityPolicyB\003\340A\002\022\033\n"
           + "\004zone\030\254\307\344\001 \001(\tB\n"
           + "\340A\002\362G\004zoneB\r\n"
           + "\013_request_id\"\345\002\n"
@@ -29583,10 +29659,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\236\001\n"
-          + "Aregion_t"
-          + "arget_https_proxies_set_ssl_certificates_request_resource\030\207\204\246\272\001"
-          + " \001(\0132J.google.clo"
-          + "ud.compute.v1.RegionTargetHttpsProxiesSetSslCertificatesRequestB\003\340A\002\022\032\n\n"
+          + "Aregion_target_https_proxie"
+          + "s_set_ssl_certificates_request_resource\030\207\204\246\272\001"
+          + " \001(\0132J.google.cloud.compute.v1.Regi"
+          + "onTargetHttpsProxiesSetSslCertificatesRequestB\003\340A\002\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\"\n"
           + "\022target_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002B\r\n"
           + "\013_request_id\"\260\002\n"
@@ -29595,8 +29671,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\220\001\n"
           + ":target_https_proxies_set_ssl_certificates_request_resource\030\334\253\262j"
-          + " \001(\0132D.google.cloud.compute.v1.Targe"
-          + "tHttpsProxiesSetSslCertificatesRequestB\003\340A\002\022\"\n"
+          + " \001(\0132D.google."
+          + "cloud.compute.v1.TargetHttpsProxiesSetSslCertificatesRequestB\003\340A\002\022\"\n"
           + "\022target_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002B\r\n"
           + "\013_request_id\"\251\002\n"
           + "\'SetSslCertificatesTargetSslProxyRequest\022!\n"
@@ -29604,16 +29680,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\214\001\n"
           + "8target_ssl_proxies_set_ssl_certificates_request_resource\030\275\313\305F"
-          + " \001(\0132B.google"
-          + ".cloud.compute.v1.TargetSslProxiesSetSslCertificatesRequestB\003\340A\002\022!\n"
+          + " \001(\0132B.google.cloud.compute.v1."
+          + "TargetSslProxiesSetSslCertificatesRequestB\003\340A\002\022!\n"
           + "\020target_ssl_proxy\030\315\272\306\241\001 \001(\tB\003\340A\002B\r\n"
           + "\013_request_id\"\363\001\n"
           + "#SetSslPolicyTargetHttpsProxyRequest\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022Z\n"
-          + "\035ssl_policy_reference_resource\030\274\364\237p"
-          + " \001(\0132+.google.cloud.compute.v1.SslPolicyReferenceB\003\340A\002\022\"\n"
+          + "\035ssl_policy_reference_resource\030\274\364\237p \001("
+          + "\0132+.google.cloud.compute.v1.SslPolicyReferenceB\003\340A\002\022\"\n"
           + "\022target_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002B\r\n"
           + "\013_request_id\"\360\001\n"
           + "!SetSslPolicyTargetSslProxyRequest\022!\n"
@@ -29654,8 +29730,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + ")SetTargetPoolsInstanceGroupManagerRequest\022&\n"
           + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\217\001\n"
           + "9instance_group_managers_set_target_pools_request_resource\030\210\206\210\206\001"
-          + " \001(\0132C.google.cloud.compute.v1.Inst"
-          + "anceGroupManagersSetTargetPoolsRequestB\003\340A\002\022!\n"
+          + " \001(\0132C.google",
+      ".cloud.compute.v1.InstanceGroupManagersSetTargetPoolsRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
@@ -29668,9 +29744,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\233\001\n"
           + "@region_instance_group_managers_set_target_pools_request_resource\030\375\312\305%"
-          + " \001(\0132I.google.cl"
-          + "oud.compute.v1.RegionInstanceGroupManagersSetTargetPoolsRequestB\003\340A\002\022\032\n\n"
-          + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
+          + " \001(\0132I.google.cloud.compute.v1.Reg"
+          + "ionInstanceGroupManagersSetTargetPoolsRequestB\003\340A\002\022\032\n\n"
+          + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r"
+          + "\n"
           + "\013_request_id\"\220\002\n"
           + "%SetUrlMapRegionTargetHttpProxyRequest\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
@@ -29687,40 +29764,40 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\"\n"
           + "\022target_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002\022U\n"
-          + "\032url_map_reference_resource\030\225\346\216\276\001 \001("
-          + "\0132(.google.cloud.compute.v1.UrlMapReferenceB\003\340A\002B\r\n"
+          + "\032url_map_reference_resource\030\225\346\216\276\001"
+          + " \001(\0132(.google.cloud.compute.v1.UrlMapReferenceB\003\340A\002B\r\n"
           + "\013_request_id\"\351\001\n"
           + "\037SetUrlMapTargetHttpProxyRequest\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022!\n"
           + "\021target_http_proxy\030\345\276\322b \001(\tB\003\340A\002\022U\n"
-          + "\032url_map_reference_resource\030\225\346\216\276\001 \001(\0132(."
-          + "google.cloud.compute.v1.UrlMapReferenceB\003\340A\002B\r\n"
+          + "\032url_map_reference_resource\030\225\346\216\276\001"
+          + " \001(\0132(.google.cloud.compute.v1.UrlMapReferenceB\003\340A\002B\r\n"
           + "\013_request_id\"\353\001\n"
           + " SetUrlMapTargetHttpsProxyRequest\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\"\n"
           + "\022target_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002\022U\n"
-          + "\032url_map_reference_resource\030\225\346\216\276\001 \001(\0132(.go"
-          + "ogle.cloud.compute.v1.UrlMapReferenceB\003\340A\002B\r\n"
+          + "\032url_map_reference_resource\030\225\346\216\276\001"
+          + " \001(\0132(.google.cloud.compute.v1.UrlMapReferenceB\003\340A\002B\r\n"
           + "\013_request_id\"\320\001\n"
           + "\"SetUsageExportBucketProjectRequest\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\\\n"
-          + "\036usage_export_location_resource\030\353\314\324\t \001"
-          + "(\0132,.google.cloud.compute.v1.UsageExportLocationB\003\340A\002B\r\n"
+          + "\036usage_export_location_resource\030\353\314\324\t"
+          + " \001(\0132,.google.cloud.compute.v1.UsageExportLocationB\003\340A\002B\r\n"
           + "\013_request_id\"\372\002\n\r"
           + "ShareSettings\022N\n"
-          + "\013project_map\030\266\326\377? \003(\01326.google."
-          + "cloud.compute.v1.ShareSettings.ProjectMapEntry\022\033\n\n"
+          + "\013project_map\030\266\326\377?"
+          + " \003(\01326.google.cloud.compute.v1.ShareSettings.ProjectMapEntry\022\033\n\n"
           + "share_type\030\232\227\270\253\001 \001(\tH\000\210\001\001\032f\n"
           + "\017ProjectMapEntry\022\013\n"
           + "\003key\030\001 \001(\t\022B\n"
-          + "\005value\030\002 \001"
-          + "(\01323.google.cloud.compute.v1.ShareSettingsProjectConfig:\0028\001\"\204\001\n"
+          + "\005value\030\002 \001(\01323.google.cloud."
+          + "compute.v1.ShareSettingsProjectConfig:\0028\001\"\204\001\n"
           + "\tShareType\022\030\n"
           + "\024UNDEFINED_SHARE_TYPE\020\000\022\014\n"
           + "\005LOCAL\020\313\316\317\"\022\024\n"
@@ -29728,8 +29805,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\026SHARE_TYPE_UNSPECIFIED\020\222\274\366\353\001\022\031\n"
           + "\021SPECIFIC_PROJECTS\020\347\261\356\245\001B\r\n"
           + "\013_share_type\"G\n"
-          + "\032ShareSettingsProjectConfig\022",
-      "\032\n\n"
+          + "\032ShareSettingsProjectConfig\022\032\n\n"
           + "project_id\030\201\310\322T \001(\tH\000\210\001\001B\r\n"
           + "\013_project_id\"\316\001\n"
           + "\026ShieldedInstanceConfig\022,\n"
@@ -29741,15 +29817,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\023_enable_secure_bootB\016\n"
           + "\014_enable_vtpm\"\201\004\n"
           + "\030ShieldedInstanceIdentity\022`\n"
-          + "\027ecc_p256_encryption_key\030\305\307\366\337\001 \001(\01326."
-          + "google.cloud.compute.v1.ShieldedInstanceIdentityEntryH\000\210\001\001\022]\n"
-          + "\024ecc_p256_signing_key\030\303\226\343\343\001"
-          + " \001(\01326.google.cloud.compute.v1.ShieldedInstanceIdentityEntryH\001\210\001\001\022W\n"
-          + "\016encryption_key\030\243\307\351\350\001 \001(\01326.google.cloud.com"
-          + "pute.v1.ShieldedInstanceIdentityEntryH\002\210\001\001\022\024\n"
+          + "\027ecc_p256_encryption_key\030\305\307\366\337\001 \001(\01326.google.cloud.compu"
+          + "te.v1.ShieldedInstanceIdentityEntryH\000\210\001\001\022]\n"
+          + "\024ecc_p256_signing_key\030\303\226\343\343\001 \001(\01326.goo"
+          + "gle.cloud.compute.v1.ShieldedInstanceIdentityEntryH\001\210\001\001\022W\n"
+          + "\016encryption_key\030\243\307\351\350\001 "
+          + "\001(\01326.google.cloud.compute.v1.ShieldedInstanceIdentityEntryH\002\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\003\210\001\001\022T\n"
-          + "\013signing_key\030\245\220\205\231\001"
-          + " \001(\01326.google.cloud.compute.v1.ShieldedInstanceIdentityEntryH\004\210\001\001B\032\n"
+          + "\013signing_key\030\245\220\205\231\001 \001(\01326.google"
+          + ".cloud.compute.v1.ShieldedInstanceIdentityEntryH\004\210\001\001B\032\n"
           + "\030_ecc_p256_encryption_keyB\027\n"
           + "\025_ecc_p256_signing_keyB\021\n"
           + "\017_encryption_keyB\007\n"
@@ -29782,8 +29858,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "(SimulateMaintenanceEventNodeGroupRequest\022\033\n\n"
           + "node_group\030\202\374\213\340\001 \001(\tB\003\340A\002\022\214\001\n"
           + "7node_groups_simulate_maintenance_event_request_resource\030\334\371\313\247\001"
-          + " \001(\0132B."
-          + "google.cloud.compute.v1.NodeGroupsSimulateMaintenanceEventRequestB\003\340A\002\022!\n"
+          + " \001(\0132B.google.cloud.compu"
+          + "te.v1.NodeGroupsSimulateMaintenanceEventRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
@@ -29808,32 +29884,33 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\004kind\030\224\367\310\001 \001(\tH\013\210\001\001\022!\n"
           + "\021label_fingerprint\030\231\360\367T \001(\tH\014\210\001\001\022A\n"
           + "\006labels\030\377\277\301\356\001"
-          + " \003(\0132-.google.cloud.compute.v1.Snapshot.LabelsEntry\022\030\n\r"
+          + " \003(\0132-.google.cloud.compute.v1.Snapshot.LabelsEntry\022\030\n"
+          + "\r"
           + "license_codes\030\250\205\330\025 \003(\003\022\024\n"
           + "\010licenses\030\322\210\200\241\001 \003(\t\022\036\n\r"
           + "location_hint\030\321\201\222\247\001 \001(\tH\r"
           + "\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\016\210\001\001\022?\n"
-          + "\006params\030\206\363\253%"
-          + " \001(\0132\'.google.cloud.compute.v1.SnapshotParamsH\017\210\001\001\022\026\n"
+          + "\006params\030\206\363\253% \001(\0132\'"
+          + ".google.cloud.compute.v1.SnapshotParamsH\017\210\001\001\022\026\n"
           + "\006region\030\364\315\240B \001(\tH\020\210\001\001\022\036\n\r"
           + "satisfies_pzi\030\241\335\253\345\001 \001(\010H\021\210\001\001\022\036\n\r"
           + "satisfies_pzs\030\253\335\253\345\001 \001(\010H\022\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\023\210\001\001\022W\n"
-          + "\027snapshot_encryption_key\030\376\366\324\024"
-          + " \001(\0132..google.cloud.compute.v1.CustomerEncryptionKeyH\024\210\001\001\022!\n"
+          + "\027snapshot_encryption_key\030\376\366\324\024 \001(\0132..g"
+          + "oogle.cloud.compute.v1.CustomerEncryptionKeyH\024\210\001\001\022!\n"
           + "\021snapshot_group_id\030\366\235\314y \001(\tH\025\210\001\001\022#\n"
           + "\023snapshot_group_name\030\246\343\265u \001(\tH\026\210\001\001\022\035\n\r"
           + "snapshot_type\030\325\331\245; \001(\tH\027\210\001\001\022\034\n"
           + "\013source_disk\030\301\356\264\327\001 \001(\tH\030\210\001\001\022[\n"
-          + "\032source_disk_encryption_key\030\341\240\270\375\001 \001(\013"
-          + "2..google.cloud.compute.v1.CustomerEncryptionKeyH\031\210\001\001\0224\n"
+          + "\032source_disk_encryption_key\030\341\240\270\375\001"
+          + " \001(\0132..google.cloud.compute.v1.CustomerEncryptionKeyH\031\210\001\001\0224\n"
           + "#source_disk_for_recovery_checkpoint\030\376\341\312\253\001 \001("
           + "\tH\032\210\001\001\022\037\n"
           + "\016source_disk_id\030\331\315\311\330\001 \001(\tH\033\210\001\001\022\'\n"
           + "\027source_instant_snapshot\030\206\204\303h \001(\tH\034\210\001\001\022g\n"
-          + "&source_instant_snapshot_encryption_key\030\374\205\224\320\001 \001(\0132..goog"
-          + "le.cloud.compute.v1.CustomerEncryptionKeyH\035\210\001\001\022+\n"
+          + "&source_instant_snapshot_encryption_key\030\374\205\224\320\001"
+          + " \001(\0132..google.cloud.compute.v1.CustomerEncryptionKeyH\035\210\001\001\022+\n"
           + "\032source_instant_snapshot_id\030\364\323\220\211\001 \001(\tH\036\210\001\001\022/\n"
           + "\037source_snapshot_schedule_policy\030\203\266\265p \001(\tH\037\210\001\001\0222\n"
           + "\"source_snapshot_schedule_policy_id\030\327\247\316! \001(\tH \210\001\001\022\026\n"
@@ -29865,8 +29942,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\010UPDATING\020\306\356\354\353\001\022\021\n\n"
           + "UP_TO_DATE\020\316\242\2470B\017\n\r"
           + "_architectureB\017\n\r"
-          + "_auto_createdB\r"
-          + "\n"
+          + "_auto_createdB\r\n"
           + "\013_chain_nameB\026\n"
           + "\024_creation_size_bytesB\025\n"
           + "\023_creation_timestampB\016\n"
@@ -29921,26 +29997,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\261\001\n"
           + "\016SnapshotParams\022c\n"
-          + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132@.google.cloud.co"
-          + "mpute.v1.SnapshotParams.ResourceManagerTagsEntry\032:\n"
+          + "\025resource_manager_tags\030\374\233\213\264\001"
+          + " \003(\0132@.google.cloud.compute.v1.SnapshotParams.ResourceManagerTagsEntry\032:\n"
           + "\030ResourceManagerTagsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\"\372\001\n"
           + "\020SnapshotSettings\022X\n"
-          + "\017access_location\030\260\330\343\010 \001(\01327."
-          + "google.cloud.compute.v1.SnapshotSettingsAccessLocationH\000\210\001\001\022c\n"
-          + "\020storage_location\030\371\321\340\333\001 \001(\0132@.google.cloud.compute.v1.Snap"
-          + "shotSettingsStorageLocationSettingsH\001\210\001\001B\022\n"
+          + "\017access_location\030\260\330\343\010 \001(\01327.google.cloud.compu"
+          + "te.v1.SnapshotSettingsAccessLocationH\000\210\001\001\022c\n"
+          + "\020storage_location\030\371\321\340\333\001 \001(\0132@.google"
+          + ".cloud.compute.v1.SnapshotSettingsStorageLocationSettingsH\001\210\001\001B\022\n"
           + "\020_access_locationB\023\n"
           + "\021_storage_location\"\220\003\n"
           + "\036SnapshotSettingsAccessLocation\022]\n"
-          + "\tlocations\030\336\256\221\305\001 \003(\0132F.google.cloud.compu"
-          + "te.v1.SnapshotSettingsAccessLocation.LocationsEntry\022\026\n"
+          + "\tlocations\030\336\256\221\305\001 \003("
+          + "\0132F.google.cloud.compute.v1.SnapshotSettingsAccessLocation.LocationsEntry\022\026\n"
           + "\006policy\030\262\312\266+ \001(\tH\000\210\001\001\032\201\001\n"
           + "\016LocationsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022^\n"
-          + "\005value\030\002 \001(\0132O.google.cloud.compute.v1.SnapshotSet"
-          + "tingsAccessLocationAccessLocationPreference:\0028\001\"h\n"
+          + "\005value\030\002 \001(\0132O.google.cloud."
+          + "compute.v1.SnapshotSettingsAccessLocationAccessLocationPreference:\0028\001\"h\n"
           + "\006Policy\022\024\n"
           + "\020UNDEFINED_POLICY\020\000\022\023\n"
           + "\013ALL_REGIONS\020\241\256\237\202\001\022\031\n"
@@ -29951,13 +30027,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006region\030\364\315\240B \001(\tH\000\210\001\001B\t\n"
           + "\007_region\"\336\003\n"
           + "\'SnapshotSettingsStorageLocationSettings\022f\n"
-          + "\tlocations\030\336\256\221\305\001 \003(\0132O.google.cloud.compute.v1.SnapshotS"
-          + "ettingsStorageLocationSettings.LocationsEntry\022\026\n"
+          + "\tlocations\030\336\256\221\305\001 \003(\0132O.google.clou"
+          + "d.compute.v1.SnapshotSettingsStorageLocationSettings.LocationsEntry\022\026\n"
           + "\006policy\030\262\312\266+ \001(\tH\000\210\001\001\032\213\001\n"
           + "\016LocationsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022h\n"
-          + "\005value\030\002 \001(\0132Y.google.cloud.compute.v1.SnapshotSettingsS"
-          + "torageLocationSettingsStorageLocationPreference:\0028\001\"\231\001\n"
+          + "\005value\030\002 \001(\0132Y.google.cloud.comput"
+          + "e.v1.SnapshotSettingsStorageLocationSettingsStorageLocationPreference:\0028\001\"\231\001\n"
           + "\006Policy\022\024\n"
           + "\020UNDEFINED_POLICY\020\000\022\024\n"
           + "\014LOCAL_REGION\020\350\354\265\300\001\022\033\n"
@@ -29972,14 +30048,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\014kms_key_name\030\231\353\373\346\001 \001(\tH\000\210\001\001B\017\n\r"
           + "_kms_key_name\"\265\001\n"
           + "\027SourceDiskEncryptionKey\022T\n"
-          + "\023disk_encryption_key\030\205\355\304\201\001"
-          + " \001(\0132..google.cloud.compute.v1.CustomerEncryptionKeyH\000\210\001\001\022\034\n"
+          + "\023disk_encryption_key\030\205\355\304\201\001 \001(\0132"
+          + "..google.cloud.compute.v1.CustomerEncryptionKeyH\000\210\001\001\022\034\n"
           + "\013source_disk\030\301\356\264\327\001 \001(\tH\001\210\001\001B\026\n"
           + "\024_disk_encryption_keyB\016\n"
           + "\014_source_disk\"a\n"
           + "\024SourceInstanceParams\022I\n"
-          + "\014disk_configs\030\317\331\252p \003(\01320.google.c"
-          + "loud.compute.v1.DiskInstantiationConfig\"\350\n\n"
+          + "\014disk_configs\030\317\331\252p"
+          + " \003(\01320.google.cloud.compute.v1.DiskInstantiationConfig\"\350\n\n"
           + "\030SourceInstanceProperties\022\037\n"
           + "\016can_ip_forward\030\374\206\204\337\001 \001(\010H\000\210\001\001\022$\n"
           + "\023deletion_protection\030\352\377\262\332\001 \001(\010H\001\210\001\001\022\034\n"
@@ -29989,8 +30065,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\022guest_accelerators\030\357\314\207\335\001"
           + " \003(\0132*.google.cloud.compute.v1.AcceleratorConfig\022*\n"
           + "\032key_revocation_action_type\030\342\334\300p \001(\tH\003\210\001\001\022Q\n"
-          + "\006labels\030\377\277\301\356\001"
-          + " \003(\0132=.google.cloud.compute.v1.SourceInstanceProperties.LabelsEntry\022\034\n"
+          + "\006labels\030\377\277\301\356\001 \003(\0132=.goog"
+          + "le.cloud.compute.v1.SourceInstanceProperties.LabelsEntry\022\034\n"
           + "\014machine_type\030\262\260\312l \001(\tH\004\210\001\001\022;\n"
           + "\010metadata\030\257\366\265)"
           + " \001(\0132!.google.cloud.compute.v1.MetadataH\005\210\001\001\022 \n"
@@ -30001,8 +30077,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\tH\007\210\001\001\022@\n\n"
           + "scheduling\030\224\313\261\270\001"
           + " \001(\0132#.google.cloud.compute.v1.SchedulingH\010\210\001\001\022E\n"
-          + "\020service_accounts\030\260\304\253\204\001"
-          + " \003(\0132\'.google.cloud.compute.v1.ServiceAccount\0223\n"
+          + "\020service_accounts\030\260\304\253\204\001 \003("
+          + "\0132\'.google.cloud.compute.v1.ServiceAccount\0223\n"
           + "\004tags\030\231\350\330\001 \001(\0132\035.google.cloud.compute.v1.TagsH"
           + "\t\210\001\001\032-\n"
           + "\013LabelsEntry\022\013\n"
@@ -30035,15 +30111,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013expire_time\030\355\323\221\322\001 \001(\tH\003\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\004H\004\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\005\210\001\001\022V\n"
-          + "\007managed\030\237\237\244\216\001 \001(\0132<.googl"
-          + "e.cloud.compute.v1.SslCertificateManagedSslCertificateH\006\210\001\001\022\024\n"
+          + "\007managed\030\237\237\244\216\001 \001(\0132<.google.cloud.compute.v1"
+          + ".SslCertificateManagedSslCertificateH\006\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\007\210\001\001\022\034\n"
           + "\013private_key\030\243\363\245\254\001 \001(\tH\010\210\001\001\022\026\n"
           + "\006region\030\364\315\240B \001(\tH\t\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\n"
           + "\210\001\001\022_\n"
-          + "\014self_managed\030\254\363\201\235\001 \001(\0132@.google.c"
-          + "loud.compute.v1.SslCertificateSelfManagedSslCertificateH\013\210\001\001\022%\n"
+          + "\014self_managed\030\254\363\201\235\001 \001(\0132@.google.cloud.compute.v1.Ss"
+          + "lCertificateSelfManagedSslCertificateH\013\210\001\001\022%\n"
           + "\031subject_alternative_names\030\343\357\223\374\001 \003(\t\022\024\n"
           + "\004type\030\272\236\332\001 \001(\tH\014\210\001\001\"[\n"
           + "\004Type\022\022\n"
@@ -30066,8 +30142,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005_type\"\313\003\n"
           + "\034SslCertificateAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022R\n"
-          + "\005items\030\300\317\367/ \003(\0132@.google.cloud.comput"
-          + "e.v1.SslCertificateAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\013"
+          + "2@.google.cloud.compute.v1.SslCertificateAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
@@ -30076,8 +30152,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\004\210\001\001\032`\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022A\n"
-          + "\005value\030\002"
-          + " \001(\01322.google.cloud.compute.v1.SslCertificatesScopedList:\0028\001B\005\n"
+          + "\005value\030\002 \001(\01322.go"
+          + "ogle.cloud.compute.v1.SslCertificatesScopedList:\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
@@ -30098,8 +30174,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\320\003\n"
           + "#SslCertificateManagedSslCertificate\022i\n\r"
-          + "domain_status\030\315\247\347\253\001 \003(\0132N.google.cloud.co"
-          + "mpute.v1.SslCertificateManagedSslCertificate.DomainStatusEntry\022\022\n"
+          + "domain_status\030\315\247\347\253\001 \003(\0132N.google.cloud.compute.v1.SslCertif"
+          + "icateManagedSslCertificate.DomainStatusEntry\022\022\n"
           + "\007domains\030\257\210\233l \003(\t\022\026\n"
           + "\006status\030\362\237\267V \001(\tH\000\210\001\001\0323\n"
           + "\021DomainStatusEntry\022\013\n"
@@ -30120,17 +30196,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\014_certificateB\016\n"
           + "\014_private_key\"\251\001\n"
           + "\031SslCertificatesScopedList\022E\n"
-          + "\020ssl_certificates\030\217\242\303\256\001"
-          + " \003(\0132\'.google.cloud.compute.v1.SslCertificate\0229\n"
+          + "\020ssl_certificates\030\217\242\303\256\001 \003(\013"
+          + "2\'.google.cloud.compute.v1.SslCertificate\0229\n"
           + "\007warning\030\234\337\226\030 \001(\0132"
-          + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n"
-          + "\n"
+          + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n"
           + "\010_warning\"\340\003\n"
           + "\031SslPoliciesAggregatedList\022\024\n"
           + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\tH\001\210\001\001\022O\n"
-          + "\005items\030\300\317\367/ \003(\0132=.google.cloud.comput"
-          + "e.v1.SslPoliciesAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\013"
+          + "2=.google.cloud.compute.v1.SslPoliciesAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\004\210\001\001\022\027\n"
@@ -30139,8 +30214,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\005\210\001\001\032\\\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022=\n"
-          + "\005value\030\002"
-          + " \001(\0132..google.cloud.compute.v1.SslPoliciesScopedList:\0028\001B\007\n"
+          + "\005value\030\002 \001(\0132..googl"
+          + "e.cloud.compute.v1.SslPoliciesScopedList:\0028\001B\007\n"
           + "\005_etagB\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
@@ -30212,16 +30287,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005_nameB\034\n"
           + "\032_post_quantum_key_exchangeB\n\n"
           + "\010_profileB\t\n"
-          + "\007_regionB\014\n"
-          + "\n"
+          + "\007_regionB\014\n\n"
           + "_self_link\"@\n"
           + "\022SslPolicyReference\022\033\n\n"
           + "ssl_policy\030\305\375\340\214\001 \001(\tH\000\210\001\001B\r\n"
           + "\013_ssl_policy\"\240\002\n"
           + " StartAsyncReplicationDiskRequest\022\024\n"
           + "\004disk\030\235\233\274\001 \001(\tB\003\340A\002\022{\n"
-          + ".disks_start_async_replication_request_resource\030\332\236\300\340\001 \001(\0132:.g"
-          + "oogle.cloud.compute.v1.DisksStartAsyncReplicationRequestB\003\340A\002\022!\n"
+          + ".disks_start_async_replication_request_resource\030\332\236\300\340\001"
+          + " \001(\0132:.google.cloud.comput"
+          + "e.v1.DisksStartAsyncReplicationRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
@@ -30234,8 +30309,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\210\001\n"
           + "5region_disks_start_async_replication_request_resource\030\205\310\226\342\001"
-          + " \001(\0132@.google.cloud.compute.v1.Regi"
-          + "onDisksStartAsyncReplicationRequestB\003\340A\002\022\032\n\n"
+          + " \001(\0132@.google"
+          + ".cloud.compute.v1.RegionDisksStartAsyncReplicationRequestB\003\340A\002\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\233\001\n"
           + "\024StartInstanceRequest\022\030\n"
@@ -30249,8 +30324,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + ")StartInstancesInstanceGroupManagerRequest\022&\n"
           + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\215\001\n"
           + "8instance_group_managers_start_instances_request_resource\030\253\245\277|"
-          + " \001(\0132C."
-          + "google.cloud.compute.v1.InstanceGroupManagersStartInstancesRequestB\003\340A\002\022!\n"
+          + " \001(\0132C.google.cloud.compu"
+          + "te.v1.InstanceGroupManagersStartInstancesRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
@@ -30260,19 +30335,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "/StartInstancesRegionInstanceGroupManagerRequest\022&\n"
           + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
-          + "\340A\002\362G\007project\022\037\n"
+          + "\340A\002\362G\007",
+      "project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\233\001\n"
-          + "?region_instance_g"
-          + "roup_managers_start_instances_request_resource\030\226\233\377\354\001"
-          + " \001(\0132I.google.cloud.compute."
-          + "v1.RegionInstanceGroupManagersStartInstancesRequestB\003\340A\002\022\032\n\n"
+          + "?region_instance_group_managers_start_instances_request_resource\030\226\233\377\354\001"
+          + " \001(\0132I.google.cloud.compute.v1.RegionInstanceG"
+          + "roupManagersStartInstancesRequestB\003\340A\002\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\265\002\n"
           + "%StartWithEncryptionKeyInstanceRequest\022\030\n"
           + "\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022\206\001\n"
           + "4instances_start_with_encryption_key_request_resource\030\377\376\317\322\001"
-          + " \001(\0132?.goo"
-          + "gle.cloud.compute.v1.InstancesStartWithEncryptionKeyRequestB\003\340A\002\022!\n"
+          + " \001(\0132?.google.cloud.compute."
+          + "v1.InstancesStartWithEncryptionKeyRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
@@ -30280,28 +30355,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\004zoneB\r\n"
           + "\013_request_id\"|\n"
           + "\016StatefulPolicy\022V\n"
-          + "\017preserved_state\030\252\342\240\001"
-          + " \001(\01325.google.cloud.compute.v1.StatefulPolicyPreservedStateH\000\210\001\001B\022\n"
+          + "\017preserved_state\030\252\342\240\001 \001(\0132"
+          + "5.google.cloud.compute.v1.StatefulPolicyPreservedStateH\000\210\001\001B\022\n"
           + "\020_preserved_state\"\216\005\n"
           + "\034StatefulPolicyPreservedState\022R\n"
-          + "\005disks\030\366\314\312- \003(\0132@.google.cl"
-          + "oud.compute.v1.StatefulPolicyPreservedState.DisksEntry\022a\n\r"
-          + "external_i_ps\030\215\323\200\376\001 \003("
-          + "\0132F.google.cloud.compute.v1.StatefulPolicyPreservedState.ExternalIPsEntry\022`\n\r"
-          + "internal_i_ps\030\333\233\357f \003(\0132F.google.cloud.compu"
-          + "te.v1.StatefulPolicyPreservedState.InternalIPsEntry\032m\n\n"
+          + "\005disks\030\366\314\312-"
+          + " \003(\0132@.google.cloud.compute.v1.StatefulPolicyPreservedState.DisksEntry\022a\n\r"
+          + "external_i_ps\030\215\323\200\376\001 \003(\0132F.google.cloud.c"
+          + "ompute.v1.StatefulPolicyPreservedState.ExternalIPsEntry\022`\n\r"
+          + "internal_i_ps\030\333\233\357f \003("
+          + "\0132F.google.cloud.compute.v1.StatefulPolicyPreservedState.InternalIPsEntry\032m\n\n"
           + "DisksEntry\022\013\n"
           + "\003key\030\001 \001(\t\022N\n"
-          + "\005value\030\002 \001(\0132?.google.cloud.compute.v1."
-          + "StatefulPolicyPreservedStateDiskDevice:\0028\001\032r\n"
+          + "\005value\030\002 \001(\0132?.go"
+          + "ogle.cloud.compute.v1.StatefulPolicyPreservedStateDiskDevice:\0028\001\032r\n"
           + "\020ExternalIPsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022M\n"
-          + "\005value\030\002 \001(\0132>.google.cloud.compute.v1.Sta"
-          + "tefulPolicyPreservedStateNetworkIp:\0028\001\032r\n"
+          + "\005value\030\002 \001(\0132>.googl"
+          + "e.cloud.compute.v1.StatefulPolicyPreservedStateNetworkIp:\0028\001\032r\n"
           + "\020InternalIPsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022M\n"
-          + "\005value\030\002"
-          + " \001(\0132>.google.cloud.compute.v1.StatefulPolicyPreservedStateNetworkIp:\0028\001\"\264\001\n"
+          + "\005value\030\002 \001(\0132>.google.cl"
+          + "oud.compute.v1.StatefulPolicyPreservedStateNetworkIp:\0028\001\"\264\001\n"
           + "&StatefulPolicyPreservedStateDiskDevice\022\034\n"
           + "\013auto_delete\030\273\344\316\335\001 \001(\tH\000\210\001\001\"\\\n\n"
           + "AutoDelete\022\031\n"
@@ -30337,11 +30412,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\232\002\n"
-          + "$StopGroupAsync",
-      "ReplicationDiskRequest\022\206\001\n"
+          + "$StopGroupAsyncReplicationDiskRequest\022\206\001\n"
           + "4disks_stop_group_async_replication_resource_resource\030\225\370\257\245\001"
-          + " \001(\0132?.google.cloud.compute.v1.Disk"
-          + "sStopGroupAsyncReplicationResourceB\003\340A\002\022!\n"
+          + " \001(\0132?.google"
+          + ".cloud.compute.v1.DisksStopGroupAsyncReplicationResourceB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
@@ -30349,9 +30423,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\004zoneB\r\n"
           + "\013_request_id\"\244\002\n"
           + "*StopGroupAsyncReplicationRegionDiskRequest\022\206\001\n"
-          + "4disks_stop_group_async_replication_resource_resource\030\225\370\257\245\001"
-          + " \001(\0132?.google.cloud.comp"
-          + "ute.v1.DisksStopGroupAsyncReplicationResourceB\003\340A\002\022!\n"
+          + "4disks_stop_group_async_replication_resource_resource\030\225\370\257\245\001 \001"
+          + "(\0132?.google.cloud.compute.v1.DisksStopGroupAsyncReplicationResourceB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
@@ -30372,8 +30445,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "(StopInstancesInstanceGroupManagerRequest\022&\n"
           + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\213\001\n"
           + "7instance_group_managers_stop_instances_request_resource\030\215\245\364\021"
-          + " \001(\0132B.goo"
-          + "gle.cloud.compute.v1.InstanceGroupManagersStopInstancesRequestB\003\340A\002\022%\n"
+          + " \001(\0132B.google.cloud.compute."
+          + "v1.InstanceGroupManagersStopInstancesRequestB\003\340A\002\022%\n"
           + "\024no_graceful_shutdown\030\222\267\253\240\001 \001(\010H\000\210\001\001\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
@@ -30388,9 +30461,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\231\001\n"
-          + ">region_instance_group_managers_stop_instances_request_resource\030\302\234\362\200\001"
-          + " \001(\0132H.goog"
-          + "le.cloud.compute.v1.RegionInstanceGroupManagersStopInstancesRequestB\003\340A\002\022\032\n\n"
+          + ">region_instance_g"
+          + "roup_managers_stop_instances_request_resource\030\302\234\362\200\001"
+          + " \001(\0132H.google.cloud.compute.v"
+          + "1.RegionInstanceGroupManagersStopInstancesRequestB\003\340A\002\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\001\210\001\001B\027\n"
           + "\025_no_graceful_shutdownB\r\n"
           + "\013_request_id\"\322\r\n"
@@ -30398,16 +30472,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\032capacity_provisioning_type\030\207\212\375w \001(\tH\000\210\001\001\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022r\n"
-          + "\037exapool_provisioned_capacity_gb\030\340\341\313\244\001 \001(\0132@.google"
-          + ".cloud.compute.v1.StoragePoolExapoolProvisionedCapacityGbH\003\210\001\001\022\020\n"
+          + "\037exapool_provisioned_capacity_gb\030\340\341\313\244\001"
+          + " \001(\0132@.google.cloud.compute.v1."
+          + "StoragePoolExapoolProvisionedCapacityGbH\003\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\004H\004\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\005\210\001\001\022!\n"
           + "\021label_fingerprint\030\231\360\367T \001(\tH\006\210\001\001\022D\n"
-          + "\006labels\030\377\277\301\356\001 \003(\01320."
-          + "google.cloud.compute.v1.StoragePool.LabelsEntry\022\024\n"
+          + "\006labels\030\377\277\301\356\001"
+          + " \003(\01320.google.cloud.compute.v1.StoragePool.LabelsEntry\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\007\210\001\001\022B\n"
-          + "\006params\030\206\363\253%"
-          + " \001(\0132*.google.cloud.compute.v1.StoragePoolParamsH\010\210\001\001\022.\n"
+          + "\006params\030\206\363\253% \001(\0132*.google."
+          + "cloud.compute.v1.StoragePoolParamsH\010\210\001\001\022.\n"
           + "\035performance_provisioning_type\030\375\235\266\337\001 \001(\tH"
           + "\t\210\001\001\022-\n"
           + "\034pool_provisioned_capacity_gb\030\322\317\227\344\001 \001(\003H\n"
@@ -30419,11 +30494,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\016\210\001\001\022!\n"
           + "\021self_link_with_id\030\202\254\235\025 \001(\tH\017\210\001\001\022Q\n"
-          + "\016share_settings\030\203\221\224\177"
-          + " \001(\01321.google.cloud.compute.v1.StoragePoolShareSettingsH\020\210\001\001\022\025\n"
+          + "\016share_settings\030\203\221\224\177 \001(\01321.goog"
+          + "le.cloud.compute.v1.StoragePoolShareSettingsH\020\210\001\001\022\025\n"
           + "\005state\030\221\211\2534 \001(\tH\021\210\001\001\022J\n"
-          + "\006status\030\362\237\267V \001(\01322.google.c"
-          + "loud.compute.v1.StoragePoolResourceStatusH\022\210\001\001\022\"\n"
+          + "\006status\030\362\237\267V"
+          + " \001(\01322.google.cloud.compute.v1.StoragePoolResourceStatusH\022\210\001\001\022\"\n"
           + "\021storage_pool_type\030\271\201\260\210\001 \001(\tH\023\210\001\001\022\024\n"
           + "\004zone\030\254\307\344\001 \001(\tH\024\210\001\001\032-\n"
           + "\013LabelsEntry\022\013\n"
@@ -30463,8 +30538,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\031StoragePoolAggregatedList\022\024\n"
           + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\tH\001\210\001\001\022O\n"
-          + "\005items\030\300\317\367/ \003(\0132=.google.cloud.compute"
-          + ".v1.StoragePoolAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132"
+          + "=.google.cloud.compute.v1.StoragePoolAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\004\210\001\001\022\027\n"
@@ -30473,8 +30548,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\005\210\001\001\032]\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022>\n"
-          + "\005value\030\002"
-          + " \001(\0132/.google.cloud.compute.v1.StoragePoolsScopedList:\0028\001B\007\n"
+          + "\005value\030\002 \001(\0132/.google"
+          + ".cloud.compute.v1.StoragePoolsScopedList:\0028\001B\007\n"
           + "\005_etagB\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
@@ -30553,8 +30628,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\267\001\n"
           + "\021StoragePoolParams\022f\n"
-          + "\025resource_manager_tags\030\374\233\213\264\001"
-          + " \003(\0132C.google.cloud.compute.v1.StoragePoolParams.ResourceManagerTagsEntry\032:\n"
+          + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132C.google.c"
+          + "loud.compute.v1.StoragePoolParams.ResourceManagerTagsEntry\032:\n"
           + "\030ResourceManagerTagsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\"\220\010\n"
@@ -30595,19 +30670,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\034_total_provisioned_disk_iopsB$\n"
           + "\"_total_provisioned_disk_throughput\"\350\001\n"
           + "\030StoragePoolShareSettings\022Y\n"
-          + "\013project_map\030\266\326\377? \003(\0132A.googl"
-          + "e.cloud.compute.v1.StoragePoolShareSettings.ProjectMapEntry\032q\n"
+          + "\013project_map\030\266\326\377? \003(\0132A.google.cloud.compute.v1"
+          + ".StoragePoolShareSettings.ProjectMapEntry\032q\n"
           + "\017ProjectMapEntry\022\013\n"
           + "\003key\030\001 \001(\t\022M\n"
-          + "\005value\030\002 \001(\0132>.google.clou"
-          + "d.compute.v1.StoragePoolShareSettingsProjectConfig:\0028\001\"R\n"
-          + "%StoragePoolShareSettingsProjectConfig\022\032\n\n"
+          + "\005value\030\002"
+          + " \001(\0132>.google.cloud.compute.v1.StoragePoolShareSettingsProjectConfig:\0028\001\"R\n"
+          + "%StoragePoolShareSettingsProjectConfig\022\032\n"
+          + "\n"
           + "project_id\030\201\310\322T \001(\tH\000\210\001\001B\r\n"
           + "\013_project_id\"\347\007\n"
           + "\017StoragePoolType\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022G\n\n"
-          + "deprecated\030\263\313\321\365\001"
-          + " \001(\0132*.google.cloud.compute.v1.DeprecationStatusH\001\210\001\001\022\034\n"
+          + "deprecated\030\263\313\321\365\001 \001(\013"
+          + "2*.google.cloud.compute.v1.DeprecationStatusH\001\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\0220\n"
@@ -30638,14 +30714,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\032_min_pool_provisioned_iopsB\"\n"
           + " _min_pool_provisioned_throughputB\016\n"
           + "\014_min_size_gbB\007\n"
-          + "\005_nameB\014\n\n"
+          + "\005_nameB\014\n"
+          + "\n"
           + "_self_linkB\024\n"
           + "\022_self_link_with_idB\007\n"
           + "\005_zone\"\265\003\n"
           + "\035StoragePoolTypeAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022S\n"
-          + "\005items\030\300\317\367/"
-          + " \003(\0132A.google.cloud.compute.v1.StoragePoolTypeAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132A.googl"
+          + "e.cloud.compute.v1.StoragePoolTypeAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n"
@@ -30653,8 +30730,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\004\210\001\001\032a\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022B\n"
-          + "\005value\030\002 \001(\01323.google.cloud.com"
-          + "pute.v1.StoragePoolTypesScopedList:\0028\001B\005\n"
+          + "\005value\030\002 "
+          + "\001(\01323.google.cloud.compute.v1.StoragePoolTypesScopedList:\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
@@ -30662,8 +30739,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\010_warning\"\257\002\n"
           + "\023StoragePoolTypeList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022:\n"
-          + "\005items\030\300\317\367/ \003(\013"
-          + "2(.google.cloud.compute.v1.StoragePoolType\022\024\n"
+          + "\005items\030\300\317\367/"
+          + " \003(\0132(.google.cloud.compute.v1.StoragePoolType\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n"
@@ -30685,7 +30762,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " \003(\0132$.google.cloud.compute.v1.StoragePool\0229\n"
           + "\007warning\030\234\337\226\030 \001(\0132"
           + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n"
-          + "\010_warning\"\241\026\n\n"
+          + "\010_warning\"\371\026\n\n"
           + "Subnetwork\0220\n"
           + " allow_subnet_cidr_routes_overlap\030\321\316\255  \001(\010H\000\210\001\001\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n"
@@ -30704,12 +30781,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\021ipv6_gce_endpoint\030\343\312\342\230\001 \001(\tH\r"
           + "\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\016\210\001\001\022I\n\n"
-          + "log_config\030\235\321\301\247\001 \001("
-          + "\0132,.google.cloud.compute.v1.SubnetworkLogConfigH\017\210\001\001\022\024\n"
+          + "log_config\030\235\321\301\247\001"
+          + " \001(\0132,.google.cloud.compute.v1.SubnetworkLogConfigH\017\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\020\210\001\001\022\027\n"
           + "\007network\030\256\264\205o \001(\tH\021\210\001\001\022A\n"
-          + "\006params\030\206\363\253% \001(\0132)"
-          + ".google.cloud.compute.v1.SubnetworkParamsH\022\210\001\001\022)\n"
+          + "\006params\030\206\363\253%"
+          + " \001(\0132).google.cloud.compute.v1.SubnetworkParamsH\022\210\001\001\022)\n"
           + "\030private_ip_google_access\030\316\350\375\310\001 \001(\010H\023\210\001\001\022*\n"
           + "\032private_ipv6_google_access\030\216\314\202\027 \001(\tH\024\210\001\001\022\030\n"
           + "\007purpose\030\236\372\357\226\001 \001(\tH\025\210\001\001\022\026\n"
@@ -30717,15 +30794,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\027reserved_internal_range\030\262\236\277\210\001 \001(\tH\027\210\001\001\022$\n"
           + "\023resolve_subnet_mask\030\273\331\355\366\001 \001(\tH\030\210\001\001\022\024\n"
           + "\004role\030\366\200\326\001 \001(\tH\031\210\001\001\022Q\n"
-          + "\023secondary_ip_ranges\030\343\377\224A \003(\01321."
-          + "google.cloud.compute.v1.SubnetworkSecondaryRange\022\032\n"
+          + "\023secondary_ip_ranges\030\343\377\224A"
+          + " \003(\01321.google.cloud.compute.v1.SubnetworkSecondaryRange\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\032\210\001\001\022\033\n\n"
           + "stack_type\030\221\265\213\313\001 \001(\tH\033\210\001\001\022\025\n"
           + "\005state\030\221\211\2534 \001(\tH\034\210\001\001\022/\n"
           + "$system_reserved_external_ipv6_ranges\030\341\210\223\037 \003(\t\0220\n"
           + "$system_reserved_internal_ipv6_ranges\030\323\230\221\316\001 \003(\t\022Z\n"
-          + "\023utilization_details\030\245\212\346; \001(\01325.google.cloud.compu"
-          + "te.v1.SubnetworkUtilizationDetailsH\035\210\001\001\"y\n"
+          + "\023utilization_details\030\245\212\346; \001("
+          + "\01325.google.cloud.compute.v1.SubnetworkUtilizationDetailsH\035\210\001\001\"y\n"
           + "\016Ipv6AccessType\022\036\n"
           + "\032UNDEFINED_IPV6_ACCESS_TYPE\020\000\022\017\n"
           + "\010EXTERNAL\020\313\247\375\020\022\020\n"
@@ -30749,10 +30826,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013PRIVATE_NAT\020\245\310\256\257\001\022\027\n"
           + "\020PRIVATE_RFC_1918\020\333\376\305y\022\036\n"
           + "\027PRIVATE_SERVICE_CONNECT\020\304\364\371\026\022\035\n"
-          + "\026REGIONAL_MANAGED_PROXY\020\356\266\375H\"h\n"
+          + "\026REGIONAL_MANAGED_PROXY\020\356\266\375H\"\277\001\n"
           + "\021ResolveSubnetMask\022!\n"
           + "\035UNDEFINED_RESOLVE_SUBNET_MASK\020\000\022\026\n"
-          + "\016ARP_ALL_RANGES\020\324\322\300\324\001\022\030\n"
+          + "\016ARP_ALL_RANGES\020\324\322\300\324\001\022\"\n"
+          + "\033ARP_BROADCAST_PRIMARY_RANGE\020\342\276\211;\0221\n"
+          + ")ARP_BROADCAST_PRIMARY_RANGE_WITH_LEARNING\020\332\220\370\312\001\022\030\n"
           + "\021ARP_PRIMARY_RANGE\020\200\205\2519\":\n"
           + "\004Role\022\022\n"
           + "\016UNDEFINED_ROLE\020\000\022\016\n"
@@ -30802,8 +30881,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\024_utilization_details\"\277\003\n"
           + "\030SubnetworkAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022N\n"
-          + "\005items\030\300\317\367/ \003(\0132<.google.cloud.co"
-          + "mpute.v1.SubnetworkAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/"
+          + " \003(\0132<.google.cloud.compute.v1.SubnetworkAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
@@ -30812,8 +30891,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\004\210\001\001\032\\\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022=\n"
-          + "\005value\030\002"
-          + " \001(\0132..google.cloud.compute.v1.SubnetworksScopedList:\0028\001B\005\n"
+          + "\005value\030\002 "
+          + "\001(\0132..google.cloud.compute.v1.SubnetworksScopedList:\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
@@ -30829,8 +30908,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\004\210\001\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
-          + "\020_next_page_tokenB\014\n"
-          + "\n"
+          + "\020_next_page_tokenB\014\n\n"
           + "_self_linkB\n\n"
           + "\010_warning\"\335\004\n"
           + "\023SubnetworkLogConfig\022$\n"
@@ -30859,8 +30937,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\016_flow_samplingB\013\n"
           + "\t_metadata\"\265\001\n"
           + "\020SubnetworkParams\022e\n"
-          + "\025resource_manager_tags\030\374\233\213\264\001"
-          + " \003(\0132B.google.cloud.compute.v1.SubnetworkParams.ResourceManagerTagsEntry\032:\n"
+          + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132B."
+          + "google.cloud.compute.v1.SubnetworkParams.ResourceManagerTagsEntry\032:\n"
           + "\030ResourceManagerTagsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\"\372\002\n"
@@ -30874,28 +30952,30 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\024UNDEFINED_IP_VERSION\020\000\022\013\n"
           + "\004IPV4\020\205\314\211\001\022\013\n"
           + "\004IPV6\020\207\314\211\001\022\035\n"
-          + "\026IP_VERSION_UNSPECIFIED\020\370\235\205,B\020\n"
+          + "\026IP_VERSION_UNSP",
+      "ECIFIED\020\370\235\205,B\020\n"
           + "\016_ip_cidr_rangeB\020\n"
           + "\016_ip_collectionB\r\n"
           + "\013_ip_versionB\r\n"
           + "\013_range_nameB\032\n"
           + "\030_reserved_internal_range\"\310\004\n"
           + "\034SubnetworkUtilizationDetails\022y\n"
-          + "\"external_ipv6_instance_utilization\030\334\302\223\310\001 \001(\0132D."
-          + "google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6UtilizationH\000\210\001\001\022r\n"
-          + "\034external_ipv6_lb_utilization\030\275\227\217A \001(\0132D.goog"
-          + "le.cloud.compute.v1.SubnetworkUtilizationDetailsIPV6UtilizationH\001\210\001\001\022o\n"
-          + "\031internal_ipv6_utilization\030\214\312\236! \001(\0132D.google.clou"
-          + "d.compute.v1.SubnetworkUtilizationDetailsIPV6UtilizationH\002\210\001\001\022b\n"
-          + "\021ipv4_utilizations\030\253\235\250b \003(\0132D.google.cloud.compute.v1.Su"
-          + "bnetworkUtilizationDetailsIPV4UtilizationB%\n"
+          + "\"external_ipv6_instance_utilization\030\334\302\223\310\001 \001(\0132D.google.clo"
+          + "ud.compute.v1.SubnetworkUtilizationDetailsIPV6UtilizationH\000\210\001\001\022r\n"
+          + "\034external_ipv6_lb_utilization\030\275\227\217A \001(\0132D.google.cloud.c"
+          + "ompute.v1.SubnetworkUtilizationDetailsIPV6UtilizationH\001\210\001\001\022o\n"
+          + "\031internal_ipv6_utilization\030\214\312\236! \001(\0132D.google.cloud.compute."
+          + "v1.SubnetworkUtilizationDetailsIPV6UtilizationH\002\210\001\001\022b\n"
+          + "\021ipv4_utilizations\030\253\235\250b \003("
+          + "\0132D.google.cloud.compute.v1.SubnetworkUtilizationDetailsIPV4UtilizationB%\n"
           + "#_external_ipv6_instance_utilizationB\037\n"
           + "\035_external_ipv6_lb_utilizationB\034\n"
           + "\032_internal_ipv6_utilization\"\306\001\n"
           + "+SubnetworkUtilizationDetailsIPV4Utilization\022\033\n\n"
           + "range_name\030\315\360\264\236\001 \001(\tH\000\210\001\001\022#\n"
           + "\022total_allocated_ip\030\272\231\210\205\001 \001(\003H\001\210\001\001\022\035\n\r"
-          + "total_free_ip\030\337\343\2562 \001(\003H\002\210\001\001B\r\n"
+          + "total_free_ip\030\337\343\2562 \001(\003H\002\210\001\001B\r"
+          + "\n"
           + "\013_range_nameB\025\n"
           + "\023_total_allocated_ipB\020\n"
           + "\016_total_free_ip\"\336\001\n"
@@ -30944,12 +31024,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "+SuspendInstancesInstanceGroupManagerRequest\022&\n"
           + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\221\001\n"
           + ":instance_group_managers_suspend_instances_request_resource\030\321\215\241\026"
-          + " \001(\0132E.google.cloud"
-          + ".compute.v1.InstanceGroupManagersSuspendInstancesRequestB\003\340A\002\022!\n"
+          + " \001(\0132E.google.cloud.compute.v"
+          + "1.InstanceGroupManagersSuspendInstancesRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
-          + "request_id\030\313\201\331\021 \001(\tH",
-      "\000\210\001\001\022\033\n"
+          + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
           + "\004zone\030\254\307\344\001 \001(\tB\n"
           + "\340A\002\362G\004zoneB\r\n"
           + "\013_request_id\"\353\002\n"
@@ -30959,8 +31038,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\236\001\n"
           + "Aregion_instance_group_managers_suspend_instances_request_resource\030\374\345\224f"
-          + " \001(\0132K.google.cloud.compute.v1.Regi"
-          + "onInstanceGroupManagersSuspendInstancesRequestB\003\340A\002\022\032\n\n"
+          + " \001(\0132K.google.cloud.compute.v1.RegionInstance"
+          + "GroupManagersSuspendInstancesRequestB\003\340A\002\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\211\001\n"
           + " SwitchToCustomModeNetworkRequest\022\027\n"
@@ -31032,8 +31111,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\256\001\n"
           + "\033TargetHttpProxiesScopedList\022H\n"
-          + "\023target_http_proxies\030\303\325\250M"
-          + " \003(\0132(.google.cloud.compute.v1.TargetHttpProxy\0229\n"
+          + "\023target_http_proxies\030\303\325\250M \003("
+          + "\0132(.google.cloud.compute.v1.TargetHttpProxy\0229\n"
           + "\007warning\030\234\337\226\030 \001(\0132"
           + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n"
           + "\010_warning\"\353\003\n"
@@ -31064,16 +31143,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\010_url_map\"\210\003\n"
           + "\035TargetHttpProxyAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022S\n"
-          + "\005items\030\300\317\367/"
-          + " \003(\0132A.google.cloud.compute.v1.TargetHttpProxyAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132A"
+          + ".google.cloud.compute.v1.TargetHttpProxyAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
           + "\014unreachables\030\237\240\206t \003(\t\032b\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022C\n"
-          + "\005value\030\002 \001(\01324.google.cloud"
-          + ".compute.v1.TargetHttpProxiesScopedList:\0028\001B\005\n"
+          + "\005value\030\002"
+          + " \001(\01324.google.cloud.compute.v1.TargetHttpProxiesScopedList:\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
@@ -31096,7 +31175,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\024target_https_proxies\030\212\374\347\256\001"
           + " \003(\0132).google.cloud.compute.v1.TargetHttpsProxy\0229\n"
           + "\007warning\030\234\337\226\030 \001(\0132"
-          + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n"
+          + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n"
+          + "\n"
           + "\010_warning\"a\n"
           + "*TargetHttpsProxiesSetCertificateMapRequest\022\037\n"
           + "\017certificate_map\030\264\345\315J \001(\tH\000\210\001\001B\022\n"
@@ -31163,8 +31243,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\010_url_map\"\322\003\n"
           + "\036TargetHttpsProxyAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022T\n"
-          + "\005items\030\300\317\367/ \003(\0132B.google.cl"
-          + "oud.compute.v1.TargetHttpsProxyAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132B.google.cloud.comput"
+          + "e.v1.TargetHttpsProxyAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
@@ -31173,8 +31253,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\004\210\001\001\032c\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022D\n"
-          + "\005value\030\002 \001(\01325.google.cloud"
-          + ".compute.v1.TargetHttpsProxiesScopedList:\0028\001B\005\n"
+          + "\005value\030\002"
+          + " \001(\01325.google.cloud.compute.v1.TargetHttpsProxiesScopedList:\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
@@ -31182,8 +31262,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\010_warning\"\261\002\n"
           + "\024TargetHttpsProxyList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022;\n"
-          + "\005items\030\300\317\367/"
-          + " \003(\0132).google.cloud.compute.v1.TargetHttpsProxy\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132)."
+          + "google.cloud.compute.v1.TargetHttpsProxy\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n"
@@ -31223,8 +31303,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005_zone\"\313\003\n"
           + "\034TargetInstanceAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022R\n"
-          + "\005items\030\300\317\367/ \003(\0132@.goo"
-          + "gle.cloud.compute.v1.TargetInstanceAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132@.google.cloud."
+          + "compute.v1.TargetInstanceAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
@@ -31233,8 +31313,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\004\210\001\001\032`\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022A\n"
-          + "\005value\030\002 \001(\01322.google.c"
-          + "loud.compute.v1.TargetInstancesScopedList:\0028\001B\005\n"
+          + "\005value\030\002"
+          + " \001(\01322.google.cloud.compute.v1.TargetInstancesScopedList:\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
@@ -31300,8 +31380,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\021_session_affinity\"\277\003\n"
           + "\030TargetPoolAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022N\n"
-          + "\005items\030\300\317\367/ \003(\0132<.google.cloud.compute."
-          + "v1.TargetPoolAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/"
+          + " \003(\0132<.google.cloud.compute.v1.TargetPoolAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
@@ -31310,8 +31390,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\004\210\001\001\032\\\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022=\n"
-          + "\005value\030\002"
-          + " \001(\0132..google.cloud.compute.v1.TargetPoolsScopedList:\0028\001B\005\n"
+          + "\005value\030\002 \001(\0132.."
+          + "google.cloud.compute.v1.TargetPoolsScopedList:\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
@@ -31336,8 +31416,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"l\n"
           + " TargetPoolsAddHealthCheckRequest\022H\n\r"
-          + "health_checks\030\256\257\346\325\001"
-          + " \003(\0132-.google.cloud.compute.v1.HealthCheckReference\"a\n"
+          + "health_checks\030\256\257\346\325\001 \003(\0132-.go"
+          + "ogle.cloud.compute.v1.HealthCheckReference\"a\n"
           + "\035TargetPoolsAddInstanceRequest\022@\n"
           + "\tinstances\030\376\374\357\r"
           + " \003(\0132*.google.cloud.compute.v1.InstanceReference\"o\n"
@@ -31463,8 +31543,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\010_service\"\314\003\n"
           + "\034TargetTcpProxyAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022R\n"
-          + "\005items\030\300\317\367/ \003(\0132@.google.cloud.compute"
-          + ".v1.TargetTcpProxyAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/"
+          + " \003(\0132@.google.cloud.compute.v1.TargetTcpProxyAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
@@ -31473,8 +31553,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\004\210\001\001\032a\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022B\n"
-          + "\005value\030\002"
-          + " \001(\01323.google.cloud.compute.v1.TargetTcpProxiesScopedList:\0028\001B\005\n"
+          + "\005value\030\002 \001"
+          + "(\01323.google.cloud.compute.v1.TargetTcpProxiesScopedList:\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
@@ -31501,12 +31581,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\002id\030\233\032 \001(\004H\002\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\003\210\001\001\022!\n"
           + "\021label_fingerprint\030\231\360\367T \001(\tH\004\210\001\001\022I\n"
-          + "\006labels\030\377\277\301\356\001"
-          + " \003(\01325.google.cloud.compute.v1.TargetVpnGateway.LabelsEntry\022\024\n"
+          + "\006labels\030\377\277\301\356\001 \003(\01325."
+          + "google.cloud.compute.v1.TargetVpnGateway.LabelsEntry\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022\027\n"
           + "\007network\030\256\264\205o \001(\tH\006\210\001\001\022G\n"
-          + "\006params\030\206\363\253%"
-          + " \001(\0132/.google.cloud.compute.v1.TargetVpnGatewayParamsH\007\210\001\001\022\026\n"
+          + "\006params\030\206\363\253% \001(\0132/"
+          + ".google.cloud.compute.v1.TargetVpnGatewayParamsH\007\210\001\001\022\026\n"
           + "\006region\030\364\315\240B \001(\tH\010\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\t\210\001\001\022\026\n"
           + "\006status\030\362\237\267V \001(\tH\n"
@@ -31534,8 +31614,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007_status\"\321\003\n"
           + "\036TargetVpnGatewayAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022T\n"
-          + "\005items\030\300\317\367/ \003(\0132"
-          + "B.google.cloud.compute.v1.TargetVpnGatewayAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132B.google.c"
+          + "loud.compute.v1.TargetVpnGatewayAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
@@ -31544,8 +31624,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\004\210\001\001\032b\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022C\n"
-          + "\005value\030\002 \001(\01324.g"
-          + "oogle.cloud.compute.v1.TargetVpnGatewaysScopedList:\0028\001B\005\n"
+          + "\005value\030\002 \001(\01324.google.cloud.compute.v1.TargetVpnGatewaysScopedList",
+      ":\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
@@ -31566,15 +31646,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\301\001\n"
           + "\026TargetVpnGatewayParams\022k\n"
-          + "\025resource_manager_tags\030\374\233\213\264\001"
-          + " \003(\0132H.google.cloud.compute.v1.TargetV"
-          + "pnGatewayParams.ResourceManagerTagsEntry\032:\n"
+          + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132H.g"
+          + "oogle.cloud.compute.v1.TargetVpnGatewayParams.ResourceManagerTagsEntry\032:\n"
           + "\030ResourceManagerTagsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\"\260\001\n"
           + "\033TargetVpnGatewaysScopedList\022J\n"
-          + "\023target_vpn_gateways\030\210\223\312\277\001"
-          + " \003(\0132).google.cloud.compute.v1.TargetVpnGateway\0229\n"
+          + "\023target_vpn_gateways\030\210\223\312\277\001 \003(\0132).go"
+          + "ogle.cloud.compute.v1.TargetVpnGateway\0229\n"
           + "\007warning\030\234\337\226\030 \001(\0132"
           + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n"
           + "\010_warning\"\223\004\n"
@@ -31603,13 +31682,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001"
-          + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\323\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001"
+          + "(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\323\001\n"
           + "#TestIamPermissionsAutoscalerRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001"
-          + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.goo"
+          + "gle.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n"
           + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\300\001\n"
           + "&TestIamPermissionsBackendBucketRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
@@ -31624,24 +31703,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\035TestIamPermissionsDiskRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 "
-          + "\001(\0132/.google.cloud.compute.v1.TestPermis",
-      "sionsRequestB\003\340A\002\022\024\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.goog"
+          + "le.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n"
           + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\305\001\n"
           + "+TestIamPermissionsExternalVpnGatewayRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google.cloud"
-          + ".compute.v1.TestPermissionsRequestB\003\340A\002\"\250\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001"
+          + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\250\001\n"
           + "\'TestIamPermissionsFirewallPolicyRequest\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.g"
-          + "oogle.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\273\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google.clou"
+          + "d.compute.v1.TestPermissionsRequestB\003\340A\002\"\273\001\n"
           + "!TestIamPermissionsFirewallRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google.clou"
-          + "d.compute.v1.TestPermissionsRequestB\003\340A\002\"\300\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001"
+          + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\300\001\n"
           + "&TestIamPermissionsGlobalAddressRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
@@ -31655,52 +31733,52 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\036TestIamPermissionsImageRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 \001("
-          + "\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\326\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google"
+          + ".cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\326\001\n"
           + "&TestIamPermissionsInstanceGroupRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.g"
-          + "oogle.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google.clou"
+          + "d.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n"
           + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\321\001\n"
           + "!TestIamPermissionsInstanceRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001"
-          + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/"
+          + ".google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n"
           + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\303\001\n"
           + ")TestIamPermissionsInstanceTemplateRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google.cl"
-          + "oud.compute.v1.TestPermissionsRequestB\003\340A\002\"\335\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001"
+          + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\335\001\n"
           + "-TestIamPermissionsInstantSnapshotGroupRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google."
-          + "cloud.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001"
+          + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n"
           + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\330\001\n"
           + "(TestIamPermissionsInstantSnapshotRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001"
-          + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132"
+          + "/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n"
           + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\316\001\n"
           + "4TestIamPermissionsInterconnectAttachmentGroupRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\013"
-          + "2/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\304\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google."
+          + "cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\304\001\n"
           + "*TestIamPermissionsInterconnectGroupRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132"
-          + "/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\276\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google.c"
+          + "loud.compute.v1.TestPermissionsRequestB\003\340A\002\"\276\001\n"
           + "$TestIamPermissionsLicenseCodeRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.googl"
-          + "e.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\272\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001"
+          + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\272\001\n"
           + " TestIamPermissionsLicenseRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
@@ -31715,19 +31793,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/"
-          + ".google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\335\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google.cl"
+          + "oud.compute.v1.TestPermissionsRequestB\003\340A\002\"\335\001\n"
           + "-TestIamPermissionsNetworkEndpointGroupRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\013"
-          + "2/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google."
+          + "cloud.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n"
           + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\310\001\n"
           + ".TestIamPermissionsNetworkFirewallPolicyRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google.cloud"
-          + ".compute.v1.TestPermissionsRequestB\003\340A\002\"\322\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001"
+          + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\322\001\n"
           + "\"TestIamPermissionsNodeGroupRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
@@ -31744,8 +31822,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/."
-          + "google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\333\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google.clo"
+          + "ud.compute.v1.TestPermissionsRequestB\003\340A\002\"\333\001\n"
           + ")TestIamPermissionsRegionAutoscalerRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n"
@@ -31756,14 +31834,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001"
-          + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\337\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.goo"
+          + "gle.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\337\001\n"
           + "-TestIamPermissionsRegionBackendServiceRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google."
-          + "cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\345\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001"
+          + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\345\001\n"
           + "3TestIamPermissionsRegionCompositeHealthCheckRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n"
@@ -31774,14 +31852,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/"
-          + ".google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\350\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google.cl"
+          + "oud.compute.v1.TestPermissionsRequestB\003\340A\002\"\350\001\n"
           + "6TestIamPermissionsRegionHealthAggregationPolicyRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.goog"
-          + "le.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\334\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google.cloud.c"
+          + "ompute.v1.TestPermissionsRequestB\003\340A\002\"\334\001\n"
           + "*TestIamPermissionsRegionHealthCheckRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n"
@@ -31792,14 +31870,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001"
-          + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\335\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.g"
+          + "oogle.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\335\001\n"
           + "+TestIamPermissionsRegionHealthSourceRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google."
-          + "cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\336\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001"
+          + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\336\001\n"
           + ",TestIamPermissionsRegionInstanceGroupRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n"
@@ -31810,20 +31888,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001"
-          + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\340\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/."
+          + "google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\340\001\n"
           + ".TestIamPermissionsRegionInstantSnapshotRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.goo"
-          + "gle.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\346\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google.cloud."
+          + "compute.v1.TestPermissionsRequestB\003\340A\002\"\346\001\n"
           + "4TestIamPermissionsRegionNetworkFirewallPolicyRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google.clo"
-          + "ud.compute.v1.TestPermissionsRequestB\003\340A\002\"\345\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001"
+          + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\345\001\n"
           + "3TestIamPermissionsRegionNotificationEndpointRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n"
@@ -31834,20 +31912,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132"
-          + "/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\372\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google.c"
+          + "loud.compute.v1.TestPermissionsRequestB\003\340A\002\"\372\001\n"
           + ")TestIamPermissionsReservationBlockRequest\022\037\n"
           + "\017parent_resource\030\203\230\320\010 \001(\tB\003\340A\002\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google."
-          + "cloud.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001"
+          + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n"
           + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\324\001\n"
           + "$TestIamPermissionsReservationRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001"
-          + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.go"
+          + "ogle.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n"
           + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\375\001\n"
           + ",TestIamPermissionsReservationSubBlockRequest\022\037\n"
           + "\017parent_resource\030\203\230\320\010 \001(\tB\003\340A\002\022\027\n"
@@ -31860,24 +31938,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google.cloud.c"
-          + "ompute.v1.TestPermissionsRequestB\003\340A\002\"\270\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001"
+          + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\270\001\n"
           + "\036TestIamPermissionsRouteRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001"
-          + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\334\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\013"
+          + "2/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\334\001\n"
           + "*TestIamPermissionsServiceAttachmentRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.goog"
-          + "le.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\273\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google.cloud.c"
+          + "ompute.v1.TestPermissionsRequestB\003\340A\002\"\273\001\n"
           + "!TestIamPermissionsSnapshotRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google.cloud.c"
-          + "ompute.v1.TestPermissionsRequestB\003\340A\002\"\324\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001"
+          + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\324\001\n"
           + "$TestIamPermissionsStoragePoolRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
@@ -31893,36 +31971,36 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\'TestIamPermissionsTargetInstanceRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001"
-          + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\013"
+          + "2/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\022\024\n"
           + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\325\001\n"
           + "#TestIamPermissionsTargetPoolRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001"
-          + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\301\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/"
+          + ".google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\301\001\n"
           + "\'TestIamPermissionsTargetSslProxyRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001"
-          + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\301\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.goo"
+          + "gle.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\301\001\n"
           + "\'TestIamPermissionsTargetTcpProxyRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\013"
-          + "2/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\271\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google."
+          + "cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\271\001\n"
           + "\037TestIamPermissionsUrlMapRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.google.cl"
-          + "oud.compute.v1.TestPermissionsRequestB\003\340A\002\"\325\001\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001"
+          + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"\325\001\n"
           + "#TestIamPermissionsVpnGatewayRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n"
           + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n"
-          + "!test_permissions_request_resource\030\246\305\267\321\001"
-          + " \001(\0132/.google.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"0\n"
+          + "!test_permissions_request_resource\030\246\305\267\321\001 \001(\0132/.goo"
+          + "gle.cloud.compute.v1.TestPermissionsRequestB\003\340A\002\"0\n"
           + "\026TestPermissionsRequest\022\026\n"
           + "\013permissions\030\204\351\313\034 \003(\t\"1\n"
           + "\027TestPermissionsResponse\022\026\n"
@@ -31989,16 +32067,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022\"\n"
           + "\021network_interface\030\350\300\235\256\001 \001(\tB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
-          + "\340A\002\362G\007project\022\032\n"
-          + "\n"
+          + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
           + "\004zone\030\254\307\344\001 \001(\tB\n"
           + "\340A\002\362G\004zoneB\r\n"
           + "\013_request_id\"\372\001\n"
           + "\027UpdateAutoscalerRequest\022\033\n\n"
           + "autoscaler\030\327\375\322\366\001 \001(\tH\000\210\001\001\022H\n"
-          + "\023autoscaler_resource\030\366\360\377b \001(\0132#"
-          + ".google.cloud.compute.v1.AutoscalerB\003\340A\002\022!\n"
+          + "\023autoscaler_resource\030\366\360\377b"
+          + " \001(\0132#.google.cloud.compute.v1.AutoscalerB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\033\n"
@@ -32016,18 +32093,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\341\001\n"
           + "\033UpdateBackendServiceRequest\022 \n"
           + "\017backend_service\030\212\300\256\222\001 \001(\tB\003\340A\002\022R\n"
-          + "\030backend_service_resource\030\243\201\337\245\001"
-          + " \001(\0132\'.google.cloud.compute.v1.BackendServiceB\003\340A\002\022!\n"
+          + "\030backend_service_resource\030\243\201\337\245\001 \001(\0132"
+          + "\'.google.cloud.compute.v1.BackendServiceB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
-          + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r"
-          + "\n"
+          + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\241\002\n"
           + "\021UpdateDiskRequest\022\024\n"
           + "\004disk\030\235\233\274\001 \001(\tB\003\340A\002\022<\n\r"
-          + "disk_resource\030\360\320\253\014 "
-          + "\001(\0132\035.google.cloud.compute.v1.DiskB\003\340A\002\022\025\n"
-          + "\005paths\030\356\301\3402 \001(\tH\000\210\001\001\022!\n"
+          + "disk_resource\030\360\320\253\014"
+          + " \001(\0132\035.google.cloud.compute.v1.DiskB\003\340A\002\022\025\n"
+          + "\005paths\030\356",
+      "\301\3402 \001(\tH\000\210\001\001\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\034\n"
@@ -32042,24 +32119,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " \001(\0132&.google.cloud.compute.v1.DisplayDeviceB\003\340A\002\022\030\n"
           + "\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
-          + "\340A\002\362G\007project\022\032\n\n"
+          + "\340A\002\362G\007project\022\032\n"
+          + "\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
           + "\004zone\030\254\307\344\001 \001(\tB\n"
           + "\340A\002\362G\004zoneB\r\n"
           + "\013_request_id\"\306\001\n"
           + "\025UpdateFirewallRequest\022\031\n"
           + "\010firewall\030\200\372\325\363\001 \001(\tB\003\340A\002\022D\n"
-          + "\021firewall_resource\030\355\260\340\023 \001"
-          + "(\0132!.google.cloud.compute.v1.FirewallB\003\340A\002\022!\n"
+          + "\021firewall_resource\030\355\260\340\023"
+          + " \001(\0132!.google.cloud.compute.v1.FirewallB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
-          + "\340A\002\362G\007project\022\032\n"
-          + "\n"
+          + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\267\002\n"
           + "\036UpdateFutureReservationRequest\022\"\n"
           + "\022future_reservation\030\320\306\346\032 \001(\tB\003\340A\002\022X\n"
-          + "\033future_reservation_resource\030\235\230\310\336\001 \001(\0132*.googl"
-          + "e.cloud.compute.v1.FutureReservationB\003\340A\002\022!\n"
+          + "\033future_reservation_resource\030\235\230\310\336\001"
+          + " \001(\0132*.google.cloud.compute.v1.FutureReservationB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\034\n"
@@ -32070,8 +32147,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\014_update_mask\"\207\002\n"
           + "$UpdateGlobalVmExtensionPolicyRequest\022*\n"
           + "\032global_vm_extension_policy\030\236\326\374\003 \001(\tB\003\340A\002\022e\n"
-          + "#global_vm_extension_policy_resource\030\217\330\2650"
-          + " \001(\01320.google.cloud.compute.v1.GlobalVmExtensionPolicyB\003\340A\002\022!\n"
+          + "#global_vm_extension_policy_resource\030\217\330\2650 \001(\01320."
+          + "google.cloud.compute.v1.GlobalVmExtensionPolicyB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
@@ -32106,8 +32183,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\202\002\n"
           + "\027UpdateKmsKeyDiskRequest\022\024\n"
           + "\004disk\030\235\233\274\001 \001(\tB\003\340A\002\022f\n"
-          + "$disk_update_kms_key_request_resource\030\340\353\361T \001(\013"
-          + "20.google.cloud.compute.v1.DiskUpdateKmsKeyRequestB\003\340A\002\022!\n"
+          + "$disk_update_kms_key_request_resource\030\340\353\361T \001(\01320.google."
+          + "cloud.compute.v1.DiskUpdateKmsKeyRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
@@ -32115,23 +32192,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\004zoneB\r\n"
           + "\013_request_id\"\231\002\n"
           + "\035UpdateKmsKeyRegionDiskRequest\022\024\n"
-          + "\004",
-      "disk\030\235\233\274\001 \001(\tB\003\340A\002\022!\n"
+          + "\004disk\030\235\233\274\001 \001(\tB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022s\n"
           + "+region_disk_update_kms_key_request_resource\030\313\250\343\004"
-          + " \001(\01326.google.cloud.co"
-          + "mpute.v1.RegionDiskUpdateKmsKeyRequestB\003\340A\002\022\032\n\n"
+          + " \001(\01326.google.cloud.compute.v1.RegionDiskUpdateKmsKeyRequestB\003\340A\002\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\253\002\n"
           + "!UpdateKmsKeyRegionSnapshotRequest\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022|\n"
-          + "/region_snapshot_update_kms_key_request_resource\030\362\245\234\205\001"
-          + " \001(\0132:.google.cloud.compute.v1."
-          + "RegionSnapshotUpdateKmsKeyRequestB\003\340A\002\022\032\n\n"
+          + "/region_snapshot_update_kms_key_request_resource\030\362\245\234\205\001 "
+          + "\001(\0132:.google.cloud.compute.v1.RegionSnapshotUpdateKmsKeyRequestB\003\340A\002\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\031\n"
           + "\010snapshot\030\304\253\353\207\001 \001(\tB\003\340A\002B\r\n"
           + "\013_request_id\"\366\001\n"
@@ -32140,8 +32214,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\031\n"
           + "\010snapshot\030\304\253\353\207\001 \001(\tB\003\340A\002\022n\n"
-          + "(snapshot_update_kms_key_request_resource\030\207\304\2271 "
-          + "\001(\01324.google.cloud.compute.v1.SnapshotUpdateKmsKeyRequestB\003\340A\002B\r\n"
+          + "(snapshot_update_kms_key_request_resource\030\207\304\2271 \001(\01324.goog"
+          + "le.cloud.compute.v1.SnapshotUpdateKmsKeyRequestB\003\340A\002B\r\n"
           + "\013_request_id\"\360\001\n"
           + "\024UpdateLicenseRequest\022\027\n"
           + "\007license\030\301\210\302O \001(\tB\003\340A\002\022C\n"
@@ -32175,8 +32249,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\365\001\n"
           + "\033UpdatePeeringNetworkRequest\022\027\n"
           + "\007network\030\256\264\205o \001(\tB\003\340A\002\022o\n"
-          + "(networks_update_peering_request_resource\030\331\252\202k"
-          + " \001(\01325.google.cloud.compute.v1.NetworksUpdatePeeringRequestB\003\340A\002\022!\n"
+          + "(networks_update_peering_request_resource\030\331\252\202k \001(\01325"
+          + ".google.cloud.compute.v1.NetworksUpdatePeeringRequestB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
@@ -32184,8 +32258,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "3UpdatePerInstanceConfigsInstanceGroupManagerRequest\022&\n"
           + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\233\001\n"
           + "@instance_group_managers_update_per_instance_configs_req_resource\030\276\301\266C"
-          + " \001(\0132I.google.cloud.compute.v1.InstanceGroup"
-          + "ManagersUpdatePerInstanceConfigsReqB\003\340A\002\022!\n"
+          + " \001(\0132I.google."
+          + "cloud.compute.v1.InstanceGroupManagersUpdatePerInstanceConfigsReqB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n"
@@ -32198,9 +32272,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\235\001\n"
           + "Aregion_instance_group_manager_update_instance_config_req_resource\030\247\256\272*"
-          + " \001(\0132J.g"
-          + "oogle.cloud.compute.v1.RegionInstanceGroupManagerUpdateInstanceConfigReqB\003\340A\002\022\032\n"
-          + "\n"
+          + " \001(\0132J.google.clou"
+          + "d.compute.v1.RegionInstanceGroupManagerUpdateInstanceConfigReqB\003\340A\002\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\340\001\n"
           + "\033UpdatePreviewFeatureRequest\022 \n"
@@ -32213,8 +32286,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\204\002\n"
           + "\035UpdateRegionAutoscalerRequest\022\033\n\n"
           + "autoscaler\030\327\375\322\366\001 \001(\tH\000\210\001\001\022H\n"
-          + "\023autoscaler_resource\030\366\360\377b \001"
-          + "(\0132#.google.cloud.compute.v1.AutoscalerB\003\340A\002\022!\n"
+          + "\023autoscaler_resource\030\366\360\377b"
+          + " \001(\0132#.google.cloud.compute.v1.AutoscalerB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
@@ -32223,8 +32296,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\210\002\n"
           + "!UpdateRegionBackendServiceRequest\022 \n"
           + "\017backend_service\030\212\300\256\222\001 \001(\tB\003\340A\002\022R\n"
-          + "\030backend_service_resource\030\243\201\337\245\001 \001(\013"
-          + "2\'.google.cloud.compute.v1.BackendServiceB\003\340A\002\022!\n"
+          + "\030backend_service_resource\030\243\201\337\245\001"
+          + " \001(\0132\'.google.cloud.compute.v1.BackendServiceB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
           + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
@@ -32232,8 +32305,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_request_id\"\304\002\n"
           + "\035UpdateRegionCommitmentRequest\022\033\n\n"
           + "commitment\030\225\226\363\345\001 \001(\tB\003\340A\002\022H\n"
-          + "\023commitment_resource\030\370\243\273t"
-          + " \001(\0132#.google.cloud.compute.v1.CommitmentB\003\340A\002\022\025\n"
+          + "\023commitment_resource\030\370\243\273t \001"
+          + "(\0132#.google.cloud.compute.v1.CommitmentB\003\340A\002\022\025\n"
           + "\005paths\030\356\301\3402 \001(\tH\000\210\001\001\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
@@ -32250,7 +32323,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005paths\030\356\301\3402 \001(\tH\000\210\001\001\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
-          + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
+          + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n"
+          + "\n"
           + "request_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\034\n"
           + "\013update_mask\030\242\271\272\356\001 \001(\tH\002\210\001\001B\010\n"
           + "\006_pathsB\r\n"
@@ -32258,12 +32332,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\014_update_mask\"\373\001\n"
           + "\036UpdateRegionHealthCheckRequest\022\035\n"
           + "\014health_check\030\345\252\244\223\001 \001(\tB\003\340A\002\022K\n"
-          + "\025health_check_resource\030\250\303\244`"
-          + " \001(\0132$.google.cloud.compute.v1.HealthCheckB\003\340A\002\022!\n"
+          + "\025health_check_resource\030\250\303\244` \001(\0132$.g"
+          + "oogle.cloud.compute.v1.HealthCheckB\003\340A\002\022!\n"
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\037\n"
-          + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n"
-          + "\n"
+          + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n"
           + "\013_request_id\"\347\001\n"
           + "\031UpdateRegionUrlMapRequest\022!\n"
@@ -32281,8 +32354,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\033\n"
           + "\013reservation\030\314\207\325\026 \001(\tB\003\340A\002\022K\n"
-          + "\024reservation_resource\030\241\356\364\207\001"
-          + " \001(\0132$.google.cloud.compute.v1.ReservationB\003\340A\002\022\034\n"
+          + "\024reservation_resource\030\241\356\364\207\001 \001"
+          + "(\0132$.google.cloud.compute.v1.ReservationB\003\340A\002\022\034\n"
           + "\013update_mask\030\242\271\272\356\001 \001(\tH\002\210\001\001\022\033\n"
           + "\004zone\030\254\307\344\001 \001(\tB\n"
           + "\340A\002\362G\004zoneB\010\n"
@@ -32294,8 +32367,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022!\n"
           + "\020reservation_slot\030\221\275\247\204\001 \001(\tB\003\340A\002\022T\n"
-          + "\031reservation_slot_resource\030\374\323\347\302\001"
-          + " \001(\0132(.google.cloud.compute.v1.ReservationSlotB\003\340A\002\022\034\n"
+          + "\031reservation_slot_resource\030\374\323\347\302\001 \001(\0132(."
+          + "google.cloud.compute.v1.ReservationSlotB\003\340A\002\022\034\n"
           + "\013update_mask\030\242\271\272\356\001 \001(\tH\000\210\001\001\022\033\n"
           + "\004zone\030\254\307\344\001 \001(\tB\n"
           + "\340A\002\362G\004zoneB\016\n"
@@ -32323,8 +32396,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007project\030\231\226\301l \001(\tB\r"
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022c\n"
-          + "!shielded_instance_config_resource\030\330\226\335\201\001 \001(\0132/.google.cloud"
-          + ".compute.v1.ShieldedInstanceConfigB\003\340A\002\022\033\n"
+          + "!shielded_instance_config_resource\030\330\226\335\201\001"
+          + " \001(\0132/.google.cloud.compute.v1.ShieldedInstanceConfigB\003\340A\002\022\033\n"
           + "\004zone\030\254\307\344\001 \001(\tB\n"
           + "\340A\002\362G\004zoneB\r\n"
           + "\013_request_id\"\237\002\n"
@@ -32333,8 +32406,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\035\n"
           + "\014storage_pool\030\340\306\361\253\001 \001(\tB\003\340A\002\022K\n"
-          + "\025storage_pool_resource\030\215\274\371J \001(\013"
-          + "2$.google.cloud.compute.v1.StoragePoolB\003\340A\002\022\034\n"
+          + "\025storage_pool_resource\030\215\274\371J"
+          + " \001(\0132$.google.cloud.compute.v1.StoragePoolB\003\340A\002\022\034\n"
           + "\013update_mask\030\242\271\272\356\001 \001(\tH\001\210\001\001\022\033\n"
           + "\004zone\030\254\307\344\001 \001(\tB\n"
           + "\340A\002\362G\004zoneB\r\n"
@@ -32353,8 +32426,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\340A\002\362G\007project\022\032\n\n"
           + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022$\n"
           + "\023vm_extension_policy\030\272\223\213\236\001 \001(\tB\003\340A\002\022Y\n"
-          + "\034vm_extension_policy_resource\030\363\371\361\365\001 \001(\0132*.google."
-          + "cloud.compute.v1.VmExtensionPolicyB\003\340A\002\022\033\n"
+          + "\034vm_extension_policy_resource\030\363\371\361\365\001"
+          + " \001(\0132*.google.cloud.compute.v1.VmExtensionPolicyB\003\340A\002\022\033\n"
           + "\004zone\030\254\307\344\001 \001(\tB\n"
           + "\340A\002\362G\004zoneB\r\n"
           + "\013_request_id\"\362\007\n"
@@ -32369,8 +32442,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " \001(\0132+.google.cloud.compute.v1.HttpRedirectActionH\004\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\005\210\001\001\022\033\n"
           + "\013fingerprint\030\344\321\363o \001(\tH\006\210\001\001\022I\n\r"
-          + "header_action\030\250\240\270\234\001 \001("
-          + "\0132).google.cloud.compute.v1.HttpHeaderActionH\007\210\001\001\0229\n\n"
+          + "header_action\030\250\240\270\234\001 \001(\0132).google"
+          + ".cloud.compute.v1.HttpHeaderActionH\007\210\001\001\0229\n\n"
           + "host_rules\030\240\207\327\224\001"
           + " \003(\0132!.google.cloud.compute.v1.HostRule\022\020\n"
           + "\002id\030\233\032 \001(\004H\010\210\001\001\022\024\n"
@@ -32442,19 +32515,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\014_test_passed\"\265\003\n"
           + "\025UrlMapsAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022K\n"
-          + "\005items\030\300\317\367/"
-          + " \003(\01329.google.cloud.compute.v1.UrlMapsAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003("
+          + "\01329.google.cloud.compute.v1.UrlMapsAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
           + "\014unreachables\030\237\240\206t \003(\t\0229\n"
           + "\007warning\030\234\337\226\030 \001(\0132"
-          + " .google.cloud.compute.v1.WarningH\004\210\001\001\032X\n"
-          + "\n"
+          + " .google.cloud.compute.v1.WarningH\004\210\001\001\032X\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\0229\n"
-          + "\005value\030\002 \001(\0132"
-          + "*.google.cloud.compute.v1.UrlMapsScopedList:\0028\001B\005\n"
+          + "\005value\030\002"
+          + " \001(\0132*.google.cloud.compute.v1.UrlMapsScopedList:\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
@@ -32476,15 +32548,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "!LOAD_BALANCING_SCHEME_UNSPECIFIED\020\274\273\207\373\001B\013\n"
           + "\t_resource\"m\n"
           + "\027UrlMapsValidateResponse\022G\n"
-          + "\006result\030\235\220\267B \001(\0132/.google.cloud"
-          + ".compute.v1.UrlMapValidationResultH\000\210\001\001B\t\n"
+          + "\006result\030\235\220\267B"
+          + " \001(\0132/.google.cloud.compute.v1.UrlMapValidationResultH\000\210\001\001B\t\n"
           + "\007_result\"\223\002\n\n"
           + "UrlRewrite\022\034\n"
           + "\014host_rewrite\030\365\313\232L \001(\tH\000\210\001\001\022#\n"
           + "\023path_prefix_rewrite\030\271\350\321\023 \001(\tH\001\210\001\001\022&\n"
           + "\025path_template_rewrite\030\241\357\362\311\001 \001(\tH\002\210\001\001\022E\n\r"
-          + "regex_rewrite\030\224\243\312\265\001 \001(\0132"
-          + "%.google.cloud.compute.v1.RegexRewriteH\003\210\001\001B\017\n\r"
+          + "regex_rewrite\030\224\243\312\265\001"
+          + " \001(\0132%.google.cloud.compute.v1.RegexRewriteH\003\210\001\001B\017\n\r"
           + "_host_rewriteB\026\n"
           + "\024_path_prefix_rewriteB\030\n"
           + "\026_path_template_rewriteB\020\n"
@@ -32497,8 +32569,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\007network\030\256\264\205o \001(\tH\004\210\001\001\022\030\n"
           + "\007purpose\030\236\372\357\226\001 \001(\tH\005\210\001\001\022\024\n"
           + "\004role\030\366\200\326\001 \001(\tH\006\210\001\001\022W\n"
-          + "\023secondary_ip_ranges\030\343\377\224A \003(\01327."
-          + "google.cloud.compute.v1.UsableSubnetworkSecondaryRange\022\033\n\n"
+          + "\023secondary_ip_ranges\030\343\377\224A \003(\01327.google.clo"
+          + "ud.compute.v1.UsableSubnetworkSecondaryRange\022\033\n\n"
           + "stack_type\030\221\265\213\313\001 \001(\tH\007\210\001\001\022\033\n\n"
           + "subnetwork\030\356\247\344\222\001 \001(\tH\010\210\001\001\"S\n"
           + "\016Ipv6AccessType\022\036\n"
@@ -32546,16 +32618,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " \003(\0132).google.cloud.compute.v1.UsableSubnetwork\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022M\n"
-          + "\017scoped_warnings\030\246\226\370f \003(\01321"
-          + ".google.cloud.compute.v1.SubnetworksScopedWarning\022\032\n"
+          + "\017scoped_warnings\030\246\226\370f \003(\01321.google.cl"
+          + "oud.compute.v1.SubnetworksScopedWarning\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
           + "\014unreachables\030\237\240\206t \003(\t\0229\n"
           + "\007warning\030\234\337\226\030 \001(\0132"
           + " .google.cloud.compute.v1.WarningH\004\210\001\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
-          + "\020_next_page_tokenB\014\n"
-          + "\n"
+          + "\020_next_page_tokenB\014\n\n"
           + "_self_linkB\n\n"
           + "\010_warning\"\177\n"
           + "\023UsageExportLocation\022\034\n"
@@ -32566,8 +32637,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\033ValidateRegionUrlMapRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n"
           + "\006region\030\364\315\240B \001(\tB\003\340A\002\022p\n"
-          + ")region_url_maps_validate_request_resource\030\232\314\200\033"
-          + " \001(\01325.google.cloud.compute.v1.RegionUrlMapsValidateRequestB\003\340A\002\022\030\n"
+          + ")region_url_maps_validate_request_resource\030\232\314\200\033 \001(\01325."
+          + "google.cloud.compute.v1.RegionUrlMapsValidateRequestB\003\340A\002\022\030\n"
           + "\007url_map\030\214\225\201\257\001 \001(\tB\003\340A\002\"\260\001\n"
           + "\025ValidateUrlMapRequest\022\027\n"
           + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n"
@@ -32576,8 +32647,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " \001(\0132/.google.cloud.compute.v1.UrlMapsValidateRequestB\003\340A\002\"\257\001\n"
           + "\025VmEndpointNatMappings\022\035\n\r"
           + "instance_name\030\365\347\330l \001(\tH\000\210\001\001\022e\n"
-          + "\026interface_nat_mappings\030\211\200\225z"
-          + " \003(\0132B.google.cloud.compute.v1.VmEndpointNatMappingsInterfaceNatMappingsB\020\n"
+          + "\026interface_nat_mappings\030\211\200\225z \003(\0132B.goo"
+          + "gle.cloud.compute.v1.VmEndpointNatMappingsInterfaceNatMappingsB\020\n"
           + "\016_instance_name\"\342\003\n"
           + ")VmEndpointNatMappingsInterfaceNatMappings\022$\n"
           + "\030drain_nat_ip_port_ranges\030\301\343\307\274\001 \003(\t\022\036\n"
@@ -32585,8 +32656,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\031num_total_drain_nat_ports\030\371\245\377\237\001"
           + " \001(\005H\000\210\001\001\022$\n"
           + "\023num_total_nat_ports\030\200\333\200\217\001 \001(\005H\001\210\001\001\022l\n\r"
-          + "rule_mappings\030\310\356\352\347\001 \003(\0132Q.go"
-          + "ogle.cloud.compute.v1.VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings\022&\n"
+          + "rule_mappings\030\310\356\352\347\001 \003(\0132Q.google.cloud"
+          + ".compute.v1.VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings\022&\n"
           + "\025source_alias_ip_range\030\330\243\374\321\001 \001(\tH\002\210\001\001\022!\n"
           + "\021source_virtual_ip\030\377\242\271G \001(\tH\003\210\001\001B\034\n"
           + "\032_num_total_drain_nat_portsB\026\n"
@@ -32607,8 +32678,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022A\n"
-          + "\006result\030\235\220\267B"
-          + " \003(\0132..google.cloud.compute.v1.VmEndpointNatMappings\022\032\n"
+          + "\006result\030\235\220\267B \003(\013"
+          + "2..google.cloud.compute.v1.VmEndpointNatMappings\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n"
           + "\007warning\030\234\337\226\030 \001(\0132"
           + " .google.cloud.compute.v1.WarningH\004\210\001\001B\005\n"
@@ -32618,20 +32689,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\264\001\n"
           + "\035VmExtensionPoliciesScopedList\022L\n"
-          + "\025vm_extension_policies\030\330\247\334q \003(\0132*.go"
-          + "ogle.cloud.compute.v1.VmExtensionPolicy\0229\n"
+          + "\025vm_extension_policies\030\330\247\334q"
+          + " \003(\0132*.google.cloud.compute.v1.VmExtensionPolicy\0229\n"
           + "\007warning\030\234\337\226\030 \001(\0132"
           + " .google.cloud.compute.v1.WarningH\000\210\001\001B\n\n"
           + "\010_warning\"\275\007\n"
           + "\021VmExtensionPolicy\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022`\n"
-          + "\022extension_policies\030\320\272\315l \003(\0132A.google.c"
-          + "loud.compute.v1.VmExtensionPolicy.ExtensionPoliciesEntry\022%\n"
+          + "\022extension_policies\030\320\272\315l \003(\0132A.google.cloud.compu"
+          + "te.v1.VmExtensionPolicy.ExtensionPoliciesEntry\022%\n"
           + "\024global_resource_link\030\357\363\250\366\001 \001(\tH\002\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\004H\003\210\001\001\022Z\n"
-          + "\022instance_selectors\030\312\302\214\370\001 \003(\0132:.google.cloud"
-          + ".compute.v1.VmExtensionPolicyInstanceSelector\022\024\n"
+          + "\022instance_selectors\030\312\302\214\370\001 \003(\0132:.google.cloud.compute.v",
+      "1.VmExtensionPolicyInstanceSelector\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022!\n"
           + "\021managed_by_global\030\353\207\240* \001(\010H\005\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\006\210\001\001\022\031\n"
@@ -32643,8 +32714,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\020update_timestamp\030\240\352\3229 \001(\tH\013\210\001\001\032s\n"
           + "\026ExtensionPoliciesEntry\022\013\n"
           + "\003key\030\001 \001(\t\022H\n"
-          + "\005value\030\002"
-          + " \001(\01329.google.cloud.compute.v1.VmExtensionPolicyExtensionPolicy:\0028\001\"Y\n"
+          + "\005value\030\002 \001(\01329.go"
+          + "ogle.cloud.compute.v1.VmExtensionPolicyExtensionPolicy:\0028\001\"Y\n"
           + "\005State\022\023\n"
           + "\017UNDEFINED_STATE\020\000\022\016\n"
           + "\006ACTIVE\020\206\346\211\226\001\022\020\n"
@@ -32665,8 +32736,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\'VmExtensionPolicyAggregatedListResponse\022\024\n"
           + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\tH\001\210\001\001\022]\n"
-          + "\005items\030\300\317\367/ \003(\0132K.google.cloud.compute.v1.V"
-          + "mExtensionPolicyAggregatedListResponse.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132K.google.cloud.compute.v1.VmExtension"
+          + "PolicyAggregatedListResponse.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\004\210\001\001\022\027\n"
@@ -32675,8 +32746,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\005\210\001\001\032d\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022E\n"
-          + "\005value\030\002 \001(\01326.google.cloud.comput"
-          + "e.v1.VmExtensionPoliciesScopedList:\0028\001B\007\n"
+          + "\005value\030\002"
+          + " \001(\01326.google.cloud.compute.v1.VmExtensionPoliciesScopedList:\0028\001B\007\n"
           + "\005_etagB\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
@@ -32689,20 +32760,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\017_pinned_versionB\020\n"
           + "\016_string_config\"\220\001\n"
           + "!VmExtensionPolicyInstanceSelector\022X\n"
-          + "\016label_selector\030\312\361\344\246\001 \001(\01327.goo"
-          + "gle.cloud.compute.v1.VmExtensionPolicyLabelSelectorH\000\210\001\001B\021\n"
+          + "\016label_selector\030\312\361\344\246\001 \001(\01327.google.cloud."
+          + "compute.v1.VmExtensionPolicyLabelSelectorH\000\210\001\001B\021\n"
           + "\017_label_selector\"\304\001\n"
           + "\036VmExtensionPolicyLabelSelector\022j\n"
-          + "\020inclusion_labels\030\202\331\205\357\001 \003(\0132L.google.cloud.comp"
-          + "ute.v1.VmExtensionPolicyLabelSelector.InclusionLabelsEntry\0326\n"
+          + "\020inclusion_labels\030\202\331\205\357\001 \003(\0132L.google.cloud.compute.v1.VmE"
+          + "xtensionPolicyLabelSelector.InclusionLabelsEntry\0326\n"
           + "\024InclusionLabelsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\"\353\002\n"
           + "\025VmExtensionPolicyList\022\024\n"
           + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\tH\001\210\001\001\022<\n"
-          + "\005items\030\300\317\367/ \003(\0132*"
-          + ".google.cloud.compute.v1.VmExtensionPolicy\022\024\n"
+          + "\005items\030\300\317\367/"
+          + " \003(\0132*.google.cloud.compute.v1.VmExtensionPolicy\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\004\210\001\001\022\027\n"
@@ -32722,18 +32793,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022!\n"
           + "\021label_fingerprint\030\231\360\367T \001(\tH\005\210\001\001\022C\n"
-          + "\006labels\030\377\277\301\356\001 \003(\0132/.google.cloud.compute.v1.V",
-      "pnGateway.LabelsEntry\022\024\n"
+          + "\006labels\030\377\277\301\356\001 \003"
+          + "(\0132/.google.cloud.compute.v1.VpnGateway.LabelsEntry\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\006\210\001\001\022\027\n"
           + "\007network\030\256\264\205o \001(\tH\007\210\001\001\022A\n"
-          + "\006params\030\206\363\253%"
-          + " \001(\0132).google.cloud.compute.v1.VpnGatewayParamsH\010\210\001\001\022\026\n"
+          + "\006params\030\206\363\253% \001(\0132)."
+          + "google.cloud.compute.v1.VpnGatewayParamsH\010\210\001\001\022\026\n"
           + "\006region\030\364\315\240B \001(\tH\t\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\n"
           + "\210\001\001\022\033\n\n"
           + "stack_type\030\221\265\213\313\001 \001(\tH\013\210\001\001\022Q\n"
-          + "\016vpn_interfaces\030\205\315\345+ "
-          + "\003(\01326.google.cloud.compute.v1.VpnGatewayVpnGatewayInterface\032-\n"
+          + "\016vpn_interfaces\030\205\315\345+ \003(\01326.goog"
+          + "le.cloud.compute.v1.VpnGatewayVpnGatewayInterface\032-\n"
           + "\013LabelsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\"N\n"
@@ -32762,8 +32833,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_stack_type\"\277\003\n"
           + "\030VpnGatewayAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022N\n"
-          + "\005items\030\300\317\367/ \003(\0132<.g"
-          + "oogle.cloud.compute.v1.VpnGatewayAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/ \003(\0132<.google.clou"
+          + "d.compute.v1.VpnGatewayAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
@@ -32772,8 +32843,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\004\210\001\001\032\\\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022=\n"
-          + "\005value\030\002 \001(\0132..google.clo"
-          + "ud.compute.v1.VpnGatewaysScopedList:\0028\001B\005\n"
+          + "\005value\030\002"
+          + " \001(\0132..google.cloud.compute.v1.VpnGatewaysScopedList:\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
@@ -32793,14 +32864,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\265\001\n"
           + "\020VpnGatewayParams\022e\n"
-          + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132B.google.cloud.compute.v1."
-          + "VpnGatewayParams.ResourceManagerTagsEntry\032:\n"
+          + "\025resource_manager_tags\030\374\233\213\264\001 "
+          + "\003(\0132B.google.cloud.compute.v1.VpnGatewayParams.ResourceManagerTagsEntry\032:\n"
           + "\030ResourceManagerTagsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\"g\n"
           + "\020VpnGatewayStatus\022S\n"
-          + "\017vpn_connections\030\212\355\276\321\001 \003(\01326.google."
-          + "cloud.compute.v1.VpnGatewayStatusVpnConnection\"\321\002\n"
+          + "\017vpn_connections\030\212\355\276\321\001"
+          + " \003(\01326.google.cloud.compute.v1.VpnGatewayStatusVpnConnection\"\321\002\n"
           + "0VpnGatewayStatusHighAvailabilityRequirementState\022\025\n"
           + "\005state\030\221\211\2534 \001(\tH\000\210\001\001\022\"\n"
           + "\022unsatisfied_reason\030\212\367\235\032 \001(\tH\001\210\001\001\"f\n"
@@ -32825,8 +32896,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\035VpnGatewayStatusVpnConnection\022&\n"
           + "\025peer_external_gateway\030\215\356\307\267\001 \001(\tH\000\210\001\001\022!\n"
           + "\020peer_gcp_gateway\030\274\351\263\206\001 \001(\tH\001\210\001\001\022`\n"
-          + "\005state\030\221\211\2534 \001(\0132I.google.cloud.compute.v1.VpnGatewayStat"
-          + "usHighAvailabilityRequirementStateH\002\210\001\001\022C\n"
+          + "\005state\030\221\211\2534 \001(\0132I.google.c"
+          + "loud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementStateH\002\210\001\001\022C\n"
           + "\007tunnels\030\213\372\3551"
           + " \003(\0132/.google.cloud.compute.v1.VpnGatewayStatusTunnelB\030\n"
           + "\026_peer_external_gatewayB\023\n"
@@ -32844,8 +32915,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013_ip_addressB\017\n\r"
           + "_ipv6_address\"l\n"
           + "\034VpnGatewaysGetStatusResponse\022A\n"
-          + "\006result\030\235\220\267B \001(\0132)."
-          + "google.cloud.compute.v1.VpnGatewayStatusH\000\210\001\001B\t\n"
+          + "\006result\030\235\220\267B"
+          + " \001(\0132).google.cloud.compute.v1.VpnGatewayStatusH\000\210\001\001B\t\n"
           + "\007_result\"\234\001\n"
           + "\025VpnGatewaysScopedList\022<\n"
           + "\014vpn_gateways\030\232\373\312{"
@@ -32863,8 +32934,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\013ike_version\030\234\320\220h \001(\005H\005\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\006\210\001\001\022!\n"
           + "\021label_fingerprint\030\231\360\367T \001(\tH\007\210\001\001\022B\n"
-          + "\006labels\030\377\277\301\356\001"
-          + " \003(\0132..google.cloud.compute.v1.VpnTunnel.LabelsEntry\022\"\n"
+          + "\006labels\030\377\277\301\356\001 \003("
+          + "\0132..google.cloud.compute.v1.VpnTunnel.LabelsEntry\022\"\n"
           + "\026local_traffic_selector\030\265\254\247\227\001 \003(\t\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\010\210\001\001\022@\n"
           + "\006params\030\206\363\253% \001(\0132(.google.cloud.compute.v1.VpnTunnelParamsH"
@@ -32879,7 +32950,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\006region\030\364\315\240B \001(\tH\016\210\001\001\022#\n"
           + "\027remote_traffic_selector\030\272\335\220\253\001 \003(\t\022\026\n"
           + "\006router\030\311\256\356F \001(\tH\017\210\001\001\022\032\n"
-          + "\tself_link\030\215\222\305\331\001 \001(\tH\020\210\001\001\022\036\n\r"
+          + "\tself_link\030\215\222\305\331\001 \001(\tH\020\210\001\001\022\036\n"
+          + "\r"
           + "shared_secret\030\312\247\217\266\001 \001(\tH\021\210\001\001\022#\n"
           + "\022shared_secret_hash\030\343\350\231\276\001 \001(\tH\022\210\001\001\022\026\n"
           + "\006status\030\362\237\267V \001(\tH\023\210\001\001\022#\n"
@@ -32929,8 +33001,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\026_vpn_gateway_interface\"\274\003\n"
           + "\027VpnTunnelAggregatedList\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001\022M\n"
-          + "\005items\030\300\317\367/ \003(\0132;.google.cloud.compute"
-          + ".v1.VpnTunnelAggregatedList.ItemsEntry\022\024\n"
+          + "\005items\030\300\317\367/"
+          + " \003(\0132;.google.cloud.compute.v1.VpnTunnelAggregatedList.ItemsEntry\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n"
           + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n"
@@ -32939,18 +33011,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + " .google.cloud.compute.v1.WarningH\004\210\001\001\032[\n\n"
           + "ItemsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022<\n"
-          + "\005value\030\002"
-          + " \001(\0132-.google.cloud.compute.v1.VpnTunnelsScopedList:\0028\001B\005\n"
+          + "\005value\030\002 \001(\0132-."
+          + "google.cloud.compute.v1.VpnTunnelsScopedList:\0028\001B\005\n"
           + "\003_idB\007\n"
           + "\005_kindB\022\n"
           + "\020_next_page_tokenB\014\n\n"
           + "_self_linkB\n\n"
           + "\010_warning\"\304\001\n"
           + "\024VpnTunnelCipherSuite\022J\n"
-          + "\006phase1\030\226\314\230("
-          + " \001(\01322.google.cloud.compute.v1.VpnTunnelPhase1AlgorithmsH\000\210\001\001\022J\n"
-          + "\006phase2\030\227\314\230( \001(\013"
-          + "22.google.cloud.compute.v1.VpnTunnelPhase2AlgorithmsH\001\210\001\001B\t\n"
+          + "\006phase1\030\226\314\230( \001(\01322.goo"
+          + "gle.cloud.compute.v1.VpnTunnelPhase1AlgorithmsH\000\210\001\001\022J\n"
+          + "\006phase2\030\227\314\230( \001(\01322.google."
+          + "cloud.compute.v1.VpnTunnelPhase2AlgorithmsH\001\210\001\001B\t\n"
           + "\007_phase1B\t\n"
           + "\007_phase2\"\243\002\n\r"
           + "VpnTunnelList\022\020\n"
@@ -32967,18 +33039,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"\263\001\n"
           + "\017VpnTunnelParams\022d\n"
-          + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132A.google.cl"
-          + "oud.compute.v1.VpnTunnelParams.ResourceManagerTagsEntry\032:\n"
+          + "\025resource_manager_tags\030\374\233\213\264\001 \003(\0132A.google.cloud.comput"
+          + "e.v1.VpnTunnelParams.ResourceManagerTagsEntry\032:\n"
           + "\030ResourceManagerTagsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001\"e\n"
           + "\031VpnTunnelPhase1Algorithms\022\013\n"
-          + "\002dh\030\204\031 \003(\t\022\025\n"
-          + "\n"
+          + "\002dh\030\204\031 \003(\t\022\025\n\n"
           + "encryption\030\203\237\334. \003(\t\022\025\n"
           + "\tintegrity\030\315\376\377\352\001 \003(\t\022\r\n"
           + "\003prf\030\244\345\006 \003(\t\"X\n"
-          + "\031VpnTunnelPhase2Algorithms\022\025\n\n"
+          + "\031VpnTunnelPhase2Algorithms\022\025\n"
+          + "\n"
           + "encryption\030\203\237\334. \003(\t\022\025\n"
           + "\tintegrity\030\315\376\377\352\001 \003(\t\022\r\n"
           + "\003pfs\030\275\342\006 \003(\t\"\231\001\n"
@@ -32989,8 +33061,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\010_warning\"\214\001\n"
           + "\020WafExpressionSet\022\022\n"
           + "\007aliases\030\376\235\365K \003(\t\022K\n"
-          + "\013expressions\030\333\201\333S"
-          + " \003(\01323.google.cloud.compute.v1.WafExpressionSetExpression\022\020\n"
+          + "\013expressions\030\333\201\333S \003(\0132"
+          + "3.google.cloud.compute.v1.WafExpressionSetExpression\022\020\n"
           + "\002id\030\233\032 \001(\tH\000\210\001\001B\005\n"
           + "\003_id\"b\n"
           + "\032WafExpressionSetExpression\022\020\n"
@@ -33086,8 +33158,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\010_message\"\317\001\n"
           + "\026WeightedBackendService\022 \n"
           + "\017backend_service\030\212\300\256\222\001 \001(\tH\000\210\001\001\022I\n\r"
-          + "header_action\030\250\240\270\234\001 \001(\0132).google."
-          + "cloud.compute.v1.HttpHeaderActionH\001\210\001\001\022\027\n"
+          + "header_action\030\250\240\270\234\001"
+          + " \001(\0132).google.cloud.compute.v1.HttpHeaderActionH\001\210\001\001\022\027\n"
           + "\006weight\030\370\204\305\206\001 \001(\r"
           + "H\002\210\001\001B\022\n"
           + "\020_backend_serviceB\020\n"
@@ -33112,22 +33184,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "admin_enabled\030\321\354\301\324\001 \001(\010H\000\210\001\001\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022H\n"
-          + "\tendpoints\030\376\252\362\210\001 \003(\0132"
-          + "1.google.cloud.compute.v1.WireGroup.EndpointsEntry\022\020\n"
+          + "\tendpoints\030\376\252\362\210\001 \003(\01321.google.c"
+          + "loud.compute.v1.WireGroup.EndpointsEntry\022\020\n"
           + "\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022\034\n"
           + "\013reconciling\030\213\331\210\316\001 \001(\010H\006\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\007\210\001\001\022D\n"
-          + "\010topology\030\357\204\247: \001(\0132*.google"
-          + ".cloud.compute.v1.WireGroupTopologyH\010\210\001\001\022I\n"
+          + "\010topology\030\357\204\247:"
+          + " \001(\0132*.google.cloud.compute.v1.WireGroupTopologyH\010\210\001\001\022I\n"
           + "\017wire_properties\030\255\272\304\220\001"
           + " \001(\0132\'.google.cloud.compute.v1.WirePropertiesH\t\210\001\001\022/\n"
           + "\005wires\030\216\301\3715 \003(\0132\035.google.cloud.compute.v1.Wire\032\\\n"
           + "\016EndpointsEntry\022\013\n"
           + "\003key\030\001 \001(\t\0229\n"
-          + "\005value\030\002"
-          + " \001(\0132*.google.cloud.compute.v1.WireGroupEndpoint:\0028\001B\020\n"
+          + "\005value\030\002 \001(\013"
+          + "2*.google.cloud.compute.v1.WireGroupEndpoint:\0028\001B\020\n"
           + "\016_admin_enabledB\025\n"
           + "\023_creation_timestampB\016\n"
           + "\014_descriptionB\005\n"
@@ -33139,12 +33211,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\t_topologyB\022\n"
           + "\020_wire_properties\"\333\001\n"
           + "\021WireGroupEndpoint\022X\n\r"
-          + "interconnects\030\245\333\205\370\001"
-          + " \003(\0132=.google.cloud.compute.v1.WireGroupEndpoint.InterconnectsEntry\032l\n"
+          + "interconnects\030\245\333\205\370\001 \003"
+          + "(\0132=.google.cloud.compute.v1.WireGroupEndpoint.InterconnectsEntry\032l\n"
           + "\022InterconnectsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022E\n"
-          + "\005value\030\002"
-          + " \001(\01326.google.cloud.compute.v1.WireGroupEndpointInterconnect:\0028\001\"e\n"
+          + "\005value\030\002 \001(\01326.go"
+          + "ogle.cloud.compute.v1.WireGroupEndpointInterconnect:\0028\001\"e\n"
           + "\035WireGroupEndpointInterconnect\022\034\n"
           + "\014interconnect\030\216\311\214k \001(\tH\000\210\001\001\022\025\n"
           + "\tvlan_tags\030\365\232\262\267\001 \003(\005B\017\n\r"
@@ -33166,8 +33238,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"^\n"
           + "\021WireGroupTopology\022I\n"
-          + "\tendpoints\030\376\252\362\210\001 \003"
-          + "(\01322.google.cloud.compute.v1.WireGroupTopologyEndpoint\"[\n"
+          + "\tendpoints\030\376\252\362\210\001 \003(\01322.googl"
+          + "e.cloud.compute.v1.WireGroupTopologyEndpoint\"[\n"
           + "\031WireGroupTopologyEndpoint\022\024\n"
           + "\004city\030\353\262\272\001 \001(\tH\000\210\001\001\022\025\n"
           + "\005label\030\364\375\3750 \001(\tH\001\210\001\001B\007\n"
@@ -33232,15 +33304,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\004Zone\022\"\n"
           + "\027available_cpu_platforms\030\223\363\331S \003(\t\022\"\n"
           + "\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022G\n\n"
-          + "deprecated\030\263\313\321\365\001 \001(\0132"
-          + "*.google.cloud.compute.v1.DeprecationStatusH\001\210\001\001\022\034\n"
+          + "deprecated\030\263\313\321\365\001 \001(\0132*.google.c"
+          + "loud.compute.v1.DeprecationStatusH\001\210\001\001\022\034\n"
           + "\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\020\n"
           + "\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n"
           + "\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022\024\n"
           + "\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022\026\n"
           + "\006region\030\364\315\240B \001(\tH\006\210\001\001\022L\n"
-          + "\017resource_status\030\303\372\367v \001(\0132+.googl"
-          + "e.cloud.compute.v1.ZoneResourceStatusH\007\210\001\001\022\032\n"
+          + "\017resource_status\030\303\372\367v"
+          + " \001(\0132+.google.cloud.compute.v1.ZoneResourceStatusH\007\210\001\001\022\032\n"
           + "\tself_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\022\026\n"
           + "\006status\030\362\237\267V \001(\tH\t\210\001\001\022\034\n"
           + "\014supports_pzs\030\356\366\205( \001(\010H\n"
@@ -33274,12 +33346,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_self_linkB\n\n"
           + "\010_warning\"s\n"
           + "\022ZoneResourceStatus\022]\n"
-          + "\025upcoming_maintenances\030\203\374\323  \003(\0132;.google."
-          + "cloud.compute.v1.PeriodicPartialMaintenanceSchedule\"\315\001\n"
+          + "\025upcoming_maintenances\030\203\374\323  \003(\0132;.google.cloud.comp"
+          + "ute.v1.PeriodicPartialMaintenanceSchedule\"\315\001\n"
           + "\024ZoneSetLabelsRequest\022!\n"
-          + "\021label_fingerprint\030\231\360\367T \001(\tH\000\210\001\001\022M\n"
-          + "\006labels\030\377\277\301\356\001"
-          + " \003(\01329.google.cloud.compute.v1.ZoneSetLabelsRequest.LabelsEntry\032-\n"
+          + "\021label_fing",
+      "erprint\030\231\360\367T \001(\tH\000\210\001\001\022M\n"
+          + "\006labels\030\377\277\301\356\001 \003("
+          + "\01329.google.cloud.compute.v1.ZoneSetLabelsRequest.LabelsEntry\032-\n"
           + "\013LabelsEntry\022\013\n"
           + "\003key\030\001 \001(\t\022\r\n"
           + "\005value\030\002 \001(\t:\0028\001B\024\n"
@@ -33301,7060 +33374,7015 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\005_etagB\t\n"
           + "\007_policy2\263\006\n"
           + "\020AcceleratorTypes\022\326\001\n"
-          + "\016AggregatedList\022>.google.cloud.compute.v1.AggregatedListAcceleratorTyp"
-          + "esRequest\0326.google.cloud.compute.v1.Acce"
-          + "leratorTypeAggregatedList\"L\332A\007project\202\323\344"
-          + "\223\002<\022:/compute/v1/projects/{project}/aggregated/acceleratorTypes\022\334\001\n"
-          + "\003Get\0222.google.cloud.compute.v1.GetAcceleratorTypeRequ"
-          + "est\032(.google.cloud.compute.v1.Accelerato"
-          + "rType\"w\332A\035project,zone,accelerator_type\202"
-          + "\323\344\223\002Q\022O/compute/v1/projects/{project}/zo"
-          + "nes/{zone}/acceleratorTypes/{accelerator_type}\022\277\001\n"
-          + "\004List\0224.google.cloud.compute.v1.ListAcceleratorTypesRequest\032,.google.c"
-          + "loud.compute.v1.AcceleratorTypeList\"S\332A\014"
-          + "project,zone\202\323\344\223\002>\022.google.cloud.compute.v"
+          + "1.AggregatedListAcceleratorTypesRequest\0326.google.cloud.compute.v1.AcceleratorTyp"
+          + "eAggregatedList\"L\332A\007project\202\323\344\223\002<\022:/comp"
+          + "ute/v1/projects/{project}/aggregated/acceleratorTypes\022\334\001\n"
+          + "\003Get\0222.google.cloud.compute.v1.GetAcceleratorTypeRequest\032(.goog"
+          + "le.cloud.compute.v1.AcceleratorType\"w\332A\035"
+          + "project,zone,accelerator_type\202\323\344\223\002Q\022O/co"
+          + "mpute/v1/projects/{project}/zones/{zone}/acceleratorTypes/{accelerator_type}\022\277\001\n"
+          + "\004List\0224.google.cloud.compute.v1.ListAcce"
+          + "leratorTypesRequest\032,.google.cloud.compu"
+          + "te.v1.AcceleratorTypeList\"S\332A\014project,zo"
+          + "ne\202\323\344\223\002>\022project,zone,disk,disks_"
-          + "add_resource_policies_request_resource\212N"
-          + "\016ZoneOperations\202\323\344\223\002|\"L/compute/v1/proje"
-          + "cts/{project}/zones/{zone}/disks/{disk}/"
-          + "addResourcePolicies:,disks_add_resource_"
-          + "policies_request_resource\022\265\001\n\016Aggregated"
-          + "List\0223.google.cloud.compute.v1.Aggregate"
-          + "dListDisksRequest\032+.google.cloud.compute"
-          + ".v1.DiskAggregatedList\"A\332A\007project\202\323\344\223\0021"
-          + "\022//compute/v1/projects/{project}/aggrega"
-          + "ted/disks\022\216\002\n\nBulkInsert\022..google.cloud."
-          + "compute.v1.BulkInsertDiskRequest\032\".googl"
-          + "e.cloud.compute.v1.Operation\"\253\001\332A/projec"
-          + "t,zone,bulk_insert_disk_resource_resourc"
-          + "e\212N\016ZoneOperations\202\323\344\223\002b\"project,zone,disk,disks_add_resour"
+          + "ce_policies_request_resource\212N\016ZoneOpera"
+          + "tions\202\323\344\223\002|\"L/compute/v1/projects/{proje"
+          + "ct}/zones/{zone}/disks/{disk}/addResourc"
+          + "ePolicies:,disks_add_resource_policies_r"
+          + "equest_resource\022\265\001\n\016AggregatedList\0223.goo"
+          + "gle.cloud.compute.v1.AggregatedListDisks"
+          + "Request\032+.google.cloud.compute.v1.DiskAg"
+          + "gregatedList\"A\332A\007project\202\323\344\223\0021\022//compute"
+          + "/v1/projects/{project}/aggregated/disks\022"
+          + "\216\002\n\nBulkInsert\022..google.cloud.compute.v1"
+          + ".BulkInsertDiskRequest\032\".google.cloud.co"
+          + "mpute.v1.Operation\"\253\001\332A/project,zone,bul"
+          + "k_insert_disk_resource_resource\212N\016ZoneOp"
+          + "erations\202\323\344\223\002b\".google.cloud.compute.v1.ListAssociat"
+          + "ionsFirewallPolicyRequest\032A.google.cloud"
+          + ".compute.v1.FirewallPoliciesListAssociat"
+          + "ionsResponse\"I\332A\000\202\323\344\223\002@\022>/compute/v1/loc"
+          + "ations/global/firewallPolicies/listAssoc"
+          + "iations\022\350\001\n\004Move\0222.google.cloud.compute."
+          + "v1.MoveFirewallPolicyRequest\032\".google.cl"
+          + "oud.compute.v1.Operation\"\207\001\332A\031firewall_p"
+          + "olicy,parent_id\212N\034GlobalOrganizationOper"
+          + "ations\202\323\344\223\002F\"D/compute/v1/locations/glob"
+          + "al/firewallPolicies/{firewall_policy}/mo"
+          + "ve\022\216\002\n\005Patch\0223.google.cloud.compute.v1.P"
+          + "atchFirewallPolicyRequest\032\".google.cloud"
+          + ".compute.v1.Operation\"\253\001\332A(firewall_poli"
+          + "cy,firewall_policy_resource\212N\034GlobalOrga"
+          + "nizationOperations\202\323\344\223\002[2?/compute/v1/lo"
+          + "cations/global/firewallPolicies/{firewal"
+          + "l_policy}:\030firewall_policy_resource\022\252\002\n\t"
+          + "PatchRule\0227.google.cloud.compute.v1.Patc"
+          + "hRuleFirewallPolicyRequest\032\".google.clou"
+          + "d.compute.v1.Operation\"\277\001\332A-firewall_pol"
+          + "icy,firewall_policy_rule_resource\212N\034Glob"
+          + "alOrganizationOperations\202\323\344\223\002j\"I/compute"
+          + "/v1/locations/global/firewallPolicies/{f"
+          + "irewall_policy}/patchRule:\035firewall_poli"
+          + "cy_rule_resource\022\205\002\n\021RemoveAssociation\022?"
+          + ".google.cloud.compute.v1.RemoveAssociati"
+          + "onFirewallPolicyRequest\032\".google.cloud.c"
+          + "ompute.v1.Operation\"\212\001\332A\017firewall_policy"
+          + "\212N\034GlobalOrganizationOperations\202\323\344\223\002S\"Q/"
+          + "compute/v1/locations/global/firewallPoli"
+          + "cies/{firewall_policy}/removeAssociation"
+          + "\022\360\001\n\nRemoveRule\0228.google.cloud.compute.v"
+          + "1.RemoveRuleFirewallPolicyRequest\032\".goog"
+          + "le.cloud.compute.v1.Operation\"\203\001\332A\017firew"
+          + "all_policy\212N\034GlobalOrganizationOperation"
+          + "s\202\323\344\223\002L\"J/compute/v1/locations/global/fi"
+          + "rewallPolicies/{firewall_policy}/removeR"
+          + "ule\022\247\002\n\014SetIamPolicy\022:.google.cloud.comp"
+          + "ute.v1.SetIamPolicyFirewallPolicyRequest"
+          + "\032\037.google.cloud.compute.v1.Policy\"\271\001\332A8r"
+          + "esource,global_organization_set_policy_r"
+          + "equest_resource\202\323\344\223\002x\"E/compute/v1/locat"
+          + "ions/global/firewallPolicies/{resource}/"
+          + "setIamPolicy:/global_organization_set_po"
+          + "licy_request_resource\022\256\002\n\022TestIamPermiss"
+          + "ions\022@.google.cloud.compute.v1.TestIamPe"
+          + "rmissionsFirewallPolicyRequest\0320.google."
+          + "cloud.compute.v1.TestPermissionsResponse"
+          + "\"\243\001\332A*resource,test_permissions_request_"
+          + "resource\202\323\344\223\002p\"K/compute/v1/locations/gl"
+          + "obal/firewallPolicies/{resource}/testIam"
+          + "Permissions:!test_permissions_request_re"
+          + "source\032r\312A\026compute.googleapis.com\322AVhttp"
+          + "s://www.googleapis.com/auth/compute,http"
+          + "s://www.googleapis.com/auth/cloud-platfo"
+          + "rm2\204\r\n\tFirewalls\022\306\001\n\006Delete\022..google.clo"
+          + "ud.compute.v1.DeleteFirewallRequest\032\".go"
+          + "ogle.cloud.compute.v1.Operation\"h\332A\020proj"
+          + "ect,firewall\212N\020GlobalOperations\202\323\344\223\002<*:/"
+          + "compute/v1/projects/{project}/global/fir"
+          + "ewalls/{firewall}\022\254\001\n\003Get\022+.google.cloud"
+          + ".compute.v1.GetFirewallRequest\032!.google."
+          + "cloud.compute.v1.Firewall\"U\332A\020project,fi"
+          + "rewall\202\323\344\223\002<\022:/compute/v1/projects/{proj"
+          + "ect}/global/firewalls/{firewall}\022\327\001\n\006Ins"
+          + "ert\022..google.cloud.compute.v1.InsertFire"
+          + "wallRequest\032\".google.cloud.compute.v1.Op"
+          + "eration\"y\332A\031project,firewall_resource\212N\020"
+          + "GlobalOperations\202\323\344\223\002D\"//compute/v1/proj"
+          + "ects/{project}/global/firewalls:\021firewal"
+          + "l_resource\022\237\001\n\004List\022-.google.cloud.compu"
+          + "te.v1.ListFirewallsRequest\032%.google.clou"
+          + "d.compute.v1.FirewallList\"A\332A\007project\202\323\344"
+          + "\223\0021\022//compute/v1/projects/{project}/glob"
+          + "al/firewalls\022\352\001\n\005Patch\022-.google.cloud.co"
+          + "mpute.v1.PatchFirewallRequest\032\".google.c"
+          + "loud.compute.v1.Operation\"\215\001\332A\"project,f"
+          + "irewall,firewall_resource\212N\020GlobalOperat"
+          + "ions\202\323\344\223\002O2:/compute/v1/projects/{projec"
+          + "t}/global/firewalls/{firewall}:\021firewall"
+          + "_resource\022\262\002\n\022TestIamPermissions\022:.googl"
+          + "e.cloud.compute.v1.TestIamPermissionsFir"
+          + "ewallRequest\0320.google.cloud.compute.v1.T"
+          + "estPermissionsResponse\"\255\001\332A2project,reso"
+          + "urce,test_permissions_request_resource\202\323"
+          + "\344\223\002r\"M/compute/v1/projects/{project}/glo"
+          + "bal/firewalls/{resource}/testIamPermissi"
+          + "ons:!test_permissions_request_resource\022\354"
+          + "\001\n\006Update\022..google.cloud.compute.v1.Upda"
+          + "teFirewallRequest\032\".google.cloud.compute"
+          + ".v1.Operation\"\215\001\332A\"project,firewall,fire"
+          + "wall_resource\212N\020GlobalOperations\202\323\344\223\002O\032:"
+          + "/compute/v1/projects/{project}/global/fi"
+          + "rewalls/{firewall}:\021firewall_resource\032r\312"
+          + "A\026compute.googleapis.com\322AVhttps://www.g"
+          + "oogleapis.com/auth/compute,https://www.g"
+          + "oogleapis.com/auth/cloud-platform2\231\021\n\017Fo"
+          + "rwardingRules\022\323\001\n\016AggregatedList\022=.googl"
+          + "e.cloud.compute.v1.AggregatedListForward"
+          + "ingRulesRequest\0325.google.cloud.compute.v"
+          + "1.ForwardingRuleAggregatedList\"K\332A\007proje"
+          + "ct\202\323\344\223\002;\0229/compute/v1/projects/{project}"
+          + "/aggregated/forwardingRules\022\362\001\n\006Delete\0224"
+          + ".google.cloud.compute.v1.DeleteForwardin"
+          + "gRuleRequest\032\".google.cloud.compute.v1.O"
+          + "peration\"\215\001\332A\036project,region,forwarding_"
+          + "rule\212N\020RegionOperations\202\323\344\223\002S*Q/compute/"
+          + "v1/projects/{project}/regions/{region}/f"
+          + "orwardingRules/{forwarding_rule}\022\335\001\n\003Get"
+          + "\0221.google.cloud.compute.v1.GetForwarding"
+          + "RuleRequest\032\'.google.cloud.compute.v1.Fo"
+          + "rwardingRule\"z\332A\036project,region,forwardi"
+          + "ng_rule\202\323\344\223\002S\022Q/compute/v1/projects/{pro"
+          + "ject}/regions/{region}/forwardingRules/{"
+          + "forwarding_rule}\022\203\002\n\006Insert\0224.google.clo"
+          + "ud.compute.v1.InsertForwardingRuleReques"
+          + "t\032\".google.cloud.compute.v1.Operation\"\236\001"
+          + "\332A\'project,region,forwarding_rule_resour"
+          + "ce\212N\020RegionOperations\202\323\344\223\002[\"?/compute/v1"
+          + "/projects/{project}/regions/{region}/for"
+          + "wardingRules:\030forwarding_rule_resource\022\302"
+          + "\001\n\004List\0223.google.cloud.compute.v1.ListFo"
+          + "rwardingRulesRequest\032+.google.cloud.comp"
+          + "ute.v1.ForwardingRuleList\"X\332A\016project,re"
+          + "gion\202\323\344\223\002A\022?/compute/v1/projects/{projec"
+          + "t}/regions/{region}/forwardingRules\022\243\002\n\005"
+          + "Patch\0223.google.cloud.compute.v1.PatchFor"
+          + "wardingRuleRequest\032\".google.cloud.comput"
+          + "e.v1.Operation\"\300\001\332A7project,region,forwa"
+          + "rding_rule,forwarding_rule_resource\212N\020Re"
+          + "gionOperations\202\323\344\223\002m2Q/compute/v1/projec"
+          + "ts/{project}/regions/{region}/forwarding"
+          + "Rules/{forwarding_rule}:\030forwarding_rule"
+          + "_resource\022\273\002\n\tSetLabels\0227.google.cloud.c"
+          + "ompute.v1.SetLabelsForwardingRuleRequest"
+          + "\032\".google.cloud.compute.v1.Operation\"\320\001\332"
+          + "A:project,region,resource,region_set_lab"
+          + "els_request_resource\212N\020RegionOperations\202"
+          + "\323\344\223\002z\"T/compute/v1/projects/{project}/re"
+          + "gions/{region}/forwardingRules/{resource"
+          + "}/setLabels:\"region_set_labels_request_r"
+          + "esource\022\267\002\n\tSetTarget\0227.google.cloud.com"
+          + "pute.v1.SetTargetForwardingRuleRequest\032\""
+          + ".google.cloud.compute.v1.Operation\"\314\001\332A8"
+          + "project,region,forwarding_rule,target_re"
+          + "ference_resource\212N\020RegionOperations\202\323\344\223\002"
+          + "x\"[/compute/v1/projects/{project}/region"
+          + "s/{region}/forwardingRules/{forwarding_r"
+          + "ule}/setTarget:\031target_reference_resourc"
+          + "e\032r\312A\026compute.googleapis.com\322AVhttps://w"
+          + "ww.googleapis.com/auth/compute,https://w"
+          + "ww.googleapis.com/auth/cloud-platform2\337\016"
+          + "\n\022FutureReservations\022\345\001\n\016AggregatedList\022"
+          + "@.google.cloud.compute.v1.AggregatedList"
+          + "FutureReservationsRequest\032A.google.cloud"
+          + ".compute.v1.FutureReservationsAggregated",
+      "ListResponse\"N\332A\007project\202\323\344\223\002>\022/compute/v1/projects/{project}/zone"
+          + "s/{zone}/futureReservations:\033future_rese"
+          + "rvation_resource\022\316\001\n\004List\0226.google.cloud"
+          + ".compute.v1.ListFutureReservationsReques"
+          + "t\0327.google.cloud.compute.v1.FutureReserv"
+          + "ationsListResponse\"U\332A\014project,zone\202\323\344\223\002"
+          + "@\022>/compute/v1/projects/{project}/zones/"
+          + "{zone}/futureReservations\022\257\002\n\006Update\0227.g"
+          + "oogle.cloud.compute.v1.UpdateFutureReser"
+          + "vationRequest\032\".google.cloud.compute.v1."
+          + "Operation\"\307\001\332A;project,zone,future_reser"
+          + "vation,future_reservation_resource\212N\016Zon"
+          + "eOperations\202\323\344\223\002r2S/compute/v1/projects/"
+          + "{project}/zones/{zone}/futureReservation"
+          + "s/{future_reservation}:\033future_reservati"
+          + "on_resource\032r\312A\026compute.googleapis.com\322A"
+          + "Vhttps://www.googleapis.com/auth/compute"
+          + ",https://www.googleapis.com/auth/cloud-p"
+          + "latform2\203\016\n\017GlobalAddresses\022\311\001\n\006Delete\0223"
+          + ".google.cloud.compute.v1.DeleteGlobalAdd"
+          + "ressRequest\032\".google.cloud.compute.v1.Op"
+          + "eration\"f\332A\017project,address\212N\020GlobalOper"
+          + "ations\202\323\344\223\002;*9/compute/v1/projects/{proj"
+          + "ect}/global/addresses/{address}\022\256\001\n\003Get\022"
+          + "0.google.cloud.compute.v1.GetGlobalAddre"
+          + "ssRequest\032 .google.cloud.compute.v1.Addr"
+          + "ess\"S\332A\017project,address\202\323\344\223\002;\0229/compute/"
+          + "v1/projects/{project}/global/addresses/{"
+          + "address}\022\332\001\n\006Insert\0223.google.cloud.compu"
+          + "te.v1.InsertGlobalAddressRequest\032\".googl"
+          + "e.cloud.compute.v1.Operation\"w\332A\030project"
+          + ",address_resource\212N\020GlobalOperations\202\323\344\223"
+          + "\002C\"//compute/v1/projects/{project}/globa"
+          + "l/addresses:\020address_resource\022\244\001\n\004List\0223"
+          + ".google.cloud.compute.v1.ListGlobalAddre"
+          + "ssesRequest\032$.google.cloud.compute.v1.Ad"
+          + "dressList\"A\332A\007project\202\323\344\223\0021\022//compute/v1"
+          + "/projects/{project}/global/addresses\022\232\002\n"
+          + "\004Move\0221.google.cloud.compute.v1.MoveGlob"
+          + "alAddressRequest\032\".google.cloud.compute."
+          + "v1.Operation\"\272\001\332A6project,address,global"
+          + "_addresses_move_request_resource\212N\020Globa"
+          + "lOperations\202\323\344\223\002h\">/compute/v1/projects/"
+          + "{project}/global/addresses/{address}/mov"
+          + "e:&global_addresses_move_request_resourc"
+          + "e\022\243\002\n\tSetLabels\0226.google.cloud.compute.v"
+          + "1.SetLabelsGlobalAddressRequest\032\".google"
+          + ".cloud.compute.v1.Operation\"\271\001\332A3project"
+          + ",resource,global_set_labels_request_reso"
+          + "urce\212N\020GlobalOperations\202\323\344\223\002j\"D/compute/"
+          + "v1/projects/{project}/global/addresses/{"
           + "resource}/setLabels:\"global_set_labels_r"
-          + "equest_resource\022\306\002\n\022TestIamPermissions\022D"
+          + "equest_resource\022\267\002\n\022TestIamPermissions\022?"
           + ".google.cloud.compute.v1.TestIamPermissi"
-          + "onsExternalVpnGatewayRequest\0320.google.cl"
-          + "oud.compute.v1.TestPermissionsResponse\"\267"
-          + "\001\332A2project,resource,test_permissions_re"
-          + "quest_resource\202\323\344\223\002|\"W/compute/v1/projec"
-          + "ts/{project}/global/externalVpnGateways/"
-          + "{resource}/testIamPermissions:!test_perm"
-          + "issions_request_resource\032r\312A\026compute.goo"
-          + "gleapis.com\322AVhttps://www.googleapis.com"
-          + "/auth/compute,https://www.googleapis.com"
-          + "/auth/cloud-platform2\225$\n\020FirewallPolicie"
-          + "s\022\307\002\n\016AddAssociation\022<.google.cloud.comp"
-          + "ute.v1.AddAssociationFirewallPolicyReque"
-          + "st\032\".google.cloud.compute.v1.Operation\"\322"
-          + "\001\332A4firewall_policy,firewall_policy_asso"
-          + "ciation_resource\212N\034GlobalOrganizationOpe"
-          + "rations\202\323\344\223\002v\"N/compute/v1/locations/glo"
-          + "bal/firewallPolicies/{firewall_policy}/a"
-          + "ddAssociation:$firewall_policy_associati"
-          + "on_resource\022\244\002\n\007AddRule\0225.google.cloud.c"
-          + "ompute.v1.AddRuleFirewallPolicyRequest\032\""
-          + ".google.cloud.compute.v1.Operation\"\275\001\332A-"
-          + "firewall_policy,firewall_policy_rule_res"
-          + "ource\212N\034GlobalOrganizationOperations\202\323\344\223"
-          + "\002h\"G/compute/v1/locations/global/firewal"
-          + "lPolicies/{firewall_policy}/addRule:\035fir"
-          + "ewall_policy_rule_resource\022\360\001\n\nCloneRule"
-          + "s\0228.google.cloud.compute.v1.CloneRulesFi"
-          + "rewallPolicyRequest\032\".google.cloud.compu"
-          + "te.v1.Operation\"\203\001\332A\017firewall_policy\212N\034G"
-          + "lobalOrganizationOperations\202\323\344\223\002L\"J/comp"
-          + "ute/v1/locations/global/firewallPolicies"
-          + "/{firewall_policy}/cloneRules\022\334\001\n\006Delete"
-          + "\0224.google.cloud.compute.v1.DeleteFirewal"
-          + "lPolicyRequest\032\".google.cloud.compute.v1"
-          + ".Operation\"x\332A\017firewall_policy\212N\034GlobalO"
-          + "rganizationOperations\202\323\344\223\002A*?/compute/v1"
-          + "/locations/global/firewallPolicies/{fire"
-          + "wall_policy}\022\274\001\n\003Get\0221.google.cloud.comp"
-          + "ute.v1.GetFirewallPolicyRequest\032\'.google"
-          + ".cloud.compute.v1.FirewallPolicy\"Y\332A\017fir"
-          + "ewall_policy\202\323\344\223\002A\022?/compute/v1/location"
-          + "s/global/firewallPolicies/{firewall_poli"
-          + "cy}\022\354\001\n\016GetAssociation\022<.google.cloud.co"
-          + "mpute.v1.GetAssociationFirewallPolicyReq"
-          + "uest\0322.google.cloud.compute.v1.FirewallP"
-          + "olicyAssociation\"h\332A\017firewall_policy\202\323\344\223"
-          + "\002P\022N/compute/v1/locations/global/firewal"
-          + "lPolicies/{firewall_policy}/getAssociati"
-          + "on\022\305\001\n\014GetIamPolicy\022:.google.cloud.compu"
-          + "te.v1.GetIamPolicyFirewallPolicyRequest\032"
-          + "\037.google.cloud.compute.v1.Policy\"X\332A\010res"
-          + "ource\202\323\344\223\002G\022E/compute/v1/locations/globa"
-          + "l/firewallPolicies/{resource}/getIamPoli"
-          + "cy\022\320\001\n\007GetRule\0225.google.cloud.compute.v1"
-          + ".GetRuleFirewallPolicyRequest\032+.google.c"
-          + "loud.compute.v1.FirewallPolicyRule\"a\332A\017f"
-          + "irewall_policy\202\323\344\223\002I\022G/compute/v1/locati"
-          + "ons/global/firewallPolicies/{firewall_po"
-          + "licy}/getRule\022\370\001\n\006Insert\0224.google.cloud."
-          + "compute.v1.InsertFirewallPolicyRequest\032\""
-          + ".google.cloud.compute.v1.Operation\"\223\001\332A\""
-          + "parent_id,firewall_policy_resource\212N\034Glo"
-          + "balOrganizationOperations\202\323\344\223\002I\"-/comput"
-          + "e/v1/locations/global/firewallPolicies:\030"
-          + "firewall_policy_resource\022\243\001\n\004List\0224.goog"
-          + "le.cloud.compute.v1.ListFirewallPolicies"
-          + "Request\032+.google.cloud.compute.v1.Firewa"
-          + "llPolicyList\"8\332A\000\202\323\344\223\002/\022-/compute/v1/loc"
-          + "ations/global/firewallPolicies\022\340\001\n\020ListA"
-          + "ssociations\022>.google.cloud.compute.v1.Li"
-          + "stAssociationsFirewallPolicyRequest\032A.go"
-          + "ogle.cloud.compute.v1.FirewallPoliciesLi"
-          + "stAssociationsResponse\"I\332A\000\202\323\344\223\002@\022>/comp"
-          + "ute/v1/locations/global/firewallPolicies"
-          + "/listAssociations\022\350\001\n\004Move\0222.google.clou"
-          + "d.compute.v1.MoveFirewallPolicyRequest\032\""
-          + ".google.cloud.compute.v1.Operation\"\207\001\332A\031"
-          + "firewall_policy,parent_id\212N\034GlobalOrgani"
-          + "zationOperations\202\323\344\223\002F\"D/compute/v1/loca"
-          + "tions/global/firewallPolicies/{firewall_"
-          + "policy}/move\022\216\002\n\005Patch\0223.google.cloud.co"
-          + "mpute.v1.PatchFirewallPolicyRequest\032\".go"
-          + "ogle.cloud.compute.v1.Operation\"\253\001\332A(fir"
-          + "ewall_policy,firewall_policy_resource\212N\034"
-          + "GlobalOrganizationOperations\202\323\344\223\002[2?/com"
-          + "pute/v1/locations/global/firewallPolicie"
-          + "s/{firewall_policy}:\030firewall_policy_res"
-          + "ource\022\252\002\n\tPatchRule\0227.google.cloud.compu"
-          + "te.v1.PatchRuleFirewallPolicyRequest\032\".g"
-          + "oogle.cloud.compute.v1.Operation\"\277\001\332A-fi"
-          + "rewall_policy,firewall_policy_rule_resou"
-          + "rce\212N\034GlobalOrganizationOperations\202\323\344\223\002j"
-          + "\"I/compute/v1/locations/global/firewallP"
-          + "olicies/{firewall_policy}/patchRule:\035fir"
-          + "ewall_policy_rule_resource\022\205\002\n\021RemoveAss"
-          + "ociation\022?.google.cloud.compute.v1.Remov"
-          + "eAssociationFirewallPolicyRequest\032\".goog"
-          + "le.cloud.compute.v1.Operation\"\212\001\332A\017firew"
-          + "all_policy\212N\034GlobalOrganizationOperation"
-          + "s\202\323\344\223\002S\"Q/compute/v1/locations/global/fi"
-          + "rewallPolicies/{firewall_policy}/removeA"
-          + "ssociation\022\360\001\n\nRemoveRule\0228.google.cloud"
-          + ".compute.v1.RemoveRuleFirewallPolicyRequ"
-          + "est\032\".google.cloud.compute.v1.Operation\""
-          + "\203\001\332A\017firewall_policy\212N\034GlobalOrganizatio"
-          + "nOperations\202\323\344\223\002L\"J/compute/v1/locations"
-          + "/global/firewallPolicies/{firewall_polic"
-          + "y}/removeRule\022\247\002\n\014SetIamPolicy\022:.google."
-          + "cloud.compute.v1.SetIamPolicyFirewallPol"
-          + "icyRequest\032\037.google.cloud.compute.v1.Pol"
-          + "icy\"\271\001\332A8resource,global_organization_se"
-          + "t_policy_request_resource\202\323\344\223\002x\"E/comput"
-          + "e/v1/locations/global/firewallPolicies/{"
-          + "resource}/setIamPolicy:/global_organizat"
-          + "ion_set_policy_request_resource\022\256\002\n\022Test"
-          + "IamPermissions\022@.google.cloud.compute.v1"
-          + ".TestIamPermissionsFirewallPolicyRequest"
-          + "\0320.google.cloud.compute.v1.TestPermissio"
-          + "nsResponse\"\243\001\332A*resource,test_permission"
-          + "s_request_resource\202\323\344\223\002p\"K/compute/v1/lo"
-          + "cations/global/firewallPolicies/{resourc"
-          + "e}/testIamPermissions:!test_permissions_"
-          + "request_resource\032r\312A\026compute.googleapis."
-          + "com\322AVhttps://www.googleapis.com/auth/co"
-          + "mpute,https://www.googleapis.com/auth/cl"
-          + "oud-platform2\204\r\n\tFirewalls\022\306\001\n\006Delete\022.."
-          + "google.cloud.compute.v1.DeleteFirewallRe"
-          + "quest\032\".google.cloud.compute.v1.Operatio"
-          + "n\"h\332A\020project,firewall\212N\020GlobalOperation"
-          + "s\202\323\344\223\002<*:/compute/v1/projects/{project}/"
-          + "global/firewalls/{firewall}\022\254\001\n\003Get\022+.go"
-          + "ogle.cloud.compute.v1.GetFirewallRequest"
-          + "\032!.google.cloud.compute.v1.Firewall\"U\332A\020"
-          + "project,firewall\202\323\344\223\002<\022:/compute/v1/proj"
-          + "ects/{project}/global/firewalls/{firewal"
-          + "l}\022\327\001\n\006Insert\022..google.cloud.compute.v1."
-          + "InsertFirewallRequest\032\".google.cloud.com"
-          + "pute.v1.Operation\"y\332A\031project,firewall_r"
-          + "esource\212N\020GlobalOperations\202\323\344\223\002D\"//compu"
-          + "te/v1/projects/{project}/global/firewall"
-          + "s:\021firewall_resource\022\237\001\n\004List\022-.google.c"
-          + "loud.compute.v1.ListFirewallsRequest\032%.g"
-          + "oogle.cloud.compute.v1.FirewallList\"A\332A\007"
-          + "project\202\323\344\223\0021\022//compute/v1/projects/{pro"
-          + "ject}/global/firewalls\022\352\001\n\005Patch\022-.googl"
-          + "e.cloud.compute.v1.PatchFirewallRequest\032"
-          + "\".google.cloud.compute.v1.Operation\"\215\001\332A"
-          + "\"project,firewall,firewall_resource\212N\020Gl"
-          + "obalOperations\202\323\344\223\002O2:/compute/v1/projec"
-          + "ts/{project}/global/firewalls/{firewall}"
-          + ":\021firewall_resource\022\262\002\n\022TestIamPermissio"
-          + "ns\022:.google.cloud.compute.v1.TestIamPerm"
-          + "issionsFirewallRequest\0320.google.cloud.co"
-          + "mpute.v1.TestPermissionsResponse\"\255\001\332A2pr"
-          + "oject,resource,test_permissions_request_"
-          + "resource\202\323\344\223\002r\"M/compute/v1/projects/{pr"
-          + "oject}/global/firewalls/{resource}/testI"
-          + "amPermissions:!test_permissions_request_"
-          + "resource\022\354\001\n\006Update\022..google.cloud.compu"
-          + "te.v1.UpdateFirewallRequest\032\".google.clo"
-          + "ud.compute.v1.Operation\"\215\001\332A\"project,fir"
-          + "ewall,firewall_resource\212N\020GlobalOperatio"
-          + "ns\202\323\344\223\002O\032:/compute/v1/projects/{project}"
-          + "/global/firewalls/{firewall}:\021firewall_r"
+          + "onsGlobalAddressRequest\0320.google.cloud.c"
+          + "ompute.v1.TestPermissionsResponse\"\255\001\332A2p"
+          + "roject,resource,test_permissions_request"
+          + "_resource\202\323\344\223\002r\"M/compute/v1/projects/{p"
+          + "roject}/global/addresses/{resource}/test"
+          + "IamPermissions:!test_permissions_request"
+          + "_resource\032r\312A\026compute.googleapis.com\322AVh"
+          + "ttps://www.googleapis.com/auth/compute,h"
+          + "ttps://www.googleapis.com/auth/cloud-pla"
+          + "tform2\373\016\n\025GlobalForwardingRules\022\346\001\n\006Dele"
+          + "te\022:.google.cloud.compute.v1.DeleteGloba"
+          + "lForwardingRuleRequest\032\".google.cloud.co"
+          + "mpute.v1.Operation\"|\332A\027project,forwardin"
+          + "g_rule\212N\020GlobalOperations\202\323\344\223\002I*G/comput"
+          + "e/v1/projects/{project}/global/forwardin"
+          + "gRules/{forwarding_rule}\022\322\001\n\003Get\0227.googl"
+          + "e.cloud.compute.v1.GetGlobalForwardingRu"
+          + "leRequest\032\'.google.cloud.compute.v1.Forw"
+          + "ardingRule\"i\332A\027project,forwarding_rule\202\323"
+          + "\344\223\002I\022G/compute/v1/projects/{project}/glo"
+          + "bal/forwardingRules/{forwarding_rule}\022\370\001"
+          + "\n\006Insert\022:.google.cloud.compute.v1.Inser"
+          + "tGlobalForwardingRuleRequest\032\".google.cl"
+          + "oud.compute.v1.Operation\"\215\001\332A project,fo"
+          + "rwarding_rule_resource\212N\020GlobalOperation"
+          + "s\202\323\344\223\002Q\"5/compute/v1/projects/{project}/"
+          + "global/forwardingRules:\030forwarding_rule_"
+          + "resource\022\267\001\n\004List\0229.google.cloud.compute"
+          + ".v1.ListGlobalForwardingRulesRequest\032+.g"
+          + "oogle.cloud.compute.v1.ForwardingRuleLis"
+          + "t\"G\332A\007project\202\323\344\223\0027\0225/compute/v1/project"
+          + "s/{project}/global/forwardingRules\022\230\002\n\005P"
+          + "atch\0229.google.cloud.compute.v1.PatchGlob"
+          + "alForwardingRuleRequest\032\".google.cloud.c"
+          + "ompute.v1.Operation\"\257\001\332A0project,forward"
+          + "ing_rule,forwarding_rule_resource\212N\020Glob"
+          + "alOperations\202\323\344\223\002c2G/compute/v1/projects"
+          + "/{project}/global/forwardingRules/{forwa"
+          + "rding_rule}:\030forwarding_rule_resource\022\260\002"
+          + "\n\tSetLabels\022=.google.cloud.compute.v1.Se"
+          + "tLabelsGlobalForwardingRuleRequest\032\".goo"
+          + "gle.cloud.compute.v1.Operation\"\277\001\332A3proj"
+          + "ect,resource,global_set_labels_request_r"
+          + "esource\212N\020GlobalOperations\202\323\344\223\002p\"J/compu"
+          + "te/v1/projects/{project}/global/forwardi"
+          + "ngRules/{resource}/setLabels:\"global_set"
+          + "_labels_request_resource\022\254\002\n\tSetTarget\022="
+          + ".google.cloud.compute.v1.SetTargetGlobal"
+          + "ForwardingRuleRequest\032\".google.cloud.com"
+          + "pute.v1.Operation\"\273\001\332A1project,forwardin"
+          + "g_rule,target_reference_resource\212N\020Globa"
+          + "lOperations\202\323\344\223\002n\"Q/compute/v1/projects/"
+          + "{project}/global/forwardingRules/{forwar"
+          + "ding_rule}/setTarget:\031target_reference_r"
           + "esource\032r\312A\026compute.googleapis.com\322AVhtt"
           + "ps://www.googleapis.com/auth/compute,htt"
           + "ps://www.googleapis.com/auth/cloud-platf"
-          + "orm2\231\021\n\017ForwardingRules\022\323\001\n\016AggregatedLi"
-          + "st\022=.google.cloud.compute.v1.AggregatedL"
-          + "istForwardingRulesRequest\0325.google.cloud"
-          + ".compute.v1.ForwardingRuleAggregatedList"
-          + "\"K\332A\007project\202\323\344\223\002;\0229/compute/v1/projects"
-          + "/{project}/aggregated/forwardingRules\022\362\001"
-          + "\n\006Delete\0224.google.cloud.compute.v1.Delet"
-          + "eForwardingRuleRequest\032\".google.cloud.co"
-          + "mpute.v1.Operation\"\215\001\332A\036project,region,f"
-          + "orwarding_rule\212N\020RegionOperations\202\323\344\223\002S*"
-          + "Q/compute/v1/projects/{project}/regions/"
-          + "{region}/forwardingRules/{forwarding_rul"
-          + "e}\022\335\001\n\003Get\0221.google.cloud.compute.v1.Get"
-          + "ForwardingRuleRequest\032\'.google.cloud.com"
-          + "pute.v1.ForwardingRule\"z\332A\036project,regio"
-          + "n,forwarding_rule\202\323\344\223\002S\022Q/compute/v1/pro"
-          + "jects/{project}/regions/{region}/forward"
-          + "ingRules/{forwarding_rule}\022\203\002\n\006Insert\0224."
-          + "google.cloud.compute.v1.InsertForwarding"
-          + "RuleRequest\032\".google.cloud.compute.v1.Op"
-          + "eration\"\236\001\332A\'project,region,forwarding_r"
-          + "ule_resource\212N\020RegionOperations\202\323\344\223\002[\"?/"
-          + "compute/v1/projects/{project}/regions/{r"
-          + "egion}/forwardingRules:\030forwarding_rule_"
-          + "resource\022\302\001\n\004List\0223.google.cloud.compute"
-          + ".v1.ListForwardingRulesRequest\032+.google."
-          + "cloud.compute.v1.ForwardingRuleList\"X\332A\016"
-          + "project,region\202\323\344\223\002A\022?/compute/v1/projec"
-          + "ts/{project}/regions/{region}/forwarding"
-          + "Rules\022\243\002\n\005Patch\0223.google.cloud.compute.v"
-          + "1.PatchForwardingRuleRequest\032\".google.cl"
-          + "oud.compute.v1.Operation\"\300\001\332A7project,re"
-          + "gion,forwarding_rule,forwarding_rule_res"
-          + "ource\212N\020RegionOperations\202\323\344\223\002m2Q/compute"
-          + "/v1/projects/{project}/regions/{region}/"
-          + "forwardingRules/{forwarding_rule}:\030forwa"
-          + "rding_rule_resource\022\273\002\n\tSetLabels\0227.goog"
-          + "le.cloud.compute.v1.SetLabelsForwardingR"
-          + "uleRequest\032\".google.cloud.compute.v1.Ope"
-          + "ration\"\320\001\332A:project,region,resource,regi"
-          + "on_set_labels_request_resource\212N\020RegionO"
-          + "perations\202\323\344\223\002z\"T/compute/v1/projects/{p"
-          + "roject}/regions/{region}/forwardingRules"
-          + "/{resource}/setLabels:\"region_set_labels"
-          + "_request_resource\022\267\002\n\tSetTarget\0227.google"
-          + ".cloud.compute.v1.SetTargetForwardingRul"
-          + "eRequest\032\".google.cloud.compute.v1.Opera"
-          + "tion\"\314\001\332A8project,region,forwarding_rule"
-          + ",target_reference_resource\212N\020RegionOpera"
-          + "tions\202\323\344\223\002x\"[/compute/v1/projects/{proje"
-          + "ct}/regions/{region}/forwardingRules/{fo"
-          + "rwarding_rule}/setTarget:\031target_referen"
-          + "ce_resource\032r\312A\026compute.googleapis.com\322A"
-          + "Vhttps://www.googleapis.com/auth/compute"
-          + ",https://www.googleapis.com/auth/cloud-p"
-          + "latform2\337\016\n\022FutureReservations\022\345\001\n\016Aggre"
-          + "gatedList\022@.google.cloud.compute.v1.Aggr"
-          + "egatedListFutureReservationsRequest\032A.go"
-          + "ogle.cloud.compute.v1.FutureReservations"
-          + "AggregatedListResponse\"N\332A\007project\202\323\344\223\002>"
-          + "\022/compute/v1/projects/{pro"
-          + "ject}/zones/{zone}/futureReservations:\033f"
-          + "uture_reservation_resource\022\316\001\n\004List\0226.go"
-          + "ogle.cloud.compute.v1.ListFutureReservat"
-          + "ionsRequest\0327.google.cloud.compute.v1.Fu"
-          + "tureReservationsListResponse\"U\332A\014project"
-          + ",zone\202\323\344\223\002@\022>/compute/v1/projects/{proje"
-          + "ct}/zones/{zone}/futureReservations\022\257\002\n\006"
-          + "Update\0227.google.cloud.compute.v1.UpdateF"
-          + "utureReservationRequest\032\".google.cloud.c"
-          + "ompute.v1.Operation\"\307\001\332A;project,zone,fu"
-          + "ture_reservation,future_reservation_reso"
-          + "urce\212N\016ZoneOperations\202\323\344\223\002r2S/compute/v1"
-          + "/projects/{project}/zones/{zone}/futureR"
-          + "eservations/{future_reservation}:\033future"
-          + "_reservation_resource\032r\312A\026compute.google"
-          + "apis.com\322AVhttps://www.googleapis.com/au"
-          + "th/compute,https://www.googleapis.com/au"
-          + "th/cloud-platform2\203\016\n\017GlobalAddresses\022\311\001"
-          + "\n\006Delete\0223.google.cloud.compute.v1.Delet"
-          + "eGlobalAddressRequest\032\".google.cloud.com"
-          + "pute.v1.Operation\"f\332A\017project,address\212N\020"
-          + "GlobalOperations\202\323\344\223\002;*9/compute/v1/proj"
-          + "ects/{project}/global/addresses/{address"
-          + "}\022\256\001\n\003Get\0220.google.cloud.compute.v1.GetG"
-          + "lobalAddressRequest\032 .google.cloud.compu"
-          + "te.v1.Address\"S\332A\017project,address\202\323\344\223\002;\022"
-          + "9/compute/v1/projects/{project}/global/a"
-          + "ddresses/{address}\022\332\001\n\006Insert\0223.google.c"
-          + "loud.compute.v1.InsertGlobalAddressReque"
-          + "st\032\".google.cloud.compute.v1.Operation\"w"
-          + "\332A\030project,address_resource\212N\020GlobalOper",
-      "ations\202\323\344\223\002C\"//compute/v1/projects/{proj"
-          + "ect}/global/addresses:\020address_resource\022"
-          + "\244\001\n\004List\0223.google.cloud.compute.v1.ListG"
-          + "lobalAddressesRequest\032$.google.cloud.com"
-          + "pute.v1.AddressList\"A\332A\007project\202\323\344\223\0021\022//"
-          + "compute/v1/projects/{project}/global/add"
-          + "resses\022\232\002\n\004Move\0221.google.cloud.compute.v"
-          + "1.MoveGlobalAddressRequest\032\".google.clou"
-          + "d.compute.v1.Operation\"\272\001\332A6project,addr"
-          + "ess,global_addresses_move_request_resour"
-          + "ce\212N\020GlobalOperations\202\323\344\223\002h\">/compute/v1"
-          + "/projects/{project}/global/addresses/{ad"
-          + "dress}/move:&global_addresses_move_reque"
-          + "st_resource\022\243\002\n\tSetLabels\0226.google.cloud"
-          + ".compute.v1.SetLabelsGlobalAddressReques"
-          + "t\032\".google.cloud.compute.v1.Operation\"\271\001"
-          + "\332A3project,resource,global_set_labels_re"
-          + "quest_resource\212N\020GlobalOperations\202\323\344\223\002j\""
-          + "D/compute/v1/projects/{project}/global/a"
-          + "ddresses/{resource}/setLabels:\"global_se"
-          + "t_labels_request_resource\022\267\002\n\022TestIamPer"
-          + "missions\022?.google.cloud.compute.v1.TestI"
-          + "amPermissionsGlobalAddressRequest\0320.goog"
-          + "le.cloud.compute.v1.TestPermissionsRespo"
-          + "nse\"\255\001\332A2project,resource,test_permissio"
-          + "ns_request_resource\202\323\344\223\002r\"M/compute/v1/p"
-          + "rojects/{project}/global/addresses/{reso"
-          + "urce}/testIamPermissions:!test_permissio"
-          + "ns_request_resource\032r\312A\026compute.googleap"
-          + "is.com\322AVhttps://www.googleapis.com/auth"
-          + "/compute,https://www.googleapis.com/auth"
-          + "/cloud-platform2\373\016\n\025GlobalForwardingRule"
-          + "s\022\346\001\n\006Delete\022:.google.cloud.compute.v1.D"
-          + "eleteGlobalForwardingRuleRequest\032\".googl"
-          + "e.cloud.compute.v1.Operation\"|\332A\027project"
-          + ",forwarding_rule\212N\020GlobalOperations\202\323\344\223\002"
-          + "I*G/compute/v1/projects/{project}/global"
-          + "/forwardingRules/{forwarding_rule}\022\322\001\n\003G"
-          + "et\0227.google.cloud.compute.v1.GetGlobalFo"
-          + "rwardingRuleRequest\032\'.google.cloud.compu"
-          + "te.v1.ForwardingRule\"i\332A\027project,forward"
-          + "ing_rule\202\323\344\223\002I\022G/compute/v1/projects/{pr"
-          + "oject}/global/forwardingRules/{forwardin"
-          + "g_rule}\022\370\001\n\006Insert\022:.google.cloud.comput"
-          + "e.v1.InsertGlobalForwardingRuleRequest\032\""
-          + ".google.cloud.compute.v1.Operation\"\215\001\332A "
-          + "project,forwarding_rule_resource\212N\020Globa"
-          + "lOperations\202\323\344\223\002Q\"5/compute/v1/projects/"
-          + "{project}/global/forwardingRules:\030forwar"
-          + "ding_rule_resource\022\267\001\n\004List\0229.google.clo"
-          + "ud.compute.v1.ListGlobalForwardingRulesR"
-          + "equest\032+.google.cloud.compute.v1.Forward"
-          + "ingRuleList\"G\332A\007project\202\323\344\223\0027\0225/compute/"
-          + "v1/projects/{project}/global/forwardingR"
-          + "ules\022\230\002\n\005Patch\0229.google.cloud.compute.v1"
-          + ".PatchGlobalForwardingRuleRequest\032\".goog"
-          + "le.cloud.compute.v1.Operation\"\257\001\332A0proje"
-          + "ct,forwarding_rule,forwarding_rule_resou"
-          + "rce\212N\020GlobalOperations\202\323\344\223\002c2G/compute/v"
-          + "1/projects/{project}/global/forwardingRu"
-          + "les/{forwarding_rule}:\030forwarding_rule_r"
-          + "esource\022\260\002\n\tSetLabels\022=.google.cloud.com"
-          + "pute.v1.SetLabelsGlobalForwardingRuleReq"
-          + "uest\032\".google.cloud.compute.v1.Operation"
-          + "\"\277\001\332A3project,resource,global_set_labels"
-          + "_request_resource\212N\020GlobalOperations\202\323\344\223"
-          + "\002p\"J/compute/v1/projects/{project}/globa"
-          + "l/forwardingRules/{resource}/setLabels:\""
-          + "global_set_labels_request_resource\022\254\002\n\tS"
-          + "etTarget\022=.google.cloud.compute.v1.SetTa"
-          + "rgetGlobalForwardingRuleRequest\032\".google"
-          + ".cloud.compute.v1.Operation\"\273\001\332A1project"
-          + ",forwarding_rule,target_reference_resour"
-          + "ce\212N\020GlobalOperations\202\323\344\223\002n\"Q/compute/v1"
-          + "/projects/{project}/global/forwardingRul"
-          + "es/{forwarding_rule}/setTarget:\031target_r"
-          + "eference_resource\032r\312A\026compute.googleapis"
-          + ".com\322AVhttps://www.googleapis.com/auth/c"
-          + "ompute,https://www.googleapis.com/auth/c"
-          + "loud-platform2\254\022\n\033GlobalNetworkEndpointG"
-          + "roups\022\274\003\n\026AttachNetworkEndpoints\022P.googl"
-          + "e.cloud.compute.v1.AttachNetworkEndpoint"
-          + "sGlobalNetworkEndpointGroupRequest\032\".goo"
-          + "gle.cloud.compute.v1.Operation\"\253\002\332A_proj"
-          + "ect,network_endpoint_group,global_networ"
-          + "k_endpoint_groups_attach_endpoints_reque"
-          + "st_resource\212N\020GlobalOperations\202\323\344\223\002\257\001\"k/"
-          + "compute/v1/projects/{project}/global/net"
-          + "workEndpointGroups/{network_endpoint_gro"
-          + "up}/attachNetworkEndpoints:@global_netwo"
-          + "rk_endpoint_groups_attach_endpoints_requ"
-          + "est_resource\022\201\002\n\006Delete\022@.google.cloud.c"
-          + "ompute.v1.DeleteGlobalNetworkEndpointGro"
-          + "upRequest\032\".google.cloud.compute.v1.Oper"
-          + "ation\"\220\001\332A\036project,network_endpoint_grou"
-          + "p\212N\020GlobalOperations\202\323\344\223\002V*T/compute/v1/"
-          + "projects/{project}/global/networkEndpoin"
-          + "tGroups/{network_endpoint_group}\022\274\003\n\026Det"
-          + "achNetworkEndpoints\022P.google.cloud.compu"
-          + "te.v1.DetachNetworkEndpointsGlobalNetwor"
-          + "kEndpointGroupRequest\032\".google.cloud.com"
-          + "pute.v1.Operation\"\253\002\332A_project,network_e"
-          + "ndpoint_group,global_network_endpoint_gr"
-          + "oups_detach_endpoints_request_resource\212N"
-          + "\020GlobalOperations\202\323\344\223\002\257\001\"k/compute/v1/pr"
-          + "ojects/{project}/global/networkEndpointG"
-          + "roups/{network_endpoint_group}/detachNet"
-          + "workEndpoints:@global_network_endpoint_g"
-          + "roups_detach_endpoints_request_resource\022"
-          + "\362\001\n\003Get\022=.google.cloud.compute.v1.GetGlo"
-          + "balNetworkEndpointGroupRequest\032-.google."
-          + "cloud.compute.v1.NetworkEndpointGroup\"}\332"
-          + "A\036project,network_endpoint_group\202\323\344\223\002V\022T"
-          + "/compute/v1/projects/{project}/global/ne"
-          + "tworkEndpointGroups/{network_endpoint_gr"
-          + "oup}\022\222\002\n\006Insert\022@.google.cloud.compute.v"
-          + "1.InsertGlobalNetworkEndpointGroupReques"
-          + "t\032\".google.cloud.compute.v1.Operation\"\241\001"
-          + "\332A\'project,network_endpoint_group_resour"
-          + "ce\212N\020GlobalOperations\202\323\344\223\002^\";/compute/v1"
+          + "orm2\254\022\n\033GlobalNetworkEndpointGroups\022\274\003\n\026"
+          + "AttachNetworkEndpoints\022P.google.cloud.co"
+          + "mpute.v1.AttachNetworkEndpointsGlobalNet"
+          + "workEndpointGroupRequest\032\".google.cloud."
+          + "compute.v1.Operation\"\253\002\332A_project,networ"
+          + "k_endpoint_group,global_network_endpoint"
+          + "_groups_attach_endpoints_request_resourc"
+          + "e\212N\020GlobalOperations\202\323\344\223\002\257\001\"k/compute/v1"
           + "/projects/{project}/global/networkEndpoi"
-          + "ntGroups:\037network_endpoint_group_resourc"
-          + "e\022\311\001\n\004List\022?.google.cloud.compute.v1.Lis"
-          + "tGlobalNetworkEndpointGroupsRequest\0321.go"
-          + "ogle.cloud.compute.v1.NetworkEndpointGro"
-          + "upList\"M\332A\007project\202\323\344\223\002=\022;/compute/v1/pr"
-          + "ojects/{project}/global/networkEndpointG"
-          + "roups\022\300\002\n\024ListNetworkEndpoints\022O.google."
-          + "cloud.compute.v1.ListNetworkEndpointsGlo"
-          + "balNetworkEndpointGroupsRequest\032B.google"
-          + ".cloud.compute.v1.NetworkEndpointGroupsL"
-          + "istNetworkEndpoints\"\222\001\332A\036project,network"
-          + "_endpoint_group\202\323\344\223\002k\"i/compute/v1/proje"
-          + "cts/{project}/global/networkEndpointGrou"
-          + "ps/{network_endpoint_group}/listNetworkE"
-          + "ndpoints\032r\312A\026compute.googleapis.com\322AVht"
-          + "tps://www.googleapis.com/auth/compute,ht"
-          + "tps://www.googleapis.com/auth/cloud-plat"
-          + "form2\320\010\n\020GlobalOperations\022\312\001\n\016Aggregated"
-          + "List\022>.google.cloud.compute.v1.Aggregate"
-          + "dListGlobalOperationsRequest\0320.google.cl"
-          + "oud.compute.v1.OperationAggregatedList\"F"
-          + "\332A\007project\202\323\344\223\0026\0224/compute/v1/projects/{"
-          + "project}/aggregated/operations\022\321\001\n\006Delet"
-          + "e\0225.google.cloud.compute.v1.DeleteGlobal"
-          + "OperationRequest\0326.google.cloud.compute."
-          + "v1.DeleteGlobalOperationResponse\"X\332A\021pro"
-          + "ject,operation\202\323\344\223\002>*\022.google.cloud.compute.v1.Ge"
-          + "tGlobalOrganizationOperationRequest\032\".go"
-          + "ogle.cloud.compute.v1.Operation\"J\332A\toper"
-          + "ation\220N\001\202\323\344\223\0025\0223/compute/v1/locations/gl"
-          + "obal/operations/{operation}\022\244\001\n\004List\022@.g"
-          + "oogle.cloud.compute.v1.ListGlobalOrganiz"
-          + "ationOperationsRequest\032&.google.cloud.co"
-          + "mpute.v1.OperationList\"2\332A\000\202\323\344\223\002)\022\'/comp"
-          + "ute/v1/locations/global/operations\032r\312A\026c"
-          + "ompute.googleapis.com\322AVhttps://www.goog"
-          + "leapis.com/auth/compute,https://www.goog"
-          + "leapis.com/auth/cloud-platform2\321\013\n\035Globa"
-          + "lPublicDelegatedPrefixes\022\207\002\n\006Delete\022B.go"
-          + "ogle.cloud.compute.v1.DeleteGlobalPublic"
-          + "DelegatedPrefixeRequest\032\".google.cloud.c"
-          + "ompute.v1.Operation\"\224\001\332A\037project,public_"
-          + "delegated_prefix\212N\020GlobalOperations\202\323\344\223\002"
-          + "Y*W/compute/v1/projects/{project}/global"
-          + "/publicDelegatedPrefixes/{public_delegat"
-          + "ed_prefix}\022\372\001\n\003Get\022?.google.cloud.comput"
-          + "e.v1.GetGlobalPublicDelegatedPrefixeRequ"
-          + "est\032..google.cloud.compute.v1.PublicDele"
-          + "gatedPrefix\"\201\001\332A\037project,public_delegate"
-          + "d_prefix\202\323\344\223\002Y\022W/compute/v1/projects/{pr"
-          + "oject}/global/publicDelegatedPrefixes/{p"
-          + "ublic_delegated_prefix}\022\230\002\n\006Insert\022B.goo"
-          + "gle.cloud.compute.v1.InsertGlobalPublicD"
+          + "ntGroups/{network_endpoint_group}/attach"
+          + "NetworkEndpoints:@global_network_endpoin"
+          + "t_groups_attach_endpoints_request_resour"
+          + "ce\022\201\002\n\006Delete\022@.google.cloud.compute.v1."
+          + "DeleteGlobalNetworkEndpointGroupRequest\032"
+          + "\".google.cloud.compute.v1.Operation\"\220\001\332A"
+          + "\036project,network_endpoint_group\212N\020Global"
+          + "Operations\202\323\344\223\002V*T/compute/v1/projects/{"
+          + "project}/global/networkEndpointGroups/{n"
+          + "etwork_endpoint_group}\022\274\003\n\026DetachNetwork"
+          + "Endpoints\022P.google.cloud.compute.v1.Deta"
+          + "chNetworkEndpointsGlobalNetworkEndpointG"
+          + "roupRequest\032\".google.cloud.compute.v1.Op"
+          + "eration\"\253\002\332A_project,network_endpoint_gr"
+          + "oup,global_network_endpoint_groups_detac"
+          + "h_endpoints_request_resource\212N\020GlobalOpe"
+          + "rations\202\323\344\223\002\257\001\"k/compute/v1/projects/{pr"
+          + "oject}/global/networkEndpointGroups/{net"
+          + "work_endpoint_group}/detachNetworkEndpoi"
+          + "nts:@global_network_endpoint_groups_deta"
+          + "ch_endpoints_request_resource\022\362\001\n\003Get\022=."
+          + "google.cloud.compute.v1.GetGlobalNetwork"
+          + "EndpointGroupRequest\032-.google.cloud.comp"
+          + "ute.v1.NetworkEndpointGroup\"}\332A\036project,"
+          + "network_endpoint_group\202\323\344\223\002V\022T/compute/v"
+          + "1/projects/{project}/global/networkEndpo"
+          + "intGroups/{network_endpoint_group}\022\222\002\n\006I"
+          + "nsert\022@.google.cloud.compute.v1.InsertGl"
+          + "obalNetworkEndpointGroupRequest\032\".google"
+          + ".cloud.compute.v1.Operation\"\241\001\332A\'project"
+          + ",network_endpoint_group_resource\212N\020Globa"
+          + "lOperations\202\323\344\223\002^\";/compute/v1/projects/"
+          + "{project}/global/networkEndpointGroups:\037"
+          + "network_endpoint_group_resource\022\311\001\n\004List"
+          + "\022?.google.cloud.compute.v1.ListGlobalNet"
+          + "workEndpointGroupsRequest\0321.google.cloud"
+          + ".compute.v1.NetworkEndpointGroupList\"M\332A"
+          + "\007project\202\323\344\223\002=\022;/compute/v1/projects/{pr"
+          + "oject}/global/networkEndpointGroups\022\300\002\n\024"
+          + "ListNetworkEndpoints\022O.google.cloud.comp"
+          + "ute.v1.ListNetworkEndpointsGlobalNetwork"
+          + "EndpointGroupsRequest\032B.google.cloud.com"
+          + "pute.v1.NetworkEndpointGroupsListNetwork"
+          + "Endpoints\"\222\001\332A\036project,network_endpoint_"
+          + "group\202\323\344\223\002k\"i/compute/v1/projects/{proje"
+          + "ct}/global/networkEndpointGroups/{networ"
+          + "k_endpoint_group}/listNetworkEndpoints\032r"
+          + "\312A\026compute.googleapis.com\322AVhttps://www."
+          + "googleapis.com/auth/compute,https://www."
+          + "googleapis.com/auth/cloud-platform2\320\010\n\020G"
+          + "lobalOperations\022\312\001\n\016AggregatedList\022>.goo"
+          + "gle.cloud.compute.v1.AggregatedListGloba"
+          + "lOperationsRequest\0320.google.cloud.comput"
+          + "e.v1.OperationAggregatedList\"F\332A\007project"
+          + "\202\323\344\223\0026\0224/compute/v1/projects/{project}/a"
+          + "ggregated/operations\022\321\001\n\006Delete\0225.google"
+          + ".cloud.compute.v1.DeleteGlobalOperationR"
+          + "equest\0326.google.cloud.compute.v1.DeleteG"
+          + "lobalOperationResponse\"X\332A\021project,opera"
+          + "tion\202\323\344\223\002>*\022"
+          + ".google.cloud.compute.v1.GetGlobalOrg"
+          + "anizationOperationRequest\032\".google.cloud"
+          + ".compute.v1.Operation\"J\332A\toperation\220N\001\202\323"
+          + "\344\223\0025\0223/compute/v1/locations/global/opera"
+          + "tions/{operation}\022\244\001\n\004List\022@.google.clou"
+          + "d.compute.v1.ListGlobalOrganizationOpera"
+          + "tionsRequest\032&.google.cloud.compute.v1.O"
+          + "perationList\"2\332A\000\202\323\344\223\002)\022\'/compute/v1/loc"
+          + "ations/global/operations\032r\312A\026compute.goo"
+          + "gleapis.com\322AVhttps://www.googleapis.com"
+          + "/auth/compute,https://www.googleapis.com"
+          + "/auth/cloud-platform2\321\013\n\035GlobalPublicDel"
+          + "egatedPrefixes\022\207\002\n\006Delete\022B.google.cloud"
+          + ".compute.v1.DeleteGlobalPublicDelegatedP"
+          + "refixeRequest\032\".google.cloud.compute.v1."
+          + "Operation\"\224\001\332A\037project,public_delegated_"
+          + "prefix\212N\020GlobalOperations\202\323\344\223\002Y*W/comput"
+          + "e/v1/projects/{project}/global/publicDel"
+          + "egatedPrefixes/{public_delegated_prefix}"
+          + "\022\372\001\n\003Get\022?.google.cloud.compute.v1.GetGl"
+          + "obalPublicDelegatedPrefixeRequest\032..goog"
+          + "le.cloud.compute.v1.PublicDelegatedPrefi"
+          + "x\"\201\001\332A\037project,public_delegated_prefix\202\323"
+          + "\344\223\002Y\022W/compute/v1/projects/{project}/glo"
+          + "bal/publicDelegatedPrefixes/{public_dele"
+          + "gated_prefix}\022\230\002\n\006Insert\022B.google.cloud."
+          + "compute.v1.InsertGlobalPublicDelegatedPr"
+          + "efixeRequest\032\".google.cloud.compute.v1.O"
+          + "peration\"\245\001\332A(project,public_delegated_p"
+          + "refix_resource\212N\020GlobalOperations\202\323\344\223\002a\""
+          + "=/compute/v1/projects/{project}/global/p"
+          + "ublicDelegatedPrefixes: public_delegated"
+          + "_prefix_resource\022\316\001\n\004List\022A.google.cloud"
+          + ".compute.v1.ListGlobalPublicDelegatedPre"
+          + "fixesRequest\0322.google.cloud.compute.v1.P"
+          + "ublicDelegatedPrefixList\"O\332A\007project\202\323\344\223"
+          + "\002?\022=/compute/v1/projects/{project}/globa"
+          + "l/publicDelegatedPrefixes\022\310\002\n\005Patch\022A.go"
+          + "ogle.cloud.compute.v1.PatchGlobalPublicD"
           + "elegatedPrefixeRequest\032\".google.cloud.co"
-          + "mpute.v1.Operation\"\245\001\332A(project,public_d"
-          + "elegated_prefix_resource\212N\020GlobalOperati"
-          + "ons\202\323\344\223\002a\"=/compute/v1/projects/{project"
-          + "}/global/publicDelegatedPrefixes: public"
-          + "_delegated_prefix_resource\022\316\001\n\004List\022A.go"
-          + "ogle.cloud.compute.v1.ListGlobalPublicDe"
-          + "legatedPrefixesRequest\0322.google.cloud.co"
-          + "mpute.v1.PublicDelegatedPrefixList\"O\332A\007p"
-          + "roject\202\323\344\223\002?\022=/compute/v1/projects/{proj"
-          + "ect}/global/publicDelegatedPrefixes\022\310\002\n\005"
-          + "Patch\022A.google.cloud.compute.v1.PatchGlo"
-          + "balPublicDelegatedPrefixeRequest\032\".googl"
-          + "e.cloud.compute.v1.Operation\"\327\001\332A@projec"
-          + "t,public_delegated_prefix,public_delegat"
-          + "ed_prefix_resource\212N\020GlobalOperations\202\323\344"
-          + "\223\002{2W/compute/v1/projects/{project}/glob"
-          + "al/publicDelegatedPrefixes/{public_deleg"
-          + "ated_prefix}: public_delegated_prefix_re"
-          + "source\032r\312A\026compute.googleapis.com\322AVhttp"
-          + "s://www.googleapis.com/auth/compute,http"
-          + "s://www.googleapis.com/auth/cloud-platfo"
-          + "rm2\305\016\n\031GlobalVmExtensionPolicies\022\354\001\n\016Agg"
-          + "regatedList\022G.google.cloud.compute.v1.Ag"
-          + "gregatedListGlobalVmExtensionPoliciesReq"
-          + "uest\032@.google.cloud.compute.v1.VmExtensi"
-          + "onPolicyAggregatedListResponse\"O\332A\007proje"
-          + "ct\202\323\344\223\002?\022=/compute/v1/projects/{project}"
-          + "/aggregated/vmExtensionPolicies\022\225\003\n\006Dele"
-          + "te\022=.google.cloud.compute.v1.DeleteGloba"
-          + "lVmExtensionPolicyRequest\032\".google.cloud"
-          + ".compute.v1.Operation\"\247\002\332Afproject,globa"
-          + "l_vm_extension_policy,global_vm_extensio"
-          + "n_policy_rollout_operation_rollout_input"
-          + "_resource\212N\020GlobalOperations\202\323\344\223\002\244\001\"]/co"
-          + "mpute/v1/projects/{project}/global/vmExt"
-          + "ensionPolicies/{global_vm_extension_poli"
-          + "cy}/delete:Cglobal_vm_extension_policy_r"
-          + "ollout_operation_rollout_input_resource\022"
-          + "\371\001\n\003Get\022:.google.cloud.compute.v1.GetGlo"
-          + "balVmExtensionPolicyRequest\0320.google.clo"
-          + "ud.compute.v1.GlobalVmExtensionPolicy\"\203\001"
-          + "\332A\"project,global_vm_extension_policy\202\323\344"
-          + "\223\002X\022V/compute/v1/projects/{project}/glob"
-          + "al/vmExtensionPolicies/{global_vm_extens"
-          + "ion_policy}\022\225\002\n\006Insert\022=.google.cloud.co"
-          + "mpute.v1.InsertGlobalVmExtensionPolicyRe"
-          + "quest\032\".google.cloud.compute.v1.Operatio"
-          + "n\"\247\001\332A+project,global_vm_extension_polic"
-          + "y_resource\212N\020GlobalOperations\202\323\344\223\002`\"9/co"
-          + "mpute/v1/projects/{project}/global/vmExt"
-          + "ensionPolicies:#global_vm_extension_poli"
-          + "cy_resource\022\310\001\n\004List\022=.google.cloud.comp"
-          + "ute.v1.ListGlobalVmExtensionPoliciesRequ"
-          + "est\0324.google.cloud.compute.v1.GlobalVmEx"
-          + "tensionPolicyList\"K\332A\007project\202\323\344\223\002;\0229/co"
-          + "mpute/v1/projects/{project}/global/vmExt"
-          + "ensionPolicies\022\315\002\n\006Update\022=.google.cloud"
-          + ".compute.v1.UpdateGlobalVmExtensionPolic"
-          + "yRequest\032\".google.cloud.compute.v1.Opera"
-          + "tion\"\337\001\332AFproject,global_vm_extension_po"
-          + "licy,global_vm_extension_policy_resource"
-          + "\212N\020GlobalOperations\202\323\344\223\002}2V/compute/v1/p"
+          + "mpute.v1.Operation\"\327\001\332A@project,public_d"
+          + "elegated_prefix,public_delegated_prefix_"
+          + "resource\212N\020GlobalOperations\202\323\344\223\002{2W/comp"
+          + "ute/v1/projects/{project}/global/publicD"
+          + "elegatedPrefixes/{public_delegated_prefi"
+          + "x}: public_delegated_prefix_resource\032r\312A"
+          + "\026compute.googleapis.com\322AVhttps://www.go"
+          + "ogleapis.com/auth/compute,https://www.go"
+          + "ogleapis.com/auth/cloud-platform2\305\016\n\031Glo"
+          + "balVmExtensionPolicies\022\354\001\n\016AggregatedLis"
+          + "t\022G.google.cloud.compute.v1.AggregatedLi"
+          + "stGlobalVmExtensionPoliciesRequest\032@.goo"
+          + "gle.cloud.compute.v1.VmExtensionPolicyAg"
+          + "gregatedListResponse\"O\332A\007project\202\323\344\223\002?\022="
+          + "/compute/v1/projects/{project}/aggregate"
+          + "d/vmExtensionPolicies\022\225\003\n\006Delete\022=.googl"
+          + "e.cloud.compute.v1.DeleteGlobalVmExtensi"
+          + "onPolicyRequest\032\".google.cloud.compute.v"
+          + "1.Operation\"\247\002\332Afproject,global_vm_exten"
+          + "sion_policy,global_vm_extension_policy_r"
+          + "ollout_operation_rollout_input_resource\212"
+          + "N\020GlobalOperations\202\323\344\223\002\244\001\"]/compute/v1/p"
+          + "rojects/{project}/global/vmExtensionPoli"
+          + "cies/{global_vm_extension_policy}/delete"
+          + ":Cglobal_vm_extension_policy_rollout_ope"
+          + "ration_rollout_input_resource\022\371\001\n\003Get\022:."
+          + "google.cloud.compute.v1.GetGlobalVmExten"
+          + "sionPolicyRequest\0320.google.cloud.compute"
+          + ".v1.GlobalVmExtensionPolicy\"\203\001\332A\"project"
+          + ",global_vm_extension_policy\202\323\344\223\002X\022V/comp"
+          + "ute/v1/projects/{project}/global/vmExten"
+          + "sionPolicies/{global_vm_extension_policy"
+          + "}\022\225\002\n\006Insert\022=.google.cloud.compute.v1.I"
+          + "nsertGlobalVmExtensionPolicyRequest\032\".go"
+          + "ogle.cloud.compute.v1.Operation\"\247\001\332A+pro"
+          + "ject,global_vm_extension_policy_resource"
+          + "\212N\020GlobalOperations\202\323\344\223\002`\"9/compute/v1/p"
+          + "rojects/{project}/global/vmExtensionPoli"
+          + "cies:#global_vm_extension_policy_resourc"
+          + "e\022\310\001\n\004List\022=.google.cloud.compute.v1.Lis"
+          + "tGlobalVmExtensionPoliciesRequest\0324.goog"
+          + "le.cloud.compute.v1.GlobalVmExtensionPol"
+          + "icyList\"K\332A\007project\202\323\344\223\002;\0229/compute/v1/p"
           + "rojects/{project}/global/vmExtensionPoli"
-          + "cies/{global_vm_extension_policy}:#globa"
-          + "l_vm_extension_policy_resource\032r\312A\026compu"
+          + "cies\022\315\002\n\006Update\022=.google.cloud.compute.v"
+          + "1.UpdateGlobalVmExtensionPolicyRequest\032\""
+          + ".google.cloud.compute.v1.Operation\"\337\001\332AF"
+          + "project,global_vm_extension_policy,globa"
+          + "l_vm_extension_policy_resource\212N\020GlobalO"
+          + "perations\202\323\344\223\002}2V/compute/v1/projects/{p"
+          + "roject}/global/vmExtensionPolicies/{glob"
+          + "al_vm_extension_policy}:#global_vm_exten"
+          + "sion_policy_resource\032r\312A\026compute.googlea"
+          + "pis.com\322AVhttps://www.googleapis.com/aut"
+          + "h/compute,https://www.googleapis.com/aut"
+          + "h/cloud-platform2\276\017\n\014HealthChecks\022\313\001\n\016Ag"
+          + "gregatedList\022:.google.cloud.compute.v1.A"
+          + "ggregatedListHealthChecksRequest\0323.googl"
+          + "e.cloud.compute.v1.HealthChecksAggregate"
+          + "dList\"H\332A\007project\202\323\344\223\0028\0226/compute/v1/pro"
+          + "jects/{project}/aggregated/healthChecks\022"
+          + "\324\001\n\006Delete\0221.google.cloud.compute.v1.Del"
+          + "eteHealthCheckRequest\032\".google.cloud.com"
+          + "pute.v1.Operation\"s\332A\024project,health_che"
+          + "ck\212N\020GlobalOperations\202\323\344\223\002C*A/compute/v1"
+          + "/projects/{project}/global/healthChecks/"
+          + "{health_check}\022\275\001\n\003Get\022..google.cloud.co"
+          + "mpute.v1.GetHealthCheckRequest\032$.google."
+          + "cloud.compute.v1.HealthCheck\"`\332A\024project"
+          + ",health_check\202\323\344\223\002C\022A/compute/v1/project"
+          + "s/{project}/global/healthChecks/{health_"
+          + "check}\022\346\001\n\006Insert\0221.google.cloud.compute"
+          + ".v1.InsertHealthCheckRequest\032\".google.cl"
+          + "oud.compute.v1.Operation\"\204\001\332A\035project,he"
+          + "alth_check_resource\212N\020GlobalOperations\202\323"
+          + "\344\223\002K\"2/compute/v1/projects/{project}/glo"
+          + "bal/healthChecks:\025health_check_resource\022"
+          + "\250\001\n\004List\0220.google.cloud.compute.v1.ListH"
+          + "ealthChecksRequest\032(.google.cloud.comput"
+          + "e.v1.HealthCheckList\"D\332A\007project\202\323\344\223\0024\0222"
+          + "/compute/v1/projects/{project}/global/he"
+          + "althChecks\022\200\002\n\005Patch\0220.google.cloud.comp"
+          + "ute.v1.PatchHealthCheckRequest\032\".google."
+          + "cloud.compute.v1.Operation\"\240\001\332A*project,"
+          + "health_check,health_check_resource\212N\020Glo"
+          + "balOperations\202\323\344\223\002Z2A/compute/v1/project"
+          + "s/{project}/global/healthChecks/{health_"
+          + "check}:\025health_check_resource\022\270\002\n\022TestIa"
+          + "mPermissions\022=.google.cloud.compute.v1.T"
+          + "estIamPermissionsHealthCheckRequest\0320.go"
+          + "ogle.cloud.compute.v1.TestPermissionsRes"
+          + "ponse\"\260\001\332A2project,resource,test_permiss"
+          + "ions_request_resource\202\323\344\223\002u\"P/compute/v1"
+          + "/projects/{project}/global/healthChecks/"
+          + "{resource}/testIamPermissions:!test_perm"
+          + "issions_request_resource\022\202\002\n\006Update\0221.go"
+          + "ogle.cloud.compute.v1.UpdateHealthCheckR"
+          + "equest\032\".google.cloud.compute.v1.Operati"
+          + "on\"\240\001\332A*project,health_check,health_chec"
+          + "k_resource\212N\020GlobalOperations\202\323\344\223\002Z\032A/co"
+          + "mpute/v1/projects/{project}/global/healt"
+          + "hChecks/{health_check}:\025health_check_res"
+          + "ource\032r\312A\026compute.googleapis.com\322AVhttps"
+          + "://www.googleapis.com/auth/compute,https"
+          + "://www.googleapis.com/auth/cloud-platfor"
+          + "m2\266\006\n\005Hosts\022\275\001\n\003Get\022\'.google.cloud.compu"
+          + "te.v1.GetHostRequest\032\035.google.cloud.comp"
+          + "ute.v1.Host\"n\332A\035project,zone,association"
+          + ",host\202\323\344\223\002H\022F/compute/v1/projects/{proje"
+          + "ct}/zones/{zone}/{association}/hosts/{ho"
+          + "st}\022\264\002\n\nGetVersion\022..google.cloud.comput"
+          + "e.v1.GetVersionHostRequest\032\".google.clou"
+          + "d.compute.v1.Operation\"\321\001\332A@project,zone"
+          + ",association,host,hosts_get_version_requ"
+          + "est_resource\212N\016ZoneOperations\202\323\344\223\002w\"Q/co"
+          + "mpute/v1/projects/{project}/zones/{zone}"
+          + "/{association}/hosts/{host}/getVersion:\""
+          + "hosts_get_version_request_resource\022\301\001\n\004L"
+          + "ist\022).google.cloud.compute.v1.ListHostsR"
+          + "equest\032*.google.cloud.compute.v1.HostsLi"
+          + "stResponse\"b\332A\030project,zone,association\202"
+          + "\323\344\223\002A\022?/compute/v1/projects/{project}/zo"
+          + "nes/{zone}/{association}/hosts\032r\312A\026compu"
           + "te.googleapis.com\322AVhttps://www.googleap"
           + "is.com/auth/compute,https://www.googleap"
-          + "is.com/auth/cloud-platform2\276\017\n\014HealthChe"
-          + "cks\022\313\001\n\016AggregatedList\022:.google.cloud.co"
-          + "mpute.v1.AggregatedListHealthChecksReque"
-          + "st\0323.google.cloud.compute.v1.HealthCheck"
-          + "sAggregatedList\"H\332A\007project\202\323\344\223\0028\0226/comp"
-          + "ute/v1/projects/{project}/aggregated/hea"
-          + "lthChecks\022\324\001\n\006Delete\0221.google.cloud.comp"
-          + "ute.v1.DeleteHealthCheckRequest\032\".google"
-          + ".cloud.compute.v1.Operation\"s\332A\024project,"
-          + "health_check\212N\020GlobalOperations\202\323\344\223\002C*A/"
-          + "compute/v1/projects/{project}/global/hea"
-          + "lthChecks/{health_check}\022\275\001\n\003Get\022..googl"
-          + "e.cloud.compute.v1.GetHealthCheckRequest"
-          + "\032$.google.cloud.compute.v1.HealthCheck\"`"
-          + "\332A\024project,health_check\202\323\344\223\002C\022A/compute/"
-          + "v1/projects/{project}/global/healthCheck"
-          + "s/{health_check}\022\346\001\n\006Insert\0221.google.clo"
-          + "ud.compute.v1.InsertHealthCheckRequest\032\""
-          + ".google.cloud.compute.v1.Operation\"\204\001\332A\035"
-          + "project,health_check_resource\212N\020GlobalOp"
-          + "erations\202\323\344\223\002K\"2/compute/v1/projects/{pr"
-          + "oject}/global/healthChecks:\025health_check"
-          + "_resource\022\250\001\n\004List\0220.google.cloud.comput"
-          + "e.v1.ListHealthChecksRequest\032(.google.cl"
-          + "oud.compute.v1.HealthCheckList\"D\332A\007proje"
-          + "ct\202\323\344\223\0024\0222/compute/v1/projects/{project}"
-          + "/global/healthChecks\022\200\002\n\005Patch\0220.google."
-          + "cloud.compute.v1.PatchHealthCheckRequest"
-          + "\032\".google.cloud.compute.v1.Operation\"\240\001\332"
-          + "A*project,health_check,health_check_reso"
-          + "urce\212N\020GlobalOperations\202\323\344\223\002Z2A/compute/"
-          + "v1/projects/{project}/global/healthCheck"
-          + "s/{health_check}:\025health_check_resource\022"
-          + "\270\002\n\022TestIamPermissions\022=.google.cloud.co"
-          + "mpute.v1.TestIamPermissionsHealthCheckRe"
-          + "quest\0320.google.cloud.compute.v1.TestPerm"
-          + "issionsResponse\"\260\001\332A2project,resource,te"
-          + "st_permissions_request_resource\202\323\344\223\002u\"P/"
-          + "compute/v1/projects/{project}/global/hea"
-          + "lthChecks/{resource}/testIamPermissions:"
-          + "!test_permissions_request_resource\022\202\002\n\006U"
-          + "pdate\0221.google.cloud.compute.v1.UpdateHe"
-          + "althCheckRequest\032\".google.cloud.compute."
-          + "v1.Operation\"\240\001\332A*project,health_check,h"
-          + "ealth_check_resource\212N\020GlobalOperations\202"
-          + "\323\344\223\002Z\032A/compute/v1/projects/{project}/gl"
-          + "obal/healthChecks/{health_check}:\025health"
-          + "_check_resource\032r\312A\026compute.googleapis.c"
-          + "om\322AVhttps://www.googleapis.com/auth/com"
-          + "pute,https://www.googleapis.com/auth/clo"
-          + "ud-platform2\266\006\n\005Hosts\022\275\001\n\003Get\022\'.google.c"
-          + "loud.compute.v1.GetHostRequest\032\035.google."
-          + "cloud.compute.v1.Host\"n\332A\035project,zone,a"
-          + "ssociation,host\202\323\344\223\002H\022F/compute/v1/proje"
-          + "cts/{project}/zones/{zone}/{association}"
-          + "/hosts/{host}\022\264\002\n\nGetVersion\022..google.cl"
-          + "oud.compute.v1.GetVersionHostRequest\032\".g"
-          + "oogle.cloud.compute.v1.Operation\"\321\001\332A@pr"
-          + "oject,zone,association,host,hosts_get_ve"
-          + "rsion_request_resource\212N\016ZoneOperations\202"
-          + "\323\344\223\002w\"Q/compute/v1/projects/{project}/zo"
-          + "nes/{zone}/{association}/hosts/{host}/ge"
-          + "tVersion:\"hosts_get_version_request_reso"
-          + "urce\022\301\001\n\004List\022).google.cloud.compute.v1."
-          + "ListHostsRequest\032*.google.cloud.compute."
-          + "v1.HostsListResponse\"b\332A\030project,zone,as"
-          + "sociation\202\323\344\223\002A\022?/compute/v1/projects/{p"
-          + "roject}/zones/{zone}/{association}/hosts"
-          + "\032r\312A\026compute.googleapis.com\322AVhttps://ww"
-          + "w.googleapis.com/auth/compute,https://ww"
-          + "w.googleapis.com/auth/cloud-platform2\204\003\n"
-          + "\020ImageFamilyViews\022\310\001\n\003Get\0222.google.cloud"
-          + ".compute.v1.GetImageFamilyViewRequest\032(."
-          + "google.cloud.compute.v1.ImageFamilyView\""
-          + "c\332A\023project,zone,family\202\323\344\223\002G\022E/compute/"
-          + "v1/projects/{project}/zones/{zone}/image"
-          + "FamilyViews/{family}\032\244\001\312A\026compute.google"
-          + "apis.com\322A\207\001https://www.googleapis.com/a"
-          + "uth/compute.readonly,https://www.googlea"
-          + "pis.com/auth/compute,https://www.googlea"
-          + "pis.com/auth/cloud-platform2\374\023\n\006Images\022\272"
-          + "\001\n\006Delete\022+.google.cloud.compute.v1.Dele"
-          + "teImageRequest\032\".google.cloud.compute.v1"
-          + ".Operation\"_\332A\rproject,image\212N\020GlobalOpe"
-          + "rations\202\323\344\223\0026*4/compute/v1/projects/{pro"
-          + "ject}/global/images/{image}\022\204\002\n\tDeprecat"
-          + "e\022..google.cloud.compute.v1.DeprecateIma"
-          + "geRequest\032\".google.cloud.compute.v1.Oper"
-          + "ation\"\242\001\332A)project,image,deprecation_sta"
-          + "tus_resource\212N\020GlobalOperations\202\323\344\223\002]\">/"
+          + "is.com/auth/cloud-platform2\204\003\n\020ImageFami"
+          + "lyViews\022\310\001\n\003Get\0222.google.cloud.compute.v"
+          + "1.GetImageFamilyViewRequest\032(.google.clo"
+          + "ud.compute.v1.ImageFamilyView\"c\332A\023projec"
+          + "t,zone,family\202\323\344\223\002G\022E/compute/v1/project"
+          + "s/{project}/zones/{zone}/imageFamilyView",
+      "s/{family}\032\244\001\312A\026compute.googleapis.com\322A"
+          + "\207\001https://www.googleapis.com/auth/comput"
+          + "e.readonly,https://www.googleapis.com/au"
+          + "th/compute,https://www.googleapis.com/au"
+          + "th/cloud-platform2\374\023\n\006Images\022\272\001\n\006Delete\022"
+          + "+.google.cloud.compute.v1.DeleteImageReq"
+          + "uest\032\".google.cloud.compute.v1.Operation"
+          + "\"_\332A\rproject,image\212N\020GlobalOperations\202\323\344"
+          + "\223\0026*4/compute/v1/projects/{project}/glob"
+          + "al/images/{image}\022\204\002\n\tDeprecate\022..google"
+          + ".cloud.compute.v1.DeprecateImageRequest\032"
+          + "\".google.cloud.compute.v1.Operation\"\242\001\332A"
+          + ")project,image,deprecation_status_resour"
+          + "ce\212N\020GlobalOperations\202\323\344\223\002]\">/compute/v1"
+          + "/projects/{project}/global/images/{image"
+          + "}/deprecate:\033deprecation_status_resource"
+          + "\022\235\001\n\003Get\022(.google.cloud.compute.v1.GetIm"
+          + "ageRequest\032\036.google.cloud.compute.v1.Ima"
+          + "ge\"L\332A\rproject,image\202\323\344\223\0026\0224/compute/v1/"
+          + "projects/{project}/global/images/{image}"
+          + "\022\272\001\n\rGetFromFamily\0222.google.cloud.comput"
+          + "e.v1.GetFromFamilyImageRequest\032\036.google."
+          + "cloud.compute.v1.Image\"U\332A\016project,famil"
+          + "y\202\323\344\223\002>\022\022\",/compute/v1/proje"
-          + "cts/{project}/global/images:\016image_resou"
-          + "rce\022\226\001\n\004List\022*.google.cloud.compute.v1.L"
-          + "istImagesRequest\032\".google.cloud.compute."
-          + "v1.ImageList\">\332A\007project\202\323\344\223\002.\022,/compute"
-          + "/v1/projects/{project}/global/images\022\327\001\n"
-          + "\005Patch\022*.google.cloud.compute.v1.PatchIm"
-          + "ageRequest\032\".google.cloud.compute.v1.Ope"
-          + "ration\"~\332A\034project,image,image_resource\212"
-          + "N\020GlobalOperations\202\323\344\223\002F24/compute/v1/pr"
-          + "ojects/{project}/global/images/{image}:\016"
-          + "image_resource\022\213\002\n\014SetIamPolicy\0221.google"
-          + ".cloud.compute.v1.SetIamPolicyImageReque"
-          + "st\032\037.google.cloud.compute.v1.Policy\"\246\001\332A"
-          + "3project,resource,global_set_policy_requ"
-          + "est_resource\202\323\344\223\002j\"D/compute/v1/projects"
-          + "/{project}/global/images/{resource}/setI"
-          + "amPolicy:\"global_set_policy_request_reso"
-          + "urce\022\230\002\n\tSetLabels\022..google.cloud.comput"
-          + "e.v1.SetLabelsImageRequest\032\".google.clou"
-          + "d.compute.v1.Operation\"\266\001\332A3project,reso"
-          + "urce,global_set_labels_request_resource\212"
-          + "N\020GlobalOperations\202\323\344\223\002g\"A/compute/v1/pr"
-          + "ojects/{project}/global/images/{resource",
-      "}/setLabels:\"global_set_labels_request_r"
-          + "esource\022\254\002\n\022TestIamPermissions\0227.google."
-          + "cloud.compute.v1.TestIamPermissionsImage"
-          + "Request\0320.google.cloud.compute.v1.TestPe"
-          + "rmissionsResponse\"\252\001\332A2project,resource,"
-          + "test_permissions_request_resource\202\323\344\223\002o\""
-          + "J/compute/v1/projects/{project}/global/i"
-          + "mages/{resource}/testIamPermissions:!tes"
-          + "t_permissions_request_resource\032r\312A\026compu"
-          + "te.googleapis.com\322AVhttps://www.googleap"
-          + "is.com/auth/compute,https://www.googleap"
-          + "is.com/auth/cloud-platform2\242\016\n\"InstanceG"
-          + "roupManagerResizeRequests\022\311\002\n\006Cancel\022G.g"
-          + "oogle.cloud.compute.v1.CancelInstanceGro"
-          + "upManagerResizeRequestRequest\032\".google.c"
-          + "loud.compute.v1.Operation\"\321\001\332A2project,z"
-          + "one,instance_group_manager,resize_reques"
-          + "t\212N\016ZoneOperations\202\323\344\223\002\204\001\"\201\001/compute/v1/"
+          + "ges/{resource}/getIamPolicy\022\313\001\n\006Insert\022+"
+          + ".google.cloud.compute.v1.InsertImageRequ"
+          + "est\032\".google.cloud.compute.v1.Operation\""
+          + "p\332A\026project,image_resource\212N\020GlobalOpera"
+          + "tions\202\323\344\223\002>\",/compute/v1/projects/{proje"
+          + "ct}/global/images:\016image_resource\022\226\001\n\004Li"
+          + "st\022*.google.cloud.compute.v1.ListImagesR"
+          + "equest\032\".google.cloud.compute.v1.ImageLi"
+          + "st\">\332A\007project\202\323\344\223\002.\022,/compute/v1/projec"
+          + "ts/{project}/global/images\022\327\001\n\005Patch\022*.g"
+          + "oogle.cloud.compute.v1.PatchImageRequest"
+          + "\032\".google.cloud.compute.v1.Operation\"~\332A"
+          + "\034project,image,image_resource\212N\020GlobalOp"
+          + "erations\202\323\344\223\002F24/compute/v1/projects/{pr"
+          + "oject}/global/images/{image}:\016image_reso"
+          + "urce\022\213\002\n\014SetIamPolicy\0221.google.cloud.com"
+          + "pute.v1.SetIamPolicyImageRequest\032\037.googl"
+          + "e.cloud.compute.v1.Policy\"\246\001\332A3project,r"
+          + "esource,global_set_policy_request_resour"
+          + "ce\202\323\344\223\002j\"D/compute/v1/projects/{project}"
+          + "/global/images/{resource}/setIamPolicy:\""
+          + "global_set_policy_request_resource\022\230\002\n\tS"
+          + "etLabels\022..google.cloud.compute.v1.SetLa"
+          + "belsImageRequest\032\".google.cloud.compute."
+          + "v1.Operation\"\266\001\332A3project,resource,globa"
+          + "l_set_labels_request_resource\212N\020GlobalOp"
+          + "erations\202\323\344\223\002g\"A/compute/v1/projects/{pr"
+          + "oject}/global/images/{resource}/setLabel"
+          + "s:\"global_set_labels_request_resource\022\254\002"
+          + "\n\022TestIamPermissions\0227.google.cloud.comp"
+          + "ute.v1.TestIamPermissionsImageRequest\0320."
+          + "google.cloud.compute.v1.TestPermissionsR"
+          + "esponse\"\252\001\332A2project,resource,test_permi"
+          + "ssions_request_resource\202\323\344\223\002o\"J/compute/"
+          + "v1/projects/{project}/global/images/{res"
+          + "ource}/testIamPermissions:!test_permissi"
+          + "ons_request_resource\032r\312A\026compute.googlea"
+          + "pis.com\322AVhttps://www.googleapis.com/aut"
+          + "h/compute,https://www.googleapis.com/aut"
+          + "h/cloud-platform2\242\016\n\"InstanceGroupManage"
+          + "rResizeRequests\022\311\002\n\006Cancel\022G.google.clou"
+          + "d.compute.v1.CancelInstanceGroupManagerR"
+          + "esizeRequestRequest\032\".google.cloud.compu"
+          + "te.v1.Operation\"\321\001\332A2project,zone,instan"
+          + "ce_group_manager,resize_request\212N\016ZoneOp"
+          + "erations\202\323\344\223\002\204\001\"\201\001/compute/v1/projects/{"
+          + "project}/zones/{zone}/instanceGroupManag"
+          + "ers/{instance_group_manager}/resizeReque"
+          + "sts/{resize_request}/cancel\022\300\002\n\006Delete\022G"
+          + ".google.cloud.compute.v1.DeleteInstanceG"
+          + "roupManagerResizeRequestRequest\032\".google"
+          + ".cloud.compute.v1.Operation\"\310\001\332A2project"
+          + ",zone,instance_group_manager,resize_requ"
+          + "est\212N\016ZoneOperations\202\323\344\223\002|*z/compute/v1/"
           + "projects/{project}/zones/{zone}/instance"
           + "GroupManagers/{instance_group_manager}/r"
-          + "esizeRequests/{resize_request}/cancel\022\300\002"
-          + "\n\006Delete\022G.google.cloud.compute.v1.Delet"
-          + "eInstanceGroupManagerResizeRequestReques"
-          + "t\032\".google.cloud.compute.v1.Operation\"\310\001"
-          + "\332A2project,zone,instance_group_manager,r"
-          + "esize_request\212N\016ZoneOperations\202\323\344\223\002|*z/c"
-          + "ompute/v1/projects/{project}/zones/{zone"
-          + "}/instanceGroupManagers/{instance_group_"
-          + "manager}/resizeRequests/{resize_request}"
-          + "\022\301\002\n\003Get\022D.google.cloud.compute.v1.GetIn"
-          + "stanceGroupManagerResizeRequestRequest\032:"
-          + ".google.cloud.compute.v1.InstanceGroupMa"
-          + "nagerResizeRequest\"\267\001\332A2project,zone,ins"
-          + "tance_group_manager,resize_request\202\323\344\223\002|"
-          + "\022z/compute/v1/projects/{project}/zones/{"
-          + "zone}/instanceGroupManagers/{instance_gr"
-          + "oup_manager}/resizeRequests/{resize_requ"
-          + "est}\022\200\003\n\006Insert\022G.google.cloud.compute.v"
-          + "1.InsertInstanceGroupManagerResizeReques"
-          + "tRequest\032\".google.cloud.compute.v1.Opera"
-          + "tion\"\210\002\332ARproject,zone,instance_group_ma"
-          + "nager,instance_group_manager_resize_requ"
-          + "est_resource\212N\016ZoneOperations\202\323\344\223\002\233\001\"i/c"
-          + "ompute/v1/projects/{project}/zones/{zone"
-          + "}/instanceGroupManagers/{instance_group_"
-          + "manager}/resizeRequests:.instance_group_"
-          + "manager_resize_request_resource\022\261\002\n\004List"
-          + "\022F.google.cloud.compute.v1.ListInstanceG"
-          + "roupManagerResizeRequestsRequest\032G.googl"
-          + "e.cloud.compute.v1.InstanceGroupManagerR"
-          + "esizeRequestsListResponse\"\227\001\332A#project,z"
-          + "one,instance_group_manager\202\323\344\223\002k\022i/compu"
-          + "te/v1/projects/{project}/zones/{zone}/in"
-          + "stanceGroupManagers/{instance_group_mana"
-          + "ger}/resizeRequests\032r\312A\026compute.googleap"
-          + "is.com\322AVhttps://www.googleapis.com/auth"
-          + "/compute,https://www.googleapis.com/auth"
-          + "/cloud-platform2\325E\n\025InstanceGroupManager"
-          + "s\022\241\003\n\020AbandonInstances\022D.google.cloud.co"
-          + "mpute.v1.AbandonInstancesInstanceGroupMa"
-          + "nagerRequest\032\".google.cloud.compute.v1.O"
-          + "peration\"\242\002\332A^project,zone,instance_grou"
-          + "p_manager,instance_group_managers_abando"
-          + "n_instances_request_resource\212N\016ZoneOpera"
-          + "tions\202\323\344\223\002\251\001\"k/compute/v1/projects/{proj"
-          + "ect}/zones/{zone}/instanceGroupManagers/"
-          + "{instance_group_manager}/abandonInstance"
-          + "s::instance_group_managers_abandon_insta"
-          + "nces_request_resource\022\345\001\n\016AggregatedList"
-          + "\022C.google.cloud.compute.v1.AggregatedLis"
-          + "tInstanceGroupManagersRequest\032;.google.c"
-          + "loud.compute.v1.InstanceGroupManagerAggr"
-          + "egatedList\"Q\332A\007project\202\323\344\223\002A\022?/compute/v"
-          + "1/projects/{project}/aggregated/instance"
-          + "GroupManagers\022\256\003\n\027ApplyUpdatesToInstance"
-          + "s\022K.google.cloud.compute.v1.ApplyUpdates"
-          + "ToInstancesInstanceGroupManagerRequest\032\""
-          + ".google.cloud.compute.v1.Operation\"\241\002\332AZ"
+          + "esizeRequests/{resize_request}\022\301\002\n\003Get\022D"
+          + ".google.cloud.compute.v1.GetInstanceGrou"
+          + "pManagerResizeRequestRequest\032:.google.cl"
+          + "oud.compute.v1.InstanceGroupManagerResiz"
+          + "eRequest\"\267\001\332A2project,zone,instance_grou"
+          + "p_manager,resize_request\202\323\344\223\002|\022z/compute"
+          + "/v1/projects/{project}/zones/{zone}/inst"
+          + "anceGroupManagers/{instance_group_manage"
+          + "r}/resizeRequests/{resize_request}\022\200\003\n\006I"
+          + "nsert\022G.google.cloud.compute.v1.InsertIn"
+          + "stanceGroupManagerResizeRequestRequest\032\""
+          + ".google.cloud.compute.v1.Operation\"\210\002\332AR"
           + "project,zone,instance_group_manager,inst"
-          + "ance_group_managers_apply_updates_reques"
-          + "t_resource\212N\016ZoneOperations\202\323\344\223\002\254\001\"r/com"
-          + "pute/v1/projects/{project}/zones/{zone}/"
-          + "instanceGroupManagers/{instance_group_ma"
-          + "nager}/applyUpdatesToInstances:6instance"
-          + "_group_managers_apply_updates_request_re"
-          + "source\022\234\003\n\017CreateInstances\022C.google.clou"
-          + "d.compute.v1.CreateInstancesInstanceGrou"
-          + "pManagerRequest\032\".google.cloud.compute.v"
-          + "1.Operation\"\237\002\332A]project,zone,instance_g"
-          + "roup_manager,instance_group_managers_cre"
-          + "ate_instances_request_resource\212N\016ZoneOpe"
-          + "rations\202\323\344\223\002\247\001\"j/compute/v1/projects/{pr"
-          + "oject}/zones/{zone}/instanceGroupManager"
-          + "s/{instance_group_manager}/createInstanc"
-          + "es:9instance_group_managers_create_insta"
-          + "nces_request_resource\022\204\002\n\006Delete\022:.googl"
-          + "e.cloud.compute.v1.DeleteInstanceGroupMa"
-          + "nagerRequest\032\".google.cloud.compute.v1.O"
-          + "peration\"\231\001\332A#project,zone,instance_grou"
-          + "p_manager\212N\016ZoneOperations\202\323\344\223\002\\*Z/compu"
-          + "te/v1/projects/{project}/zones/{zone}/in"
-          + "stanceGroupManagers/{instance_group_mana"
-          + "ger}\022\234\003\n\017DeleteInstances\022C.google.cloud."
-          + "compute.v1.DeleteInstancesInstanceGroupM"
-          + "anagerRequest\032\".google.cloud.compute.v1."
-          + "Operation\"\237\002\332A]project,zone,instance_gro"
-          + "up_manager,instance_group_managers_delet"
-          + "e_instances_request_resource\212N\016ZoneOpera"
-          + "tions\202\323\344\223\002\247\001\"j/compute/v1/projects/{proj"
-          + "ect}/zones/{zone}/instanceGroupManagers/"
-          + "{instance_group_manager}/deleteInstances"
-          + ":9instance_group_managers_delete_instanc"
-          + "es_request_resource\022\305\003\n\030DeletePerInstanc"
-          + "eConfigs\022L.google.cloud.compute.v1.Delet"
-          + "ePerInstanceConfigsInstanceGroupManagerR"
-          + "equest\032\".google.cloud.compute.v1.Operati"
-          + "on\"\266\002\332Adproject,zone,instance_group_mana"
-          + "ger,instance_group_managers_delete_per_i"
-          + "nstance_configs_req_resource\212N\016ZoneOpera"
-          + "tions\202\323\344\223\002\267\001\"s/compute/v1/projects/{proj"
-          + "ect}/zones/{zone}/instanceGroupManagers/"
-          + "{instance_group_manager}/deletePerInstan"
-          + "ceConfigs:@instance_group_managers_delet"
-          + "e_per_instance_configs_req_resource\022\370\001\n\003"
-          + "Get\0227.google.cloud.compute.v1.GetInstanc"
-          + "eGroupManagerRequest\032-.google.cloud.comp"
-          + "ute.v1.InstanceGroupManager\"\210\001\332A#project"
-          + ",zone,instance_group_manager\202\323\344\223\002\\\022Z/com"
-          + "pute/v1/projects/{project}/zones/{zone}/"
-          + "instanceGroupManagers/{instance_group_ma"
-          + "nager}\022\225\002\n\006Insert\022:.google.cloud.compute"
-          + ".v1.InsertInstanceGroupManagerRequest\032\"."
-          + "google.cloud.compute.v1.Operation\"\252\001\332A,p"
-          + "roject,zone,instance_group_manager_resou"
-          + "rce\212N\016ZoneOperations\202\323\344\223\002d\"A/compute/v1/"
+          + "ance_group_manager_resize_request_resour"
+          + "ce\212N\016ZoneOperations\202\323\344\223\002\233\001\"i/compute/v1/"
           + "projects/{project}/zones/{zone}/instance"
-          + "GroupManagers:\037instance_group_manager_re"
-          + "source\022\316\001\n\004List\0229.google.cloud.compute.v"
-          + "1.ListInstanceGroupManagersRequest\0321.goo"
-          + "gle.cloud.compute.v1.InstanceGroupManage"
-          + "rList\"X\332A\014project,zone\202\323\344\223\002C\022A/compute/v"
-          + "1/projects/{project}/zones/{zone}/instan"
-          + "ceGroupManagers\022\245\002\n\nListErrors\022?.google."
-          + "cloud.compute.v1.ListErrorsInstanceGroup"
-          + "ManagersRequest\032@.google.cloud.compute.v"
-          + "1.InstanceGroupManagersListErrorsRespons"
-          + "e\"\223\001\332A#project,zone,instance_group_manag"
-          + "er\202\323\344\223\002g\022e/compute/v1/projects/{project}"
-          + "/zones/{zone}/instanceGroupManagers/{ins"
-          + "tance_group_manager}/listErrors\022\315\002\n\024List"
-          + "ManagedInstances\022I.google.cloud.compute."
-          + "v1.ListManagedInstancesInstanceGroupMana"
-          + "gersRequest\032J.google.cloud.compute.v1.In"
-          + "stanceGroupManagersListManagedInstancesR"
-          + "esponse\"\235\001\332A#project,zone,instance_group"
-          + "_manager\202\323\344\223\002q\"o/compute/v1/projects/{pr"
-          + "oject}/zones/{zone}/instanceGroupManager"
-          + "s/{instance_group_manager}/listManagedIn"
-          + "stances\022\321\002\n\026ListPerInstanceConfigs\022K.goo"
-          + "gle.cloud.compute.v1.ListPerInstanceConf"
-          + "igsInstanceGroupManagersRequest\032H.google"
-          + ".cloud.compute.v1.InstanceGroupManagersL"
-          + "istPerInstanceConfigsResp\"\237\001\332A#project,z"
-          + "one,instance_group_manager\202\323\344\223\002s\"q/compu"
-          + "te/v1/projects/{project}/zones/{zone}/in"
-          + "stanceGroupManagers/{instance_group_mana"
-          + "ger}/listPerInstanceConfigs\022\303\002\n\005Patch\0229."
-          + "google.cloud.compute.v1.PatchInstanceGro"
-          + "upManagerRequest\032\".google.cloud.compute."
-          + "v1.Operation\"\332\001\332ACproject,zone,instance_"
-          + "group_manager,instance_group_manager_res"
-          + "ource\212N\016ZoneOperations\202\323\344\223\002}2Z/compute/v"
-          + "1/projects/{project}/zones/{zone}/instan"
-          + "ceGroupManagers/{instance_group_manager}"
-          + ":\037instance_group_manager_resource\022\300\003\n\027Pa"
-          + "tchPerInstanceConfigs\022K.google.cloud.com"
-          + "pute.v1.PatchPerInstanceConfigsInstanceG"
-          + "roupManagerRequest\032\".google.cloud.comput"
-          + "e.v1.Operation\"\263\002\332Acproject,zone,instanc"
-          + "e_group_manager,instance_group_managers_"
-          + "patch_per_instance_configs_req_resource\212"
-          + "N\016ZoneOperations\202\323\344\223\002\265\001\"r/compute/v1/pro"
-          + "jects/{project}/zones/{zone}/instanceGro"
-          + "upManagers/{instance_group_manager}/patc"
-          + "hPerInstanceConfigs:?instance_group_mana"
-          + "gers_patch_per_instance_configs_req_reso"
-          + "urce\022\246\003\n\021RecreateInstances\022E.google.clou"
-          + "d.compute.v1.RecreateInstancesInstanceGr"
-          + "oupManagerRequest\032\".google.cloud.compute"
-          + ".v1.Operation\"\245\002\332A_project,zone,instance"
-          + "_group_manager,instance_group_managers_r"
-          + "ecreate_instances_request_resource\212N\016Zon"
-          + "eOperations\202\323\344\223\002\253\001\"l/compute/v1/projects"
-          + "/{project}/zones/{zone}/instanceGroupMan"
-          + "agers/{instance_group_manager}/recreateI"
-          + "nstances:;instance_group_managers_recrea"
-          + "te_instances_request_resource\022\220\002\n\006Resize"
-          + "\022:.google.cloud.compute.v1.ResizeInstanc"
-          + "eGroupManagerRequest\032\".google.cloud.comp"
-          + "ute.v1.Operation\"\245\001\332A(project,zone,insta"
-          + "nce_group_manager,size\212N\016ZoneOperations\202"
-          + "\323\344\223\002c\"a/compute/v1/projects/{project}/zo"
-          + "nes/{zone}/instanceGroupManagers/{instan"
-          + "ce_group_manager}/resize\022\234\003\n\017ResumeInsta"
-          + "nces\022C.google.cloud.compute.v1.ResumeIns"
-          + "tancesInstanceGroupManagerRequest\032\".goog"
-          + "le.cloud.compute.v1.Operation\"\237\002\332A]proje"
-          + "ct,zone,instance_group_manager,instance_"
-          + "group_managers_resume_instances_request_"
-          + "resource\212N\016ZoneOperations\202\323\344\223\002\247\001\"j/compu"
-          + "te/v1/projects/{project}/zones/{zone}/in"
-          + "stanceGroupManagers/{instance_group_mana"
-          + "ger}/resumeInstances:9instance_group_man"
-          + "agers_resume_instances_request_resource\022"
-          + "\262\003\n\023SetInstanceTemplate\022G.google.cloud.c"
-          + "ompute.v1.SetInstanceTemplateInstanceGro"
-          + "upManagerRequest\032\".google.cloud.compute."
-          + "v1.Operation\"\255\002\332Abproject,zone,instance_"
-          + "group_manager,instance_group_managers_se"
-          + "t_instance_template_request_resource\212N\016Z"
-          + "oneOperations\202\323\344\223\002\260\001\"n/compute/v1/projec"
-          + "ts/{project}/zones/{zone}/instanceGroupM"
-          + "anagers/{instance_group_manager}/setInst"
-          + "anceTemplate:>instance_group_managers_se"
-          + "t_instance_template_request_resource\022\231\003\n"
-          + "\016SetTargetPools\022B.google.cloud.compute.v"
-          + "1.SetTargetPoolsInstanceGroupManagerRequ"
+          + "GroupManagers/{instance_group_manager}/r"
+          + "esizeRequests:.instance_group_manager_re"
+          + "size_request_resource\022\261\002\n\004List\022F.google."
+          + "cloud.compute.v1.ListInstanceGroupManage"
+          + "rResizeRequestsRequest\032G.google.cloud.co"
+          + "mpute.v1.InstanceGroupManagerResizeReque"
+          + "stsListResponse\"\227\001\332A#project,zone,instan"
+          + "ce_group_manager\202\323\344\223\002k\022i/compute/v1/proj"
+          + "ects/{project}/zones/{zone}/instanceGrou"
+          + "pManagers/{instance_group_manager}/resiz"
+          + "eRequests\032r\312A\026compute.googleapis.com\322AVh"
+          + "ttps://www.googleapis.com/auth/compute,h"
+          + "ttps://www.googleapis.com/auth/cloud-pla"
+          + "tform2\325E\n\025InstanceGroupManagers\022\241\003\n\020Aban"
+          + "donInstances\022D.google.cloud.compute.v1.A"
+          + "bandonInstancesInstanceGroupManagerReque"
+          + "st\032\".google.cloud.compute.v1.Operation\"\242"
+          + "\002\332A^project,zone,instance_group_manager,"
+          + "instance_group_managers_abandon_instance"
+          + "s_request_resource\212N\016ZoneOperations\202\323\344\223\002"
+          + "\251\001\"k/compute/v1/projects/{project}/zones"
+          + "/{zone}/instanceGroupManagers/{instance_"
+          + "group_manager}/abandonInstances::instanc"
+          + "e_group_managers_abandon_instances_reque"
+          + "st_resource\022\345\001\n\016AggregatedList\022C.google."
+          + "cloud.compute.v1.AggregatedListInstanceG"
+          + "roupManagersRequest\032;.google.cloud.compu"
+          + "te.v1.InstanceGroupManagerAggregatedList"
+          + "\"Q\332A\007project\202\323\344\223\002A\022?/compute/v1/projects"
+          + "/{project}/aggregated/instanceGroupManag"
+          + "ers\022\256\003\n\027ApplyUpdatesToInstances\022K.google"
+          + ".cloud.compute.v1.ApplyUpdatesToInstance"
+          + "sInstanceGroupManagerRequest\032\".google.cl"
+          + "oud.compute.v1.Operation\"\241\002\332AZproject,zo"
+          + "ne,instance_group_manager,instance_group"
+          + "_managers_apply_updates_request_resource"
+          + "\212N\016ZoneOperations\202\323\344\223\002\254\001\"r/compute/v1/pr"
+          + "ojects/{project}/zones/{zone}/instanceGr"
+          + "oupManagers/{instance_group_manager}/app"
+          + "lyUpdatesToInstances:6instance_group_man"
+          + "agers_apply_updates_request_resource\022\234\003\n"
+          + "\017CreateInstances\022C.google.cloud.compute."
+          + "v1.CreateInstancesInstanceGroupManagerRe"
+          + "quest\032\".google.cloud.compute.v1.Operatio"
+          + "n\"\237\002\332A]project,zone,instance_group_manag"
+          + "er,instance_group_managers_create_instan"
+          + "ces_request_resource\212N\016ZoneOperations\202\323\344"
+          + "\223\002\247\001\"j/compute/v1/projects/{project}/zon"
+          + "es/{zone}/instanceGroupManagers/{instanc"
+          + "e_group_manager}/createInstances:9instan"
+          + "ce_group_managers_create_instances_reque"
+          + "st_resource\022\204\002\n\006Delete\022:.google.cloud.co"
+          + "mpute.v1.DeleteInstanceGroupManagerReque"
+          + "st\032\".google.cloud.compute.v1.Operation\"\231"
+          + "\001\332A#project,zone,instance_group_manager\212"
+          + "N\016ZoneOperations\202\323\344\223\002\\*Z/compute/v1/proj"
+          + "ects/{project}/zones/{zone}/instanceGrou"
+          + "pManagers/{instance_group_manager}\022\234\003\n\017D"
+          + "eleteInstances\022C.google.cloud.compute.v1"
+          + ".DeleteInstancesInstanceGroupManagerRequ"
           + "est\032\".google.cloud.compute.v1.Operation\""
-          + "\236\002\332A]project,zone,instance_group_manager"
-          + ",instance_group_managers_set_target_pool"
+          + "\237\002\332A]project,zone,instance_group_manager"
+          + ",instance_group_managers_delete_instance"
           + "s_request_resource\212N\016ZoneOperations\202\323\344\223\002"
-          + "\246\001\"i/compute/v1/projects/{project}/zones"
+          + "\247\001\"j/compute/v1/projects/{project}/zones"
           + "/{zone}/instanceGroupManagers/{instance_"
-          + "group_manager}/setTargetPools:9instance_"
-          + "group_managers_set_target_pools_request_"
-          + "resource\022\227\003\n\016StartInstances\022B.google.clo"
-          + "ud.compute.v1.StartInstancesInstanceGrou"
-          + "pManagerRequest\032\".google.cloud.compute.v"
-          + "1.Operation\"\234\002\332A\\project,zone,instance_g"
-          + "roup_manager,instance_group_managers_sta"
-          + "rt_instances_request_resource\212N\016ZoneOper"
-          + "ations\202\323\344\223\002\245\001\"i/compute/v1/projects/{pro"
+          + "group_manager}/deleteInstances:9instance"
+          + "_group_managers_delete_instances_request"
+          + "_resource\022\305\003\n\030DeletePerInstanceConfigs\022L"
+          + ".google.cloud.compute.v1.DeletePerInstan"
+          + "ceConfigsInstanceGroupManagerRequest\032\".g"
+          + "oogle.cloud.compute.v1.Operation\"\266\002\332Adpr"
+          + "oject,zone,instance_group_manager,instan"
+          + "ce_group_managers_delete_per_instance_co"
+          + "nfigs_req_resource\212N\016ZoneOperations\202\323\344\223\002"
+          + "\267\001\"s/compute/v1/projects/{project}/zones"
+          + "/{zone}/instanceGroupManagers/{instance_"
+          + "group_manager}/deletePerInstanceConfigs:"
+          + "@instance_group_managers_delete_per_inst"
+          + "ance_configs_req_resource\022\370\001\n\003Get\0227.goog"
+          + "le.cloud.compute.v1.GetInstanceGroupMana"
+          + "gerRequest\032-.google.cloud.compute.v1.Ins"
+          + "tanceGroupManager\"\210\001\332A#project,zone,inst"
+          + "ance_group_manager\202\323\344\223\002\\\022Z/compute/v1/pr"
+          + "ojects/{project}/zones/{zone}/instanceGr"
+          + "oupManagers/{instance_group_manager}\022\225\002\n"
+          + "\006Insert\022:.google.cloud.compute.v1.Insert"
+          + "InstanceGroupManagerRequest\032\".google.clo"
+          + "ud.compute.v1.Operation\"\252\001\332A,project,zon"
+          + "e,instance_group_manager_resource\212N\016Zone"
+          + "Operations\202\323\344\223\002d\"A/compute/v1/projects/{"
+          + "project}/zones/{zone}/instanceGroupManag"
+          + "ers:\037instance_group_manager_resource\022\316\001\n"
+          + "\004List\0229.google.cloud.compute.v1.ListInst"
+          + "anceGroupManagersRequest\0321.google.cloud."
+          + "compute.v1.InstanceGroupManagerList\"X\332A\014"
+          + "project,zone\202\323\344\223\002C\022A/compute/v1/projects"
+          + "/{project}/zones/{zone}/instanceGroupMan"
+          + "agers\022\245\002\n\nListErrors\022?.google.cloud.comp"
+          + "ute.v1.ListErrorsInstanceGroupManagersRe"
+          + "quest\032@.google.cloud.compute.v1.Instance"
+          + "GroupManagersListErrorsResponse\"\223\001\332A#pro"
+          + "ject,zone,instance_group_manager\202\323\344\223\002g\022e"
+          + "/compute/v1/projects/{project}/zones/{zo"
+          + "ne}/instanceGroupManagers/{instance_grou"
+          + "p_manager}/listErrors\022\315\002\n\024ListManagedIns"
+          + "tances\022I.google.cloud.compute.v1.ListMan"
+          + "agedInstancesInstanceGroupManagersReques"
+          + "t\032J.google.cloud.compute.v1.InstanceGrou"
+          + "pManagersListManagedInstancesResponse\"\235\001"
+          + "\332A#project,zone,instance_group_manager\202\323"
+          + "\344\223\002q\"o/compute/v1/projects/{project}/zon"
+          + "es/{zone}/instanceGroupManagers/{instanc"
+          + "e_group_manager}/listManagedInstances\022\321\002"
+          + "\n\026ListPerInstanceConfigs\022K.google.cloud."
+          + "compute.v1.ListPerInstanceConfigsInstanc"
+          + "eGroupManagersRequest\032H.google.cloud.com"
+          + "pute.v1.InstanceGroupManagersListPerInst"
+          + "anceConfigsResp\"\237\001\332A#project,zone,instan"
+          + "ce_group_manager\202\323\344\223\002s\"q/compute/v1/proj"
+          + "ects/{project}/zones/{zone}/instanceGrou"
+          + "pManagers/{instance_group_manager}/listP"
+          + "erInstanceConfigs\022\303\002\n\005Patch\0229.google.clo"
+          + "ud.compute.v1.PatchInstanceGroupManagerR"
+          + "equest\032\".google.cloud.compute.v1.Operati"
+          + "on\"\332\001\332ACproject,zone,instance_group_mana"
+          + "ger,instance_group_manager_resource\212N\016Zo"
+          + "neOperations\202\323\344\223\002}2Z/compute/v1/projects"
+          + "/{project}/zones/{zone}/instanceGroupMan"
+          + "agers/{instance_group_manager}:\037instance"
+          + "_group_manager_resource\022\300\003\n\027PatchPerInst"
+          + "anceConfigs\022K.google.cloud.compute.v1.Pa"
+          + "tchPerInstanceConfigsInstanceGroupManage"
+          + "rRequest\032\".google.cloud.compute.v1.Opera"
+          + "tion\"\263\002\332Acproject,zone,instance_group_ma"
+          + "nager,instance_group_managers_patch_per_"
+          + "instance_configs_req_resource\212N\016ZoneOper"
+          + "ations\202\323\344\223\002\265\001\"r/compute/v1/projects/{pro"
           + "ject}/zones/{zone}/instanceGroupManagers"
-          + "/{instance_group_manager}/startInstances"
-          + ":8instance_group_managers_start_instance"
-          + "s_request_resource\022\222\003\n\rStopInstances\022A.g"
-          + "oogle.cloud.compute.v1.StopInstancesInst"
+          + "/{instance_group_manager}/patchPerInstan"
+          + "ceConfigs:?instance_group_managers_patch"
+          + "_per_instance_configs_req_resource\022\246\003\n\021R"
+          + "ecreateInstances\022E.google.cloud.compute."
+          + "v1.RecreateInstancesInstanceGroupManager"
+          + "Request\032\".google.cloud.compute.v1.Operat"
+          + "ion\"\245\002\332A_project,zone,instance_group_man"
+          + "ager,instance_group_managers_recreate_in"
+          + "stances_request_resource\212N\016ZoneOperation"
+          + "s\202\323\344\223\002\253\001\"l/compute/v1/projects/{project}"
+          + "/zones/{zone}/instanceGroupManagers/{ins"
+          + "tance_group_manager}/recreateInstances:;"
+          + "instance_group_managers_recreate_instanc"
+          + "es_request_resource\022\220\002\n\006Resize\022:.google."
+          + "cloud.compute.v1.ResizeInstanceGroupMana"
+          + "gerRequest\032\".google.cloud.compute.v1.Ope"
+          + "ration\"\245\001\332A(project,zone,instance_group_"
+          + "manager,size\212N\016ZoneOperations\202\323\344\223\002c\"a/co"
+          + "mpute/v1/projects/{project}/zones/{zone}"
+          + "/instanceGroupManagers/{instance_group_m"
+          + "anager}/resize\022\234\003\n\017ResumeInstances\022C.goo"
+          + "gle.cloud.compute.v1.ResumeInstancesInst"
           + "anceGroupManagerRequest\032\".google.cloud.c"
-          + "ompute.v1.Operation\"\231\002\332A[project,zone,in"
+          + "ompute.v1.Operation\"\237\002\332A]project,zone,in"
           + "stance_group_manager,instance_group_mana"
-          + "gers_stop_instances_request_resource\212N\016Z"
-          + "oneOperations\202\323\344\223\002\243\001\"h/compute/v1/projec"
-          + "ts/{project}/zones/{zone}/instanceGroupM"
-          + "anagers/{instance_group_manager}/stopIns"
-          + "tances:7instance_group_managers_stop_ins"
-          + "tances_request_resource\022\241\003\n\020SuspendInsta"
-          + "nces\022D.google.cloud.compute.v1.SuspendIn"
-          + "stancesInstanceGroupManagerRequest\032\".goo"
-          + "gle.cloud.compute.v1.Operation\"\242\002\332A^proj"
-          + "ect,zone,instance_group_manager,instance"
-          + "_group_managers_suspend_instances_reques"
-          + "t_resource\212N\016ZoneOperations\202\323\344\223\002\251\001\"k/com"
-          + "pute/v1/projects/{project}/zones/{zone}/"
-          + "instanceGroupManagers/{instance_group_ma"
-          + "nager}/suspendInstances::instance_group_"
-          + "managers_suspend_instances_request_resou"
-          + "rce\022\305\003\n\030UpdatePerInstanceConfigs\022L.googl"
-          + "e.cloud.compute.v1.UpdatePerInstanceConf"
-          + "igsInstanceGroupManagerRequest\032\".google."
-          + "cloud.compute.v1.Operation\"\266\002\332Adproject,"
-          + "zone,instance_group_manager,instance_gro"
-          + "up_managers_update_per_instance_configs_"
-          + "req_resource\212N\016ZoneOperations\202\323\344\223\002\267\001\"s/c"
-          + "ompute/v1/projects/{project}/zones/{zone"
-          + "}/instanceGroupManagers/{instance_group_"
-          + "manager}/updatePerInstanceConfigs:@insta"
-          + "nce_group_managers_update_per_instance_c"
-          + "onfigs_req_resource\032r\312A\026compute.googleap"
-          + "is.com\322AVhttps://www.googleapis.com/auth"
-          + "/compute,https://www.googleapis.com/auth"
-          + "/cloud-platform2\272\027\n\016InstanceGroups\022\337\002\n\014A"
-          + "ddInstances\0229.google.cloud.compute.v1.Ad"
-          + "dInstancesInstanceGroupRequest\032\".google."
-          + "cloud.compute.v1.Operation\"\357\001\332AJproject,"
-          + "zone,instance_group,instance_groups_add_"
+          + "gers_resume_instances_request_resource\212N"
+          + "\016ZoneOperations\202\323\344\223\002\247\001\"j/compute/v1/proj"
+          + "ects/{project}/zones/{zone}/instanceGrou"
+          + "pManagers/{instance_group_manager}/resum"
+          + "eInstances:9instance_group_managers_resu"
+          + "me_instances_request_resource\022\262\003\n\023SetIns"
+          + "tanceTemplate\022G.google.cloud.compute.v1."
+          + "SetInstanceTemplateInstanceGroupManagerR"
+          + "equest\032\".google.cloud.compute.v1.Operati"
+          + "on\"\255\002\332Abproject,zone,instance_group_mana"
+          + "ger,instance_group_managers_set_instance"
+          + "_template_request_resource\212N\016ZoneOperati"
+          + "ons\202\323\344\223\002\260\001\"n/compute/v1/projects/{projec"
+          + "t}/zones/{zone}/instanceGroupManagers/{i"
+          + "nstance_group_manager}/setInstanceTempla"
+          + "te:>instance_group_managers_set_instance"
+          + "_template_request_resource\022\231\003\n\016SetTarget"
+          + "Pools\022B.google.cloud.compute.v1.SetTarge"
+          + "tPoolsInstanceGroupManagerRequest\032\".goog"
+          + "le.cloud.compute.v1.Operation\"\236\002\332A]proje"
+          + "ct,zone,instance_group_manager,instance_"
+          + "group_managers_set_target_pools_request_"
+          + "resource\212N\016ZoneOperations\202\323\344\223\002\246\001\"i/compu"
+          + "te/v1/projects/{project}/zones/{zone}/in"
+          + "stanceGroupManagers/{instance_group_mana"
+          + "ger}/setTargetPools:9instance_group_mana"
+          + "gers_set_target_pools_request_resource\022\227"
+          + "\003\n\016StartInstances\022B.google.cloud.compute"
+          + ".v1.StartInstancesInstanceGroupManagerRe"
+          + "quest\032\".google.cloud.compute.v1.Operatio"
+          + "n\"\234\002\332A\\project,zone,instance_group_manag"
+          + "er,instance_group_managers_start_instanc"
+          + "es_request_resource\212N\016ZoneOperations\202\323\344\223"
+          + "\002\245\001\"i/compute/v1/projects/{project}/zone"
+          + "s/{zone}/instanceGroupManagers/{instance"
+          + "_group_manager}/startInstances:8instance"
+          + "_group_managers_start_instances_request_"
+          + "resource\022\222\003\n\rStopInstances\022A.google.clou"
+          + "d.compute.v1.StopInstancesInstanceGroupM"
+          + "anagerRequest\032\".google.cloud.compute.v1."
+          + "Operation\"\231\002\332A[project,zone,instance_gro"
+          + "up_manager,instance_group_managers_stop_"
           + "instances_request_resource\212N\016ZoneOperati"
-          + "ons\202\323\344\223\002\212\001\"X/compute/v1/projects/{projec"
-          + "t}/zones/{zone}/instanceGroups/{instance"
-          + "_group}/addInstances:.instance_groups_ad"
-          + "d_instances_request_resource\022\320\001\n\016Aggrega"
-          + "tedList\022<.google.cloud.compute.v1.Aggreg"
-          + "atedListInstanceGroupsRequest\0324.google.c"
-          + "loud.compute.v1.InstanceGroupAggregatedL"
-          + "ist\"J\332A\007project\202\323\344\223\002:\0228/compute/v1/proje"
-          + "cts/{project}/aggregated/instanceGroups\022"
-          + "\346\001\n\006Delete\0223.google.cloud.compute.v1.Del"
-          + "eteInstanceGroupRequest\032\".google.cloud.c"
-          + "ompute.v1.Operation\"\202\001\332A\033project,zone,in"
-          + "stance_group\212N\016ZoneOperations\202\323\344\223\002M*K/co"
-          + "mpute/v1/projects/{project}/zones/{zone}"
-          + "/instanceGroups/{instance_group}\022\322\001\n\003Get"
-          + "\0220.google.cloud.compute.v1.GetInstanceGr"
-          + "oupRequest\032&.google.cloud.compute.v1.Ins"
-          + "tanceGroup\"q\332A\033project,zone,instance_gro"
-          + "up\202\323\344\223\002M\022K/compute/v1/projects/{project}"
-          + "/zones/{zone}/instanceGroups/{instance_g"
-          + "roup}\022\367\001\n\006Insert\0223.google.cloud.compute."
-          + "v1.InsertInstanceGroupRequest\032\".google.c"
-          + "loud.compute.v1.Operation\"\223\001\332A$project,z"
-          + "one,instance_group_resource\212N\016ZoneOperat"
-          + "ions\202\323\344\223\002U\":/compute/v1/projects/{projec"
-          + "t}/zones/{zone}/instanceGroups:\027instance"
-          + "_group_resource\022\271\001\n\004List\0222.google.cloud."
-          + "compute.v1.ListInstanceGroupsRequest\032*.g"
-          + "oogle.cloud.compute.v1.InstanceGroupList"
-          + "\"Q\332A\014project,zone\202\323\344\223\002<\022:/compute/v1/pro"
-          + "jects/{project}/zones/{zone}/instanceGro"
-          + "ups\022\346\002\n\rListInstances\022;.google.cloud.com"
-          + "pute.v1.ListInstancesInstanceGroupsReque"
-          + "st\0324.google.cloud.compute.v1.InstanceGro"
-          + "upsListInstances\"\341\001\332AKproject,zone,insta"
-          + "nce_group,instance_groups_list_instances"
-          + "_request_resource\202\323\344\223\002\214\001\"Y/compute/v1/pr"
+          + "ons\202\323\344\223\002\243\001\"h/compute/v1/projects/{projec"
+          + "t}/zones/{zone}/instanceGroupManagers/{i"
+          + "nstance_group_manager}/stopInstances:7in"
+          + "stance_group_managers_stop_instances_req"
+          + "uest_resource\022\241\003\n\020SuspendInstances\022D.goo"
+          + "gle.cloud.compute.v1.SuspendInstancesIns"
+          + "tanceGroupManagerRequest\032\".google.cloud."
+          + "compute.v1.Operation\"\242\002\332A^project,zone,i"
+          + "nstance_group_manager,instance_group_man"
+          + "agers_suspend_instances_request_resource"
+          + "\212N\016ZoneOperations\202\323\344\223\002\251\001\"k/compute/v1/pr"
           + "ojects/{project}/zones/{zone}/instanceGr"
-          + "oups/{instance_group}/listInstances:/ins"
-          + "tance_groups_list_instances_request_reso"
-          + "urce\022\356\002\n\017RemoveInstances\022<.google.cloud."
-          + "compute.v1.RemoveInstancesInstanceGroupR"
-          + "equest\032\".google.cloud.compute.v1.Operati"
-          + "on\"\370\001\332AMproject,zone,instance_group,inst"
-          + "ance_groups_remove_instances_request_res"
-          + "ource\212N\016ZoneOperations\202\323\344\223\002\220\001\"[/compute/"
-          + "v1/projects/{project}/zones/{zone}/insta"
-          + "nceGroups/{instance_group}/removeInstanc"
-          + "es:1instance_groups_remove_instances_req"
-          + "uest_resource\022\346\002\n\rSetNamedPorts\022:.google"
-          + ".cloud.compute.v1.SetNamedPortsInstanceG"
-          + "roupRequest\032\".google.cloud.compute.v1.Op"
-          + "eration\"\364\001\332ALproject,zone,instance_group"
-          + ",instance_groups_set_named_ports_request"
-          + "_resource\212N\016ZoneOperations\202\323\344\223\002\215\001\"Y/comp"
-          + "ute/v1/projects/{project}/zones/{zone}/i"
-          + "nstanceGroups/{instance_group}/setNamedP"
-          + "orts:0instance_groups_set_named_ports_re"
-          + "quest_resource\022\307\002\n\022TestIamPermissions\022?."
-          + "google.cloud.compute.v1.TestIamPermissio"
-          + "nsInstanceGroupRequest\0320.google.cloud.co"
-          + "mpute.v1.TestPermissionsResponse\"\275\001\332A7pr"
-          + "oject,zone,resource,test_permissions_req"
-          + "uest_resource\202\323\344\223\002}\"X/compute/v1/project"
+          + "oupManagers/{instance_group_manager}/sus"
+          + "pendInstances::instance_group_managers_s"
+          + "uspend_instances_request_resource\022\305\003\n\030Up"
+          + "datePerInstanceConfigs\022L.google.cloud.co"
+          + "mpute.v1.UpdatePerInstanceConfigsInstanc"
+          + "eGroupManagerRequest\032\".google.cloud.comp"
+          + "ute.v1.Operation\"\266\002\332Adproject,zone,insta"
+          + "nce_group_manager,instance_group_manager"
+          + "s_update_per_instance_configs_req_resour"
+          + "ce\212N\016ZoneOperations\202\323\344\223\002\267\001\"s/compute/v1/"
+          + "projects/{project}/zones/{zone}/instance"
+          + "GroupManagers/{instance_group_manager}/u"
+          + "pdatePerInstanceConfigs:@instance_group_"
+          + "managers_update_per_instance_configs_req"
+          + "_resource\032r\312A\026compute.googleapis.com\322AVh"
+          + "ttps://www.googleapis.com/auth/compute,h"
+          + "ttps://www.googleapis.com/auth/cloud-pla"
+          + "tform2\272\027\n\016InstanceGroups\022\337\002\n\014AddInstance"
+          + "s\0229.google.cloud.compute.v1.AddInstances"
+          + "InstanceGroupRequest\032\".google.cloud.comp"
+          + "ute.v1.Operation\"\357\001\332AJproject,zone,insta"
+          + "nce_group,instance_groups_add_instances_"
+          + "request_resource\212N\016ZoneOperations\202\323\344\223\002\212\001"
+          + "\"X/compute/v1/projects/{project}/zones/{"
+          + "zone}/instanceGroups/{instance_group}/ad"
+          + "dInstances:.instance_groups_add_instance"
+          + "s_request_resource\022\320\001\n\016AggregatedList\022<."
+          + "google.cloud.compute.v1.AggregatedListIn"
+          + "stanceGroupsRequest\0324.google.cloud.compu"
+          + "te.v1.InstanceGroupAggregatedList\"J\332A\007pr"
+          + "oject\202\323\344\223\002:\0228/compute/v1/projects/{proje"
+          + "ct}/aggregated/instanceGroups\022\346\001\n\006Delete"
+          + "\0223.google.cloud.compute.v1.DeleteInstanc"
+          + "eGroupRequest\032\".google.cloud.compute.v1."
+          + "Operation\"\202\001\332A\033project,zone,instance_gro"
+          + "up\212N\016ZoneOperations\202\323\344\223\002M*K/compute/v1/p"
+          + "rojects/{project}/zones/{zone}/instanceG"
+          + "roups/{instance_group}\022\322\001\n\003Get\0220.google."
+          + "cloud.compute.v1.GetInstanceGroupRequest"
+          + "\032&.google.cloud.compute.v1.InstanceGroup"
+          + "\"q\332A\033project,zone,instance_group\202\323\344\223\002M\022K"
+          + "/compute/v1/projects/{project}/zones/{zo"
+          + "ne}/instanceGroups/{instance_group}\022\367\001\n\006"
+          + "Insert\0223.google.cloud.compute.v1.InsertI"
+          + "nstanceGroupRequest\032\".google.cloud.compu"
+          + "te.v1.Operation\"\223\001\332A$project,zone,instan"
+          + "ce_group_resource\212N\016ZoneOperations\202\323\344\223\002U"
+          + "\":/compute/v1/projects/{project}/zones/{"
+          + "zone}/instanceGroups:\027instance_group_res"
+          + "ource\022\271\001\n\004List\0222.google.cloud.compute.v1"
+          + ".ListInstanceGroupsRequest\032*.google.clou"
+          + "d.compute.v1.InstanceGroupList\"Q\332A\014proje"
+          + "ct,zone\202\323\344\223\002<\022:/compute/v1/projects/{pro"
+          + "ject}/zones/{zone}/instanceGroups\022\346\002\n\rLi"
+          + "stInstances\022;.google.cloud.compute.v1.Li"
+          + "stInstancesInstanceGroupsRequest\0324.googl"
+          + "e.cloud.compute.v1.InstanceGroupsListIns"
+          + "tances\"\341\001\332AKproject,zone,instance_group,"
+          + "instance_groups_list_instances_request_r"
+          + "esource\202\323\344\223\002\214\001\"Y/compute/v1/projects/{pr"
+          + "oject}/zones/{zone}/instanceGroups/{inst"
+          + "ance_group}/listInstances:/instance_grou"
+          + "ps_list_instances_request_resource\022\356\002\n\017R"
+          + "emoveInstances\022<.google.cloud.compute.v1"
+          + ".RemoveInstancesInstanceGroupRequest\032\".g"
+          + "oogle.cloud.compute.v1.Operation\"\370\001\332AMpr"
+          + "oject,zone,instance_group,instance_group"
+          + "s_remove_instances_request_resource\212N\016Zo"
+          + "neOperations\202\323\344\223\002\220\001\"[/compute/v1/project"
           + "s/{project}/zones/{zone}/instanceGroups/"
-          + "{resource}/testIamPermissions:!test_perm"
-          + "issions_request_resource\032r\312A\026compute.goo"
-          + "gleapis.com\322AVhttps://www.googleapis.com"
-          + "/auth/compute,https://www.googleapis.com"
-          + "/auth/cloud-platform2\313\004\n\027InstanceSetting"
-          + "sService\022\271\001\n\003Get\0222.google.cloud.compute."
-          + "v1.GetInstanceSettingRequest\032).google.cl"
-          + "oud.compute.v1.InstanceSettings\"S\332A\014proj"
-          + "ect,zone\202\323\344\223\002>\022project,zo"
-          + "ne,instance,network_interface,access_con"
-          + "fig_resource\212N\016ZoneOperations\202\323\344\223\002j\"P/co"
-          + "mpute/v1/projects/{project}/zones/{zone}"
-          + "/instances/{instance}/addAccessConfig:\026a"
-          + "ccess_config_resource\022\265\002\n\023AddNetworkInte"
-          + "rface\022;.google.cloud.compute.v1.AddNetwo"
-          + "rkInterfaceInstanceRequest\032\".google.clou"
-          + "d.compute.v1.Operation\"\274\001\332A0project,zone"
-          + ",instance,network_interface_resource\212N\016Z"
-          + "oneOperations\202\323\344\223\002r\"T/compute/v1/project"
-          + "s/{project}/zones/{zone}/instances/{inst"
-          + "ance}/addNetworkInterface:\032network_inter"
-          + "face_resource\022\342\002\n\023AddResourcePolicies\022;."
-          + "google.cloud.compute.v1.AddResourcePolic"
-          + "iesInstanceRequest\032\".google.cloud.comput"
-          + "e.v1.Operation\"\351\001\332AFproject,zone,instanc"
-          + "e,instances_add_resource_policies_reques"
-          + "t_resource\212N\016ZoneOperations\202\323\344\223\002\210\001\"T/com"
-          + "pute/v1/projects/{project}/zones/{zone}/"
-          + "instances/{instance}/addResourcePolicies"
-          + ":0instances_add_resource_policies_reques"
-          + "t_resource\022\301\001\n\016AggregatedList\0227.google.c"
-          + "loud.compute.v1.AggregatedListInstancesR"
-          + "equest\032/.google.cloud.compute.v1.Instanc"
-          + "eAggregatedList\"E\332A\007project\202\323\344\223\0025\0223/comp"
-          + "ute/v1/projects/{project}/aggregated/ins"
-          + "tances\022\222\002\n\nAttachDisk\0222.google.cloud.com"
-          + "pute.v1.AttachDiskInstanceRequest\032\".goog"
-          + "le.cloud.compute.v1.Operation\"\253\001\332A,proje"
-          + "ct,zone,instance,attached_disk_resource\212"
-          + "N\016ZoneOperations\202\323\344\223\002e\"K/compute/v1/proj"
-          + "ects/{project}/zones/{zone}/instances/{i"
-          + "nstance}/attachDisk:\026attached_disk_resou"
-          + "rce\022\236\002\n\nBulkInsert\0222.google.cloud.comput"
-          + "e.v1.BulkInsertInstanceRequest\032\".google."
-          + "cloud.compute.v1.Operation\"\267\001\332A3project,"
-          + "zone,bulk_insert_instance_resource_resou"
-          + "rce\212N\016ZoneOperations\202\323\344\223\002j\"@/compute/v1/"
-          + "projects/{project}/zones/{zone}/instance"
-          + "s/bulkInsert:&bulk_insert_instance_resou"
-          + "rce_resource\022\317\001\n\006Delete\022..google.cloud.c"
-          + "ompute.v1.DeleteInstanceRequest\032\".google"
-          + ".cloud.compute.v1.Operation\"q\332A\025project,"
-          + "zone,instance\212N\016ZoneOperations\202\323\344\223\002B*@/c"
-          + "ompute/v1/projects/{project}/zones/{zone"
-          + "}/instances/{instance}\022\233\002\n\022DeleteAccessC"
-          + "onfig\022:.google.cloud.compute.v1.DeleteAc"
-          + "cessConfigInstanceRequest\032\".google.cloud"
-          + ".compute.v1.Operation\"\244\001\332A5project,zone,"
-          + "instance,access_config,network_interface"
-          + "\212N\016ZoneOperations\202\323\344\223\002U\"S/compute/v1/pro"
-          + "jects/{project}/zones/{zone}/instances/{"
-          + "instance}/deleteAccessConfig\022\236\002\n\026DeleteN"
-          + "etworkInterface\022>.google.cloud.compute.v"
-          + "1.DeleteNetworkInterfaceInstanceRequest\032"
-          + "\".google.cloud.compute.v1.Operation\"\237\001\332A"
-          + ",project,zone,instance,network_interface"
-          + "_name\212N\016ZoneOperations\202\323\344\223\002Y\"W/compute/v"
-          + "1/projects/{project}/zones/{zone}/instan"
-          + "ces/{instance}/deleteNetworkInterface\022\357\001"
-          + "\n\nDetachDisk\0222.google.cloud.compute.v1.D"
-          + "etachDiskInstanceRequest\032\".google.cloud."
-          + "compute.v1.Operation\"\210\001\332A!project,zone,i"
-          + "nstance,device_name\212N\016ZoneOperations\202\323\344\223"
-          + "\002M\"K/compute/v1/projects/{project}/zones"
-          + "/{zone}/instances/{instance}/detachDisk\022"
-          + "\267\001\n\003Get\022+.google.cloud.compute.v1.GetIns"
-          + "tanceRequest\032!.google.cloud.compute.v1.I"
-          + "nstance\"`\332A\025project,zone,instance\202\323\344\223\002B\022"
-          + "@/compute/v1/projects/{project}/zones/{z"
-          + "one}/instances/{instance}\022\242\002\n\025GetEffecti"
-          + "veFirewalls\022=.google.cloud.compute.v1.Ge"
-          + "tEffectiveFirewallsInstanceRequest\032?.goo"
-          + "gle.cloud.compute.v1.InstancesGetEffecti"
-          + "veFirewallsResponse\"\210\001\332A\'project,zone,in"
-          + "stance,network_interface\202\323\344\223\002X\022V/compute"
-          + "/v1/projects/{project}/zones/{zone}/inst"
-          + "ances/{instance}/getEffectiveFirewalls\022\357"
-          + "\001\n\022GetGuestAttributes\022:.google.cloud.com"
-          + "pute.v1.GetGuestAttributesInstanceReques"
-          + "t\032(.google.cloud.compute.v1.GuestAttribu"
-          + "tes\"s\332A\025project,zone,instance\202\323\344\223\002U\022S/co"
-          + "mpute/v1/projects/{project}/zones/{zone}"
-          + "/instances/{instance}/getGuestAttributes"
-          + "\022\324\001\n\014GetIamPolicy\0224.google.cloud.compute"
-          + ".v1.GetIamPolicyInstanceRequest\032\037.google"
-          + ".cloud.compute.v1.Policy\"m\332A\025project,zon"
-          + "e,resource\202\323\344\223\002O\022M/compute/v1/projects/{"
-          + "project}/zones/{zone}/instances/{resourc"
-          + "e}/getIamPolicy\022\330\001\n\rGetScreenshot\0225.goog"
-          + "le.cloud.compute.v1.GetScreenshotInstanc"
-          + "eRequest\032#.google.cloud.compute.v1.Scree"
-          + "nshot\"k\332A\025project,zone,instance\202\323\344\223\002M\022K/"
-          + "compute/v1/projects/{project}/zones/{zon"
-          + "e}/instances/{instance}/screenshot\022\352\001\n\023G"
-          + "etSerialPortOutput\022;.google.cloud.comput"
-          + "e.v1.GetSerialPortOutputInstanceRequest\032"
-          + ").google.cloud.compute.v1.SerialPortOutp"
-          + "ut\"k\332A\025project,zone,instance\202\323\344\223\002M\022K/com"
+          + "d-platform2\313\004\n\027InstanceSettingsService\022\271"
+          + "\001\n\003Get\0222.google.cloud.compute.v1.GetInst"
+          + "anceSettingRequest\032).google.cloud.comput"
+          + "e.v1.InstanceSettings\"S\332A\014project,zone\202\323"
+          + "\344\223\002>\022project,zone,instanc"
+          + "e,network_interface,access_config_resour"
+          + "ce\212N\016ZoneOperations\202\323\344\223\002j\"P/compute/v1/p"
+          + "rojects/{project}/zones/{zone}/instances"
+          + "/{instance}/addAccessConfig:\026access_conf"
+          + "ig_resource\022\265\002\n\023AddNetworkInterface\022;.go"
+          + "ogle.cloud.compute.v1.AddNetworkInterfac"
+          + "eInstanceRequest\032\".google.cloud.compute."
+          + "v1.Operation\"\274\001\332A0project,zone,instance,"
+          + "network_interface_resource\212N\016ZoneOperati"
+          + "ons\202\323\344\223\002r\"T/compute/v1/projects/{project"
+          + "}/zones/{zone}/instances/{instance}/addN"
+          + "etworkInterface:\032network_interface_resou"
+          + "rce\022\342\002\n\023AddResourcePolicies\022;.google.clo"
+          + "ud.compute.v1.AddResourcePoliciesInstanc"
           + "eRequest\032\".google.cloud.compute.v1.Opera"
-          + "tion\"\202\001\332A\036project,zone,instance_resource"
-          + "\212N\016ZoneOperations\202\323\344\223\002J\"5/compute/v1/pro"
-          + "jects/{project}/zones/{zone}/instances:\021"
-          + "instance_resource\022\252\001\n\004List\022-.google.clou"
-          + "d.compute.v1.ListInstancesRequest\032%.goog"
-          + "le.cloud.compute.v1.InstanceList\"L\332A\014pro"
-          + "ject,zone\202\323\344\223\0027\0225/compute/v1/projects/{p"
-          + "roject}/zones/{zone}/instances\022\343\001\n\rListR"
-          + "eferrers\0226.google.cloud.compute.v1.ListR"
-          + "eferrersInstancesRequest\032..google.cloud."
-          + "compute.v1.InstanceListReferrers\"j\332A\025pro"
-          + "ject,zone,instance\202\323\344\223\002L\022J/compute/v1/pr"
+          + "tion\"\351\001\332AFproject,zone,instance,instance"
+          + "s_add_resource_policies_request_resource"
+          + "\212N\016ZoneOperations\202\323\344\223\002\210\001\"T/compute/v1/pr"
           + "ojects/{project}/zones/{zone}/instances/"
-          + "{instance}/referrers\022\373\001\n\022PerformMaintena"
-          + "nce\022:.google.cloud.compute.v1.PerformMai"
-          + "ntenanceInstanceRequest\032\".google.cloud.c"
-          + "ompute.v1.Operation\"\204\001\332A\025project,zone,in"
-          + "stance\212N\016ZoneOperations\202\323\344\223\002U\"S/compute/"
-          + "v1/projects/{project}/zones/{zone}/insta"
-          + "nces/{instance}/performMaintenance\022\361\002\n\026R"
-          + "emoveResourcePolicies\022>.google.cloud.com"
-          + "pute.v1.RemoveResourcePoliciesInstanceRe"
-          + "quest\032\".google.cloud.compute.v1.Operatio"
-          + "n\"\362\001\332AIproject,zone,instance,instances_r"
-          + "emove_resource_policies_request_resource"
-          + "\212N\016ZoneOperations\202\323\344\223\002\216\001\"W/compute/v1/pr"
-          + "ojects/{project}/zones/{zone}/instances/"
-          + "{instance}/removeResourcePolicies:3insta"
-          + "nces_remove_resource_policies_request_re"
-          + "source\022\337\002\n\022ReportHostAsFaulty\022:.google.c"
-          + "loud.compute.v1.ReportHostAsFaultyInstan"
-          + "ceRequest\032\".google.cloud.compute.v1.Oper"
-          + "ation\"\350\001\332AFproject,zone,instance,instanc"
-          + "es_report_host_as_faulty_request_resourc"
-          + "e\212N\016ZoneOperations\202\323\344\223\002\207\001\"S/compute/v1/p"
-          + "rojects/{project}/zones/{zone}/instances"
-          + "/{instance}/reportHostAsFaulty:0instance"
-          + "s_report_host_as_faulty_request_resource"
-          + "\022\323\001\n\005Reset\022-.google.cloud.compute.v1.Res"
-          + "etInstanceRequest\032\".google.cloud.compute"
-          + ".v1.Operation\"w\332A\025project,zone,instance\212"
-          + "N\016ZoneOperations\202\323\344\223\002H\"F/compute/v1/proj"
-          + "ects/{project}/zones/{zone}/instances/{i"
-          + "nstance}/reset\022\326\001\n\006Resume\022..google.cloud"
-          + ".compute.v1.ResumeInstanceRequest\032\".goog"
-          + "le.cloud.compute.v1.Operation\"x\332A\025projec"
-          + "t,zone,instance\212N\016ZoneOperations\202\323\344\223\002I\"G"
-          + "/compute/v1/projects/{project}/zones/{zo"
-          + "ne}/instances/{instance}/resume\022\226\002\n\027Send"
-          + "DiagnosticInterrupt\022?.google.cloud.compu"
-          + "te.v1.SendDiagnosticInterruptInstanceReq"
-          + "uest\032@.google.cloud.compute.v1.SendDiagn"
-          + "osticInterruptInstanceResponse\"x\332A\025proje"
-          + "ct,zone,instance\202\323\344\223\002Z\"X/compute/v1/proj"
-          + "ects/{project}/zones/{zone}/instances/{i"
-          + "nstance}/sendDiagnosticInterrupt\022\204\002\n\025Set"
-          + "DeletionProtection\022=.google.cloud.comput"
-          + "e.v1.SetDeletionProtectionInstanceReques"
-          + "t\032\".google.cloud.compute.v1.Operation\"\207\001"
-          + "\332A\025project,zone,resource\212N\016ZoneOperation"
-          + "s\202\323\344\223\002X\"V/compute/v1/projects/{project}/"
-          + "zones/{zone}/instances/{resource}/setDel"
-          + "etionProtection\022\220\002\n\021SetDiskAutoDelete\0229."
-          + "google.cloud.compute.v1.SetDiskAutoDelet"
-          + "eInstanceRequest\032\".google.cloud.compute."
-          + "v1.Operation\"\233\001\332A-project,zone,instance,"
-          + "auto_delete,device_name\212N\016ZoneOperations"
-          + "\202\323\344\223\002T\"R/compute/v1/projects/{project}/z"
-          + "ones/{zone}/instances/{instance}/setDisk"
-          + "AutoDelete\022\230\002\n\014SetIamPolicy\0224.google.clo"
-          + "ud.compute.v1.SetIamPolicyInstanceReques"
-          + "t\032\037.google.cloud.compute.v1.Policy\"\260\001\332A6"
-          + "project,zone,resource,zone_set_policy_re"
-          + "quest_resource\202\323\344\223\002q\"M/compute/v1/projec"
-          + "ts/{project}/zones/{zone}/instances/{res"
-          + "ource}/setIamPolicy: zone_set_policy_req"
-          + "uest_resource\022\255\002\n\tSetLabels\0221.google.clo"
-          + "ud.compute.v1.SetLabelsInstanceRequest\032\""
-          + ".google.cloud.compute.v1.Operation\"\310\001\332A;"
-          + "project,zone,instance,instances_set_labe"
-          + "ls_request_resource\212N\016ZoneOperations\202\323\344\223"
-          + "\002s\"J/compute/v1/projects/{project}/zones"
-          + "/{zone}/instances/{instance}/setLabels:%"
-          + "instances_set_labels_request_resource\022\342\002"
-          + "\n\023SetMachineResources\022;.google.cloud.com"
-          + "pute.v1.SetMachineResourcesInstanceReque"
-          + "st\032\".google.cloud.compute.v1.Operation\"\351"
-          + "\001\332AFproject,zone,instance,instances_set_"
-          + "machine_resources_request_resource\212N\016Zon"
-          + "eOperations\202\323\344\223\002\210\001\"T/compute/v1/projects"
-          + "/{project}/zones/{zone}/instances/{insta"
-          + "nce}/setMachineResources:0instances_set_"
-          + "machine_resources_request_resource\022\310\002\n\016S"
-          + "etMachineType\0226.google.cloud.compute.v1."
-          + "SetMachineTypeInstanceRequest\032\".google.c"
-          + "loud.compute.v1.Operation\"\331\001\332AAproject,z"
-          + "one,instance,instances_set_machine_type_"
-          + "request_resource\212N\016ZoneOperations\202\323\344\223\002~\""
-          + "O/compute/v1/projects/{project}/zones/{z"
-          + "one}/instances/{instance}/setMachineType"
-          + ":+instances_set_machine_type_request_res"
-          + "ource\022\213\002\n\013SetMetadata\0223.google.cloud.com"
-          + "pute.v1.SetMetadataInstanceRequest\032\".goo"
-          + "gle.cloud.compute.v1.Operation\"\242\001\332A\'proj"
-          + "ect,zone,instance,metadata_resource\212N\016Zo"
-          + "neOperations\202\323\344\223\002a\"L/compute/v1/projects"
-          + "/{project}/zones/{zone}/instances/{insta"
-          + "nce}/setMetadata:\021metadata_resource\022\332\002\n\021"
-          + "SetMinCpuPlatform\0229.google.cloud.compute"
-          + ".v1.SetMinCpuPlatformInstanceRequest\032\".g"
-          + "oogle.cloud.compute.v1.Operation\"\345\001\332AEpr"
-          + "oject,zone,instance,instances_set_min_cp"
-          + "u_platform_request_resource\212N\016ZoneOperat"
-          + "ions\202\323\344\223\002\205\001\"R/compute/v1/projects/{proje"
-          + "ct}/zones/{zone}/instances/{instance}/se"
-          + "tMinCpuPlatform:/instances_set_min_cpu_p"
-          + "latform_request_resource\022\243\002\n\007SetName\022/.g"
-          + "oogle.cloud.compute.v1.SetNameInstanceRe"
-          + "quest\032\".google.cloud.compute.v1.Operatio"
-          + "n\"\302\001\332A9project,zone,instance,instances_s"
-          + "et_name_request_resource\212N\016ZoneOperation"
-          + "s\202\323\344\223\002o\"H/compute/v1/projects/{project}/"
-          + "zones/{zone}/instances/{instance}/setNam"
-          + "e:#instances_set_name_request_resource\022\225"
-          + "\002\n\rSetScheduling\0225.google.cloud.compute."
-          + "v1.SetSchedulingInstanceRequest\032\".google"
-          + ".cloud.compute.v1.Operation\"\250\001\332A)project"
-          + ",zone,instance,scheduling_resource\212N\016Zon"
-          + "eOperations\202\323\344\223\002e\"N/compute/v1/projects/"
-          + "{project}/zones/{zone}/instances/{instan"
-          + "ce}/setScheduling:\023scheduling_resource\022\330"
-          + "\002\n\021SetSecurityPolicy\0229.google.cloud.comp"
-          + "ute.v1.SetSecurityPolicyInstanceRequest\032"
-          + "\".google.cloud.compute.v1.Operation\"\343\001\332A"
-          + "Dproject,zone,instance,instances_set_sec"
-          + "urity_policy_request_resource\212N\016ZoneOper"
-          + "ations\202\323\344\223\002\204\001\"R/compute/v1/projects/{pro"
+          + "{instance}/addResourcePolicies:0instance"
+          + "s_add_resource_policies_request_resource"
+          + "\022\301\001\n\016AggregatedList\0227.google.cloud.compu"
+          + "te.v1.AggregatedListInstancesRequest\032/.g"
+          + "oogle.cloud.compute.v1.InstanceAggregate"
+          + "dList\"E\332A\007project\202\323\344\223\0025\0223/compute/v1/pro"
+          + "jects/{project}/aggregated/instances\022\222\002\n"
+          + "\nAttachDisk\0222.google.cloud.compute.v1.At"
+          + "tachDiskInstanceRequest\032\".google.cloud.c"
+          + "ompute.v1.Operation\"\253\001\332A,project,zone,in"
+          + "stance,attached_disk_resource\212N\016ZoneOper"
+          + "ations\202\323\344\223\002e\"K/compute/v1/projects/{proj"
+          + "ect}/zones/{zone}/instances/{instance}/a"
+          + "ttachDisk:\026attached_disk_resource\022\236\002\n\nBu"
+          + "lkInsert\0222.google.cloud.compute.v1.BulkI"
+          + "nsertInstanceRequest\032\".google.cloud.comp"
+          + "ute.v1.Operation\"\267\001\332A3project,zone,bulk_"
+          + "insert_instance_resource_resource\212N\016Zone"
+          + "Operations\202\323\344\223\002j\"@/compute/v1/projects/{"
+          + "project}/zones/{zone}/instances/bulkInse"
+          + "rt:&bulk_insert_instance_resource_resour"
+          + "ce\022\317\001\n\006Delete\022..google.cloud.compute.v1."
+          + "DeleteInstanceRequest\032\".google.cloud.com"
+          + "pute.v1.Operation\"q\332A\025project,zone,insta"
+          + "nce\212N\016ZoneOperations\202\323\344\223\002B*@/compute/v1/"
+          + "projects/{project}/zones/{zone}/instance"
+          + "s/{instance}\022\233\002\n\022DeleteAccessConfig\022:.go"
+          + "ogle.cloud.compute.v1.DeleteAccessConfig"
+          + "InstanceRequest\032\".google.cloud.compute.v"
+          + "1.Operation\"\244\001\332A5project,zone,instance,a"
+          + "ccess_config,network_interface\212N\016ZoneOpe"
+          + "rations\202\323\344\223\002U\"S/compute/v1/projects/{pro"
           + "ject}/zones/{zone}/instances/{instance}/"
-          + "setSecurityPolicy:.instances_set_securit"
-          + "y_policy_request_resource\022\330\002\n\021SetService"
-          + "Account\0229.google.cloud.compute.v1.SetSer"
-          + "viceAccountInstanceRequest\032\".google.clou"
-          + "d.compute.v1.Operation\"\343\001\332ADproject,zone"
-          + ",instance,instances_set_service_account_"
-          + "request_resource\212N\016ZoneOperations\202\323\344\223\002\204\001"
-          + "\"R/compute/v1/projects/{project}/zones/{"
-          + "zone}/instances/{instance}/setServiceAcc"
-          + "ount:.instances_set_service_account_requ"
-          + "est_resource\022\205\003\n\"SetShieldedInstanceInte"
-          + "grityPolicy\022J.google.cloud.compute.v1.Se"
-          + "tShieldedInstanceIntegrityPolicyInstance"
-          + "Request\032\".google.cloud.compute.v1.Operat"
-          + "ion\"\356\001\332AAproject,zone,instance,shielded_"
-          + "instance_integrity_policy_resource\212N\016Zon"
-          + "eOperations\202\323\344\223\002\222\0012c/compute/v1/projects"
+          + "deleteAccessConfig\022\236\002\n\026DeleteNetworkInte"
+          + "rface\022>.google.cloud.compute.v1.DeleteNe"
+          + "tworkInterfaceInstanceRequest\032\".google.c"
+          + "loud.compute.v1.Operation\"\237\001\332A,project,z"
+          + "one,instance,network_interface_name\212N\016Zo"
+          + "neOperations\202\323\344\223\002Y\"W/compute/v1/projects"
           + "/{project}/zones/{zone}/instances/{insta"
-          + "nce}/setShieldedInstanceIntegrityPolicy:"
-          + "+shielded_instance_integrity_policy_reso"
-          + "urce\022\367\001\n\007SetTags\022/.google.cloud.compute."
-          + "v1.SetTagsInstanceRequest\032\".google.cloud"
-          + ".compute.v1.Operation\"\226\001\332A#project,zone,"
-          + "instance,tags_resource\212N\016ZoneOperations\202"
-          + "\323\344\223\002Y\"H/compute/v1/projects/{project}/zo"
-          + "nes/{zone}/instances/{instance}/setTags:"
-          + "\rtags_resource\022\215\002\n\030SimulateMaintenanceEv"
-          + "ent\022@.google.cloud.compute.v1.SimulateMa"
-          + "intenanceEventInstanceRequest\032\".google.c"
-          + "loud.compute.v1.Operation\"\212\001\332A\025project,z"
-          + "one,instance\212N\016ZoneOperations\202\323\344\223\002[\"Y/co"
-          + "mpute/v1/projects/{project}/zones/{zone}"
-          + "/instances/{instance}/simulateMaintenanc"
-          + "eEvent\022\323\001\n\005Start\022-.google.cloud.compute."
-          + "v1.StartInstanceRequest\032\".google.cloud.c"
-          + "ompute.v1.Operation\"w\332A\025project,zone,ins"
-          + "tance\212N\016ZoneOperations\202\323\344\223\002H\"F/compute/v"
-          + "1/projects/{project}/zones/{zone}/instan"
-          + "ces/{instance}/start\022\363\002\n\026StartWithEncryp"
-          + "tionKey\022>.google.cloud.compute.v1.StartW"
-          + "ithEncryptionKeyInstanceRequest\032\".google"
-          + ".cloud.compute.v1.Operation\"\364\001\332AJproject"
-          + ",zone,instance,instances_start_with_encr"
-          + "yption_key_request_resource\212N\016ZoneOperat"
-          + "ions\202\323\344\223\002\217\001\"W/compute/v1/projects/{proje"
-          + "ct}/zones/{zone}/instances/{instance}/st"
-          + "artWithEncryptionKey:4instances_start_wi"
-          + "th_encryption_key_request_resource\022\320\001\n\004S"
-          + "top\022,.google.cloud.compute.v1.StopInstan"
-          + "ceRequest\032\".google.cloud.compute.v1.Oper"
-          + "ation\"v\332A\025project,zone,instance\212N\016ZoneOp"
-          + "erations\202\323\344\223\002G\"E/compute/v1/projects/{pr"
-          + "oject}/zones/{zone}/instances/{instance}"
-          + "/stop\022\331\001\n\007Suspend\022/.google.cloud.compute"
-          + ".v1.SuspendInstanceRequest\032\".google.clou"
-          + "d.compute.v1.Operation\"y\332A\025project,zone,"
-          + "instance\212N\016ZoneOperations\202\323\344\223\002J\"H/comput"
-          + "e/v1/projects/{project}/zones/{zone}/ins"
-          + "tances/{instance}/suspend\022\275\002\n\022TestIamPer"
-          + "missions\022:.google.cloud.compute.v1.TestI"
-          + "amPermissionsInstanceRequest\0320.google.cl"
-          + "oud.compute.v1.TestPermissionsResponse\"\270"
-          + "\001\332A7project,zone,resource,test_permissio"
-          + "ns_request_resource\202\323\344\223\002x\"S/compute/v1/p"
+          + "nce}/deleteNetworkInterface\022\357\001\n\nDetachDi"
+          + "sk\0222.google.cloud.compute.v1.DetachDiskI"
+          + "nstanceRequest\032\".google.cloud.compute.v1"
+          + ".Operation\"\210\001\332A!project,zone,instance,de"
+          + "vice_name\212N\016ZoneOperations\202\323\344\223\002M\"K/compu"
+          + "te/v1/projects/{project}/zones/{zone}/in"
+          + "stances/{instance}/detachDisk\022\267\001\n\003Get\022+."
+          + "google.cloud.compute.v1.GetInstanceReque"
+          + "st\032!.google.cloud.compute.v1.Instance\"`\332"
+          + "A\025project,zone,instance\202\323\344\223\002B\022@/compute/"
+          + "v1/projects/{project}/zones/{zone}/insta"
+          + "nces/{instance}\022\242\002\n\025GetEffectiveFirewall"
+          + "s\022=.google.cloud.compute.v1.GetEffective"
+          + "FirewallsInstanceRequest\032?.google.cloud."
+          + "compute.v1.InstancesGetEffectiveFirewall"
+          + "sResponse\"\210\001\332A\'project,zone,instance,net"
+          + "work_interface\202\323\344\223\002X\022V/compute/v1/projec"
+          + "ts/{project}/zones/{zone}/instances/{ins"
+          + "tance}/getEffectiveFirewalls\022\357\001\n\022GetGues"
+          + "tAttributes\022:.google.cloud.compute.v1.Ge"
+          + "tGuestAttributesInstanceRequest\032(.google"
+          + ".cloud.compute.v1.GuestAttributes\"s\332A\025pr"
+          + "oject,zone,instance\202\323\344\223\002U\022S/compute/v1/p"
           + "rojects/{project}/zones/{zone}/instances"
-          + "/{resource}/testIamPermissions:!test_per"
-          + "missions_request_resource\022\365\001\n\006Update\022..g"
-          + "oogle.cloud.compute.v1.UpdateInstanceReq"
-          + "uest\032\".google.cloud.compute.v1.Operation"
-          + "\"\226\001\332A\'project,zone,instance,instance_res"
-          + "ource\212N\016ZoneOperations\202\323\344\223\002U\032@/compute/v"
-          + "1/projects/{project}/zones/{zone}/instan"
-          + "ces/{instance}:\021instance_resource\022\274\002\n\022Up"
-          + "dateAccessConfig\022:.google.cloud.compute."
-          + "v1.UpdateAccessConfigInstanceRequest\032\".g"
-          + "oogle.cloud.compute.v1.Operation\"\305\001\332A>pr"
-          + "oject,zone,instance,network_interface,ac"
-          + "cess_config_resource\212N\016ZoneOperations\202\323\344"
-          + "\223\002m\"S/compute/v1/projects/{project}/zone"
-          + "s/{zone}/instances/{instance}/updateAcce"
-          + "ssConfig:\026access_config_resource\022\257\002\n\023Upd"
-          + "ateDisplayDevice\022;.google.cloud.compute."
-          + "v1.UpdateDisplayDeviceInstanceRequest\032\"."
-          + "google.cloud.compute.v1.Operation\"\266\001\332A-p"
-          + "roject,zone,instance,display_device_reso"
-          + "urce\212N\016ZoneOperations\202\323\344\223\002o2T/compute/v1"
+          + "/{instance}/getGuestAttributes\022\324\001\n\014GetIa"
+          + "mPolicy\0224.google.cloud.compute.v1.GetIam"
+          + "PolicyInstanceRequest\032\037.google.cloud.com"
+          + "pute.v1.Policy\"m\332A\025project,zone,resource"
+          + "\202\323\344\223\002O\022M/compute/v1/projects/{project}/z"
+          + "ones/{zone}/instances/{resource}/getIamP"
+          + "olicy\022\330\001\n\rGetScreenshot\0225.google.cloud.c"
+          + "ompute.v1.GetScreenshotInstanceRequest\032#"
+          + ".google.cloud.compute.v1.Screenshot\"k\332A\025"
+          + "project,zone,instance\202\323\344\223\002M\022K/compute/v1"
           + "/projects/{project}/zones/{zone}/instanc"
-          + "es/{instance}/updateDisplayDevice:\027displ"
-          + "ay_device_resource\022\320\002\n\026UpdateNetworkInte"
-          + "rface\022>.google.cloud.compute.v1.UpdateNe"
-          + "tworkInterfaceInstanceRequest\032\".google.c"
-          + "loud.compute.v1.Operation\"\321\001\332ABproject,z"
-          + "one,instance,network_interface,network_i"
-          + "nterface_resource\212N\016ZoneOperations\202\323\344\223\002u"
-          + "2W/compute/v1/projects/{project}/zones/{"
-          + "zone}/instances/{instance}/updateNetwork"
-          + "Interface:\032network_interface_resource\022\337\002"
-          + "\n\034UpdateShieldedInstanceConfig\022D.google."
-          + "cloud.compute.v1.UpdateShieldedInstanceC"
-          + "onfigInstanceRequest\032\".google.cloud.comp"
-          + "ute.v1.Operation\"\324\001\332A7project,zone,insta"
-          + "nce,shielded_instance_config_resource\212N\016"
-          + "ZoneOperations\202\323\344\223\002\202\0012]/compute/v1/proje"
-          + "cts/{project}/zones/{zone}/instances/{in"
-          + "stance}/updateShieldedInstanceConfig:!sh"
-          + "ielded_instance_config_resource\032r\312A\026comp"
-          + "ute.googleapis.com\322AVhttps://www.googlea"
-          + "pis.com/auth/compute,https://www.googlea"
-          + "pis.com/auth/cloud-platform2\362\017\n\025InstantS"
-          + "napshotGroups\022\204\002\n\006Delete\022:.google.cloud."
-          + "compute.v1.DeleteInstantSnapshotGroupReq"
-          + "uest\032\".google.cloud.compute.v1.Operation"
-          + "\"\231\001\332A#project,zone,instant_snapshot_grou"
-          + "p\212N\016ZoneOperations\202\323\344\223\002\\*Z/compute/v1/pr"
-          + "ojects/{project}/zones/{zone}/instantSna"
-          + "pshotGroups/{instant_snapshot_group}\022\370\001\n"
-          + "\003Get\0227.google.cloud.compute.v1.GetInstan"
-          + "tSnapshotGroupRequest\032-.google.cloud.com"
-          + "pute.v1.InstantSnapshotGroup\"\210\001\332A#projec"
-          + "t,zone,instant_snapshot_group\202\323\344\223\002\\\022Z/co"
-          + "mpute/v1/projects/{project}/zones/{zone}"
-          + "/instantSnapshotGroups/{instant_snapshot"
-          + "_group}\022\354\001\n\014GetIamPolicy\022@.google.cloud."
-          + "compute.v1.GetIamPolicyInstantSnapshotGr"
-          + "oupRequest\032\037.google.cloud.compute.v1.Pol"
-          + "icy\"y\332A\025project,zone,resource\202\323\344\223\002[\022Y/co",
-      "mpute/v1/projects/{project}/zones/{zone}"
-          + "/instantSnapshotGroups/{resource}/getIam"
-          + "Policy\022\225\002\n\006Insert\022:.google.cloud.compute"
-          + ".v1.InsertInstantSnapshotGroupRequest\032\"."
-          + "google.cloud.compute.v1.Operation\"\252\001\332A,p"
-          + "roject,zone,instant_snapshot_group_resou"
-          + "rce\212N\016ZoneOperations\202\323\344\223\002d\"A/compute/v1/"
-          + "projects/{project}/zones/{zone}/instantS"
-          + "napshotGroups:\037instant_snapshot_group_re"
-          + "source\022\317\001\n\004List\0229.google.cloud.compute.v"
-          + "1.ListInstantSnapshotGroupsRequest\0322.goo"
-          + "gle.cloud.compute.v1.ListInstantSnapshot"
-          + "Groups\"X\332A\014project,zone\202\323\344\223\002C\022A/compute/"
-          + "v1/projects/{project}/zones/{zone}/insta"
-          + "ntSnapshotGroups\022\260\002\n\014SetIamPolicy\022@.goog"
-          + "le.cloud.compute.v1.SetIamPolicyInstantS"
-          + "napshotGroupRequest\032\037.google.cloud.compu"
-          + "te.v1.Policy\"\274\001\332A6project,zone,resource,"
-          + "zone_set_policy_request_resource\202\323\344\223\002}\"Y"
-          + "/compute/v1/projects/{project}/zones/{zo"
-          + "ne}/instantSnapshotGroups/{resource}/set"
+          + "es/{instance}/screenshot\022\352\001\n\023GetSerialPo"
+          + "rtOutput\022;.google.cloud.compute.v1.GetSe"
+          + "rialPortOutputInstanceRequest\032).google.c"
+          + "loud.compute.v1.SerialPortOutput\"k\332A\025pro"
+          + "ject,zone,instance\202\323\344\223\002M\022K/compute/v1/pr"
+          + "ojects/{project}/zones/{zone}/instances/"
+          + "{instance}/serialPort\022\223\002\n\033GetShieldedIns"
+          + "tanceIdentity\022C.google.cloud.compute.v1."
+          + "GetShieldedInstanceIdentityInstanceReque"
+          + "st\0321.google.cloud.compute.v1.ShieldedIns"
+          + "tanceIdentity\"|\332A\025project,zone,instance\202"
+          + "\323\344\223\002^\022\\/compute/v1/projects/{project}/zo"
+          + "nes/{zone}/instances/{instance}/getShiel"
+          + "dedInstanceIdentity\022\341\001\n\006Insert\022..google."
+          + "cloud.compute.v1.InsertInstanceRequest\032\""
+          + ".google.cloud.compute.v1.Operation\"\202\001\332A\036"
+          + "project,zone,instance_resource\212N\016ZoneOpe"
+          + "rations\202\323\344\223\002J\"5/compute/v1/projects/{pro"
+          + "ject}/zones/{zone}/instances:\021instance_r"
+          + "esource\022\252\001\n\004List\022-.google.cloud.compute."
+          + "v1.ListInstancesRequest\032%.google.cloud.c"
+          + "ompute.v1.InstanceList\"L\332A\014project,zone\202"
+          + "\323\344\223\0027\0225/compute/v1/projects/{project}/zo"
+          + "nes/{zone}/instances\022\343\001\n\rListReferrers\0226"
+          + ".google.cloud.compute.v1.ListReferrersIn"
+          + "stancesRequest\032..google.cloud.compute.v1"
+          + ".InstanceListReferrers\"j\332A\025project,zone,"
+          + "instance\202\323\344\223\002L\022J/compute/v1/projects/{pr"
+          + "oject}/zones/{zone}/instances/{instance}"
+          + "/referrers\022\373\001\n\022PerformMaintenance\022:.goog"
+          + "le.cloud.compute.v1.PerformMaintenanceIn"
+          + "stanceRequest\032\".google.cloud.compute.v1."
+          + "Operation\"\204\001\332A\025project,zone,instance\212N\016Z"
+          + "oneOperations\202\323\344\223\002U\"S/compute/v1/project"
+          + "s/{project}/zones/{zone}/instances/{inst"
+          + "ance}/performMaintenance\022\361\002\n\026RemoveResou"
+          + "rcePolicies\022>.google.cloud.compute.v1.Re"
+          + "moveResourcePoliciesInstanceRequest\032\".go"
+          + "ogle.cloud.compute.v1.Operation\"\362\001\332AIpro"
+          + "ject,zone,instance,instances_remove_reso"
+          + "urce_policies_request_resource\212N\016ZoneOpe"
+          + "rations\202\323\344\223\002\216\001\"W/compute/v1/projects/{pr"
+          + "oject}/zones/{zone}/instances/{instance}"
+          + "/removeResourcePolicies:3instances_remov"
+          + "e_resource_policies_request_resource\022\337\002\n"
+          + "\022ReportHostAsFaulty\022:.google.cloud.compu"
+          + "te.v1.ReportHostAsFaultyInstanceRequest\032"
+          + "\".google.cloud.compute.v1.Operation\"\350\001\332A"
+          + "Fproject,zone,instance,instances_report_"
+          + "host_as_faulty_request_resource\212N\016ZoneOp"
+          + "erations\202\323\344\223\002\207\001\"S/compute/v1/projects/{p"
+          + "roject}/zones/{zone}/instances/{instance"
+          + "}/reportHostAsFaulty:0instances_report_h"
+          + "ost_as_faulty_request_resource\022\323\001\n\005Reset"
+          + "\022-.google.cloud.compute.v1.ResetInstance"
+          + "Request\032\".google.cloud.compute.v1.Operat"
+          + "ion\"w\332A\025project,zone,instance\212N\016ZoneOper"
+          + "ations\202\323\344\223\002H\"F/compute/v1/projects/{proj"
+          + "ect}/zones/{zone}/instances/{instance}/r"
+          + "eset\022\326\001\n\006Resume\022..google.cloud.compute.v"
+          + "1.ResumeInstanceRequest\032\".google.cloud.c"
+          + "ompute.v1.Operation\"x\332A\025project,zone,ins"
+          + "tance\212N\016ZoneOperations\202\323\344\223\002I\"G/compute/v"
+          + "1/projects/{project}/zones/{zone}/instan"
+          + "ces/{instance}/resume\022\226\002\n\027SendDiagnostic"
+          + "Interrupt\022?.google.cloud.compute.v1.Send"
+          + "DiagnosticInterruptInstanceRequest\032@.goo"
+          + "gle.cloud.compute.v1.SendDiagnosticInter"
+          + "ruptInstanceResponse\"x\332A\025project,zone,in"
+          + "stance\202\323\344\223\002Z\"X/compute/v1/projects/{proj"
+          + "ect}/zones/{zone}/instances/{instance}/s"
+          + "endDiagnosticInterrupt\022\204\002\n\025SetDeletionPr"
+          + "otection\022=.google.cloud.compute.v1.SetDe"
+          + "letionProtectionInstanceRequest\032\".google"
+          + ".cloud.compute.v1.Operation\"\207\001\332A\025project"
+          + ",zone,resource\212N\016ZoneOperations\202\323\344\223\002X\"V/"
+          + "compute/v1/projects/{project}/zones/{zon"
+          + "e}/instances/{resource}/setDeletionProte"
+          + "ction\022\220\002\n\021SetDiskAutoDelete\0229.google.clo"
+          + "ud.compute.v1.SetDiskAutoDeleteInstanceR"
+          + "equest\032\".google.cloud.compute.v1.Operati"
+          + "on\"\233\001\332A-project,zone,instance,auto_delet"
+          + "e,device_name\212N\016ZoneOperations\202\323\344\223\002T\"R/c"
+          + "ompute/v1/projects/{project}/zones/{zone"
+          + "}/instances/{instance}/setDiskAutoDelete"
+          + "\022\230\002\n\014SetIamPolicy\0224.google.cloud.compute"
+          + ".v1.SetIamPolicyInstanceRequest\032\037.google"
+          + ".cloud.compute.v1.Policy\"\260\001\332A6project,zo"
+          + "ne,resource,zone_set_policy_request_reso"
+          + "urce\202\323\344\223\002q\"M/compute/v1/projects/{projec"
+          + "t}/zones/{zone}/instances/{resource}/set"
           + "IamPolicy: zone_set_policy_request_resou"
-          + "rce\022\326\002\n\022TestIamPermissions\022F.google.clou"
-          + "d.compute.v1.TestIamPermissionsInstantSn"
-          + "apshotGroupRequest\0320.google.cloud.comput"
-          + "e.v1.TestPermissionsResponse\"\305\001\332A7projec"
-          + "t,zone,resource,test_permissions_request"
-          + "_resource\202\323\344\223\002\204\001\"_/compute/v1/projects/{"
-          + "project}/zones/{zone}/instantSnapshotGro"
-          + "ups/{resource}/testIamPermissions:!test_"
-          + "permissions_request_resource\032r\312A\026compute"
-          + ".googleapis.com\322AVhttps://www.googleapis"
-          + ".com/auth/compute,https://www.googleapis"
-          + ".com/auth/cloud-platform2\203\023\n\020InstantSnap"
-          + "shots\022\326\001\n\016AggregatedList\022>.google.cloud."
-          + "compute.v1.AggregatedListInstantSnapshot"
-          + "sRequest\0326.google.cloud.compute.v1.Insta"
-          + "ntSnapshotAggregatedList\"L\332A\007project\202\323\344\223"
-          + "\002<\022:/compute/v1/projects/{project}/aggre"
-          + "gated/instantSnapshots\022\356\001\n\006Delete\0225.goog"
-          + "le.cloud.compute.v1.DeleteInstantSnapsho"
-          + "tRequest\032\".google.cloud.compute.v1.Opera"
-          + "tion\"\210\001\332A\035project,zone,instant_snapshot\212"
-          + "N\016ZoneOperations\202\323\344\223\002Q*O/compute/v1/proj"
-          + "ects/{project}/zones/{zone}/instantSnaps"
-          + "hots/{instant_snapshot}\022\334\001\n\003Get\0222.google"
-          + ".cloud.compute.v1.GetInstantSnapshotRequ"
-          + "est\032(.google.cloud.compute.v1.InstantSna"
-          + "pshot\"w\332A\035project,zone,instant_snapshot\202"
-          + "\323\344\223\002Q\022O/compute/v1/projects/{project}/zo"
-          + "nes/{zone}/instantSnapshots/{instant_sna"
-          + "pshot}\022\342\001\n\014GetIamPolicy\022;.google.cloud.c"
-          + "ompute.v1.GetIamPolicyInstantSnapshotReq"
-          + "uest\032\037.google.cloud.compute.v1.Policy\"t\332"
-          + "A\025project,zone,resource\202\323\344\223\002V\022T/compute/"
+          + "rce\022\255\002\n\tSetLabels\0221.google.cloud.compute"
+          + ".v1.SetLabelsInstanceRequest\032\".google.cl"
+          + "oud.compute.v1.Operation\"\310\001\332A;project,zo"
+          + "ne,instance,instances_set_labels_request"
+          + "_resource\212N\016ZoneOperations\202\323\344\223\002s\"J/compu"
+          + "te/v1/projects/{project}/zones/{zone}/in"
+          + "stances/{instance}/setLabels:%instances_"
+          + "set_labels_request_resource\022\342\002\n\023SetMachi"
+          + "neResources\022;.google.cloud.compute.v1.Se"
+          + "tMachineResourcesInstanceRequest\032\".googl"
+          + "e.cloud.compute.v1.Operation\"\351\001\332AFprojec"
+          + "t,zone,instance,instances_set_machine_re"
+          + "sources_request_resource\212N\016ZoneOperation"
+          + "s\202\323\344\223\002\210\001\"T/compute/v1/projects/{project}"
+          + "/zones/{zone}/instances/{instance}/setMa"
+          + "chineResources:0instances_set_machine_re"
+          + "sources_request_resource\022\310\002\n\016SetMachineT"
+          + "ype\0226.google.cloud.compute.v1.SetMachine"
+          + "TypeInstanceRequest\032\".google.cloud.compu"
+          + "te.v1.Operation\"\331\001\332AAproject,zone,instan"
+          + "ce,instances_set_machine_type_request_re"
+          + "source\212N\016ZoneOperations\202\323\344\223\002~\"O/compute/"
           + "v1/projects/{project}/zones/{zone}/insta"
-          + "ntSnapshots/{resource}/getIamPolicy\022\377\001\n\006"
-          + "Insert\0225.google.cloud.compute.v1.InsertI"
-          + "nstantSnapshotRequest\032\".google.cloud.com"
-          + "pute.v1.Operation\"\231\001\332A&project,zone,inst"
-          + "ant_snapshot_resource\212N\016ZoneOperations\202\323"
-          + "\344\223\002Y\"\022."
+          + "google.cloud.compute.v1.StartWithEncrypt"
+          + "ionKeyInstanceRequest\032\".google.cloud.com"
+          + "pute.v1.Operation\"\364\001\332AJproject,zone,inst"
+          + "ance,instances_start_with_encryption_key"
+          + "_request_resource\212N\016ZoneOperations\202\323\344\223\002\217"
+          + "\001\"W/compute/v1/projects/{project}/zones/"
+          + "{zone}/instances/{instance}/startWithEnc"
+          + "ryptionKey:4instances_start_with_encrypt"
+          + "ion_key_request_resource\022\320\001\n\004Stop\022,.goog"
+          + "le.cloud.compute.v1.StopInstanceRequest\032"
+          + "\".google.cloud.compute.v1.Operation\"v\332A\025"
+          + "project,zone,instance\212N\016ZoneOperations\202\323"
+          + "\344\223\002G\"E/compute/v1/projects/{project}/zon"
+          + "es/{zone}/instances/{instance}/stop\022\331\001\n\007"
+          + "Suspend\022/.google.cloud.compute.v1.Suspen"
+          + "dInstanceRequest\032\".google.cloud.compute."
+          + "v1.Operation\"y\332A\025project,zone,instance\212N"
+          + "\016ZoneOperations\202\323\344\223\002J\"H/compute/v1/proje"
+          + "cts/{project}/zones/{zone}/instances/{in"
+          + "stance}/suspend\022\275\002\n\022TestIamPermissions\022:"
+          + ".google.cloud.compute.v1.TestIamPermissi"
+          + "onsInstanceRequest\0320.google.cloud.comput"
+          + "e.v1.TestPermissionsResponse\"\270\001\332A7projec"
+          + "t,zone,resource,test_permissions_request"
+          + "_resource\202\323\344\223\002x\"S/compute/v1/projects/{p"
+          + "roject}/zones/{zone}/instances/{resource"
+          + "}/testIamPermissions:!test_permissions_r"
+          + "equest_resource\022\365\001\n\006Update\022..google.clou"
+          + "d.compute.v1.UpdateInstanceRequest\032\".goo"
+          + "gle.cloud.compute.v1.Operation\"\226\001\332A\'proj",
+      "ect,zone,instance,instance_resource\212N\016Zo"
+          + "neOperations\202\323\344\223\002U\032@/compute/v1/projects"
+          + "/{project}/zones/{zone}/instances/{insta"
+          + "nce}:\021instance_resource\022\274\002\n\022UpdateAccess"
+          + "Config\022:.google.cloud.compute.v1.UpdateA"
+          + "ccessConfigInstanceRequest\032\".google.clou"
+          + "d.compute.v1.Operation\"\305\001\332A>project,zone"
+          + ",instance,network_interface,access_confi"
+          + "g_resource\212N\016ZoneOperations\202\323\344\223\002m\"S/comp"
+          + "ute/v1/projects/{project}/zones/{zone}/i"
+          + "nstances/{instance}/updateAccessConfig:\026"
+          + "access_config_resource\022\257\002\n\023UpdateDisplay"
+          + "Device\022;.google.cloud.compute.v1.UpdateD"
+          + "isplayDeviceInstanceRequest\032\".google.clo"
+          + "ud.compute.v1.Operation\"\266\001\332A-project,zon"
+          + "e,instance,display_device_resource\212N\016Zon"
+          + "eOperations\202\323\344\223\002o2T/compute/v1/projects/"
+          + "{project}/zones/{zone}/instances/{instan"
+          + "ce}/updateDisplayDevice:\027display_device_"
+          + "resource\022\320\002\n\026UpdateNetworkInterface\022>.go"
+          + "ogle.cloud.compute.v1.UpdateNetworkInter"
+          + "faceInstanceRequest\032\".google.cloud.compu"
+          + "te.v1.Operation\"\321\001\332ABproject,zone,instan"
+          + "ce,network_interface,network_interface_r"
+          + "esource\212N\016ZoneOperations\202\323\344\223\002u2W/compute"
+          + "/v1/projects/{project}/zones/{zone}/inst"
+          + "ances/{instance}/updateNetworkInterface:"
+          + "\032network_interface_resource\022\337\002\n\034UpdateSh"
+          + "ieldedInstanceConfig\022D.google.cloud.comp"
+          + "ute.v1.UpdateShieldedInstanceConfigInsta"
+          + "nceRequest\032\".google.cloud.compute.v1.Ope"
+          + "ration\"\324\001\332A7project,zone,instance,shield"
+          + "ed_instance_config_resource\212N\016ZoneOperat"
+          + "ions\202\323\344\223\002\202\0012]/compute/v1/projects/{proje"
+          + "ct}/zones/{zone}/instances/{instance}/up"
+          + "dateShieldedInstanceConfig:!shielded_ins"
+          + "tance_config_resource\032r\312A\026compute.google"
+          + "apis.com\322AVhttps://www.googleapis.com/au"
+          + "th/compute,https://www.googleapis.com/au"
+          + "th/cloud-platform2\362\017\n\025InstantSnapshotGro"
+          + "ups\022\204\002\n\006Delete\022:.google.cloud.compute.v1"
+          + ".DeleteInstantSnapshotGroupRequest\032\".goo"
+          + "gle.cloud.compute.v1.Operation\"\231\001\332A#proj"
+          + "ect,zone,instant_snapshot_group\212N\016ZoneOp"
+          + "erations\202\323\344\223\002\\*Z/compute/v1/projects/{pr"
+          + "oject}/zones/{zone}/instantSnapshotGroup"
+          + "s/{instant_snapshot_group}\022\370\001\n\003Get\0227.goo"
+          + "gle.cloud.compute.v1.GetInstantSnapshotG"
+          + "roupRequest\032-.google.cloud.compute.v1.In"
+          + "stantSnapshotGroup\"\210\001\332A#project,zone,ins"
+          + "tant_snapshot_group\202\323\344\223\002\\\022Z/compute/v1/p"
           + "rojects/{project}/zones/{zone}/instantSn"
-          + "apshots\022\246\002\n\014SetIamPolicy\022;.google.cloud."
-          + "compute.v1.SetIamPolicyInstantSnapshotRe"
-          + "quest\032\037.google.cloud.compute.v1.Policy\"\267"
-          + "\001\332A6project,zone,resource,zone_set_polic"
-          + "y_request_resource\202\323\344\223\002x\"T/compute/v1/pr"
-          + "ojects/{project}/zones/{zone}/instantSna"
-          + "pshots/{resource}/setIamPolicy: zone_set"
-          + "_policy_request_resource\022\261\002\n\tSetLabels\0228"
-          + ".google.cloud.compute.v1.SetLabelsInstan"
-          + "tSnapshotRequest\032\".google.cloud.compute."
-          + "v1.Operation\"\305\001\332A6project,zone,resource,"
-          + "zone_set_labels_request_resource\212N\016ZoneO"
-          + "perations\202\323\344\223\002u\"Q/compute/v1/projects/{p"
-          + "roject}/zones/{zone}/instantSnapshots/{r"
-          + "esource}/setLabels: zone_set_labels_requ"
-          + "est_resource\022\313\002\n\022TestIamPermissions\022A.go"
-          + "ogle.cloud.compute.v1.TestIamPermissions"
-          + "InstantSnapshotRequest\0320.google.cloud.co"
-          + "mpute.v1.TestPermissionsResponse\"\277\001\332A7pr"
-          + "oject,zone,resource,test_permissions_req"
-          + "uest_resource\202\323\344\223\002\177\"Z/compute/v1/project"
+          + "apshotGroups/{instant_snapshot_group}\022\354\001"
+          + "\n\014GetIamPolicy\022@.google.cloud.compute.v1"
+          + ".GetIamPolicyInstantSnapshotGroupRequest"
+          + "\032\037.google.cloud.compute.v1.Policy\"y\332A\025pr"
+          + "oject,zone,resource\202\323\344\223\002[\022Y/compute/v1/p"
+          + "rojects/{project}/zones/{zone}/instantSn"
+          + "apshotGroups/{resource}/getIamPolicy\022\225\002\n"
+          + "\006Insert\022:.google.cloud.compute.v1.Insert"
+          + "InstantSnapshotGroupRequest\032\".google.clo"
+          + "ud.compute.v1.Operation\"\252\001\332A,project,zon"
+          + "e,instant_snapshot_group_resource\212N\016Zone"
+          + "Operations\202\323\344\223\002d\"A/compute/v1/projects/{"
+          + "project}/zones/{zone}/instantSnapshotGro"
+          + "ups:\037instant_snapshot_group_resource\022\317\001\n"
+          + "\004List\0229.google.cloud.compute.v1.ListInst"
+          + "antSnapshotGroupsRequest\0322.google.cloud."
+          + "compute.v1.ListInstantSnapshotGroups\"X\332A"
+          + "\014project,zone\202\323\344\223\002C\022A/compute/v1/project"
           + "s/{project}/zones/{zone}/instantSnapshot"
-          + "s/{resource}/testIamPermissions:!test_pe"
-          + "rmissions_request_resource\032r\312A\026compute.g"
-          + "oogleapis.com\322AVhttps://www.googleapis.c"
-          + "om/auth/compute,https://www.googleapis.c"
-          + "om/auth/cloud-platform2\246\026\n\034InterconnectA"
-          + "ttachmentGroups\022\227\002\n\006Delete\022A.google.clou"
+          + "Groups\022\260\002\n\014SetIamPolicy\022@.google.cloud.c"
+          + "ompute.v1.SetIamPolicyInstantSnapshotGro"
+          + "upRequest\032\037.google.cloud.compute.v1.Poli"
+          + "cy\"\274\001\332A6project,zone,resource,zone_set_p"
+          + "olicy_request_resource\202\323\344\223\002}\"Y/compute/v"
+          + "1/projects/{project}/zones/{zone}/instan"
+          + "tSnapshotGroups/{resource}/setIamPolicy:"
+          + " zone_set_policy_request_resource\022\326\002\n\022Te"
+          + "stIamPermissions\022F.google.cloud.compute."
+          + "v1.TestIamPermissionsInstantSnapshotGrou"
+          + "pRequest\0320.google.cloud.compute.v1.TestP"
+          + "ermissionsResponse\"\305\001\332A7project,zone,res"
+          + "ource,test_permissions_request_resource\202"
+          + "\323\344\223\002\204\001\"_/compute/v1/projects/{project}/z"
+          + "ones/{zone}/instantSnapshotGroups/{resou"
+          + "rce}/testIamPermissions:!test_permission"
+          + "s_request_resource\032r\312A\026compute.googleapi"
+          + "s.com\322AVhttps://www.googleapis.com/auth/"
+          + "compute,https://www.googleapis.com/auth/"
+          + "cloud-platform2\203\023\n\020InstantSnapshots\022\326\001\n\016"
+          + "AggregatedList\022>.google.cloud.compute.v1"
+          + ".AggregatedListInstantSnapshotsRequest\0326"
+          + ".google.cloud.compute.v1.InstantSnapshot"
+          + "AggregatedList\"L\332A\007project\202\323\344\223\002<\022:/compu"
+          + "te/v1/projects/{project}/aggregated/inst"
+          + "antSnapshots\022\356\001\n\006Delete\0225.google.cloud.c"
+          + "ompute.v1.DeleteInstantSnapshotRequest\032\""
+          + ".google.cloud.compute.v1.Operation\"\210\001\332A\035"
+          + "project,zone,instant_snapshot\212N\016ZoneOper"
+          + "ations\202\323\344\223\002Q*O/compute/v1/projects/{proj"
+          + "ect}/zones/{zone}/instantSnapshots/{inst"
+          + "ant_snapshot}\022\334\001\n\003Get\0222.google.cloud.com"
+          + "pute.v1.GetInstantSnapshotRequest\032(.goog"
+          + "le.cloud.compute.v1.InstantSnapshot\"w\332A\035"
+          + "project,zone,instant_snapshot\202\323\344\223\002Q\022O/co"
+          + "mpute/v1/projects/{project}/zones/{zone}"
+          + "/instantSnapshots/{instant_snapshot}\022\342\001\n"
+          + "\014GetIamPolicy\022;.google.cloud.compute.v1."
+          + "GetIamPolicyInstantSnapshotRequest\032\037.goo"
+          + "gle.cloud.compute.v1.Policy\"t\332A\025project,"
+          + "zone,resource\202\323\344\223\002V\022T/compute/v1/project"
+          + "s/{project}/zones/{zone}/instantSnapshot"
+          + "s/{resource}/getIamPolicy\022\377\001\n\006Insert\0225.g"
+          + "oogle.cloud.compute.v1.InsertInstantSnap"
+          + "shotRequest\032\".google.cloud.compute.v1.Op"
+          + "eration\"\231\001\332A&project,zone,instant_snapsh"
+          + "ot_resource\212N\016ZoneOperations\202\323\344\223\002Y\"\022.google.cloud.compute.v"
+          + "1.GetInterconnectAttachmentGroupRequest\032"
+          + "4.google.cloud.compute.v1.InterconnectAt"
+          + "tachmentGroup\"\222\001\332A%project,interconnect_"
+          + "attachment_group\202\323\344\223\002d\022b/compute/v1/proj"
+          + "ects/{project}/global/interconnectAttach"
+          + "mentGroups/{interconnect_attachment_grou"
+          + "p}\022\357\001\n\014GetIamPolicy\022G.google.cloud.compu"
+          + "te.v1.GetIamPolicyInterconnectAttachment"
+          + "GroupRequest\032\037.google.cloud.compute.v1.P"
+          + "olicy\"u\332A\020project,resource\202\323\344\223\002\\\022Z/compu"
+          + "te/v1/projects/{project}/global/intercon"
+          + "nectAttachmentGroups/{resource}/getIamPo"
+          + "licy\022\344\002\n\024GetOperationalStatus\022O.google.c"
+          + "loud.compute.v1.GetOperationalStatusInte"
+          + "rconnectAttachmentGroupRequest\032Q.google."
+          + "cloud.compute.v1.InterconnectAttachmentG"
+          + "roupsGetOperationalStatusResponse\"\247\001\332A%p"
+          + "roject,interconnect_attachment_group\202\323\344\223"
+          + "\002y\022w/compute/v1/projects/{project}/globa"
+          + "l/interconnectAttachmentGroups/{intercon"
+          + "nect_attachment_group}/getOperationalSta"
+          + "tus\022\250\002\n\006Insert\022A.google.cloud.compute.v1"
+          + ".InsertInterconnectAttachmentGroupReques"
+          + "t\032\".google.cloud.compute.v1.Operation\"\266\001"
+          + "\332A.project,interconnect_attachment_group"
+          + "_resource\212N\020GlobalOperations\202\323\344\223\002l\"B/com"
+          + "pute/v1/projects/{project}/global/interc"
+          + "onnectAttachmentGroups:&interconnect_att"
+          + "achment_group_resource\022\341\001\n\004List\022@.google"
+          + ".cloud.compute.v1.ListInterconnectAttach"
+          + "mentGroupsRequest\032A.google.cloud.compute"
+          + ".v1.InterconnectAttachmentGroupsListResp"
+          + "onse\"T\332A\007project\202\323\344\223\002D\022B/compute/v1/proj"
+          + "ects/{project}/global/interconnectAttach"
+          + "mentGroups\022\345\002\n\005Patch\022@.google.cloud.comp"
+          + "ute.v1.PatchInterconnectAttachmentGroupR"
+          + "equest\032\".google.cloud.compute.v1.Operati"
+          + "on\"\365\001\332ALproject,interconnect_attachment_"
+          + "group,interconnect_attachment_group_reso"
+          + "urce\212N\020GlobalOperations\202\323\344\223\002\214\0012b/compute"
+          + "/v1/projects/{project}/global/interconne"
+          + "ctAttachmentGroups/{interconnect_attachm"
+          + "ent_group}:&interconnect_attachment_grou"
+          + "p_resource\022\270\002\n\014SetIamPolicy\022G.google.clo"
+          + "ud.compute.v1.SetIamPolicyInterconnectAt"
+          + "tachmentGroupRequest\032\037.google.cloud.comp"
+          + "ute.v1.Policy\"\275\001\332A3project,resource,glob"
+          + "al_set_policy_request_resource\202\323\344\223\002\200\001\"Z/"
+          + "compute/v1/projects/{project}/global/int"
+          + "erconnectAttachmentGroups/{resource}/set"
+          + "IamPolicy:\"global_set_policy_request_res"
+          + "ource\022\331\002\n\022TestIamPermissions\022M.google.cl"
+          + "oud.compute.v1.TestIamPermissionsInterco"
+          + "nnectAttachmentGroupRequest\0320.google.clo"
+          + "ud.compute.v1.TestPermissionsResponse\"\301\001"
+          + "\332A2project,resource,test_permissions_req"
+          + "uest_resource\202\323\344\223\002\205\001\"`/compute/v1/projec"
+          + "ts/{project}/global/interconnectAttachme"
+          + "ntGroups/{resource}/testIamPermissions:!"
+          + "test_permissions_request_resource\032r\312A\026co"
+          + "mpute.googleapis.com\322AVhttps://www.googl"
+          + "eapis.com/auth/compute,https://www.googl"
+          + "eapis.com/auth/cloud-platform2\302\020\n\027Interc"
+          + "onnectAttachments\022\353\001\n\016AggregatedList\022E.g"
+          + "oogle.cloud.compute.v1.AggregatedListInt"
+          + "erconnectAttachmentsRequest\032=.google.clo"
+          + "ud.compute.v1.InterconnectAttachmentAggr"
+          + "egatedList\"S\332A\007project\202\323\344\223\002C\022A/compute/v"
+          + "1/projects/{project}/aggregated/intercon"
+          + "nectAttachments\022\222\002\n\006Delete\022<.google.clou"
           + "d.compute.v1.DeleteInterconnectAttachmen"
-          + "tGroupRequest\032\".google.cloud.compute.v1."
-          + "Operation\"\245\001\332A%project,interconnect_atta"
-          + "chment_group\212N\020GlobalOperations\202\323\344\223\002d*b/"
+          + "tRequest\032\".google.cloud.compute.v1.Opera"
+          + "tion\"\245\001\332A&project,region,interconnect_at"
+          + "tachment\212N\020RegionOperations\202\323\344\223\002c*a/comp"
+          + "ute/v1/projects/{project}/regions/{regio"
+          + "n}/interconnectAttachments/{interconnect"
+          + "_attachment}\022\206\002\n\003Get\0229.google.cloud.comp"
+          + "ute.v1.GetInterconnectAttachmentRequest\032"
+          + "/.google.cloud.compute.v1.InterconnectAt"
+          + "tachment\"\222\001\332A&project,region,interconnec"
+          + "t_attachment\202\323\344\223\002c\022a/compute/v1/projects"
+          + "/{project}/regions/{region}/interconnect"
+          + "Attachments/{interconnect_attachment}\022\243\002"
+          + "\n\006Insert\022<.google.cloud.compute.v1.Inser"
+          + "tInterconnectAttachmentRequest\032\".google."
+          + "cloud.compute.v1.Operation\"\266\001\332A/project,"
+          + "region,interconnect_attachment_resource\212"
+          + "N\020RegionOperations\202\323\344\223\002k\"G/compute/v1/pr"
+          + "ojects/{project}/regions/{region}/interc"
+          + "onnectAttachments: interconnect_attachme"
+          + "nt_resource\022\332\001\n\004List\022;.google.cloud.comp"
+          + "ute.v1.ListInterconnectAttachmentsReques"
+          + "t\0323.google.cloud.compute.v1.Interconnect"
+          + "AttachmentList\"`\332A\016project,region\202\323\344\223\002I\022"
+          + "G/compute/v1/projects/{project}/regions/"
+          + "{region}/interconnectAttachments\022\324\002\n\005Pat"
+          + "ch\022;.google.cloud.compute.v1.PatchInterc"
+          + "onnectAttachmentRequest\032\".google.cloud.c"
+          + "ompute.v1.Operation\"\351\001\332AGproject,region,"
+          + "interconnect_attachment,interconnect_att"
+          + "achment_resource\212N\020RegionOperations\202\323\344\223\002"
+          + "\205\0012a/compute/v1/projects/{project}/regio"
+          + "ns/{region}/interconnectAttachments/{int"
+          + "erconnect_attachment}: interconnect_atta"
+          + "chment_resource\022\314\002\n\tSetLabels\022?.google.c"
+          + "loud.compute.v1.SetLabelsInterconnectAtt"
+          + "achmentRequest\032\".google.cloud.compute.v1"
+          + ".Operation\"\331\001\332A:project,region,resource,"
+          + "region_set_labels_request_resource\212N\020Reg"
+          + "ionOperations\202\323\344\223\002\202\001\"\\/compute/v1/projec"
+          + "ts/{project}/regions/{region}/interconne"
+          + "ctAttachments/{resource}/setLabels:\"regi"
+          + "on_set_labels_request_resource\032r\312A\026compu"
+          + "te.googleapis.com\322AVhttps://www.googleap"
+          + "is.com/auth/compute,https://www.googleap"
+          + "is.com/auth/cloud-platform2\270\026\n\022Interconn"
+          + "ectGroups\022\363\002\n\rCreateMembers\022>.google.clo"
+          + "ud.compute.v1.CreateMembersInterconnectG"
+          + "roupRequest\032\".google.cloud.compute.v1.Op"
+          + "eration\"\375\001\332ANproject,interconnect_group,"
+          + "interconnect_groups_create_members_reque"
+          + "st_resource\212N\020GlobalOperations\202\323\344\223\002\222\001\"[/"
           + "compute/v1/projects/{project}/global/int"
-          + "erconnectAttachmentGroups/{interconnect_"
-          + "attachment_group}\022\220\002\n\003Get\022>.google.cloud"
-          + ".compute.v1.GetInterconnectAttachmentGro"
-          + "upRequest\0324.google.cloud.compute.v1.Inte"
-          + "rconnectAttachmentGroup\"\222\001\332A%project,int"
-          + "erconnect_attachment_group\202\323\344\223\002d\022b/compu"
-          + "te/v1/projects/{project}/global/intercon"
-          + "nectAttachmentGroups/{interconnect_attac"
-          + "hment_group}\022\357\001\n\014GetIamPolicy\022G.google.c"
-          + "loud.compute.v1.GetIamPolicyInterconnect"
-          + "AttachmentGroupRequest\032\037.google.cloud.co"
-          + "mpute.v1.Policy\"u\332A\020project,resource\202\323\344\223"
-          + "\002\\\022Z/compute/v1/projects/{project}/globa"
-          + "l/interconnectAttachmentGroups/{resource"
-          + "}/getIamPolicy\022\344\002\n\024GetOperationalStatus\022"
-          + "O.google.cloud.compute.v1.GetOperational"
-          + "StatusInterconnectAttachmentGroupRequest"
-          + "\032Q.google.cloud.compute.v1.InterconnectA"
-          + "ttachmentGroupsGetOperationalStatusRespo"
-          + "nse\"\247\001\332A%project,interconnect_attachment"
-          + "_group\202\323\344\223\002y\022w/compute/v1/projects/{proj"
-          + "ect}/global/interconnectAttachmentGroups"
-          + "/{interconnect_attachment_group}/getOper"
-          + "ationalStatus\022\250\002\n\006Insert\022A.google.cloud."
-          + "compute.v1.InsertInterconnectAttachmentG"
+          + "erconnectGroups/{interconnect_group}/cre"
+          + "ateMembers:3interconnect_groups_create_m"
+          + "embers_request_resource\022\355\001\n\006Delete\0227.goo"
+          + "gle.cloud.compute.v1.DeleteInterconnectG"
           + "roupRequest\032\".google.cloud.compute.v1.Op"
-          + "eration\"\266\001\332A.project,interconnect_attach"
-          + "ment_group_resource\212N\020GlobalOperations\202\323"
-          + "\344\223\002l\"B/compute/v1/projects/{project}/glo"
-          + "bal/interconnectAttachmentGroups:&interc"
-          + "onnect_attachment_group_resource\022\341\001\n\004Lis"
-          + "t\022@.google.cloud.compute.v1.ListIntercon"
-          + "nectAttachmentGroupsRequest\032A.google.clo"
-          + "ud.compute.v1.InterconnectAttachmentGrou"
-          + "psListResponse\"T\332A\007project\202\323\344\223\002D\022B/compu"
-          + "te/v1/projects/{project}/global/intercon"
-          + "nectAttachmentGroups\022\345\002\n\005Patch\022@.google."
-          + "cloud.compute.v1.PatchInterconnectAttach"
-          + "mentGroupRequest\032\".google.cloud.compute."
-          + "v1.Operation\"\365\001\332ALproject,interconnect_a"
-          + "ttachment_group,interconnect_attachment_"
-          + "group_resource\212N\020GlobalOperations\202\323\344\223\002\214\001"
-          + "2b/compute/v1/projects/{project}/global/"
-          + "interconnectAttachmentGroups/{interconne"
-          + "ct_attachment_group}:&interconnect_attac"
-          + "hment_group_resource\022\270\002\n\014SetIamPolicy\022G."
-          + "google.cloud.compute.v1.SetIamPolicyInte"
-          + "rconnectAttachmentGroupRequest\032\037.google."
-          + "cloud.compute.v1.Policy\"\275\001\332A3project,res"
-          + "ource,global_set_policy_request_resource"
-          + "\202\323\344\223\002\200\001\"Z/compute/v1/projects/{project}/"
-          + "global/interconnectAttachmentGroups/{res"
-          + "ource}/setIamPolicy:\"global_set_policy_r"
-          + "equest_resource\022\331\002\n\022TestIamPermissions\022M"
-          + ".google.cloud.compute.v1.TestIamPermissi"
-          + "onsInterconnectAttachmentGroupRequest\0320."
-          + "google.cloud.compute.v1.TestPermissionsR"
-          + "esponse\"\301\001\332A2project,resource,test_permi"
-          + "ssions_request_resource\202\323\344\223\002\205\001\"`/compute"
-          + "/v1/projects/{project}/global/interconne"
-          + "ctAttachmentGroups/{resource}/testIamPer"
-          + "missions:!test_permissions_request_resou"
-          + "rce\032r\312A\026compute.googleapis.com\322AVhttps:/"
-          + "/www.googleapis.com/auth/compute,https:/"
-          + "/www.googleapis.com/auth/cloud-platform2"
-          + "\302\020\n\027InterconnectAttachments\022\353\001\n\016Aggregat"
-          + "edList\022E.google.cloud.compute.v1.Aggrega"
-          + "tedListInterconnectAttachmentsRequest\032=."
-          + "google.cloud.compute.v1.InterconnectAtta"
-          + "chmentAggregatedList\"S\332A\007project\202\323\344\223\002C\022A"
-          + "/compute/v1/projects/{project}/aggregate"
-          + "d/interconnectAttachments\022\222\002\n\006Delete\022<.g"
-          + "oogle.cloud.compute.v1.DeleteInterconnec"
-          + "tAttachmentRequest\032\".google.cloud.comput"
-          + "e.v1.Operation\"\245\001\332A&project,region,inter"
-          + "connect_attachment\212N\020RegionOperations\202\323\344"
-          + "\223\002c*a/compute/v1/projects/{project}/regi"
-          + "ons/{region}/interconnectAttachments/{in"
-          + "terconnect_attachment}\022\206\002\n\003Get\0229.google."
-          + "cloud.compute.v1.GetInterconnectAttachme"
-          + "ntRequest\032/.google.cloud.compute.v1.Inte"
-          + "rconnectAttachment\"\222\001\332A&project,region,i"
-          + "nterconnect_attachment\202\323\344\223\002c\022a/compute/v"
-          + "1/projects/{project}/regions/{region}/in"
-          + "terconnectAttachments/{interconnect_atta"
-          + "chment}\022\243\002\n\006Insert\022<.google.cloud.comput"
-          + "e.v1.InsertInterconnectAttachmentRequest"
-          + "\032\".google.cloud.compute.v1.Operation\"\266\001\332"
-          + "A/project,region,interconnect_attachment"
-          + "_resource\212N\020RegionOperations\202\323\344\223\002k\"G/com"
-          + "pute/v1/projects/{project}/regions/{regi"
-          + "on}/interconnectAttachments: interconnec"
-          + "t_attachment_resource\022\332\001\n\004List\022;.google."
-          + "cloud.compute.v1.ListInterconnectAttachm"
-          + "entsRequest\0323.google.cloud.compute.v1.In"
-          + "terconnectAttachmentList\"`\332A\016project,reg"
-          + "ion\202\323\344\223\002I\022G/compute/v1/projects/{project"
-          + "}/regions/{region}/interconnectAttachmen"
-          + "ts\022\324\002\n\005Patch\022;.google.cloud.compute.v1.P"
-          + "atchInterconnectAttachmentRequest\032\".goog"
-          + "le.cloud.compute.v1.Operation\"\351\001\332AGproje"
-          + "ct,region,interconnect_attachment,interc"
-          + "onnect_attachment_resource\212N\020RegionOpera"
-          + "tions\202\323\344\223\002\205\0012a/compute/v1/projects/{proj"
-          + "ect}/regions/{region}/interconnectAttach"
-          + "ments/{interconnect_attachment}: interco"
-          + "nnect_attachment_resource\022\314\002\n\tSetLabels\022"
-          + "?.google.cloud.compute.v1.SetLabelsInter"
-          + "connectAttachmentRequest\032\".google.cloud."
-          + "compute.v1.Operation\"\331\001\332A:project,region"
-          + ",resource,region_set_labels_request_reso"
-          + "urce\212N\020RegionOperations\202\323\344\223\002\202\001\"\\/compute"
-          + "/v1/projects/{project}/regions/{region}/"
-          + "interconnectAttachments/{resource}/setLa"
-          + "bels:\"region_set_labels_request_resource"
-          + "\032r\312A\026compute.googleapis.com\322AVhttps://ww"
-          + "w.googleapis.com/auth/compute,https://ww"
-          + "w.googleapis.com/auth/cloud-platform2\270\026\n"
-          + "\022InterconnectGroups\022\363\002\n\rCreateMembers\022>."
-          + "google.cloud.compute.v1.CreateMembersInt"
-          + "erconnectGroupRequest\032\".google.cloud.com"
-          + "pute.v1.Operation\"\375\001\332ANproject,interconn"
-          + "ect_group,interconnect_groups_create_mem"
-          + "bers_request_resource\212N\020GlobalOperations"
-          + "\202\323\344\223\002\222\001\"[/compute/v1/projects/{project}/"
-          + "global/interconnectGroups/{interconnect_"
-          + "group}/createMembers:3interconnect_group"
-          + "s_create_members_request_resource\022\355\001\n\006De"
-          + "lete\0227.google.cloud.compute.v1.DeleteInt"
-          + "erconnectGroupRequest\032\".google.cloud.com"
-          + "pute.v1.Operation\"\205\001\332A\032project,interconn"
-          + "ect_group\212N\020GlobalOperations\202\323\344\223\002O*M/com"
+          + "eration\"\205\001\332A\032project,interconnect_group\212"
+          + "N\020GlobalOperations\202\323\344\223\002O*M/compute/v1/pr"
+          + "ojects/{project}/global/interconnectGrou"
+          + "ps/{interconnect_group}\022\333\001\n\003Get\0224.google"
+          + ".cloud.compute.v1.GetInterconnectGroupRe"
+          + "quest\032*.google.cloud.compute.v1.Intercon"
+          + "nectGroup\"r\332A\032project,interconnect_group"
+          + "\202\323\344\223\002O\022M/compute/v1/projects/{project}/g"
+          + "lobal/interconnectGroups/{interconnect_g"
+          + "roup}\022\333\001\n\014GetIamPolicy\022=.google.cloud.co"
+          + "mpute.v1.GetIamPolicyInterconnectGroupRe"
+          + "quest\032\037.google.cloud.compute.v1.Policy\"k"
+          + "\332A\020project,resource\202\323\344\223\002R\022P/compute/v1/p"
+          + "rojects/{project}/global/interconnectGro"
+          + "ups/{resource}/getIamPolicy\022\260\002\n\024GetOpera"
+          + "tionalStatus\022E.google.cloud.compute.v1.G"
+          + "etOperationalStatusInterconnectGroupRequ"
+          + "est\032G.google.cloud.compute.v1.Interconne"
+          + "ctGroupsGetOperationalStatusResponse\"\207\001\332"
+          + "A\032project,interconnect_group\202\323\344\223\002d\022b/com"
           + "pute/v1/projects/{project}/global/interc"
-          + "onnectGroups/{interconnect_group}\022\333\001\n\003Ge"
-          + "t\0224.google.cloud.compute.v1.GetInterconn"
-          + "ectGroupRequest\032*.google.cloud.compute.v"
-          + "1.InterconnectGroup\"r\332A\032project,intercon"
-          + "nect_group\202\323\344\223\002O\022M/compute/v1/projects/{"
+          + "onnectGroups/{interconnect_group}/getOpe"
+          + "rationalStatus\022\376\001\n\006Insert\0227.google.cloud"
+          + ".compute.v1.InsertInterconnectGroupReque"
+          + "st\032\".google.cloud.compute.v1.Operation\"\226"
+          + "\001\332A#project,interconnect_group_resource\212"
+          + "N\020GlobalOperations\202\323\344\223\002W\"8/compute/v1/pr"
+          + "ojects/{project}/global/interconnectGrou"
+          + "ps:\033interconnect_group_resource\022\303\001\n\004List"
+          + "\0226.google.cloud.compute.v1.ListInterconn"
+          + "ectGroupsRequest\0327.google.cloud.compute."
+          + "v1.InterconnectGroupsListResponse\"J\332A\007pr"
+          + "oject\202\323\344\223\002:\0228/compute/v1/projects/{proje"
+          + "ct}/global/interconnectGroups\022\244\002\n\005Patch\022"
+          + "6.google.cloud.compute.v1.PatchInterconn"
+          + "ectGroupRequest\032\".google.cloud.compute.v"
+          + "1.Operation\"\276\001\332A6project,interconnect_gr"
+          + "oup,interconnect_group_resource\212N\020Global"
+          + "Operations\202\323\344\223\002l2M/compute/v1/projects/{"
           + "project}/global/interconnectGroups/{inte"
-          + "rconnect_group}\022\333\001\n\014GetIamPolicy\022=.googl"
-          + "e.cloud.compute.v1.GetIamPolicyInterconn"
-          + "ectGroupRequest\032\037.google.cloud.compute.v"
-          + "1.Policy\"k\332A\020project,resource\202\323\344\223\002R\022P/co"
-          + "mpute/v1/projects/{project}/global/inter"
-          + "connectGroups/{resource}/getIamPolicy\022\260\002"
-          + "\n\024GetOperationalStatus\022E.google.cloud.co"
-          + "mpute.v1.GetOperationalStatusInterconnec"
-          + "tGroupRequest\032G.google.cloud.compute.v1."
-          + "InterconnectGroupsGetOperationalStatusRe"
-          + "sponse\"\207\001\332A\032project,interconnect_group\202\323"
-          + "\344\223\002d\022b/compute/v1/projects/{project}/glo"
-          + "bal/interconnectGroups/{interconnect_gro"
-          + "up}/getOperationalStatus\022\376\001\n\006Insert\0227.go"
-          + "ogle.cloud.compute.v1.InsertInterconnect"
-          + "GroupRequest\032\".google.cloud.compute.v1.O"
-          + "peration\"\226\001\332A#project,interconnect_group"
-          + "_resource\212N\020GlobalOperations\202\323\344\223\002W\"8/com"
+          + "rconnect_group}:\033interconnect_group_reso"
+          + "urce\022\243\002\n\014SetIamPolicy\022=.google.cloud.com"
+          + "pute.v1.SetIamPolicyInterconnectGroupReq"
+          + "uest\032\037.google.cloud.compute.v1.Policy\"\262\001"
+          + "\332A3project,resource,global_set_policy_re"
+          + "quest_resource\202\323\344\223\002v\"P/compute/v1/projec"
+          + "ts/{project}/global/interconnectGroups/{"
+          + "resource}/setIamPolicy:\"global_set_polic"
+          + "y_request_resource\022\304\002\n\022TestIamPermission"
+          + "s\022C.google.cloud.compute.v1.TestIamPermi"
+          + "ssionsInterconnectGroupRequest\0320.google."
+          + "cloud.compute.v1.TestPermissionsResponse"
+          + "\"\266\001\332A2project,resource,test_permissions_"
+          + "request_resource\202\323\344\223\002{\"V/compute/v1/proj"
+          + "ects/{project}/global/interconnectGroups"
+          + "/{resource}/testIamPermissions:!test_per"
+          + "missions_request_resource\032r\312A\026compute.go"
+          + "ogleapis.com\322AVhttps://www.googleapis.co"
+          + "m/auth/compute,https://www.googleapis.co"
+          + "m/auth/cloud-platform2\361\004\n\025InterconnectLo"
+          + "cations\022\352\001\n\003Get\0227.google.cloud.compute.v"
+          + "1.GetInterconnectLocationRequest\032-.googl"
+          + "e.cloud.compute.v1.InterconnectLocation\""
+          + "{\332A\035project,interconnect_location\202\323\344\223\002U\022"
+          + "S/compute/v1/projects/{project}/global/i"
+          + "nterconnectLocations/{interconnect_locat"
+          + "ion}\022\303\001\n\004List\0229.google.cloud.compute.v1."
+          + "ListInterconnectLocationsRequest\0321.googl"
+          + "e.cloud.compute.v1.InterconnectLocationL"
+          + "ist\"M\332A\007project\202\323\344\223\002=\022;/compute/v1/proje"
+          + "cts/{project}/global/interconnectLocatio"
+          + "ns\032\244\001\312A\026compute.googleapis.com\322A\207\001https:"
+          + "//www.googleapis.com/auth/compute.readon"
+          + "ly,https://www.googleapis.com/auth/compu"
+          + "te,https://www.googleapis.com/auth/cloud"
+          + "-platform2\252\005\n\033InterconnectRemoteLocation"
+          + "s\022\213\002\n\003Get\022=.google.cloud.compute.v1.GetI"
+          + "nterconnectRemoteLocationRequest\0323.googl"
+          + "e.cloud.compute.v1.InterconnectRemoteLoc"
+          + "ation\"\217\001\332A$project,interconnect_remote_l"
+          + "ocation\202\323\344\223\002b\022`/compute/v1/projects/{pro"
+          + "ject}/global/interconnectRemoteLocations"
+          + "/{interconnect_remote_location}\022\325\001\n\004List"
+          + "\022?.google.cloud.compute.v1.ListInterconn"
+          + "ectRemoteLocationsRequest\0327.google.cloud"
+          + ".compute.v1.InterconnectRemoteLocationLi"
+          + "st\"S\332A\007project\202\323\344\223\002C\022A/compute/v1/projec"
+          + "ts/{project}/global/interconnectRemoteLo"
+          + "cations\032\244\001\312A\026compute.googleapis.com\322A\207\001h"
+          + "ttps://www.googleapis.com/auth/compute.r"
+          + "eadonly,https://www.googleapis.com/auth/"
+          + "compute,https://www.googleapis.com/auth/"
+          + "cloud-platform2\350\017\n\rInterconnects\022\326\001\n\006Del"
+          + "ete\0222.google.cloud.compute.v1.DeleteInte"
+          + "rconnectRequest\032\".google.cloud.compute.v"
+          + "1.Operation\"t\332A\024project,interconnect\212N\020G"
+          + "lobalOperations\202\323\344\223\002D*B/compute/v1/proje"
+          + "cts/{project}/global/interconnects/{inte"
+          + "rconnect}\022\300\001\n\003Get\022/.google.cloud.compute"
+          + ".v1.GetInterconnectRequest\032%.google.clou"
+          + "d.compute.v1.Interconnect\"a\332A\024project,in"
+          + "terconnect\202\323\344\223\002D\022B/compute/v1/projects/{"
+          + "project}/global/interconnects/{interconn"
+          + "ect}\022\374\001\n\016GetDiagnostics\022:.google.cloud.c"
+          + "ompute.v1.GetDiagnosticsInterconnectRequ"
+          + "est\032<.google.cloud.compute.v1.Interconne"
+          + "ctsGetDiagnosticsResponse\"p\332A\024project,in"
+          + "terconnect\202\323\344\223\002S\022Q/compute/v1/projects/{"
+          + "project}/global/interconnects/{interconn"
+          + "ect}/getDiagnostics\022\200\002\n\017GetMacsecConfig\022"
+          + ";.google.cloud.compute.v1.GetMacsecConfi"
+          + "gInterconnectRequest\032=.google.cloud.comp",
+      "ute.v1.InterconnectsGetMacsecConfigRespo"
+          + "nse\"q\332A\024project,interconnect\202\323\344\223\002T\022R/com"
           + "pute/v1/projects/{project}/global/interc"
-          + "onnectGroups:\033interconnect_group_resourc"
-          + "e\022\303\001\n\004List\0226.google.cloud.compute.v1.Lis"
-          + "tInterconnectGroupsRequest\0327.google.clou"
-          + "d.compute.v1.InterconnectGroupsListRespo"
-          + "nse\"J\332A\007project\202\323\344\223\002:\0228/compute/v1/proje"
-          + "cts/{project}/global/interconnectGroups\022"
-          + "\244\002\n\005Patch\0226.google.cloud.compute.v1.Patc"
-          + "hInterconnectGroupRequest\032\".google.cloud"
-          + ".compute.v1.Operation\"\276\001\332A6project,inter"
-          + "connect_group,interconnect_group_resourc"
-          + "e\212N\020GlobalOperations\202\323\344\223\002l2M/compute/v1/"
-          + "projects/{project}/global/interconnectGr"
-          + "oups/{interconnect_group}:\033interconnect_"
-          + "group_resource\022\243\002\n\014SetIamPolicy\022=.google"
-          + ".cloud.compute.v1.SetIamPolicyInterconne"
-          + "ctGroupRequest\032\037.google.cloud.compute.v1"
-          + ".Policy\"\262\001\332A3project,resource,global_set"
-          + "_policy_request_resource\202\323\344\223\002v\"P/compute"
-          + "/v1/projects/{project}/global/interconne"
-          + "ctGroups/{resource}/setIamPolicy:\"global"
-          + "_set_policy_request_resource\022\304\002\n\022TestIam"
-          + "Permissions\022C.google.cloud.compute.v1.Te"
-          + "stIamPermissionsInterconnectGroupRequest"
-          + "\0320.google.cloud.compute.v1.TestPermissio"
-          + "nsResponse\"\266\001\332A2project,resource,test_pe"
-          + "rmissions_request_resource\202\323\344\223\002{\"V/compu"
-          + "te/v1/projects/{project}/global/intercon"
-          + "nectGroups/{resource}/testIamPermissions"
-          + ":!test_permissions_request_resource\032r\312A\026"
-          + "compute.googleapis.com\322AVhttps://www.goo"
-          + "gleapis.com/auth/compute,https://www.goo"
-          + "gleapis.com/auth/cloud-platform2\361\004\n\025Inte"
-          + "rconnectLocations\022\352\001\n\003Get\0227.google.cloud"
-          + ".compute.v1.GetInterconnectLocationReque"
-          + "st\032-.google.cloud.compute.v1.Interconnec"
-          + "tLocation\"{\332A\035project,interconnect_locat"
-          + "ion\202\323\344\223\002U\022S/compute/v1/projects/{project"
-          + "}/global/interconnectLocations/{intercon"
-          + "nect_location}\022\303\001\n\004List\0229.google.cloud.c"
-          + "ompute.v1.ListInterconnectLocationsReque"
-          + "st\0321.google.cloud.compute.v1.Interconnec"
-          + "tLocationList\"M\332A\007project\202\323\344\223\002=\022;/comput"
-          + "e/v1/projects/{project}/global/interconn"
-          + "ectLocations\032\244\001\312A\026compute.googleapis.com"
-          + "\322A\207\001https://www.googleapis.com/auth/comp"
-          + "ute.readonly,https://www.googleapis.com/"
-          + "auth/compute,https://www.googleapis.com/"
-          + "auth/cloud-platform2\252\005\n\033InterconnectRemo"
-          + "teLocations\022\213\002\n\003Get\022=.google.cloud.compu"
-          + "te.v1.GetInterconnectRemoteLocationReque"
-          + "st\0323.google.cloud.compute.v1.Interconnec"
-          + "tRemoteLocation\"\217\001\332A$project,interconnec"
-          + "t_remote_location\202\323\344\223\002b\022`/compute/v1/pro"
-          + "jects/{project}/global/interconnectRemot"
-          + "eLocations/{interconnect_remote_location"
-          + "}\022\325\001\n\004List\022?.google.cloud.compute.v1.Lis"
-          + "tInterconnectRemoteLocationsRequest\0327.go"
-          + "ogle.cloud.compute.v1.InterconnectRemote"
-          + "LocationList\"S\332A\007project\202\323\344\223\002C\022A/compute"
-          + "/v1/projects/{project}/global/interconne"
-          + "ctRemoteLocations\032\244\001\312A\026compute.googleapi"
-          + "s.com\322A\207\001https://www.googleapis.com/auth"
-          + "/compute.readonly,https://www.googleapis"
-          + ".com/auth/compute,https://www.googleapis"
-          + ".com/auth/cloud-platform2\350\017\n\rInterconnec"
-          + "ts\022\326\001\n\006Delete\0222.google.cloud.compute.v1."
-          + "DeleteInterconnectRequest\032\".google.cloud"
-          + ".compute.v1.Operation\"t\332A\024project,interc"
-          + "onnect\212N\020GlobalOperations\202\323\344\223\002D*B/comput"
-          + "e/v1/projects/{project}/global/interconn"
-          + "ects/{interconnect}\022\300\001\n\003Get\022/.google.clo"
-          + "ud.compute.v1.GetInterconnectRequest\032%.g"
-          + "oogle.cloud.compute.v1.Interconnect\"a\332A\024"
-          + "project,interconnect\202\323\344\223\002D\022B/compute/v1/"
-          + "projects/{project}/global/interconnects/"
-          + "{interconnect}\022\374\001\n\016GetDiagnostics\022:.goog"
-          + "le.cloud.compute.v1.GetDiagnosticsInterc"
-          + "onnectRequest\032<.google.cloud.compute.v1."
-          + "InterconnectsGetDiagnosticsResponse\"p\332A\024"
-          + "project,interconnect\202\323\344\223\002S\022Q/compute/v1/"
-          + "projects/{project}/global/interconnects/"
-          + "{interconnect}/getDiagnostics\022\200\002\n\017GetMac"
-          + "secConfig\022;.google.cloud.compute.v1.GetM"
-          + "acsecConfigInterconnectRequest\032=.google."
-          + "cloud.compute.v1.InterconnectsGetMacsecC"
-          + "onfigResponse\"q\332A\024project,interconnect\202\323"
-          + "\344\223\002T\022R/compute/v1/projects/{project}/glo"
-          + "bal/interconnects/{interconnect}/getMacs"
-          + "ecConfig\022\350\001\n\006Insert\0222.google.cloud.compu"
-          + "te.v1.InsertInterconnectRequest\032\".google"
-          + ".cloud.compute.v1.Operation\"\205\001\332A\035project"
-          + ",interconnect_resource\212N\020GlobalOperation"
-          + "s\202\323\344\223\002L\"3/compute/v1/projects/{project}/"
-          + "global/interconnects:\025interconnect_resou"
-          + "rce\022\253\001\n\004List\0221.google.cloud.compute.v1.L"
-          + "istInterconnectsRequest\032).google.cloud.c"
-          + "ompute.v1.InterconnectList\"E\332A\007project\202\323"
-          + "\344\223\0025\0223/compute/v1/projects/{project}/glo"
-          + "bal/interconnects\022\202\002\n\005Patch\0221.google.clo"
-          + "ud.compute.v1.PatchInterconnectRequest\032\""
-          + ".google.cloud.compute.v1.Operation\"\241\001\332A*"
-          + "project,interconnect,interconnect_resour"
-          + "ce\212N\020GlobalOperations\202\323\344\223\002[2B/compute/v1"
-          + "/projects/{project}/global/interconnects"
-          + "/{interconnect}:\025interconnect_resource\022\246"
-          + "\002\n\tSetLabels\0225.google.cloud.compute.v1.S"
-          + "etLabelsInterconnectRequest\032\".google.clo"
-          + "ud.compute.v1.Operation\"\275\001\332A3project,res"
-          + "ource,global_set_labels_request_resource"
-          + "\212N\020GlobalOperations\202\323\344\223\002n\"H/compute/v1/p"
-          + "rojects/{project}/global/interconnects/{"
-          + "resource}/setLabels:\"global_set_labels_r"
-          + "equest_resource\032r\312A\026compute.googleapis.c"
-          + "om\322AVhttps://www.googleapis.com/auth/com"
-          + "pute,https://www.googleapis.com/auth/clo"
-          + "ud-platform2\351\010\n\014LicenseCodes\022\275\001\n\003Get\022..g"
-          + "oogle.cloud.compute.v1.GetLicenseCodeReq"
-          + "uest\032$.google.cloud.compute.v1.LicenseCo"
-          + "de\"`\332A\024project,license_code\202\323\344\223\002C\022A/comp"
-          + "ute/v1/projects/{project}/global/license"
-          + "Codes/{license_code}\022\317\001\n\014GetIamPolicy\0227."
-          + "google.cloud.compute.v1.GetIamPolicyLice"
+          + "onnects/{interconnect}/getMacsecConfig\022\350"
+          + "\001\n\006Insert\0222.google.cloud.compute.v1.Inse"
+          + "rtInterconnectRequest\032\".google.cloud.com"
+          + "pute.v1.Operation\"\205\001\332A\035project,interconn"
+          + "ect_resource\212N\020GlobalOperations\202\323\344\223\002L\"3/"
+          + "compute/v1/projects/{project}/global/int"
+          + "erconnects:\025interconnect_resource\022\253\001\n\004Li"
+          + "st\0221.google.cloud.compute.v1.ListInterco"
+          + "nnectsRequest\032).google.cloud.compute.v1."
+          + "InterconnectList\"E\332A\007project\202\323\344\223\0025\0223/com"
+          + "pute/v1/projects/{project}/global/interc"
+          + "onnects\022\202\002\n\005Patch\0221.google.cloud.compute"
+          + ".v1.PatchInterconnectRequest\032\".google.cl"
+          + "oud.compute.v1.Operation\"\241\001\332A*project,in"
+          + "terconnect,interconnect_resource\212N\020Globa"
+          + "lOperations\202\323\344\223\002[2B/compute/v1/projects/"
+          + "{project}/global/interconnects/{intercon"
+          + "nect}:\025interconnect_resource\022\246\002\n\tSetLabe"
+          + "ls\0225.google.cloud.compute.v1.SetLabelsIn"
+          + "terconnectRequest\032\".google.cloud.compute"
+          + ".v1.Operation\"\275\001\332A3project,resource,glob"
+          + "al_set_labels_request_resource\212N\020GlobalO"
+          + "perations\202\323\344\223\002n\"H/compute/v1/projects/{p"
+          + "roject}/global/interconnects/{resource}/"
+          + "setLabels:\"global_set_labels_request_res"
+          + "ource\032r\312A\026compute.googleapis.com\322AVhttps"
+          + "://www.googleapis.com/auth/compute,https"
+          + "://www.googleapis.com/auth/cloud-platfor"
+          + "m2\351\010\n\014LicenseCodes\022\275\001\n\003Get\022..google.clou"
+          + "d.compute.v1.GetLicenseCodeRequest\032$.goo"
+          + "gle.cloud.compute.v1.LicenseCode\"`\332A\024pro"
+          + "ject,license_code\202\323\344\223\002C\022A/compute/v1/pro"
+          + "jects/{project}/global/licenseCodes/{lic"
+          + "ense_code}\022\317\001\n\014GetIamPolicy\0227.google.clo"
+          + "ud.compute.v1.GetIamPolicyLicenseCodeReq"
+          + "uest\032\037.google.cloud.compute.v1.Policy\"e\332"
+          + "A\020project,resource\202\323\344\223\002L\022J/compute/v1/pr"
+          + "ojects/{project}/global/licenseCodes/{re"
+          + "source}/getIamPolicy\022\227\002\n\014SetIamPolicy\0227."
+          + "google.cloud.compute.v1.SetIamPolicyLice"
           + "nseCodeRequest\032\037.google.cloud.compute.v1"
-          + ".Policy\"e\332A\020project,resource\202\323\344\223\002L\022J/com"
-          + "pute/v1/projects/{project}/global/licens"
-          + "eCodes/{resource}/getIamPolicy\022\227\002\n\014SetIa"
-          + "mPolicy\0227.google.cloud.compute.v1.SetIam"
-          + "PolicyLicenseCodeRequest\032\037.google.cloud."
-          + "compute.v1.Policy\"\254\001\332A3project,resource,"
-          + "global_set_policy_request_resource\202\323\344\223\002p"
-          + "\"J/compute/v1/projects/{project}/global/"
-          + "licenseCodes/{resource}/setIamPolicy:\"gl"
-          + "obal_set_policy_request_resource\022\270\002\n\022Tes"
-          + "tIamPermissions\022=.google.cloud.compute.v"
-          + "1.TestIamPermissionsLicenseCodeRequest\0320"
-          + ".google.cloud.compute.v1.TestPermissions"
-          + "Response\"\260\001\332A2project,resource,test_perm"
-          + "issions_request_resource\202\323\344\223\002u\"P/compute"
+          + ".Policy\"\254\001\332A3project,resource,global_set"
+          + "_policy_request_resource\202\323\344\223\002p\"J/compute"
           + "/v1/projects/{project}/global/licenseCod"
-          + "es/{resource}/testIamPermissions:!test_p"
-          + "ermissions_request_resource\032r\312A\026compute.",
-      "googleapis.com\322AVhttps://www.googleapis."
-          + "com/auth/compute,https://www.googleapis."
-          + "com/auth/cloud-platform2\343\016\n\010Licenses\022\302\001\n"
-          + "\006Delete\022-.google.cloud.compute.v1.Delete"
-          + "LicenseRequest\032\".google.cloud.compute.v1"
-          + ".Operation\"e\332A\017project,license\212N\020GlobalO"
-          + "perations\202\323\344\223\002:*8/compute/v1/projects/{p"
-          + "roject}/global/licenses/{license}\022\247\001\n\003Ge"
-          + "t\022*.google.cloud.compute.v1.GetLicenseRe"
-          + "quest\032 .google.cloud.compute.v1.License\""
-          + "R\332A\017project,license\202\323\344\223\002:\0228/compute/v1/p"
-          + "rojects/{project}/global/licenses/{licen"
-          + "se}\022\307\001\n\014GetIamPolicy\0223.google.cloud.comp"
-          + "ute.v1.GetIamPolicyLicenseRequest\032\037.goog"
-          + "le.cloud.compute.v1.Policy\"a\332A\020project,r"
-          + "esource\202\323\344\223\002H\022F/compute/v1/projects/{pro"
-          + "ject}/global/licenses/{resource}/getIamP"
-          + "olicy\022\323\001\n\006Insert\022-.google.cloud.compute."
-          + "v1.InsertLicenseRequest\032\".google.cloud.c"
-          + "ompute.v1.Operation\"v\332A\030project,license_"
-          + "resource\212N\020GlobalOperations\202\323\344\223\002B\"./comp"
-          + "ute/v1/projects/{project}/global/license"
-          + "s:\020license_resource\022\245\001\n\004List\022,.google.cl"
-          + "oud.compute.v1.ListLicensesRequest\032-.goo"
-          + "gle.cloud.compute.v1.LicensesListRespons"
-          + "e\"@\332A\007project\202\323\344\223\0020\022./compute/v1/project"
-          + "s/{project}/global/licenses\022\217\002\n\014SetIamPo"
-          + "licy\0223.google.cloud.compute.v1.SetIamPol"
-          + "icyLicenseRequest\032\037.google.cloud.compute"
-          + ".v1.Policy\"\250\001\332A3project,resource,global_"
-          + "set_policy_request_resource\202\323\344\223\002l\"F/comp"
-          + "ute/v1/projects/{project}/global/license"
-          + "s/{resource}/setIamPolicy:\"global_set_po"
-          + "licy_request_resource\022\260\002\n\022TestIamPermiss"
-          + "ions\0229.google.cloud.compute.v1.TestIamPe"
-          + "rmissionsLicenseRequest\0320.google.cloud.c"
-          + "ompute.v1.TestPermissionsResponse\"\254\001\332A2p"
-          + "roject,resource,test_permissions_request"
-          + "_resource\202\323\344\223\002q\"L/compute/v1/projects/{p"
-          + "roject}/global/licenses/{resource}/testI"
-          + "amPermissions:!test_permissions_request_"
-          + "resource\022\346\001\n\006Update\022-.google.cloud.compu"
-          + "te.v1.UpdateLicenseRequest\032\".google.clou"
-          + "d.compute.v1.Operation\"\210\001\332A project,lice"
-          + "nse,license_resource\212N\020GlobalOperations\202"
-          + "\323\344\223\002L28/compute/v1/projects/{project}/gl"
-          + "obal/licenses/{license}:\020license_resourc"
-          + "e\032r\312A\026compute.googleapis.com\322AVhttps://w"
-          + "ww.googleapis.com/auth/compute,https://w"
-          + "ww.googleapis.com/auth/cloud-platform2\224\020"
-          + "\n\rMachineImages\022\330\001\n\006Delete\0222.google.clou"
-          + "d.compute.v1.DeleteMachineImageRequest\032\""
-          + ".google.cloud.compute.v1.Operation\"v\332A\025p"
-          + "roject,machine_image\212N\020GlobalOperations\202"
-          + "\323\344\223\002E*C/compute/v1/projects/{project}/gl"
-          + "obal/machineImages/{machine_image}\022\302\001\n\003G"
-          + "et\022/.google.cloud.compute.v1.GetMachineI"
-          + "mageRequest\032%.google.cloud.compute.v1.Ma"
-          + "chineImage\"c\332A\025project,machine_image\202\323\344\223"
-          + "\002E\022C/compute/v1/projects/{project}/globa"
-          + "l/machineImages/{machine_image}\022\321\001\n\014GetI"
-          + "amPolicy\0228.google.cloud.compute.v1.GetIa"
-          + "mPolicyMachineImageRequest\032\037.google.clou"
-          + "d.compute.v1.Policy\"f\332A\020project,resource"
-          + "\202\323\344\223\002M\022K/compute/v1/projects/{project}/g"
-          + "lobal/machineImages/{resource}/getIamPol"
-          + "icy\022\352\001\n\006Insert\0222.google.cloud.compute.v1"
-          + ".InsertMachineImageRequest\032\".google.clou"
-          + "d.compute.v1.Operation\"\207\001\332A\036project,mach"
-          + "ine_image_resource\212N\020GlobalOperations\202\323\344"
-          + "\223\002M\"3/compute/v1/projects/{project}/glob"
-          + "al/machineImages:\026machine_image_resource"
-          + "\022\253\001\n\004List\0221.google.cloud.compute.v1.List"
-          + "MachineImagesRequest\032).google.cloud.comp"
-          + "ute.v1.MachineImageList\"E\332A\007project\202\323\344\223\002"
-          + "5\0223/compute/v1/projects/{project}/global"
-          + "/machineImages\022\231\002\n\014SetIamPolicy\0228.google"
-          + ".cloud.compute.v1.SetIamPolicyMachineIma"
-          + "geRequest\032\037.google.cloud.compute.v1.Poli"
-          + "cy\"\255\001\332A3project,resource,global_set_poli"
-          + "cy_request_resource\202\323\344\223\002q\"K/compute/v1/p"
-          + "rojects/{project}/global/machineImages/{"
-          + "resource}/setIamPolicy:\"global_set_polic"
-          + "y_request_resource\022\246\002\n\tSetLabels\0225.googl"
-          + "e.cloud.compute.v1.SetLabelsMachineImage"
-          + "Request\032\".google.cloud.compute.v1.Operat"
-          + "ion\"\275\001\332A3project,resource,global_set_lab"
-          + "els_request_resource\212N\020GlobalOperations\202"
-          + "\323\344\223\002n\"H/compute/v1/projects/{project}/gl"
-          + "obal/machineImages/{resource}/setLabels:"
-          + "\"global_set_labels_request_resource\022\272\002\n\022"
-          + "TestIamPermissions\022>.google.cloud.comput"
-          + "e.v1.TestIamPermissionsMachineImageReque"
-          + "st\0320.google.cloud.compute.v1.TestPermiss"
-          + "ionsResponse\"\261\001\332A2project,resource,test_"
-          + "permissions_request_resource\202\323\344\223\002v\"Q/com"
-          + "pute/v1/projects/{project}/global/machin"
-          + "eImages/{resource}/testIamPermissions:!t"
-          + "est_permissions_request_resource\032r\312A\026com"
-          + "pute.googleapis.com\322AVhttps://www.google"
-          + "apis.com/auth/compute,https://www.google"
-          + "apis.com/auth/cloud-platform2\203\006\n\014Machine"
-          + "Types\022\312\001\n\016AggregatedList\022:.google.cloud."
-          + "compute.v1.AggregatedListMachineTypesReq"
-          + "uest\0322.google.cloud.compute.v1.MachineTy"
-          + "peAggregatedList\"H\332A\007project\202\323\344\223\0028\0226/com"
-          + "pute/v1/projects/{project}/aggregated/ma"
-          + "chineTypes\022\310\001\n\003Get\022..google.cloud.comput"
-          + "e.v1.GetMachineTypeRequest\032$.google.clou"
-          + "d.compute.v1.MachineType\"k\332A\031project,zon"
-          + "e,machine_type\202\323\344\223\002I\022G/compute/v1/projec"
-          + "ts/{project}/zones/{zone}/machineTypes/{"
-          + "machine_type}\022\263\001\n\004List\0220.google.cloud.co"
-          + "mpute.v1.ListMachineTypesRequest\032(.googl"
-          + "e.cloud.compute.v1.MachineTypeList\"O\332A\014p"
-          + "roject,zone\202\323\344\223\002:\0228/compute/v1/projects/"
-          + "{project}/zones/{zone}/machineTypes\032\244\001\312A"
-          + "\026compute.googleapis.com\322A\207\001https://www.g"
-          + "oogleapis.com/auth/compute.readonly,http"
-          + "s://www.googleapis.com/auth/compute,http"
-          + "s://www.googleapis.com/auth/cloud-platfo"
-          + "rm2\360\023\n\022NetworkAttachments\022\334\001\n\016Aggregated"
-          + "List\022@.google.cloud.compute.v1.Aggregate"
-          + "dListNetworkAttachmentsRequest\0328.google."
-          + "cloud.compute.v1.NetworkAttachmentAggreg"
-          + "atedList\"N\332A\007project\202\323\344\223\002>\022.google.cloud.compute.v1.TestI"
+          + "amPermissionsMachineImageRequest\0320.googl"
+          + "e.cloud.compute.v1.TestPermissionsRespon"
+          + "se\"\261\001\332A2project,resource,test_permission"
+          + "s_request_resource\202\323\344\223\002v\"Q/compute/v1/pr"
+          + "ojects/{project}/global/machineImages/{r"
           + "esource}/testIamPermissions:!test_permis"
           + "sions_request_resource\032r\312A\026compute.googl"
           + "eapis.com\322AVhttps://www.googleapis.com/a"
           + "uth/compute,https://www.googleapis.com/a"
-          + "uth/cloud-platform2\260.\n\027NetworkFirewallPo"
-          + "licies\022\323\002\n\016AddAssociation\022C.google.cloud"
-          + ".compute.v1.AddAssociationNetworkFirewal"
-          + "lPolicyRequest\032\".google.cloud.compute.v1"
-          + ".Operation\"\327\001\332A\022.google.cloud.compute.v1.PatchRu"
-          + "leNetworkFirewallPolicyRequest\032\".google."
-          + "cloud.compute.v1.Operation\"\304\001\332A5project,"
-          + "firewall_policy,firewall_policy_rule_res"
-          + "ource\212N\020GlobalOperations\202\323\344\223\002s\"R/compute"
-          + "/v1/projects/{project}/global/firewallPo"
-          + "licies/{firewall_policy}/patchRule:\035fire"
-          + "wall_policy_rule_resource\022\221\002\n\021RemoveAsso"
-          + "ciation\022F.google.cloud.compute.v1.Remove"
-          + "AssociationNetworkFirewallPolicyRequest\032"
-          + "\".google.cloud.compute.v1.Operation\"\217\001\332A"
-          + "\027project,firewall_policy\212N\020GlobalOperati"
-          + "ons\202\323\344\223\002\\\"Z/compute/v1/projects/{project"
-          + "}/global/firewallPolicies/{firewall_poli"
-          + "cy}/removeAssociation\022\251\002\n\031RemovePacketMi"
-          + "rroringRule\022N.google.cloud.compute.v1.Re"
-          + "movePacketMirroringRuleNetworkFirewallPo"
+          + "_policy}/getRule\022\372\001\n\006Insert\022;.google.clo"
+          + "ud.compute.v1.InsertNetworkFirewallPolic"
+          + "yRequest\032\".google.cloud.compute.v1.Opera"
+          + "tion\"\216\001\332A project,firewall_policy_resour"
+          + "ce\212N\020GlobalOperations\202\323\344\223\002R\"6/compute/v1"
+          + "/projects/{project}/global/firewallPolic"
+          + "ies:\030firewall_policy_resource\022\272\001\n\004List\022;"
+          + ".google.cloud.compute.v1.ListNetworkFire"
+          + "wallPoliciesRequest\032+.google.cloud.compu"
+          + "te.v1.FirewallPolicyList\"H\332A\007project\202\323\344\223"
+          + "\0028\0226/compute/v1/projects/{project}/globa"
+          + "l/firewallPolicies\022\232\002\n\005Patch\022:.google.cl"
+          + "oud.compute.v1.PatchNetworkFirewallPolic"
+          + "yRequest\032\".google.cloud.compute.v1.Opera"
+          + "tion\"\260\001\332A0project,firewall_policy,firewa"
+          + "ll_policy_resource\212N\020GlobalOperations\202\323\344"
+          + "\223\002d2H/compute/v1/projects/{project}/glob"
+          + "al/firewallPolicies/{firewall_policy}:\030f"
+          + "irewall_policy_resource\022\344\002\n\030PatchPacketM"
+          + "irroringRule\022M.google.cloud.compute.v1.P"
+          + "atchPacketMirroringRuleNetworkFirewallPo"
           + "licyRequest\032\".google.cloud.compute.v1.Op"
-          + "eration\"\227\001\332A\027project,firewall_policy\212N\020G"
-          + "lobalOperations\202\323\344\223\002d\"b/compute/v1/proje"
-          + "cts/{project}/global/firewallPolicies/{f"
-          + "irewall_policy}/removePacketMirroringRul"
-          + "e\022\374\001\n\nRemoveRule\022?.google.cloud.compute."
-          + "v1.RemoveRuleNetworkFirewallPolicyReques"
-          + "t\032\".google.cloud.compute.v1.Operation\"\210\001"
+          + "eration\"\324\001\332A5project,firewall_policy,fir"
+          + "ewall_policy_rule_resource\212N\020GlobalOpera"
+          + "tions\202\323\344\223\002\202\001\"a/compute/v1/projects/{proj"
+          + "ect}/global/firewallPolicies/{firewall_p"
+          + "olicy}/patchPacketMirroringRule:\035firewal"
+          + "l_policy_rule_resource\022\266\002\n\tPatchRule\022>.g"
+          + "oogle.cloud.compute.v1.PatchRuleNetworkF"
+          + "irewallPolicyRequest\032\".google.cloud.comp"
+          + "ute.v1.Operation\"\304\001\332A5project,firewall_p"
+          + "olicy,firewall_policy_rule_resource\212N\020Gl"
+          + "obalOperations\202\323\344\223\002s\"R/compute/v1/projec"
+          + "ts/{project}/global/firewallPolicies/{fi"
+          + "rewall_policy}/patchRule:\035firewall_polic"
+          + "y_rule_resource\022\221\002\n\021RemoveAssociation\022F."
+          + "google.cloud.compute.v1.RemoveAssociatio"
+          + "nNetworkFirewallPolicyRequest\032\".google.c"
+          + "loud.compute.v1.Operation\"\217\001\332A\027project,f"
+          + "irewall_policy\212N\020GlobalOperations\202\323\344\223\002\\\""
+          + "Z/compute/v1/projects/{project}/global/f"
+          + "irewallPolicies/{firewall_policy}/remove"
+          + "Association\022\251\002\n\031RemovePacketMirroringRul"
+          + "e\022N.google.cloud.compute.v1.RemovePacket"
+          + "MirroringRuleNetworkFirewallPolicyReques"
+          + "t\032\".google.cloud.compute.v1.Operation\"\227\001"
           + "\332A\027project,firewall_policy\212N\020GlobalOpera"
-          + "tions\202\323\344\223\002U\"S/compute/v1/projects/{proje"
+          + "tions\202\323\344\223\002d\"b/compute/v1/projects/{proje"
           + "ct}/global/firewallPolicies/{firewall_po"
-          + "licy}/removeRule\022\245\002\n\014SetIamPolicy\022A.goog"
-          + "le.cloud.compute.v1.SetIamPolicyNetworkF"
-          + "irewallPolicyRequest\032\037.google.cloud.comp"
-          + "ute.v1.Policy\"\260\001\332A3project,resource,glob"
-          + "al_set_policy_request_resource\202\323\344\223\002t\"N/c"
-          + "ompute/v1/projects/{project}/global/fire"
-          + "wallPolicies/{resource}/setIamPolicy:\"gl"
-          + "obal_set_policy_request_resource\022\306\002\n\022Tes"
-          + "tIamPermissions\022G.google.cloud.compute.v"
-          + "1.TestIamPermissionsNetworkFirewallPolic"
-          + "yRequest\0320.google.cloud.compute.v1.TestP"
-          + "ermissionsResponse\"\264\001\332A2project,resource"
-          + ",test_permissions_request_resource\202\323\344\223\002y"
-          + "\"T/compute/v1/projects/{project}/global/"
-          + "firewallPolicies/{resource}/testIamPermi"
-          + "ssions:!test_permissions_request_resourc"
-          + "e\032r\312A\026compute.googleapis.com\322AVhttps://w"
-          + "ww.googleapis.com/auth/compute,https://w"
-          + "ww.googleapis.com/auth/cloud-platform2\304\004"
-          + "\n\017NetworkProfiles\022\314\001\n\003Get\0221.google.cloud"
-          + ".compute.v1.GetNetworkProfileRequest\032\'.g"
-          + "oogle.cloud.compute.v1.NetworkProfile\"i\332"
-          + "A\027project,network_profile\202\323\344\223\002I\022G/comput"
-          + "e/v1/projects/{project}/global/networkPr"
-          + "ofiles/{network_profile}\022\272\001\n\004List\0223.goog"
-          + "le.cloud.compute.v1.ListNetworkProfilesR"
-          + "equest\0324.google.cloud.compute.v1.Network"
-          + "ProfilesListResponse\"G\332A\007project\202\323\344\223\0027\0225"
-          + "/compute/v1/projects/{project}/global/ne"
-          + "tworkProfiles\032\244\001\312A\026compute.googleapis.co"
-          + "m\322A\207\001https://www.googleapis.com/auth/com"
-          + "pute.readonly,https://www.googleapis.com"
-          + "/auth/compute,https://www.googleapis.com"
-          + "/auth/cloud-platform2\215\033\n\010Networks\022\243\002\n\nAd"
-          + "dPeering\0221.google.cloud.compute.v1.AddPe"
-          + "eringNetworkRequest\032\".google.cloud.compu"
-          + "te.v1.Operation\"\275\001\332A5project,network,net"
-          + "works_add_peering_request_resource\212N\020Glo"
-          + "balOperations\202\323\344\223\002l\"C/compute/v1/project"
-          + "s/{project}/global/networks/{network}/ad"
-          + "dPeering:%networks_add_peering_request_r"
-          + "esource\022\370\002\n\032CancelRequestRemovePeering\022A"
-          + ".google.cloud.compute.v1.CancelRequestRe"
-          + "movePeeringNetworkRequest\032\".google.cloud"
-          + ".compute.v1.Operation\"\362\001\332AGproject,netwo"
-          + "rk,networks_cancel_request_remove_peerin"
-          + "g_request_resource\212N\020GlobalOperations\202\323\344"
-          + "\223\002\216\001\"S/compute/v1/projects/{project}/glo"
-          + "bal/networks/{network}/cancelRequestRemo"
-          + "vePeering:7networks_cancel_request_remov"
-          + "e_peering_request_resource\022\302\001\n\006Delete\022-."
-          + "google.cloud.compute.v1.DeleteNetworkReq"
-          + "uest\032\".google.cloud.compute.v1.Operation"
-          + "\"e\332A\017project,network\212N\020GlobalOperations\202"
-          + "\323\344\223\002:*8/compute/v1/projects/{project}/gl"
-          + "obal/networks/{network}\022\247\001\n\003Get\022*.google"
-          + ".cloud.compute.v1.GetNetworkRequest\032 .go"
-          + "ogle.cloud.compute.v1.Network\"R\332A\017projec"
-          + "t,network\202\323\344\223\002:\0228/compute/v1/projects/{p"
-          + "roject}/global/networks/{network}\022\377\001\n\025Ge"
-          + "tEffectiveFirewalls\022<.google.cloud.compu"
-          + "te.v1.GetEffectiveFirewallsNetworkReques"
-          + "t\032>.google.cloud.compute.v1.NetworksGetE"
-          + "ffectiveFirewallsResponse\"h\332A\017project,ne"
-          + "twork\202\323\344\223\002P\022N/compute/v1/projects/{proje"
-          + "ct}/global/networks/{network}/getEffecti"
-          + "veFirewalls\022\323\001\n\006Insert\022-.google.cloud.co"
-          + "mpute.v1.InsertNetworkRequest\032\".google.c"
-          + "loud.compute.v1.Operation\"v\332A\030project,ne"
-          + "twork_resource\212N\020GlobalOperations\202\323\344\223\002B\""
-          + "./compute/v1/projects/{project}/global/n"
-          + "etworks:\020network_resource\022\234\001\n\004List\022,.goo"
-          + "gle.cloud.compute.v1.ListNetworksRequest"
-          + "\032$.google.cloud.compute.v1.NetworkList\"@"
-          + "\332A\007project\202\323\344\223\0020\022./compute/v1/projects/{"
-          + "project}/global/networks\022\351\001\n\021ListPeering"
-          + "Routes\0229.google.cloud.compute.v1.ListPee"
-          + "ringRoutesNetworksRequest\0323.google.cloud"
-          + ".compute.v1.ExchangedPeeringRoutesList\"d"
-          + "\332A\017project,network\202\323\344\223\002L\022J/compute/v1/pr"
-          + "ojects/{project}/global/networks/{networ"
-          + "k}/listPeeringRoutes\022\344\001\n\005Patch\022,.google."
-          + "cloud.compute.v1.PatchNetworkRequest\032\".g"
-          + "oogle.cloud.compute.v1.Operation\"\210\001\332A pr"
-          + "oject,network,network_resource\212N\020GlobalO"
-          + "perations\202\323\344\223\002L28/compute/v1/projects/{p"
-          + "roject}/global/networks/{network}:\020netwo"
-          + "rk_resource\022\262\002\n\rRemovePeering\0224.google.c"
-          + "loud.compute.v1.RemovePeeringNetworkRequ"
-          + "est\032\".google.cloud.compute.v1.Operation\""
-          + "\306\001\332A8project,network,networks_remove_pee"
-          + "ring_request_resource\212N\020GlobalOperations"
-          + "\202\323\344\223\002r\"F/compute/v1/projects/{project}/g"
-          + "lobal/networks/{network}/removePeering:("
-          + "networks_remove_peering_request_resource"
-          + "\022\330\002\n\024RequestRemovePeering\022;.google.cloud"
-          + ".compute.v1.RequestRemovePeeringNetworkR"
-          + "equest\032\".google.cloud.compute.v1.Operati"
-          + "on\"\336\001\332A@project,network,networks_request"
-          + "_remove_peering_request_resource\212N\020Globa"
-          + "lOperations\202\323\344\223\002\201\001\"M/compute/v1/projects"
-          + "/{project}/global/networks/{network}/req"
-          + "uestRemovePeering:0networks_request_remo"
-          + "ve_peering_request_resource\022\355\001\n\022SwitchTo"
-          + "CustomMode\0229.google.cloud.compute.v1.Swi"
-          + "tchToCustomModeNetworkRequest\032\".google.c"
-          + "loud.compute.v1.Operation\"x\332A\017project,ne"
-          + "twork\212N\020GlobalOperations\202\323\344\223\002M\"K/compute"
-          + "/v1/projects/{project}/global/networks/{"
-          + "network}/switchToCustomMode\022\262\002\n\rUpdatePe"
-          + "ering\0224.google.cloud.compute.v1.UpdatePe"
-          + "eringNetworkRequest\032\".google.cloud.compu"
-          + "te.v1.Operation\"\306\001\332A8project,network,net"
-          + "works_update_peering_request_resource\212N\020"
-          + "GlobalOperations\202\323\344\223\002r2F/compute/v1/proj"
-          + "ects/{project}/global/networks/{network}"
-          + "/updatePeering:(networks_update_peering_"
-          + "request_resource\032r\312A\026compute.googleapis."
-          + "com\322AVhttps://www.googleapis.com/auth/co"
-          + "mpute,https://www.googleapis.com/auth/cl"
-          + "oud-platform2\353 \n\nNodeGroups\022\262\002\n\010AddNodes"
-          + "\0221.google.cloud.compute.v1.AddNodesNodeG"
+          + "licy}/removePacketMirroringRule\022\374\001\n\nRemo"
+          + "veRule\022?.google.cloud.compute.v1.RemoveR"
+          + "uleNetworkFirewallPolicyRequest\032\".google"
+          + ".cloud.compute.v1.Operation\"\210\001\332A\027project"
+          + ",firewall_policy\212N\020GlobalOperations\202\323\344\223\002"
+          + "U\"S/compute/v1/projects/{project}/global"
+          + "/firewallPolicies/{firewall_policy}/remo"
+          + "veRule\022\245\002\n\014SetIamPolicy\022A.google.cloud.c"
+          + "ompute.v1.SetIamPolicyNetworkFirewallPol"
+          + "icyRequest\032\037.google.cloud.compute.v1.Pol"
+          + "icy\"\260\001\332A3project,resource,global_set_pol"
+          + "icy_request_resource\202\323\344\223\002t\"N/compute/v1/"
+          + "projects/{project}/global/firewallPolici"
+          + "es/{resource}/setIamPolicy:\"global_set_p"
+          + "olicy_request_resource\022\306\002\n\022TestIamPermis"
+          + "sions\022G.google.cloud.compute.v1.TestIamP"
+          + "ermissionsNetworkFirewallPolicyRequest\0320"
+          + ".google.cloud.compute.v1.TestPermissions"
+          + "Response\"\264\001\332A2project,resource,test_perm"
+          + "issions_request_resource\202\323\344\223\002y\"T/compute"
+          + "/v1/projects/{project}/global/firewallPo"
+          + "licies/{resource}/testIamPermissions:!te"
+          + "st_permissions_request_resource\032r\312A\026comp"
+          + "ute.googleapis.com\322AVhttps://www.googlea"
+          + "pis.com/auth/compute,https://www.googlea"
+          + "pis.com/auth/cloud-platform2\304\004\n\017NetworkP"
+          + "rofiles\022\314\001\n\003Get\0221.google.cloud.compute.v"
+          + "1.GetNetworkProfileRequest\032\'.google.clou"
+          + "d.compute.v1.NetworkProfile\"i\332A\027project,"
+          + "network_profile\202\323\344\223\002I\022G/compute/v1/proje"
+          + "cts/{project}/global/networkProfiles/{ne"
+          + "twork_profile}\022\272\001\n\004List\0223.google.cloud.c"
+          + "ompute.v1.ListNetworkProfilesRequest\0324.g"
+          + "oogle.cloud.compute.v1.NetworkProfilesLi"
+          + "stResponse\"G\332A\007project\202\323\344\223\0027\0225/compute/v"
+          + "1/projects/{project}/global/networkProfi"
+          + "les\032\244\001\312A\026compute.googleapis.com\322A\207\001https"
+          + "://www.googleapis.com/auth/compute.reado"
+          + "nly,https://www.googleapis.com/auth/comp"
+          + "ute,https://www.googleapis.com/auth/clou"
+          + "d-platform2\215\033\n\010Networks\022\243\002\n\nAddPeering\0221"
+          + ".google.cloud.compute.v1.AddPeeringNetwo"
+          + "rkRequest\032\".google.cloud.compute.v1.Oper"
+          + "ation\"\275\001\332A5project,network,networks_add_"
+          + "peering_request_resource\212N\020GlobalOperati"
+          + "ons\202\323\344\223\002l\"C/compute/v1/projects/{project"
+          + "}/global/networks/{network}/addPeering:%"
+          + "networks_add_peering_request_resource\022\370\002"
+          + "\n\032CancelRequestRemovePeering\022A.google.cl"
+          + "oud.compute.v1.CancelRequestRemovePeerin"
+          + "gNetworkRequest\032\".google.cloud.compute.v"
+          + "1.Operation\"\362\001\332AGproject,network,network"
+          + "s_cancel_request_remove_peering_request_"
+          + "resource\212N\020GlobalOperations\202\323\344\223\002\216\001\"S/com"
+          + "pute/v1/projects/{project}/global/networ"
+          + "ks/{network}/cancelRequestRemovePeering:"
+          + "7networks_cancel_request_remove_peering_"
+          + "request_resource\022\302\001\n\006Delete\022-.google.clo"
+          + "ud.compute.v1.DeleteNetworkRequest\032\".goo"
+          + "gle.cloud.compute.v1.Operation\"e\332A\017proje"
+          + "ct,network\212N\020GlobalOperations\202\323\344\223\002:*8/co"
+          + "mpute/v1/projects/{project}/global/netwo"
+          + "rks/{network}\022\247\001\n\003Get\022*.google.cloud.com"
+          + "pute.v1.GetNetworkRequest\032 .google.cloud"
+          + ".compute.v1.Network\"R\332A\017project,network\202"
+          + "\323\344\223\002:\0228/compute/v1/projects/{project}/gl"
+          + "obal/networks/{network}\022\377\001\n\025GetEffective"
+          + "Firewalls\022<.google.cloud.compute.v1.GetE"
+          + "ffectiveFirewallsNetworkRequest\032>.google"
+          + ".cloud.compute.v1.NetworksGetEffectiveFi"
+          + "rewallsResponse\"h\332A\017project,network\202\323\344\223\002"
+          + "P\022N/compute/v1/projects/{project}/global"
+          + "/networks/{network}/getEffectiveFirewall"
+          + "s\022\323\001\n\006Insert\022-.google.cloud.compute.v1.I"
+          + "nsertNetworkRequest\032\".google.cloud.compu"
+          + "te.v1.Operation\"v\332A\030project,network_reso"
+          + "urce\212N\020GlobalOperations\202\323\344\223\002B\"./compute/"
+          + "v1/projects/{project}/global/networks:\020n"
+          + "etwork_resource\022\234\001\n\004List\022,.google.cloud."
+          + "compute.v1.ListNetworksRequest\032$.google."
+          + "cloud.compute.v1.NetworkList\"@\332A\007project"
+          + "\202\323\344\223\0020\022./compute/v1/projects/{project}/g"
+          + "lobal/networks\022\351\001\n\021ListPeeringRoutes\0229.g"
+          + "oogle.cloud.compute.v1.ListPeeringRoutes"
+          + "NetworksRequest\0323.google.cloud.compute.v"
+          + "1.ExchangedPeeringRoutesList\"d\332A\017project"
+          + ",network\202\323\344\223\002L\022J/compute/v1/projects/{pr"
+          + "oject}/global/networks/{network}/listPee"
+          + "ringRoutes\022\344\001\n\005Patch\022,.google.cloud.comp"
+          + "ute.v1.PatchNetworkRequest\032\".google.clou"
+          + "d.compute.v1.Operation\"\210\001\332A project,netw"
+          + "ork,network_resource\212N\020GlobalOperations\202"
+          + "\323\344\223\002L28/compute/v1/projects/{project}/gl"
+          + "obal/networks/{network}:\020network_resourc"
+          + "e\022\262\002\n\rRemovePeering\0224.google.cloud.compu"
+          + "te.v1.RemovePeeringNetworkRequest\032\".goog"
+          + "le.cloud.compute.v1.Operation\"\306\001\332A8proje"
+          + "ct,network,networks_remove_peering_reque"
+          + "st_resource\212N\020GlobalOperations\202\323\344\223\002r\"F/c"
+          + "ompute/v1/projects/{project}/global/netw"
+          + "orks/{network}/removePeering:(networks_r"
+          + "emove_peering_request_resource\022\330\002\n\024Reque"
+          + "stRemovePeering\022;.google.cloud.compute.v"
+          + "1.RequestRemovePeeringNetworkRequest\032\".g"
+          + "oogle.cloud.compute.v1.Operation\"\336\001\332A@pr"
+          + "oject,network,networks_request_remove_pe"
+          + "ering_request_resource\212N\020GlobalOperation"
+          + "s\202\323\344\223\002\201\001\"M/compute/v1/projects/{project}"
+          + "/global/networks/{network}/requestRemove"
+          + "Peering:0networks_request_remove_peering"
+          + "_request_resource\022\355\001\n\022SwitchToCustomMode"
+          + "\0229.google.cloud.compute.v1.SwitchToCusto"
+          + "mModeNetworkRequest\032\".google.cloud.compu"
+          + "te.v1.Operation\"x\332A\017project,network\212N\020Gl"
+          + "obalOperations\202\323\344\223\002M\"K/compute/v1/projec"
+          + "ts/{project}/global/networks/{network}/s"
+          + "witchToCustomMode\022\262\002\n\rUpdatePeering\0224.go"
+          + "ogle.cloud.compute.v1.UpdatePeeringNetwo"
+          + "rkRequest\032\".google.cloud.compute.v1.Oper"
+          + "ation\"\306\001\332A8project,network,networks_upda"
+          + "te_peering_request_resource\212N\020GlobalOper"
+          + "ations\202\323\344\223\002r2F/compute/v1/projects/{proj"
+          + "ect}/global/networks/{network}/updatePee"
+          + "ring:(networks_update_peering_request_re"
+          + "source\032r\312A\026compute.googleapis.com\322AVhttp"
+          + "s://www.googleapis.com/auth/compute,http"
+          + "s://www.googleapis.com/auth/cloud-platfo"
+          + "rm2\353 \n\nNodeGroups\022\262\002\n\010AddNodes\0221.google."
+          + "cloud.compute.v1.AddNodesNodeGroupReques"
+          + "t\032\".google.cloud.compute.v1.Operation\"\316\001"
+          + "\332A>project,zone,node_group,node_groups_a"
+          + "dd_nodes_request_resource\212N\016ZoneOperatio"
+          + "ns\202\323\344\223\002v\"L/compute/v1/projects/{project}"
+          + "/zones/{zone}/nodeGroups/{node_group}/ad"
+          + "dNodes:&node_groups_add_nodes_request_re"
+          + "source\022\304\001\n\016AggregatedList\0228.google.cloud"
+          + ".compute.v1.AggregatedListNodeGroupsRequ"
+          + "est\0320.google.cloud.compute.v1.NodeGroupA"
+          + "ggregatedList\"F\332A\007project\202\323\344\223\0026\0224/comput"
+          + "e/v1/projects/{project}/aggregated/nodeG"
+          + "roups\022\325\001\n\006Delete\022/.google.cloud.compute."
+          + "v1.DeleteNodeGroupRequest\032\".google.cloud"
+          + ".compute.v1.Operation\"v\332A\027project,zone,n"
+          + "ode_group\212N\016ZoneOperations\202\323\344\223\002E*C/compu"
+          + "te/v1/projects/{project}/zones/{zone}/no"
+          + "deGroups/{node_group}\022\301\002\n\013DeleteNodes\0224."
+          + "google.cloud.compute.v1.DeleteNodesNodeG"
           + "roupRequest\032\".google.cloud.compute.v1.Op"
-          + "eration\"\316\001\332A>project,zone,node_group,nod"
-          + "e_groups_add_nodes_request_resource\212N\016Zo"
-          + "neOperations\202\323\344\223\002v\"L/compute/v1/projects"
-          + "/{project}/zones/{zone}/nodeGroups/{node"
-          + "_group}/addNodes:&node_groups_add_nodes_"
-          + "request_resource\022\304\001\n\016AggregatedList\0228.go"
-          + "ogle.cloud.compute.v1.AggregatedListNode"
-          + "GroupsRequest\0320.google.cloud.compute.v1."
-          + "NodeGroupAggregatedList\"F\332A\007project\202\323\344\223\002"
-          + "6\0224/compute/v1/projects/{project}/aggreg"
-          + "ated/nodeGroups\022\325\001\n\006Delete\022/.google.clou"
-          + "d.compute.v1.DeleteNodeGroupRequest\032\".go"
-          + "ogle.cloud.compute.v1.Operation\"v\332A\027proj"
-          + "ect,zone,node_group\212N\016ZoneOperations\202\323\344\223"
-          + "\002E*C/compute/v1/projects/{project}/zones"
-          + "/{zone}/nodeGroups/{node_group}\022\301\002\n\013Dele"
-          + "teNodes\0224.google.cloud.compute.v1.Delete"
-          + "NodesNodeGroupRequest\032\".google.cloud.com"
-          + "pute.v1.Operation\"\327\001\332AAproject,zone,node"
-          + "_group,node_groups_delete_nodes_request_"
-          + "resource\212N\016ZoneOperations\202\323\344\223\002|\"O/comput"
-          + "e/v1/projects/{project}/zones/{zone}/nod"
-          + "eGroups/{node_group}/deleteNodes:)node_g"
-          + "roups_delete_nodes_request_resource\022\276\001\n\003"
-          + "Get\022,.google.cloud.compute.v1.GetNodeGro"
-          + "upRequest\032\".google.cloud.compute.v1.Node"
-          + "Group\"e\332A\027project,zone,node_group\202\323\344\223\002E\022"
-          + "C/compute/v1/projects/{project}/zones/{z"
-          + "one}/nodeGroups/{node_group}\022\326\001\n\014GetIamP"
-          + "olicy\0225.google.cloud.compute.v1.GetIamPo"
-          + "licyNodeGroupRequest\032\037.google.cloud.comp"
-          + "ute.v1.Policy\"n\332A\025project,zone,resource\202"
-          + "\323\344\223\002P\022N/compute/v1/projects/{project}/zo"
-          + "nes/{zone}/nodeGroups/{resource}/getIamP"
-          + "olicy\022\372\001\n\006Insert\022/.google.cloud.compute."
-          + "v1.InsertNodeGroupRequest\032\".google.cloud"
-          + ".compute.v1.Operation\"\232\001\332A3project,zone,"
-          + "initial_node_count,node_group_resource\212N"
-          + "\016ZoneOperations\202\323\344\223\002M\"6/compute/v1/proje"
-          + "cts/{project}/zones/{zone}/nodeGroups:\023n"
-          + "ode_group_resource\022\255\001\n\004List\022..google.clo"
-          + "ud.compute.v1.ListNodeGroupsRequest\032&.go"
-          + "ogle.cloud.compute.v1.NodeGroupList\"M\332A\014"
-          + "project,zone\202\323\344\223\0028\0226/compute/v1/projects"
-          + "/{project}/zones/{zone}/nodeGroups\022\337\001\n\tL"
-          + "istNodes\0223.google.cloud.compute.v1.ListN"
-          + "odesNodeGroupsRequest\032,.google.cloud.com"
-          + "pute.v1.NodeGroupsListNodes\"o\332A\027project,"
-          + "zone,node_group\202\323\344\223\002O\"M/compute/v1/proje"
+          + "eration\"\327\001\332AAproject,zone,node_group,nod"
+          + "e_groups_delete_nodes_request_resource\212N"
+          + "\016ZoneOperations\202\323\344\223\002|\"O/compute/v1/proje"
           + "cts/{project}/zones/{zone}/nodeGroups/{n"
-          + "ode_group}/listNodes\022\375\001\n\005Patch\022..google."
-          + "cloud.compute.v1.PatchNodeGroupRequest\032\""
-          + ".google.cloud.compute.v1.Operation\"\237\001\332A+"
-          + "project,zone,node_group,node_group_resou"
-          + "rce\212N\016ZoneOperations\202\323\344\223\002Z2C/compute/v1/"
-          + "projects/{project}/zones/{zone}/nodeGrou"
-          + "ps/{node_group}:\023node_group_resource\022\345\002\n"
-          + "\022PerformMaintenance\022;.google.cloud.compu"
-          + "te.v1.PerformMaintenanceNodeGroupRequest"
-          + "\032\".google.cloud.compute.v1.Operation\"\355\001\332"
-          + "AHproject,zone,node_group,node_groups_pe"
-          + "rform_maintenance_request_resource\212N\016Zon"
-          + "eOperations\202\323\344\223\002\212\001\"V/compute/v1/projects"
-          + "/{project}/zones/{zone}/nodeGroups/{node"
-          + "_group}/performMaintenance:0node_groups_"
-          + "perform_maintenance_request_resource\022\232\002\n"
-          + "\014SetIamPolicy\0225.google.cloud.compute.v1."
-          + "SetIamPolicyNodeGroupRequest\032\037.google.cl"
-          + "oud.compute.v1.Policy\"\261\001\332A6project,zone,"
-          + "resource,zone_set_policy_request_resourc"
-          + "e\202\323\344\223\002r\"N/compute/v1/projects/{project}/"
-          + "zones/{zone}/nodeGroups/{resource}/setIa"
-          + "mPolicy: zone_set_policy_request_resourc"
-          + "e\022\330\002\n\017SetNodeTemplate\0228.google.cloud.com"
-          + "pute.v1.SetNodeTemplateNodeGroupRequest\032"
-          + "\".google.cloud.compute.v1.Operation\"\346\001\332A"
-          + "Fproject,zone,node_group,node_groups_set"
-          + "_node_template_request_resource\212N\016ZoneOp"
-          + "erations\202\323\344\223\002\205\001\"S/compute/v1/projects/{p"
-          + "roject}/zones/{zone}/nodeGroups/{node_gr"
-          + "oup}/setNodeTemplate:.node_groups_set_no"
-          + "de_template_request_resource\022\205\003\n\030Simulat"
-          + "eMaintenanceEvent\022A.google.cloud.compute"
-          + ".v1.SimulateMaintenanceEventNodeGroupReq"
-          + "uest\032\".google.cloud.compute.v1.Operation"
-          + "\"\201\002\332AOproject,zone,node_group,node_group"
-          + "s_simulate_maintenance_event_request_res"
-          + "ource\212N\016ZoneOperations\202\323\344\223\002\227\001\"\\/compute/"
+          + "ode_group}/deleteNodes:)node_groups_dele"
+          + "te_nodes_request_resource\022\276\001\n\003Get\022,.goog"
+          + "le.cloud.compute.v1.GetNodeGroupRequest\032"
+          + "\".google.cloud.compute.v1.NodeGroup\"e\332A\027"
+          + "project,zone,node_group\202\323\344\223\002E\022C/compute/"
           + "v1/projects/{project}/zones/{zone}/nodeG"
-          + "roups/{node_group}/simulateMaintenanceEv"
-          + "ent:7node_groups_simulate_maintenance_ev"
-          + "ent_request_resource\022\277\002\n\022TestIamPermissi"
-          + "ons\022;.google.cloud.compute.v1.TestIamPer"
-          + "missionsNodeGroupRequest\0320.google.cloud."
-          + "compute.v1.TestPermissionsResponse\"\271\001\332A7"
-          + "project,zone,resource,test_permissions_r"
-          + "equest_resource\202\323\344\223\002y\"T/compute/v1/proje"
-          + "cts/{project}/zones/{zone}/nodeGroups/{r"
-          + "esource}/testIamPermissions:!test_permis"
-          + "sions_request_resource\032r\312A\026compute.googl"
-          + "eapis.com\322AVhttps://www.googleapis.com/a"
-          + "uth/compute,https://www.googleapis.com/a"
-          + "uth/cloud-platform2\264\020\n\rNodeTemplates\022\315\001\n"
-          + "\016AggregatedList\022;.google.cloud.compute.v"
-          + "1.AggregatedListNodeTemplatesRequest\0323.g"
-          + "oogle.cloud.compute.v1.NodeTemplateAggre"
-          + "gatedList\"I\332A\007project\202\323\344\223\0029\0227/compute/v1"
-          + "/projects/{project}/aggregated/nodeTempl"
-          + "ates\022\352\001\n\006Delete\0222.google.cloud.compute.v"
-          + "1.DeleteNodeTemplateRequest\032\".google.clo"
-          + "ud.compute.v1.Operation\"\207\001\332A\034project,reg"
-          + "ion,node_template\212N\020RegionOperations\202\323\344\223"
-          + "\002O*M/compute/v1/projects/{project}/regio"
-          + "ns/{region}/nodeTemplates/{node_template"
-          + "}\022\323\001\n\003Get\022/.google.cloud.compute.v1.GetN"
-          + "odeTemplateRequest\032%.google.cloud.comput"
-          + "e.v1.NodeTemplate\"t\332A\034project,region,nod"
-          + "e_template\202\323\344\223\002O\022M/compute/v1/projects/{"
-          + "project}/regions/{region}/nodeTemplates/"
-          + "{node_template}\022\342\001\n\014GetIamPolicy\0228.googl"
-          + "e.cloud.compute.v1.GetIamPolicyNodeTempl"
-          + "ateRequest\032\037.google.cloud.compute.v1.Pol"
-          + "icy\"w\332A\027project,region,resource\202\323\344\223\002W\022U/"
-          + "compute/v1/projects/{project}/regions/{r"
-          + "egion}/nodeTemplates/{resource}/getIamPo"
-          + "licy\022\373\001\n\006Insert\0222.google.cloud.compute.v"
-          + "1.InsertNodeTemplateRequest\032\".google.clo"
-          + "ud.compute.v1.Operation\"\230\001\332A%project,reg"
-          + "ion,node_template_resource\212N\020RegionOpera"
-          + "tions\202\323\344\223\002W\"=/compute/v1/projects/{proje"
-          + "ct}/regions/{region}/nodeTemplates:\026node"
-          + "_template_resource\022\274\001\n\004List\0221.google.clo"
-          + "ud.compute.v1.ListNodeTemplatesRequest\032)"
-          + ".google.cloud.compute.v1.NodeTemplateLis"
-          + "t\"V\332A\016project,region\202\323\344\223\002?\022=/compute/v1/"
-          + "projects/{project}/regions/{region}/node"
-          + "Templates\022\252\002\n\014SetIamPolicy\0228.google.clou"
-          + "d.compute.v1.SetIamPolicyNodeTemplateReq"
-          + "uest\032\037.google.cloud.compute.v1.Policy\"\276\001"
-          + "\332A:project,region,resource,region_set_po"
-          + "licy_request_resource\202\323\344\223\002{\"U/compute/v1"
-          + "/projects/{project}/regions/{region}/nod"
-          + "eTemplates/{resource}/setIamPolicy:\"regi"
-          + "on_set_policy_request_resource\022\314\002\n\022TestI"
-          + "amPermissions\022>.google.cloud.compute.v1."
-          + "TestIamPermissionsNodeTemplateRequest\0320."
-          + "google.cloud.compute.v1.TestPermissionsR"
-          + "esponse\"\303\001\332A9project,region,resource,tes"
-          + "t_permissions_request_resource\202\323\344\223\002\200\001\"[/"
-          + "compute/v1/projects/{project}/regions/{r"
-          + "egion}/nodeTemplates/{resource}/testIamP"
-          + "ermissions:!test_permissions_request_res"
-          + "ource\032r\312A\026compute.googleapis.com\322AVhttps"
-          + "://www.googleapis.com/auth/compute,https"
-          + "://www.googleapis.com/auth/cloud-platfor"
-          + "m2\337\005\n\tNodeTypes\022\301\001\n\016AggregatedList\0227.goo"
-          + "gle.cloud.compute.v1.AggregatedListNodeT"
-          + "ypesRequest\032/.google.cloud.compute.v1.No"
-          + "deTypeAggregatedList\"E\332A\007project\202\323\344\223\0025\0223"
-          + "/compute/v1/projects/{project}/aggregate"
-          + "d/nodeTypes\022\271\001\n\003Get\022+.google.cloud.compu"
-          + "te.v1.GetNodeTypeRequest\032!.google.cloud."
-          + "compute.v1.NodeType\"b\332A\026project,zone,nod"
-          + "e_type\202\323\344\223\002C\022A/compute/v1/projects/{proj"
-          + "ect}/zones/{zone}/nodeTypes/{node_type}\022"
-          + "\252\001\n\004List\022-.google.cloud.compute.v1.ListN"
-          + "odeTypesRequest\032%.google.cloud.compute.v"
-          + "1.NodeTypeList\"L\332A\014project,zone\202\323\344\223\0027\0225/"
+          + "roups/{node_group}\022\326\001\n\014GetIamPolicy\0225.go"
+          + "ogle.cloud.compute.v1.GetIamPolicyNodeGr"
+          + "oupRequest\032\037.google.cloud.compute.v1.Pol"
+          + "icy\"n\332A\025project,zone,resource\202\323\344\223\002P\022N/co"
+          + "mpute/v1/projects/{project}/zones/{zone}"
+          + "/nodeGroups/{resource}/getIamPolicy\022\372\001\n\006"
+          + "Insert\022/.google.cloud.compute.v1.InsertN"
+          + "odeGroupRequest\032\".google.cloud.compute.v"
+          + "1.Operation\"\232\001\332A3project,zone,initial_no"
+          + "de_count,node_group_resource\212N\016ZoneOpera"
+          + "tions\202\323\344\223\002M\"6/compute/v1/projects/{proje"
+          + "ct}/zones/{zone}/nodeGroups:\023node_group_"
+          + "resource\022\255\001\n\004List\022..google.cloud.compute"
+          + ".v1.ListNodeGroupsRequest\032&.google.cloud"
+          + ".compute.v1.NodeGroupList\"M\332A\014project,zo"
+          + "ne\202\323\344\223\0028\0226/compute/v1/projects/{project}"
+          + "/zones/{zone}/nodeGroups\022\337\001\n\tListNodes\0223"
+          + ".google.cloud.compute.v1.ListNodesNodeGr"
+          + "oupsRequest\032,.google.cloud.compute.v1.No"
+          + "deGroupsListNodes\"o\332A\027project,zone,node_"
+          + "group\202\323\344\223\002O\"M/compute/v1/projects/{proje"
+          + "ct}/zones/{zone}/nodeGroups/{node_group}"
+          + "/listNodes\022\375\001\n\005Patch\022..google.cloud.comp"
+          + "ute.v1.PatchNodeGroupRequest\032\".google.cl"
+          + "oud.compute.v1.Operation\"\237\001\332A+project,zo"
+          + "ne,node_group,node_group_resource\212N\016Zone"
+          + "Operations\202\323\344\223\002Z2C/compute/v1/projects/{"
+          + "project}/zones/{zone}/nodeGroups/{node_g"
+          + "roup}:\023node_group_resource\022\345\002\n\022PerformMa"
+          + "intenance\022;.google.cloud.compute.v1.Perf"
+          + "ormMaintenanceNodeGroupRequest\032\".google."
+          + "cloud.compute.v1.Operation\"\355\001\332AHproject,"
+          + "zone,node_group,node_groups_perform_main"
+          + "tenance_request_resource\212N\016ZoneOperation"
+          + "s\202\323\344\223\002\212\001\"V/compute/v1/projects/{project}"
+          + "/zones/{zone}/nodeGroups/{node_group}/pe"
+          + "rformMaintenance:0node_groups_perform_ma"
+          + "intenance_request_resource\022\232\002\n\014SetIamPol"
+          + "icy\0225.google.cloud.compute.v1.SetIamPoli"
+          + "cyNodeGroupRequest\032\037.google.cloud.comput"
+          + "e.v1.Policy\"\261\001\332A6project,zone,resource,z"
+          + "one_set_policy_request_resource\202\323\344\223\002r\"N/"
           + "compute/v1/projects/{project}/zones/{zon"
-          + "e}/nodeTypes\032\244\001\312A\026compute.googleapis.com"
-          + "\322A\207\001https://www.googleapis.com/auth/comp"
-          + "ute.readonly,https://www.googleapis.com/"
-          + "auth/compute,https://www.googleapis.com/"
-          + "auth/cloud-platform2\323!\n\034OrganizationSecu"
-          + "rityPolicies\022\323\002\n\016AddAssociation\022H.google"
-          + ".cloud.compute.v1.AddAssociationOrganiza"
-          + "tionSecurityPolicyRequest\032\".google.cloud"
-          + ".compute.v1.Operation\"\322\001\332A4security_poli"
-          + "cy,security_policy_association_resource\212"
-          + "N\034GlobalOrganizationOperations\202\323\344\223\002v\"N/c"
+          + "e}/nodeGroups/{resource}/setIamPolicy: z"
+          + "one_set_policy_request_resource\022\330\002\n\017SetN"
+          + "odeTemplate\0228.google.cloud.compute.v1.Se"
+          + "tNodeTemplateNodeGroupRequest\032\".google.c"
+          + "loud.compute.v1.Operation\"\346\001\332AFproject,z"
+          + "one,node_group,node_groups_set_node_temp"
+          + "late_request_resource\212N\016ZoneOperations\202\323"
+          + "\344\223\002\205\001\"S/compute/v1/projects/{project}/zo"
+          + "nes/{zone}/nodeGroups/{node_group}/setNo"
+          + "deTemplate:.node_groups_set_node_templat"
+          + "e_request_resource\022\205\003\n\030SimulateMaintenan"
+          + "ceEvent\022A.google.cloud.compute.v1.Simula"
+          + "teMaintenanceEventNodeGroupRequest\032\".goo"
+          + "gle.cloud.compute.v1.Operation\"\201\002\332AOproj"
+          + "ect,zone,node_group,node_groups_simulate"
+          + "_maintenance_event_request_resource\212N\016Zo"
+          + "neOperations\202\323\344\223\002\227\001\"\\/compute/v1/project"
+          + "s/{project}/zones/{zone}/nodeGroups/{nod"
+          + "e_group}/simulateMaintenanceEvent:7node_"
+          + "groups_simulate_maintenance_event_reques"
+          + "t_resource\022\277\002\n\022TestIamPermissions\022;.goog"
+          + "le.cloud.compute.v1.TestIamPermissionsNo"
+          + "deGroupRequest\0320.google.cloud.compute.v1"
+          + ".TestPermissionsResponse\"\271\001\332A7project,zo"
+          + "ne,resource,test_permissions_request_res"
+          + "ource\202\323\344\223\002y\"T/compute/v1/projects/{proje"
+          + "ct}/zones/{zone}/nodeGroups/{resource}/t"
+          + "estIamPermissions:!test_permissions_requ"
+          + "est_resource\032r\312A\026compute.googleapis.com\322"
+          + "AVhttps://www.googleapis.com/auth/comput"
+          + "e,https://www.googleapis.com/auth/cloud-"
+          + "platform2\264\020\n\rNodeTemplates\022\315\001\n\016Aggregate"
+          + "dList\022;.google.cloud.compute.v1.Aggregat"
+          + "edListNodeTemplatesRequest\0323.google.clou"
+          + "d.compute.v1.NodeTemplateAggregatedList\""
+          + "I\332A\007project\202\323\344\223\0029\0227/compute/v1/projects/"
+          + "{project}/aggregated/nodeTemplates\022\352\001\n\006D"
+          + "elete\0222.google.cloud.compute.v1.DeleteNo"
+          + "deTemplateRequest\032\".google.cloud.compute"
+          + ".v1.Operation\"\207\001\332A\034project,region,node_t"
+          + "emplate\212N\020RegionOperations\202\323\344\223\002O*M/compu"
+          + "te/v1/projects/{project}/regions/{region"
+          + "}/nodeTemplates/{node_template}\022\323\001\n\003Get\022"
+          + "/.google.cloud.compute.v1.GetNodeTemplat"
+          + "eRequest\032%.google.cloud.compute.v1.NodeT"
+          + "emplate\"t\332A\034project,region,node_template"
+          + "\202\323\344\223\002O\022M/compute/v1/projects/{project}/r"
+          + "egions/{region}/nodeTemplates/{node_temp"
+          + "late}\022\342\001\n\014GetIamPolicy\0228.google.cloud.co"
+          + "mpute.v1.GetIamPolicyNodeTemplateRequest"
+          + "\032\037.google.cloud.compute.v1.Policy\"w\332A\027pr"
+          + "oject,region,resource\202\323\344\223\002W\022U/compute/v1"
+          + "/projects/{project}/regions/{region}/nod"
+          + "eTemplates/{resource}/getIamPolicy\022\373\001\n\006I"
+          + "nsert\0222.google.cloud.compute.v1.InsertNo"
+          + "deTemplateRequest\032\".google.cloud.compute"
+          + ".v1.Operation\"\230\001\332A%project,region,node_t"
+          + "emplate_resource\212N\020RegionOperations\202\323\344\223\002"
+          + "W\"=/compute/v1/projects/{project}/region"
+          + "s/{region}/nodeTemplates:\026node_template_"
+          + "resource\022\274\001\n\004List\0221.google.cloud.compute"
+          + ".v1.ListNodeTemplatesRequest\032).google.cl"
+          + "oud.compute.v1.NodeTemplateList\"V\332A\016proj"
+          + "ect,region\202\323\344\223\002?\022=/compute/v1/projects/{"
+          + "project}/regions/{region}/nodeTemplates\022"
+          + "\252\002\n\014SetIamPolicy\0228.google.cloud.compute."
+          + "v1.SetIamPolicyNodeTemplateRequest\032\037.goo"
+          + "gle.cloud.compute.v1.Policy\"\276\001\332A:project"
+          + ",region,resource,region_set_policy_reque"
+          + "st_resource\202\323\344\223\002{\"U/compute/v1/projects/"
+          + "{project}/regions/{region}/nodeTemplates"
+          + "/{resource}/setIamPolicy:\"region_set_pol"
+          + "icy_request_resource\022\314\002\n\022TestIamPermissi"
+          + "ons\022>.google.cloud.compute.v1.TestIamPer"
+          + "missionsNodeTemplateRequest\0320.google.clo"
+          + "ud.compute.v1.TestPermissionsResponse\"\303\001"
+          + "\332A9project,region,resource,test_permissi"
+          + "ons_request_resource\202\323\344\223\002\200\001\"[/compute/v1"
+          + "/projects/{project}/regions/{region}/nod"
+          + "eTemplates/{resource}/testIamPermissions"
+          + ":!test_permissions_request_resource\032r\312A\026"
+          + "compute.googleapis.com\322AVhttps://www.goo"
+          + "gleapis.com/auth/compute,https://www.goo"
+          + "gleapis.com/auth/cloud-platform2\337\005\n\tNode"
+          + "Types\022\301\001\n\016AggregatedList\0227.google.cloud."
+          + "compute.v1.AggregatedListNodeTypesReques"
+          + "t\032/.google.cloud.compute.v1.NodeTypeAggr"
+          + "egatedList\"E\332A\007project\202\323\344\223\0025\0223/compute/v"
+          + "1/projects/{project}/aggregated/nodeType"
+          + "s\022\271\001\n\003Get\022+.google.cloud.compute.v1.GetN"
+          + "odeTypeRequest\032!.google.cloud.compute.v1"
+          + ".NodeType\"b\332A\026project,zone,node_type\202\323\344\223"
+          + "\002C\022A/compute/v1/projects/{project}/zones"
+          + "/{zone}/nodeTypes/{node_type}\022\252\001\n\004List\022-"
+          + ".google.cloud.compute.v1.ListNodeTypesRe"
+          + "quest\032%.google.cloud.compute.v1.NodeType"
+          + "List\"L\332A\014project,zone\202\323\344\223\0027\0225/compute/v1"
+          + "/projects/{project}/zones/{zone}/nodeTyp"
+          + "es\032\244\001\312A\026compute.googleapis.com\322A\207\001https:"
+          + "//www.googleapis.com/auth/compute.readon"
+          + "ly,https://www.googleapis.com/auth/compu"
+          + "te,https://www.googleapis.com/auth/cloud"
+          + "-platform2\323!\n\034OrganizationSecurityPolici"
+          + "es\022\323\002\n\016AddAssociation\022H.google.cloud.com"
+          + "pute.v1.AddAssociationOrganizationSecuri"
+          + "tyPolicyRequest\032\".google.cloud.compute.v"
+          + "1.Operation\"\322\001\332A4security_policy,securit"
+          + "y_policy_association_resource\212N\034GlobalOr"
+          + "ganizationOperations\202\323\344\223\002v\"N/compute/v1/"
+          + "locations/global/securityPolicies/{secur"
+          + "ity_policy}/addAssociation:$security_pol"
+          + "icy_association_resource\022\260\002\n\007AddRule\022A.g"
+          + "oogle.cloud.compute.v1.AddRuleOrganizati"
+          + "onSecurityPolicyRequest\032\".google.cloud.c"
+          + "ompute.v1.Operation\"\275\001\332A-security_policy"
+          + ",security_policy_rule_resource\212N\034GlobalO"
+          + "rganizationOperations\202\323\344\223\002h\"G/compute/v1",
+      "/locations/global/securityPolicies/{secu"
+          + "rity_policy}/addRule:\035security_policy_ru"
+          + "le_resource\022\371\001\n\tCopyRules\022C.google.cloud"
+          + ".compute.v1.CopyRulesOrganizationSecurit"
+          + "yPolicyRequest\032\".google.cloud.compute.v1"
+          + ".Operation\"\202\001\332A\017security_policy\212N\034Global"
+          + "OrganizationOperations\202\323\344\223\002K\"I/compute/v"
+          + "1/locations/global/securityPolicies/{sec"
+          + "urity_policy}/copyRules\022\350\001\n\006Delete\022@.goo"
+          + "gle.cloud.compute.v1.DeleteOrganizationS"
+          + "ecurityPolicyRequest\032\".google.cloud.comp"
+          + "ute.v1.Operation\"x\332A\017security_policy\212N\034G"
+          + "lobalOrganizationOperations\202\323\344\223\002A*?/comp"
+          + "ute/v1/locations/global/securityPolicies"
+          + "/{security_policy}\022\310\001\n\003Get\022=.google.clou"
+          + "d.compute.v1.GetOrganizationSecurityPoli"
+          + "cyRequest\032\'.google.cloud.compute.v1.Secu"
+          + "rityPolicy\"Y\332A\017security_policy\202\323\344\223\002A\022?/c"
           + "ompute/v1/locations/global/securityPolic"
-          + "ies/{security_policy}/addAssociation:$se"
-          + "curity_policy_association_resource\022\260\002\n\007A"
-          + "ddRule\022A.google.cloud.compute.v1.AddRule"
-          + "OrganizationSecurityPolicyRequest\032\".goog"
-          + "le.cloud.compute.v1.Operation\"\275\001\332A-secur"
-          + "ity_policy,security_policy_rule_resource"
-          + "\212N\034GlobalOrganizationOperations\202\323\344\223\002h\"G/"
-          + "compute/v1/locations/global/securityPoli"
-          + "cies/{security_policy}/addRule:\035security"
-          + "_policy_rule_resource\022\371\001\n\tCopyRules\022C.go"
-          + "ogle.cloud.compute.v1.CopyRulesOrganizat"
-          + "ionSecurityPolicyRequest\032\".google.cloud."
-          + "compute.v1.Operation\"\202\001\332A\017security_polic"
-          + "y\212N\034GlobalOrganizationOperations\202\323\344\223\002K\"I"
-          + "/compute/v1/locations/global/securityPol"
-          + "icies/{security_policy}/copyRules\022\350\001\n\006De"
-          + "lete\022@.google.cloud.compute.v1.DeleteOrg"
-          + "anizationSecurityPolicyRequest\032\".google."
-          + "cloud.compute.v1.Operation\"x\332A\017security_"
-          + "policy\212N\034GlobalOrganizationOperations\202\323\344"
-          + "\223\002A*?/compute/v1/locations/global/securi"
-          + "tyPolicies/{security_policy}\022\310\001\n\003Get\022=.g"
-          + "oogle.cloud.compute.v1.GetOrganizationSe"
-          + "curityPolicyRequest\032\'.google.cloud.compu"
-          + "te.v1.SecurityPolicy\"Y\332A\017security_policy"
-          + "\202\323\344\223\002A\022?/compute/v1/locations/global/sec"
-          + "urityPolicies/{security_policy}\022\370\001\n\016GetA"
-          + "ssociation\022H.google.cloud.compute.v1.Get"
-          + "AssociationOrganizationSecurityPolicyReq"
-          + "uest\0322.google.cloud.compute.v1.SecurityP"
-          + "olicyAssociation\"h\332A\017security_policy\202\323\344\223"
-          + "\002P\022N/compute/v1/locations/global/securit"
-          + "yPolicies/{security_policy}/getAssociati"
-          + "on\022\334\001\n\007GetRule\022A.google.cloud.compute.v1"
-          + ".GetRuleOrganizationSecurityPolicyReques"
-          + "t\032+.google.cloud.compute.v1.SecurityPoli"
-          + "cyRule\"a\332A\017security_policy\202\323\344\223\002I\022G/compu"
+          + "ies/{security_policy}\022\370\001\n\016GetAssociation"
+          + "\022H.google.cloud.compute.v1.GetAssociatio"
+          + "nOrganizationSecurityPolicyRequest\0322.goo"
+          + "gle.cloud.compute.v1.SecurityPolicyAssoc"
+          + "iation\"h\332A\017security_policy\202\323\344\223\002P\022N/compu"
           + "te/v1/locations/global/securityPolicies/"
-          + "{security_policy}/getRule\022\372\001\n\006Insert\022@.g"
-          + "oogle.cloud.compute.v1.InsertOrganizatio"
-          + "nSecurityPolicyRequest\032\".google.cloud.co"
-          + "mpute.v1.Operation\"\211\001\332A\030security_policy_"
-          + "resource\212N\034GlobalOrganizationOperations\202"
-          + "\323\344\223\002I\"-/compute/v1/locations/global/secu"
-          + "rityPolicies:\030security_policy_resource\022\257"
-          + "\001\n\004List\022@.google.cloud.compute.v1.ListOr"
-          + "ganizationSecurityPoliciesRequest\032+.goog"
-          + "le.cloud.compute.v1.SecurityPolicyList\"8"
-          + "\332A\000\202\323\344\223\002/\022-/compute/v1/locations/global/"
-          + "securityPolicies\022\370\001\n\020ListAssociations\022J."
-          + "google.cloud.compute.v1.ListAssociations"
-          + "OrganizationSecurityPolicyRequest\032M.goog"
-          + "le.cloud.compute.v1.OrganizationSecurity"
-          + "PoliciesListAssociationsResponse\"I\332A\000\202\323\344"
-          + "\223\002@\022>/compute/v1/locations/global/securi"
-          + "tyPolicies/listAssociations\022\252\002\n\037ListPrec"
-          + "onfiguredExpressionSets\022[.google.cloud.c"
-          + "ompute.v1.ListPreconfiguredExpressionSet"
-          + "sOrganizationSecurityPoliciesRequest\032P.g"
-          + "oogle.cloud.compute.v1.SecurityPoliciesL"
-          + "istPreconfiguredExpressionSetsResponse\"X"
-          + "\332A\000\202\323\344\223\002O\022M/compute/v1/locations/global/"
-          + "securityPolicies/listPreconfiguredExpres"
-          + "sionSets\022\351\001\n\004Move\022>.google.cloud.compute",
-      ".v1.MoveOrganizationSecurityPolicyReques"
-          + "t\032\".google.cloud.compute.v1.Operation\"}\332"
-          + "A\017security_policy\212N\034GlobalOrganizationOp"
-          + "erations\202\323\344\223\002F\"D/compute/v1/locations/gl"
-          + "obal/securityPolicies/{security_policy}/"
-          + "move\022\232\002\n\005Patch\022?.google.cloud.compute.v1"
-          + ".PatchOrganizationSecurityPolicyRequest\032"
-          + "\".google.cloud.compute.v1.Operation\"\253\001\332A"
-          + "(security_policy,security_policy_resourc"
-          + "e\212N\034GlobalOrganizationOperations\202\323\344\223\002[2?"
-          + "/compute/v1/locations/global/securityPol"
-          + "icies/{security_policy}:\030security_policy"
-          + "_resource\022\266\002\n\tPatchRule\022C.google.cloud.c"
-          + "ompute.v1.PatchRuleOrganizationSecurityP"
+          + "{security_policy}/getAssociation\022\334\001\n\007Get"
+          + "Rule\022A.google.cloud.compute.v1.GetRuleOr"
+          + "ganizationSecurityPolicyRequest\032+.google"
+          + ".cloud.compute.v1.SecurityPolicyRule\"a\332A"
+          + "\017security_policy\202\323\344\223\002I\022G/compute/v1/loca"
+          + "tions/global/securityPolicies/{security_"
+          + "policy}/getRule\022\372\001\n\006Insert\022@.google.clou"
+          + "d.compute.v1.InsertOrganizationSecurityP"
           + "olicyRequest\032\".google.cloud.compute.v1.O"
-          + "peration\"\277\001\332A-security_policy,security_p"
-          + "olicy_rule_resource\212N\034GlobalOrganization"
-          + "Operations\202\323\344\223\002j\"I/compute/v1/locations/"
-          + "global/securityPolicies/{security_policy"
-          + "}/patchRule:\035security_policy_rule_resour"
-          + "ce\022\221\002\n\021RemoveAssociation\022K.google.cloud."
-          + "compute.v1.RemoveAssociationOrganization"
-          + "SecurityPolicyRequest\032\".google.cloud.com"
-          + "pute.v1.Operation\"\212\001\332A\017security_policy\212N"
-          + "\034GlobalOrganizationOperations\202\323\344\223\002S\"Q/co"
+          + "peration\"\211\001\332A\030security_policy_resource\212N"
+          + "\034GlobalOrganizationOperations\202\323\344\223\002I\"-/co"
           + "mpute/v1/locations/global/securityPolici"
-          + "es/{security_policy}/removeAssociation\022\374"
-          + "\001\n\nRemoveRule\022D.google.cloud.compute.v1."
-          + "RemoveRuleOrganizationSecurityPolicyRequ"
-          + "est\032\".google.cloud.compute.v1.Operation\""
-          + "\203\001\332A\017security_policy\212N\034GlobalOrganizatio"
-          + "nOperations\202\323\344\223\002L\"J/compute/v1/locations"
-          + "/global/securityPolicies/{security_polic"
-          + "y}/removeRule\032r\312A\026compute.googleapis.com"
-          + "\322AVhttps://www.googleapis.com/auth/compu"
-          + "te,https://www.googleapis.com/auth/cloud"
-          + "-platform2\220\017\n\020PacketMirrorings\022\326\001\n\016Aggre"
-          + "gatedList\022>.google.cloud.compute.v1.Aggr"
-          + "egatedListPacketMirroringsRequest\0326.goog"
-          + "le.cloud.compute.v1.PacketMirroringAggre"
-          + "gatedList\"L\332A\007project\202\323\344\223\002<\022:/compute/v1"
-          + "/projects/{project}/aggregated/packetMir"
-          + "rorings\022\366\001\n\006Delete\0225.google.cloud.comput"
-          + "e.v1.DeletePacketMirroringRequest\032\".goog"
-          + "le.cloud.compute.v1.Operation\"\220\001\332A\037proje"
-          + "ct,region,packet_mirroring\212N\020RegionOpera"
-          + "tions\202\323\344\223\002U*S/compute/v1/projects/{proje"
-          + "ct}/regions/{region}/packetMirrorings/{p"
-          + "acket_mirroring}\022\342\001\n\003Get\0222.google.cloud."
-          + "compute.v1.GetPacketMirroringRequest\032(.g"
-          + "oogle.cloud.compute.v1.PacketMirroring\"}"
-          + "\332A\037project,region,packet_mirroring\202\323\344\223\002U"
-          + "\022S/compute/v1/projects/{project}/regions"
-          + "/{region}/packetMirrorings/{packet_mirro"
-          + "ring}\022\207\002\n\006Insert\0225.google.cloud.compute."
-          + "v1.InsertPacketMirroringRequest\032\".google"
-          + ".cloud.compute.v1.Operation\"\241\001\332A(project"
-          + ",region,packet_mirroring_resource\212N\020Regi"
-          + "onOperations\202\323\344\223\002]\"@/compute/v1/projects"
-          + "/{project}/regions/{region}/packetMirror"
-          + "ings:\031packet_mirroring_resource\022\305\001\n\004List"
-          + "\0224.google.cloud.compute.v1.ListPacketMir"
-          + "roringsRequest\032,.google.cloud.compute.v1"
-          + ".PacketMirroringList\"Y\332A\016project,region\202"
-          + "\323\344\223\002B\022@/compute/v1/projects/{project}/re"
-          + "gions/{region}/packetMirrorings\022\251\002\n\005Patc"
-          + "h\0224.google.cloud.compute.v1.PatchPacketM"
-          + "irroringRequest\032\".google.cloud.compute.v"
-          + "1.Operation\"\305\001\332A9project,region,packet_m"
-          + "irroring,packet_mirroring_resource\212N\020Reg"
-          + "ionOperations\202\323\344\223\002p2S/compute/v1/project"
-          + "s/{project}/regions/{region}/packetMirro"
-          + "rings/{packet_mirroring}:\031packet_mirrori"
-          + "ng_resource\022\322\002\n\022TestIamPermissions\022A.goo"
-          + "gle.cloud.compute.v1.TestIamPermissionsP"
-          + "acketMirroringRequest\0320.google.cloud.com"
-          + "pute.v1.TestPermissionsResponse\"\306\001\332A9pro"
-          + "ject,region,resource,test_permissions_re"
-          + "quest_resource\202\323\344\223\002\203\001\"^/compute/v1/proje"
-          + "cts/{project}/regions/{region}/packetMir"
-          + "rorings/{resource}/testIamPermissions:!t"
-          + "est_permissions_request_resource\032r\312A\026com"
-          + "pute.googleapis.com\322AVhttps://www.google"
-          + "apis.com/auth/compute,https://www.google"
-          + "apis.com/auth/cloud-platform2\237\006\n\017Preview"
-          + "Features\022\314\001\n\003Get\0221.google.cloud.compute."
-          + "v1.GetPreviewFeatureRequest\032\'.google.clo"
-          + "ud.compute.v1.PreviewFeature\"i\332A\027project"
-          + ",preview_feature\202\323\344\223\002I\022G/compute/v1/proj"
-          + "ects/{project}/global/previewFeatures/{p"
-          + "review_feature}\022\261\001\n\004List\0223.google.cloud."
-          + "compute.v1.ListPreviewFeaturesRequest\032+."
-          + "google.cloud.compute.v1.PreviewFeatureLi"
-          + "st\"G\332A\007project\202\323\344\223\0027\0225/compute/v1/projec"
-          + "ts/{project}/global/previewFeatures\022\224\002\n\006"
-          + "Update\0224.google.cloud.compute.v1.UpdateP"
-          + "reviewFeatureRequest\032\".google.cloud.comp"
-          + "ute.v1.Operation\"\257\001\332A0project,preview_fe"
-          + "ature,preview_feature_resource\212N\020GlobalO"
-          + "perations\202\323\344\223\002c2G/compute/v1/projects/{p"
-          + "roject}/global/previewFeatures/{preview_"
-          + "feature}:\030preview_feature_resource\032r\312A\026c"
-          + "ompute.googleapis.com\322AVhttps://www.goog"
-          + "leapis.com/auth/compute,https://www.goog"
-          + "leapis.com/auth/cloud-platform2\253\033\n\010Proje"
-          + "cts\022\277\001\n\016DisableXpnHost\0225.google.cloud.co"
-          + "mpute.v1.DisableXpnHostProjectRequest\032\"."
-          + "google.cloud.compute.v1.Operation\"R\332A\007pr"
-          + "oject\212N\020GlobalOperations\202\323\344\223\002/\"-/compute"
-          + "/v1/projects/{project}/disableXpnHost\022\253\002"
-          + "\n\022DisableXpnResource\0229.google.cloud.comp"
-          + "ute.v1.DisableXpnResourceProjectRequest\032"
-          + "\".google.cloud.compute.v1.Operation\"\265\001\332A"
-          + "6project,projects_disable_xpn_resource_r"
-          + "equest_resource\212N\020GlobalOperations\202\323\344\223\002c"
-          + "\"1/compute/v1/projects/{project}/disable"
-          + "XpnResource:.projects_disable_xpn_resour"
-          + "ce_request_resource\022\274\001\n\rEnableXpnHost\0224."
-          + "google.cloud.compute.v1.EnableXpnHostPro"
-          + "jectRequest\032\".google.cloud.compute.v1.Op"
-          + "eration\"Q\332A\007project\212N\020GlobalOperations\202\323"
-          + "\344\223\002.\",/compute/v1/projects/{project}/ena"
-          + "bleXpnHost\022\246\002\n\021EnableXpnResource\0228.googl"
-          + "e.cloud.compute.v1.EnableXpnResourceProj"
-          + "ectRequest\032\".google.cloud.compute.v1.Ope"
-          + "ration\"\262\001\332A5project,projects_enable_xpn_"
-          + "resource_request_resource\212N\020GlobalOperat"
-          + "ions\202\323\344\223\002a\"0/compute/v1/projects/{projec"
-          + "t}/enableXpnResource:-projects_enable_xp"
-          + "n_resource_request_resource\022\205\001\n\003Get\022*.go"
-          + "ogle.cloud.compute.v1.GetProjectRequest\032"
-          + " .google.cloud.compute.v1.Project\"0\332A\007pr"
-          + "oject\202\323\344\223\002 \022\036/compute/v1/projects/{proje"
-          + "ct}\022\236\001\n\nGetXpnHost\0221.google.cloud.comput"
-          + "e.v1.GetXpnHostProjectRequest\032 .google.c"
-          + "loud.compute.v1.Project\";\332A\007project\202\323\344\223\002"
-          + "+\022)/compute/v1/projects/{project}/getXpn"
-          + "Host\022\276\001\n\017GetXpnResources\0227.google.cloud."
-          + "compute.v1.GetXpnResourcesProjectsReques"
-          + "t\0320.google.cloud.compute.v1.ProjectsGetX"
-          + "pnResources\"@\332A\007project\202\323\344\223\0020\022./compute/"
-          + "v1/projects/{project}/getXpnResources\022\375\001"
-          + "\n\014ListXpnHosts\0224.google.cloud.compute.v1"
-          + ".ListXpnHostsProjectsRequest\032$.google.cl"
-          + "oud.compute.v1.XpnHostList\"\220\001\332A0project,"
-          + "projects_list_xpn_hosts_request_resource"
-          + "\202\323\344\223\002W\"+/compute/v1/projects/{project}/l"
-          + "istXpnHosts:(projects_list_xpn_hosts_req"
-          + "uest_resource\022\345\001\n\010MoveDisk\022/.google.clou"
-          + "d.compute.v1.MoveDiskProjectRequest\032\".go"
-          + "ogle.cloud.compute.v1.Operation\"\203\001\332A\"pro"
-          + "ject,disk_move_request_resource\212N\020Global"
-          + "Operations\202\323\344\223\002E\"\'/compute/v1/projects/{"
-          + "project}/moveDisk:\032disk_move_request_res"
-          + "ource\022\371\001\n\014MoveInstance\0223.google.cloud.co"
-          + "mpute.v1.MoveInstanceProjectRequest\032\".go"
-          + "ogle.cloud.compute.v1.Operation\"\217\001\332A&pro"
-          + "ject,instance_move_request_resource\212N\020Gl"
-          + "obalOperations\202\323\344\223\002M\"+/compute/v1/projec"
-          + "ts/{project}/moveInstance:\036instance_move"
-          + "_request_resource\022\250\002\n\021SetCloudArmorTier\022"
-          + "8.google.cloud.compute.v1.SetCloudArmorT"
-          + "ierProjectRequest\032\".google.cloud.compute"
-          + ".v1.Operation\"\264\001\332A6project,projects_set_"
-          + "cloud_armor_tier_request_resource\212N\020Glob"
-          + "alOperations\202\323\344\223\002b\"0/compute/v1/projects"
-          + "/{project}/setCloudArmorTier:.projects_s"
-          + "et_cloud_armor_tier_request_resource\022\206\002\n"
-          + "\031SetCommonInstanceMetadata\022@.google.clou"
-          + "d.compute.v1.SetCommonInstanceMetadataPr"
-          + "ojectRequest\032\".google.cloud.compute.v1.O"
-          + "peration\"\202\001\332A\031project,metadata_resource\212"
-          + "N\020GlobalOperations\202\323\344\223\002M\"8/compute/v1/pr"
-          + "ojects/{project}/setCommonInstanceMetada"
-          + "ta:\021metadata_resource\022\274\002\n\025SetDefaultNetw"
-          + "orkTier\022<.google.cloud.compute.v1.SetDef"
-          + "aultNetworkTierProjectRequest\032\".google.c"
-          + "loud.compute.v1.Operation\"\300\001\332A:project,p"
-          + "rojects_set_default_network_tier_request"
-          + "_resource\212N\020GlobalOperations\202\323\344\223\002j\"4/com"
-          + "pute/v1/projects/{project}/setDefaultNet"
-          + "workTier:2projects_set_default_network_t"
-          + "ier_request_resource\022\221\002\n\024SetUsageExportB"
-          + "ucket\022;.google.cloud.compute.v1.SetUsage"
-          + "ExportBucketProjectRequest\032\".google.clou"
-          + "d.compute.v1.Operation\"\227\001\332A&project,usag"
-          + "e_export_location_resource\212N\020GlobalOpera"
-          + "tions\202\323\344\223\002U\"3/compute/v1/projects/{proje"
-          + "ct}/setUsageExportBucket:\036usage_export_l"
-          + "ocation_resource\032r\312A\026compute.googleapis."
-          + "com\322AVhttps://www.googleapis.com/auth/co"
-          + "mpute,https://www.googleapis.com/auth/cl"
-          + "oud-platform2\356\017\n\030PublicAdvertisedPrefixe"
-          + "s\022\222\002\n\010Announce\022?.google.cloud.compute.v1"
-          + ".AnnouncePublicAdvertisedPrefixeRequest\032"
-          + "\".google.cloud.compute.v1.Operation\"\240\001\332A"
-          + " project,public_advertised_prefix\212N\020Glob"
-          + "alOperations\202\323\344\223\002d\"b/compute/v1/projects"
-          + "/{project}/global/publicAdvertisedPrefix"
-          + "es/{public_advertised_prefix}/announce\022\205"
-          + "\002\n\006Delete\022=.google.cloud.compute.v1.Dele"
-          + "tePublicAdvertisedPrefixeRequest\032\".googl"
-          + "e.cloud.compute.v1.Operation\"\227\001\332A projec"
-          + "t,public_advertised_prefix\212N\020GlobalOpera"
-          + "tions\202\323\344\223\002[*Y/compute/v1/projects/{proje"
-          + "ct}/global/publicAdvertisedPrefixes/{pub"
-          + "lic_advertised_prefix}\022\371\001\n\003Get\022:.google."
-          + "cloud.compute.v1.GetPublicAdvertisedPref"
-          + "ixeRequest\032/.google.cloud.compute.v1.Pub"
-          + "licAdvertisedPrefix\"\204\001\332A project,public_"
-          + "advertised_prefix\202\323\344\223\002[\022Y/compute/v1/pro"
-          + "jects/{project}/global/publicAdvertisedP"
-          + "refixes/{public_advertised_prefix}\022\226\002\n\006I"
-          + "nsert\022=.google.cloud.compute.v1.InsertPu"
-          + "blicAdvertisedPrefixeRequest\032\".google.cl"
-          + "oud.compute.v1.Operation\"\250\001\332A)project,pu"
-          + "blic_advertised_prefix_resource\212N\020Global"
-          + "Operations\202\323\344\223\002c\">/compute/v1/projects/{"
-          + "project}/global/publicAdvertisedPrefixes"
-          + ":!public_advertised_prefix_resource\022\313\001\n\004"
-          + "List\022<.google.cloud.compute.v1.ListPubli"
-          + "cAdvertisedPrefixesRequest\0323.google.clou"
-          + "d.compute.v1.PublicAdvertisedPrefixList\""
-          + "P\332A\007project\202\323\344\223\002@\022>/compute/v1/projects/"
-          + "{project}/global/publicAdvertisedPrefixe"
-          + "s\022\310\002\n\005Patch\022<.google.cloud.compute.v1.Pa"
-          + "tchPublicAdvertisedPrefixeRequest\032\".goog"
-          + "le.cloud.compute.v1.Operation\"\334\001\332ABproje"
-          + "ct,public_advertised_prefix,public_adver"
+          + "es:\030security_policy_resource\022\257\001\n\004List\022@."
+          + "google.cloud.compute.v1.ListOrganization"
+          + "SecurityPoliciesRequest\032+.google.cloud.c"
+          + "ompute.v1.SecurityPolicyList\"8\332A\000\202\323\344\223\002/\022"
+          + "-/compute/v1/locations/global/securityPo"
+          + "licies\022\370\001\n\020ListAssociations\022J.google.clo"
+          + "ud.compute.v1.ListAssociationsOrganizati"
+          + "onSecurityPolicyRequest\032M.google.cloud.c"
+          + "ompute.v1.OrganizationSecurityPoliciesLi"
+          + "stAssociationsResponse\"I\332A\000\202\323\344\223\002@\022>/comp"
+          + "ute/v1/locations/global/securityPolicies"
+          + "/listAssociations\022\252\002\n\037ListPreconfiguredE"
+          + "xpressionSets\022[.google.cloud.compute.v1."
+          + "ListPreconfiguredExpressionSetsOrganizat"
+          + "ionSecurityPoliciesRequest\032P.google.clou"
+          + "d.compute.v1.SecurityPoliciesListPreconf"
+          + "iguredExpressionSetsResponse\"X\332A\000\202\323\344\223\002O\022"
+          + "M/compute/v1/locations/global/securityPo"
+          + "licies/listPreconfiguredExpressionSets\022\351"
+          + "\001\n\004Move\022>.google.cloud.compute.v1.MoveOr"
+          + "ganizationSecurityPolicyRequest\032\".google"
+          + ".cloud.compute.v1.Operation\"}\332A\017security"
+          + "_policy\212N\034GlobalOrganizationOperations\202\323"
+          + "\344\223\002F\"D/compute/v1/locations/global/secur"
+          + "ityPolicies/{security_policy}/move\022\232\002\n\005P"
+          + "atch\022?.google.cloud.compute.v1.PatchOrga"
+          + "nizationSecurityPolicyRequest\032\".google.c"
+          + "loud.compute.v1.Operation\"\253\001\332A(security_"
+          + "policy,security_policy_resource\212N\034Global"
+          + "OrganizationOperations\202\323\344\223\002[2?/compute/v"
+          + "1/locations/global/securityPolicies/{sec"
+          + "urity_policy}:\030security_policy_resource\022"
+          + "\266\002\n\tPatchRule\022C.google.cloud.compute.v1."
+          + "PatchRuleOrganizationSecurityPolicyReque"
+          + "st\032\".google.cloud.compute.v1.Operation\"\277"
+          + "\001\332A-security_policy,security_policy_rule"
+          + "_resource\212N\034GlobalOrganizationOperations"
+          + "\202\323\344\223\002j\"I/compute/v1/locations/global/sec"
+          + "urityPolicies/{security_policy}/patchRul"
+          + "e:\035security_policy_rule_resource\022\221\002\n\021Rem"
+          + "oveAssociation\022K.google.cloud.compute.v1"
+          + ".RemoveAssociationOrganizationSecurityPo"
+          + "licyRequest\032\".google.cloud.compute.v1.Op"
+          + "eration\"\212\001\332A\017security_policy\212N\034GlobalOrg"
+          + "anizationOperations\202\323\344\223\002S\"Q/compute/v1/l"
+          + "ocations/global/securityPolicies/{securi"
+          + "ty_policy}/removeAssociation\022\374\001\n\nRemoveR"
+          + "ule\022D.google.cloud.compute.v1.RemoveRule"
+          + "OrganizationSecurityPolicyRequest\032\".goog"
+          + "le.cloud.compute.v1.Operation\"\203\001\332A\017secur"
+          + "ity_policy\212N\034GlobalOrganizationOperation"
+          + "s\202\323\344\223\002L\"J/compute/v1/locations/global/se"
+          + "curityPolicies/{security_policy}/removeR"
+          + "ule\032r\312A\026compute.googleapis.com\322AVhttps:/"
+          + "/www.googleapis.com/auth/compute,https:/"
+          + "/www.googleapis.com/auth/cloud-platform2"
+          + "\220\017\n\020PacketMirrorings\022\326\001\n\016AggregatedList\022"
+          + ">.google.cloud.compute.v1.AggregatedList"
+          + "PacketMirroringsRequest\0326.google.cloud.c"
+          + "ompute.v1.PacketMirroringAggregatedList\""
+          + "L\332A\007project\202\323\344\223\002<\022:/compute/v1/projects/"
+          + "{project}/aggregated/packetMirrorings\022\366\001"
+          + "\n\006Delete\0225.google.cloud.compute.v1.Delet"
+          + "ePacketMirroringRequest\032\".google.cloud.c"
+          + "ompute.v1.Operation\"\220\001\332A\037project,region,"
+          + "packet_mirroring\212N\020RegionOperations\202\323\344\223\002"
+          + "U*S/compute/v1/projects/{project}/region"
+          + "s/{region}/packetMirrorings/{packet_mirr"
+          + "oring}\022\342\001\n\003Get\0222.google.cloud.compute.v1"
+          + ".GetPacketMirroringRequest\032(.google.clou"
+          + "d.compute.v1.PacketMirroring\"}\332A\037project"
+          + ",region,packet_mirroring\202\323\344\223\002U\022S/compute"
+          + "/v1/projects/{project}/regions/{region}/"
+          + "packetMirrorings/{packet_mirroring}\022\207\002\n\006"
+          + "Insert\0225.google.cloud.compute.v1.InsertP"
+          + "acketMirroringRequest\032\".google.cloud.com"
+          + "pute.v1.Operation\"\241\001\332A(project,region,pa"
+          + "cket_mirroring_resource\212N\020RegionOperatio"
+          + "ns\202\323\344\223\002]\"@/compute/v1/projects/{project}"
+          + "/regions/{region}/packetMirrorings:\031pack"
+          + "et_mirroring_resource\022\305\001\n\004List\0224.google."
+          + "cloud.compute.v1.ListPacketMirroringsReq"
+          + "uest\032,.google.cloud.compute.v1.PacketMir"
+          + "roringList\"Y\332A\016project,region\202\323\344\223\002B\022@/co"
+          + "mpute/v1/projects/{project}/regions/{reg"
+          + "ion}/packetMirrorings\022\251\002\n\005Patch\0224.google"
+          + ".cloud.compute.v1.PatchPacketMirroringRe"
+          + "quest\032\".google.cloud.compute.v1.Operatio"
+          + "n\"\305\001\332A9project,region,packet_mirroring,p"
+          + "acket_mirroring_resource\212N\020RegionOperati"
+          + "ons\202\323\344\223\002p2S/compute/v1/projects/{project"
+          + "}/regions/{region}/packetMirrorings/{pac"
+          + "ket_mirroring}:\031packet_mirroring_resourc"
+          + "e\022\322\002\n\022TestIamPermissions\022A.google.cloud."
+          + "compute.v1.TestIamPermissionsPacketMirro"
+          + "ringRequest\0320.google.cloud.compute.v1.Te"
+          + "stPermissionsResponse\"\306\001\332A9project,regio"
+          + "n,resource,test_permissions_request_reso"
+          + "urce\202\323\344\223\002\203\001\"^/compute/v1/projects/{proje"
+          + "ct}/regions/{region}/packetMirrorings/{r"
+          + "esource}/testIamPermissions:!test_permis"
+          + "sions_request_resource\032r\312A\026compute.googl"
+          + "eapis.com\322AVhttps://www.googleapis.com/a"
+          + "uth/compute,https://www.googleapis.com/a"
+          + "uth/cloud-platform2\237\006\n\017PreviewFeatures\022\314"
+          + "\001\n\003Get\0221.google.cloud.compute.v1.GetPrev"
+          + "iewFeatureRequest\032\'.google.cloud.compute"
+          + ".v1.PreviewFeature\"i\332A\027project,preview_f"
+          + "eature\202\323\344\223\002I\022G/compute/v1/projects/{proj"
+          + "ect}/global/previewFeatures/{preview_fea"
+          + "ture}\022\261\001\n\004List\0223.google.cloud.compute.v1"
+          + ".ListPreviewFeaturesRequest\032+.google.clo"
+          + "ud.compute.v1.PreviewFeatureList\"G\332A\007pro"
+          + "ject\202\323\344\223\0027\0225/compute/v1/projects/{projec"
+          + "t}/global/previewFeatures\022\224\002\n\006Update\0224.g"
+          + "oogle.cloud.compute.v1.UpdatePreviewFeat"
+          + "ureRequest\032\".google.cloud.compute.v1.Ope"
+          + "ration\"\257\001\332A0project,preview_feature,prev"
+          + "iew_feature_resource\212N\020GlobalOperations\202"
+          + "\323\344\223\002c2G/compute/v1/projects/{project}/gl"
+          + "obal/previewFeatures/{preview_feature}:\030"
+          + "preview_feature_resource\032r\312A\026compute.goo"
+          + "gleapis.com\322AVhttps://www.googleapis.com"
+          + "/auth/compute,https://www.googleapis.com"
+          + "/auth/cloud-platform2\253\033\n\010Projects\022\277\001\n\016Di"
+          + "sableXpnHost\0225.google.cloud.compute.v1.D"
+          + "isableXpnHostProjectRequest\032\".google.clo"
+          + "ud.compute.v1.Operation\"R\332A\007project\212N\020Gl"
+          + "obalOperations\202\323\344\223\002/\"-/compute/v1/projec"
+          + "ts/{project}/disableXpnHost\022\253\002\n\022DisableX"
+          + "pnResource\0229.google.cloud.compute.v1.Dis"
+          + "ableXpnResourceProjectRequest\032\".google.c"
+          + "loud.compute.v1.Operation\"\265\001\332A6project,p"
+          + "rojects_disable_xpn_resource_request_res"
+          + "ource\212N\020GlobalOperations\202\323\344\223\002c\"1/compute"
+          + "/v1/projects/{project}/disableXpnResourc"
+          + "e:.projects_disable_xpn_resource_request"
+          + "_resource\022\274\001\n\rEnableXpnHost\0224.google.clo"
+          + "ud.compute.v1.EnableXpnHostProjectReques"
+          + "t\032\".google.cloud.compute.v1.Operation\"Q\332"
+          + "A\007project\212N\020GlobalOperations\202\323\344\223\002.\",/com"
+          + "pute/v1/projects/{project}/enableXpnHost"
+          + "\022\246\002\n\021EnableXpnResource\0228.google.cloud.co"
+          + "mpute.v1.EnableXpnResourceProjectRequest"
+          + "\032\".google.cloud.compute.v1.Operation\"\262\001\332"
+          + "A5project,projects_enable_xpn_resource_r"
+          + "equest_resource\212N\020GlobalOperations\202\323\344\223\002a"
+          + "\"0/compute/v1/projects/{project}/enableX"
+          + "pnResource:-projects_enable_xpn_resource"
+          + "_request_resource\022\205\001\n\003Get\022*.google.cloud"
+          + ".compute.v1.GetProjectRequest\032 .google.c"
+          + "loud.compute.v1.Project\"0\332A\007project\202\323\344\223\002"
+          + " \022\036/compute/v1/projects/{project}\022\236\001\n\nGe"
+          + "tXpnHost\0221.google.cloud.compute.v1.GetXp"
+          + "nHostProjectRequest\032 .google.cloud.compu"
+          + "te.v1.Project\";\332A\007project\202\323\344\223\002+\022)/comput"
+          + "e/v1/projects/{project}/getXpnHost\022\276\001\n\017G"
+          + "etXpnResources\0227.google.cloud.compute.v1"
+          + ".GetXpnResourcesProjectsRequest\0320.google"
+          + ".cloud.compute.v1.ProjectsGetXpnResource"
+          + "s\"@\332A\007project\202\323\344\223\0020\022./compute/v1/project"
+          + "s/{project}/getXpnResources\022\375\001\n\014ListXpnH"
+          + "osts\0224.google.cloud.compute.v1.ListXpnHo"
+          + "stsProjectsRequest\032$.google.cloud.comput"
+          + "e.v1.XpnHostList\"\220\001\332A0project,projects_l"
+          + "ist_xpn_hosts_request_resource\202\323\344\223\002W\"+/c"
+          + "ompute/v1/projects/{project}/listXpnHost"
+          + "s:(projects_list_xpn_hosts_request_resou"
+          + "rce\022\345\001\n\010MoveDisk\022/.google.cloud.compute."
+          + "v1.MoveDiskProjectRequest\032\".google.cloud"
+          + ".compute.v1.Operation\"\203\001\332A\"project,disk_"
+          + "move_request_resource\212N\020GlobalOperations"
+          + "\202\323\344\223\002E\"\'/compute/v1/projects/{project}/m"
+          + "oveDisk:\032disk_move_request_resource\022\371\001\n\014"
+          + "MoveInstance\0223.google.cloud.compute.v1.M"
+          + "oveInstanceProjectRequest\032\".google.cloud"
+          + ".compute.v1.Operation\"\217\001\332A&project,insta"
+          + "nce_move_request_resource\212N\020GlobalOperat"
+          + "ions\202\323\344\223\002M\"+/compute/v1/projects/{projec"
+          + "t}/moveInstance:\036instance_move_request_r"
+          + "esource\022\250\002\n\021SetCloudArmorTier\0228.google.c"
+          + "loud.compute.v1.SetCloudArmorTierProject"
+          + "Request\032\".google.cloud.compute.v1.Operat"
+          + "ion\"\264\001\332A6project,projects_set_cloud_armo"
+          + "r_tier_request_resource\212N\020GlobalOperatio"
+          + "ns\202\323\344\223\002b\"0/compute/v1/projects/{project}"
+          + "/setCloudArmorTier:.projects_set_cloud_a"
+          + "rmor_tier_request_resource\022\206\002\n\031SetCommon"
+          + "InstanceMetadata\022@.google.cloud.compute."
+          + "v1.SetCommonInstanceMetadataProjectReque"
+          + "st\032\".google.cloud.compute.v1.Operation\"\202"
+          + "\001\332A\031project,metadata_resource\212N\020GlobalOp"
+          + "erations\202\323\344\223\002M\"8/compute/v1/projects/{pr"
+          + "oject}/setCommonInstanceMetadata:\021metada"
+          + "ta_resource\022\274\002\n\025SetDefaultNetworkTier\022<."
+          + "google.cloud.compute.v1.SetDefaultNetwor"
+          + "kTierProjectRequest\032\".google.cloud.compu"
+          + "te.v1.Operation\"\300\001\332A:project,projects_se"
+          + "t_default_network_tier_request_resource\212"
+          + "N\020GlobalOperations\202\323\344\223\002j\"4/compute/v1/pr"
+          + "ojects/{project}/setDefaultNetworkTier:2"
+          + "projects_set_default_network_tier_reques"
+          + "t_resource\022\221\002\n\024SetUsageExportBucket\022;.go"
+          + "ogle.cloud.compute.v1.SetUsageExportBuck"
+          + "etProjectRequest\032\".google.cloud.compute."
+          + "v1.Operation\"\227\001\332A&project,usage_export_l"
+          + "ocation_resource\212N\020GlobalOperations\202\323\344\223\002"
+          + "U\"3/compute/v1/projects/{project}/setUsa"
+          + "geExportBucket:\036usage_export_location_re"
+          + "source\032r\312A\026compute.googleapis.com\322AVhttp"
+          + "s://www.googleapis.com/auth/compute,http"
+          + "s://www.googleapis.com/auth/cloud-platfo"
+          + "rm2\356\017\n\030PublicAdvertisedPrefixes\022\222\002\n\010Anno"
+          + "unce\022?.google.cloud.compute.v1.AnnounceP"
+          + "ublicAdvertisedPrefixeRequest\032\".google.c"
+          + "loud.compute.v1.Operation\"\240\001\332A project,p"
+          + "ublic_advertised_prefix\212N\020GlobalOperatio"
+          + "ns\202\323\344\223\002d\"b/compute/v1/projects/{project}"
+          + "/global/publicAdvertisedPrefixes/{public"
+          + "_advertised_prefix}/announce\022\205\002\n\006Delete\022"
+          + "=.google.cloud.compute.v1.DeletePublicAd"
+          + "vertisedPrefixeRequest\032\".google.cloud.co"
+          + "mpute.v1.Operation\"\227\001\332A project,public_a"
+          + "dvertised_prefix\212N\020GlobalOperations\202\323\344\223\002"
+          + "[*Y/compute/v1/projects/{project}/global"
+          + "/publicAdvertisedPrefixes/{public_advert"
+          + "ised_prefix}\022\371\001\n\003Get\022:.google.cloud.comp"
+          + "ute.v1.GetPublicAdvertisedPrefixeRequest"
+          + "\032/.google.cloud.compute.v1.PublicAdverti"
+          + "sedPrefix\"\204\001\332A project,public_advertised"
+          + "_prefix\202\323\344\223\002[\022Y/compute/v1/projects/{pro"
+          + "ject}/global/publicAdvertisedPrefixes/{p"
+          + "ublic_advertised_prefix}\022\226\002\n\006Insert\022=.go"
+          + "ogle.cloud.compute.v1.InsertPublicAdvert"
+          + "isedPrefixeRequest\032\".google.cloud.comput"
+          + "e.v1.Operation\"\250\001\332A)project,public_adver"
           + "tised_prefix_resource\212N\020GlobalOperations"
-          + "\202\323\344\223\002~2Y/compute/v1/projects/{project}/g"
-          + "lobal/publicAdvertisedPrefixes/{public_a"
-          + "dvertised_prefix}:!public_advertised_pre"
-          + "fix_resource\022\222\002\n\010Withdraw\022?.google.cloud"
-          + ".compute.v1.WithdrawPublicAdvertisedPref"
-          + "ixeRequest\032\".google.cloud.compute.v1.Ope"
-          + "ration\"\240\001\332A project,public_advertised_pr"
-          + "efix\212N\020GlobalOperations\202\323\344\223\002d\"b/compute/"
-          + "v1/projects/{project}/global/publicAdver"
-          + "tisedPrefixes/{public_advertised_prefix}"
-          + "/withdraw\032r\312A\026compute.googleapis.com\322AVh"
-          + "ttps://www.googleapis.com/auth/compute,h"
-          + "ttps://www.googleapis.com/auth/cloud-pla"
-          + "tform2\264\022\n\027PublicDelegatedPrefixes\022\352\001\n\016Ag"
-          + "gregatedList\022E.google.cloud.compute.v1.A"
-          + "ggregatedListPublicDelegatedPrefixesRequ"
-          + "est\032<.google.cloud.compute.v1.PublicDele"
-          + "gatedPrefixAggregatedList\"S\332A\007project\202\323\344"
-          + "\223\002C\022A/compute/v1/projects/{project}/aggr"
-          + "egated/publicDelegatedPrefixes\022\237\002\n\010Annou"
-          + "nce\022>.google.cloud.compute.v1.AnnouncePu"
-          + "blicDelegatedPrefixeRequest\032\".google.clo"
-          + "ud.compute.v1.Operation\"\256\001\332A&project,reg"
-          + "ion,public_delegated_prefix\212N\020RegionOper"
-          + "ations\202\323\344\223\002l\"j/compute/v1/projects/{proj"
-          + "ect}/regions/{region}/publicDelegatedPre"
-          + "fixes/{public_delegated_prefix}/announce"
-          + "\022\222\002\n\006Delete\022<.google.cloud.compute.v1.De"
-          + "letePublicDelegatedPrefixeRequest\032\".goog"
-          + "le.cloud.compute.v1.Operation\"\245\001\332A&proje"
-          + "ct,region,public_delegated_prefix\212N\020Regi"
-          + "onOperations\202\323\344\223\002c*a/compute/v1/projects"
-          + "/{project}/regions/{region}/publicDelega"
-          + "tedPrefixes/{public_delegated_prefix}\022\205\002"
-          + "\n\003Get\0229.google.cloud.compute.v1.GetPubli"
-          + "cDelegatedPrefixeRequest\032..google.cloud."
-          + "compute.v1.PublicDelegatedPrefix\"\222\001\332A&pr"
-          + "oject,region,public_delegated_prefix\202\323\344\223"
-          + "\002c\022a/compute/v1/projects/{project}/regio"
+          + "\202\323\344\223\002c\">/compute/v1/projects/{project}/g"
+          + "lobal/publicAdvertisedPrefixes:!public_a"
+          + "dvertised_prefix_resource\022\313\001\n\004List\022<.goo"
+          + "gle.cloud.compute.v1.ListPublicAdvertise"
+          + "dPrefixesRequest\0323.google.cloud.compute."
+          + "v1.PublicAdvertisedPrefixList\"P\332A\007projec"
+          + "t\202\323\344\223\002@\022>/compute/v1/projects/{project}/"
+          + "global/publicAdvertisedPrefixes\022\310\002\n\005Patc"
+          + "h\022<.google.cloud.compute.v1.PatchPublicA"
+          + "dvertisedPrefixeRequest\032\".google.cloud.c"
+          + "ompute.v1.Operation\"\334\001\332ABproject,public_"
+          + "advertised_prefix,public_advertised_pref"
+          + "ix_resource\212N\020GlobalOperations\202\323\344\223\002~2Y/c"
+          + "ompute/v1/projects/{project}/global/publ"
+          + "icAdvertisedPrefixes/{public_advertised_"
+          + "prefix}:!public_advertised_prefix_resour"
+          + "ce\022\222\002\n\010Withdraw\022?.google.cloud.compute.v"
+          + "1.WithdrawPublicAdvertisedPrefixeRequest"
+          + "\032\".google.cloud.compute.v1.Operation\"\240\001\332"
+          + "A project,public_advertised_prefix\212N\020Glo"
+          + "balOperations\202\323\344\223\002d\"b/compute/v1/project"
+          + "s/{project}/global/publicAdvertisedPrefi"
+          + "xes/{public_advertised_prefix}/withdraw\032"
+          + "r\312A\026compute.googleapis.com\322AVhttps://www"
+          + ".googleapis.com/auth/compute,https://www"
+          + ".googleapis.com/auth/cloud-platform2\264\022\n\027"
+          + "PublicDelegatedPrefixes\022\352\001\n\016AggregatedLi"
+          + "st\022E.google.cloud.compute.v1.AggregatedL"
+          + "istPublicDelegatedPrefixesRequest\032<.goog"
+          + "le.cloud.compute.v1.PublicDelegatedPrefi"
+          + "xAggregatedList\"S\332A\007project\202\323\344\223\002C\022A/comp"
+          + "ute/v1/projects/{project}/aggregated/pub"
+          + "licDelegatedPrefixes\022\237\002\n\010Announce\022>.goog"
+          + "le.cloud.compute.v1.AnnouncePublicDelega"
+          + "tedPrefixeRequest\032\".google.cloud.compute"
+          + ".v1.Operation\"\256\001\332A&project,region,public"
+          + "_delegated_prefix\212N\020RegionOperations\202\323\344\223"
+          + "\002l\"j/compute/v1/projects/{project}/regio"
           + "ns/{region}/publicDelegatedPrefixes/{pub"
-          + "lic_delegated_prefix}\022\243\002\n\006Insert\022<.googl"
-          + "e.cloud.compute.v1.InsertPublicDelegated"
-          + "PrefixeRequest\032\".google.cloud.compute.v1"
-          + ".Operation\"\266\001\332A/project,region,public_de"
-          + "legated_prefix_resource\212N\020RegionOperatio"
-          + "ns\202\323\344\223\002k\"G/compute/v1/projects/{project}"
+          + "lic_delegated_prefix}/announce\022\222\002\n\006Delet"
+          + "e\022<.google.cloud.compute.v1.DeletePublic"
+          + "DelegatedPrefixeRequest\032\".google.cloud.c"
+          + "ompute.v1.Operation\"\245\001\332A&project,region,"
+          + "public_delegated_prefix\212N\020RegionOperatio"
+          + "ns\202\323\344\223\002c*a/compute/v1/projects/{project}"
           + "/regions/{region}/publicDelegatedPrefixe"
-          + "s: public_delegated_prefix_resource\022\331\001\n\004"
-          + "List\022;.google.cloud.compute.v1.ListPubli"
-          + "cDelegatedPrefixesRequest\0322.google.cloud"
-          + ".compute.v1.PublicDelegatedPrefixList\"`\332"
-          + "A\016project,region\202\323\344\223\002I\022G/compute/v1/proj"
-          + "ects/{project}/regions/{region}/publicDe"
-          + "legatedPrefixes\022\324\002\n\005Patch\022;.google.cloud"
-          + ".compute.v1.PatchPublicDelegatedPrefixeR"
-          + "equest\032\".google.cloud.compute.v1.Operati"
-          + "on\"\351\001\332AGproject,region,public_delegated_"
-          + "prefix,public_delegated_prefix_resource\212"
-          + "N\020RegionOperations\202\323\344\223\002\205\0012a/compute/v1/p"
-          + "rojects/{project}/regions/{region}/publi"
-          + "cDelegatedPrefixes/{public_delegated_pre"
-          + "fix}: public_delegated_prefix_resource\022\237"
-          + "\002\n\010Withdraw\022>.google.cloud.compute.v1.Wi"
-          + "thdrawPublicDelegatedPrefixeRequest\032\".go"
-          + "ogle.cloud.compute.v1.Operation\"\256\001\332A&pro"
-          + "ject,region,public_delegated_prefix\212N\020Re"
-          + "gionOperations\202\323\344\223\002l\"j/compute/v1/projec"
-          + "ts/{project}/regions/{region}/publicDele"
-          + "gatedPrefixes/{public_delegated_prefix}/"
-          + "withdraw\032r\312A\026compute.googleapis.com\322AVht"
-          + "tps://www.googleapis.com/auth/compute,ht"
-          + "tps://www.googleapis.com/auth/cloud-plat"
-          + "form2\300\016\n\021RegionAutoscalers\022\345\001\n\006Delete\0226."
-          + "google.cloud.compute.v1.DeleteRegionAuto"
-          + "scalerRequest\032\".google.cloud.compute.v1."
-          + "Operation\"\177\332A\031project,region,autoscaler\212"
-          + "N\020RegionOperations\202\323\344\223\002J*H/compute/v1/pr"
-          + "ojects/{project}/regions/{region}/autosc"
-          + "alers/{autoscaler}\022\315\001\n\003Get\0223.google.clou"
-          + "d.compute.v1.GetRegionAutoscalerRequest\032"
-          + "#.google.cloud.compute.v1.Autoscaler\"l\332A"
-          + "\031project,region,autoscaler\202\323\344\223\002J\022H/compu"
+          + "s/{public_delegated_prefix}\022\205\002\n\003Get\0229.go"
+          + "ogle.cloud.compute.v1.GetPublicDelegated"
+          + "PrefixeRequest\032..google.cloud.compute.v1"
+          + ".PublicDelegatedPrefix\"\222\001\332A&project,regi"
+          + "on,public_delegated_prefix\202\323\344\223\002c\022a/compu"
           + "te/v1/projects/{project}/regions/{region"
-          + "}/autoscalers/{autoscaler}\022\367\001\n\006Insert\0226."
-          + "google.cloud.compute.v1.InsertRegionAuto"
-          + "scalerRequest\032\".google.cloud.compute.v1."
-          + "Operation\"\220\001\332A\"project,region,autoscaler"
-          + "_resource\212N\020RegionOperations\202\323\344\223\002R\";/com"
-          + "pute/v1/projects/{project}/regions/{regi"
-          + "on}/autoscalers:\023autoscaler_resource\022\302\001\n"
-          + "\004List\0225.google.cloud.compute.v1.ListRegi"
-          + "onAutoscalersRequest\032-.google.cloud.comp"
-          + "ute.v1.RegionAutoscalerList\"T\332A\016project,"
-          + "region\202\323\344\223\002=\022;/compute/v1/projects/{proj"
-          + "ect}/regions/{region}/autoscalers\022\365\001\n\005Pa"
-          + "tch\0225.google.cloud.compute.v1.PatchRegio"
-          + "nAutoscalerRequest\032\".google.cloud.comput"
-          + "e.v1.Operation\"\220\001\332A\"project,region,autos"
-          + "caler_resource\212N\020RegionOperations\202\323\344\223\002R2"
-          + ";/compute/v1/projects/{project}/regions/"
-          + "{region}/autoscalers:\023autoscaler_resourc"
-          + "e\022\315\002\n\022TestIamPermissions\022B.google.cloud."
-          + "compute.v1.TestIamPermissionsRegionAutos"
-          + "calerRequest\0320.google.cloud.compute.v1.T"
-          + "estPermissionsResponse\"\300\001\332A9project,regi"
-          + "on,resource,test_permissions_request_res"
-          + "ource\202\323\344\223\002~\"Y/compute/v1/projects/{proje"
-          + "ct}/regions/{region}/autoscalers/{resour"
-          + "ce}/testIamPermissions:!test_permissions"
-          + "_request_resource\022\367\001\n\006Update\0226.google.cl"
-          + "oud.compute.v1.UpdateRegionAutoscalerReq"
+          + "}/publicDelegatedPrefixes/{public_delega"
+          + "ted_prefix}\022\243\002\n\006Insert\022<.google.cloud.co"
+          + "mpute.v1.InsertPublicDelegatedPrefixeReq"
           + "uest\032\".google.cloud.compute.v1.Operation"
-          + "\"\220\001\332A\"project,region,autoscaler_resource"
-          + "\212N\020RegionOperations\202\323\344\223\002R\032;/compute/v1/p"
-          + "rojects/{project}/regions/{region}/autos"
-          + "calers:\023autoscaler_resource\032r\312A\026compute."
-          + "googleapis.com\322AVhttps://www.googleapis."
-          + "com/auth/compute,https://www.googleapis."
-          + "com/auth/cloud-platform2\266\023\n\024RegionBacken"
-          + "dBuckets\022\364\001\n\006Delete\0229.google.cloud.compu"
-          + "te.v1.DeleteRegionBackendBucketRequest\032\""
-          + ".google.cloud.compute.v1.Operation\"\212\001\332A\035"
-          + "project,region,backend_bucket\212N\020RegionOp"
-          + "erations\202\323\344\223\002Q*O/compute/v1/projects/{pr"
-          + "oject}/regions/{region}/backendBuckets/{"
-          + "backend_bucket}\022\336\001\n\003Get\0226.google.cloud.c"
-          + "ompute.v1.GetRegionBackendBucketRequest\032"
-          + "&.google.cloud.compute.v1.BackendBucket\""
-          + "w\332A\035project,region,backend_bucket\202\323\344\223\002Q\022"
-          + "O/compute/v1/projects/{project}/regions/"
-          + "{region}/backendBuckets/{backend_bucket}"
-          + "\022\352\001\n\014GetIamPolicy\022?.google.cloud.compute"
-          + ".v1.GetIamPolicyRegionBackendBucketReque"
-          + "st\032\037.google.cloud.compute.v1.Policy\"x\332A\027"
-          + "project,region,resource\202\323\344\223\002X\022V/compute/"
-          + "v1/projects/{project}/regions/{region}/b"
-          + "ackendBuckets/{resource}/getIamPolicy\022\205\002"
-          + "\n\006Insert\0229.google.cloud.compute.v1.Inser"
-          + "tRegionBackendBucketRequest\032\".google.clo"
-          + "ud.compute.v1.Operation\"\233\001\332A&project,reg"
-          + "ion,backend_bucket_resource\212N\020RegionOper"
-          + "ations\202\323\344\223\002Y\">/compute/v1/projects/{proj"
-          + "ect}/regions/{region}/backendBuckets:\027ba"
-          + "ckend_bucket_resource\022\305\001\n\004List\0228.google."
-          + "cloud.compute.v1.ListRegionBackendBucket"
-          + "sRequest\032*.google.cloud.compute.v1.Backe"
-          + "ndBucketList\"W\332A\016project,region\202\323\344\223\002@\022>/"
-          + "compute/v1/projects/{project}/regions/{r"
-          + "egion}/backendBuckets\022\342\001\n\nListUsable\022>.g"
-          + "oogle.cloud.compute.v1.ListUsableRegionB"
-          + "ackendBucketsRequest\0320.google.cloud.comp"
-          + "ute.v1.BackendBucketListUsable\"b\332A\016proje"
-          + "ct,region\202\323\344\223\002K\022I/compute/v1/projects/{p"
-          + "roject}/regions/{region}/backendBuckets/"
-          + "listUsable\022\243\002\n\005Patch\0228.google.cloud.comp"
-          + "ute.v1.PatchRegionBackendBucketRequest\032\""
-          + ".google.cloud.compute.v1.Operation\"\273\001\332A5"
-          + "project,region,backend_bucket,backend_bu"
-          + "cket_resource\212N\020RegionOperations\202\323\344\223\002j2O"
+          + "\"\266\001\332A/project,region,public_delegated_pr"
+          + "efix_resource\212N\020RegionOperations\202\323\344\223\002k\"G"
           + "/compute/v1/projects/{project}/regions/{"
-          + "region}/backendBuckets/{backend_bucket}:"
-          + "\027backend_bucket_resource\022\262\002\n\014SetIamPolic"
-          + "y\022?.google.cloud.compute.v1.SetIamPolicy"
-          + "RegionBackendBucketRequest\032\037.google.clou"
-          + "d.compute.v1.Policy\"\277\001\332A:project,region,"
-          + "resource,region_set_policy_request_resou"
-          + "rce\202\323\344\223\002|\"V/compute/v1/projects/{project"
-          + "}/regions/{region}/backendBuckets/{resou"
-          + "rce}/setIamPolicy:\"region_set_policy_req"
-          + "uest_resource\022\324\002\n\022TestIamPermissions\022E.g",
-      "oogle.cloud.compute.v1.TestIamPermission"
-          + "sRegionBackendBucketRequest\0320.google.clo"
-          + "ud.compute.v1.TestPermissionsResponse\"\304\001"
-          + "\332A9project,region,resource,test_permissi"
-          + "ons_request_resource\202\323\344\223\002\201\001\"\\/compute/v1"
+          + "region}/publicDelegatedPrefixes: public_"
+          + "delegated_prefix_resource\022\331\001\n\004List\022;.goo"
+          + "gle.cloud.compute.v1.ListPublicDelegated"
+          + "PrefixesRequest\0322.google.cloud.compute.v"
+          + "1.PublicDelegatedPrefixList\"`\332A\016project,"
+          + "region\202\323\344\223\002I\022G/compute/v1/projects/{proj"
+          + "ect}/regions/{region}/publicDelegatedPre"
+          + "fixes\022\324\002\n\005Patch\022;.google.cloud.compute.v"
+          + "1.PatchPublicDelegatedPrefixeRequest\032\".g"
+          + "oogle.cloud.compute.v1.Operation\"\351\001\332AGpr"
+          + "oject,region,public_delegated_prefix,pub"
+          + "lic_delegated_prefix_resource\212N\020RegionOp"
+          + "erations\202\323\344\223\002\205\0012a/compute/v1/projects/{p"
+          + "roject}/regions/{region}/publicDelegated"
+          + "Prefixes/{public_delegated_prefix}: publ"
+          + "ic_delegated_prefix_resource\022\237\002\n\010Withdra"
+          + "w\022>.google.cloud.compute.v1.WithdrawPubl"
+          + "icDelegatedPrefixeRequest\032\".google.cloud"
+          + ".compute.v1.Operation\"\256\001\332A&project,regio"
+          + "n,public_delegated_prefix\212N\020RegionOperat"
+          + "ions\202\323\344\223\002l\"j/compute/v1/projects/{projec"
+          + "t}/regions/{region}/publicDelegatedPrefi"
+          + "xes/{public_delegated_prefix}/withdraw\032r"
+          + "\312A\026compute.googleapis.com\322AVhttps://www."
+          + "googleapis.com/auth/compute,https://www."
+          + "googleapis.com/auth/cloud-platform2\300\016\n\021R"
+          + "egionAutoscalers\022\345\001\n\006Delete\0226.google.clo"
+          + "ud.compute.v1.DeleteRegionAutoscalerRequ"
+          + "est\032\".google.cloud.compute.v1.Operation\""
+          + "\177\332A\031project,region,autoscaler\212N\020RegionOp"
+          + "erations\202\323\344\223\002J*H/compute/v1/projects/{pr"
+          + "oject}/regions/{region}/autoscalers/{aut"
+          + "oscaler}\022\315\001\n\003Get\0223.google.cloud.compute."
+          + "v1.GetRegionAutoscalerRequest\032#.google.c"
+          + "loud.compute.v1.Autoscaler\"l\332A\031project,r"
+          + "egion,autoscaler\202\323\344\223\002J\022H/compute/v1/proj"
+          + "ects/{project}/regions/{region}/autoscal"
+          + "ers/{autoscaler}\022\367\001\n\006Insert\0226.google.clo"
+          + "ud.compute.v1.InsertRegionAutoscalerRequ"
+          + "est\032\".google.cloud.compute.v1.Operation\""
+          + "\220\001\332A\"project,region,autoscaler_resource\212"
+          + "N\020RegionOperations\202\323\344\223\002R\";/compute/v1/pr"
+          + "ojects/{project}/regions/{region}/autosc"
+          + "alers:\023autoscaler_resource\022\302\001\n\004List\0225.go"
+          + "ogle.cloud.compute.v1.ListRegionAutoscal"
+          + "ersRequest\032-.google.cloud.compute.v1.Reg"
+          + "ionAutoscalerList\"T\332A\016project,region\202\323\344\223"
+          + "\002=\022;/compute/v1/projects/{project}/regio"
+          + "ns/{region}/autoscalers\022\365\001\n\005Patch\0225.goog"
+          + "le.cloud.compute.v1.PatchRegionAutoscale"
+          + "rRequest\032\".google.cloud.compute.v1.Opera"
+          + "tion\"\220\001\332A\"project,region,autoscaler_reso"
+          + "urce\212N\020RegionOperations\202\323\344\223\002R2;/compute/"
+          + "v1/projects/{project}/regions/{region}/a"
+          + "utoscalers:\023autoscaler_resource\022\315\002\n\022Test"
+          + "IamPermissions\022B.google.cloud.compute.v1"
+          + ".TestIamPermissionsRegionAutoscalerReque"
+          + "st\0320.google.cloud.compute.v1.TestPermiss"
+          + "ionsResponse\"\300\001\332A9project,region,resourc"
+          + "e,test_permissions_request_resource\202\323\344\223\002"
+          + "~\"Y/compute/v1/projects/{project}/region"
+          + "s/{region}/autoscalers/{resource}/testIa"
+          + "mPermissions:!test_permissions_request_r"
+          + "esource\022\367\001\n\006Update\0226.google.cloud.comput"
+          + "e.v1.UpdateRegionAutoscalerRequest\032\".goo"
+          + "gle.cloud.compute.v1.Operation\"\220\001\332A\"proj"
+          + "ect,region,autoscaler_resource\212N\020RegionO",
+      "perations\202\323\344\223\002R\032;/compute/v1/projects/{p"
+          + "roject}/regions/{region}/autoscalers:\023au"
+          + "toscaler_resource\032r\312A\026compute.googleapis"
+          + ".com\322AVhttps://www.googleapis.com/auth/c"
+          + "ompute,https://www.googleapis.com/auth/c"
+          + "loud-platform2\266\023\n\024RegionBackendBuckets\022\364"
+          + "\001\n\006Delete\0229.google.cloud.compute.v1.Dele"
+          + "teRegionBackendBucketRequest\032\".google.cl"
+          + "oud.compute.v1.Operation\"\212\001\332A\035project,re"
+          + "gion,backend_bucket\212N\020RegionOperations\202\323"
+          + "\344\223\002Q*O/compute/v1/projects/{project}/reg"
+          + "ions/{region}/backendBuckets/{backend_bu"
+          + "cket}\022\336\001\n\003Get\0226.google.cloud.compute.v1."
+          + "GetRegionBackendBucketRequest\032&.google.c"
+          + "loud.compute.v1.BackendBucket\"w\332A\035projec"
+          + "t,region,backend_bucket\202\323\344\223\002Q\022O/compute/"
+          + "v1/projects/{project}/regions/{region}/b"
+          + "ackendBuckets/{backend_bucket}\022\352\001\n\014GetIa"
+          + "mPolicy\022?.google.cloud.compute.v1.GetIam"
+          + "PolicyRegionBackendBucketRequest\032\037.googl"
+          + "e.cloud.compute.v1.Policy\"x\332A\027project,re"
+          + "gion,resource\202\323\344\223\002X\022V/compute/v1/project"
+          + "s/{project}/regions/{region}/backendBuck"
+          + "ets/{resource}/getIamPolicy\022\205\002\n\006Insert\0229"
+          + ".google.cloud.compute.v1.InsertRegionBac"
+          + "kendBucketRequest\032\".google.cloud.compute"
+          + ".v1.Operation\"\233\001\332A&project,region,backen"
+          + "d_bucket_resource\212N\020RegionOperations\202\323\344\223"
+          + "\002Y\">/compute/v1/projects/{project}/regio"
+          + "ns/{region}/backendBuckets:\027backend_buck"
+          + "et_resource\022\305\001\n\004List\0228.google.cloud.comp"
+          + "ute.v1.ListRegionBackendBucketsRequest\032*"
+          + ".google.cloud.compute.v1.BackendBucketLi"
+          + "st\"W\332A\016project,region\202\323\344\223\002@\022>/compute/v1"
           + "/projects/{project}/regions/{region}/bac"
-          + "kendBuckets/{resource}/testIamPermission"
-          + "s:!test_permissions_request_resource\032r\312A"
-          + "\026compute.googleapis.com\322AVhttps://www.go"
-          + "ogleapis.com/auth/compute,https://www.go"
-          + "ogleapis.com/auth/cloud-platform2\275\033\n\025Reg"
-          + "ionBackendServices\022\370\001\n\006Delete\022:.google.c"
-          + "loud.compute.v1.DeleteRegionBackendServi"
-          + "ceRequest\032\".google.cloud.compute.v1.Oper"
-          + "ation\"\215\001\332A\036project,region,backend_servic"
-          + "e\212N\020RegionOperations\202\323\344\223\002S*Q/compute/v1/"
-          + "projects/{project}/regions/{region}/back"
-          + "endServices/{backend_service}\022\343\001\n\003Get\0227."
-          + "google.cloud.compute.v1.GetRegionBackend"
-          + "ServiceRequest\032\'.google.cloud.compute.v1"
-          + ".BackendService\"z\332A\036project,region,backe"
-          + "nd_service\202\323\344\223\002S\022Q/compute/v1/projects/{"
+          + "kendBuckets\022\342\001\n\nListUsable\022>.google.clou"
+          + "d.compute.v1.ListUsableRegionBackendBuck"
+          + "etsRequest\0320.google.cloud.compute.v1.Bac"
+          + "kendBucketListUsable\"b\332A\016project,region\202"
+          + "\323\344\223\002K\022I/compute/v1/projects/{project}/re"
+          + "gions/{region}/backendBuckets/listUsable"
+          + "\022\243\002\n\005Patch\0228.google.cloud.compute.v1.Pat"
+          + "chRegionBackendBucketRequest\032\".google.cl"
+          + "oud.compute.v1.Operation\"\273\001\332A5project,re"
+          + "gion,backend_bucket,backend_bucket_resou"
+          + "rce\212N\020RegionOperations\202\323\344\223\002j2O/compute/v"
+          + "1/projects/{project}/regions/{region}/ba"
+          + "ckendBuckets/{backend_bucket}:\027backend_b"
+          + "ucket_resource\022\262\002\n\014SetIamPolicy\022?.google"
+          + ".cloud.compute.v1.SetIamPolicyRegionBack"
+          + "endBucketRequest\032\037.google.cloud.compute."
+          + "v1.Policy\"\277\001\332A:project,region,resource,r"
+          + "egion_set_policy_request_resource\202\323\344\223\002|\""
+          + "V/compute/v1/projects/{project}/regions/"
+          + "{region}/backendBuckets/{resource}/setIa"
+          + "mPolicy:\"region_set_policy_request_resou"
+          + "rce\022\324\002\n\022TestIamPermissions\022E.google.clou"
+          + "d.compute.v1.TestIamPermissionsRegionBac"
+          + "kendBucketRequest\0320.google.cloud.compute"
+          + ".v1.TestPermissionsResponse\"\304\001\332A9project"
+          + ",region,resource,test_permissions_reques"
+          + "t_resource\202\323\344\223\002\201\001\"\\/compute/v1/projects/"
+          + "{project}/regions/{region}/backendBucket"
+          + "s/{resource}/testIamPermissions:!test_pe"
+          + "rmissions_request_resource\032r\312A\026compute.g"
+          + "oogleapis.com\322AVhttps://www.googleapis.c"
+          + "om/auth/compute,https://www.googleapis.c"
+          + "om/auth/cloud-platform2\275\033\n\025RegionBackend"
+          + "Services\022\370\001\n\006Delete\022:.google.cloud.compu"
+          + "te.v1.DeleteRegionBackendServiceRequest\032"
+          + "\".google.cloud.compute.v1.Operation\"\215\001\332A"
+          + "\036project,region,backend_service\212N\020Region"
+          + "Operations\202\323\344\223\002S*Q/compute/v1/projects/{"
           + "project}/regions/{region}/backendService"
-          + "s/{backend_service}\022\313\002\n\tGetHealth\022=.goog"
-          + "le.cloud.compute.v1.GetHealthRegionBacke"
-          + "ndServiceRequest\0322.google.cloud.compute."
-          + "v1.BackendServiceGroupHealth\"\312\001\332A@projec"
-          + "t,region,backend_service,resource_group_"
-          + "reference_resource\202\323\344\223\002\200\001\"[/compute/v1/p"
-          + "rojects/{project}/regions/{region}/backe"
-          + "ndServices/{backend_service}/getHealth:!"
-          + "resource_group_reference_resource\022\354\001\n\014Ge"
-          + "tIamPolicy\022@.google.cloud.compute.v1.Get"
-          + "IamPolicyRegionBackendServiceRequest\032\037.g"
-          + "oogle.cloud.compute.v1.Policy\"y\332A\027projec"
-          + "t,region,resource\202\323\344\223\002Y\022W/compute/v1/pro"
-          + "jects/{project}/regions/{region}/backend"
-          + "Services/{resource}/getIamPolicy\022\211\002\n\006Ins"
-          + "ert\022:.google.cloud.compute.v1.InsertRegi"
-          + "onBackendServiceRequest\032\".google.cloud.c"
-          + "ompute.v1.Operation\"\236\001\332A\'project,region,"
-          + "backend_service_resource\212N\020RegionOperati"
-          + "ons\202\323\344\223\002[\"?/compute/v1/projects/{project"
-          + "}/regions/{region}/backendServices:\030back"
-          + "end_service_resource\022\310\001\n\004List\0229.google.c"
-          + "loud.compute.v1.ListRegionBackendService"
-          + "sRequest\032+.google.cloud.compute.v1.Backe"
-          + "ndServiceList\"X\332A\016project,region\202\323\344\223\002A\022?"
-          + "/compute/v1/projects/{project}/regions/{"
-          + "region}/backendServices\022\345\001\n\nListUsable\022?"
-          + ".google.cloud.compute.v1.ListUsableRegio"
-          + "nBackendServicesRequest\0321.google.cloud.c"
-          + "ompute.v1.BackendServiceListUsable\"c\332A\016p"
-          + "roject,region\202\323\344\223\002L\022J/compute/v1/project"
-          + "s/{project}/regions/{region}/backendServ"
-          + "ices/listUsable\022\251\002\n\005Patch\0229.google.cloud"
-          + ".compute.v1.PatchRegionBackendServiceReq"
-          + "uest\032\".google.cloud.compute.v1.Operation"
-          + "\"\300\001\332A7project,region,backend_service,bac"
-          + "kend_service_resource\212N\020RegionOperations"
-          + "\202\323\344\223\002m2Q/compute/v1/projects/{project}/r"
+          + "s/{backend_service}\022\343\001\n\003Get\0227.google.clo"
+          + "ud.compute.v1.GetRegionBackendServiceReq"
+          + "uest\032\'.google.cloud.compute.v1.BackendSe"
+          + "rvice\"z\332A\036project,region,backend_service"
+          + "\202\323\344\223\002S\022Q/compute/v1/projects/{project}/r"
           + "egions/{region}/backendServices/{backend"
-          + "_service}:\030backend_service_resource\022\264\002\n\014"
-          + "SetIamPolicy\022@.google.cloud.compute.v1.S"
-          + "etIamPolicyRegionBackendServiceRequest\032\037"
-          + ".google.cloud.compute.v1.Policy\"\300\001\332A:pro"
-          + "ject,region,resource,region_set_policy_r"
-          + "equest_resource\202\323\344\223\002}\"W/compute/v1/proje"
-          + "cts/{project}/regions/{region}/backendSe"
-          + "rvices/{resource}/setIamPolicy:\"region_s"
-          + "et_policy_request_resource\022\350\002\n\021SetSecuri"
-          + "tyPolicy\022E.google.cloud.compute.v1.SetSe"
-          + "curityPolicyRegionBackendServiceRequest\032"
-          + "\".google.cloud.compute.v1.Operation\"\347\001\332A"
-          + "Aproject,region,backend_service,security"
-          + "_policy_reference_resource\212N\020RegionOpera"
-          + "tions\202\323\344\223\002\211\001\"c/compute/v1/projects/{proj"
-          + "ect}/regions/{region}/backendServices/{b"
-          + "ackend_service}/setSecurityPolicy:\"secur"
-          + "ity_policy_reference_resource\022\326\002\n\022TestIa"
-          + "mPermissions\022F.google.cloud.compute.v1.T"
-          + "estIamPermissionsRegionBackendServiceReq"
-          + "uest\0320.google.cloud.compute.v1.TestPermi"
-          + "ssionsResponse\"\305\001\332A9project,region,resou"
-          + "rce,test_permissions_request_resource\202\323\344"
-          + "\223\002\202\001\"]/compute/v1/projects/{project}/reg"
-          + "ions/{region}/backendServices/{resource}"
-          + "/testIamPermissions:!test_permissions_re"
-          + "quest_resource\022\253\002\n\006Update\022:.google.cloud"
-          + ".compute.v1.UpdateRegionBackendServiceRe"
-          + "quest\032\".google.cloud.compute.v1.Operatio"
-          + "n\"\300\001\332A7project,region,backend_service,ba"
-          + "ckend_service_resource\212N\020RegionOperation"
-          + "s\202\323\344\223\002m\032Q/compute/v1/projects/{project}/"
-          + "regions/{region}/backendServices/{backen"
-          + "d_service}:\030backend_service_resource\032r\312A"
-          + "\026compute.googleapis.com\322AVhttps://www.go"
-          + "ogleapis.com/auth/compute,https://www.go"
-          + "ogleapis.com/auth/cloud-platform2\362\t\n\021Reg"
-          + "ionCommitments\022\315\001\n\016AggregatedList\022?.goog"
-          + "le.cloud.compute.v1.AggregatedListRegion"
-          + "CommitmentsRequest\0321.google.cloud.comput"
-          + "e.v1.CommitmentAggregatedList\"G\332A\007projec"
-          + "t\202\323\344\223\0027\0225/compute/v1/projects/{project}/"
-          + "aggregated/commitments\022\315\001\n\003Get\0223.google."
-          + "cloud.compute.v1.GetRegionCommitmentRequ"
-          + "est\032#.google.cloud.compute.v1.Commitment"
-          + "\"l\332A\031project,region,commitment\202\323\344\223\002J\022H/c"
+          + "_service}\022\313\002\n\tGetHealth\022=.google.cloud.c"
+          + "ompute.v1.GetHealthRegionBackendServiceR"
+          + "equest\0322.google.cloud.compute.v1.Backend"
+          + "ServiceGroupHealth\"\312\001\332A@project,region,b"
+          + "ackend_service,resource_group_reference_"
+          + "resource\202\323\344\223\002\200\001\"[/compute/v1/projects/{p"
+          + "roject}/regions/{region}/backendServices"
+          + "/{backend_service}/getHealth:!resource_g"
+          + "roup_reference_resource\022\354\001\n\014GetIamPolicy"
+          + "\022@.google.cloud.compute.v1.GetIamPolicyR"
+          + "egionBackendServiceRequest\032\037.google.clou"
+          + "d.compute.v1.Policy\"y\332A\027project,region,r"
+          + "esource\202\323\344\223\002Y\022W/compute/v1/projects/{pro"
+          + "ject}/regions/{region}/backendServices/{"
+          + "resource}/getIamPolicy\022\211\002\n\006Insert\022:.goog"
+          + "le.cloud.compute.v1.InsertRegionBackendS"
+          + "erviceRequest\032\".google.cloud.compute.v1."
+          + "Operation\"\236\001\332A\'project,region,backend_se"
+          + "rvice_resource\212N\020RegionOperations\202\323\344\223\002[\""
+          + "?/compute/v1/projects/{project}/regions/"
+          + "{region}/backendServices:\030backend_servic"
+          + "e_resource\022\310\001\n\004List\0229.google.cloud.compu"
+          + "te.v1.ListRegionBackendServicesRequest\032+"
+          + ".google.cloud.compute.v1.BackendServiceL"
+          + "ist\"X\332A\016project,region\202\323\344\223\002A\022?/compute/v"
+          + "1/projects/{project}/regions/{region}/ba"
+          + "ckendServices\022\345\001\n\nListUsable\022?.google.cl"
+          + "oud.compute.v1.ListUsableRegionBackendSe"
+          + "rvicesRequest\0321.google.cloud.compute.v1."
+          + "BackendServiceListUsable\"c\332A\016project,reg"
+          + "ion\202\323\344\223\002L\022J/compute/v1/projects/{project"
+          + "}/regions/{region}/backendServices/listU"
+          + "sable\022\251\002\n\005Patch\0229.google.cloud.compute.v"
+          + "1.PatchRegionBackendServiceRequest\032\".goo"
+          + "gle.cloud.compute.v1.Operation\"\300\001\332A7proj"
+          + "ect,region,backend_service,backend_servi"
+          + "ce_resource\212N\020RegionOperations\202\323\344\223\002m2Q/c"
           + "ompute/v1/projects/{project}/regions/{re"
-          + "gion}/commitments/{commitment}\022\367\001\n\006Inser"
-          + "t\0226.google.cloud.compute.v1.InsertRegion"
-          + "CommitmentRequest\032\".google.cloud.compute"
-          + ".v1.Operation\"\220\001\332A\"project,region,commit"
-          + "ment_resource\212N\020RegionOperations\202\323\344\223\002R\";"
-          + "/compute/v1/projects/{project}/regions/{"
-          + "region}/commitments:\023commitment_resource"
-          + "\022\274\001\n\004List\0225.google.cloud.compute.v1.List"
-          + "RegionCommitmentsRequest\032\'.google.cloud."
-          + "compute.v1.CommitmentList\"T\332A\016project,re"
-          + "gion\202\323\344\223\002=\022;/compute/v1/projects/{projec"
-          + "t}/regions/{region}/commitments\022\217\002\n\006Upda"
-          + "te\0226.google.cloud.compute.v1.UpdateRegio"
-          + "nCommitmentRequest\032\".google.cloud.comput"
-          + "e.v1.Operation\"\250\001\332A-project,region,commi"
-          + "tment,commitment_resource\212N\020RegionOperat"
-          + "ions\202\323\344\223\002_2H/compute/v1/projects/{projec"
-          + "t}/regions/{region}/commitments/{commitm"
-          + "ent}:\023commitment_resource\032r\312A\026compute.go"
-          + "ogleapis.com\322AVhttps://www.googleapis.co"
-          + "m/auth/compute,https://www.googleapis.co"
-          + "m/auth/cloud-platform2\373\022\n\033RegionComposit"
-          + "eHealthChecks\022\353\001\n\016AggregatedList\022I.googl"
-          + "e.cloud.compute.v1.AggregatedListRegionC"
-          + "ompositeHealthChecksRequest\032;.google.clo"
-          + "ud.compute.v1.CompositeHealthCheckAggreg"
-          + "atedList\"Q\332A\007project\202\323\344\223\002A\022?/compute/v1/"
-          + "projects/{project}/aggregated/compositeH"
-          + "ealthChecks\022\222\002\n\006Delete\022@.google.cloud.co"
-          + "mpute.v1.DeleteRegionCompositeHealthChec"
-          + "kRequest\032\".google.cloud.compute.v1.Opera"
-          + "tion\"\241\001\332A%project,region,composite_healt"
-          + "h_check\212N\020RegionOperations\202\323\344\223\002`*^/compu"
-          + "te/v1/projects/{project}/regions/{region"
-          + "}/compositeHealthChecks/{composite_healt"
-          + "h_check}\022\204\002\n\003Get\022=.google.cloud.compute."
-          + "v1.GetRegionCompositeHealthCheckRequest\032"
-          + "-.google.cloud.compute.v1.CompositeHealt"
-          + "hCheck\"\216\001\332A%project,region,composite_hea"
-          + "lth_check\202\323\344\223\002`\022^/compute/v1/projects/{p"
-          + "roject}/regions/{region}/compositeHealth"
-          + "Checks/{composite_health_check}\022\240\002\n\tGetH"
-          + "ealth\022C.google.cloud.compute.v1.GetHealt"
-          + "hRegionCompositeHealthCheckRequest\0323.goo"
-          + "gle.cloud.compute.v1.CompositeHealthChec"
-          + "kHealth\"\230\001\332A%project,region,composite_he"
-          + "alth_check\202\323\344\223\002j\022h/compute/v1/projects/{"
-          + "project}/regions/{region}/compositeHealt"
-          + "hChecks/{composite_health_check}/getHeal"
-          + "th\022\243\002\n\006Insert\022@.google.cloud.compute.v1."
-          + "InsertRegionCompositeHealthCheckRequest\032"
-          + "\".google.cloud.compute.v1.Operation\"\262\001\332A"
-          + ".project,region,composite_health_check_r"
-          + "esource\212N\020RegionOperations\202\323\344\223\002h\"E/compu"
-          + "te/v1/projects/{project}/regions/{region"
-          + "}/compositeHealthChecks:\037composite_healt"
-          + "h_check_resource\022\332\001\n\004List\022?.google.cloud"
-          + ".compute.v1.ListRegionCompositeHealthChe"
-          + "cksRequest\0321.google.cloud.compute.v1.Com"
-          + "positeHealthCheckList\"^\332A\016project,region"
-          + "\202\323\344\223\002G\022E/compute/v1/projects/{project}/r"
-          + "egions/{region}/compositeHealthChecks\022\322\002"
-          + "\n\005Patch\022?.google.cloud.compute.v1.PatchR"
-          + "egionCompositeHealthCheckRequest\032\".googl"
-          + "e.cloud.compute.v1.Operation\"\343\001\332AEprojec"
-          + "t,region,composite_health_check,composit"
-          + "e_health_check_resource\212N\020RegionOperatio"
-          + "ns\202\323\344\223\002\201\0012^/compute/v1/projects/{project"
-          + "}/regions/{region}/compositeHealthChecks"
-          + "/{composite_health_check}:\037composite_hea"
-          + "lth_check_resource\022\342\002\n\022TestIamPermission"
-          + "s\022L.google.cloud.compute.v1.TestIamPermi"
-          + "ssionsRegionCompositeHealthCheckRequest\032"
-          + "0.google.cloud.compute.v1.TestPermission"
-          + "sResponse\"\313\001\332A9project,region,resource,t"
-          + "est_permissions_request_resource\202\323\344\223\002\210\001\""
-          + "c/compute/v1/projects/{project}/regions/"
-          + "{region}/compositeHealthChecks/{resource"
-          + "}/testIamPermissions:!test_permissions_r"
-          + "equest_resource\032r\312A\026compute.googleapis.c"
+          + "gion}/backendServices/{backend_service}:"
+          + "\030backend_service_resource\022\264\002\n\014SetIamPoli"
+          + "cy\022@.google.cloud.compute.v1.SetIamPolic"
+          + "yRegionBackendServiceRequest\032\037.google.cl"
+          + "oud.compute.v1.Policy\"\300\001\332A:project,regio"
+          + "n,resource,region_set_policy_request_res"
+          + "ource\202\323\344\223\002}\"W/compute/v1/projects/{proje"
+          + "ct}/regions/{region}/backendServices/{re"
+          + "source}/setIamPolicy:\"region_set_policy_"
+          + "request_resource\022\350\002\n\021SetSecurityPolicy\022E"
+          + ".google.cloud.compute.v1.SetSecurityPoli"
+          + "cyRegionBackendServiceRequest\032\".google.c"
+          + "loud.compute.v1.Operation\"\347\001\332AAproject,r"
+          + "egion,backend_service,security_policy_re"
+          + "ference_resource\212N\020RegionOperations\202\323\344\223\002"
+          + "\211\001\"c/compute/v1/projects/{project}/regio"
+          + "ns/{region}/backendServices/{backend_ser"
+          + "vice}/setSecurityPolicy:\"security_policy"
+          + "_reference_resource\022\326\002\n\022TestIamPermissio"
+          + "ns\022F.google.cloud.compute.v1.TestIamPerm"
+          + "issionsRegionBackendServiceRequest\0320.goo"
+          + "gle.cloud.compute.v1.TestPermissionsResp"
+          + "onse\"\305\001\332A9project,region,resource,test_p"
+          + "ermissions_request_resource\202\323\344\223\002\202\001\"]/com"
+          + "pute/v1/projects/{project}/regions/{regi"
+          + "on}/backendServices/{resource}/testIamPe"
+          + "rmissions:!test_permissions_request_reso"
+          + "urce\022\253\002\n\006Update\022:.google.cloud.compute.v"
+          + "1.UpdateRegionBackendServiceRequest\032\".go"
+          + "ogle.cloud.compute.v1.Operation\"\300\001\332A7pro"
+          + "ject,region,backend_service,backend_serv"
+          + "ice_resource\212N\020RegionOperations\202\323\344\223\002m\032Q/"
+          + "compute/v1/projects/{project}/regions/{r"
+          + "egion}/backendServices/{backend_service}"
+          + ":\030backend_service_resource\032r\312A\026compute.g"
+          + "oogleapis.com\322AVhttps://www.googleapis.c"
+          + "om/auth/compute,https://www.googleapis.c"
+          + "om/auth/cloud-platform2\362\t\n\021RegionCommitm"
+          + "ents\022\315\001\n\016AggregatedList\022?.google.cloud.c"
+          + "ompute.v1.AggregatedListRegionCommitment"
+          + "sRequest\0321.google.cloud.compute.v1.Commi"
+          + "tmentAggregatedList\"G\332A\007project\202\323\344\223\0027\0225/"
+          + "compute/v1/projects/{project}/aggregated"
+          + "/commitments\022\315\001\n\003Get\0223.google.cloud.comp"
+          + "ute.v1.GetRegionCommitmentRequest\032#.goog"
+          + "le.cloud.compute.v1.Commitment\"l\332A\031proje"
+          + "ct,region,commitment\202\323\344\223\002J\022H/compute/v1/"
+          + "projects/{project}/regions/{region}/comm"
+          + "itments/{commitment}\022\367\001\n\006Insert\0226.google"
+          + ".cloud.compute.v1.InsertRegionCommitment"
+          + "Request\032\".google.cloud.compute.v1.Operat"
+          + "ion\"\220\001\332A\"project,region,commitment_resou"
+          + "rce\212N\020RegionOperations\202\323\344\223\002R\";/compute/v"
+          + "1/projects/{project}/regions/{region}/co"
+          + "mmitments:\023commitment_resource\022\274\001\n\004List\022"
+          + "5.google.cloud.compute.v1.ListRegionComm"
+          + "itmentsRequest\032\'.google.cloud.compute.v1"
+          + ".CommitmentList\"T\332A\016project,region\202\323\344\223\002="
+          + "\022;/compute/v1/projects/{project}/regions"
+          + "/{region}/commitments\022\217\002\n\006Update\0226.googl"
+          + "e.cloud.compute.v1.UpdateRegionCommitmen"
+          + "tRequest\032\".google.cloud.compute.v1.Opera"
+          + "tion\"\250\001\332A-project,region,commitment,comm"
+          + "itment_resource\212N\020RegionOperations\202\323\344\223\002_"
+          + "2H/compute/v1/projects/{project}/regions"
+          + "/{region}/commitments/{commitment}:\023comm"
+          + "itment_resource\032r\312A\026compute.googleapis.c"
           + "om\322AVhttps://www.googleapis.com/auth/com"
           + "pute,https://www.googleapis.com/auth/clo"
-          + "ud-platform2\277\004\n\017RegionDiskTypes\022\305\001\n\003Get\022"
-          + "1.google.cloud.compute.v1.GetRegionDiskT"
-          + "ypeRequest\032!.google.cloud.compute.v1.Dis"
-          + "kType\"h\332A\030project,region,disk_type\202\323\344\223\002G"
-          + "\022E/compute/v1/projects/{project}/regions"
-          + "/{region}/diskTypes/{disk_type}\022\274\001\n\004List"
-          + "\0223.google.cloud.compute.v1.ListRegionDis"
-          + "kTypesRequest\032+.google.cloud.compute.v1."
-          + "RegionDiskTypeList\"R\332A\016project,region\202\323\344"
-          + "\223\002;\0229/compute/v1/projects/{project}/regi"
-          + "ons/{region}/diskTypes\032\244\001\312A\026compute.goog"
-          + "leapis.com\322A\207\001https://www.googleapis.com"
-          + "/auth/compute.readonly,https://www.googl"
-          + "eapis.com/auth/compute,https://www.googl"
-          + "eapis.com/auth/cloud-platform2\322(\n\013Region"
-          + "Disks\022\346\002\n\023AddResourcePolicies\022=.google.c"
-          + "loud.compute.v1.AddResourcePoliciesRegio"
-          + "nDiskRequest\032\".google.cloud.compute.v1.O"
-          + "peration\"\353\001\332AGproject,region,disk,region"
-          + "_disks_add_resource_policies_request_res"
-          + "ource\212N\020RegionOperations\202\323\344\223\002\207\001\"P/comput"
-          + "e/v1/projects/{project}/regions/{region}"
-          + "/disks/{disk}/addResourcePolicies:3regio"
-          + "n_disks_add_resource_policies_request_re"
-          + "source\022\234\002\n\nBulkInsert\0224.google.cloud.com"
-          + "pute.v1.BulkInsertRegionDiskRequest\032\".go"
-          + "ogle.cloud.compute.v1.Operation\"\263\001\332A1pro"
-          + "ject,region,bulk_insert_disk_resource_re"
-          + "source\212N\020RegionOperations\202\323\344\223\002f\"@/comput"
-          + "e/v1/projects/{project}/regions/{region}"
-          + "/disks/bulkInsert:\"bulk_insert_disk_reso"
-          + "urce_resource\022\222\002\n\016CreateSnapshot\0228.googl"
-          + "e.cloud.compute.v1.CreateSnapshotRegionD"
-          + "iskRequest\032\".google.cloud.compute.v1.Ope"
-          + "ration\"\241\001\332A%project,region,disk,snapshot"
-          + "_resource\212N\020RegionOperations\202\323\344\223\002`\"K/com"
-          + "pute/v1/projects/{project}/regions/{regi"
-          + "on}/disks/{disk}/createSnapshot:\021snapsho"
-          + "t_resource\022\315\001\n\006Delete\0220.google.cloud.com"
-          + "pute.v1.DeleteRegionDiskRequest\032\".google"
-          + ".cloud.compute.v1.Operation\"m\332A\023project,"
-          + "region,disk\212N\020RegionOperations\202\323\344\223\002>*\022.google"
-          + ".cloud.compute.v1.StopAsyncReplicationRe"
-          + "gionDiskRequest\032\".google.cloud.compute.v"
-          + "1.Operation\"\202\001\332A\023project,region,disk\212N\020R"
-          + "egionOperations\202\323\344\223\002S\"Q/compute/v1/proje"
+          + "gion}/compositeHealthChecks\022\322\002\n\005Patch\022?."
+          + "google.cloud.compute.v1.PatchRegionCompo"
+          + "siteHealthCheckRequest\032\".google.cloud.co"
+          + "mpute.v1.Operation\"\343\001\332AEproject,region,c"
+          + "omposite_health_check,composite_health_c"
+          + "heck_resource\212N\020RegionOperations\202\323\344\223\002\201\0012"
+          + "^/compute/v1/projects/{project}/regions/"
+          + "{region}/compositeHealthChecks/{composit"
+          + "e_health_check}:\037composite_health_check_"
+          + "resource\022\342\002\n\022TestIamPermissions\022L.google"
+          + ".cloud.compute.v1.TestIamPermissionsRegi"
+          + "onCompositeHealthCheckRequest\0320.google.c"
+          + "loud.compute.v1.TestPermissionsResponse\""
+          + "\313\001\332A9project,region,resource,test_permis"
+          + "sions_request_resource\202\323\344\223\002\210\001\"c/compute/"
+          + "v1/projects/{project}/regions/{region}/c"
+          + "ompositeHealthChecks/{resource}/testIamP"
+          + "ermissions:!test_permissions_request_res"
+          + "ource\032r\312A\026compute.googleapis.com\322AVhttps"
+          + "://www.googleapis.com/auth/compute,https"
+          + "://www.googleapis.com/auth/cloud-platfor"
+          + "m2\277\004\n\017RegionDiskTypes\022\305\001\n\003Get\0221.google.c"
+          + "loud.compute.v1.GetRegionDiskTypeRequest"
+          + "\032!.google.cloud.compute.v1.DiskType\"h\332A\030"
+          + "project,region,disk_type\202\323\344\223\002G\022E/compute"
+          + "/v1/projects/{project}/regions/{region}/"
+          + "diskTypes/{disk_type}\022\274\001\n\004List\0223.google."
+          + "cloud.compute.v1.ListRegionDiskTypesRequ"
+          + "est\032+.google.cloud.compute.v1.RegionDisk"
+          + "TypeList\"R\332A\016project,region\202\323\344\223\002;\0229/comp"
+          + "ute/v1/projects/{project}/regions/{regio"
+          + "n}/diskTypes\032\244\001\312A\026compute.googleapis.com"
+          + "\322A\207\001https://www.googleapis.com/auth/comp"
+          + "ute.readonly,https://www.googleapis.com/"
+          + "auth/compute,https://www.googleapis.com/"
+          + "auth/cloud-platform2\322(\n\013RegionDisks\022\346\002\n\023"
+          + "AddResourcePolicies\022=.google.cloud.compu"
+          + "te.v1.AddResourcePoliciesRegionDiskReque"
+          + "st\032\".google.cloud.compute.v1.Operation\"\353"
+          + "\001\332AGproject,region,disk,region_disks_add"
+          + "_resource_policies_request_resource\212N\020Re"
+          + "gionOperations\202\323\344\223\002\207\001\"P/compute/v1/proje"
           + "cts/{project}/regions/{region}/disks/{di"
-          + "sk}/stopAsyncReplication\022\356\002\n\031StopGroupAs"
-          + "yncReplication\022C.google.cloud.compute.v1"
-          + ".StopGroupAsyncReplicationRegionDiskRequ"
-          + "est\032\".google.cloud.compute.v1.Operation\""
-          + "\347\001\332ACproject,region,disks_stop_group_asy"
-          + "nc_replication_resource_resource\212N\020Regio"
-          + "nOperations\202\323\344\223\002\207\001\"O/compute/v1/projects"
-          + "/{project}/regions/{region}/disks/stopGr"
-          + "oupAsyncReplication:4disks_stop_group_as"
-          + "ync_replication_resource_resource\022\301\002\n\022Te"
-          + "stIamPermissions\022<.google.cloud.compute."
-          + "v1.TestIamPermissionsRegionDiskRequest\0320"
-          + ".google.cloud.compute.v1.TestPermissions"
-          + "Response\"\272\001\332A9project,region,resource,te"
-          + "st_permissions_request_resource\202\323\344\223\002x\"S/"
-          + "compute/v1/projects/{project}/regions/{r"
-          + "egion}/disks/{resource}/testIamPermissio"
-          + "ns:!test_permissions_request_resource\022\353\001"
-          + "\n\006Update\0220.google.cloud.compute.v1.Updat"
-          + "eRegionDiskRequest\032\".google.cloud.comput"
-          + "e.v1.Operation\"\212\001\332A!project,region,disk,"
-          + "disk_resource\212N\020RegionOperations\202\323\344\223\002M2<"
+          + "sk}/addResourcePolicies:3region_disks_ad"
+          + "d_resource_policies_request_resource\022\234\002\n"
+          + "\nBulkInsert\0224.google.cloud.compute.v1.Bu"
+          + "lkInsertRegionDiskRequest\032\".google.cloud"
+          + ".compute.v1.Operation\"\263\001\332A1project,regio"
+          + "n,bulk_insert_disk_resource_resource\212N\020R"
+          + "egionOperations\202\323\344\223\002f\"@/compute/v1/proje"
+          + "cts/{project}/regions/{region}/disks/bul"
+          + "kInsert:\"bulk_insert_disk_resource_resou"
+          + "rce\022\222\002\n\016CreateSnapshot\0228.google.cloud.co"
+          + "mpute.v1.CreateSnapshotRegionDiskRequest"
+          + "\032\".google.cloud.compute.v1.Operation\"\241\001\332"
+          + "A%project,region,disk,snapshot_resource\212"
+          + "N\020RegionOperations\202\323\344\223\002`\"K/compute/v1/pr"
+          + "ojects/{project}/regions/{region}/disks/"
+          + "{disk}/createSnapshot:\021snapshot_resource"
+          + "\022\315\001\n\006Delete\0220.google.cloud.compute.v1.De"
+          + "leteRegionDiskRequest\032\".google.cloud.com"
+          + "pute.v1.Operation\"m\332A\023project,region,dis"
+          + "k\212N\020RegionOperations\202\323\344\223\002>*\022.google.cloud.compute.v1.Healt"
-          + "hAggregationPolicyAggregatedList\"U\332A\007pro"
-          + "ject\202\323\344\223\002E\022C/compute/v1/projects/{projec"
-          + "t}/aggregated/healthAggregationPolicies\022"
-          + "\237\002\n\006Delete\022C.google.cloud.compute.v1.Del"
-          + "eteRegionHealthAggregationPolicyRequest\032"
-          + "\".google.cloud.compute.v1.Operation\"\253\001\332A"
-          + "(project,region,health_aggregation_polic"
-          + "y\212N\020RegionOperations\202\323\344\223\002g*e/compute/v1/"
-          + "projects/{project}/regions/{region}/heal"
-          + "thAggregationPolicies/{health_aggregatio"
-          + "n_policy}\022\224\002\n\003Get\022@.google.cloud.compute"
-          + ".v1.GetRegionHealthAggregationPolicyRequ"
-          + "est\0320.google.cloud.compute.v1.HealthAggr"
-          + "egationPolicy\"\230\001\332A(project,region,health"
-          + "_aggregation_policy\202\323\344\223\002g\022e/compute/v1/p"
-          + "rojects/{project}/regions/{region}/healt"
-          + "hAggregationPolicies/{health_aggregation"
-          + "_policy}\022\260\002\n\006Insert\022C.google.cloud.compu"
-          + "te.v1.InsertRegionHealthAggregationPolic"
-          + "yRequest\032\".google.cloud.compute.v1.Opera"
-          + "tion\"\274\001\332A1project,region,health_aggregat"
-          + "ion_policy_resource\212N\020RegionOperations\202\323"
-          + "\344\223\002o\"I/compute/v1/projects/{project}/reg"
-          + "ions/{region}/healthAggregationPolicies:"
-          + "\"health_aggregation_policy_resource\022\345\001\n\004"
-          + "List\022C.google.cloud.compute.v1.ListRegio"
-          + "nHealthAggregationPoliciesRequest\0324.goog"
+          + "region}/disks/{disk}/removeResourcePolic"
+          + "ies:6region_disks_remove_resource_polici"
+          + "es_request_resource\022\240\002\n\006Resize\0220.google."
+          + "cloud.compute.v1.ResizeRegionDiskRequest"
+          + "\032\".google.cloud.compute.v1.Operation\"\277\001\332"
+          + "A8project,region,disk,region_disks_resiz"
+          + "e_request_resource\212N\020RegionOperations\202\323\344"
+          + "\223\002k\"C/compute/v1/projects/{project}/regi"
+          + "ons/{region}/disks/{disk}/resize:$region"
+          + "_disks_resize_request_resource\022\240\002\n\014SetIa"
+          + "mPolicy\0226.google.cloud.compute.v1.SetIam"
+          + "PolicyRegionDiskRequest\032\037.google.cloud.c"
+          + "ompute.v1.Policy\"\266\001\332A:project,region,res"
+          + "ource,region_set_policy_request_resource"
+          + "\202\323\344\223\002s\"M/compute/v1/projects/{project}/r"
+          + "egions/{region}/disks/{resource}/setIamP"
+          + "olicy:\"region_set_policy_request_resourc"
+          + "e\022\255\002\n\tSetLabels\0223.google.cloud.compute.v"
+          + "1.SetLabelsRegionDiskRequest\032\".google.cl"
+          + "oud.compute.v1.Operation\"\306\001\332A:project,re"
+          + "gion,resource,region_set_labels_request_"
+          + "resource\212N\020RegionOperations\202\323\344\223\002p\"J/comp"
+          + "ute/v1/projects/{project}/regions/{regio"
+          + "n}/disks/{resource}/setLabels:\"region_se"
+          + "t_labels_request_resource\022\360\002\n\025StartAsync"
+          + "Replication\022?.google.cloud.compute.v1.St"
+          + "artAsyncReplicationRegionDiskRequest\032\".g"
+          + "oogle.cloud.compute.v1.Operation\"\361\001\332AIpr"
+          + "oject,region,disk,region_disks_start_asy"
+          + "nc_replication_request_resource\212N\020Region"
+          + "Operations\202\323\344\223\002\213\001\"R/compute/v1/projects/"
+          + "{project}/regions/{region}/disks/{disk}/"
+          + "startAsyncReplication:5region_disks_star"
+          + "t_async_replication_request_resource\022\377\001\n"
+          + "\024StopAsyncReplication\022>.google.cloud.com"
+          + "pute.v1.StopAsyncReplicationRegionDiskRe"
+          + "quest\032\".google.cloud.compute.v1.Operatio"
+          + "n\"\202\001\332A\023project,region,disk\212N\020RegionOpera"
+          + "tions\202\323\344\223\002S\"Q/compute/v1/projects/{proje"
+          + "ct}/regions/{region}/disks/{disk}/stopAs"
+          + "yncReplication\022\356\002\n\031StopGroupAsyncReplica"
+          + "tion\022C.google.cloud.compute.v1.StopGroup"
+          + "AsyncReplicationRegionDiskRequest\032\".goog"
+          + "le.cloud.compute.v1.Operation\"\347\001\332ACproje"
+          + "ct,region,disks_stop_group_async_replica"
+          + "tion_resource_resource\212N\020RegionOperation"
+          + "s\202\323\344\223\002\207\001\"O/compute/v1/projects/{project}"
+          + "/regions/{region}/disks/stopGroupAsyncRe"
+          + "plication:4disks_stop_group_async_replic"
+          + "ation_resource_resource\022\301\002\n\022TestIamPermi"
+          + "ssions\022<.google.cloud.compute.v1.TestIam"
+          + "PermissionsRegionDiskRequest\0320.google.cl"
+          + "oud.compute.v1.TestPermissionsResponse\"\272"
+          + "\001\332A9project,region,resource,test_permiss"
+          + "ions_request_resource\202\323\344\223\002x\"S/compute/v1"
+          + "/projects/{project}/regions/{region}/dis"
+          + "ks/{resource}/testIamPermissions:!test_p"
+          + "ermissions_request_resource\022\353\001\n\006Update\0220"
+          + ".google.cloud.compute.v1.UpdateRegionDis"
+          + "kRequest\032\".google.cloud.compute.v1.Opera"
+          + "tion\"\212\001\332A!project,region,disk,disk_resou"
+          + "rce\212N\020RegionOperations\202\323\344\223\002M2"
+          + ".google.cloud.compute.v1.HealthAggregati"
+          + "onPolicyAggregatedList\"U\332A\007project\202\323\344\223\002E"
+          + "\022C/compute/v1/projects/{project}/aggrega"
+          + "ted/healthAggregationPolicies\022\237\002\n\006Delete",
+      "\022C.google.cloud.compute.v1.DeleteRegionH"
+          + "ealthAggregationPolicyRequest\032\".google.c"
+          + "loud.compute.v1.Operation\"\253\001\332A(project,r"
+          + "egion,health_aggregation_policy\212N\020Region"
+          + "Operations\202\323\344\223\002g*e/compute/v1/projects/{"
+          + "project}/regions/{region}/healthAggregat"
+          + "ionPolicies/{health_aggregation_policy}\022"
+          + "\224\002\n\003Get\022@.google.cloud.compute.v1.GetReg"
+          + "ionHealthAggregationPolicyRequest\0320.goog"
           + "le.cloud.compute.v1.HealthAggregationPol"
-          + "icyList\"b\332A\016project,region\202\323\344\223\002K\022I/compu"
-          + "te/v1/projects/{project}/regions/{region"
-          + "}/healthAggregationPolicies\022\345\002\n\005Patch\022B."
-          + "google.cloud.compute.v1.PatchRegionHealt"
-          + "hAggregationPolicyRequest\032\".google.cloud"
-          + ".compute.v1.Operation\"\363\001\332AKproject,regio"
-          + "n,health_aggregation_policy,health_aggre"
-          + "gation_policy_resource\212N\020RegionOperation"
-          + "s\202\323\344\223\002\213\0012e/compute/v1/projects/{project}"
-          + "/regions/{region}/healthAggregationPolic"
-          + "ies/{health_aggregation_policy}:\"health_"
-          + "aggregation_policy_resource\022\351\002\n\022TestIamP"
-          + "ermissions\022O.google.cloud.compute.v1.Tes"
-          + "tIamPermissionsRegionHealthAggregationPo"
-          + "licyRequest\0320.google.cloud.compute.v1.Te"
-          + "stPermissionsResponse\"\317\001\332A9project,regio"
-          + "n,resource,test_permissions_request_reso"
-          + "urce\202\323\344\223\002\214\001\"g/compute/v1/projects/{proje"
-          + "ct}/regions/{region}/healthAggregationPo"
-          + "licies/{resource}/testIamPermissions:!te"
-          + "st_permissions_request_resource\032r\312A\026comp"
-          + "ute.googleapis.com\322AVhttps://www.googlea"
-          + "pis.com/auth/compute,https://www.googlea"
-          + "pis.com/auth/cloud-platform2\240\020\n\031RegionHe"
-          + "althCheckServices\022\345\001\n\016AggregatedList\022G.g"
-          + "oogle.cloud.compute.v1.AggregatedListReg"
-          + "ionHealthCheckServicesRequest\0329.google.c"
-          + "loud.compute.v1.HealthCheckServiceAggreg"
-          + "atedList\"O\332A\007project\202\323\344\223\002?\022=/compute/v1/"
-          + "projects/{project}/aggregated/healthChec"
-          + "kServices\022\212\002\n\006Delete\022>.google.cloud.comp"
-          + "ute.v1.DeleteRegionHealthCheckServiceReq",
-      "uest\032\".google.cloud.compute.v1.Operation"
-          + "\"\233\001\332A#project,region,health_check_servic"
-          + "e\212N\020RegionOperations\202\323\344\223\002\\*Z/compute/v1/"
-          + "projects/{project}/regions/{region}/heal"
-          + "thCheckServices/{health_check_service}\022\372"
-          + "\001\n\003Get\022;.google.cloud.compute.v1.GetRegi"
-          + "onHealthCheckServiceRequest\032+.google.clo"
-          + "ud.compute.v1.HealthCheckService\"\210\001\332A#pr"
-          + "oject,region,health_check_service\202\323\344\223\002\\\022"
-          + "Z/compute/v1/projects/{project}/regions/"
-          + "{region}/healthCheckServices/{health_che"
-          + "ck_service}\022\233\002\n\006Insert\022>.google.cloud.co"
-          + "mpute.v1.InsertRegionHealthCheckServiceR"
-          + "equest\032\".google.cloud.compute.v1.Operati"
-          + "on\"\254\001\332A,project,region,health_check_serv"
-          + "ice_resource\212N\020RegionOperations\202\323\344\223\002d\"C/"
-          + "compute/v1/projects/{project}/regions/{r"
-          + "egion}/healthCheckServices:\035health_check"
-          + "_service_resource\022\325\001\n\004List\022=.google.clou"
-          + "d.compute.v1.ListRegionHealthCheckServic"
-          + "esRequest\0320.google.cloud.compute.v1.Heal"
-          + "thCheckServicesList\"\\\332A\016project,region\202\323"
-          + "\344\223\002E\022C/compute/v1/projects/{project}/reg"
-          + "ions/{region}/healthCheckServices\022\305\002\n\005Pa"
-          + "tch\022=.google.cloud.compute.v1.PatchRegio"
-          + "nHealthCheckServiceRequest\032\".google.clou"
-          + "d.compute.v1.Operation\"\330\001\332AAproject,regi"
-          + "on,health_check_service,health_check_ser"
-          + "vice_resource\212N\020RegionOperations\202\323\344\223\002{2Z"
+          + "icy\"\230\001\332A(project,region,health_aggregati"
+          + "on_policy\202\323\344\223\002g\022e/compute/v1/projects/{p"
+          + "roject}/regions/{region}/healthAggregati"
+          + "onPolicies/{health_aggregation_policy}\022\260"
+          + "\002\n\006Insert\022C.google.cloud.compute.v1.Inse"
+          + "rtRegionHealthAggregationPolicyRequest\032\""
+          + ".google.cloud.compute.v1.Operation\"\274\001\332A1"
+          + "project,region,health_aggregation_policy"
+          + "_resource\212N\020RegionOperations\202\323\344\223\002o\"I/com"
+          + "pute/v1/projects/{project}/regions/{regi"
+          + "on}/healthAggregationPolicies:\"health_ag"
+          + "gregation_policy_resource\022\345\001\n\004List\022C.goo"
+          + "gle.cloud.compute.v1.ListRegionHealthAgg"
+          + "regationPoliciesRequest\0324.google.cloud.c"
+          + "ompute.v1.HealthAggregationPolicyList\"b\332"
+          + "A\016project,region\202\323\344\223\002K\022I/compute/v1/proj"
+          + "ects/{project}/regions/{region}/healthAg"
+          + "gregationPolicies\022\345\002\n\005Patch\022B.google.clo"
+          + "ud.compute.v1.PatchRegionHealthAggregati"
+          + "onPolicyRequest\032\".google.cloud.compute.v"
+          + "1.Operation\"\363\001\332AKproject,region,health_a"
+          + "ggregation_policy,health_aggregation_pol"
+          + "icy_resource\212N\020RegionOperations\202\323\344\223\002\213\0012e"
           + "/compute/v1/projects/{project}/regions/{"
-          + "region}/healthCheckServices/{health_chec"
-          + "k_service}:\035health_check_service_resourc"
-          + "e\022\336\002\n\022TestIamPermissions\022J.google.cloud."
-          + "compute.v1.TestIamPermissionsRegionHealt"
-          + "hCheckServiceRequest\0320.google.cloud.comp"
-          + "ute.v1.TestPermissionsResponse\"\311\001\332A9proj"
-          + "ect,region,resource,test_permissions_req"
-          + "uest_resource\202\323\344\223\002\206\001\"a/compute/v1/projec"
+          + "region}/healthAggregationPolicies/{healt"
+          + "h_aggregation_policy}:\"health_aggregatio"
+          + "n_policy_resource\022\351\002\n\022TestIamPermissions"
+          + "\022O.google.cloud.compute.v1.TestIamPermis"
+          + "sionsRegionHealthAggregationPolicyReques"
+          + "t\0320.google.cloud.compute.v1.TestPermissi"
+          + "onsResponse\"\317\001\332A9project,region,resource"
+          + ",test_permissions_request_resource\202\323\344\223\002\214"
+          + "\001\"g/compute/v1/projects/{project}/region"
+          + "s/{region}/healthAggregationPolicies/{re"
+          + "source}/testIamPermissions:!test_permiss"
+          + "ions_request_resource\032r\312A\026compute.google"
+          + "apis.com\322AVhttps://www.googleapis.com/au"
+          + "th/compute,https://www.googleapis.com/au"
+          + "th/cloud-platform2\240\020\n\031RegionHealthCheckS"
+          + "ervices\022\345\001\n\016AggregatedList\022G.google.clou"
+          + "d.compute.v1.AggregatedListRegionHealthC"
+          + "heckServicesRequest\0329.google.cloud.compu"
+          + "te.v1.HealthCheckServiceAggregatedList\"O"
+          + "\332A\007project\202\323\344\223\002?\022=/compute/v1/projects/{"
+          + "project}/aggregated/healthCheckServices\022"
+          + "\212\002\n\006Delete\022>.google.cloud.compute.v1.Del"
+          + "eteRegionHealthCheckServiceRequest\032\".goo"
+          + "gle.cloud.compute.v1.Operation\"\233\001\332A#proj"
+          + "ect,region,health_check_service\212N\020Region"
+          + "Operations\202\323\344\223\002\\*Z/compute/v1/projects/{"
+          + "project}/regions/{region}/healthCheckSer"
+          + "vices/{health_check_service}\022\372\001\n\003Get\022;.g"
+          + "oogle.cloud.compute.v1.GetRegionHealthCh"
+          + "eckServiceRequest\032+.google.cloud.compute"
+          + ".v1.HealthCheckService\"\210\001\332A#project,regi"
+          + "on,health_check_service\202\323\344\223\002\\\022Z/compute/"
+          + "v1/projects/{project}/regions/{region}/h"
+          + "ealthCheckServices/{health_check_service"
+          + "}\022\233\002\n\006Insert\022>.google.cloud.compute.v1.I"
+          + "nsertRegionHealthCheckServiceRequest\032\".g"
+          + "oogle.cloud.compute.v1.Operation\"\254\001\332A,pr"
+          + "oject,region,health_check_service_resour"
+          + "ce\212N\020RegionOperations\202\323\344\223\002d\"C/compute/v1"
+          + "/projects/{project}/regions/{region}/hea"
+          + "lthCheckServices:\035health_check_service_r"
+          + "esource\022\325\001\n\004List\022=.google.cloud.compute."
+          + "v1.ListRegionHealthCheckServicesRequest\032"
+          + "0.google.cloud.compute.v1.HealthCheckSer"
+          + "vicesList\"\\\332A\016project,region\202\323\344\223\002E\022C/com"
+          + "pute/v1/projects/{project}/regions/{regi"
+          + "on}/healthCheckServices\022\305\002\n\005Patch\022=.goog"
+          + "le.cloud.compute.v1.PatchRegionHealthChe"
+          + "ckServiceRequest\032\".google.cloud.compute."
+          + "v1.Operation\"\330\001\332AAproject,region,health_"
+          + "check_service,health_check_service_resou"
+          + "rce\212N\020RegionOperations\202\323\344\223\002{2Z/compute/v"
+          + "1/projects/{project}/regions/{region}/he"
+          + "althCheckServices/{health_check_service}"
+          + ":\035health_check_service_resource\022\336\002\n\022Test"
+          + "IamPermissions\022J.google.cloud.compute.v1"
+          + ".TestIamPermissionsRegionHealthCheckServ"
+          + "iceRequest\0320.google.cloud.compute.v1.Tes"
+          + "tPermissionsResponse\"\311\001\332A9project,region"
+          + ",resource,test_permissions_request_resou"
+          + "rce\202\323\344\223\002\206\001\"a/compute/v1/projects/{projec"
+          + "t}/regions/{region}/healthCheckServices/"
+          + "{resource}/testIamPermissions:!test_perm"
+          + "issions_request_resource\032r\312A\026compute.goo"
+          + "gleapis.com\322AVhttps://www.googleapis.com"
+          + "/auth/compute,https://www.googleapis.com"
+          + "/auth/cloud-platform2\230\017\n\022RegionHealthChe"
+          + "cks\022\354\001\n\006Delete\0227.google.cloud.compute.v1"
+          + ".DeleteRegionHealthCheckRequest\032\".google"
+          + ".cloud.compute.v1.Operation\"\204\001\332A\033project"
+          + ",region,health_check\212N\020RegionOperations\202"
+          + "\323\344\223\002M*K/compute/v1/projects/{project}/re"
+          + "gions/{region}/healthChecks/{health_chec"
+          + "k}\022\324\001\n\003Get\0224.google.cloud.compute.v1.Get"
+          + "RegionHealthCheckRequest\032$.google.cloud."
+          + "compute.v1.HealthCheck\"q\332A\033project,regio"
+          + "n,health_check\202\323\344\223\002M\022K/compute/v1/projec"
           + "ts/{project}/regions/{region}/healthChec"
-          + "kServices/{resource}/testIamPermissions:"
-          + "!test_permissions_request_resource\032r\312A\026c"
-          + "ompute.googleapis.com\322AVhttps://www.goog"
-          + "leapis.com/auth/compute,https://www.goog"
-          + "leapis.com/auth/cloud-platform2\230\017\n\022Regio"
-          + "nHealthChecks\022\354\001\n\006Delete\0227.google.cloud."
-          + "compute.v1.DeleteRegionHealthCheckReques"
-          + "t\032\".google.cloud.compute.v1.Operation\"\204\001"
-          + "\332A\033project,region,health_check\212N\020RegionO"
-          + "perations\202\323\344\223\002M*K/compute/v1/projects/{p"
-          + "roject}/regions/{region}/healthChecks/{h"
-          + "ealth_check}\022\324\001\n\003Get\0224.google.cloud.comp"
-          + "ute.v1.GetRegionHealthCheckRequest\032$.goo"
-          + "gle.cloud.compute.v1.HealthCheck\"q\332A\033pro"
-          + "ject,region,health_check\202\323\344\223\002M\022K/compute"
+          + "ks/{health_check}\022\375\001\n\006Insert\0227.google.cl"
+          + "oud.compute.v1.InsertRegionHealthCheckRe"
+          + "quest\032\".google.cloud.compute.v1.Operatio"
+          + "n\"\225\001\332A$project,region,health_check_resou"
+          + "rce\212N\020RegionOperations\202\323\344\223\002U\"\022\022region_instance_group_managers_stop_in"
-          + "stances_request_resource\022\275\003\n\020SuspendInst"
-          + "ances\022J.google.cloud.compute.v1.SuspendI"
-          + "nstancesRegionInstanceGroupManagerReques"
-          + "t\032\".google.cloud.compute.v1.Operation\"\270\002",
-      "\332Agproject,region,instance_group_manager"
-          + ",region_instance_group_managers_suspend_"
-          + "instances_request_resource\212N\020RegionOpera"
-          + "tions\202\323\344\223\002\264\001\"o/compute/v1/projects/{proj"
-          + "ect}/regions/{region}/instanceGroupManag"
-          + "ers/{instance_group_manager}/suspendInst"
-          + "ances:Aregion_instance_group_managers_su"
-          + "spend_instances_request_resource\022\325\003\n\030Upd"
-          + "atePerInstanceConfigs\022R.google.cloud.com"
-          + "pute.v1.UpdatePerInstanceConfigsRegionIn"
-          + "stanceGroupManagerRequest\032\".google.cloud"
-          + ".compute.v1.Operation\"\300\002\332Agproject,regio"
-          + "n,instance_group_manager,region_instance"
-          + "_group_manager_update_instance_config_re"
-          + "q_resource\212N\020RegionOperations\202\323\344\223\002\274\001\"w/c"
+          + "s/{instance_group_manager}\022\243\002\n\006Insert\022@."
+          + "google.cloud.compute.v1.InsertRegionInst"
+          + "anceGroupManagerRequest\032\".google.cloud.c"
+          + "ompute.v1.Operation\"\262\001\332A.project,region,"
+          + "instance_group_manager_resource\212N\020Region"
+          + "Operations\202\323\344\223\002h\"E/compute/v1/projects/{"
+          + "project}/regions/{region}/instanceGroupM"
+          + "anagers:\037instance_group_manager_resource"
+          + "\022\340\001\n\004List\022?.google.cloud.compute.v1.List"
+          + "RegionInstanceGroupManagersRequest\0327.goo"
+          + "gle.cloud.compute.v1.RegionInstanceGroup"
+          + "ManagerList\"^\332A\016project,region\202\323\344\223\002G\022E/c"
           + "ompute/v1/projects/{project}/regions/{re"
-          + "gion}/instanceGroupManagers/{instance_gr"
-          + "oup_manager}/updatePerInstanceConfigs:Ar"
-          + "egion_instance_group_manager_update_inst"
-          + "ance_config_req_resource\032r\312A\026compute.goo"
-          + "gleapis.com\322AVhttps://www.googleapis.com"
-          + "/auth/compute,https://www.googleapis.com"
-          + "/auth/cloud-platform2\236\r\n\024RegionInstanceG"
-          + "roups\022\336\001\n\003Get\0226.google.cloud.compute.v1."
-          + "GetRegionInstanceGroupRequest\032&.google.c"
-          + "loud.compute.v1.InstanceGroup\"w\332A\035projec"
-          + "t,region,instance_group\202\323\344\223\002Q\022O/compute/"
-          + "v1/projects/{project}/regions/{region}/i"
-          + "nstanceGroups/{instance_group}\022\313\001\n\004List\022"
-          + "8.google.cloud.compute.v1.ListRegionInst"
-          + "anceGroupsRequest\0320.google.cloud.compute"
-          + ".v1.RegionInstanceGroupList\"W\332A\016project,"
-          + "region\202\323\344\223\002@\022>/compute/v1/projects/{proj"
-          + "ect}/regions/{region}/instanceGroups\022\206\003\n"
-          + "\rListInstances\022A.google.cloud.compute.v1"
-          + ".ListInstancesRegionInstanceGroupsReques"
-          + "t\032:.google.cloud.compute.v1.RegionInstan"
-          + "ceGroupsListInstances\"\365\001\332ATproject,regio"
-          + "n,instance_group,region_instance_groups_"
-          + "list_instances_request_resource\202\323\344\223\002\227\001\"]"
-          + "/compute/v1/projects/{project}/regions/{"
-          + "region}/instanceGroups/{instance_group}/"
-          + "listInstances:6region_instance_groups_li"
-          + "st_instances_request_resource\022\202\003\n\rSetNam"
-          + "edPorts\022@.google.cloud.compute.v1.SetNam"
-          + "edPortsRegionInstanceGroupRequest\032\".goog"
-          + "le.cloud.compute.v1.Operation\"\212\002\332AUproje"
-          + "ct,region,instance_group,region_instance"
-          + "_groups_set_named_ports_request_resource"
-          + "\212N\020RegionOperations\202\323\344\223\002\230\001\"]/compute/v1/"
-          + "projects/{project}/regions/{region}/inst"
-          + "anceGroups/{instance_group}/setNamedPort"
-          + "s:7region_instance_groups_set_named_port"
-          + "s_request_resource\022\324\002\n\022TestIamPermission"
-          + "s\022E.google.cloud.compute.v1.TestIamPermi"
-          + "ssionsRegionInstanceGroupRequest\0320.googl"
-          + "e.cloud.compute.v1.TestPermissionsRespon"
-          + "se\"\304\001\332A9project,region,resource,test_per"
-          + "missions_request_resource\202\323\344\223\002\201\001\"\\/compu"
+          + "gion}/instanceGroupManagers\022\267\002\n\nListErro"
+          + "rs\022E.google.cloud.compute.v1.ListErrorsR"
+          + "egionInstanceGroupManagersRequest\032F.goog"
+          + "le.cloud.compute.v1.RegionInstanceGroupM"
+          + "anagersListErrorsResponse\"\231\001\332A%project,r"
+          + "egion,instance_group_manager\202\323\344\223\002k\022i/com"
+          + "pute/v1/projects/{project}/regions/{regi"
+          + "on}/instanceGroupManagers/{instance_grou"
+          + "p_manager}/listErrors\022\330\002\n\024ListManagedIns"
+          + "tances\022O.google.cloud.compute.v1.ListMan"
+          + "agedInstancesRegionInstanceGroupManagers"
+          + "Request\032I.google.cloud.compute.v1.Region"
+          + "InstanceGroupManagersListInstancesRespon"
+          + "se\"\243\001\332A%project,region,instance_group_ma"
+          + "nager\202\323\344\223\002u\"s/compute/v1/projects/{proje"
+          + "ct}/regions/{region}/instanceGroupManage"
+          + "rs/{instance_group_manager}/listManagedI"
+          + "nstances\022\340\002\n\026ListPerInstanceConfigs\022Q.go"
+          + "ogle.cloud.compute.v1.ListPerInstanceCon"
+          + "figsRegionInstanceGroupManagersRequest\032K"
+          + ".google.cloud.compute.v1.RegionInstanceG"
+          + "roupManagersListInstanceConfigsResp\"\245\001\332A"
+          + "%project,region,instance_group_manager\202\323"
+          + "\344\223\002w\"u/compute/v1/projects/{project}/reg"
+          + "ions/{region}/instanceGroupManagers/{ins"
+          + "tance_group_manager}/listPerInstanceConf"
+          + "igs\022\322\002\n\005Patch\022?.google.cloud.compute.v1."
+          + "PatchRegionInstanceGroupManagerRequest\032\""
+          + ".google.cloud.compute.v1.Operation\"\343\001\332AE"
+          + "project,region,instance_group_manager,in"
+          + "stance_group_manager_resource\212N\020RegionOp"
+          + "erations\202\323\344\223\002\201\0012^/compute/v1/projects/{p"
+          + "roject}/regions/{region}/instanceGroupMa"
+          + "nagers/{instance_group_manager}:\037instanc"
+          + "e_group_manager_resource\022\320\003\n\027PatchPerIns"
+          + "tanceConfigs\022Q.google.cloud.compute.v1.P"
+          + "atchPerInstanceConfigsRegionInstanceGrou"
+          + "pManagerRequest\032\".google.cloud.compute.v"
+          + "1.Operation\"\275\002\332Afproject,region,instance"
+          + "_group_manager,region_instance_group_man"
+          + "ager_patch_instance_config_req_resource\212"
+          + "N\020RegionOperations\202\323\344\223\002\272\001\"v/compute/v1/p"
+          + "rojects/{project}/regions/{region}/insta"
+          + "nceGroupManagers/{instance_group_manager"
+          + "}/patchPerInstanceConfigs:@region_instan"
+          + "ce_group_manager_patch_instance_config_r"
+          + "eq_resource\022\256\003\n\021RecreateInstances\022K.goog"
+          + "le.cloud.compute.v1.RecreateInstancesReg"
+          + "ionInstanceGroupManagerRequest\032\".google."
+          + "cloud.compute.v1.Operation\"\247\002\332A^project,"
+          + "region,instance_group_manager,region_ins"
+          + "tance_group_managers_recreate_request_re"
+          + "source\212N\020RegionOperations\202\323\344\223\002\254\001\"p/compu"
           + "te/v1/projects/{project}/regions/{region"
-          + "}/instanceGroups/{resource}/testIamPermi"
-          + "ssions:!test_permissions_request_resourc"
-          + "e\032r\312A\026compute.googleapis.com\322AVhttps://w"
-          + "ww.googleapis.com/auth/compute,https://w"
-          + "ww.googleapis.com/auth/cloud-platform2\346\010"
-          + "\n\027RegionInstanceTemplates\022\200\002\n\006Delete\022<.g"
-          + "oogle.cloud.compute.v1.DeleteRegionInsta"
-          + "nceTemplateRequest\032\".google.cloud.comput"
-          + "e.v1.Operation\"\223\001\332A project,region,insta"
-          + "nce_template\212N\020RegionOperations\202\323\344\223\002W*U/"
-          + "compute/v1/projects/{project}/regions/{r"
-          + "egion}/instanceTemplates/{instance_templ"
-          + "ate}\022\356\001\n\003Get\0229.google.cloud.compute.v1.G"
-          + "etRegionInstanceTemplateRequest\032).google"
-          + ".cloud.compute.v1.InstanceTemplate\"\200\001\332A "
-          + "project,region,instance_template\202\323\344\223\002W\022U"
-          + "/compute/v1/projects/{project}/regions/{"
-          + "region}/instanceTemplates/{instance_temp"
-          + "late}\022\221\002\n\006Insert\022<.google.cloud.compute."
-          + "v1.InsertRegionInstanceTemplateRequest\032\""
-          + ".google.cloud.compute.v1.Operation\"\244\001\332A)"
-          + "project,region,instance_template_resourc"
-          + "e\212N\020RegionOperations\202\323\344\223\002_\"A/compute/v1/"
-          + "projects/{project}/regions/{region}/inst"
-          + "anceTemplates:\032instance_template_resourc"
-          + "e\022\316\001\n\004List\022;.google.cloud.compute.v1.Lis"
-          + "tRegionInstanceTemplatesRequest\032-.google"
-          + ".cloud.compute.v1.InstanceTemplateList\"Z"
-          + "\332A\016project,region\202\323\344\223\002C\022A/compute/v1/pro"
-          + "jects/{project}/regions/{region}/instanc"
-          + "eTemplates\032r\312A\026compute.googleapis.com\322AV"
-          + "https://www.googleapis.com/auth/compute,"
-          + "https://www.googleapis.com/auth/cloud-pl"
-          + "atform2\264\003\n\017RegionInstances\022\254\002\n\nBulkInser"
-          + "t\0228.google.cloud.compute.v1.BulkInsertRe"
-          + "gionInstanceRequest\032\".google.cloud.compu"
-          + "te.v1.Operation\"\277\001\332A5project,region,bulk"
-          + "_insert_instance_resource_resource\212N\020Reg"
-          + "ionOperations\202\323\344\223\002n\"D/compute/v1/project"
-          + "s/{project}/regions/{region}/instances/b"
-          + "ulkInsert:&bulk_insert_instance_resource"
-          + "_resource\032r\312A\026compute.googleapis.com\322AVh"
-          + "ttps://www.googleapis.com/auth/compute,h"
-          + "ttps://www.googleapis.com/auth/cloud-pla"
-          + "tform2\325\020\n\033RegionInstantSnapshotGroups\022\222\002"
-          + "\n\006Delete\022@.google.cloud.compute.v1.Delet"
-          + "eRegionInstantSnapshotGroupRequest\032\".goo"
-          + "gle.cloud.compute.v1.Operation\"\241\001\332A%proj"
-          + "ect,region,instant_snapshot_group\212N\020Regi"
-          + "onOperations\202\323\344\223\002`*^/compute/v1/projects"
-          + "/{project}/regions/{region}/instantSnaps"
-          + "hotGroups/{instant_snapshot_group}\022\204\002\n\003G"
-          + "et\022=.google.cloud.compute.v1.GetRegionIn"
-          + "stantSnapshotGroupRequest\032-.google.cloud"
-          + ".compute.v1.InstantSnapshotGroup\"\216\001\332A%pr"
-          + "oject,region,instant_snapshot_group\202\323\344\223\002"
-          + "`\022^/compute/v1/projects/{project}/region"
-          + "s/{region}/instantSnapshotGroups/{instan"
-          + "t_snapshot_group}\022\370\001\n\014GetIamPolicy\022F.goo"
-          + "gle.cloud.compute.v1.GetIamPolicyRegionI"
-          + "nstantSnapshotGroupRequest\032\037.google.clou"
-          + "d.compute.v1.Policy\"\177\332A\027project,region,r"
-          + "esource\202\323\344\223\002_\022]/compute/v1/projects/{pro"
-          + "ject}/regions/{region}/instantSnapshotGr"
-          + "oups/{resource}/getIamPolicy\022\243\002\n\006Insert\022"
-          + "@.google.cloud.compute.v1.InsertRegionIn"
-          + "stantSnapshotGroupRequest\032\".google.cloud"
-          + ".compute.v1.Operation\"\262\001\332A.project,regio"
-          + "n,instant_snapshot_group_resource\212N\020Regi"
-          + "onOperations\202\323\344\223\002h\"E/compute/v1/projects"
-          + "/{project}/regions/{region}/instantSnaps"
-          + "hotGroups:\037instant_snapshot_group_resour"
-          + "ce\022\333\001\n\004List\022?.google.cloud.compute.v1.Li"
-          + "stRegionInstantSnapshotGroupsRequest\0322.g"
-          + "oogle.cloud.compute.v1.ListInstantSnapsh"
-          + "otGroups\"^\332A\016project,region\202\323\344\223\002G\022E/comp"
-          + "ute/v1/projects/{project}/regions/{regio"
-          + "n}/instantSnapshotGroups\022\301\002\n\014SetIamPolic"
-          + "y\022F.google.cloud.compute.v1.SetIamPolicy"
-          + "RegionInstantSnapshotGroupRequest\032\037.goog"
-          + "le.cloud.compute.v1.Policy\"\307\001\332A:project,"
-          + "region,resource,region_set_policy_reques"
-          + "t_resource\202\323\344\223\002\203\001\"]/compute/v1/projects/"
-          + "{project}/regions/{region}/instantSnapsh"
-          + "otGroups/{resource}/setIamPolicy:\"region"
-          + "_set_policy_request_resource\022\342\002\n\022TestIam"
-          + "Permissions\022L.google.cloud.compute.v1.Te"
-          + "stIamPermissionsRegionInstantSnapshotGro"
-          + "upRequest\0320.google.cloud.compute.v1.Test"
-          + "PermissionsResponse\"\313\001\332A9project,region,"
-          + "resource,test_permissions_request_resour"
-          + "ce\202\323\344\223\002\210\001\"c/compute/v1/projects/{project"
-          + "}/regions/{region}/instantSnapshotGroups"
-          + "/{resource}/testIamPermissions:!test_per"
-          + "missions_request_resource\032r\312A\026compute.go"
-          + "ogleapis.com\322AVhttps://www.googleapis.co"
-          + "m/auth/compute,https://www.googleapis.co"
-          + "m/auth/cloud-platform2\237\022\n\026RegionInstantS"
-          + "napshots\022\374\001\n\006Delete\022;.google.cloud.compu"
-          + "te.v1.DeleteRegionInstantSnapshotRequest"
-          + "\032\".google.cloud.compute.v1.Operation\"\220\001\332"
-          + "A\037project,region,instant_snapshot\212N\020Regi"
-          + "onOperations\202\323\344\223\002U*S/compute/v1/projects"
-          + "/{project}/regions/{region}/instantSnaps"
-          + "hots/{instant_snapshot}\022\350\001\n\003Get\0228.google"
-          + ".cloud.compute.v1.GetRegionInstantSnapsh"
-          + "otRequest\032(.google.cloud.compute.v1.Inst"
-          + "antSnapshot\"}\332A\037project,region,instant_s"
-          + "napshot\202\323\344\223\002U\022S/compute/v1/projects/{pro"
-          + "ject}/regions/{region}/instantSnapshots/"
-          + "{instant_snapshot}\022\356\001\n\014GetIamPolicy\022A.go"
-          + "ogle.cloud.compute.v1.GetIamPolicyRegion"
-          + "InstantSnapshotRequest\032\037.google.cloud.co"
-          + "mpute.v1.Policy\"z\332A\027project,region,resou"
-          + "rce\202\323\344\223\002Z\022X/compute/v1/projects/{project"
-          + "}/regions/{region}/instantSnapshots/{res"
-          + "ource}/getIamPolicy\022\215\002\n\006Insert\022;.google."
-          + "cloud.compute.v1.InsertRegionInstantSnap"
-          + "shotRequest\032\".google.cloud.compute.v1.Op"
-          + "eration\"\241\001\332A(project,region,instant_snap"
-          + "shot_resource\212N\020RegionOperations\202\323\344\223\002]\"@"
+          + "}/instanceGroupManagers/{instance_group_"
+          + "manager}/recreateInstances:8region_insta"
+          + "nce_group_managers_recreate_request_reso"
+          + "urce\022\236\002\n\006Resize\022@.google.cloud.compute.v"
+          + "1.ResizeRegionInstanceGroupManagerReques"
+          + "t\032\".google.cloud.compute.v1.Operation\"\255\001"
+          + "\332A*project,region,instance_group_manager"
+          + ",size\212N\020RegionOperations\202\323\344\223\002g\"e/compute"
+          + "/v1/projects/{project}/regions/{region}/"
+          + "instanceGroupManagers/{instance_group_ma"
+          + "nager}/resize\022\270\003\n\017ResumeInstances\022I.goog"
+          + "le.cloud.compute.v1.ResumeInstancesRegio",
+      "nInstanceGroupManagerRequest\032\".google.cl"
+          + "oud.compute.v1.Operation\"\265\002\332Afproject,re"
+          + "gion,instance_group_manager,region_insta"
+          + "nce_group_managers_resume_instances_requ"
+          + "est_resource\212N\020RegionOperations\202\323\344\223\002\262\001\"n"
           + "/compute/v1/projects/{project}/regions/{"
-          + "region}/instantSnapshots:\031instant_snapsh"
-          + "ot_resource\022\313\001\n\004List\022:.google.cloud.comp"
-          + "ute.v1.ListRegionInstantSnapshotsRequest"
-          + "\032,.google.cloud.compute.v1.InstantSnapsh"
-          + "otList\"Y\332A\016project,region\202\323\344\223\002B\022@/comput"
+          + "region}/instanceGroupManagers/{instance_"
+          + "group_manager}/resumeInstances:@region_i"
+          + "nstance_group_managers_resume_instances_"
+          + "request_resource\022\274\003\n\023SetInstanceTemplate"
+          + "\022M.google.cloud.compute.v1.SetInstanceTe"
+          + "mplateRegionInstanceGroupManagerRequest\032"
+          + "\".google.cloud.compute.v1.Operation\"\261\002\332A"
+          + "bproject,region,instance_group_manager,r"
+          + "egion_instance_group_managers_set_templa"
+          + "te_request_resource\212N\020RegionOperations\202\323"
+          + "\344\223\002\262\001\"r/compute/v1/projects/{project}/re"
+          + "gions/{region}/instanceGroupManagers/{in"
+          + "stance_group_manager}/setInstanceTemplat"
+          + "e:region_i"
+          + "nstance_group_managers_stop_instances_re"
+          + "quest_resource\022\275\003\n\020SuspendInstances\022J.go"
+          + "ogle.cloud.compute.v1.SuspendInstancesRe"
+          + "gionInstanceGroupManagerRequest\032\".google"
+          + ".cloud.compute.v1.Operation\"\270\002\332Agproject"
+          + ",region,instance_group_manager,region_in"
+          + "stance_group_managers_suspend_instances_"
+          + "request_resource\212N\020RegionOperations\202\323\344\223\002"
+          + "\264\001\"o/compute/v1/projects/{project}/regio"
+          + "ns/{region}/instanceGroupManagers/{insta"
+          + "nce_group_manager}/suspendInstances:Areg"
+          + "ion_instance_group_managers_suspend_inst"
+          + "ances_request_resource\022\325\003\n\030UpdatePerInst"
+          + "anceConfigs\022R.google.cloud.compute.v1.Up"
+          + "datePerInstanceConfigsRegionInstanceGrou"
+          + "pManagerRequest\032\".google.cloud.compute.v"
+          + "1.Operation\"\300\002\332Agproject,region,instance"
+          + "_group_manager,region_instance_group_man"
+          + "ager_update_instance_config_req_resource"
+          + "\212N\020RegionOperations\202\323\344\223\002\274\001\"w/compute/v1/"
+          + "projects/{project}/regions/{region}/inst"
+          + "anceGroupManagers/{instance_group_manage"
+          + "r}/updatePerInstanceConfigs:Aregion_inst"
+          + "ance_group_manager_update_instance_confi"
+          + "g_req_resource\032r\312A\026compute.googleapis.co"
+          + "m\322AVhttps://www.googleapis.com/auth/comp"
+          + "ute,https://www.googleapis.com/auth/clou"
+          + "d-platform2\236\r\n\024RegionInstanceGroups\022\336\001\n\003"
+          + "Get\0226.google.cloud.compute.v1.GetRegionI"
+          + "nstanceGroupRequest\032&.google.cloud.compu"
+          + "te.v1.InstanceGroup\"w\332A\035project,region,i"
+          + "nstance_group\202\323\344\223\002Q\022O/compute/v1/project"
+          + "s/{project}/regions/{region}/instanceGro"
+          + "ups/{instance_group}\022\313\001\n\004List\0228.google.c"
+          + "loud.compute.v1.ListRegionInstanceGroups"
+          + "Request\0320.google.cloud.compute.v1.Region"
+          + "InstanceGroupList\"W\332A\016project,region\202\323\344\223"
+          + "\002@\022>/compute/v1/projects/{project}/regio"
+          + "ns/{region}/instanceGroups\022\206\003\n\rListInsta"
+          + "nces\022A.google.cloud.compute.v1.ListInsta"
+          + "ncesRegionInstanceGroupsRequest\032:.google"
+          + ".cloud.compute.v1.RegionInstanceGroupsLi"
+          + "stInstances\"\365\001\332ATproject,region,instance"
+          + "_group,region_instance_groups_list_insta"
+          + "nces_request_resource\202\323\344\223\002\227\001\"]/compute/v"
+          + "1/projects/{project}/regions/{region}/in"
+          + "stanceGroups/{instance_group}/listInstan"
+          + "ces:6region_instance_groups_list_instanc"
+          + "es_request_resource\022\202\003\n\rSetNamedPorts\022@."
+          + "google.cloud.compute.v1.SetNamedPortsReg"
+          + "ionInstanceGroupRequest\032\".google.cloud.c"
+          + "ompute.v1.Operation\"\212\002\332AUproject,region,"
+          + "instance_group,region_instance_groups_se"
+          + "t_named_ports_request_resource\212N\020RegionO"
+          + "perations\202\323\344\223\002\230\001\"]/compute/v1/projects/{"
+          + "project}/regions/{region}/instanceGroups"
+          + "/{instance_group}/setNamedPorts:7region_"
+          + "instance_groups_set_named_ports_request_"
+          + "resource\022\324\002\n\022TestIamPermissions\022E.google"
+          + ".cloud.compute.v1.TestIamPermissionsRegi"
+          + "onInstanceGroupRequest\0320.google.cloud.co"
+          + "mpute.v1.TestPermissionsResponse\"\304\001\332A9pr"
+          + "oject,region,resource,test_permissions_r"
+          + "equest_resource\202\323\344\223\002\201\001\"\\/compute/v1/proj"
+          + "ects/{project}/regions/{region}/instance"
+          + "Groups/{resource}/testIamPermissions:!te"
+          + "st_permissions_request_resource\032r\312A\026comp"
+          + "ute.googleapis.com\322AVhttps://www.googlea"
+          + "pis.com/auth/compute,https://www.googlea"
+          + "pis.com/auth/cloud-platform2\346\010\n\027RegionIn"
+          + "stanceTemplates\022\200\002\n\006Delete\022<.google.clou"
+          + "d.compute.v1.DeleteRegionInstanceTemplat"
+          + "eRequest\032\".google.cloud.compute.v1.Opera"
+          + "tion\"\223\001\332A project,region,instance_templa"
+          + "te\212N\020RegionOperations\202\323\344\223\002W*U/compute/v1"
+          + "/projects/{project}/regions/{region}/ins"
+          + "tanceTemplates/{instance_template}\022\356\001\n\003G"
+          + "et\0229.google.cloud.compute.v1.GetRegionIn"
+          + "stanceTemplateRequest\032).google.cloud.com"
+          + "pute.v1.InstanceTemplate\"\200\001\332A project,re"
+          + "gion,instance_template\202\323\344\223\002W\022U/compute/v"
+          + "1/projects/{project}/regions/{region}/in"
+          + "stanceTemplates/{instance_template}\022\221\002\n\006"
+          + "Insert\022<.google.cloud.compute.v1.InsertR"
+          + "egionInstanceTemplateRequest\032\".google.cl"
+          + "oud.compute.v1.Operation\"\244\001\332A)project,re"
+          + "gion,instance_template_resource\212N\020Region"
+          + "Operations\202\323\344\223\002_\"A/compute/v1/projects/{"
+          + "project}/regions/{region}/instanceTempla"
+          + "tes:\032instance_template_resource\022\316\001\n\004List"
+          + "\022;.google.cloud.compute.v1.ListRegionIns"
+          + "tanceTemplatesRequest\032-.google.cloud.com"
+          + "pute.v1.InstanceTemplateList\"Z\332A\016project"
+          + ",region\202\323\344\223\002C\022A/compute/v1/projects/{pro"
+          + "ject}/regions/{region}/instanceTemplates"
+          + "\032r\312A\026compute.googleapis.com\322AVhttps://ww"
+          + "w.googleapis.com/auth/compute,https://ww"
+          + "w.googleapis.com/auth/cloud-platform2\264\003\n"
+          + "\017RegionInstances\022\254\002\n\nBulkInsert\0228.google"
+          + ".cloud.compute.v1.BulkInsertRegionInstan"
+          + "ceRequest\032\".google.cloud.compute.v1.Oper"
+          + "ation\"\277\001\332A5project,region,bulk_insert_in"
+          + "stance_resource_resource\212N\020RegionOperati"
+          + "ons\202\323\344\223\002n\"D/compute/v1/projects/{project"
+          + "}/regions/{region}/instances/bulkInsert:"
+          + "&bulk_insert_instance_resource_resource\032"
+          + "r\312A\026compute.googleapis.com\322AVhttps://www"
+          + ".googleapis.com/auth/compute,https://www"
+          + ".googleapis.com/auth/cloud-platform2\325\020\n\033"
+          + "RegionInstantSnapshotGroups\022\222\002\n\006Delete\022@"
+          + ".google.cloud.compute.v1.DeleteRegionIns"
+          + "tantSnapshotGroupRequest\032\".google.cloud."
+          + "compute.v1.Operation\"\241\001\332A%project,region"
+          + ",instant_snapshot_group\212N\020RegionOperatio"
+          + "ns\202\323\344\223\002`*^/compute/v1/projects/{project}"
+          + "/regions/{region}/instantSnapshotGroups/"
+          + "{instant_snapshot_group}\022\204\002\n\003Get\022=.googl"
+          + "e.cloud.compute.v1.GetRegionInstantSnaps"
+          + "hotGroupRequest\032-.google.cloud.compute.v"
+          + "1.InstantSnapshotGroup\"\216\001\332A%project,regi"
+          + "on,instant_snapshot_group\202\323\344\223\002`\022^/comput"
           + "e/v1/projects/{project}/regions/{region}"
-          + "/instantSnapshots\022\266\002\n\014SetIamPolicy\022A.goo"
-          + "gle.cloud.compute.v1.SetIamPolicyRegionI"
-          + "nstantSnapshotRequest\032\037.google.cloud.com"
-          + "pute.v1.Policy\"\301\001\332A:project,region,resou"
-          + "rce,region_set_policy_request_resource\202\323"
-          + "\344\223\002~\"X/compute/v1/projects/{project}/reg"
-          + "ions/{region}/instantSnapshots/{resource"
-          + "}/setIamPolicy:\"region_set_policy_reques"
-          + "t_resource\022\303\002\n\tSetLabels\022>.google.cloud."
-          + "compute.v1.SetLabelsRegionInstantSnapsho"
-          + "tRequest\032\".google.cloud.compute.v1.Opera"
-          + "tion\"\321\001\332A:project,region,resource,region"
-          + "_set_labels_request_resource\212N\020RegionOpe"
-          + "rations\202\323\344\223\002{\"U/compute/v1/projects/{pro"
-          + "ject}/regions/{region}/instantSnapshots/"
-          + "{resource}/setLabels:\"region_set_labels_"
-          + "request_resource\022\330\002\n\022TestIamPermissions\022"
-          + "G.google.cloud.compute.v1.TestIamPermiss"
-          + "ionsRegionInstantSnapshotRequest\0320.googl"
-          + "e.cloud.compute.v1.TestPermissionsRespon"
-          + "se\"\306\001\332A9project,region,resource,test_per"
-          + "missions_request_resource\202\323\344\223\002\203\001\"^/compu"
-          + "te/v1/projects/{project}/regions/{region"
-          + "}/instantSnapshots/{resource}/testIamPer"
-          + "missions:!test_permissions_request_resou"
-          + "rce\032r\312A\026compute.googleapis.com\322AVhttps:/"
-          + "/www.googleapis.com/auth/compute,https:/"
-          + "/www.googleapis.com/auth/cloud-platform2"
-          + "\244\023\n\033RegionNetworkEndpointGroups\022\315\003\n\026Atta"
-          + "chNetworkEndpoints\022P.google.cloud.comput"
-          + "e.v1.AttachNetworkEndpointsRegionNetwork"
-          + "EndpointGroupRequest\032\".google.cloud.comp"
-          + "ute.v1.Operation\"\274\002\332Afproject,region,net"
-          + "work_endpoint_group,region_network_endpo"
-          + "int_groups_attach_endpoints_request_reso"
-          + "urce\212N\020RegionOperations\202\323\344\223\002\271\001\"u/compute"
-          + "/v1/projects/{project}/regions/{region}/"
-          + "networkEndpointGroups/{network_endpoint_"
-          + "group}/attachNetworkEndpoints:@region_ne"
-          + "twork_endpoint_groups_attach_endpoints_r"
-          + "equest_resource\022\222\002\n\006Delete\022@.google.clou"
-          + "d.compute.v1.DeleteRegionNetworkEndpoint"
-          + "GroupRequest\032\".google.cloud.compute.v1.O"
-          + "peration\"\241\001\332A%project,region,network_end"
-          + "point_group\212N\020RegionOperations\202\323\344\223\002`*^/c"
-          + "ompute/v1/projects/{project}/regions/{re"
-          + "gion}/networkEndpointGroups/{network_end"
-          + "point_group}\022\315\003\n\026DetachNetworkEndpoints\022"
-          + "P.google.cloud.compute.v1.DetachNetworkE"
-          + "ndpointsRegionNetworkEndpointGroupReques"
-          + "t\032\".google.cloud.compute.v1.Operation\"\274\002"
-          + "\332Afproject,region,network_endpoint_group"
-          + ",region_network_endpoint_groups_detach_e"
-          + "ndpoints_request_resource\212N\020RegionOperat"
-          + "ions\202\323\344\223\002\271\001\"u/compute/v1/projects/{proje"
-          + "ct}/regions/{region}/networkEndpointGrou"
-          + "ps/{network_endpoint_group}/detachNetwor"
-          + "kEndpoints:@region_network_endpoint_grou"
-          + "ps_detach_endpoints_request_resource\022\204\002\n"
-          + "\003Get\022=.google.cloud.compute.v1.GetRegion"
-          + "NetworkEndpointGroupRequest\032-.google.clo"
-          + "ud.compute.v1.NetworkEndpointGroup\"\216\001\332A%"
-          + "project,region,network_endpoint_group\202\323\344"
-          + "\223\002`\022^/compute/v1/projects/{project}/regi"
-          + "ons/{region}/networkEndpointGroups/{netw"
-          + "ork_endpoint_group}\022\243\002\n\006Insert\022@.google."
-          + "cloud.compute.v1.InsertRegionNetworkEndp"
-          + "ointGroupRequest\032\".google.cloud.compute."
-          + "v1.Operation\"\262\001\332A.project,region,network"
-          + "_endpoint_group_resource\212N\020RegionOperati"
-          + "ons\202\323\344\223\002h\"E/compute/v1/projects/{project"
-          + "}/regions/{region}/networkEndpointGroups"
-          + ":\037network_endpoint_group_resource\022\332\001\n\004Li"
-          + "st\022?.google.cloud.compute.v1.ListRegionN"
-          + "etworkEndpointGroupsRequest\0321.google.clo"
-          + "ud.compute.v1.NetworkEndpointGroupList\"^"
+          + "/instantSnapshotGroups/{instant_snapshot"
+          + "_group}\022\370\001\n\014GetIamPolicy\022F.google.cloud."
+          + "compute.v1.GetIamPolicyRegionInstantSnap"
+          + "shotGroupRequest\032\037.google.cloud.compute."
+          + "v1.Policy\"\177\332A\027project,region,resource\202\323\344"
+          + "\223\002_\022]/compute/v1/projects/{project}/regi"
+          + "ons/{region}/instantSnapshotGroups/{reso"
+          + "urce}/getIamPolicy\022\243\002\n\006Insert\022@.google.c"
+          + "loud.compute.v1.InsertRegionInstantSnaps"
+          + "hotGroupRequest\032\".google.cloud.compute.v"
+          + "1.Operation\"\262\001\332A.project,region,instant_"
+          + "snapshot_group_resource\212N\020RegionOperatio"
+          + "ns\202\323\344\223\002h\"E/compute/v1/projects/{project}"
+          + "/regions/{region}/instantSnapshotGroups:"
+          + "\037instant_snapshot_group_resource\022\333\001\n\004Lis"
+          + "t\022?.google.cloud.compute.v1.ListRegionIn"
+          + "stantSnapshotGroupsRequest\0322.google.clou"
+          + "d.compute.v1.ListInstantSnapshotGroups\"^"
           + "\332A\016project,region\202\323\344\223\002G\022E/compute/v1/pro"
-          + "jects/{project}/regions/{region}/network"
-          + "EndpointGroups\022\321\002\n\024ListNetworkEndpoints\022"
-          + "O.google.cloud.compute.v1.ListNetworkEnd"
-          + "pointsRegionNetworkEndpointGroupsRequest"
-          + "\032B.google.cloud.compute.v1.NetworkEndpoi"
-          + "ntGroupsListNetworkEndpoints\"\243\001\332A%projec"
-          + "t,region,network_endpoint_group\202\323\344\223\002u\"s/"
-          + "compute/v1/projects/{project}/regions/{r"
-          + "egion}/networkEndpointGroups/{network_en"
-          + "dpoint_group}/listNetworkEndpoints\032r\312A\026c"
-          + "ompute.googleapis.com\322AVhttps://www.goog"
-          + "leapis.com/auth/compute,https://www.goog"
-          + "leapis.com/auth/cloud-platform2\362\'\n\035Regio"
-          + "nNetworkFirewallPolicies\022\353\002\n\016AddAssociat"
-          + "ion\022I.google.cloud.compute.v1.AddAssocia"
-          + "tionRegionNetworkFirewallPolicyRequest\032\""
-          + ".google.cloud.compute.v1.Operation\"\351\001\332AC"
-          + "project,region,firewall_policy,firewall_"
-          + "policy_association_resource\212N\020RegionOper"
-          + "ations\202\323\344\223\002\211\001\"a/compute/v1/projects/{pro"
-          + "ject}/regions/{region}/firewallPolicies/"
-          + "{firewall_policy}/addAssociation:$firewa"
-          + "ll_policy_association_resource\022\307\002\n\007AddRu"
-          + "le\022B.google.cloud.compute.v1.AddRuleRegi"
-          + "onNetworkFirewallPolicyRequest\032\".google."
-          + "cloud.compute.v1.Operation\"\323\001\332A.google.cloud"
-          + ".compute.v1.GetRegionNetworkFirewallPoli"
-          + "cyRequest\032\'.google.cloud.compute.v1.Fire"
-          + "wallPolicy\"{\332A\036project,region,firewall_p"
-          + "olicy\202\323\344\223\002T\022R/compute/v1/projects/{proje"
-          + "ct}/regions/{region}/firewallPolicies/{f"
-          + "irewall_policy}\022\234\002\n\016GetAssociation\022I.goo"
-          + "gle.cloud.compute.v1.GetAssociationRegio"
-          + "nNetworkFirewallPolicyRequest\0322.google.c"
-          + "loud.compute.v1.FirewallPolicyAssociatio"
-          + "n\"\212\001\332A\036project,region,firewall_policy\202\323\344"
-          + "\223\002c\022a/compute/v1/projects/{project}/regi"
-          + "ons/{region}/firewallPolicies/{firewall_"
-          + "policy}/getAssociation\022\267\002\n\025GetEffectiveF"
-          + "irewalls\022P.google.cloud.compute.v1.GetEf"
-          + "fectiveFirewallsRegionNetworkFirewallPol"
-          + "icyRequest\032S.google.cloud.compute.v1.Reg"
-          + "ionNetworkFirewallPoliciesGetEffectiveFi"
-          + "rewallsResponse\"w\332A\026project,region,netwo"
-          + "rk\202\323\344\223\002X\022V/compute/v1/projects/{project}"
-          + "/regions/{region}/firewallPolicies/getEf"
-          + "fectiveFirewalls\022\364\001\n\014GetIamPolicy\022G.goog"
-          + "le.cloud.compute.v1.GetIamPolicyRegionNe"
-          + "tworkFirewallPolicyRequest\032\037.google.clou"
-          + "d.compute.v1.Policy\"z\332A\027project,region,r"
-          + "esource\202\323\344\223\002Z\022X/compute/v1/projects/{pro"
-          + "ject}/regions/{region}/firewallPolicies/"
-          + "{resource}/getIamPolicy\022\200\002\n\007GetRule\022B.go"
-          + "ogle.cloud.compute.v1.GetRuleRegionNetwo"
-          + "rkFirewallPolicyRequest\032+.google.cloud.c"
-          + "ompute.v1.FirewallPolicyRule\"\203\001\332A\036projec"
-          + "t,region,firewall_policy\202\323\344\223\002\\\022Z/compute"
-          + "/v1/projects/{project}/regions/{region}/"
-          + "firewallPolicies/{firewall_policy}/getRu"
-          + "le\022\221\002\n\006Insert\022A.google.cloud.compute.v1."
-          + "InsertRegionNetworkFirewallPolicyRequest"
-          + "\032\".google.cloud.compute.v1.Operation\"\237\001\332"
-          + "A\'project,region,firewall_policy_resourc"
-          + "e\212N\020RegionOperations\202\323\344\223\002\\\"@/compute/v1/"
-          + "projects/{project}/regions/{region}/fire"
-          + "wallPolicies:\030firewall_policy_resource\022\321"
-          + "\001\n\004List\022A.google.cloud.compute.v1.ListRe"
-          + "gionNetworkFirewallPoliciesRequest\032+.goo"
-          + "gle.cloud.compute.v1.FirewallPolicyList\""
-          + "Y\332A\016project,region\202\323\344\223\002B\022@/compute/v1/pr"
-          + "ojects/{project}/regions/{region}/firewa"
-          + "llPolicies\022\261\002\n\005Patch\022@.google.cloud.comp"
-          + "ute.v1.PatchRegionNetworkFirewallPolicyR"
-          + "equest\032\".google.cloud.compute.v1.Operati"
-          + "on\"\301\001\332A7project,region,firewall_policy,f"
-          + "irewall_policy_resource\212N\020RegionOperatio"
-          + "ns\202\323\344\223\002n2R/compute/v1/projects/{project}"
-          + "/regions/{region}/firewallPolicies/{fire"
-          + "wall_policy}:\030firewall_policy_resource\022\315"
-          + "\002\n\tPatchRule\022D.google.cloud.compute.v1.P"
-          + "atchRuleRegionNetworkFirewallPolicyReque"
-          + "st\032\".google.cloud.compute.v1.Operation\"\325"
-          + "\001\332A.google.cloud"
-          + ".compute.v1.RemoveRuleRegionSecurityPoli"
-          + "cyRequest\032\".google.cloud.compute.v1.Oper"
-          + "ation\"\231\001\332A\036project,region,security_polic"
-          + "y\212N\020RegionOperations\202\323\344\223\002_\"]/compute/v1/"
-          + "projects/{project}/regions/{region}/secu"
-          + "rityPolicies/{security_policy}/removeRul"
-          + "e\022\302\002\n\tSetLabels\022=.google.cloud.compute.v"
-          + "1.SetLabelsRegionSecurityPolicyRequest\032\""
+          + "on}/instantSnapshots/{resource}/setIamPo"
+          + "licy:\"region_set_policy_request_resource"
+          + "\022\303\002\n\tSetLabels\022>.google.cloud.compute.v1"
+          + ".SetLabelsRegionInstantSnapshotRequest\032\""
           + ".google.cloud.compute.v1.Operation\"\321\001\332A:"
           + "project,region,resource,region_set_label"
           + "s_request_resource\212N\020RegionOperations\202\323\344"
           + "\223\002{\"U/compute/v1/projects/{project}/regi"
-          + "ons/{region}/securityPolicies/{resource}"
+          + "ons/{region}/instantSnapshots/{resource}"
           + "/setLabels:\"region_set_labels_request_re"
-          + "source\032r\312A\026compute.googleapis.com\322AVhttp"
-          + "s://www.googleapis.com/auth/compute,http"
-          + "s://www.googleapis.com/auth/cloud-platfo"
-          + "rm2\344\004\n\026RegionSnapshotSettings\022\305\001\n\003Get\0228."
-          + "google.cloud.compute.v1.GetRegionSnapsho"
-          + "tSettingRequest\032).google.cloud.compute.v"
-          + "1.SnapshotSettings\"Y\332A\016project,region\202\323\344"
-          + "\223\002B\022@/compute/v1/projects/{project}/regi"
-          + "ons/{region}/snapshotSettings\022\215\002\n\005Patch\022"
-          + ":.google.cloud.compute.v1.PatchRegionSna"
-          + "pshotSettingRequest\032\".google.cloud.compu"
-          + "te.v1.Operation\"\243\001\332A)project,region,snap"
-          + "shot_settings_resource\212N\020RegionOperation"
-          + "s\202\323\344\223\002^2@/compute/v1/projects/{project}/"
-          + "regions/{region}/snapshotSettings:\032snaps"
-          + "hot_settings_resource\032r\312A\026compute.google"
-          + "apis.com\322AVhttps://www.googleapis.com/au"
-          + "th/compute,https://www.googleapis.com/au"
-          + "th/cloud-platform2\304\023\n\017RegionSnapshots\022\335\001"
-          + "\n\006Delete\0224.google.cloud.compute.v1.Delet"
-          + "eRegionSnapshotRequest\032\".google.cloud.co"
-          + "mpute.v1.Operation\"y\332A\027project,region,sn"
-          + "apshot\212N\020RegionOperations\202\323\344\223\002F*D/comput"
-          + "e/v1/projects/{project}/regions/{region}"
-          + "/snapshots/{snapshot}\022\303\001\n\003Get\0221.google.c"
-          + "loud.compute.v1.GetRegionSnapshotRequest"
-          + "\032!.google.cloud.compute.v1.Snapshot\"f\332A\027"
-          + "project,region,snapshot\202\323\344\223\002F\022D/compute/"
-          + "v1/projects/{project}/regions/{region}/s"
-          + "napshots/{snapshot}\022\340\001\n\014GetIamPolicy\022:.g"
-          + "oogle.cloud.compute.v1.GetIamPolicyRegio"
-          + "nSnapshotRequest\032\037.google.cloud.compute."
-          + "v1.Policy\"s\332A\027project,region,resource\202\323\344"
-          + "\223\002S\022Q/compute/v1/projects/{project}/regi"
-          + "ons/{region}/snapshots/{resource}/getIam"
-          + "Policy\022\357\001\n\006Insert\0224.google.cloud.compute"
-          + ".v1.InsertRegionSnapshotRequest\032\".google"
-          + ".cloud.compute.v1.Operation\"\212\001\332A project"
-          + ",region,snapshot_resource\212N\020RegionOperat"
-          + "ions\202\323\344\223\002N\"9/compute/v1/projects/{projec"
-          + "t}/regions/{region}/snapshots:\021snapshot_"
-          + "resource\022\266\001\n\004List\0223.google.cloud.compute"
-          + ".v1.ListRegionSnapshotsRequest\032%.google."
-          + "cloud.compute.v1.SnapshotList\"R\332A\016projec"
-          + "t,region\202\323\344\223\002;\0229/compute/v1/projects/{pr"
-          + "oject}/regions/{region}/snapshots\022\250\002\n\014Se"
-          + "tIamPolicy\022:.google.cloud.compute.v1.Set"
-          + "IamPolicyRegionSnapshotRequest\032\037.google."
-          + "cloud.compute.v1.Policy\"\272\001\332A:project,reg"
-          + "ion,resource,region_set_policy_request_r"
-          + "esource\202\323\344\223\002w\"Q/compute/v1/projects/{pro"
-          + "ject}/regions/{region}/snapshots/{resour"
-          + "ce}/setIamPolicy:\"region_set_policy_requ"
-          + "est_resource\022\265\002\n\tSetLabels\0227.google.clou"
-          + "d.compute.v1.SetLabelsRegionSnapshotRequ"
-          + "est\032\".google.cloud.compute.v1.Operation\""
-          + "\312\001\332A:project,region,resource,region_set_"
-          + "labels_request_resource\212N\020RegionOperatio"
-          + "ns\202\323\344\223\002t\"N/compute/v1/projects/{project}"
-          + "/regions/{region}/snapshots/{resource}/s"
-          + "etLabels:\"region_set_labels_request_reso"
-          + "urce\022\311\002\n\022TestIamPermissions\022@.google.clo"
-          + "ud.compute.v1.TestIamPermissionsRegionSn"
-          + "apshotRequest\0320.google.cloud.compute.v1."
-          + "TestPermissionsResponse\"\276\001\332A9project,reg"
-          + "ion,resource,test_permissions_request_re"
-          + "source\202\323\344\223\002|\"W/compute/v1/projects/{proj"
-          + "ect}/regions/{region}/snapshots/{resourc"
-          + "e}/testIamPermissions:!test_permissions_"
-          + "request_resource\022\331\002\n\014UpdateKmsKey\022:.goog"
-          + "le.cloud.compute.v1.UpdateKmsKeyRegionSn"
-          + "apshotRequest\032\".google.cloud.compute.v1."
-          + "Operation\"\350\001\332AGproject,region,snapshot,r"
-          + "egion_snapshot_update_kms_key_request_re"
-          + "source\212N\020RegionOperations\202\323\344\223\002\204\001\"Q/compu"
-          + "te/v1/projects/{project}/regions/{region"
-          + "}/snapshots/{snapshot}/updateKmsKey:/reg"
-          + "ion_snapshot_update_kms_key_request_reso"
-          + "urce\032r\312A\026compute.googleapis.com\322AVhttps:"
-          + "//www.googleapis.com/auth/compute,https:"
-          + "//www.googleapis.com/auth/cloud-platform"
-          + "2\303\010\n\025RegionSslCertificates\022\370\001\n\006Delete\022:."
-          + "google.cloud.compute.v1.DeleteRegionSslC"
-          + "ertificateRequest\032\".google.cloud.compute"
-          + ".v1.Operation\"\215\001\332A\036project,region,ssl_ce"
-          + "rtificate\212N\020RegionOperations\202\323\344\223\002S*Q/com"
-          + "pute/v1/projects/{project}/regions/{regi"
-          + "on}/sslCertificates/{ssl_certificate}\022\343\001"
-          + "\n\003Get\0227.google.cloud.compute.v1.GetRegio"
-          + "nSslCertificateRequest\032\'.google.cloud.co"
-          + "mpute.v1.SslCertificate\"z\332A\036project,regi"
-          + "on,ssl_certificate\202\323\344\223\002S\022Q/compute/v1/pr"
-          + "ojects/{project}/regions/{region}/sslCer"
-          + "tificates/{ssl_certificate}\022\211\002\n\006Insert\022:"
-          + ".google.cloud.compute.v1.InsertRegionSsl"
-          + "CertificateRequest\032\".google.cloud.comput"
-          + "e.v1.Operation\"\236\001\332A\'project,region,ssl_c"
-          + "ertificate_resource\212N\020RegionOperations\202\323"
-          + "\344\223\002[\"?/compute/v1/projects/{project}/reg"
-          + "ions/{region}/sslCertificates:\030ssl_certi"
-          + "ficate_resource\022\310\001\n\004List\0229.google.cloud."
-          + "compute.v1.ListRegionSslCertificatesRequ"
-          + "est\032+.google.cloud.compute.v1.SslCertifi"
-          + "cateList\"X\332A\016project,region\202\323\344\223\002A\022?/comp"
+          + "source\022\330\002\n\022TestIamPermissions\022G.google.c"
+          + "loud.compute.v1.TestIamPermissionsRegion"
+          + "InstantSnapshotRequest\0320.google.cloud.co"
+          + "mpute.v1.TestPermissionsResponse\"\306\001\332A9pr"
+          + "oject,region,resource,test_permissions_r"
+          + "equest_resource\202\323\344\223\002\203\001\"^/compute/v1/proj"
+          + "ects/{project}/regions/{region}/instantS"
+          + "napshots/{resource}/testIamPermissions:!"
+          + "test_permissions_request_resource\032r\312A\026co"
+          + "mpute.googleapis.com\322AVhttps://www.googl"
+          + "eapis.com/auth/compute,https://www.googl"
+          + "eapis.com/auth/cloud-platform2\244\023\n\033Region"
+          + "NetworkEndpointGroups\022\315\003\n\026AttachNetworkE"
+          + "ndpoints\022P.google.cloud.compute.v1.Attac"
+          + "hNetworkEndpointsRegionNetworkEndpointGr"
+          + "oupRequest\032\".google.cloud.compute.v1.Ope"
+          + "ration\"\274\002\332Afproject,region,network_endpo"
+          + "int_group,region_network_endpoint_groups"
+          + "_attach_endpoints_request_resource\212N\020Reg"
+          + "ionOperations\202\323\344\223\002\271\001\"u/compute/v1/projec"
+          + "ts/{project}/regions/{region}/networkEnd"
+          + "pointGroups/{network_endpoint_group}/att"
+          + "achNetworkEndpoints:@region_network_endp"
+          + "oint_groups_attach_endpoints_request_res"
+          + "ource\022\222\002\n\006Delete\022@.google.cloud.compute."
+          + "v1.DeleteRegionNetworkEndpointGroupReque"
+          + "st\032\".google.cloud.compute.v1.Operation\"\241"
+          + "\001\332A%project,region,network_endpoint_grou"
+          + "p\212N\020RegionOperations\202\323\344\223\002`*^/compute/v1/"
+          + "projects/{project}/regions/{region}/netw"
+          + "orkEndpointGroups/{network_endpoint_grou"
+          + "p}\022\315\003\n\026DetachNetworkEndpoints\022P.google.c"
+          + "loud.compute.v1.DetachNetworkEndpointsRe"
+          + "gionNetworkEndpointGroupRequest\032\".google"
+          + ".cloud.compute.v1.Operation\"\274\002\332Afproject"
+          + ",region,network_endpoint_group,region_ne"
+          + "twork_endpoint_groups_detach_endpoints_r"
+          + "equest_resource\212N\020RegionOperations\202\323\344\223\002\271"
+          + "\001\"u/compute/v1/projects/{project}/region"
+          + "s/{region}/networkEndpointGroups/{networ"
+          + "k_endpoint_group}/detachNetworkEndpoints"
+          + ":@region_network_endpoint_groups_detach_"
+          + "endpoints_request_resource\022\204\002\n\003Get\022=.goo"
+          + "gle.cloud.compute.v1.GetRegionNetworkEnd"
+          + "pointGroupRequest\032-.google.cloud.compute"
+          + ".v1.NetworkEndpointGroup\"\216\001\332A%project,re"
+          + "gion,network_endpoint_group\202\323\344\223\002`\022^/comp"
           + "ute/v1/projects/{project}/regions/{regio"
-          + "n}/sslCertificates\032r\312A\026compute.googleapi"
-          + "s.com\322AVhttps://www.googleapis.com/auth/"
-          + "compute,https://www.googleapis.com/auth/"
-          + "cloud-platform2\225\014\n\021RegionSslPolicies\022\344\001\n"
-          + "\006Delete\0225.google.cloud.compute.v1.Delete"
-          + "RegionSslPolicyRequest\032\".google.cloud.co"
-          + "mpute.v1.Operation\"\177\332A\031project,region,ss"
-          + "l_policy\212N\020RegionOperations\202\323\344\223\002J*H/comp"
+          + "n}/networkEndpointGroups/{network_endpoi"
+          + "nt_group}\022\243\002\n\006Insert\022@.google.cloud.comp"
+          + "ute.v1.InsertRegionNetworkEndpointGroupR"
+          + "equest\032\".google.cloud.compute.v1.Operati"
+          + "on\"\262\001\332A.project,region,network_endpoint_"
+          + "group_resource\212N\020RegionOperations\202\323\344\223\002h\""
+          + "E/compute/v1/projects/{project}/regions/"
+          + "{region}/networkEndpointGroups:\037network_"
+          + "endpoint_group_resource\022\332\001\n\004List\022?.googl"
+          + "e.cloud.compute.v1.ListRegionNetworkEndp"
+          + "ointGroupsRequest\0321.google.cloud.compute"
+          + ".v1.NetworkEndpointGroupList\"^\332A\016project"
+          + ",region\202\323\344\223\002G\022E/compute/v1/projects/{pro"
+          + "ject}/regions/{region}/networkEndpointGr"
+          + "oups\022\321\002\n\024ListNetworkEndpoints\022O.google.c"
+          + "loud.compute.v1.ListNetworkEndpointsRegi"
+          + "onNetworkEndpointGroupsRequest\032B.google."
+          + "cloud.compute.v1.NetworkEndpointGroupsLi"
+          + "stNetworkEndpoints\"\243\001\332A%project,region,n"
+          + "etwork_endpoint_group\202\323\344\223\002u\"s/compute/v1"
+          + "/projects/{project}/regions/{region}/net"
+          + "workEndpointGroups/{network_endpoint_gro"
+          + "up}/listNetworkEndpoints\032r\312A\026compute.goo"
+          + "gleapis.com\322AVhttps://www.googleapis.com"
+          + "/auth/compute,https://www.googleapis.com"
+          + "/auth/cloud-platform2\362\'\n\035RegionNetworkFi"
+          + "rewallPolicies\022\353\002\n\016AddAssociation\022I.goog"
+          + "le.cloud.compute.v1.AddAssociationRegion"
+          + "NetworkFirewallPolicyRequest\032\".google.cl"
+          + "oud.compute.v1.Operation\"\351\001\332ACproject,re"
+          + "gion,firewall_policy,firewall_policy_ass"
+          + "ociation_resource\212N\020RegionOperations\202\323\344\223"
+          + "\002\211\001\"a/compute/v1/projects/{project}/regi"
+          + "ons/{region}/firewallPolicies/{firewall_"
+          + "policy}/addAssociation:$firewall_policy_"
+          + "association_resource\022\307\002\n\007AddRule\022B.googl"
+          + "e.cloud.compute.v1.AddRuleRegionNetworkF"
+          + "irewallPolicyRequest\032\".google.cloud.comp"
+          + "ute.v1.Operation\"\323\001\332A.google.cloud.compute.v"
+          + "1.GetRegionNetworkFirewallPolicyRequest\032"
+          + "\'.google.cloud.compute.v1.FirewallPolicy"
+          + "\"{\332A\036project,region,firewall_policy\202\323\344\223\002"
+          + "T\022R/compute/v1/projects/{project}/region"
+          + "s/{region}/firewallPolicies/{firewall_po"
+          + "licy}\022\234\002\n\016GetAssociation\022I.google.cloud."
+          + "compute.v1.GetAssociationRegionNetworkFi"
+          + "rewallPolicyRequest\0322.google.cloud.compu"
+          + "te.v1.FirewallPolicyAssociation\"\212\001\332A\036pro"
+          + "ject,region,firewall_policy\202\323\344\223\002c\022a/comp"
           + "ute/v1/projects/{project}/regions/{regio"
-          + "n}/sslPolicies/{ssl_policy}\022\313\001\n\003Get\0222.go"
-          + "ogle.cloud.compute.v1.GetRegionSslPolicy"
-          + "Request\032\".google.cloud.compute.v1.SslPol"
-          + "icy\"l\332A\031project,region,ssl_policy\202\323\344\223\002J\022"
-          + "H/compute/v1/projects/{project}/regions/"
-          + "{region}/sslPolicies/{ssl_policy}\022\366\001\n\006In"
-          + "sert\0225.google.cloud.compute.v1.InsertReg"
-          + "ionSslPolicyRequest\032\".google.cloud.compu"
-          + "te.v1.Operation\"\220\001\332A\"project,region,ssl_"
-          + "policy_resource\212N\020RegionOperations\202\323\344\223\002R"
-          + "\";/compute/v1/projects/{project}/regions"
-          + "/{region}/sslPolicies:\023ssl_policy_resour"
-          + "ce\022\275\001\n\004List\0225.google.cloud.compute.v1.Li"
-          + "stRegionSslPoliciesRequest\032(.google.clou"
-          + "d.compute.v1.SslPoliciesList\"T\332A\016project"
-          + ",region\202\323\344\223\002=\022;/compute/v1/projects/{pro"
-          + "ject}/regions/{region}/sslPolicies\022\216\002\n\025L"
-          + "istAvailableFeatures\022F.google.cloud.comp"
-          + "ute.v1.ListAvailableFeaturesRegionSslPol"
-          + "iciesRequest\032A.google.cloud.compute.v1.S"
-          + "slPoliciesListAvailableFeaturesResponse\""
-          + "j\332A\016project,region\202\323\344\223\002S\022Q/compute/v1/pr"
-          + "ojects/{project}/regions/{region}/sslPol"
-          + "icies/listAvailableFeatures\022\214\002\n\005Patch\0224."
-          + "google.cloud.compute.v1.PatchRegionSslPo"
-          + "licyRequest\032\".google.cloud.compute.v1.Op"
-          + "eration\"\250\001\332A-project,region,ssl_policy,s"
-          + "sl_policy_resource\212N\020RegionOperations\202\323\344"
-          + "\223\002_2H/compute/v1/projects/{project}/regi"
-          + "ons/{region}/sslPolicies/{ssl_policy}:\023s"
-          + "sl_policy_resource\032r\312A\026compute.googleapi"
-          + "s.com\322AVhttps://www.googleapis.com/auth/"
-          + "compute,https://www.googleapis.com/auth/"
-          + "cloud-platform2\252\013\n\027RegionTargetHttpProxi"
-          + "es\022\377\001\n\006Delete\022;.google.cloud.compute.v1."
-          + "DeleteRegionTargetHttpProxyRequest\032\".goo"
-          + "gle.cloud.compute.v1.Operation\"\223\001\332A proj"
-          + "ect,region,target_http_proxy\212N\020RegionOpe"
-          + "rations\202\323\344\223\002W*U/compute/v1/projects/{pro"
-          + "ject}/regions/{region}/targetHttpProxies"
-          + "/{target_http_proxy}\022\354\001\n\003Get\0228.google.cl"
-          + "oud.compute.v1.GetRegionTargetHttpProxyR"
-          + "equest\032(.google.cloud.compute.v1.TargetH"
-          + "ttpProxy\"\200\001\332A project,region,target_http"
-          + "_proxy\202\323\344\223\002W\022U/compute/v1/projects/{proj"
-          + "ect}/regions/{region}/targetHttpProxies/"
-          + "{target_http_proxy}\022\220\002\n\006Insert\022;.google."
-          + "cloud.compute.v1.InsertRegionTargetHttpP"
-          + "roxyRequest\032\".google.cloud.compute.v1.Op"
-          + "eration\"\244\001\332A)project,region,target_http_"
-          + "proxy_resource\212N\020RegionOperations\202\323\344\223\002_\""
-          + "A/compute/v1/projects/{project}/regions/"
-          + "{region}/targetHttpProxies:\032target_http_"
-          + "proxy_resource\022\315\001\n\004List\022;.google.cloud.c"
-          + "ompute.v1.ListRegionTargetHttpProxiesReq"
-          + "uest\032,.google.cloud.compute.v1.TargetHtt"
-          + "pProxyList\"Z\332A\016project,region\202\323\344\223\002C\022A/co"
+          + "n}/firewallPolicies/{firewall_policy}/ge"
+          + "tAssociation\022\267\002\n\025GetEffectiveFirewalls\022P"
+          + ".google.cloud.compute.v1.GetEffectiveFir"
+          + "ewallsRegionNetworkFirewallPolicyRequest"
+          + "\032S.google.cloud.compute.v1.RegionNetwork"
+          + "FirewallPoliciesGetEffectiveFirewallsRes"
+          + "ponse\"w\332A\026project,region,network\202\323\344\223\002X\022V"
+          + "/compute/v1/projects/{project}/regions/{"
+          + "region}/firewallPolicies/getEffectiveFir"
+          + "ewalls\022\364\001\n\014GetIamPolicy\022G.google.cloud.c"
+          + "ompute.v1.GetIamPolicyRegionNetworkFirew"
+          + "allPolicyRequest\032\037.google.cloud.compute."
+          + "v1.Policy\"z\332A\027project,region,resource\202\323\344"
+          + "\223\002Z\022X/compute/v1/projects/{project}/regi"
+          + "ons/{region}/firewallPolicies/{resource}"
+          + "/getIamPolicy\022\200\002\n\007GetRule\022B.google.cloud"
+          + ".compute.v1.GetRuleRegionNetworkFirewall"
+          + "PolicyRequest\032+.google.cloud.compute.v1."
+          + "FirewallPolicyRule\"\203\001\332A\036project,region,f"
+          + "irewall_policy\202\323\344\223\002\\\022Z/compute/v1/projec"
+          + "ts/{project}/regions/{region}/firewallPo"
+          + "licies/{firewall_policy}/getRule\022\221\002\n\006Ins",
+      "ert\022A.google.cloud.compute.v1.InsertRegi"
+          + "onNetworkFirewallPolicyRequest\032\".google."
+          + "cloud.compute.v1.Operation\"\237\001\332A\'project,"
+          + "region,firewall_policy_resource\212N\020Region"
+          + "Operations\202\323\344\223\002\\\"@/compute/v1/projects/{"
+          + "project}/regions/{region}/firewallPolici"
+          + "es:\030firewall_policy_resource\022\321\001\n\004List\022A."
+          + "google.cloud.compute.v1.ListRegionNetwor"
+          + "kFirewallPoliciesRequest\032+.google.cloud."
+          + "compute.v1.FirewallPolicyList\"Y\332A\016projec"
+          + "t,region\202\323\344\223\002B\022@/compute/v1/projects/{pr"
+          + "oject}/regions/{region}/firewallPolicies"
+          + "\022\261\002\n\005Patch\022@.google.cloud.compute.v1.Pat"
+          + "chRegionNetworkFirewallPolicyRequest\032\".g"
+          + "oogle.cloud.compute.v1.Operation\"\301\001\332A7pr"
+          + "oject,region,firewall_policy,firewall_po"
+          + "licy_resource\212N\020RegionOperations\202\323\344\223\002n2R"
+          + "/compute/v1/projects/{project}/regions/{"
+          + "region}/firewallPolicies/{firewall_polic"
+          + "y}:\030firewall_policy_resource\022\315\002\n\tPatchRu"
+          + "le\022D.google.cloud.compute.v1.PatchRuleRe"
+          + "gionNetworkFirewallPolicyRequest\032\".googl"
+          + "e.cloud.compute.v1.Operation\"\325\001\332A.g"
-          + "oogle.cloud.compute.v1.SetUrlMapRegionTa"
-          + "rgetHttpProxyRequest\032\".google.cloud.comp"
-          + "ute.v1.Operation\"\324\001\332A;project,region,tar"
-          + "get_http_proxy,url_map_reference_resourc"
-          + "e\212N\020RegionOperations\202\323\344\223\002}\"_/compute/v1/"
-          + "projects/{project}/regions/{region}/targ"
-          + "etHttpProxies/{target_http_proxy}/setUrl"
-          + "Map:\032url_map_reference_resource\032r\312A\026comp"
-          + "ute.googleapis.com\322AVhttps://www.googlea"
-          + "pis.com/auth/compute,https://www.googlea"
-          + "pis.com/auth/cloud-platform2\263\021\n\030RegionTa"
-          + "rgetHttpsProxies\022\203\002\n\006Delete\022<.google.clo"
-          + "ud.compute.v1.DeleteRegionTargetHttpsPro"
-          + "xyRequest\032\".google.cloud.compute.v1.Oper"
-          + "ation\"\226\001\332A!project,region,target_https_p"
-          + "roxy\212N\020RegionOperations\202\323\344\223\002Y*W/compute/"
-          + "v1/projects/{project}/regions/{region}/t"
-          + "argetHttpsProxies/{target_https_proxy}\022\361"
-          + "\001\n\003Get\0229.google.cloud.compute.v1.GetRegi"
-          + "onTargetHttpsProxyRequest\032).google.cloud"
-          + ".compute.v1.TargetHttpsProxy\"\203\001\332A!projec"
-          + "t,region,target_https_proxy\202\323\344\223\002Y\022W/comp"
+          + "ion}/securityPolicies/{security_policy}/"
+          + "patchRule:\035security_policy_rule_resource"
+          + "\022\214\002\n\nRemoveRule\022>.google.cloud.compute.v"
+          + "1.RemoveRuleRegionSecurityPolicyRequest\032"
+          + "\".google.cloud.compute.v1.Operation\"\231\001\332A"
+          + "\036project,region,security_policy\212N\020Region"
+          + "Operations\202\323\344\223\002_\"]/compute/v1/projects/{"
+          + "project}/regions/{region}/securityPolici"
+          + "es/{security_policy}/removeRule\022\302\002\n\tSetL"
+          + "abels\022=.google.cloud.compute.v1.SetLabel"
+          + "sRegionSecurityPolicyRequest\032\".google.cl"
+          + "oud.compute.v1.Operation\"\321\001\332A:project,re"
+          + "gion,resource,region_set_labels_request_"
+          + "resource\212N\020RegionOperations\202\323\344\223\002{\"U/comp"
           + "ute/v1/projects/{project}/regions/{regio"
-          + "n}/targetHttpsProxies/{target_https_prox"
-          + "y}\022\224\002\n\006Insert\022<.google.cloud.compute.v1."
-          + "InsertRegionTargetHttpsProxyRequest\032\".go"
-          + "ogle.cloud.compute.v1.Operation\"\247\001\332A*pro"
-          + "ject,region,target_https_proxy_resource\212"
-          + "N\020RegionOperations\202\323\344\223\002a\"B/compute/v1/pr"
-          + "ojects/{project}/regions/{region}/target"
-          + "HttpsProxies:\033target_https_proxy_resourc"
-          + "e\022\320\001\n\004List\022<.google.cloud.compute.v1.Lis"
-          + "tRegionTargetHttpsProxiesRequest\032-.googl"
-          + "e.cloud.compute.v1.TargetHttpsProxyList\""
-          + "[\332A\016project,region\202\323\344\223\002D\022B/compute/v1/pr"
-          + "ojects/{project}/regions/{region}/target"
-          + "HttpsProxies\022\272\002\n\005Patch\022;.google.cloud.co"
-          + "mpute.v1.PatchRegionTargetHttpsProxyRequ"
-          + "est\032\".google.cloud.compute.v1.Operation\""
-          + "\317\001\332A=project,region,target_https_proxy,t"
-          + "arget_https_proxy_resource\212N\020RegionOpera"
-          + "tions\202\323\344\223\002v2W/compute/v1/projects/{proje"
-          + "ct}/regions/{region}/targetHttpsProxies/"
-          + "{target_https_proxy}:\033target_https_proxy"
-          + "_resource\022\264\003\n\022SetSslCertificates\022H.googl"
-          + "e.cloud.compute.v1.SetSslCertificatesReg"
-          + "ionTargetHttpsProxyRequest\032\".google.clou"
-          + "d.compute.v1.Operation\"\257\002\332Acproject,regi"
-          + "on,target_https_proxy,region_target_http"
-          + "s_proxies_set_ssl_certificates_request_r"
-          + "esource\212N\020RegionOperations\202\323\344\223\002\257\001\"j/comp"
+          + "n}/securityPolicies/{resource}/setLabels"
+          + ":\"region_set_labels_request_resource\032r\312A"
+          + "\026compute.googleapis.com\322AVhttps://www.go"
+          + "ogleapis.com/auth/compute,https://www.go"
+          + "ogleapis.com/auth/cloud-platform2\344\004\n\026Reg"
+          + "ionSnapshotSettings\022\305\001\n\003Get\0228.google.clo"
+          + "ud.compute.v1.GetRegionSnapshotSettingRe"
+          + "quest\032).google.cloud.compute.v1.Snapshot"
+          + "Settings\"Y\332A\016project,region\202\323\344\223\002B\022@/comp"
+          + "ute/v1/projects/{project}/regions/{regio"
+          + "n}/snapshotSettings\022\215\002\n\005Patch\022:.google.c"
+          + "loud.compute.v1.PatchRegionSnapshotSetti"
+          + "ngRequest\032\".google.cloud.compute.v1.Oper"
+          + "ation\"\243\001\332A)project,region,snapshot_setti"
+          + "ngs_resource\212N\020RegionOperations\202\323\344\223\002^2@/"
+          + "compute/v1/projects/{project}/regions/{r"
+          + "egion}/snapshotSettings:\032snapshot_settin"
+          + "gs_resource\032r\312A\026compute.googleapis.com\322A"
+          + "Vhttps://www.googleapis.com/auth/compute"
+          + ",https://www.googleapis.com/auth/cloud-p"
+          + "latform2\304\023\n\017RegionSnapshots\022\335\001\n\006Delete\0224"
+          + ".google.cloud.compute.v1.DeleteRegionSna"
+          + "pshotRequest\032\".google.cloud.compute.v1.O"
+          + "peration\"y\332A\027project,region,snapshot\212N\020R"
+          + "egionOperations\202\323\344\223\002F*D/compute/v1/proje"
+          + "cts/{project}/regions/{region}/snapshots"
+          + "/{snapshot}\022\303\001\n\003Get\0221.google.cloud.compu"
+          + "te.v1.GetRegionSnapshotRequest\032!.google."
+          + "cloud.compute.v1.Snapshot\"f\332A\027project,re"
+          + "gion,snapshot\202\323\344\223\002F\022D/compute/v1/project"
+          + "s/{project}/regions/{region}/snapshots/{"
+          + "snapshot}\022\340\001\n\014GetIamPolicy\022:.google.clou"
+          + "d.compute.v1.GetIamPolicyRegionSnapshotR"
+          + "equest\032\037.google.cloud.compute.v1.Policy\""
+          + "s\332A\027project,region,resource\202\323\344\223\002S\022Q/comp"
           + "ute/v1/projects/{project}/regions/{regio"
-          + "n}/targetHttpsProxies/{target_https_prox"
-          + "y}/setSslCertificates:Aregion_target_htt"
-          + "ps_proxies_set_ssl_certificates_request_"
-          + "resource\022\312\002\n\tSetUrlMap\022?.google.cloud.co"
-          + "mpute.v1.SetUrlMapRegionTargetHttpsProxy"
+          + "n}/snapshots/{resource}/getIamPolicy\022\357\001\n"
+          + "\006Insert\0224.google.cloud.compute.v1.Insert"
+          + "RegionSnapshotRequest\032\".google.cloud.com"
+          + "pute.v1.Operation\"\212\001\332A project,region,sn"
+          + "apshot_resource\212N\020RegionOperations\202\323\344\223\002N"
+          + "\"9/compute/v1/projects/{project}/regions"
+          + "/{region}/snapshots:\021snapshot_resource\022\266"
+          + "\001\n\004List\0223.google.cloud.compute.v1.ListRe"
+          + "gionSnapshotsRequest\032%.google.cloud.comp"
+          + "ute.v1.SnapshotList\"R\332A\016project,region\202\323"
+          + "\344\223\002;\0229/compute/v1/projects/{project}/reg"
+          + "ions/{region}/snapshots\022\250\002\n\014SetIamPolicy"
+          + "\022:.google.cloud.compute.v1.SetIamPolicyR"
+          + "egionSnapshotRequest\032\037.google.cloud.comp"
+          + "ute.v1.Policy\"\272\001\332A:project,region,resour"
+          + "ce,region_set_policy_request_resource\202\323\344"
+          + "\223\002w\"Q/compute/v1/projects/{project}/regi"
+          + "ons/{region}/snapshots/{resource}/setIam"
+          + "Policy:\"region_set_policy_request_resour"
+          + "ce\022\265\002\n\tSetLabels\0227.google.cloud.compute."
+          + "v1.SetLabelsRegionSnapshotRequest\032\".goog"
+          + "le.cloud.compute.v1.Operation\"\312\001\332A:proje"
+          + "ct,region,resource,region_set_labels_req"
+          + "uest_resource\212N\020RegionOperations\202\323\344\223\002t\"N"
+          + "/compute/v1/projects/{project}/regions/{"
+          + "region}/snapshots/{resource}/setLabels:\""
+          + "region_set_labels_request_resource\022\311\002\n\022T"
+          + "estIamPermissions\022@.google.cloud.compute"
+          + ".v1.TestIamPermissionsRegionSnapshotRequ"
+          + "est\0320.google.cloud.compute.v1.TestPermis"
+          + "sionsResponse\"\276\001\332A9project,region,resour"
+          + "ce,test_permissions_request_resource\202\323\344\223"
+          + "\002|\"W/compute/v1/projects/{project}/regio"
+          + "ns/{region}/snapshots/{resource}/testIam"
+          + "Permissions:!test_permissions_request_re"
+          + "source\022\331\002\n\014UpdateKmsKey\022:.google.cloud.c"
+          + "ompute.v1.UpdateKmsKeyRegionSnapshotRequ"
+          + "est\032\".google.cloud.compute.v1.Operation\""
+          + "\350\001\332AGproject,region,snapshot,region_snap"
+          + "shot_update_kms_key_request_resource\212N\020R"
+          + "egionOperations\202\323\344\223\002\204\001\"Q/compute/v1/proj"
+          + "ects/{project}/regions/{region}/snapshot"
+          + "s/{snapshot}/updateKmsKey:/region_snapsh"
+          + "ot_update_kms_key_request_resource\032r\312A\026c"
+          + "ompute.googleapis.com\322AVhttps://www.goog"
+          + "leapis.com/auth/compute,https://www.goog"
+          + "leapis.com/auth/cloud-platform2\303\010\n\025Regio"
+          + "nSslCertificates\022\370\001\n\006Delete\022:.google.clo"
+          + "ud.compute.v1.DeleteRegionSslCertificate"
           + "Request\032\".google.cloud.compute.v1.Operat"
-          + "ion\"\327\001\332A.google.clou"
+          + "d.compute.v1.SetUrlMapRegionTargetHttpPr"
+          + "oxyRequest\032\".google.cloud.compute.v1.Ope"
+          + "ration\"\324\001\332A;project,region,target_http_p"
+          + "roxy,url_map_reference_resource\212N\020Region"
+          + "Operations\202\323\344\223\002}\"_/compute/v1/projects/{"
+          + "project}/regions/{region}/targetHttpProx"
+          + "ies/{target_http_proxy}/setUrlMap:\032url_m"
           + "ap_reference_resource\032r\312A\026compute.google"
           + "apis.com\322AVhttps://www.googleapis.com/au"
           + "th/compute,https://www.googleapis.com/au"
-          + "th/cloud-platform2\317\010\n\026RegionTargetTcpPro"
-          + "xies\022\373\001\n\006Delete\022:.google.cloud.compute.v"
-          + "1.DeleteRegionTargetTcpProxyRequest\032\".go"
-          + "ogle.cloud.compute.v1.Operation\"\220\001\332A\037pro"
-          + "ject,region,target_tcp_proxy\212N\020RegionOpe"
-          + "rations\202\323\344\223\002U*S/compute/v1/projects/{pro"
-          + "ject}/regions/{region}/targetTcpProxies/"
-          + "{target_tcp_proxy}\022\346\001\n\003Get\0227.google.clou"
-          + "d.compute.v1.GetRegionTargetTcpProxyRequ"
-          + "est\032\'.google.cloud.compute.v1.TargetTcpP"
-          + "roxy\"}\332A\037project,region,target_tcp_proxy"
-          + "\202\323\344\223\002U\022S/compute/v1/projects/{project}/r"
-          + "egions/{region}/targetTcpProxies/{target"
-          + "_tcp_proxy}\022\214\002\n\006Insert\022:.google.cloud.co"
-          + "mpute.v1.InsertRegionTargetTcpProxyReque"
-          + "st\032\".google.cloud.compute.v1.Operation\"\241"
-          + "\001\332A(project,region,target_tcp_proxy_reso",
-      "urce\212N\020RegionOperations\202\323\344\223\002]\"@/compute/"
-          + "v1/projects/{project}/regions/{region}/t"
-          + "argetTcpProxies:\031target_tcp_proxy_resour"
-          + "ce\022\312\001\n\004List\022:.google.cloud.compute.v1.Li"
-          + "stRegionTargetTcpProxiesRequest\032+.google"
-          + ".cloud.compute.v1.TargetTcpProxyList\"Y\332A"
-          + "\016project,region\202\323\344\223\002B\022@/compute/v1/proje"
-          + "cts/{project}/regions/{region}/targetTcp"
-          + "Proxies\032r\312A\026compute.googleapis.com\322AVhtt"
-          + "ps://www.googleapis.com/auth/compute,htt"
-          + "ps://www.googleapis.com/auth/cloud-platf"
-          + "orm2\354\r\n\rRegionUrlMaps\022\327\001\n\006Delete\0222.googl"
-          + "e.cloud.compute.v1.DeleteRegionUrlMapReq"
-          + "uest\032\".google.cloud.compute.v1.Operation"
-          + "\"u\332A\026project,region,url_map\212N\020RegionOper"
-          + "ations\202\323\344\223\002C*A/compute/v1/projects/{proj"
-          + "ect}/regions/{region}/urlMaps/{url_map}\022"
-          + "\273\001\n\003Get\022/.google.cloud.compute.v1.GetReg"
-          + "ionUrlMapRequest\032\037.google.cloud.compute."
-          + "v1.UrlMap\"b\332A\026project,region,url_map\202\323\344\223"
-          + "\002C\022A/compute/v1/projects/{project}/regio"
-          + "ns/{region}/urlMaps/{url_map}\022\351\001\n\006Insert"
-          + "\0222.google.cloud.compute.v1.InsertRegionU"
-          + "rlMapRequest\032\".google.cloud.compute.v1.O"
-          + "peration\"\206\001\332A\037project,region,url_map_res"
-          + "ource\212N\020RegionOperations\202\323\344\223\002K\"7/compute"
-          + "/v1/projects/{project}/regions/{region}/"
-          + "urlMaps:\020url_map_resource\022\260\001\n\004List\0221.goo"
-          + "gle.cloud.compute.v1.ListRegionUrlMapsRe"
-          + "quest\032#.google.cloud.compute.v1.UrlMapLi"
-          + "st\"P\332A\016project,region\202\323\344\223\0029\0227/compute/v1"
-          + "/projects/{project}/regions/{region}/url"
-          + "Maps\022\371\001\n\005Patch\0221.google.cloud.compute.v1"
-          + ".PatchRegionUrlMapRequest\032\".google.cloud"
-          + ".compute.v1.Operation\"\230\001\332A\'project,regio"
-          + "n,url_map,url_map_resource\212N\020RegionOpera"
-          + "tions\202\323\344\223\002U2A/compute/v1/projects/{proje"
-          + "ct}/regions/{region}/urlMaps/{url_map}:\020"
-          + "url_map_resource\022\373\001\n\006Update\0222.google.clo"
-          + "ud.compute.v1.UpdateRegionUrlMapRequest\032"
-          + "\".google.cloud.compute.v1.Operation\"\230\001\332A"
-          + "\'project,region,url_map,url_map_resource"
-          + "\212N\020RegionOperations\202\323\344\223\002U\032A/compute/v1/p"
-          + "rojects/{project}/regions/{region}/urlMa"
-          + "ps/{url_map}:\020url_map_resource\022\265\002\n\010Valid"
-          + "ate\0224.google.cloud.compute.v1.ValidateRe"
-          + "gionUrlMapRequest\0320.google.cloud.compute"
-          + ".v1.UrlMapsValidateResponse\"\300\001\332A@project"
-          + ",region,url_map,region_url_maps_validate"
-          + "_request_resource\202\323\344\223\002w\"J/compute/v1/pro"
-          + "jects/{project}/regions/{region}/urlMaps"
-          + "/{url_map}/validate:)region_url_maps_val"
-          + "idate_request_resource\032r\312A\026compute.googl"
-          + "eapis.com\322AVhttps://www.googleapis.com/a"
-          + "uth/compute,https://www.googleapis.com/a"
-          + "uth/cloud-platform2\341\002\n\013RegionZones\022\252\001\n\004L"
-          + "ist\022/.google.cloud.compute.v1.ListRegion"
-          + "ZonesRequest\032!.google.cloud.compute.v1.Z"
-          + "oneList\"N\332A\016project,region\202\323\344\223\0027\0225/compu"
+          + "th/cloud-platform2\263\021\n\030RegionTargetHttpsP"
+          + "roxies\022\203\002\n\006Delete\022<.google.cloud.compute"
+          + ".v1.DeleteRegionTargetHttpsProxyRequest\032"
+          + "\".google.cloud.compute.v1.Operation\"\226\001\332A"
+          + "!project,region,target_https_proxy\212N\020Reg"
+          + "ionOperations\202\323\344\223\002Y*W/compute/v1/project"
+          + "s/{project}/regions/{region}/targetHttps"
+          + "Proxies/{target_https_proxy}\022\361\001\n\003Get\0229.g"
+          + "oogle.cloud.compute.v1.GetRegionTargetHt"
+          + "tpsProxyRequest\032).google.cloud.compute.v"
+          + "1.TargetHttpsProxy\"\203\001\332A!project,region,t"
+          + "arget_https_proxy\202\323\344\223\002Y\022W/compute/v1/pro"
+          + "jects/{project}/regions/{region}/targetH"
+          + "ttpsProxies/{target_https_proxy}\022\224\002\n\006Ins"
+          + "ert\022<.google.cloud.compute.v1.InsertRegi"
+          + "onTargetHttpsProxyRequest\032\".google.cloud",
+      ".compute.v1.Operation\"\247\001\332A*project,regio"
+          + "n,target_https_proxy_resource\212N\020RegionOp"
+          + "erations\202\323\344\223\002a\"B/compute/v1/projects/{pr"
+          + "oject}/regions/{region}/targetHttpsProxi"
+          + "es:\033target_https_proxy_resource\022\320\001\n\004List"
+          + "\022<.google.cloud.compute.v1.ListRegionTar"
+          + "getHttpsProxiesRequest\032-.google.cloud.co"
+          + "mpute.v1.TargetHttpsProxyList\"[\332A\016projec"
+          + "t,region\202\323\344\223\002D\022B/compute/v1/projects/{pr"
+          + "oject}/regions/{region}/targetHttpsProxi"
+          + "es\022\272\002\n\005Patch\022;.google.cloud.compute.v1.P"
+          + "atchRegionTargetHttpsProxyRequest\032\".goog"
+          + "le.cloud.compute.v1.Operation\"\317\001\332A=proje"
+          + "ct,region,target_https_proxy,target_http"
+          + "s_proxy_resource\212N\020RegionOperations\202\323\344\223\002"
+          + "v2W/compute/v1/projects/{project}/region"
+          + "s/{region}/targetHttpsProxies/{target_ht"
+          + "tps_proxy}:\033target_https_proxy_resource\022"
+          + "\264\003\n\022SetSslCertificates\022H.google.cloud.co"
+          + "mpute.v1.SetSslCertificatesRegionTargetH"
+          + "ttpsProxyRequest\032\".google.cloud.compute."
+          + "v1.Operation\"\257\002\332Acproject,region,target_"
+          + "https_proxy,region_target_https_proxies_"
+          + "set_ssl_certificates_request_resource\212N\020"
+          + "RegionOperations\202\323\344\223\002\257\001\"j/compute/v1/pro"
+          + "jects/{project}/regions/{region}/targetH"
+          + "ttpsProxies/{target_https_proxy}/setSslC"
+          + "ertificates:Aregion_target_https_proxies"
+          + "_set_ssl_certificates_request_resource\022\312"
+          + "\002\n\tSetUrlMap\022?.google.cloud.compute.v1.S"
+          + "etUrlMapRegionTargetHttpsProxyRequest\032\"."
+          + "google.cloud.compute.v1.Operation\"\327\001\332A.google.cl"
-          + "oud.compute.v1.AggregatedListResourcePol"
-          + "iciesRequest\0325.google.cloud.compute.v1.R"
-          + "esourcePolicyAggregatedList\"L\332A\007project\202"
-          + "\323\344\223\002<\022:/compute/v1/projects/{project}/ag"
-          + "gregated/resourcePolicies\022\363\001\n\006Delete\0224.g"
-          + "oogle.cloud.compute.v1.DeleteResourcePol"
-          + "icyRequest\032\".google.cloud.compute.v1.Ope"
-          + "ration\"\216\001\332A\036project,region,resource_poli"
-          + "cy\212N\020RegionOperations\202\323\344\223\002T*R/compute/v1"
-          + "/projects/{project}/regions/{region}/res"
-          + "ourcePolicies/{resource_policy}\022\336\001\n\003Get\022"
-          + "1.google.cloud.compute.v1.GetResourcePol"
-          + "icyRequest\032\'.google.cloud.compute.v1.Res"
-          + "ourcePolicy\"{\332A\036project,region,resource_"
-          + "policy\202\323\344\223\002T\022R/compute/v1/projects/{proj"
-          + "ect}/regions/{region}/resourcePolicies/{"
-          + "resource_policy}\022\347\001\n\014GetIamPolicy\022:.goog"
-          + "le.cloud.compute.v1.GetIamPolicyResource"
-          + "PolicyRequest\032\037.google.cloud.compute.v1."
-          + "Policy\"z\332A\027project,region,resource\202\323\344\223\002Z"
-          + "\022X/compute/v1/projects/{project}/regions"
-          + "/{region}/resourcePolicies/{resource}/ge"
-          + "tIamPolicy\022\204\002\n\006Insert\0224.google.cloud.com"
-          + "pute.v1.InsertResourcePolicyRequest\032\".go"
-          + "ogle.cloud.compute.v1.Operation\"\237\001\332A\'pro"
-          + "ject,region,resource_policy_resource\212N\020R"
-          + "egionOperations\202\323\344\223\002\\\"@/compute/v1/proje"
-          + "cts/{project}/regions/{region}/resourceP"
-          + "olicies:\030resource_policy_resource\022\304\001\n\004Li"
-          + "st\0224.google.cloud.compute.v1.ListResourc"
-          + "ePoliciesRequest\032+.google.cloud.compute."
-          + "v1.ResourcePolicyList\"Y\332A\016project,region"
-          + "\202\323\344\223\002B\022@/compute/v1/projects/{project}/r"
-          + "egions/{region}/resourcePolicies\022\244\002\n\005Pat"
-          + "ch\0223.google.cloud.compute.v1.PatchResour"
-          + "cePolicyRequest\032\".google.cloud.compute.v"
-          + "1.Operation\"\301\001\332A7project,region,resource"
-          + "_policy,resource_policy_resource\212N\020Regio"
-          + "nOperations\202\323\344\223\002n2R/compute/v1/projects/"
-          + "{project}/regions/{region}/resourcePolic"
-          + "ies/{resource_policy}:\030resource_policy_r"
-          + "esource\022\257\002\n\014SetIamPolicy\022:.google.cloud."
-          + "compute.v1.SetIamPolicyResourcePolicyReq"
-          + "uest\032\037.google.cloud.compute.v1.Policy\"\301\001"
-          + "\332A:project,region,resource,region_set_po"
-          + "licy_request_resource\202\323\344\223\002~\"X/compute/v1"
-          + "/projects/{project}/regions/{region}/res"
-          + "ourcePolicies/{resource}/setIamPolicy:\"r"
-          + "egion_set_policy_request_resource\022\321\002\n\022Te"
-          + "stIamPermissions\022@.google.cloud.compute."
-          + "v1.TestIamPermissionsResourcePolicyReque"
-          + "st\0320.google.cloud.compute.v1.TestPermiss"
-          + "ionsResponse\"\306\001\332A9project,region,resourc"
-          + "e,test_permissions_request_resource\202\323\344\223\002"
-          + "\203\001\"^/compute/v1/projects/{project}/regio"
-          + "ns/{region}/resourcePolicies/{resource}/"
-          + "testIamPermissions:!test_permissions_req"
-          + "uest_resource\032r\312A\026compute.googleapis.com"
-          + "\322AVhttps://www.googleapis.com/auth/compu"
-          + "te,https://www.googleapis.com/auth/cloud"
-          + "-platform2\266\007\n\014RolloutPlans\022\324\001\n\006Delete\0221."
-          + "google.cloud.compute.v1.DeleteRolloutPla"
-          + "nRequest\032\".google.cloud.compute.v1.Opera",
-      "tion\"s\332A\024project,rollout_plan\212N\020GlobalOp"
-          + "erations\202\323\344\223\002C*A/compute/v1/projects/{pr"
-          + "oject}/global/rolloutPlans/{rollout_plan"
-          + "}\022\275\001\n\003Get\022..google.cloud.compute.v1.GetR"
-          + "olloutPlanRequest\032$.google.cloud.compute"
-          + ".v1.RolloutPlan\"`\332A\024project,rollout_plan"
-          + "\202\323\344\223\002C\022A/compute/v1/projects/{project}/g"
-          + "lobal/rolloutPlans/{rollout_plan}\022\346\001\n\006In"
-          + "sert\0221.google.cloud.compute.v1.InsertRol"
-          + "loutPlanRequest\032\".google.cloud.compute.v"
-          + "1.Operation\"\204\001\332A\035project,rollout_plan_re"
-          + "source\212N\020GlobalOperations\202\323\344\223\002K\"2/comput"
-          + "e/v1/projects/{project}/global/rolloutPl"
-          + "ans:\025rollout_plan_resource\022\261\001\n\004List\0220.go"
-          + "ogle.cloud.compute.v1.ListRolloutPlansRe"
-          + "quest\0321.google.cloud.compute.v1.RolloutP"
-          + "lansListResponse\"D\332A\007project\202\323\344\223\0024\0222/com"
-          + "pute/v1/projects/{project}/global/rollou"
-          + "tPlans\032r\312A\026compute.googleapis.com\322AVhttp"
-          + "s://www.googleapis.com/auth/compute,http"
-          + "s://www.googleapis.com/auth/cloud-platfo"
-          + "rm2\276\013\n\010Rollouts\022\314\001\n\007Advance\022..google.clo"
-          + "ud.compute.v1.AdvanceRolloutRequest\032\".go"
-          + "ogle.cloud.compute.v1.Operation\"m\332A\017proj"
-          + "ect,rollout\212N\020GlobalOperations\202\323\344\223\002B\"@/c"
-          + "ompute/v1/projects/{project}/global/roll"
-          + "outs/{rollout}/advance\022\302\001\n\006Cancel\022-.goog"
-          + "le.cloud.compute.v1.CancelRolloutRequest"
-          + "\032\".google.cloud.compute.v1.Operation\"e\332A"
-          + "\017project,rollout\212N\020GlobalOperations\202\323\344\223\002"
-          + ":28/compute/v1/projects/{project}/global"
-          + "/rollouts/{rollout}\022\302\001\n\006Delete\022-.google."
-          + "cloud.compute.v1.DeleteRolloutRequest\032\"."
-          + "google.cloud.compute.v1.Operation\"e\332A\017pr"
-          + "oject,rollout\212N\020GlobalOperations\202\323\344\223\002:*8"
-          + "/compute/v1/projects/{project}/global/ro"
-          + "llouts/{rollout}\022\247\001\n\003Get\022*.google.cloud."
-          + "compute.v1.GetRolloutRequest\032 .google.cl"
-          + "oud.compute.v1.Rollout\"R\332A\017project,rollo"
-          + "ut\202\323\344\223\002:\0228/compute/v1/projects/{project}"
-          + "/global/rollouts/{rollout}\022\245\001\n\004List\022,.go"
-          + "ogle.cloud.compute.v1.ListRolloutsReques"
-          + "t\032-.google.cloud.compute.v1.RolloutsList"
-          + "Response\"@\332A\007project\202\323\344\223\0020\022./compute/v1/"
-          + "projects/{project}/global/rollouts\022\306\001\n\005P"
-          + "ause\022,.google.cloud.compute.v1.PauseRoll"
-          + "outRequest\032\".google.cloud.compute.v1.Ope"
-          + "ration\"k\332A\017project,rollout\212N\020GlobalOpera"
-          + "tions\202\323\344\223\002@\">/compute/v1/projects/{proje"
-          + "ct}/global/rollouts/{rollout}/pause\022\311\001\n\006"
-          + "Resume\022-.google.cloud.compute.v1.ResumeR"
-          + "olloutRequest\032\".google.cloud.compute.v1."
-          + "Operation\"l\332A\017project,rollout\212N\020GlobalOp"
-          + "erations\202\323\344\223\002A\"?/compute/v1/projects/{pr"
-          + "oject}/global/rollouts/{rollout}/resume\032"
-          + "r\312A\026compute.googleapis.com\322AVhttps://www"
-          + ".googleapis.com/auth/compute,https://www"
-          + ".googleapis.com/auth/cloud-platform2\374)\n\007"
-          + "Routers\022\273\001\n\016AggregatedList\0225.google.clou"
-          + "d.compute.v1.AggregatedListRoutersReques"
-          + "t\032-.google.cloud.compute.v1.RouterAggreg"
-          + "atedList\"C\332A\007project\202\323\344\223\0023\0221/compute/v1/"
-          + "projects/{project}/aggregated/routers\022\317\001"
-          + "\n\006Delete\022,.google.cloud.compute.v1.Delet"
-          + "eRouterRequest\032\".google.cloud.compute.v1"
-          + ".Operation\"s\332A\025project,region,router\212N\020R"
-          + "egionOperations\202\323\344\223\002B*@/compute/v1/proje"
-          + "cts/{project}/regions/{region}/routers/{"
-          + "router}\022\357\001\n\016DeleteNamedSet\0224.google.clou"
-          + "d.compute.v1.DeleteNamedSetRouterRequest"
-          + "\032\".google.cloud.compute.v1.Operation\"\202\001\332"
-          + "A\025project,region,router\212N\020RegionOperatio"
-          + "ns\202\323\344\223\002Q\"O/compute/v1/projects/{project}"
-          + "/regions/{region}/routers/{router}/delet"
-          + "eNamedSet\022\370\001\n\021DeleteRoutePolicy\0227.google"
-          + ".cloud.compute.v1.DeleteRoutePolicyRoute"
-          + "rRequest\032\".google.cloud.compute.v1.Opera"
-          + "tion\"\205\001\332A\025project,region,router\212N\020Region"
-          + "Operations\202\323\344\223\002T\"R/compute/v1/projects/{"
-          + "project}/regions/{region}/routers/{route"
-          + "r}/deleteRoutePolicy\022\263\001\n\003Get\022).google.cl"
-          + "oud.compute.v1.GetRouterRequest\032\037.google"
-          + ".cloud.compute.v1.Router\"`\332A\025project,reg"
-          + "ion,router\202\323\344\223\002B\022@/compute/v1/projects/{"
-          + "project}/regions/{region}/routers/{route"
-          + "r}\022\343\001\n\013GetNamedSet\0221.google.cloud.comput"
-          + "e.v1.GetNamedSetRouterRequest\0323.google.c"
-          + "loud.compute.v1.RoutersGetNamedSetRespon"
-          + "se\"l\332A\025project,region,router\202\323\344\223\002N\022L/com"
+          + "SubBlocks/{resource}/setIamPolicy:\'zone_"
+          + "set_nested_policy_request_resource\022\232\003\n\022T"
+          + "estIamPermissions\022E.google.cloud.compute"
+          + ".v1.TestIamPermissionsReservationSubBloc"
+          + "kRequest\0320.google.cloud.compute.v1.TestP"
+          + "ermissionsResponse\"\212\002\332AGproject,zone,par"
+          + "ent_resource,resource,test_permissions_r"
+          + "equest_resource\202\323\344\223\002\271\001\"\223\001/compute/v1/pro"
+          + "jects/{project}/zones/{zone}/{parent_res"
+          + "ource=reservations/*/reservationBlocks/*"
+          + "}/reservationSubBlocks/{resource}/testIa"
+          + "mPermissions:!test_permissions_request_r"
+          + "esource\032r\312A\026compute.googleapis.com\322AVhtt"
+          + "ps://www.googleapis.com/auth/compute,htt"
+          + "ps://www.googleapis.com/auth/cloud-platf"
+          + "orm2\213\027\n\014Reservations\022\312\001\n\016AggregatedList\022"
+          + ":.google.cloud.compute.v1.AggregatedList"
+          + "ReservationsRequest\0322.google.cloud.compu"
+          + "te.v1.ReservationAggregatedList\"H\332A\007proj"
+          + "ect\202\323\344\223\0028\0226/compute/v1/projects/{project"
+          + "}/aggregated/reservations\022\333\001\n\006Delete\0221.g"
+          + "oogle.cloud.compute.v1.DeleteReservation"
+          + "Request\032\".google.cloud.compute.v1.Operat"
+          + "ion\"z\332A\030project,zone,reservation\212N\016ZoneO"
+          + "perations\202\323\344\223\002H*F/compute/v1/projects/{p"
+          + "roject}/zones/{zone}/reservations/{reser"
+          + "vation}\022\306\001\n\003Get\022..google.cloud.compute.v"
+          + "1.GetReservationRequest\032$.google.cloud.c"
+          + "ompute.v1.Reservation\"i\332A\030project,zone,r"
+          + "eservation\202\323\344\223\002H\022F/compute/v1/projects/{"
+          + "project}/zones/{zone}/reservations/{rese"
+          + "rvation}\022\332\001\n\014GetIamPolicy\0227.google.cloud"
+          + ".compute.v1.GetIamPolicyReservationReque"
+          + "st\032\037.google.cloud.compute.v1.Policy\"p\332A\025"
+          + "project,zone,resource\202\323\344\223\002R\022P/compute/v1"
+          + "/projects/{project}/zones/{zone}/reserva"
+          + "tions/{resource}/getIamPolicy\022\355\001\n\006Insert"
+          + "\0221.google.cloud.compute.v1.InsertReserva"
+          + "tionRequest\032\".google.cloud.compute.v1.Op"
+          + "eration\"\213\001\332A!project,zone,reservation_re"
+          + "source\212N\016ZoneOperations\202\323\344\223\002P\"8/compute/"
+          + "v1/projects/{project}/zones/{zone}/reser"
+          + "vations:\024reservation_resource\022\263\001\n\004List\0220"
+          + ".google.cloud.compute.v1.ListReservation"
+          + "sRequest\032(.google.cloud.compute.v1.Reser"
+          + "vationList\"O\332A\014project,zone\202\323\344\223\002:\0228/comp"
+          + "ute/v1/projects/{project}/zones/{zone}/r"
+          + "eservations\022\355\002\n\022PerformMaintenance\022=.goo"
+          + "gle.cloud.compute.v1.PerformMaintenanceR"
+          + "eservationRequest\032\".google.cloud.compute"
+          + ".v1.Operation\"\363\001\332AJproject,zone,reservat"
+          + "ion,reservations_perform_maintenance_req"
+          + "uest_resource\212N\016ZoneOperations\202\323\344\223\002\216\001\"Y/"
+          + "compute/v1/projects/{project}/zones/{zon"
+          + "e}/reservations/{reservation}/performMai"
+          + "ntenance:1reservations_perform_maintenan"
+          + "ce_request_resource\022\256\002\n\006Resize\0221.google."
+          + "cloud.compute.v1.ResizeReservationReques"
+          + "t\032\".google.cloud.compute.v1.Operation\"\314\001"
+          + "\332A=project,zone,reservation,reservations"
+          + "_resize_request_resource\212N\016ZoneOperation"
+          + "s\202\323\344\223\002u\"M/compute/v1/projects/{project}/"
+          + "zones/{zone}/reservations/{reservation}/"
+          + "resize:$reservations_resize_request_reso"
+          + "urce\022\236\002\n\014SetIamPolicy\0227.google.cloud.com"
+          + "pute.v1.SetIamPolicyReservationRequest\032\037"
+          + ".google.cloud.compute.v1.Policy\"\263\001\332A6pro"
+          + "ject,zone,resource,zone_set_policy_reque"
+          + "st_resource\202\323\344\223\002t\"P/compute/v1/projects/"
+          + "{project}/zones/{zone}/reservations/{res"
+          + "ource}/setIamPolicy: zone_set_policy_req"
+          + "uest_resource\022\303\002\n\022TestIamPermissions\022=.g"
+          + "oogle.cloud.compute.v1.TestIamPermission"
+          + "sReservationRequest\0320.google.cloud.compu"
+          + "te.v1.TestPermissionsResponse\"\273\001\332A7proje"
+          + "ct,zone,resource,test_permissions_reques"
+          + "t_resource\202\323\344\223\002{\"V/compute/v1/projects/{"
+          + "project}/zones/{zone}/reservations/{reso"
+          + "urce}/testIamPermissions:!test_permissio"
+          + "ns_request_resource\022\207\002\n\006Update\0221.google."
+          + "cloud.compute.v1.UpdateReservationReques"
+          + "t\032\".google.cloud.compute.v1.Operation\"\245\001"
+          + "\332A-project,zone,reservation,reservation_"
+          + "resource\212N\016ZoneOperations\202\323\344\223\002^2F/comput"
+          + "e/v1/projects/{project}/zones/{zone}/res"
+          + "ervations/{reservation}:\024reservation_res"
+          + "ource\032r\312A\026compute.googleapis.com\322AVhttps"
+          + "://www.googleapis.com/auth/compute,https",
+      "://www.googleapis.com/auth/cloud-platfor"
+          + "m2\232\023\n\020ResourcePolicies\022\325\001\n\016AggregatedLis"
+          + "t\022>.google.cloud.compute.v1.AggregatedLi"
+          + "stResourcePoliciesRequest\0325.google.cloud"
+          + ".compute.v1.ResourcePolicyAggregatedList"
+          + "\"L\332A\007project\202\323\344\223\002<\022:/compute/v1/projects"
+          + "/{project}/aggregated/resourcePolicies\022\363"
+          + "\001\n\006Delete\0224.google.cloud.compute.v1.Dele"
+          + "teResourcePolicyRequest\032\".google.cloud.c"
+          + "ompute.v1.Operation\"\216\001\332A\036project,region,"
+          + "resource_policy\212N\020RegionOperations\202\323\344\223\002T"
+          + "*R/compute/v1/projects/{project}/regions"
+          + "/{region}/resourcePolicies/{resource_pol"
+          + "icy}\022\336\001\n\003Get\0221.google.cloud.compute.v1.G"
+          + "etResourcePolicyRequest\032\'.google.cloud.c"
+          + "ompute.v1.ResourcePolicy\"{\332A\036project,reg"
+          + "ion,resource_policy\202\323\344\223\002T\022R/compute/v1/p"
+          + "rojects/{project}/regions/{region}/resou"
+          + "rcePolicies/{resource_policy}\022\347\001\n\014GetIam"
+          + "Policy\022:.google.cloud.compute.v1.GetIamP"
+          + "olicyResourcePolicyRequest\032\037.google.clou"
+          + "d.compute.v1.Policy\"z\332A\027project,region,r"
+          + "esource\202\323\344\223\002Z\022X/compute/v1/projects/{pro"
+          + "ject}/regions/{region}/resourcePolicies/"
+          + "{resource}/getIamPolicy\022\204\002\n\006Insert\0224.goo"
+          + "gle.cloud.compute.v1.InsertResourcePolic"
+          + "yRequest\032\".google.cloud.compute.v1.Opera"
+          + "tion\"\237\001\332A\'project,region,resource_policy"
+          + "_resource\212N\020RegionOperations\202\323\344\223\002\\\"@/com"
           + "pute/v1/projects/{project}/regions/{regi"
-          + "on}/routers/{router}/getNamedSet\022\335\001\n\014Get"
-          + "NatIpInfo\0222.google.cloud.compute.v1.GetN"
-          + "atIpInfoRouterRequest\032*.google.cloud.com"
-          + "pute.v1.NatIpInfoResponse\"m\332A\025project,re"
-          + "gion,router\202\323\344\223\002O\022M/compute/v1/projects/"
-          + "{project}/regions/{region}/routers/{rout"
-          + "er}/getNatIpInfo\022\365\001\n\021GetNatMappingInfo\0228"
-          + ".google.cloud.compute.v1.GetNatMappingIn"
-          + "foRoutersRequest\0322.google.cloud.compute."
-          + "v1.VmEndpointNatMappingsList\"r\332A\025project"
-          + ",region,router\202\323\344\223\002T\022R/compute/v1/projec"
-          + "ts/{project}/regions/{region}/routers/{r"
-          + "outer}/getNatMappingInfo\022\357\001\n\016GetRoutePol"
-          + "icy\0224.google.cloud.compute.v1.GetRoutePo"
-          + "licyRouterRequest\0326.google.cloud.compute"
-          + ".v1.RoutersGetRoutePolicyResponse\"o\332A\025pr"
-          + "oject,region,router\202\323\344\223\002Q\022O/compute/v1/p"
-          + "rojects/{project}/regions/{region}/route"
-          + "rs/{router}/getRoutePolicy\022\351\001\n\017GetRouter"
-          + "Status\0225.google.cloud.compute.v1.GetRout"
-          + "erStatusRouterRequest\032-.google.cloud.com"
-          + "pute.v1.RouterStatusResponse\"p\332A\025project"
-          + ",region,router\202\323\344\223\002R\022P/compute/v1/projec"
-          + "ts/{project}/regions/{region}/routers/{r"
-          + "outer}/getRouterStatus\022\341\001\n\006Insert\022,.goog"
-          + "le.cloud.compute.v1.InsertRouterRequest\032"
-          + "\".google.cloud.compute.v1.Operation\"\204\001\332A"
-          + "\036project,region,router_resource\212N\020Region"
-          + "Operations\202\323\344\223\002J\"7/compute/v1/projects/{"
-          + "project}/regions/{region}/routers:\017route"
-          + "r_resource\022\252\001\n\004List\022+.google.cloud.compu"
-          + "te.v1.ListRoutersRequest\032#.google.cloud."
-          + "compute.v1.RouterList\"P\332A\016project,region"
-          + "\202\323\344\223\0029\0227/compute/v1/projects/{project}/r"
-          + "egions/{region}/routers\022\344\001\n\rListBgpRoute"
-          + "s\0224.google.cloud.compute.v1.ListBgpRoute"
-          + "sRoutersRequest\032-.google.cloud.compute.v"
-          + "1.RoutersListBgpRoutes\"n\332A\025project,regio"
-          + "n,router\202\323\344\223\002P\022N/compute/v1/projects/{pr"
-          + "oject}/regions/{region}/routers/{router}"
-          + "/listBgpRoutes\022\344\001\n\rListNamedSets\0224.googl"
-          + "e.cloud.compute.v1.ListNamedSetsRoutersR"
-          + "equest\032-.google.cloud.compute.v1.Routers"
-          + "ListNamedSets\"n\332A\025project,region,router\202"
-          + "\323\344\223\002P\022N/compute/v1/projects/{project}/re"
-          + "gions/{region}/routers/{router}/listName"
-          + "dSets\022\364\001\n\021ListRoutePolicies\0228.google.clo"
-          + "ud.compute.v1.ListRoutePoliciesRoutersRe"
-          + "quest\0321.google.cloud.compute.v1.RoutersL"
-          + "istRoutePolicies\"r\332A\025project,region,rout"
-          + "er\202\323\344\223\002T\022R/compute/v1/projects/{project}"
-          + "/regions/{region}/routers/{router}/listR"
-          + "outePolicies\022\357\001\n\005Patch\022+.google.cloud.co"
-          + "mpute.v1.PatchRouterRequest\032\".google.clo"
-          + "ud.compute.v1.Operation\"\224\001\332A%project,reg"
-          + "ion,router,router_resource\212N\020RegionOpera"
-          + "tions\202\323\344\223\002S2@/compute/v1/projects/{proje"
-          + "ct}/regions/{region}/routers/{router}:\017r"
-          + "outer_resource\022\223\002\n\rPatchNamedSet\0223.googl"
-          + "e.cloud.compute.v1.PatchNamedSetRouterRe"
-          + "quest\032\".google.cloud.compute.v1.Operatio"
-          + "n\"\250\001\332A(project,region,router,named_set_r"
-          + "esource\212N\020RegionOperations\202\323\344\223\002d\"N/compu"
-          + "te/v1/projects/{project}/regions/{region"
-          + "}/routers/{router}/patchNamedSet:\022named_"
-          + "set_resource\022\242\002\n\020PatchRoutePolicy\0226.goog"
-          + "le.cloud.compute.v1.PatchRoutePolicyRout"
-          + "erRequest\032\".google.cloud.compute.v1.Oper"
-          + "ation\"\261\001\332A+project,region,router,route_p"
-          + "olicy_resource\212N\020RegionOperations\202\323\344\223\002j\""
-          + "Q/compute/v1/projects/{project}/regions/"
-          + "{region}/routers/{router}/patchRoutePoli"
-          + "cy:\025route_policy_resource\022\365\001\n\007Preview\022-."
-          + "google.cloud.compute.v1.PreviewRouterReq"
-          + "uest\032/.google.cloud.compute.v1.RoutersPr"
-          + "eviewResponse\"\211\001\332A%project,region,router"
-          + ",router_resource\202\323\344\223\002[\"H/compute/v1/proj"
-          + "ects/{project}/regions/{region}/routers/"
-          + "{router}/preview:\017router_resource\022\361\001\n\006Up"
-          + "date\022,.google.cloud.compute.v1.UpdateRou"
-          + "terRequest\032\".google.cloud.compute.v1.Ope"
-          + "ration\"\224\001\332A%project,region,router,router"
-          + "_resource\212N\020RegionOperations\202\323\344\223\002S\032@/com"
+          + "on}/resourcePolicies:\030resource_policy_re"
+          + "source\022\304\001\n\004List\0224.google.cloud.compute.v"
+          + "1.ListResourcePoliciesRequest\032+.google.c"
+          + "loud.compute.v1.ResourcePolicyList\"Y\332A\016p"
+          + "roject,region\202\323\344\223\002B\022@/compute/v1/project"
+          + "s/{project}/regions/{region}/resourcePol"
+          + "icies\022\244\002\n\005Patch\0223.google.cloud.compute.v"
+          + "1.PatchResourcePolicyRequest\032\".google.cl"
+          + "oud.compute.v1.Operation\"\301\001\332A7project,re"
+          + "gion,resource_policy,resource_policy_res"
+          + "ource\212N\020RegionOperations\202\323\344\223\002n2R/compute"
+          + "/v1/projects/{project}/regions/{region}/"
+          + "resourcePolicies/{resource_policy}:\030reso"
+          + "urce_policy_resource\022\257\002\n\014SetIamPolicy\022:."
+          + "google.cloud.compute.v1.SetIamPolicyReso"
+          + "urcePolicyRequest\032\037.google.cloud.compute"
+          + ".v1.Policy\"\301\001\332A:project,region,resource,"
+          + "region_set_policy_request_resource\202\323\344\223\002~"
+          + "\"X/compute/v1/projects/{project}/regions"
+          + "/{region}/resourcePolicies/{resource}/se"
+          + "tIamPolicy:\"region_set_policy_request_re"
+          + "source\022\321\002\n\022TestIamPermissions\022@.google.c"
+          + "loud.compute.v1.TestIamPermissionsResour"
+          + "cePolicyRequest\0320.google.cloud.compute.v"
+          + "1.TestPermissionsResponse\"\306\001\332A9project,r"
+          + "egion,resource,test_permissions_request_"
+          + "resource\202\323\344\223\002\203\001\"^/compute/v1/projects/{p"
+          + "roject}/regions/{region}/resourcePolicie"
+          + "s/{resource}/testIamPermissions:!test_pe"
+          + "rmissions_request_resource\032r\312A\026compute.g"
+          + "oogleapis.com\322AVhttps://www.googleapis.c"
+          + "om/auth/compute,https://www.googleapis.c"
+          + "om/auth/cloud-platform2\266\007\n\014RolloutPlans\022"
+          + "\324\001\n\006Delete\0221.google.cloud.compute.v1.Del"
+          + "eteRolloutPlanRequest\032\".google.cloud.com"
+          + "pute.v1.Operation\"s\332A\024project,rollout_pl"
+          + "an\212N\020GlobalOperations\202\323\344\223\002C*A/compute/v1"
+          + "/projects/{project}/global/rolloutPlans/"
+          + "{rollout_plan}\022\275\001\n\003Get\022..google.cloud.co"
+          + "mpute.v1.GetRolloutPlanRequest\032$.google."
+          + "cloud.compute.v1.RolloutPlan\"`\332A\024project"
+          + ",rollout_plan\202\323\344\223\002C\022A/compute/v1/project"
+          + "s/{project}/global/rolloutPlans/{rollout"
+          + "_plan}\022\346\001\n\006Insert\0221.google.cloud.compute"
+          + ".v1.InsertRolloutPlanRequest\032\".google.cl"
+          + "oud.compute.v1.Operation\"\204\001\332A\035project,ro"
+          + "llout_plan_resource\212N\020GlobalOperations\202\323"
+          + "\344\223\002K\"2/compute/v1/projects/{project}/glo"
+          + "bal/rolloutPlans:\025rollout_plan_resource\022"
+          + "\261\001\n\004List\0220.google.cloud.compute.v1.ListR"
+          + "olloutPlansRequest\0321.google.cloud.comput"
+          + "e.v1.RolloutPlansListResponse\"D\332A\007projec"
+          + "t\202\323\344\223\0024\0222/compute/v1/projects/{project}/"
+          + "global/rolloutPlans\032r\312A\026compute.googleap"
+          + "is.com\322AVhttps://www.googleapis.com/auth"
+          + "/compute,https://www.googleapis.com/auth"
+          + "/cloud-platform2\276\013\n\010Rollouts\022\314\001\n\007Advance"
+          + "\022..google.cloud.compute.v1.AdvanceRollou"
+          + "tRequest\032\".google.cloud.compute.v1.Opera"
+          + "tion\"m\332A\017project,rollout\212N\020GlobalOperati"
+          + "ons\202\323\344\223\002B\"@/compute/v1/projects/{project"
+          + "}/global/rollouts/{rollout}/advance\022\302\001\n\006"
+          + "Cancel\022-.google.cloud.compute.v1.CancelR"
+          + "olloutRequest\032\".google.cloud.compute.v1."
+          + "Operation\"e\332A\017project,rollout\212N\020GlobalOp"
+          + "erations\202\323\344\223\002:28/compute/v1/projects/{pr"
+          + "oject}/global/rollouts/{rollout}\022\302\001\n\006Del"
+          + "ete\022-.google.cloud.compute.v1.DeleteRoll"
+          + "outRequest\032\".google.cloud.compute.v1.Ope"
+          + "ration\"e\332A\017project,rollout\212N\020GlobalOpera"
+          + "tions\202\323\344\223\002:*8/compute/v1/projects/{proje"
+          + "ct}/global/rollouts/{rollout}\022\247\001\n\003Get\022*."
+          + "google.cloud.compute.v1.GetRolloutReques"
+          + "t\032 .google.cloud.compute.v1.Rollout\"R\332A\017"
+          + "project,rollout\202\323\344\223\002:\0228/compute/v1/proje"
+          + "cts/{project}/global/rollouts/{rollout}\022"
+          + "\245\001\n\004List\022,.google.cloud.compute.v1.ListR"
+          + "olloutsRequest\032-.google.cloud.compute.v1"
+          + ".RolloutsListResponse\"@\332A\007project\202\323\344\223\0020\022"
+          + "./compute/v1/projects/{project}/global/r"
+          + "ollouts\022\306\001\n\005Pause\022,.google.cloud.compute"
+          + ".v1.PauseRolloutRequest\032\".google.cloud.c"
+          + "ompute.v1.Operation\"k\332A\017project,rollout\212"
+          + "N\020GlobalOperations\202\323\344\223\002@\">/compute/v1/pr"
+          + "ojects/{project}/global/rollouts/{rollou"
+          + "t}/pause\022\311\001\n\006Resume\022-.google.cloud.compu"
+          + "te.v1.ResumeRolloutRequest\032\".google.clou"
+          + "d.compute.v1.Operation\"l\332A\017project,rollo"
+          + "ut\212N\020GlobalOperations\202\323\344\223\002A\"?/compute/v1"
+          + "/projects/{project}/global/rollouts/{rol"
+          + "lout}/resume\032r\312A\026compute.googleapis.com\322"
+          + "AVhttps://www.googleapis.com/auth/comput"
+          + "e,https://www.googleapis.com/auth/cloud-"
+          + "platform2\374)\n\007Routers\022\273\001\n\016AggregatedList\022"
+          + "5.google.cloud.compute.v1.AggregatedList"
+          + "RoutersRequest\032-.google.cloud.compute.v1"
+          + ".RouterAggregatedList\"C\332A\007project\202\323\344\223\0023\022"
+          + "1/compute/v1/projects/{project}/aggregat"
+          + "ed/routers\022\317\001\n\006Delete\022,.google.cloud.com"
+          + "pute.v1.DeleteRouterRequest\032\".google.clo"
+          + "ud.compute.v1.Operation\"s\332A\025project,regi"
+          + "on,router\212N\020RegionOperations\202\323\344\223\002B*@/com"
           + "pute/v1/projects/{project}/regions/{regi"
-          + "on}/routers/{router}:\017router_resource\022\226\002"
-          + "\n\016UpdateNamedSet\0224.google.cloud.compute."
-          + "v1.UpdateNamedSetRouterRequest\032\".google."
-          + "cloud.compute.v1.Operation\"\251\001\332A(project,"
-          + "region,router,named_set_resource\212N\020Regio"
-          + "nOperations\202\323\344\223\002e\"O/compute/v1/projects/"
-          + "{project}/regions/{region}/routers/{rout"
-          + "er}/updateNamedSet:\022named_set_resource\022\245"
-          + "\002\n\021UpdateRoutePolicy\0227.google.cloud.comp"
-          + "ute.v1.UpdateRoutePolicyRouterRequest\032\"."
-          + "google.cloud.compute.v1.Operation\"\262\001\332A+p"
-          + "roject,region,router,route_policy_resour"
-          + "ce\212N\020RegionOperations\202\323\344\223\002k\"R/compute/v1"
+          + "on}/routers/{router}\022\357\001\n\016DeleteNamedSet\022"
+          + "4.google.cloud.compute.v1.DeleteNamedSet"
+          + "RouterRequest\032\".google.cloud.compute.v1."
+          + "Operation\"\202\001\332A\025project,region,router\212N\020R"
+          + "egionOperations\202\323\344\223\002Q\"O/compute/v1/proje"
+          + "cts/{project}/regions/{region}/routers/{"
+          + "router}/deleteNamedSet\022\370\001\n\021DeleteRoutePo"
+          + "licy\0227.google.cloud.compute.v1.DeleteRou"
+          + "tePolicyRouterRequest\032\".google.cloud.com"
+          + "pute.v1.Operation\"\205\001\332A\025project,region,ro"
+          + "uter\212N\020RegionOperations\202\323\344\223\002T\"R/compute/"
+          + "v1/projects/{project}/regions/{region}/r"
+          + "outers/{router}/deleteRoutePolicy\022\263\001\n\003Ge"
+          + "t\022).google.cloud.compute.v1.GetRouterReq"
+          + "uest\032\037.google.cloud.compute.v1.Router\"`\332"
+          + "A\025project,region,router\202\323\344\223\002B\022@/compute/"
+          + "v1/projects/{project}/regions/{region}/r"
+          + "outers/{router}\022\343\001\n\013GetNamedSet\0221.google"
+          + ".cloud.compute.v1.GetNamedSetRouterReque"
+          + "st\0323.google.cloud.compute.v1.RoutersGetN"
+          + "amedSetResponse\"l\332A\025project,region,route"
+          + "r\202\323\344\223\002N\022L/compute/v1/projects/{project}/"
+          + "regions/{region}/routers/{router}/getNam"
+          + "edSet\022\335\001\n\014GetNatIpInfo\0222.google.cloud.co"
+          + "mpute.v1.GetNatIpInfoRouterRequest\032*.goo"
+          + "gle.cloud.compute.v1.NatIpInfoResponse\"m"
+          + "\332A\025project,region,router\202\323\344\223\002O\022M/compute"
+          + "/v1/projects/{project}/regions/{region}/"
+          + "routers/{router}/getNatIpInfo\022\365\001\n\021GetNat"
+          + "MappingInfo\0228.google.cloud.compute.v1.Ge"
+          + "tNatMappingInfoRoutersRequest\0322.google.c"
+          + "loud.compute.v1.VmEndpointNatMappingsLis"
+          + "t\"r\332A\025project,region,router\202\323\344\223\002T\022R/comp"
+          + "ute/v1/projects/{project}/regions/{regio"
+          + "n}/routers/{router}/getNatMappingInfo\022\357\001"
+          + "\n\016GetRoutePolicy\0224.google.cloud.compute."
+          + "v1.GetRoutePolicyRouterRequest\0326.google."
+          + "cloud.compute.v1.RoutersGetRoutePolicyRe"
+          + "sponse\"o\332A\025project,region,router\202\323\344\223\002Q\022O"
+          + "/compute/v1/projects/{project}/regions/{"
+          + "region}/routers/{router}/getRoutePolicy\022"
+          + "\351\001\n\017GetRouterStatus\0225.google.cloud.compu"
+          + "te.v1.GetRouterStatusRouterRequest\032-.goo"
+          + "gle.cloud.compute.v1.RouterStatusRespons"
+          + "e\"p\332A\025project,region,router\202\323\344\223\002R\022P/comp"
+          + "ute/v1/projects/{project}/regions/{regio"
+          + "n}/routers/{router}/getRouterStatus\022\341\001\n\006"
+          + "Insert\022,.google.cloud.compute.v1.InsertR"
+          + "outerRequest\032\".google.cloud.compute.v1.O"
+          + "peration\"\204\001\332A\036project,region,router_reso"
+          + "urce\212N\020RegionOperations\202\323\344\223\002J\"7/compute/"
+          + "v1/projects/{project}/regions/{region}/r"
+          + "outers:\017router_resource\022\252\001\n\004List\022+.googl"
+          + "e.cloud.compute.v1.ListRoutersRequest\032#."
+          + "google.cloud.compute.v1.RouterList\"P\332A\016p"
+          + "roject,region\202\323\344\223\0029\0227/compute/v1/project"
+          + "s/{project}/regions/{region}/routers\022\344\001\n"
+          + "\rListBgpRoutes\0224.google.cloud.compute.v1"
+          + ".ListBgpRoutesRoutersRequest\032-.google.cl"
+          + "oud.compute.v1.RoutersListBgpRoutes\"n\332A\025"
+          + "project,region,router\202\323\344\223\002P\022N/compute/v1"
           + "/projects/{project}/regions/{region}/rou"
-          + "ters/{router}/updateRoutePolicy:\025route_p"
-          + "olicy_resource\032r\312A\026compute.googleapis.co"
-          + "m\322AVhttps://www.googleapis.com/auth/comp"
-          + "ute,https://www.googleapis.com/auth/clou"
-          + "d-platform2\357\010\n\006Routes\022\272\001\n\006Delete\022+.googl"
-          + "e.cloud.compute.v1.DeleteRouteRequest\032\"."
-          + "google.cloud.compute.v1.Operation\"_\332A\rpr"
-          + "oject,route\212N\020GlobalOperations\202\323\344\223\0026*4/c"
-          + "ompute/v1/projects/{project}/global/rout"
-          + "es/{route}\022\235\001\n\003Get\022(.google.cloud.comput"
-          + "e.v1.GetRouteRequest\032\036.google.cloud.comp"
-          + "ute.v1.Route\"L\332A\rproject,route\202\323\344\223\0026\0224/c"
-          + "ompute/v1/projects/{project}/global/rout"
-          + "es/{route}\022\313\001\n\006Insert\022+.google.cloud.com"
-          + "pute.v1.InsertRouteRequest\032\".google.clou"
-          + "d.compute.v1.Operation\"p\332A\026project,route"
-          + "_resource\212N\020GlobalOperations\202\323\344\223\002>\",/com"
-          + "pute/v1/projects/{project}/global/routes"
-          + ":\016route_resource\022\226\001\n\004List\022*.google.cloud"
-          + ".compute.v1.ListRoutesRequest\032\".google.c"
-          + "loud.compute.v1.RouteList\">\332A\007project\202\323\344"
-          + "\223\002.\022,/compute/v1/projects/{project}/glob"
-          + "al/routes\022\254\002\n\022TestIamPermissions\0227.googl"
-          + "e.cloud.compute.v1.TestIamPermissionsRou"
-          + "teRequest\0320.google.cloud.compute.v1.Test"
-          + "PermissionsResponse\"\252\001\332A2project,resourc"
-          + "e,test_permissions_request_resource\202\323\344\223\002"
-          + "o\"J/compute/v1/projects/{project}/global"
-          + "/routes/{resource}/testIamPermissions:!t"
-          + "est_permissions_request_resource\032r\312A\026com"
-          + "pute.googleapis.com\322AVhttps://www.google"
-          + "apis.com/auth/compute,https://www.google"
-          + "apis.com/auth/cloud-platform2\357\030\n\020Securit"
-          + "yPolicies\022\251\002\n\007AddRule\0225.google.cloud.com"
-          + "pute.v1.AddRuleSecurityPolicyRequest\032\".g"
-          + "oogle.cloud.compute.v1.Operation\"\302\001\332A5pr"
-          + "oject,security_policy,security_policy_ru"
-          + "le_resource\212N\020GlobalOperations\202\323\344\223\002q\"P/c"
-          + "ompute/v1/projects/{project}/global/secu"
-          + "rityPolicies/{security_policy}/addRule:\035"
-          + "security_policy_rule_resource\022\327\001\n\016Aggreg"
-          + "atedList\022>.google.cloud.compute.v1.Aggre"
-          + "gatedListSecurityPoliciesRequest\0327.googl"
-          + "e.cloud.compute.v1.SecurityPoliciesAggre"
-          + "gatedList\"L\332A\007project\202\323\344\223\002<\022:/compute/v1"
-          + "/projects/{project}/aggregated/securityP"
-          + "olicies\022\341\001\n\006Delete\0224.google.cloud.comput"
-          + "e.v1.DeleteSecurityPolicyRequest\032\".googl"
-          + "e.cloud.compute.v1.Operation\"}\332A\027project"
-          + ",security_policy\212N\020GlobalOperations\202\323\344\223\002"
-          + "J*H/compute/v1/projects/{project}/global"
-          + "/securityPolicies/{security_policy}\022\315\001\n\003"
-          + "Get\0221.google.cloud.compute.v1.GetSecurit"
-          + "yPolicyRequest\032\'.google.cloud.compute.v1"
-          + ".SecurityPolicy\"j\332A\027project,security_pol"
-          + "icy\202\323\344\223\002J\022H/compute/v1/projects/{project"
-          + "}/global/securityPolicies/{security_poli"
-          + "cy}\022\341\001\n\007GetRule\0225.google.cloud.compute.v"
-          + "1.GetRuleSecurityPolicyRequest\032+.google."
-          + "cloud.compute.v1.SecurityPolicyRule\"r\332A\027"
-          + "project,security_policy\202\323\344\223\002R\022P/compute/"
-          + "v1/projects/{project}/global/securityPol"
-          + "icies/{security_policy}/getRule\022\363\001\n\006Inse"
-          + "rt\0224.google.cloud.compute.v1.InsertSecur"
-          + "ityPolicyRequest\032\".google.cloud.compute."
-          + "v1.Operation\"\216\001\332A project,security_polic"
-          + "y_resource\212N\020GlobalOperations\202\323\344\223\002R\"6/co"
-          + "mpute/v1/projects/{project}/global/secur"
-          + "ityPolicies:\030security_policy_resource\022\263\001"
-          + "\n\004List\0224.google.cloud.compute.v1.ListSec"
-          + "urityPoliciesRequest\032+.google.cloud.comp"
-          + "ute.v1.SecurityPolicyList\"H\332A\007project\202\323\344"
-          + "\223\0028\0226/compute/v1/projects/{project}/glob"
-          + "al/securityPolicies\022\256\002\n\037ListPreconfigure"
-          + "dExpressionSets\022O.google.cloud.compute.v"
-          + "1.ListPreconfiguredExpressionSetsSecurit"
-          + "yPoliciesRequest\032P.google.cloud.compute."
-          + "v1.SecurityPoliciesListPreconfiguredExpr"
-          + "essionSetsResponse\"h\332A\007project\202\323\344\223\002X\022V/c"
-          + "ompute/v1/projects/{project}/global/secu"
-          + "rityPolicies/listPreconfiguredExpression"
-          + "Sets\022\223\002\n\005Patch\0223.google.cloud.compute.v1"
-          + ".PatchSecurityPolicyRequest\032\".google.clo"
-          + "ud.compute.v1.Operation\"\260\001\332A0project,sec"
-          + "urity_policy,security_policy_resource\212N\020"
-          + "GlobalOperations\202\323\344\223\002d2H/compute/v1/proj"
-          + "ects/{project}/global/securityPolicies/{"
-          + "security_policy}:\030security_policy_resour"
-          + "ce\022\257\002\n\tPatchRule\0227.google.cloud.compute."
-          + "v1.PatchRuleSecurityPolicyRequest\032\".goog"
-          + "le.cloud.compute.v1.Operation\"\304\001\332A5proje"
-          + "ct,security_policy,security_policy_rule_"
-          + "resource\212N\020GlobalOperations\202\323\344\223\002s\"R/comp"
-          + "ute/v1/projects/{project}/global/securit"
-          + "yPolicies/{security_policy}/patchRule:\035s"
-          + "ecurity_policy_rule_resource\022\365\001\n\nRemoveR"
-          + "ule\0228.google.cloud.compute.v1.RemoveRule"
-          + "SecurityPolicyRequest\032\".google.cloud.com"
-          + "pute.v1.Operation\"\210\001\332A\027project,security_"
-          + "policy\212N\020GlobalOperations\202\323\344\223\002U\"S/comput"
-          + "e/v1/projects/{project}/global/securityP"
-          + "olicies/{security_policy}/removeRule\022\253\002\n"
-          + "\tSetLabels\0227.google.cloud.compute.v1.Set"
-          + "LabelsSecurityPolicyRequest\032\".google.clo"
-          + "ud.compute.v1.Operation\"\300\001\332A3project,res"
-          + "ource,global_set_labels_request_resource"
-          + "\212N\020GlobalOperations\202\323\344\223\002q\"K/compute/v1/p"
-          + "rojects/{project}/global/securityPolicie"
-          + "s/{resource}/setLabels:\"global_set_label"
-          + "s_request_resource\032r\312A\026compute.googleapi"
-          + "s.com\322AVhttps://www.googleapis.com/auth/"
-          + "compute,https://www.googleapis.com/auth/"
-          + "cloud-platform2\360\023\n\022ServiceAttachments\022\334\001"
-          + "\n\016AggregatedList\022@.google.cloud.compute."
-          + "v1.AggregatedListServiceAttachmentsReque"
-          + "st\0328.google.cloud.compute.v1.ServiceAtta"
-          + "chmentAggregatedList\"N\332A\007project\202\323\344\223\002>\022<"
-          + "/compute/v1/projects/{project}/aggregate"
-          + "d/serviceAttachments\022\376\001\n\006Delete\0227.google"
-          + ".cloud.compute.v1.DeleteServiceAttachmen"
-          + "tRequest\032\".google.cloud.compute.v1.Opera"
-          + "tion\"\226\001\332A!project,region,service_attachm"
-          + "ent\212N\020RegionOperations\202\323\344\223\002Y*W/compute/v"
-          + "1/projects/{project}/regions/{region}/se"
-          + "rviceAttachments/{service_attachment}\022\355\001"
-          + "\n\003Get\0224.google.cloud.compute.v1.GetServi"
-          + "ceAttachmentRequest\032*.google.cloud.compu"
-          + "te.v1.ServiceAttachment\"\203\001\332A!project,reg"
-          + "ion,service_attachment\202\323\344\223\002Y\022W/compute/v"
-          + "1/projects/{project}/regions/{region}/se"
-          + "rviceAttachments/{service_attachment}\022\354\001"
-          + "\n\014GetIamPolicy\022=.google.cloud.compute.v1"
-          + ".GetIamPolicyServiceAttachmentRequest\032\037."
-          + "google.cloud.compute.v1.Policy\"|\332A\027proje"
-          + "ct,region,resource\202\323\344\223\002\\\022Z/compute/v1/pr"
-          + "ojects/{project}/regions/{region}/servic"
-          + "eAttachments/{resource}/getIamPolicy\022\217\002\n"
-          + "\006Insert\0227.google.cloud.compute.v1.Insert"
-          + "ServiceAttachmentRequest\032\".google.cloud."
-          + "compute.v1.Operation\"\247\001\332A*project,region"
-          + ",service_attachment_resource\212N\020RegionOpe"
-          + "rations\202\323\344\223\002a\"B/compute/v1/projects/{pro"
-          + "ject}/regions/{region}/serviceAttachment"
-          + "s:\033service_attachment_resource\022\313\001\n\004List\022"
-          + "6.google.cloud.compute.v1.ListServiceAtt"
-          + "achmentsRequest\032..google.cloud.compute.v"
-          + "1.ServiceAttachmentList\"[\332A\016project,regi"
-          + "on\202\323\344\223\002D\022B/compute/v1/projects/{project}"
-          + "/regions/{region}/serviceAttachments\022\265\002\n"
-          + "\005Patch\0226.google.cloud.compute.v1.PatchSe"
-          + "rviceAttachmentRequest\032\".google.cloud.co"
-          + "mpute.v1.Operation\"\317\001\332A=project,region,s"
-          + "ervice_attachment,service_attachment_res"
-          + "ource\212N\020RegionOperations\202\323\344\223\002v2W/compute"
+          + "ters/{router}/listBgpRoutes\022\344\001\n\rListName"
+          + "dSets\0224.google.cloud.compute.v1.ListName"
+          + "dSetsRoutersRequest\032-.google.cloud.compu"
+          + "te.v1.RoutersListNamedSets\"n\332A\025project,r"
+          + "egion,router\202\323\344\223\002P\022N/compute/v1/projects"
+          + "/{project}/regions/{region}/routers/{rou"
+          + "ter}/listNamedSets\022\364\001\n\021ListRoutePolicies"
+          + "\0228.google.cloud.compute.v1.ListRoutePoli"
+          + "ciesRoutersRequest\0321.google.cloud.comput"
+          + "e.v1.RoutersListRoutePolicies\"r\332A\025projec"
+          + "t,region,router\202\323\344\223\002T\022R/compute/v1/proje"
+          + "cts/{project}/regions/{region}/routers/{"
+          + "router}/listRoutePolicies\022\357\001\n\005Patch\022+.go"
+          + "ogle.cloud.compute.v1.PatchRouterRequest"
+          + "\032\".google.cloud.compute.v1.Operation\"\224\001\332"
+          + "A%project,region,router,router_resource\212"
+          + "N\020RegionOperations\202\323\344\223\002S2@/compute/v1/pr"
+          + "ojects/{project}/regions/{region}/router"
+          + "s/{router}:\017router_resource\022\223\002\n\rPatchNam"
+          + "edSet\0223.google.cloud.compute.v1.PatchNam"
+          + "edSetRouterRequest\032\".google.cloud.comput"
+          + "e.v1.Operation\"\250\001\332A(project,region,route"
+          + "r,named_set_resource\212N\020RegionOperations\202"
+          + "\323\344\223\002d\"N/compute/v1/projects/{project}/re"
+          + "gions/{region}/routers/{router}/patchNam"
+          + "edSet:\022named_set_resource\022\242\002\n\020PatchRoute"
+          + "Policy\0226.google.cloud.compute.v1.PatchRo"
+          + "utePolicyRouterRequest\032\".google.cloud.co"
+          + "mpute.v1.Operation\"\261\001\332A+project,region,r"
+          + "outer,route_policy_resource\212N\020RegionOper"
+          + "ations\202\323\344\223\002j\"Q/compute/v1/projects/{proj"
+          + "ect}/regions/{region}/routers/{router}/p"
+          + "atchRoutePolicy:\025route_policy_resource\022\365"
+          + "\001\n\007Preview\022-.google.cloud.compute.v1.Pre"
+          + "viewRouterRequest\032/.google.cloud.compute"
+          + ".v1.RoutersPreviewResponse\"\211\001\332A%project,"
+          + "region,router,router_resource\202\323\344\223\002[\"H/co"
+          + "mpute/v1/projects/{project}/regions/{reg"
+          + "ion}/routers/{router}/preview:\017router_re"
+          + "source\022\361\001\n\006Update\022,.google.cloud.compute"
+          + ".v1.UpdateRouterRequest\032\".google.cloud.c"
+          + "ompute.v1.Operation\"\224\001\332A%project,region,"
+          + "router,router_resource\212N\020RegionOperation"
+          + "s\202\323\344\223\002S\032@/compute/v1/projects/{project}/"
+          + "regions/{region}/routers/{router}:\017route"
+          + "r_resource\022\226\002\n\016UpdateNamedSet\0224.google.c"
+          + "loud.compute.v1.UpdateNamedSetRouterRequ"
+          + "est\032\".google.cloud.compute.v1.Operation\""
+          + "\251\001\332A(project,region,router,named_set_res"
+          + "ource\212N\020RegionOperations\202\323\344\223\002e\"O/compute"
           + "/v1/projects/{project}/regions/{region}/"
-          + "serviceAttachments/{service_attachment}:"
-          + "\033service_attachment_resource\022\265\002\n\014SetIamP"
-          + "olicy\022=.google.cloud.compute.v1.SetIamPo"
-          + "licyServiceAttachmentRequest\032\037.google.cl"
-          + "oud.compute.v1.Policy\"\304\001\332A:project,regio"
-          + "n,resource,region_set_policy_request_res"
-          + "ource\202\323\344\223\002\200\001\"Z/compute/v1/projects/{proj"
-          + "ect}/regions/{region}/serviceAttachments"
-          + "/{resource}/setIamPolicy:\"region_set_pol"
-          + "icy_request_resource\022\326\002\n\022TestIamPermissi"
-          + "ons\022C.google.cloud.compute.v1.TestIamPer"
-          + "missionsServiceAttachmentRequest\0320.googl"
-          + "e.cloud.compute.v1.TestPermissionsRespon"
-          + "se\"\310\001\332A9project,region,resource,test_per"
-          + "missions_request_resource\202\323\344\223\002\205\001\"`/compu"
-          + "te/v1/projects/{project}/regions/{region"
-          + "}/serviceAttachments/{resource}/testIamP"
+          + "routers/{router}/updateNamedSet:\022named_s"
+          + "et_resource\022\245\002\n\021UpdateRoutePolicy\0227.goog"
+          + "le.cloud.compute.v1.UpdateRoutePolicyRou"
+          + "terRequest\032\".google.cloud.compute.v1.Ope"
+          + "ration\"\262\001\332A+project,region,router,route_"
+          + "policy_resource\212N\020RegionOperations\202\323\344\223\002k"
+          + "\"R/compute/v1/projects/{project}/regions"
+          + "/{region}/routers/{router}/updateRoutePo"
+          + "licy:\025route_policy_resource\032r\312A\026compute."
+          + "googleapis.com\322AVhttps://www.googleapis."
+          + "com/auth/compute,https://www.googleapis."
+          + "com/auth/cloud-platform2\357\010\n\006Routes\022\272\001\n\006D"
+          + "elete\022+.google.cloud.compute.v1.DeleteRo"
+          + "uteRequest\032\".google.cloud.compute.v1.Ope"
+          + "ration\"_\332A\rproject,route\212N\020GlobalOperati"
+          + "ons\202\323\344\223\0026*4/compute/v1/projects/{project"
+          + "}/global/routes/{route}\022\235\001\n\003Get\022(.google"
+          + ".cloud.compute.v1.GetRouteRequest\032\036.goog"
+          + "le.cloud.compute.v1.Route\"L\332A\rproject,ro"
+          + "ute\202\323\344\223\0026\0224/compute/v1/projects/{project"
+          + "}/global/routes/{route}\022\313\001\n\006Insert\022+.goo"
+          + "gle.cloud.compute.v1.InsertRouteRequest\032"
+          + "\".google.cloud.compute.v1.Operation\"p\332A\026"
+          + "project,route_resource\212N\020GlobalOperation"
+          + "s\202\323\344\223\002>\",/compute/v1/projects/{project}/"
+          + "global/routes:\016route_resource\022\226\001\n\004List\022*"
+          + ".google.cloud.compute.v1.ListRoutesReque"
+          + "st\032\".google.cloud.compute.v1.RouteList\">"
+          + "\332A\007project\202\323\344\223\002.\022,/compute/v1/projects/{"
+          + "project}/global/routes\022\254\002\n\022TestIamPermis"
+          + "sions\0227.google.cloud.compute.v1.TestIamP"
+          + "ermissionsRouteRequest\0320.google.cloud.co"
+          + "mpute.v1.TestPermissionsResponse\"\252\001\332A2pr"
+          + "oject,resource,test_permissions_request_"
+          + "resource\202\323\344\223\002o\"J/compute/v1/projects/{pr"
+          + "oject}/global/routes/{resource}/testIamP"
           + "ermissions:!test_permissions_request_res"
           + "ource\032r\312A\026compute.googleapis.com\322AVhttps"
           + "://www.googleapis.com/auth/compute,https"
           + "://www.googleapis.com/auth/cloud-platfor"
-          + "m2\267\004\n\027SnapshotSettingsService\022\256\001\n\003Get\0222."
-          + "google.cloud.compute.v1.GetSnapshotSetti"
-          + "ngRequest\032).google.cloud.compute.v1.Snap"
-          + "shotSettings\"H\332A\007project\202\323\344\223\0028\0226/compute"
-          + "/v1/projects/{project}/global/snapshotSe"
-          + "ttings\022\366\001\n\005Patch\0224.google.cloud.compute."
-          + "v1.PatchSnapshotSettingRequest\032\".google."
-          + "cloud.compute.v1.Operation\"\222\001\332A\"project,"
-          + "snapshot_settings_resource\212N\020GlobalOpera"
-          + "tions\202\323\344\223\002T26/compute/v1/projects/{proje"
-          + "ct}/global/snapshotSettings:\032snapshot_se"
-          + "ttings_resource\032r\312A\026compute.googleapis.c"
-          + "om\322AVhttps://www.googleapis.com/auth/com"
-          + "pute,https://www.googleapis.com/auth/clo"
-          + "ud-platform2\337\021\n\tSnapshots\022\306\001\n\006Delete\022..g"
-          + "oogle.cloud.compute.v1.DeleteSnapshotReq"
-          + "uest\032\".google.cloud.compute.v1.Operation"
-          + "\"h\332A\020project,snapshot\212N\020GlobalOperations"
-          + "\202\323\344\223\002<*:/compute/v1/projects/{project}/g"
-          + "lobal/snapshots/{snapshot}\022\254\001\n\003Get\022+.goo"
-          + "gle.cloud.compute.v1.GetSnapshotRequest\032"
-          + "!.google.cloud.compute.v1.Snapshot\"U\332A\020p"
-          + "roject,snapshot\202\323\344\223\002<\022:/compute/v1/proje"
-          + "cts/{project}/global/snapshots/{snapshot"
-          + "}\022\311\001\n\014GetIamPolicy\0224.google.cloud.comput"
-          + "e.v1.GetIamPolicySnapshotRequest\032\037.googl"
-          + "e.cloud.compute.v1.Policy\"b\332A\020project,re"
-          + "source\202\323\344\223\002I\022G/compute/v1/projects/{proj"
-          + "ect}/global/snapshots/{resource}/getIamP"
-          + "olicy\022\327\001\n\006Insert\022..google.cloud.compute."
-          + "v1.InsertSnapshotRequest\032\".google.cloud."
-          + "compute.v1.Operation\"y\332A\031project,snapsho"
-          + "t_resource\212N\020GlobalOperations\202\323\344\223\002D\"//co"
-          + "mpute/v1/projects/{project}/global/snaps"
-          + "hots:\021snapshot_resource\022\237\001\n\004List\022-.googl"
-          + "e.cloud.compute.v1.ListSnapshotsRequest\032",
-      "%.google.cloud.compute.v1.SnapshotList\"A"
-          + "\332A\007project\202\323\344\223\0021\022//compute/v1/projects/{"
-          + "project}/global/snapshots\022\221\002\n\014SetIamPoli"
-          + "cy\0224.google.cloud.compute.v1.SetIamPolic"
-          + "ySnapshotRequest\032\037.google.cloud.compute."
-          + "v1.Policy\"\251\001\332A3project,resource,global_s"
-          + "et_policy_request_resource\202\323\344\223\002m\"G/compu"
-          + "te/v1/projects/{project}/global/snapshot"
-          + "s/{resource}/setIamPolicy:\"global_set_po"
-          + "licy_request_resource\022\236\002\n\tSetLabels\0221.go"
-          + "ogle.cloud.compute.v1.SetLabelsSnapshotR"
+          + "m2\357\030\n\020SecurityPolicies\022\251\002\n\007AddRule\0225.goo"
+          + "gle.cloud.compute.v1.AddRuleSecurityPoli"
+          + "cyRequest\032\".google.cloud.compute.v1.Oper"
+          + "ation\"\302\001\332A5project,security_policy,secur"
+          + "ity_policy_rule_resource\212N\020GlobalOperati"
+          + "ons\202\323\344\223\002q\"P/compute/v1/projects/{project"
+          + "}/global/securityPolicies/{security_poli"
+          + "cy}/addRule:\035security_policy_rule_resour"
+          + "ce\022\327\001\n\016AggregatedList\022>.google.cloud.com"
+          + "pute.v1.AggregatedListSecurityPoliciesRe"
+          + "quest\0327.google.cloud.compute.v1.Security"
+          + "PoliciesAggregatedList\"L\332A\007project\202\323\344\223\002<"
+          + "\022:/compute/v1/projects/{project}/aggrega"
+          + "ted/securityPolicies\022\341\001\n\006Delete\0224.google"
+          + ".cloud.compute.v1.DeleteSecurityPolicyRe"
+          + "quest\032\".google.cloud.compute.v1.Operatio"
+          + "n\"}\332A\027project,security_policy\212N\020GlobalOp"
+          + "erations\202\323\344\223\002J*H/compute/v1/projects/{pr"
+          + "oject}/global/securityPolicies/{security"
+          + "_policy}\022\315\001\n\003Get\0221.google.cloud.compute."
+          + "v1.GetSecurityPolicyRequest\032\'.google.clo"
+          + "ud.compute.v1.SecurityPolicy\"j\332A\027project"
+          + ",security_policy\202\323\344\223\002J\022H/compute/v1/proj"
+          + "ects/{project}/global/securityPolicies/{"
+          + "security_policy}\022\341\001\n\007GetRule\0225.google.cl"
+          + "oud.compute.v1.GetRuleSecurityPolicyRequ"
+          + "est\032+.google.cloud.compute.v1.SecurityPo"
+          + "licyRule\"r\332A\027project,security_policy\202\323\344\223"
+          + "\002R\022P/compute/v1/projects/{project}/globa"
+          + "l/securityPolicies/{security_policy}/get"
+          + "Rule\022\363\001\n\006Insert\0224.google.cloud.compute.v"
+          + "1.InsertSecurityPolicyRequest\032\".google.c"
+          + "loud.compute.v1.Operation\"\216\001\332A project,s"
+          + "ecurity_policy_resource\212N\020GlobalOperatio"
+          + "ns\202\323\344\223\002R\"6/compute/v1/projects/{project}"
+          + "/global/securityPolicies:\030security_polic"
+          + "y_resource\022\263\001\n\004List\0224.google.cloud.compu"
+          + "te.v1.ListSecurityPoliciesRequest\032+.goog"
+          + "le.cloud.compute.v1.SecurityPolicyList\"H"
+          + "\332A\007project\202\323\344\223\0028\0226/compute/v1/projects/{"
+          + "project}/global/securityPolicies\022\256\002\n\037Lis"
+          + "tPreconfiguredExpressionSets\022O.google.cl"
+          + "oud.compute.v1.ListPreconfiguredExpressi"
+          + "onSetsSecurityPoliciesRequest\032P.google.c"
+          + "loud.compute.v1.SecurityPoliciesListPrec"
+          + "onfiguredExpressionSetsResponse\"h\332A\007proj"
+          + "ect\202\323\344\223\002X\022V/compute/v1/projects/{project"
+          + "}/global/securityPolicies/listPreconfigu"
+          + "redExpressionSets\022\223\002\n\005Patch\0223.google.clo"
+          + "ud.compute.v1.PatchSecurityPolicyRequest"
+          + "\032\".google.cloud.compute.v1.Operation\"\260\001\332"
+          + "A0project,security_policy,security_polic"
+          + "y_resource\212N\020GlobalOperations\202\323\344\223\002d2H/co"
+          + "mpute/v1/projects/{project}/global/secur"
+          + "ityPolicies/{security_policy}:\030security_"
+          + "policy_resource\022\257\002\n\tPatchRule\0227.google.c"
+          + "loud.compute.v1.PatchRuleSecurityPolicyR"
           + "equest\032\".google.cloud.compute.v1.Operati"
-          + "on\"\271\001\332A3project,resource,global_set_labe"
-          + "ls_request_resource\212N\020GlobalOperations\202\323"
-          + "\344\223\002j\"D/compute/v1/projects/{project}/glo"
-          + "bal/snapshots/{resource}/setLabels:\"glob"
-          + "al_set_labels_request_resource\022\262\002\n\022TestI"
-          + "amPermissions\022:.google.cloud.compute.v1."
-          + "TestIamPermissionsSnapshotRequest\0320.goog"
-          + "le.cloud.compute.v1.TestPermissionsRespo"
-          + "nse\"\255\001\332A2project,resource,test_permissio"
-          + "ns_request_resource\202\323\344\223\002r\"M/compute/v1/p"
+          + "on\"\304\001\332A5project,security_policy,security"
+          + "_policy_rule_resource\212N\020GlobalOperations"
+          + "\202\323\344\223\002s\"R/compute/v1/projects/{project}/g"
+          + "lobal/securityPolicies/{security_policy}"
+          + "/patchRule:\035security_policy_rule_resourc"
+          + "e\022\365\001\n\nRemoveRule\0228.google.cloud.compute."
+          + "v1.RemoveRuleSecurityPolicyRequest\032\".goo"
+          + "gle.cloud.compute.v1.Operation\"\210\001\332A\027proj"
+          + "ect,security_policy\212N\020GlobalOperations\202\323"
+          + "\344\223\002U\"S/compute/v1/projects/{project}/glo"
+          + "bal/securityPolicies/{security_policy}/r"
+          + "emoveRule\022\253\002\n\tSetLabels\0227.google.cloud.c"
+          + "ompute.v1.SetLabelsSecurityPolicyRequest"
+          + "\032\".google.cloud.compute.v1.Operation\"\300\001\332"
+          + "A3project,resource,global_set_labels_req"
+          + "uest_resource\212N\020GlobalOperations\202\323\344\223\002q\"K"
+          + "/compute/v1/projects/{project}/global/se"
+          + "curityPolicies/{resource}/setLabels:\"glo"
+          + "bal_set_labels_request_resource\032r\312A\026comp"
+          + "ute.googleapis.com\322AVhttps://www.googlea"
+          + "pis.com/auth/compute,https://www.googlea"
+          + "pis.com/auth/cloud-platform2\360\023\n\022ServiceA"
+          + "ttachments\022\334\001\n\016AggregatedList\022@.google.c"
+          + "loud.compute.v1.AggregatedListServiceAtt"
+          + "achmentsRequest\0328.google.cloud.compute.v"
+          + "1.ServiceAttachmentAggregatedList\"N\332A\007pr"
+          + "oject\202\323\344\223\002>\022/compute"
+          + "/v1/projects/{project}/global/sslPolicie"
+          + "s/{ssl_policy}\022\264\001\n\003Get\022,.google.cloud.co"
+          + "mpute.v1.GetSslPolicyRequest\032\".google.cl"
+          + "oud.compute.v1.SslPolicy\"[\332A\022project,ssl"
+          + "_policy\202\323\344\223\002@\022>/compute/v1/projects/{pro"
+          + "ject}/global/sslPolicies/{ssl_policy}\022\336\001"
+          + "\n\006Insert\022/.google.cloud.compute.v1.Inser"
+          + "tSslPolicyRequest\032\".google.cloud.compute"
+          + ".v1.Operation\"\177\332A\033project,ssl_policy_res"
+          + "ource\212N\020GlobalOperations\202\323\344\223\002H\"1/compute"
+          + "/v1/projects/{project}/global/sslPolicie"
+          + "s:\023ssl_policy_resource\022\246\001\n\004List\022/.google"
+          + ".cloud.compute.v1.ListSslPoliciesRequest"
+          + "\032(.google.cloud.compute.v1.SslPoliciesLi"
+          + "st\"C\332A\007project\202\323\344\223\0023\0221/compute/v1/projec"
+          + "ts/{project}/global/sslPolicies\022\367\001\n\025List"
+          + "AvailableFeatures\022@.google.cloud.compute"
+          + ".v1.ListAvailableFeaturesSslPoliciesRequ"
+          + "est\032A.google.cloud.compute.v1.SslPolicie"
+          + "sListAvailableFeaturesResponse\"Y\332A\007proje"
+          + "ct\202\323\344\223\002I\022G/compute/v1/projects/{project}"
+          + "/global/sslPolicies/listAvailableFeature"
+          + "s\022\365\001\n\005Patch\022..google.cloud.compute.v1.Pa"
+          + "tchSslPolicyRequest\032\".google.cloud.compu"
+          + "te.v1.Operation\"\227\001\332A&project,ssl_policy,"
+          + "ssl_policy_resource\212N\020GlobalOperations\202\323"
+          + "\344\223\002U2>/compute/v1/projects/{project}/glo"
+          + "bal/sslPolicies/{ssl_policy}:\023ssl_policy"
           + "_resource\032r\312A\026compute.googleapis.com\322AVh"
           + "ttps://www.googleapis.com/auth/compute,h"
           + "ttps://www.googleapis.com/auth/cloud-pla"
-          + "tform2\266\t\n\017SslCertificates\022\323\001\n\016Aggregated"
-          + "List\022=.google.cloud.compute.v1.Aggregate"
-          + "dListSslCertificatesRequest\0325.google.clo"
-          + "ud.compute.v1.SslCertificateAggregatedLi"
-          + "st\"K\332A\007project\202\323\344\223\002;\0229/compute/v1/projec"
-          + "ts/{project}/aggregated/sslCertificates\022"
-          + "\340\001\n\006Delete\0224.google.cloud.compute.v1.Del"
-          + "eteSslCertificateRequest\032\".google.cloud."
-          + "compute.v1.Operation\"|\332A\027project,ssl_cer"
-          + "tificate\212N\020GlobalOperations\202\323\344\223\002I*G/comp"
-          + "ute/v1/projects/{project}/global/sslCert"
-          + "ificates/{ssl_certificate}\022\314\001\n\003Get\0221.goo"
-          + "gle.cloud.compute.v1.GetSslCertificateRe"
-          + "quest\032\'.google.cloud.compute.v1.SslCerti"
-          + "ficate\"i\332A\027project,ssl_certificate\202\323\344\223\002I"
-          + "\022G/compute/v1/projects/{project}/global/"
-          + "sslCertificates/{ssl_certificate}\022\362\001\n\006In"
-          + "sert\0224.google.cloud.compute.v1.InsertSsl"
-          + "CertificateRequest\032\".google.cloud.comput"
-          + "e.v1.Operation\"\215\001\332A project,ssl_certific"
-          + "ate_resource\212N\020GlobalOperations\202\323\344\223\002Q\"5/"
-          + "compute/v1/projects/{project}/global/ssl"
-          + "Certificates:\030ssl_certificate_resource\022\261"
-          + "\001\n\004List\0223.google.cloud.compute.v1.ListSs"
-          + "lCertificatesRequest\032+.google.cloud.comp"
-          + "ute.v1.SslCertificateList\"G\332A\007project\202\323\344"
-          + "\223\0027\0225/compute/v1/projects/{project}/glob"
-          + "al/sslCertificates\032r\312A\026compute.googleapi"
-          + "s.com\322AVhttps://www.googleapis.com/auth/"
-          + "compute,https://www.googleapis.com/auth/"
-          + "cloud-platform2\317\014\n\013SslPolicies\022\310\001\n\016Aggre"
-          + "gatedList\0229.google.cloud.compute.v1.Aggr"
-          + "egatedListSslPoliciesRequest\0322.google.cl"
-          + "oud.compute.v1.SslPoliciesAggregatedList"
-          + "\"G\332A\007project\202\323\344\223\0027\0225/compute/v1/projects"
-          + "/{project}/aggregated/sslPolicies\022\315\001\n\006De"
-          + "lete\022/.google.cloud.compute.v1.DeleteSsl"
-          + "PolicyRequest\032\".google.cloud.compute.v1."
-          + "Operation\"n\332A\022project,ssl_policy\212N\020Globa"
-          + "lOperations\202\323\344\223\002@*>/compute/v1/projects/"
-          + "{project}/global/sslPolicies/{ssl_policy"
-          + "}\022\264\001\n\003Get\022,.google.cloud.compute.v1.GetS"
-          + "slPolicyRequest\032\".google.cloud.compute.v"
-          + "1.SslPolicy\"[\332A\022project,ssl_policy\202\323\344\223\002@"
-          + "\022>/compute/v1/projects/{project}/global/"
-          + "sslPolicies/{ssl_policy}\022\336\001\n\006Insert\022/.go"
-          + "ogle.cloud.compute.v1.InsertSslPolicyReq"
-          + "uest\032\".google.cloud.compute.v1.Operation"
-          + "\"\177\332A\033project,ssl_policy_resource\212N\020Globa"
-          + "lOperations\202\323\344\223\002H\"1/compute/v1/projects/"
-          + "{project}/global/sslPolicies:\023ssl_policy"
-          + "_resource\022\246\001\n\004List\022/.google.cloud.comput"
-          + "e.v1.ListSslPoliciesRequest\032(.google.clo"
-          + "ud.compute.v1.SslPoliciesList\"C\332A\007projec"
-          + "t\202\323\344\223\0023\0221/compute/v1/projects/{project}/"
-          + "global/sslPolicies\022\367\001\n\025ListAvailableFeat"
-          + "ures\022@.google.cloud.compute.v1.ListAvail"
-          + "ableFeaturesSslPoliciesRequest\032A.google."
-          + "cloud.compute.v1.SslPoliciesListAvailabl"
-          + "eFeaturesResponse\"Y\332A\007project\202\323\344\223\002I\022G/co"
-          + "mpute/v1/projects/{project}/global/sslPo"
-          + "licies/listAvailableFeatures\022\365\001\n\005Patch\022."
-          + ".google.cloud.compute.v1.PatchSslPolicyR"
-          + "equest\032\".google.cloud.compute.v1.Operati"
-          + "on\"\227\001\332A&project,ssl_policy,ssl_policy_re"
-          + "source\212N\020GlobalOperations\202\323\344\223\002U2>/comput"
-          + "e/v1/projects/{project}/global/sslPolici"
-          + "es/{ssl_policy}:\023ssl_policy_resource\032r\312A"
-          + "\026compute.googleapis.com\322AVhttps://www.go"
-          + "ogleapis.com/auth/compute,https://www.go"
-          + "ogleapis.com/auth/cloud-platform2\265\006\n\020Sto"
-          + "ragePoolTypes\022\326\001\n\016AggregatedList\022>.googl"
-          + "e.cloud.compute.v1.AggregatedListStorage"
-          + "PoolTypesRequest\0326.google.cloud.compute."
-          + "v1.StoragePoolTypeAggregatedList\"L\332A\007pro"
-          + "ject\202\323\344\223\002<\022:/compute/v1/projects/{projec"
-          + "t}/aggregated/storagePoolTypes\022\336\001\n\003Get\0222"
-          + ".google.cloud.compute.v1.GetStoragePoolT"
-          + "ypeRequest\032(.google.cloud.compute.v1.Sto"
-          + "ragePoolType\"y\332A\036project,zone,storage_po"
-          + "ol_type\202\323\344\223\002R\022P/compute/v1/projects/{pro"
-          + "ject}/zones/{zone}/storagePoolTypes/{sto"
-          + "rage_pool_type}\022\277\001\n\004List\0224.google.cloud."
-          + "compute.v1.ListStoragePoolTypesRequest\032,"
-          + ".google.cloud.compute.v1.StoragePoolType"
-          + "List\"S\332A\014project,zone\202\323\344\223\002>\022.google.cloud.compute.v1.Aggregat"
+          + "edListStoragePoolTypesRequest\0326.google.c"
+          + "loud.compute.v1.StoragePoolTypeAggregate"
+          + "dList\"L\332A\007project\202\323\344\223\002<\022:/compute/v1/pro"
+          + "jects/{project}/aggregated/storagePoolTy"
+          + "pes\022\336\001\n\003Get\0222.google.cloud.compute.v1.Ge"
+          + "tStoragePoolTypeRequest\032(.google.cloud.c"
+          + "ompute.v1.StoragePoolType\"y\332A\036project,zo"
+          + "ne,storage_pool_type\202\323\344\223\002R\022P/compute/v1/"
+          + "projects/{project}/zones/{zone}/storageP"
+          + "oolTypes/{storage_pool_type}\022\277\001\n\004List\0224."
+          + "google.cloud.compute.v1.ListStoragePoolT"
+          + "ypesRequest\032,.google.cloud.compute.v1.St"
+          + "oragePoolTypeList\"S\332A\014project,zone\202\323\344\223\002>"
+          + "\022\022\022.g"
+          + "oogle.cloud.compute.v1.AggregatedListTar"
+          + "getTcpProxiesRequest\0325.google.cloud.comp"
+          + "ute.v1.TargetTcpProxyAggregatedList\"L\332A\007"
+          + "project\202\323\344\223\002<\022:/compute/v1/projects/{pro"
+          + "ject}/aggregated/targetTcpProxies\022\343\001\n\006De"
+          + "lete\0224.google.cloud.compute.v1.DeleteTar"
+          + "getTcpProxyRequest\032\".google.cloud.comput"
+          + "e.v1.Operation\"\177\332A\030project,target_tcp_pr"
+          + "oxy\212N\020GlobalOperations\202\323\344\223\002K*I/compute/v"
+          + "1/projects/{project}/global/targetTcpPro"
+          + "xies/{target_tcp_proxy}\022\317\001\n\003Get\0221.google"
+          + ".cloud.compute.v1.GetTargetTcpProxyReque"
+          + "st\032\'.google.cloud.compute.v1.TargetTcpPr"
+          + "oxy\"l\332A\030project,target_tcp_proxy\202\323\344\223\002K\022I"
+          + "/compute/v1/projects/{project}/global/ta"
+          + "rgetTcpProxies/{target_tcp_proxy}\022\365\001\n\006In"
+          + "sert\0224.google.cloud.compute.v1.InsertTar"
+          + "getTcpProxyRequest\032\".google.cloud.comput"
+          + "e.v1.Operation\"\220\001\332A!project,target_tcp_p"
+          + "roxy_resource\212N\020GlobalOperations\202\323\344\223\002S\"6"
+          + "/compute/v1/projects/{project}/global/ta"
+          + "rgetTcpProxies:\031target_tcp_proxy_resourc"
+          + "e\022\263\001\n\004List\0224.google.cloud.compute.v1.Lis"
+          + "tTargetTcpProxiesRequest\032+.google.cloud."
+          + "compute.v1.TargetTcpProxyList\"H\332A\007projec"
+          + "t\202\323\344\223\0028\0226/compute/v1/projects/{project}/"
+          + "global/targetTcpProxies\022\376\002\n\021SetBackendSe"
+          + "rvice\022?.google.cloud.compute.v1.SetBacke"
+          + "ndServiceTargetTcpProxyRequest\032\".google."
+          + "cloud.compute.v1.Operation\"\203\002\332APproject,"
+          + "target_tcp_proxy,target_tcp_proxies_set_"
+          + "backend_service_request_resource\212N\020Globa"
+          + "lOperations\202\323\344\223\002\226\001\"[/compute/v1/projects"
+          + "/{project}/global/targetTcpProxies/{targ"
+          + "et_tcp_proxy}/setBackendService:7target_"
+          + "tcp_proxies_set_backend_service_request_"
+          + "resource\022\357\002\n\016SetProxyHeader\022<.google.clo"
+          + "ud.compute.v1.SetProxyHeaderTargetTcpPro"
+          + "xyRequest\032\".google.cloud.compute.v1.Oper"
+          + "ation\"\372\001\332AMproject,target_tcp_proxy,targ"
+          + "et_tcp_proxies_set_proxy_header_request_"
+          + "resource\212N\020GlobalOperations\202\323\344\223\002\220\001\"X/com"
+          + "pute/v1/projects/{project}/global/target"
+          + "TcpProxies/{target_tcp_proxy}/setProxyHe"
+          + "ader:4target_tcp_proxies_set_proxy_heade"
+          + "r_request_resource\022\277\002\n\022TestIamPermission"
+          + "s\022@.google.cloud.compute.v1.TestIamPermi"
+          + "ssionsTargetTcpProxyRequest\0320.google.clo"
+          + "ud.compute.v1.TestPermissionsResponse\"\264\001"
+          + "\332A2project,resource,test_permissions_req"
+          + "uest_resource\202\323\344\223\002y\"T/compute/v1/project"
+          + "s/{project}/global/targetTcpProxies/{res"
+          + "ource}/testIamPermissions:!test_permissi"
+          + "ons_request_resource\032r\312A\026compute.googlea"
+          + "pis.com\322AVhttps://www.googleapis.com/aut"
+          + "h/compute,https://www.googleapis.com/aut"
+          + "h/cloud-platform2\354\014\n\021TargetVpnGateways\022\331"
+          + "\001\n\016AggregatedList\022?.google.cloud.compute"
+          + ".v1.AggregatedListTargetVpnGatewaysReque"
+          + "st\0327.google.cloud.compute.v1.TargetVpnGa"
+          + "tewayAggregatedList\"M\332A\007project\202\323\344\223\002=\022;/"
+          + "compute/v1/projects/{project}/aggregated"
+          + "/targetVpnGateways\022\374\001\n\006Delete\0226.google.c"
+          + "loud.compute.v1.DeleteTargetVpnGatewayRe"
+          + "quest\032\".google.cloud.compute.v1.Operatio"
+          + "n\"\225\001\332A!project,region,target_vpn_gateway"
+          + "\212N\020RegionOperations\202\323\344\223\002X*V/compute/v1/p"
+          + "rojects/{project}/regions/{region}/targe"
+          + "tVpnGateways/{target_vpn_gateway}\022\352\001\n\003Ge"
+          + "t\0223.google.cloud.compute.v1.GetTargetVpn"
+          + "GatewayRequest\032).google.cloud.compute.v1"
+          + ".TargetVpnGateway\"\202\001\332A!project,region,ta"
+          + "rget_vpn_gateway\202\323\344\223\002X\022V/compute/v1/proj"
+          + "ects/{project}/regions/{region}/targetVp",
+      "nGateways/{target_vpn_gateway}\022\215\002\n\006Inser"
+          + "t\0226.google.cloud.compute.v1.InsertTarget"
+          + "VpnGatewayRequest\032\".google.cloud.compute"
+          + ".v1.Operation\"\246\001\332A*project,region,target"
+          + "_vpn_gateway_resource\212N\020RegionOperations"
+          + "\202\323\344\223\002`\"A/compute/v1/projects/{project}/r"
+          + "egions/{region}/targetVpnGateways:\033targe"
+          + "t_vpn_gateway_resource\022\310\001\n\004List\0225.google"
+          + ".cloud.compute.v1.ListTargetVpnGatewaysR"
+          + "equest\032-.google.cloud.compute.v1.TargetV"
+          + "pnGatewayList\"Z\332A\016project,region\202\323\344\223\002C\022A"
+          + "/compute/v1/projects/{project}/regions/{"
+          + "region}/targetVpnGateways\022\277\002\n\tSetLabels\022"
+          + "9.google.cloud.compute.v1.SetLabelsTarge"
+          + "tVpnGatewayRequest\032\".google.cloud.comput"
+          + "e.v1.Operation\"\322\001\332A:project,region,resou"
+          + "rce,region_set_labels_request_resource\212N"
+          + "\020RegionOperations\202\323\344\223\002|\"V/compute/v1/pro"
+          + "jects/{project}/regions/{region}/targetV"
+          + "pnGateways/{resource}/setLabels:\"region_"
+          + "set_labels_request_resource\032r\312A\026compute."
           + "googleapis.com\322AVhttps://www.googleapis."
           + "com/auth/compute,https://www.googleapis."
-          + "com/auth/cloud-platform2\371\021\n\020TargetTcpPro"
-          + "xies\022\325\001\n\016AggregatedList\022>.google.cloud.c"
-          + "ompute.v1.AggregatedListTargetTcpProxies"
-          + "Request\0325.google.cloud.compute.v1.Target"
-          + "TcpProxyAggregatedList\"L\332A\007project\202\323\344\223\002<"
-          + "\022:/compute/v1/projects/{project}/aggrega"
-          + "ted/targetTcpProxies\022\343\001\n\006Delete\0224.google"
-          + ".cloud.compute.v1.DeleteTargetTcpProxyRe"
-          + "quest\032\".google.cloud.compute.v1.Operatio"
-          + "n\"\177\332A\030project,target_tcp_proxy\212N\020GlobalO"
-          + "perations\202\323\344\223\002K*I/compute/v1/projects/{p"
-          + "roject}/global/targetTcpProxies/{target_"
-          + "tcp_proxy}\022\317\001\n\003Get\0221.google.cloud.comput"
-          + "e.v1.GetTargetTcpProxyRequest\032\'.google.c"
-          + "loud.compute.v1.TargetTcpProxy\"l\332A\030proje"
-          + "ct,target_tcp_proxy\202\323\344\223\002K\022I/compute/v1/p"
-          + "rojects/{project}/global/targetTcpProxie"
-          + "s/{target_tcp_proxy}\022\365\001\n\006Insert\0224.google"
-          + ".cloud.compute.v1.InsertTargetTcpProxyRe"
+          + "com/auth/cloud-platform2\317\022\n\007UrlMaps\022\274\001\n\016"
+          + "AggregatedList\0225.google.cloud.compute.v1"
+          + ".AggregatedListUrlMapsRequest\032..google.c"
+          + "loud.compute.v1.UrlMapsAggregatedList\"C\332"
+          + "A\007project\202\323\344\223\0023\0221/compute/v1/projects/{p"
+          + "roject}/aggregated/urlMaps\022\300\001\n\006Delete\022,."
+          + "google.cloud.compute.v1.DeleteUrlMapRequ"
+          + "est\032\".google.cloud.compute.v1.Operation\""
+          + "d\332A\017project,url_map\212N\020GlobalOperations\202\323"
+          + "\344\223\0029*7/compute/v1/projects/{project}/glo"
+          + "bal/urlMaps/{url_map}\022\244\001\n\003Get\022).google.c"
+          + "loud.compute.v1.GetUrlMapRequest\032\037.googl"
+          + "e.cloud.compute.v1.UrlMap\"Q\332A\017project,ur"
+          + "l_map\202\323\344\223\0029\0227/compute/v1/projects/{proje"
+          + "ct}/global/urlMaps/{url_map}\022\321\001\n\006Insert\022"
+          + ",.google.cloud.compute.v1.InsertUrlMapRe"
           + "quest\032\".google.cloud.compute.v1.Operatio"
-          + "n\"\220\001\332A!project,target_tcp_proxy_resource"
-          + "\212N\020GlobalOperations\202\323\344\223\002S\"6/compute/v1/p"
-          + "rojects/{project}/global/targetTcpProxie"
-          + "s:\031target_tcp_proxy_resource\022\263\001\n\004List\0224."
-          + "google.cloud.compute.v1.ListTargetTcpPro"
-          + "xiesRequest\032+.google.cloud.compute.v1.Ta"
-          + "rgetTcpProxyList\"H\332A\007project\202\323\344\223\0028\0226/com"
-          + "pute/v1/projects/{project}/global/target"
-          + "TcpProxies\022\376\002\n\021SetBackendService\022?.googl"
-          + "e.cloud.compute.v1.SetBackendServiceTarg"
-          + "etTcpProxyRequest\032\".google.cloud.compute"
-          + ".v1.Operation\"\203\002\332APproject,target_tcp_pr"
-          + "oxy,target_tcp_proxies_set_backend_servi"
-          + "ce_request_resource\212N\020GlobalOperations\202\323"
-          + "\344\223\002\226\001\"[/compute/v1/projects/{project}/gl"
-          + "obal/targetTcpProxies/{target_tcp_proxy}"
-          + "/setBackendService:7target_tcp_proxies_s"
-          + "et_backend_service_request_resource\022\357\002\n\016"
-          + "SetProxyHeader\022<.google.cloud.compute.v1"
-          + ".SetProxyHeaderTargetTcpProxyRequest\032\".g"
-          + "oogle.cloud.compute.v1.Operation\"\372\001\332AMpr"
-          + "oject,target_tcp_proxy,target_tcp_proxie"
-          + "s_set_proxy_header_request_resource\212N\020Gl"
-          + "obalOperations\202\323\344\223\002\220\001\"X/compute/v1/proje"
-          + "cts/{project}/global/targetTcpProxies/{t"
-          + "arget_tcp_proxy}/setProxyHeader:4target_"
-          + "tcp_proxies_set_proxy_header_request_res"
-          + "ource\022\277\002\n\022TestIamPermissions\022@.google.cl"
-          + "oud.compute.v1.TestIamPermissionsTargetT"
-          + "cpProxyRequest\0320.google.cloud.compute.v1"
-          + ".TestPermissionsResponse\"\264\001\332A2project,re"
-          + "source,test_permissions_request_resource"
-          + "\202\323\344\223\002y\"T/compute/v1/projects/{project}/g"
-          + "lobal/targetTcpProxies/{resource}/testIa"
-          + "mPermissions:!test_permissions_request_r"
-          + "esource\032r\312A\026compute.googleapis.com\322AVhtt"
-          + "ps://www.googleapis.com/auth/compute,htt"
-          + "ps://www.googleapis.com/auth/cloud-platf"
-          + "orm2\354\014\n\021TargetVpnGateways\022\331\001\n\016Aggregated"
-          + "List\022?.google.cloud.compute.v1.Aggregate"
-          + "dListTargetVpnGatewaysRequest\0327.google.c"
-          + "loud.compute.v1.TargetVpnGatewayAggregat"
-          + "edList\"M\332A\007project\202\323\344\223\002=\022;/compute/v1/pr"
-          + "ojects/{project}/aggregated/targetVpnGat"
-          + "eways\022\374\001\n\006Delete\0226.google.cloud.compute."
-          + "v1.DeleteTargetVpnGatewayRequest\032\".googl"
-          + "e.cloud.compute.v1.Operation\"\225\001\332A!projec"
-          + "t,region,target_vpn_gateway\212N\020RegionOper"
-          + "ations\202\323\344\223\002X*V/compute/v1/projects/{proj"
-          + "ect}/regions/{region}/targetVpnGateways/"
-          + "{target_vpn_gateway}\022\352\001\n\003Get\0223.google.cl"
-          + "oud.compute.v1.GetTargetVpnGatewayReques"
-          + "t\032).google.cloud.compute.v1.TargetVpnGat"
-          + "eway\"\202\001\332A!project,region,target_vpn_gate"
-          + "way\202\323\344\223\002X\022V/compute/v1/projects/{project"
-          + "}/regions/{region}/targetVpnGateways/{ta"
-          + "rget_vpn_gateway}\022\215\002\n\006Insert\0226.google.cl"
-          + "oud.compute.v1.InsertTargetVpnGatewayReq"
+          + "n\"u\332A\030project,url_map_resource\212N\020GlobalO"
+          + "perations\202\323\344\223\002A\"-/compute/v1/projects/{p"
+          + "roject}/global/urlMaps:\020url_map_resource"
+          + "\022\246\002\n\017InvalidateCache\0225.google.cloud.comp"
+          + "ute.v1.InvalidateCacheUrlMapRequest\032\".go"
+          + "ogle.cloud.compute.v1.Operation\"\267\001\332A0pro"
+          + "ject,url_map,cache_invalidation_rule_res"
+          + "ource\212N\020GlobalOperations\202\323\344\223\002k\"G/compute"
+          + "/v1/projects/{project}/global/urlMaps/{u"
+          + "rl_map}/invalidateCache: cache_invalidat"
+          + "ion_rule_resource\022\231\001\n\004List\022+.google.clou"
+          + "d.compute.v1.ListUrlMapsRequest\032#.google"
+          + ".cloud.compute.v1.UrlMapList\"?\332A\007project"
+          + "\202\323\344\223\002/\022-/compute/v1/projects/{project}/g"
+          + "lobal/urlMaps\022\342\001\n\005Patch\022+.google.cloud.c"
+          + "ompute.v1.PatchUrlMapRequest\032\".google.cl"
+          + "oud.compute.v1.Operation\"\207\001\332A project,ur"
+          + "l_map,url_map_resource\212N\020GlobalOperation"
+          + "s\202\323\344\223\002K27/compute/v1/projects/{project}/"
+          + "global/urlMaps/{url_map}:\020url_map_resour"
+          + "ce\022\256\002\n\022TestIamPermissions\0228.google.cloud"
+          + ".compute.v1.TestIamPermissionsUrlMapRequ"
+          + "est\0320.google.cloud.compute.v1.TestPermis"
+          + "sionsResponse\"\253\001\332A2project,resource,test"
+          + "_permissions_request_resource\202\323\344\223\002p\"K/co"
+          + "mpute/v1/projects/{project}/global/urlMa"
+          + "ps/{resource}/testIamPermissions:!test_p"
+          + "ermissions_request_resource\022\344\001\n\006Update\022,"
+          + ".google.cloud.compute.v1.UpdateUrlMapReq"
           + "uest\032\".google.cloud.compute.v1.Operation"
-          + "\"\246\001\332A*project,region,target_vpn_gateway_"
-          + "resource\212N\020RegionOperations\202\323\344\223\002`\"A/comp"
-          + "ute/v1/projects/{project}/regions/{regio"
-          + "n}/targetVpnGateways:\033target_vpn_gateway"
-          + "_resource\022\310\001\n\004List\0225.google.cloud.comput"
-          + "e.v1.ListTargetVpnGatewaysRequest\032-.goog"
-          + "le.cloud.compute.v1.TargetVpnGatewayList"
-          + "\"Z\332A\016project,region\202\323\344\223\002C\022A/compute/v1/p"
-          + "rojects/{project}/regions/{region}/targe"
-          + "tVpnGateways\022\277\002\n\tSetLabels\0229.google.clou"
-          + "d.compute.v1.SetLabelsTargetVpnGatewayRe"
-          + "quest\032\".google.cloud.compute.v1.Operatio"
-          + "n\"\322\001\332A:project,region,resource,region_se"
-          + "t_labels_request_resource\212N\020RegionOperat"
-          + "ions\202\323\344\223\002|\"V/compute/v1/projects/{projec"
-          + "t}/regions/{region}/targetVpnGateways/{r"
-          + "esource}/setLabels:\"region_set_labels_re"
-          + "quest_resource\032r\312A\026compute.googleapis.co"
-          + "m\322AVhttps://www.googleapis.com/auth/comp"
-          + "ute,https://www.googleapis.com/auth/clou"
-          + "d-platform2\317\022\n\007UrlMaps\022\274\001\n\016AggregatedLis"
-          + "t\0225.google.cloud.compute.v1.AggregatedLi"
-          + "stUrlMapsRequest\032..google.cloud.compute."
-          + "v1.UrlMapsAggregatedList\"C\332A\007project\202\323\344\223"
-          + "\0023\0221/compute/v1/projects/{project}/aggre"
-          + "gated/urlMaps\022\300\001\n\006Delete\022,.google.cloud."
-          + "compute.v1.DeleteUrlMapRequest\032\".google."
-          + "cloud.compute.v1.Operation\"d\332A\017project,u"
-          + "rl_map\212N\020GlobalOperations\202\323\344\223\0029*7/comput"
+          + "\"\207\001\332A project,url_map,url_map_resource\212N"
+          + "\020GlobalOperations\202\323\344\223\002K\0327/compute/v1/pro"
+          + "jects/{project}/global/urlMaps/{url_map}"
+          + ":\020url_map_resource\022\220\002\n\010Validate\022..google"
+          + ".cloud.compute.v1.ValidateUrlMapRequest\032"
+          + "0.google.cloud.compute.v1.UrlMapsValidat"
+          + "eResponse\"\241\001\332A2project,url_map,url_maps_"
+          + "validate_request_resource\202\323\344\223\002f\"@/comput"
           + "e/v1/projects/{project}/global/urlMaps/{"
-          + "url_map}\022\244\001\n\003Get\022).google.cloud.compute."
-          + "v1.GetUrlMapRequest\032\037.google.cloud.compu"
-          + "te.v1.UrlMap\"Q\332A\017project,url_map\202\323\344\223\0029\0227"
-          + "/compute/v1/projects/{project}/global/ur"
-          + "lMaps/{url_map}\022\321\001\n\006Insert\022,.google.clou"
-          + "d.compute.v1.InsertUrlMapRequest\032\".googl"
-          + "e.cloud.compute.v1.Operation\"u\332A\030project"
-          + ",url_map_resource\212N\020GlobalOperations\202\323\344\223"
-          + "\002A\"-/compute/v1/projects/{project}/globa"
-          + "l/urlMaps:\020url_map_resource\022\246\002\n\017Invalida"
-          + "teCache\0225.google.cloud.compute.v1.Invali"
-          + "dateCacheUrlMapRequest\032\".google.cloud.co"
-          + "mpute.v1.Operation\"\267\001\332A0project,url_map,"
-          + "cache_invalidation_rule_resource\212N\020Globa"
-          + "lOperations\202\323\344\223\002k\"G/compute/v1/projects/"
-          + "{project}/global/urlMaps/{url_map}/inval"
-          + "idateCache: cache_invalidation_rule_reso"
-          + "urce\022\231\001\n\004List\022+.google.cloud.compute.v1."
-          + "ListUrlMapsRequest\032#.google.cloud.comput"
-          + "e.v1.UrlMapList\"?\332A\007project\202\323\344\223\002/\022-/comp"
-          + "ute/v1/projects/{project}/global/urlMaps"
-          + "\022\342\001\n\005Patch\022+.google.cloud.compute.v1.Pat"
-          + "chUrlMapRequest\032\".google.cloud.compute.v"
-          + "1.Operation\"\207\001\332A project,url_map,url_map"
-          + "_resource\212N\020GlobalOperations\202\323\344\223\002K27/com"
-          + "pute/v1/projects/{project}/global/urlMap"
-          + "s/{url_map}:\020url_map_resource\022\256\002\n\022TestIa"
-          + "mPermissions\0228.google.cloud.compute.v1.T"
-          + "estIamPermissionsUrlMapRequest\0320.google."
-          + "cloud.compute.v1.TestPermissionsResponse"
-          + "\"\253\001\332A2project,resource,test_permissions_"
-          + "request_resource\202\323\344\223\002p\"K/compute/v1/proj",
-      "ects/{project}/global/urlMaps/{resource}"
-          + "/testIamPermissions:!test_permissions_re"
-          + "quest_resource\022\344\001\n\006Update\022,.google.cloud"
-          + ".compute.v1.UpdateUrlMapRequest\032\".google"
-          + ".cloud.compute.v1.Operation\"\207\001\332A project"
-          + ",url_map,url_map_resource\212N\020GlobalOperat"
-          + "ions\202\323\344\223\002K\0327/compute/v1/projects/{projec"
-          + "t}/global/urlMaps/{url_map}:\020url_map_res"
-          + "ource\022\220\002\n\010Validate\022..google.cloud.comput"
-          + "e.v1.ValidateUrlMapRequest\0320.google.clou"
-          + "d.compute.v1.UrlMapsValidateResponse\"\241\001\332"
-          + "A2project,url_map,url_maps_validate_requ"
-          + "est_resource\202\323\344\223\002f\"@/compute/v1/projects"
-          + "/{project}/global/urlMaps/{url_map}/vali"
-          + "date:\"url_maps_validate_request_resource"
-          + "\032r\312A\026compute.googleapis.com\322AVhttps://ww"
-          + "w.googleapis.com/auth/compute,https://ww"
-          + "w.googleapis.com/auth/cloud-platform2\237\020\n"
-          + "\013VpnGateways\022\307\001\n\016AggregatedList\0229.google"
-          + ".cloud.compute.v1.AggregatedListVpnGatew"
-          + "aysRequest\0321.google.cloud.compute.v1.Vpn"
-          + "GatewayAggregatedList\"G\332A\007project\202\323\344\223\0027\022"
-          + "5/compute/v1/projects/{project}/aggregat"
-          + "ed/vpnGateways\022\342\001\n\006Delete\0220.google.cloud"
-          + ".compute.v1.DeleteVpnGatewayRequest\032\".go"
-          + "ogle.cloud.compute.v1.Operation\"\201\001\332A\032pro"
-          + "ject,region,vpn_gateway\212N\020RegionOperatio"
-          + "ns\202\323\344\223\002K*I/compute/v1/projects/{project}"
-          + "/regions/{region}/vpnGateways/{vpn_gatew"
-          + "ay}\022\311\001\n\003Get\022-.google.cloud.compute.v1.Ge"
-          + "tVpnGatewayRequest\032#.google.cloud.comput"
-          + "e.v1.VpnGateway\"n\332A\032project,region,vpn_g"
-          + "ateway\202\323\344\223\002K\022I/compute/v1/projects/{proj"
-          + "ect}/regions/{region}/vpnGateways/{vpn_g"
-          + "ateway}\022\361\001\n\tGetStatus\0223.google.cloud.com"
-          + "pute.v1.GetStatusVpnGatewayRequest\0325.goo"
-          + "gle.cloud.compute.v1.VpnGatewaysGetStatu"
-          + "sResponse\"x\332A\032project,region,vpn_gateway"
-          + "\202\323\344\223\002U\022S/compute/v1/projects/{project}/r"
-          + "egions/{region}/vpnGateways/{vpn_gateway"
-          + "}/getStatus\022\363\001\n\006Insert\0220.google.cloud.co"
-          + "mpute.v1.InsertVpnGatewayRequest\032\".googl"
-          + "e.cloud.compute.v1.Operation\"\222\001\332A#projec"
-          + "t,region,vpn_gateway_resource\212N\020RegionOp"
-          + "erations\202\323\344\223\002S\";/compute/v1/projects/{pr"
-          + "oject}/regions/{region}/vpnGateways:\024vpn"
-          + "_gateway_resource\022\266\001\n\004List\022/.google.clou"
-          + "d.compute.v1.ListVpnGatewaysRequest\032\'.go"
-          + "ogle.cloud.compute.v1.VpnGatewayList\"T\332A"
-          + "\016project,region\202\323\344\223\002=\022;/compute/v1/proje"
+          + "url_map}/validate:\"url_maps_validate_req"
+          + "uest_resource\032r\312A\026compute.googleapis.com"
+          + "\322AVhttps://www.googleapis.com/auth/compu"
+          + "te,https://www.googleapis.com/auth/cloud"
+          + "-platform2\237\020\n\013VpnGateways\022\307\001\n\016Aggregated"
+          + "List\0229.google.cloud.compute.v1.Aggregate"
+          + "dListVpnGatewaysRequest\0321.google.cloud.c"
+          + "ompute.v1.VpnGatewayAggregatedList\"G\332A\007p"
+          + "roject\202\323\344\223\0027\0225/compute/v1/projects/{proj"
+          + "ect}/aggregated/vpnGateways\022\342\001\n\006Delete\0220"
+          + ".google.cloud.compute.v1.DeleteVpnGatewa"
+          + "yRequest\032\".google.cloud.compute.v1.Opera"
+          + "tion\"\201\001\332A\032project,region,vpn_gateway\212N\020R"
+          + "egionOperations\202\323\344\223\002K*I/compute/v1/proje"
           + "cts/{project}/regions/{region}/vpnGatewa"
-          + "ys\022\263\002\n\tSetLabels\0223.google.cloud.compute."
-          + "v1.SetLabelsVpnGatewayRequest\032\".google.c"
-          + "loud.compute.v1.Operation\"\314\001\332A:project,r"
-          + "egion,resource,region_set_labels_request"
-          + "_resource\212N\020RegionOperations\202\323\344\223\002v\"P/com"
+          + "ys/{vpn_gateway}\022\311\001\n\003Get\022-.google.cloud."
+          + "compute.v1.GetVpnGatewayRequest\032#.google"
+          + ".cloud.compute.v1.VpnGateway\"n\332A\032project"
+          + ",region,vpn_gateway\202\323\344\223\002K\022I/compute/v1/p"
+          + "rojects/{project}/regions/{region}/vpnGa"
+          + "teways/{vpn_gateway}\022\361\001\n\tGetStatus\0223.goo"
+          + "gle.cloud.compute.v1.GetStatusVpnGateway"
+          + "Request\0325.google.cloud.compute.v1.VpnGat"
+          + "ewaysGetStatusResponse\"x\332A\032project,regio"
+          + "n,vpn_gateway\202\323\344\223\002U\022S/compute/v1/project"
+          + "s/{project}/regions/{region}/vpnGateways"
+          + "/{vpn_gateway}/getStatus\022\363\001\n\006Insert\0220.go"
+          + "ogle.cloud.compute.v1.InsertVpnGatewayRe"
+          + "quest\032\".google.cloud.compute.v1.Operatio"
+          + "n\"\222\001\332A#project,region,vpn_gateway_resour"
+          + "ce\212N\020RegionOperations\202\323\344\223\002S\";/compute/v1"
+          + "/projects/{project}/regions/{region}/vpn"
+          + "Gateways:\024vpn_gateway_resource\022\266\001\n\004List\022"
+          + "/.google.cloud.compute.v1.ListVpnGateway"
+          + "sRequest\032\'.google.cloud.compute.v1.VpnGa"
+          + "tewayList\"T\332A\016project,region\202\323\344\223\002=\022;/com"
           + "pute/v1/projects/{project}/regions/{regi"
-          + "on}/vpnGateways/{resource}/setLabels:\"re"
-          + "gion_set_labels_request_resource\022\307\002\n\022Tes"
-          + "tIamPermissions\022<.google.cloud.compute.v"
-          + "1.TestIamPermissionsVpnGatewayRequest\0320."
-          + "google.cloud.compute.v1.TestPermissionsR"
-          + "esponse\"\300\001\332A9project,region,resource,tes"
-          + "t_permissions_request_resource\202\323\344\223\002~\"Y/c"
-          + "ompute/v1/projects/{project}/regions/{re"
-          + "gion}/vpnGateways/{resource}/testIamPerm"
-          + "issions:!test_permissions_request_resour"
-          + "ce\032r\312A\026compute.googleapis.com\322AVhttps://"
-          + "www.googleapis.com/auth/compute,https://"
-          + "www.googleapis.com/auth/cloud-platform2\312"
-          + "\013\n\nVpnTunnels\022\304\001\n\016AggregatedList\0228.googl"
-          + "e.cloud.compute.v1.AggregatedListVpnTunn"
-          + "elsRequest\0320.google.cloud.compute.v1.Vpn"
-          + "TunnelAggregatedList\"F\332A\007project\202\323\344\223\0026\0224"
-          + "/compute/v1/projects/{project}/aggregate"
-          + "d/vpnTunnels\022\335\001\n\006Delete\022/.google.cloud.c"
-          + "ompute.v1.DeleteVpnTunnelRequest\032\".googl"
-          + "e.cloud.compute.v1.Operation\"~\332A\031project"
-          + ",region,vpn_tunnel\212N\020RegionOperations\202\323\344"
-          + "\223\002I*G/compute/v1/projects/{project}/regi"
-          + "ons/{region}/vpnTunnels/{vpn_tunnel}\022\304\001\n"
-          + "\003Get\022,.google.cloud.compute.v1.GetVpnTun"
-          + "nelRequest\032\".google.cloud.compute.v1.Vpn"
-          + "Tunnel\"k\332A\031project,region,vpn_tunnel\202\323\344\223"
-          + "\002I\022G/compute/v1/projects/{project}/regio"
-          + "ns/{region}/vpnTunnels/{vpn_tunnel}\022\357\001\n\006"
-          + "Insert\022/.google.cloud.compute.v1.InsertV"
-          + "pnTunnelRequest\032\".google.cloud.compute.v"
-          + "1.Operation\"\217\001\332A\"project,region,vpn_tunn"
-          + "el_resource\212N\020RegionOperations\202\323\344\223\002Q\":/c"
-          + "ompute/v1/projects/{project}/regions/{re"
-          + "gion}/vpnTunnels:\023vpn_tunnel_resource\022\263\001"
-          + "\n\004List\022..google.cloud.compute.v1.ListVpn"
-          + "TunnelsRequest\032&.google.cloud.compute.v1"
-          + ".VpnTunnelList\"S\332A\016project,region\202\323\344\223\002<\022"
-          + ":/compute/v1/projects/{project}/regions/"
-          + "{region}/vpnTunnels\022\261\002\n\tSetLabels\0222.goog"
-          + "le.cloud.compute.v1.SetLabelsVpnTunnelRe"
+          + "on}/vpnGateways\022\263\002\n\tSetLabels\0223.google.c"
+          + "loud.compute.v1.SetLabelsVpnGatewayReque"
+          + "st\032\".google.cloud.compute.v1.Operation\"\314"
+          + "\001\332A:project,region,resource,region_set_l"
+          + "abels_request_resource\212N\020RegionOperation"
+          + "s\202\323\344\223\002v\"P/compute/v1/projects/{project}/"
+          + "regions/{region}/vpnGateways/{resource}/"
+          + "setLabels:\"region_set_labels_request_res"
+          + "ource\022\307\002\n\022TestIamPermissions\022<.google.cl"
+          + "oud.compute.v1.TestIamPermissionsVpnGate"
+          + "wayRequest\0320.google.cloud.compute.v1.Tes"
+          + "tPermissionsResponse\"\300\001\332A9project,region"
+          + ",resource,test_permissions_request_resou"
+          + "rce\202\323\344\223\002~\"Y/compute/v1/projects/{project"
+          + "}/regions/{region}/vpnGateways/{resource"
+          + "}/testIamPermissions:!test_permissions_r"
+          + "equest_resource\032r\312A\026compute.googleapis.c"
+          + "om\322AVhttps://www.googleapis.com/auth/com"
+          + "pute,https://www.googleapis.com/auth/clo"
+          + "ud-platform2\312\013\n\nVpnTunnels\022\304\001\n\016Aggregate"
+          + "dList\0228.google.cloud.compute.v1.Aggregat"
+          + "edListVpnTunnelsRequest\0320.google.cloud.c"
+          + "ompute.v1.VpnTunnelAggregatedList\"F\332A\007pr"
+          + "oject\202\323\344\223\0026\0224/compute/v1/projects/{proje"
+          + "ct}/aggregated/vpnTunnels\022\335\001\n\006Delete\022/.g"
+          + "oogle.cloud.compute.v1.DeleteVpnTunnelRe"
           + "quest\032\".google.cloud.compute.v1.Operatio"
-          + "n\"\313\001\332A:project,region,resource,region_se"
-          + "t_labels_request_resource\212N\020RegionOperat"
-          + "ions\202\323\344\223\002u\"O/compute/v1/projects/{projec"
-          + "t}/regions/{region}/vpnTunnels/{resource"
-          + "}/setLabels:\"region_set_labels_request_r"
-          + "esource\032r\312A\026compute.googleapis.com\322AVhtt"
-          + "ps://www.googleapis.com/auth/compute,htt"
-          + "ps://www.googleapis.com/auth/cloud-platf"
-          + "orm2\246\013\n\nWireGroups\022\207\002\n\006Delete\022/.google.c"
-          + "loud.compute.v1.DeleteWireGroupRequest\032\""
-          + ".google.cloud.compute.v1.Operation\"\247\001\332A%"
-          + "project,cross_site_network,wire_group\212N\020"
-          + "GlobalOperations\202\323\344\223\002f*d/compute/v1/proj"
-          + "ects/{project}/global/crossSiteNetworks/"
-          + "{cross_site_network}/wireGroups/{wire_gr"
-          + "oup}\022\356\001\n\003Get\022,.google.cloud.compute.v1.G"
-          + "etWireGroupRequest\032\".google.cloud.comput"
-          + "e.v1.WireGroup\"\224\001\332A%project,cross_site_n"
-          + "etwork,wire_group\202\323\344\223\002f\022d/compute/v1/pro"
-          + "jects/{project}/global/crossSiteNetworks"
-          + "/{cross_site_network}/wireGroups/{wire_g"
-          + "roup}\022\230\002\n\006Insert\022/.google.cloud.compute."
-          + "v1.InsertWireGroupRequest\032\".google.cloud"
-          + ".compute.v1.Operation\"\270\001\332A.project,cross"
-          + "_site_network,wire_group_resource\212N\020Glob"
-          + "alOperations\202\323\344\223\002n\"W/compute/v1/projects"
-          + "/{project}/global/crossSiteNetworks/{cro"
-          + "ss_site_network}/wireGroups:\023wire_group_"
-          + "resource\022\334\001\n\004List\022..google.cloud.compute"
-          + ".v1.ListWireGroupsRequest\032&.google.cloud"
-          + ".compute.v1.WireGroupList\"|\332A\032project,cr"
-          + "oss_site_network\202\323\344\223\002Y\022W/compute/v1/proj"
-          + "ects/{project}/global/crossSiteNetworks/"
-          + "{cross_site_network}/wireGroups\022\256\002\n\005Patc"
-          + "h\022..google.cloud.compute.v1.PatchWireGro"
-          + "upRequest\032\".google.cloud.compute.v1.Oper"
-          + "ation\"\320\001\332A9project,cross_site_network,wi"
-          + "re_group,wire_group_resource\212N\020GlobalOpe"
-          + "rations\202\323\344\223\002{2d/compute/v1/projects/{pro"
-          + "ject}/global/crossSiteNetworks/{cross_si"
-          + "te_network}/wireGroups/{wire_group}:\023wir"
-          + "e_group_resource\032r\312A\026compute.googleapis."
-          + "com\322AVhttps://www.googleapis.com/auth/co"
-          + "mpute,https://www.googleapis.com/auth/cl"
-          + "oud-platform2\243\007\n\016ZoneOperations\022\330\001\n\006Dele"
-          + "te\0223.google.cloud.compute.v1.DeleteZoneO"
-          + "perationRequest\0324.google.cloud.compute.v"
-          + "1.DeleteZoneOperationResponse\"c\332A\026projec"
-          + "t,zone,operation\202\323\344\223\002D*B/compute/v1/proj"
-          + "ects/{project}/zones/{zone}/operations/{"
-          + "operation}\022\303\001\n\003Get\0220.google.cloud.comput"
-          + "e.v1.GetZoneOperationRequest\032\".google.cl"
-          + "oud.compute.v1.Operation\"f\332A\026project,zon"
-          + "e,operation\220N\001\202\323\344\223\002D\022B/compute/v1/projec"
-          + "ts/{project}/zones/{zone}/operations/{op"
-          + "eration}\022\261\001\n\004List\0222.google.cloud.compute"
-          + ".v1.ListZoneOperationsRequest\032&.google.c"
-          + "loud.compute.v1.OperationList\"M\332A\014projec"
-          + "t,zone\202\323\344\223\0028\0226/compute/v1/projects/{proj"
-          + "ect}/zones/{zone}/operations\022\307\001\n\004Wait\0221."
-          + "google.cloud.compute.v1.WaitZoneOperatio"
-          + "nRequest\032\".google.cloud.compute.v1.Opera"
-          + "tion\"h\332A\026project,zone,operation\202\323\344\223\002I\"G/"
+          + "n\"~\332A\031project,region,vpn_tunnel\212N\020Region"
+          + "Operations\202\323\344\223\002I*G/compute/v1/projects/{"
+          + "project}/regions/{region}/vpnTunnels/{vp"
+          + "n_tunnel}\022\304\001\n\003Get\022,.google.cloud.compute"
+          + ".v1.GetVpnTunnelRequest\032\".google.cloud.c"
+          + "ompute.v1.VpnTunnel\"k\332A\031project,region,v"
+          + "pn_tunnel\202\323\344\223\002I\022G/compute/v1/projects/{p"
+          + "roject}/regions/{region}/vpnTunnels/{vpn"
+          + "_tunnel}\022\357\001\n\006Insert\022/.google.cloud.compu"
+          + "te.v1.InsertVpnTunnelRequest\032\".google.cl"
+          + "oud.compute.v1.Operation\"\217\001\332A\"project,re"
+          + "gion,vpn_tunnel_resource\212N\020RegionOperati"
+          + "ons\202\323\344\223\002Q\":/compute/v1/projects/{project"
+          + "}/regions/{region}/vpnTunnels:\023vpn_tunne"
+          + "l_resource\022\263\001\n\004List\022..google.cloud.compu"
+          + "te.v1.ListVpnTunnelsRequest\032&.google.clo"
+          + "ud.compute.v1.VpnTunnelList\"S\332A\016project,"
+          + "region\202\323\344\223\002<\022:/compute/v1/projects/{proj"
+          + "ect}/regions/{region}/vpnTunnels\022\261\002\n\tSet"
+          + "Labels\0222.google.cloud.compute.v1.SetLabe"
+          + "lsVpnTunnelRequest\032\".google.cloud.comput"
+          + "e.v1.Operation\"\313\001\332A:project,region,resou"
+          + "rce,region_set_labels_request_resource\212N"
+          + "\020RegionOperations\202\323\344\223\002u\"O/compute/v1/pro"
+          + "jects/{project}/regions/{region}/vpnTunn"
+          + "els/{resource}/setLabels:\"region_set_lab"
+          + "els_request_resource\032r\312A\026compute.googlea"
+          + "pis.com\322AVhttps://www.googleapis.com/aut"
+          + "h/compute,https://www.googleapis.com/aut"
+          + "h/cloud-platform2\246\013\n\nWireGroups\022\207\002\n\006Dele"
+          + "te\022/.google.cloud.compute.v1.DeleteWireG"
+          + "roupRequest\032\".google.cloud.compute.v1.Op"
+          + "eration\"\247\001\332A%project,cross_site_network,"
+          + "wire_group\212N\020GlobalOperations\202\323\344\223\002f*d/co"
+          + "mpute/v1/projects/{project}/global/cross"
+          + "SiteNetworks/{cross_site_network}/wireGr"
+          + "oups/{wire_group}\022\356\001\n\003Get\022,.google.cloud"
+          + ".compute.v1.GetWireGroupRequest\032\".google"
+          + ".cloud.compute.v1.WireGroup\"\224\001\332A%project"
+          + ",cross_site_network,wire_group\202\323\344\223\002f\022d/c"
+          + "ompute/v1/projects/{project}/global/cros"
+          + "sSiteNetworks/{cross_site_network}/wireG"
+          + "roups/{wire_group}\022\230\002\n\006Insert\022/.google.c"
+          + "loud.compute.v1.InsertWireGroupRequest\032\""
+          + ".google.cloud.compute.v1.Operation\"\270\001\332A."
+          + "project,cross_site_network,wire_group_re"
+          + "source\212N\020GlobalOperations\202\323\344\223\002n\"W/comput"
+          + "e/v1/projects/{project}/global/crossSite"
+          + "Networks/{cross_site_network}/wireGroups"
+          + ":\023wire_group_resource\022\334\001\n\004List\022..google."
+          + "cloud.compute.v1.ListWireGroupsRequest\032&"
+          + ".google.cloud.compute.v1.WireGroupList\"|"
+          + "\332A\032project,cross_site_network\202\323\344\223\002Y\022W/co"
+          + "mpute/v1/projects/{project}/global/cross"
+          + "SiteNetworks/{cross_site_network}/wireGr"
+          + "oups\022\256\002\n\005Patch\022..google.cloud.compute.v1"
+          + ".PatchWireGroupRequest\032\".google.cloud.co"
+          + "mpute.v1.Operation\"\320\001\332A9project,cross_si"
+          + "te_network,wire_group,wire_group_resourc"
+          + "e\212N\020GlobalOperations\202\323\344\223\002{2d/compute/v1/"
+          + "projects/{project}/global/crossSiteNetwo"
+          + "rks/{cross_site_network}/wireGroups/{wir"
+          + "e_group}:\023wire_group_resource\032r\312A\026comput"
+          + "e.googleapis.com\322AVhttps://www.googleapi"
+          + "s.com/auth/compute,https://www.googleapi"
+          + "s.com/auth/cloud-platform2\243\007\n\016ZoneOperat"
+          + "ions\022\330\001\n\006Delete\0223.google.cloud.compute.v"
+          + "1.DeleteZoneOperationRequest\0324.google.cl"
+          + "oud.compute.v1.DeleteZoneOperationRespon"
+          + "se\"c\332A\026project,zone,operation\202\323\344\223\002D*B/co"
+          + "mpute/v1/projects/{project}/zones/{zone}"
+          + "/operations/{operation}\022\303\001\n\003Get\0220.google"
+          + ".cloud.compute.v1.GetZoneOperationReques"
+          + "t\032\".google.cloud.compute.v1.Operation\"f\332"
+          + "A\026project,zone,operation\220N\001\202\323\344\223\002D\022B/comp"
+          + "ute/v1/projects/{project}/zones/{zone}/o"
+          + "perations/{operation}\022\261\001\n\004List\0222.google."
+          + "cloud.compute.v1.ListZoneOperationsReque"
+          + "st\032&.google.cloud.compute.v1.OperationLi"
+          + "st\"M\332A\014project,zone\202\323\344\223\0028\0226/compute/v1/p"
+          + "rojects/{project}/zones/{zone}/operation"
+          + "s\022\307\001\n\004Wait\0221.google.cloud.compute.v1.Wai"
+          + "tZoneOperationRequest\032\".google.cloud.com"
+          + "pute.v1.Operation\"h\332A\026project,zone,opera"
+          + "tion\202\323\344\223\002I\"G/compute/v1/projects/{projec"
+          + "t}/zones/{zone}/operations/{operation}/w"
+          + "ait\032r\312A\026compute.googleapis.com\322AVhttps:/"
+          + "/www.googleapis.com/auth/compute,https:/"
+          + "/www.googleapis.com/auth/cloud-platform2"
+          + "\230\013\n\027ZoneVmExtensionPolicies\022\375\001\n\006Delete\022;"
+          + ".google.cloud.compute.v1.DeleteZoneVmExt"
+          + "ensionPolicyRequest\032\".google.cloud.compu"
+          + "te.v1.Operation\"\221\001\332A project,zone,vm_ext"
+          + "ension_policy\212N\016ZoneOperations\202\323\344\223\002W*U/c"
+          + "ompute/v1/projects/{project}/zones/{zone"
+          + "}/vmExtensionPolicies/{vm_extension_poli"
+          + "cy}\022\356\001\n\003Get\0228.google.cloud.compute.v1.Ge"
+          + "tZoneVmExtensionPolicyRequest\032*.google.c"
+          + "loud.compute.v1.VmExtensionPolicy\"\200\001\332A p"
+          + "roject,zone,vm_extension_policy\202\323\344\223\002W\022U/"
           + "compute/v1/projects/{project}/zones/{zon"
-          + "e}/operations/{operation}/wait\032r\312A\026compu"
-          + "te.googleapis.com\322AVhttps://www.googleap"
-          + "is.com/auth/compute,https://www.googleap"
-          + "is.com/auth/cloud-platform2\230\013\n\027ZoneVmExt"
-          + "ensionPolicies\022\375\001\n\006Delete\022;.google.cloud"
-          + ".compute.v1.DeleteZoneVmExtensionPolicyR"
-          + "equest\032\".google.cloud.compute.v1.Operati"
-          + "on\"\221\001\332A project,zone,vm_extension_policy"
-          + "\212N\016ZoneOperations\202\323\344\223\002W*U/compute/v1/pro"
-          + "jects/{project}/zones/{zone}/vmExtension"
-          + "Policies/{vm_extension_policy}\022\356\001\n\003Get\0228"
-          + ".google.cloud.compute.v1.GetZoneVmExtens"
-          + "ionPolicyRequest\032*.google.cloud.compute."
-          + "v1.VmExtensionPolicy\"\200\001\332A project,zone,v"
-          + "m_extension_policy\202\323\344\223\002W\022U/compute/v1/pr"
-          + "ojects/{project}/zones/{zone}/vmExtensio"
-          + "nPolicies/{vm_extension_policy}\022\216\002\n\006Inse"
-          + "rt\022;.google.cloud.compute.v1.InsertZoneV"
-          + "mExtensionPolicyRequest\032\".google.cloud.c"
-          + "ompute.v1.Operation\"\242\001\332A)project,zone,vm"
-          + "_extension_policy_resource\212N\016ZoneOperati"
-          + "ons\202\323\344\223\002_\"?/compute/v1/projects/{project"
-          + "}/zones/{zone}/vmExtensionPolicies:\034vm_e"
-          + "xtension_policy_resource\022\313\001\n\004List\022;.goog"
-          + "le.cloud.compute.v1.ListZoneVmExtensionP"
-          + "oliciesRequest\032..google.cloud.compute.v1"
-          + ".VmExtensionPolicyList\"V\332A\014project,zone\202"
-          + "\323\344\223\002A\022?/compute/v1/projects/{project}/zo"
-          + "nes/{zone}/vmExtensionPolicies\022\270\002\n\006Updat"
-          + "e\022;.google.cloud.compute.v1.UpdateZoneVm"
-          + "ExtensionPolicyRequest\032\".google.cloud.co"
-          + "mpute.v1.Operation\"\314\001\332A=project,zone,vm_"
-          + "extension_policy,vm_extension_policy_res"
-          + "ource\212N\016ZoneOperations\202\323\344\223\002u2U/compute/v"
-          + "1/projects/{project}/zones/{zone}/vmExte"
-          + "nsionPolicies/{vm_extension_policy}:\034vm_"
-          + "extension_policy_resource\032r\312A\026compute.go"
-          + "ogleapis.com\322AVhttps://www.googleapis.co"
-          + "m/auth/compute,https://www.googleapis.co"
-          + "m/auth/cloud-platform2\321\003\n\005Zones\022\221\001\n\003Get\022"
-          + "\'.google.cloud.compute.v1.GetZoneRequest"
-          + "\032\035.google.cloud.compute.v1.Zone\"B\332A\014proj"
-          + "ect,zone\202\323\344\223\002-\022+/compute/v1/projects/{pr"
-          + "oject}/zones/{zone}\022\214\001\n\004List\022).google.cl"
-          + "oud.compute.v1.ListZonesRequest\032!.google"
-          + ".cloud.compute.v1.ZoneList\"6\332A\007project\202\323"
-          + "\344\223\002&\022$/compute/v1/projects/{project}/zon"
-          + "es\032\244\001\312A\026compute.googleapis.com\322A\207\001https:"
-          + "//www.googleapis.com/auth/compute.readon"
-          + "ly,https://www.googleapis.com/auth/compu"
-          + "te,https://www.googleapis.com/auth/cloud"
-          + "-platformB\247\001\n\033com.google.cloud.compute.v"
-          + "1P\001Z5cloud.google.com/go/compute/apiv1/c"
-          + "omputepb;computepb\252\002\027Google.Cloud.Comput"
-          + "e.V1\312\002\027Google\\Cloud\\Compute\\V1\352\002\032Google:"
-          + ":Cloud::Compute::V1b\006proto3"
+          + "e}/vmExtensionPolicies/{vm_extension_pol"
+          + "icy}\022\216\002\n\006Insert\022;.google.cloud.compute.v"
+          + "1.InsertZoneVmExtensionPolicyRequest\032\".g"
+          + "oogle.cloud.compute.v1.Operation\"\242\001\332A)pr"
+          + "oject,zone,vm_extension_policy_resource\212"
+          + "N\016ZoneOperations\202\323\344\223\002_\"?/compute/v1/proj"
+          + "ects/{project}/zones/{zone}/vmExtensionP"
+          + "olicies:\034vm_extension_policy_resource\022\313\001"
+          + "\n\004List\022;.google.cloud.compute.v1.ListZon"
+          + "eVmExtensionPoliciesRequest\032..google.clo"
+          + "ud.compute.v1.VmExtensionPolicyList\"V\332A\014"
+          + "project,zone\202\323\344\223\002A\022?/compute/v1/projects"
+          + "/{project}/zones/{zone}/vmExtensionPolic"
+          + "ies\022\270\002\n\006Update\022;.google.cloud.compute.v1"
+          + ".UpdateZoneVmExtensionPolicyRequest\032\".go"
+          + "ogle.cloud.compute.v1.Operation\"\314\001\332A=pro"
+          + "ject,zone,vm_extension_policy,vm_extensi"
+          + "on_policy_resource\212N\016ZoneOperations\202\323\344\223\002"
+          + "u2U/compute/v1/projects/{project}/zones/"
+          + "{zone}/vmExtensionPolicies/{vm_extension"
+          + "_policy}:\034vm_extension_policy_resource\032r"
+          + "\312A\026compute.googleapis.com\322AVhttps://www."
+          + "googleapis.com/auth/compute,https://www."
+          + "googleapis.com/auth/cloud-platform2\321\003\n\005Z"
+          + "ones\022\221\001\n\003Get\022\'.google.cloud.compute.v1.G"
+          + "etZoneRequest\032\035.google.cloud.compute.v1."
+          + "Zone\"B\332A\014project,zone\202\323\344\223\002-\022+/compute/v1"
+          + "/projects/{project}/zones/{zone}\022\214\001\n\004Lis"
+          + "t\022).google.cloud.compute.v1.ListZonesReq"
+          + "uest\032!.google.cloud.compute.v1.ZoneList\""
+          + "6\332A\007project\202\323\344\223\002&\022$/compute/v1/projects/"
+          + "{project}/zones\032\244\001\312A\026compute.googleapis."
+          + "com\322A\207\001https://www.googleapis.com/auth/c"
+          + "ompute.readonly,https://www.googleapis.c"
+          + "om/auth/compute,https://www.googleapis.c"
+          + "om/auth/cloud-platformB\247\001\n\033com.google.cl"
+          + "oud.compute.v1P\001Z5cloud.google.com/go/co"
+          + "mpute/apiv1/computepb;computepb\252\002\027Google"
+          + ".Cloud.Compute.V1\312\002\027Google\\Cloud\\Compute"
+          + "\\V1\352\002\032Google::Cloud::Compute::V1b\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -45621,8 +45649,28 @@ private static void _clinit_autosplit_dinit_1() {
             new java.lang.String[] {
               "HealthCheck", "Project",
             });
-    internal_static_google_cloud_compute_v1_GetHealthRegionBackendServiceRequest_descriptor =
+    internal_static_google_cloud_compute_v1_GetHealthOperationMetadata_descriptor =
         getDescriptor().getMessageType(486);
+    internal_static_google_cloud_compute_v1_GetHealthOperationMetadata_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+            internal_static_google_cloud_compute_v1_GetHealthOperationMetadata_descriptor,
+            new java.lang.String[] {
+              "HealthInfo",
+            });
+    internal_static_google_cloud_compute_v1_GetHealthOperationMetadataHealthInfo_descriptor =
+        getDescriptor().getMessageType(487);
+    internal_static_google_cloud_compute_v1_GetHealthOperationMetadataHealthInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+            internal_static_google_cloud_compute_v1_GetHealthOperationMetadataHealthInfo_descriptor,
+            new java.lang.String[] {
+              "AvailabilitySloStatus",
+              "HealthStatus",
+              "RepairCategory",
+              "UnhealthyReason",
+              "UpdateTime",
+            });
+    internal_static_google_cloud_compute_v1_GetHealthRegionBackendServiceRequest_descriptor =
+        getDescriptor().getMessageType(488);
     internal_static_google_cloud_compute_v1_GetHealthRegionBackendServiceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetHealthRegionBackendServiceRequest_descriptor,
@@ -45630,7 +45678,7 @@ private static void _clinit_autosplit_dinit_1() {
               "BackendService", "Project", "Region", "ResourceGroupReferenceResource",
             });
     internal_static_google_cloud_compute_v1_GetHealthRegionCompositeHealthCheckRequest_descriptor =
-        getDescriptor().getMessageType(487);
+        getDescriptor().getMessageType(489);
     internal_static_google_cloud_compute_v1_GetHealthRegionCompositeHealthCheckRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetHealthRegionCompositeHealthCheckRequest_descriptor,
@@ -45638,15 +45686,23 @@ private static void _clinit_autosplit_dinit_1() {
               "CompositeHealthCheck", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetHealthRegionHealthSourceRequest_descriptor =
-        getDescriptor().getMessageType(488);
+        getDescriptor().getMessageType(490);
     internal_static_google_cloud_compute_v1_GetHealthRegionHealthSourceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetHealthRegionHealthSourceRequest_descriptor,
             new java.lang.String[] {
               "HealthSource", "Project", "Region",
             });
+    internal_static_google_cloud_compute_v1_GetHealthReservationSlotRequest_descriptor =
+        getDescriptor().getMessageType(491);
+    internal_static_google_cloud_compute_v1_GetHealthReservationSlotRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+            internal_static_google_cloud_compute_v1_GetHealthReservationSlotRequest_descriptor,
+            new java.lang.String[] {
+              "ParentName", "Project", "RequestId", "ReservationSlot", "Zone",
+            });
     internal_static_google_cloud_compute_v1_GetHealthTargetPoolRequest_descriptor =
-        getDescriptor().getMessageType(489);
+        getDescriptor().getMessageType(492);
     internal_static_google_cloud_compute_v1_GetHealthTargetPoolRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetHealthTargetPoolRequest_descriptor,
@@ -45654,7 +45710,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InstanceReferenceResource", "Project", "Region", "TargetPool",
             });
     internal_static_google_cloud_compute_v1_GetHostRequest_descriptor =
-        getDescriptor().getMessageType(490);
+        getDescriptor().getMessageType(493);
     internal_static_google_cloud_compute_v1_GetHostRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetHostRequest_descriptor,
@@ -45662,7 +45718,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Association", "Host", "Project", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyBackendBucketRequest_descriptor =
-        getDescriptor().getMessageType(491);
+        getDescriptor().getMessageType(494);
     internal_static_google_cloud_compute_v1_GetIamPolicyBackendBucketRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyBackendBucketRequest_descriptor,
@@ -45670,7 +45726,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyBackendServiceRequest_descriptor =
-        getDescriptor().getMessageType(492);
+        getDescriptor().getMessageType(495);
     internal_static_google_cloud_compute_v1_GetIamPolicyBackendServiceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyBackendServiceRequest_descriptor,
@@ -45678,7 +45734,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyDiskRequest_descriptor =
-        getDescriptor().getMessageType(493);
+        getDescriptor().getMessageType(496);
     internal_static_google_cloud_compute_v1_GetIamPolicyDiskRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyDiskRequest_descriptor,
@@ -45686,7 +45742,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Resource", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(494);
+        getDescriptor().getMessageType(497);
     internal_static_google_cloud_compute_v1_GetIamPolicyFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyFirewallPolicyRequest_descriptor,
@@ -45694,7 +45750,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Resource",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyImageRequest_descriptor =
-        getDescriptor().getMessageType(495);
+        getDescriptor().getMessageType(498);
     internal_static_google_cloud_compute_v1_GetIamPolicyImageRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyImageRequest_descriptor,
@@ -45702,7 +45758,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyInstanceRequest_descriptor =
-        getDescriptor().getMessageType(496);
+        getDescriptor().getMessageType(499);
     internal_static_google_cloud_compute_v1_GetIamPolicyInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyInstanceRequest_descriptor,
@@ -45710,7 +45766,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Resource", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyInstanceTemplateRequest_descriptor =
-        getDescriptor().getMessageType(497);
+        getDescriptor().getMessageType(500);
     internal_static_google_cloud_compute_v1_GetIamPolicyInstanceTemplateRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyInstanceTemplateRequest_descriptor,
@@ -45718,7 +45774,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyInstantSnapshotGroupRequest_descriptor =
-        getDescriptor().getMessageType(498);
+        getDescriptor().getMessageType(501);
     internal_static_google_cloud_compute_v1_GetIamPolicyInstantSnapshotGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyInstantSnapshotGroupRequest_descriptor,
@@ -45726,7 +45782,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Resource", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyInstantSnapshotRequest_descriptor =
-        getDescriptor().getMessageType(499);
+        getDescriptor().getMessageType(502);
     internal_static_google_cloud_compute_v1_GetIamPolicyInstantSnapshotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyInstantSnapshotRequest_descriptor,
@@ -45734,7 +45790,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Resource", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyInterconnectAttachmentGroupRequest_descriptor =
-        getDescriptor().getMessageType(500);
+        getDescriptor().getMessageType(503);
     internal_static_google_cloud_compute_v1_GetIamPolicyInterconnectAttachmentGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyInterconnectAttachmentGroupRequest_descriptor,
@@ -45742,7 +45798,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyInterconnectGroupRequest_descriptor =
-        getDescriptor().getMessageType(501);
+        getDescriptor().getMessageType(504);
     internal_static_google_cloud_compute_v1_GetIamPolicyInterconnectGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyInterconnectGroupRequest_descriptor,
@@ -45750,7 +45806,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyLicenseCodeRequest_descriptor =
-        getDescriptor().getMessageType(502);
+        getDescriptor().getMessageType(505);
     internal_static_google_cloud_compute_v1_GetIamPolicyLicenseCodeRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyLicenseCodeRequest_descriptor,
@@ -45758,7 +45814,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyLicenseRequest_descriptor =
-        getDescriptor().getMessageType(503);
+        getDescriptor().getMessageType(506);
     internal_static_google_cloud_compute_v1_GetIamPolicyLicenseRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyLicenseRequest_descriptor,
@@ -45766,7 +45822,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyMachineImageRequest_descriptor =
-        getDescriptor().getMessageType(504);
+        getDescriptor().getMessageType(507);
     internal_static_google_cloud_compute_v1_GetIamPolicyMachineImageRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyMachineImageRequest_descriptor,
@@ -45774,7 +45830,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyNetworkAttachmentRequest_descriptor =
-        getDescriptor().getMessageType(505);
+        getDescriptor().getMessageType(508);
     internal_static_google_cloud_compute_v1_GetIamPolicyNetworkAttachmentRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyNetworkAttachmentRequest_descriptor,
@@ -45782,7 +45838,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Region", "Resource",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyNetworkFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(506);
+        getDescriptor().getMessageType(509);
     internal_static_google_cloud_compute_v1_GetIamPolicyNetworkFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyNetworkFirewallPolicyRequest_descriptor,
@@ -45790,7 +45846,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyNodeGroupRequest_descriptor =
-        getDescriptor().getMessageType(507);
+        getDescriptor().getMessageType(510);
     internal_static_google_cloud_compute_v1_GetIamPolicyNodeGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyNodeGroupRequest_descriptor,
@@ -45798,7 +45854,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Resource", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyNodeTemplateRequest_descriptor =
-        getDescriptor().getMessageType(508);
+        getDescriptor().getMessageType(511);
     internal_static_google_cloud_compute_v1_GetIamPolicyNodeTemplateRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyNodeTemplateRequest_descriptor,
@@ -45806,7 +45862,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Region", "Resource",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyRegionBackendBucketRequest_descriptor =
-        getDescriptor().getMessageType(509);
+        getDescriptor().getMessageType(512);
     internal_static_google_cloud_compute_v1_GetIamPolicyRegionBackendBucketRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyRegionBackendBucketRequest_descriptor,
@@ -45814,7 +45870,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Region", "Resource",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyRegionBackendServiceRequest_descriptor =
-        getDescriptor().getMessageType(510);
+        getDescriptor().getMessageType(513);
     internal_static_google_cloud_compute_v1_GetIamPolicyRegionBackendServiceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyRegionBackendServiceRequest_descriptor,
@@ -45822,7 +45878,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Region", "Resource",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyRegionDiskRequest_descriptor =
-        getDescriptor().getMessageType(511);
+        getDescriptor().getMessageType(514);
     internal_static_google_cloud_compute_v1_GetIamPolicyRegionDiskRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyRegionDiskRequest_descriptor,
@@ -45830,7 +45886,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Region", "Resource",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyRegionInstantSnapshotGroupRequest_descriptor =
-        getDescriptor().getMessageType(512);
+        getDescriptor().getMessageType(515);
     internal_static_google_cloud_compute_v1_GetIamPolicyRegionInstantSnapshotGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyRegionInstantSnapshotGroupRequest_descriptor,
@@ -45838,7 +45894,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Region", "Resource",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyRegionInstantSnapshotRequest_descriptor =
-        getDescriptor().getMessageType(513);
+        getDescriptor().getMessageType(516);
     internal_static_google_cloud_compute_v1_GetIamPolicyRegionInstantSnapshotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyRegionInstantSnapshotRequest_descriptor,
@@ -45846,7 +45902,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Region", "Resource",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyRegionNetworkFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(514);
+        getDescriptor().getMessageType(517);
     internal_static_google_cloud_compute_v1_GetIamPolicyRegionNetworkFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyRegionNetworkFirewallPolicyRequest_descriptor,
@@ -45854,7 +45910,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Region", "Resource",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyRegionSnapshotRequest_descriptor =
-        getDescriptor().getMessageType(515);
+        getDescriptor().getMessageType(518);
     internal_static_google_cloud_compute_v1_GetIamPolicyRegionSnapshotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyRegionSnapshotRequest_descriptor,
@@ -45862,7 +45918,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Region", "Resource",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyReservationBlockRequest_descriptor =
-        getDescriptor().getMessageType(516);
+        getDescriptor().getMessageType(519);
     internal_static_google_cloud_compute_v1_GetIamPolicyReservationBlockRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyReservationBlockRequest_descriptor,
@@ -45870,7 +45926,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "ParentResource", "Project", "Resource", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyReservationRequest_descriptor =
-        getDescriptor().getMessageType(517);
+        getDescriptor().getMessageType(520);
     internal_static_google_cloud_compute_v1_GetIamPolicyReservationRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyReservationRequest_descriptor,
@@ -45878,7 +45934,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Resource", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyReservationSubBlockRequest_descriptor =
-        getDescriptor().getMessageType(518);
+        getDescriptor().getMessageType(521);
     internal_static_google_cloud_compute_v1_GetIamPolicyReservationSubBlockRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyReservationSubBlockRequest_descriptor,
@@ -45886,7 +45942,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "ParentResource", "Project", "Resource", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyResourcePolicyRequest_descriptor =
-        getDescriptor().getMessageType(519);
+        getDescriptor().getMessageType(522);
     internal_static_google_cloud_compute_v1_GetIamPolicyResourcePolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyResourcePolicyRequest_descriptor,
@@ -45894,7 +45950,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Region", "Resource",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyServiceAttachmentRequest_descriptor =
-        getDescriptor().getMessageType(520);
+        getDescriptor().getMessageType(523);
     internal_static_google_cloud_compute_v1_GetIamPolicyServiceAttachmentRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyServiceAttachmentRequest_descriptor,
@@ -45902,7 +45958,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Region", "Resource",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicySnapshotRequest_descriptor =
-        getDescriptor().getMessageType(521);
+        getDescriptor().getMessageType(524);
     internal_static_google_cloud_compute_v1_GetIamPolicySnapshotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicySnapshotRequest_descriptor,
@@ -45910,7 +45966,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicyStoragePoolRequest_descriptor =
-        getDescriptor().getMessageType(522);
+        getDescriptor().getMessageType(525);
     internal_static_google_cloud_compute_v1_GetIamPolicyStoragePoolRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicyStoragePoolRequest_descriptor,
@@ -45918,7 +45974,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Resource", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetIamPolicySubnetworkRequest_descriptor =
-        getDescriptor().getMessageType(523);
+        getDescriptor().getMessageType(526);
     internal_static_google_cloud_compute_v1_GetIamPolicySubnetworkRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetIamPolicySubnetworkRequest_descriptor,
@@ -45926,7 +45982,7 @@ private static void _clinit_autosplit_dinit_1() {
               "OptionsRequestedPolicyVersion", "Project", "Region", "Resource",
             });
     internal_static_google_cloud_compute_v1_GetImageFamilyViewRequest_descriptor =
-        getDescriptor().getMessageType(524);
+        getDescriptor().getMessageType(527);
     internal_static_google_cloud_compute_v1_GetImageFamilyViewRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetImageFamilyViewRequest_descriptor,
@@ -45934,7 +45990,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Family", "Project", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetImageRequest_descriptor =
-        getDescriptor().getMessageType(525);
+        getDescriptor().getMessageType(528);
     internal_static_google_cloud_compute_v1_GetImageRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetImageRequest_descriptor,
@@ -45942,7 +45998,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Image", "Project",
             });
     internal_static_google_cloud_compute_v1_GetInstanceGroupManagerRequest_descriptor =
-        getDescriptor().getMessageType(526);
+        getDescriptor().getMessageType(529);
     internal_static_google_cloud_compute_v1_GetInstanceGroupManagerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetInstanceGroupManagerRequest_descriptor,
@@ -45950,7 +46006,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InstanceGroupManager", "Project", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetInstanceGroupManagerResizeRequestRequest_descriptor =
-        getDescriptor().getMessageType(527);
+        getDescriptor().getMessageType(530);
     internal_static_google_cloud_compute_v1_GetInstanceGroupManagerResizeRequestRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetInstanceGroupManagerResizeRequestRequest_descriptor,
@@ -45958,7 +46014,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InstanceGroupManager", "Project", "ResizeRequest", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetInstanceGroupRequest_descriptor =
-        getDescriptor().getMessageType(528);
+        getDescriptor().getMessageType(531);
     internal_static_google_cloud_compute_v1_GetInstanceGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetInstanceGroupRequest_descriptor,
@@ -45966,7 +46022,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InstanceGroup", "Project", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetInstanceRequest_descriptor =
-        getDescriptor().getMessageType(529);
+        getDescriptor().getMessageType(532);
     internal_static_google_cloud_compute_v1_GetInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetInstanceRequest_descriptor,
@@ -45974,7 +46030,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Instance", "Project", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetInstanceSettingRequest_descriptor =
-        getDescriptor().getMessageType(530);
+        getDescriptor().getMessageType(533);
     internal_static_google_cloud_compute_v1_GetInstanceSettingRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetInstanceSettingRequest_descriptor,
@@ -45982,7 +46038,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetInstanceTemplateRequest_descriptor =
-        getDescriptor().getMessageType(531);
+        getDescriptor().getMessageType(534);
     internal_static_google_cloud_compute_v1_GetInstanceTemplateRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetInstanceTemplateRequest_descriptor,
@@ -45990,7 +46046,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InstanceTemplate", "Project",
             });
     internal_static_google_cloud_compute_v1_GetInstantSnapshotGroupRequest_descriptor =
-        getDescriptor().getMessageType(532);
+        getDescriptor().getMessageType(535);
     internal_static_google_cloud_compute_v1_GetInstantSnapshotGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetInstantSnapshotGroupRequest_descriptor,
@@ -45998,7 +46054,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InstantSnapshotGroup", "Project", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetInstantSnapshotRequest_descriptor =
-        getDescriptor().getMessageType(533);
+        getDescriptor().getMessageType(536);
     internal_static_google_cloud_compute_v1_GetInstantSnapshotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetInstantSnapshotRequest_descriptor,
@@ -46006,7 +46062,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InstantSnapshot", "Project", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetInterconnectAttachmentGroupRequest_descriptor =
-        getDescriptor().getMessageType(534);
+        getDescriptor().getMessageType(537);
     internal_static_google_cloud_compute_v1_GetInterconnectAttachmentGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetInterconnectAttachmentGroupRequest_descriptor,
@@ -46014,7 +46070,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InterconnectAttachmentGroup", "Project",
             });
     internal_static_google_cloud_compute_v1_GetInterconnectAttachmentRequest_descriptor =
-        getDescriptor().getMessageType(535);
+        getDescriptor().getMessageType(538);
     internal_static_google_cloud_compute_v1_GetInterconnectAttachmentRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetInterconnectAttachmentRequest_descriptor,
@@ -46022,7 +46078,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InterconnectAttachment", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetInterconnectGroupRequest_descriptor =
-        getDescriptor().getMessageType(536);
+        getDescriptor().getMessageType(539);
     internal_static_google_cloud_compute_v1_GetInterconnectGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetInterconnectGroupRequest_descriptor,
@@ -46030,7 +46086,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InterconnectGroup", "Project",
             });
     internal_static_google_cloud_compute_v1_GetInterconnectLocationRequest_descriptor =
-        getDescriptor().getMessageType(537);
+        getDescriptor().getMessageType(540);
     internal_static_google_cloud_compute_v1_GetInterconnectLocationRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetInterconnectLocationRequest_descriptor,
@@ -46038,7 +46094,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InterconnectLocation", "Project",
             });
     internal_static_google_cloud_compute_v1_GetInterconnectRemoteLocationRequest_descriptor =
-        getDescriptor().getMessageType(538);
+        getDescriptor().getMessageType(541);
     internal_static_google_cloud_compute_v1_GetInterconnectRemoteLocationRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetInterconnectRemoteLocationRequest_descriptor,
@@ -46046,7 +46102,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InterconnectRemoteLocation", "Project",
             });
     internal_static_google_cloud_compute_v1_GetInterconnectRequest_descriptor =
-        getDescriptor().getMessageType(539);
+        getDescriptor().getMessageType(542);
     internal_static_google_cloud_compute_v1_GetInterconnectRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetInterconnectRequest_descriptor,
@@ -46054,7 +46110,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Interconnect", "Project",
             });
     internal_static_google_cloud_compute_v1_GetLicenseCodeRequest_descriptor =
-        getDescriptor().getMessageType(540);
+        getDescriptor().getMessageType(543);
     internal_static_google_cloud_compute_v1_GetLicenseCodeRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetLicenseCodeRequest_descriptor,
@@ -46062,7 +46118,7 @@ private static void _clinit_autosplit_dinit_1() {
               "LicenseCode", "Project",
             });
     internal_static_google_cloud_compute_v1_GetLicenseRequest_descriptor =
-        getDescriptor().getMessageType(541);
+        getDescriptor().getMessageType(544);
     internal_static_google_cloud_compute_v1_GetLicenseRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetLicenseRequest_descriptor,
@@ -46070,7 +46126,7 @@ private static void _clinit_autosplit_dinit_1() {
               "License", "Project",
             });
     internal_static_google_cloud_compute_v1_GetMachineImageRequest_descriptor =
-        getDescriptor().getMessageType(542);
+        getDescriptor().getMessageType(545);
     internal_static_google_cloud_compute_v1_GetMachineImageRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetMachineImageRequest_descriptor,
@@ -46078,7 +46134,7 @@ private static void _clinit_autosplit_dinit_1() {
               "MachineImage", "Project",
             });
     internal_static_google_cloud_compute_v1_GetMachineTypeRequest_descriptor =
-        getDescriptor().getMessageType(543);
+        getDescriptor().getMessageType(546);
     internal_static_google_cloud_compute_v1_GetMachineTypeRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetMachineTypeRequest_descriptor,
@@ -46086,7 +46142,7 @@ private static void _clinit_autosplit_dinit_1() {
               "MachineType", "Project", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetMacsecConfigInterconnectRequest_descriptor =
-        getDescriptor().getMessageType(544);
+        getDescriptor().getMessageType(547);
     internal_static_google_cloud_compute_v1_GetMacsecConfigInterconnectRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetMacsecConfigInterconnectRequest_descriptor,
@@ -46094,7 +46150,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Interconnect", "Project",
             });
     internal_static_google_cloud_compute_v1_GetNamedSetRouterRequest_descriptor =
-        getDescriptor().getMessageType(545);
+        getDescriptor().getMessageType(548);
     internal_static_google_cloud_compute_v1_GetNamedSetRouterRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetNamedSetRouterRequest_descriptor,
@@ -46102,7 +46158,7 @@ private static void _clinit_autosplit_dinit_1() {
               "NamedSet", "Project", "Region", "Router",
             });
     internal_static_google_cloud_compute_v1_GetNatIpInfoRouterRequest_descriptor =
-        getDescriptor().getMessageType(546);
+        getDescriptor().getMessageType(549);
     internal_static_google_cloud_compute_v1_GetNatIpInfoRouterRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetNatIpInfoRouterRequest_descriptor,
@@ -46110,7 +46166,7 @@ private static void _clinit_autosplit_dinit_1() {
               "NatName", "Project", "Region", "Router",
             });
     internal_static_google_cloud_compute_v1_GetNatMappingInfoRoutersRequest_descriptor =
-        getDescriptor().getMessageType(547);
+        getDescriptor().getMessageType(550);
     internal_static_google_cloud_compute_v1_GetNatMappingInfoRoutersRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetNatMappingInfoRoutersRequest_descriptor,
@@ -46126,7 +46182,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Router",
             });
     internal_static_google_cloud_compute_v1_GetNetworkAttachmentRequest_descriptor =
-        getDescriptor().getMessageType(548);
+        getDescriptor().getMessageType(551);
     internal_static_google_cloud_compute_v1_GetNetworkAttachmentRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetNetworkAttachmentRequest_descriptor,
@@ -46134,7 +46190,7 @@ private static void _clinit_autosplit_dinit_1() {
               "NetworkAttachment", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetNetworkEdgeSecurityServiceRequest_descriptor =
-        getDescriptor().getMessageType(549);
+        getDescriptor().getMessageType(552);
     internal_static_google_cloud_compute_v1_GetNetworkEdgeSecurityServiceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetNetworkEdgeSecurityServiceRequest_descriptor,
@@ -46142,7 +46198,7 @@ private static void _clinit_autosplit_dinit_1() {
               "NetworkEdgeSecurityService", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetNetworkEndpointGroupRequest_descriptor =
-        getDescriptor().getMessageType(550);
+        getDescriptor().getMessageType(553);
     internal_static_google_cloud_compute_v1_GetNetworkEndpointGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetNetworkEndpointGroupRequest_descriptor,
@@ -46150,7 +46206,7 @@ private static void _clinit_autosplit_dinit_1() {
               "NetworkEndpointGroup", "Project", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetNetworkFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(551);
+        getDescriptor().getMessageType(554);
     internal_static_google_cloud_compute_v1_GetNetworkFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetNetworkFirewallPolicyRequest_descriptor,
@@ -46158,7 +46214,7 @@ private static void _clinit_autosplit_dinit_1() {
               "FirewallPolicy", "Project",
             });
     internal_static_google_cloud_compute_v1_GetNetworkProfileRequest_descriptor =
-        getDescriptor().getMessageType(552);
+        getDescriptor().getMessageType(555);
     internal_static_google_cloud_compute_v1_GetNetworkProfileRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetNetworkProfileRequest_descriptor,
@@ -46166,7 +46222,7 @@ private static void _clinit_autosplit_dinit_1() {
               "NetworkProfile", "Project",
             });
     internal_static_google_cloud_compute_v1_GetNetworkRequest_descriptor =
-        getDescriptor().getMessageType(553);
+        getDescriptor().getMessageType(556);
     internal_static_google_cloud_compute_v1_GetNetworkRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetNetworkRequest_descriptor,
@@ -46174,7 +46230,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Network", "Project",
             });
     internal_static_google_cloud_compute_v1_GetNodeGroupRequest_descriptor =
-        getDescriptor().getMessageType(554);
+        getDescriptor().getMessageType(557);
     internal_static_google_cloud_compute_v1_GetNodeGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetNodeGroupRequest_descriptor,
@@ -46182,7 +46238,7 @@ private static void _clinit_autosplit_dinit_1() {
               "NodeGroup", "Project", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetNodeTemplateRequest_descriptor =
-        getDescriptor().getMessageType(555);
+        getDescriptor().getMessageType(558);
     internal_static_google_cloud_compute_v1_GetNodeTemplateRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetNodeTemplateRequest_descriptor,
@@ -46190,7 +46246,7 @@ private static void _clinit_autosplit_dinit_1() {
               "NodeTemplate", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetNodeTypeRequest_descriptor =
-        getDescriptor().getMessageType(556);
+        getDescriptor().getMessageType(559);
     internal_static_google_cloud_compute_v1_GetNodeTypeRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetNodeTypeRequest_descriptor,
@@ -46198,7 +46254,7 @@ private static void _clinit_autosplit_dinit_1() {
               "NodeType", "Project", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetOperationalStatusInterconnectAttachmentGroupRequest_descriptor =
-        getDescriptor().getMessageType(557);
+        getDescriptor().getMessageType(560);
     internal_static_google_cloud_compute_v1_GetOperationalStatusInterconnectAttachmentGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetOperationalStatusInterconnectAttachmentGroupRequest_descriptor,
@@ -46206,7 +46262,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InterconnectAttachmentGroup", "Project",
             });
     internal_static_google_cloud_compute_v1_GetOperationalStatusInterconnectGroupRequest_descriptor =
-        getDescriptor().getMessageType(558);
+        getDescriptor().getMessageType(561);
     internal_static_google_cloud_compute_v1_GetOperationalStatusInterconnectGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetOperationalStatusInterconnectGroupRequest_descriptor,
@@ -46214,7 +46270,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InterconnectGroup", "Project",
             });
     internal_static_google_cloud_compute_v1_GetOrganizationSecurityPolicyRequest_descriptor =
-        getDescriptor().getMessageType(559);
+        getDescriptor().getMessageType(562);
     internal_static_google_cloud_compute_v1_GetOrganizationSecurityPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetOrganizationSecurityPolicyRequest_descriptor,
@@ -46222,7 +46278,7 @@ private static void _clinit_autosplit_dinit_1() {
               "SecurityPolicy",
             });
     internal_static_google_cloud_compute_v1_GetPacketMirroringRequest_descriptor =
-        getDescriptor().getMessageType(560);
+        getDescriptor().getMessageType(563);
     internal_static_google_cloud_compute_v1_GetPacketMirroringRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetPacketMirroringRequest_descriptor,
@@ -46230,7 +46286,7 @@ private static void _clinit_autosplit_dinit_1() {
               "PacketMirroring", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetPacketMirroringRuleNetworkFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(561);
+        getDescriptor().getMessageType(564);
     internal_static_google_cloud_compute_v1_GetPacketMirroringRuleNetworkFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetPacketMirroringRuleNetworkFirewallPolicyRequest_descriptor,
@@ -46238,7 +46294,7 @@ private static void _clinit_autosplit_dinit_1() {
               "FirewallPolicy", "Priority", "Project",
             });
     internal_static_google_cloud_compute_v1_GetPreviewFeatureRequest_descriptor =
-        getDescriptor().getMessageType(562);
+        getDescriptor().getMessageType(565);
     internal_static_google_cloud_compute_v1_GetPreviewFeatureRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetPreviewFeatureRequest_descriptor,
@@ -46246,7 +46302,7 @@ private static void _clinit_autosplit_dinit_1() {
               "PreviewFeature", "Project",
             });
     internal_static_google_cloud_compute_v1_GetProjectRequest_descriptor =
-        getDescriptor().getMessageType(563);
+        getDescriptor().getMessageType(566);
     internal_static_google_cloud_compute_v1_GetProjectRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetProjectRequest_descriptor,
@@ -46254,7 +46310,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project",
             });
     internal_static_google_cloud_compute_v1_GetPublicAdvertisedPrefixeRequest_descriptor =
-        getDescriptor().getMessageType(564);
+        getDescriptor().getMessageType(567);
     internal_static_google_cloud_compute_v1_GetPublicAdvertisedPrefixeRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetPublicAdvertisedPrefixeRequest_descriptor,
@@ -46262,7 +46318,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "PublicAdvertisedPrefix",
             });
     internal_static_google_cloud_compute_v1_GetPublicDelegatedPrefixeRequest_descriptor =
-        getDescriptor().getMessageType(565);
+        getDescriptor().getMessageType(568);
     internal_static_google_cloud_compute_v1_GetPublicDelegatedPrefixeRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetPublicDelegatedPrefixeRequest_descriptor,
@@ -46270,7 +46326,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "PublicDelegatedPrefix", "Region",
             });
     internal_static_google_cloud_compute_v1_GetRegionAutoscalerRequest_descriptor =
-        getDescriptor().getMessageType(566);
+        getDescriptor().getMessageType(569);
     internal_static_google_cloud_compute_v1_GetRegionAutoscalerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionAutoscalerRequest_descriptor,
@@ -46278,7 +46334,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Autoscaler", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetRegionBackendBucketRequest_descriptor =
-        getDescriptor().getMessageType(567);
+        getDescriptor().getMessageType(570);
     internal_static_google_cloud_compute_v1_GetRegionBackendBucketRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionBackendBucketRequest_descriptor,
@@ -46286,7 +46342,7 @@ private static void _clinit_autosplit_dinit_1() {
               "BackendBucket", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetRegionBackendServiceRequest_descriptor =
-        getDescriptor().getMessageType(568);
+        getDescriptor().getMessageType(571);
     internal_static_google_cloud_compute_v1_GetRegionBackendServiceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionBackendServiceRequest_descriptor,
@@ -46294,7 +46350,7 @@ private static void _clinit_autosplit_dinit_1() {
               "BackendService", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetRegionCommitmentRequest_descriptor =
-        getDescriptor().getMessageType(569);
+        getDescriptor().getMessageType(572);
     internal_static_google_cloud_compute_v1_GetRegionCommitmentRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionCommitmentRequest_descriptor,
@@ -46302,7 +46358,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Commitment", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetRegionCompositeHealthCheckRequest_descriptor =
-        getDescriptor().getMessageType(570);
+        getDescriptor().getMessageType(573);
     internal_static_google_cloud_compute_v1_GetRegionCompositeHealthCheckRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionCompositeHealthCheckRequest_descriptor,
@@ -46310,7 +46366,7 @@ private static void _clinit_autosplit_dinit_1() {
               "CompositeHealthCheck", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetRegionDiskRequest_descriptor =
-        getDescriptor().getMessageType(571);
+        getDescriptor().getMessageType(574);
     internal_static_google_cloud_compute_v1_GetRegionDiskRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionDiskRequest_descriptor,
@@ -46318,7 +46374,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Disk", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetRegionDiskTypeRequest_descriptor =
-        getDescriptor().getMessageType(572);
+        getDescriptor().getMessageType(575);
     internal_static_google_cloud_compute_v1_GetRegionDiskTypeRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionDiskTypeRequest_descriptor,
@@ -46326,7 +46382,7 @@ private static void _clinit_autosplit_dinit_1() {
               "DiskType", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetRegionHealthAggregationPolicyRequest_descriptor =
-        getDescriptor().getMessageType(573);
+        getDescriptor().getMessageType(576);
     internal_static_google_cloud_compute_v1_GetRegionHealthAggregationPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionHealthAggregationPolicyRequest_descriptor,
@@ -46334,7 +46390,7 @@ private static void _clinit_autosplit_dinit_1() {
               "HealthAggregationPolicy", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetRegionHealthCheckRequest_descriptor =
-        getDescriptor().getMessageType(574);
+        getDescriptor().getMessageType(577);
     internal_static_google_cloud_compute_v1_GetRegionHealthCheckRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionHealthCheckRequest_descriptor,
@@ -46342,7 +46398,7 @@ private static void _clinit_autosplit_dinit_1() {
               "HealthCheck", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetRegionHealthCheckServiceRequest_descriptor =
-        getDescriptor().getMessageType(575);
+        getDescriptor().getMessageType(578);
     internal_static_google_cloud_compute_v1_GetRegionHealthCheckServiceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionHealthCheckServiceRequest_descriptor,
@@ -46350,7 +46406,7 @@ private static void _clinit_autosplit_dinit_1() {
               "HealthCheckService", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetRegionHealthSourceRequest_descriptor =
-        getDescriptor().getMessageType(576);
+        getDescriptor().getMessageType(579);
     internal_static_google_cloud_compute_v1_GetRegionHealthSourceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionHealthSourceRequest_descriptor,
@@ -46358,7 +46414,7 @@ private static void _clinit_autosplit_dinit_1() {
               "HealthSource", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetRegionInstanceGroupManagerRequest_descriptor =
-        getDescriptor().getMessageType(577);
+        getDescriptor().getMessageType(580);
     internal_static_google_cloud_compute_v1_GetRegionInstanceGroupManagerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionInstanceGroupManagerRequest_descriptor,
@@ -46366,7 +46422,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InstanceGroupManager", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetRegionInstanceGroupManagerResizeRequestRequest_descriptor =
-        getDescriptor().getMessageType(578);
+        getDescriptor().getMessageType(581);
     internal_static_google_cloud_compute_v1_GetRegionInstanceGroupManagerResizeRequestRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionInstanceGroupManagerResizeRequestRequest_descriptor,
@@ -46374,7 +46430,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InstanceGroupManager", "Project", "Region", "ResizeRequest",
             });
     internal_static_google_cloud_compute_v1_GetRegionInstanceGroupRequest_descriptor =
-        getDescriptor().getMessageType(579);
+        getDescriptor().getMessageType(582);
     internal_static_google_cloud_compute_v1_GetRegionInstanceGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionInstanceGroupRequest_descriptor,
@@ -46382,7 +46438,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InstanceGroup", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetRegionInstanceTemplateRequest_descriptor =
-        getDescriptor().getMessageType(580);
+        getDescriptor().getMessageType(583);
     internal_static_google_cloud_compute_v1_GetRegionInstanceTemplateRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionInstanceTemplateRequest_descriptor,
@@ -46390,7 +46446,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InstanceTemplate", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetRegionInstantSnapshotGroupRequest_descriptor =
-        getDescriptor().getMessageType(581);
+        getDescriptor().getMessageType(584);
     internal_static_google_cloud_compute_v1_GetRegionInstantSnapshotGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionInstantSnapshotGroupRequest_descriptor,
@@ -46398,7 +46454,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InstantSnapshotGroup", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetRegionInstantSnapshotRequest_descriptor =
-        getDescriptor().getMessageType(582);
+        getDescriptor().getMessageType(585);
     internal_static_google_cloud_compute_v1_GetRegionInstantSnapshotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionInstantSnapshotRequest_descriptor,
@@ -46406,7 +46462,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InstantSnapshot", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetRegionNetworkEndpointGroupRequest_descriptor =
-        getDescriptor().getMessageType(583);
+        getDescriptor().getMessageType(586);
     internal_static_google_cloud_compute_v1_GetRegionNetworkEndpointGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionNetworkEndpointGroupRequest_descriptor,
@@ -46414,7 +46470,7 @@ private static void _clinit_autosplit_dinit_1() {
               "NetworkEndpointGroup", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetRegionNetworkFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(584);
+        getDescriptor().getMessageType(587);
     internal_static_google_cloud_compute_v1_GetRegionNetworkFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionNetworkFirewallPolicyRequest_descriptor,
@@ -46422,7 +46478,7 @@ private static void _clinit_autosplit_dinit_1() {
               "FirewallPolicy", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetRegionNotificationEndpointRequest_descriptor =
-        getDescriptor().getMessageType(585);
+        getDescriptor().getMessageType(588);
     internal_static_google_cloud_compute_v1_GetRegionNotificationEndpointRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionNotificationEndpointRequest_descriptor,
@@ -46430,7 +46486,7 @@ private static void _clinit_autosplit_dinit_1() {
               "NotificationEndpoint", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetRegionOperationRequest_descriptor =
-        getDescriptor().getMessageType(586);
+        getDescriptor().getMessageType(589);
     internal_static_google_cloud_compute_v1_GetRegionOperationRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionOperationRequest_descriptor,
@@ -46438,7 +46494,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Operation", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetRegionRequest_descriptor =
-        getDescriptor().getMessageType(587);
+        getDescriptor().getMessageType(590);
     internal_static_google_cloud_compute_v1_GetRegionRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionRequest_descriptor,
@@ -46446,7 +46502,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetRegionSecurityPolicyRequest_descriptor =
-        getDescriptor().getMessageType(588);
+        getDescriptor().getMessageType(591);
     internal_static_google_cloud_compute_v1_GetRegionSecurityPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionSecurityPolicyRequest_descriptor,
@@ -46454,7 +46510,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "SecurityPolicy",
             });
     internal_static_google_cloud_compute_v1_GetRegionSnapshotRequest_descriptor =
-        getDescriptor().getMessageType(589);
+        getDescriptor().getMessageType(592);
     internal_static_google_cloud_compute_v1_GetRegionSnapshotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionSnapshotRequest_descriptor,
@@ -46462,7 +46518,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "Snapshot",
             });
     internal_static_google_cloud_compute_v1_GetRegionSnapshotSettingRequest_descriptor =
-        getDescriptor().getMessageType(590);
+        getDescriptor().getMessageType(593);
     internal_static_google_cloud_compute_v1_GetRegionSnapshotSettingRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionSnapshotSettingRequest_descriptor,
@@ -46470,7 +46526,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetRegionSslCertificateRequest_descriptor =
-        getDescriptor().getMessageType(591);
+        getDescriptor().getMessageType(594);
     internal_static_google_cloud_compute_v1_GetRegionSslCertificateRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionSslCertificateRequest_descriptor,
@@ -46478,7 +46534,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "SslCertificate",
             });
     internal_static_google_cloud_compute_v1_GetRegionSslPolicyRequest_descriptor =
-        getDescriptor().getMessageType(592);
+        getDescriptor().getMessageType(595);
     internal_static_google_cloud_compute_v1_GetRegionSslPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionSslPolicyRequest_descriptor,
@@ -46486,7 +46542,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "SslPolicy",
             });
     internal_static_google_cloud_compute_v1_GetRegionTargetHttpProxyRequest_descriptor =
-        getDescriptor().getMessageType(593);
+        getDescriptor().getMessageType(596);
     internal_static_google_cloud_compute_v1_GetRegionTargetHttpProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionTargetHttpProxyRequest_descriptor,
@@ -46494,7 +46550,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "TargetHttpProxy",
             });
     internal_static_google_cloud_compute_v1_GetRegionTargetHttpsProxyRequest_descriptor =
-        getDescriptor().getMessageType(594);
+        getDescriptor().getMessageType(597);
     internal_static_google_cloud_compute_v1_GetRegionTargetHttpsProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionTargetHttpsProxyRequest_descriptor,
@@ -46502,7 +46558,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "TargetHttpsProxy",
             });
     internal_static_google_cloud_compute_v1_GetRegionTargetTcpProxyRequest_descriptor =
-        getDescriptor().getMessageType(595);
+        getDescriptor().getMessageType(598);
     internal_static_google_cloud_compute_v1_GetRegionTargetTcpProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionTargetTcpProxyRequest_descriptor,
@@ -46510,7 +46566,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "TargetTcpProxy",
             });
     internal_static_google_cloud_compute_v1_GetRegionUrlMapRequest_descriptor =
-        getDescriptor().getMessageType(596);
+        getDescriptor().getMessageType(599);
     internal_static_google_cloud_compute_v1_GetRegionUrlMapRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRegionUrlMapRequest_descriptor,
@@ -46518,7 +46574,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "UrlMap",
             });
     internal_static_google_cloud_compute_v1_GetReliabilityRiskRequest_descriptor =
-        getDescriptor().getMessageType(597);
+        getDescriptor().getMessageType(600);
     internal_static_google_cloud_compute_v1_GetReliabilityRiskRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetReliabilityRiskRequest_descriptor,
@@ -46526,7 +46582,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "ReliabilityRisk",
             });
     internal_static_google_cloud_compute_v1_GetReservationBlockRequest_descriptor =
-        getDescriptor().getMessageType(598);
+        getDescriptor().getMessageType(601);
     internal_static_google_cloud_compute_v1_GetReservationBlockRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetReservationBlockRequest_descriptor,
@@ -46534,7 +46590,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Reservation", "ReservationBlock", "View", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetReservationRequest_descriptor =
-        getDescriptor().getMessageType(599);
+        getDescriptor().getMessageType(602);
     internal_static_google_cloud_compute_v1_GetReservationRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetReservationRequest_descriptor,
@@ -46542,7 +46598,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Reservation", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetReservationSlotRequest_descriptor =
-        getDescriptor().getMessageType(600);
+        getDescriptor().getMessageType(603);
     internal_static_google_cloud_compute_v1_GetReservationSlotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetReservationSlotRequest_descriptor,
@@ -46550,7 +46606,7 @@ private static void _clinit_autosplit_dinit_1() {
               "ParentName", "Project", "ReservationSlot", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetReservationSubBlockRequest_descriptor =
-        getDescriptor().getMessageType(601);
+        getDescriptor().getMessageType(604);
     internal_static_google_cloud_compute_v1_GetReservationSubBlockRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetReservationSubBlockRequest_descriptor,
@@ -46558,7 +46614,7 @@ private static void _clinit_autosplit_dinit_1() {
               "ParentName", "Project", "ReservationSubBlock", "View", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetResourcePolicyRequest_descriptor =
-        getDescriptor().getMessageType(602);
+        getDescriptor().getMessageType(605);
     internal_static_google_cloud_compute_v1_GetResourcePolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetResourcePolicyRequest_descriptor,
@@ -46566,7 +46622,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "ResourcePolicy",
             });
     internal_static_google_cloud_compute_v1_GetRolloutPlanRequest_descriptor =
-        getDescriptor().getMessageType(603);
+        getDescriptor().getMessageType(606);
     internal_static_google_cloud_compute_v1_GetRolloutPlanRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRolloutPlanRequest_descriptor,
@@ -46574,7 +46630,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "RolloutPlan",
             });
     internal_static_google_cloud_compute_v1_GetRolloutRequest_descriptor =
-        getDescriptor().getMessageType(604);
+        getDescriptor().getMessageType(607);
     internal_static_google_cloud_compute_v1_GetRolloutRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRolloutRequest_descriptor,
@@ -46582,7 +46638,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Rollout",
             });
     internal_static_google_cloud_compute_v1_GetRoutePolicyRouterRequest_descriptor =
-        getDescriptor().getMessageType(605);
+        getDescriptor().getMessageType(608);
     internal_static_google_cloud_compute_v1_GetRoutePolicyRouterRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRoutePolicyRouterRequest_descriptor,
@@ -46590,7 +46646,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Policy", "Project", "Region", "Router",
             });
     internal_static_google_cloud_compute_v1_GetRouteRequest_descriptor =
-        getDescriptor().getMessageType(606);
+        getDescriptor().getMessageType(609);
     internal_static_google_cloud_compute_v1_GetRouteRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRouteRequest_descriptor,
@@ -46598,7 +46654,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Route",
             });
     internal_static_google_cloud_compute_v1_GetRouterRequest_descriptor =
-        getDescriptor().getMessageType(607);
+        getDescriptor().getMessageType(610);
     internal_static_google_cloud_compute_v1_GetRouterRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRouterRequest_descriptor,
@@ -46606,7 +46662,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "Router",
             });
     internal_static_google_cloud_compute_v1_GetRouterStatusRouterRequest_descriptor =
-        getDescriptor().getMessageType(608);
+        getDescriptor().getMessageType(611);
     internal_static_google_cloud_compute_v1_GetRouterStatusRouterRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRouterStatusRouterRequest_descriptor,
@@ -46614,7 +46670,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "Router",
             });
     internal_static_google_cloud_compute_v1_GetRuleFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(609);
+        getDescriptor().getMessageType(612);
     internal_static_google_cloud_compute_v1_GetRuleFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRuleFirewallPolicyRequest_descriptor,
@@ -46622,7 +46678,7 @@ private static void _clinit_autosplit_dinit_1() {
               "FirewallPolicy", "Priority",
             });
     internal_static_google_cloud_compute_v1_GetRuleNetworkFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(610);
+        getDescriptor().getMessageType(613);
     internal_static_google_cloud_compute_v1_GetRuleNetworkFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRuleNetworkFirewallPolicyRequest_descriptor,
@@ -46630,7 +46686,7 @@ private static void _clinit_autosplit_dinit_1() {
               "FirewallPolicy", "Priority", "Project",
             });
     internal_static_google_cloud_compute_v1_GetRuleOrganizationSecurityPolicyRequest_descriptor =
-        getDescriptor().getMessageType(611);
+        getDescriptor().getMessageType(614);
     internal_static_google_cloud_compute_v1_GetRuleOrganizationSecurityPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRuleOrganizationSecurityPolicyRequest_descriptor,
@@ -46638,7 +46694,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Priority", "SecurityPolicy",
             });
     internal_static_google_cloud_compute_v1_GetRuleRegionNetworkFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(612);
+        getDescriptor().getMessageType(615);
     internal_static_google_cloud_compute_v1_GetRuleRegionNetworkFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRuleRegionNetworkFirewallPolicyRequest_descriptor,
@@ -46646,7 +46702,7 @@ private static void _clinit_autosplit_dinit_1() {
               "FirewallPolicy", "Priority", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_GetRuleRegionSecurityPolicyRequest_descriptor =
-        getDescriptor().getMessageType(613);
+        getDescriptor().getMessageType(616);
     internal_static_google_cloud_compute_v1_GetRuleRegionSecurityPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRuleRegionSecurityPolicyRequest_descriptor,
@@ -46654,7 +46710,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Priority", "Project", "Region", "SecurityPolicy",
             });
     internal_static_google_cloud_compute_v1_GetRuleSecurityPolicyRequest_descriptor =
-        getDescriptor().getMessageType(614);
+        getDescriptor().getMessageType(617);
     internal_static_google_cloud_compute_v1_GetRuleSecurityPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetRuleSecurityPolicyRequest_descriptor,
@@ -46662,7 +46718,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Priority", "Project", "SecurityPolicy",
             });
     internal_static_google_cloud_compute_v1_GetScreenshotInstanceRequest_descriptor =
-        getDescriptor().getMessageType(615);
+        getDescriptor().getMessageType(618);
     internal_static_google_cloud_compute_v1_GetScreenshotInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetScreenshotInstanceRequest_descriptor,
@@ -46670,7 +46726,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Instance", "Project", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetSecurityPolicyRequest_descriptor =
-        getDescriptor().getMessageType(616);
+        getDescriptor().getMessageType(619);
     internal_static_google_cloud_compute_v1_GetSecurityPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetSecurityPolicyRequest_descriptor,
@@ -46678,7 +46734,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "SecurityPolicy",
             });
     internal_static_google_cloud_compute_v1_GetSerialPortOutputInstanceRequest_descriptor =
-        getDescriptor().getMessageType(617);
+        getDescriptor().getMessageType(620);
     internal_static_google_cloud_compute_v1_GetSerialPortOutputInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetSerialPortOutputInstanceRequest_descriptor,
@@ -46686,7 +46742,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Instance", "Port", "Project", "Start", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetServiceAttachmentRequest_descriptor =
-        getDescriptor().getMessageType(618);
+        getDescriptor().getMessageType(621);
     internal_static_google_cloud_compute_v1_GetServiceAttachmentRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetServiceAttachmentRequest_descriptor,
@@ -46694,7 +46750,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "ServiceAttachment", "ShowNatIps",
             });
     internal_static_google_cloud_compute_v1_GetShieldedInstanceIdentityInstanceRequest_descriptor =
-        getDescriptor().getMessageType(619);
+        getDescriptor().getMessageType(622);
     internal_static_google_cloud_compute_v1_GetShieldedInstanceIdentityInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetShieldedInstanceIdentityInstanceRequest_descriptor,
@@ -46702,7 +46758,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Instance", "Project", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetSnapshotRequest_descriptor =
-        getDescriptor().getMessageType(620);
+        getDescriptor().getMessageType(623);
     internal_static_google_cloud_compute_v1_GetSnapshotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetSnapshotRequest_descriptor,
@@ -46710,7 +46766,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Snapshot",
             });
     internal_static_google_cloud_compute_v1_GetSnapshotSettingRequest_descriptor =
-        getDescriptor().getMessageType(621);
+        getDescriptor().getMessageType(624);
     internal_static_google_cloud_compute_v1_GetSnapshotSettingRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetSnapshotSettingRequest_descriptor,
@@ -46718,7 +46774,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project",
             });
     internal_static_google_cloud_compute_v1_GetSslCertificateRequest_descriptor =
-        getDescriptor().getMessageType(622);
+        getDescriptor().getMessageType(625);
     internal_static_google_cloud_compute_v1_GetSslCertificateRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetSslCertificateRequest_descriptor,
@@ -46726,7 +46782,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "SslCertificate",
             });
     internal_static_google_cloud_compute_v1_GetSslPolicyRequest_descriptor =
-        getDescriptor().getMessageType(623);
+        getDescriptor().getMessageType(626);
     internal_static_google_cloud_compute_v1_GetSslPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetSslPolicyRequest_descriptor,
@@ -46734,7 +46790,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "SslPolicy",
             });
     internal_static_google_cloud_compute_v1_GetStatusVpnGatewayRequest_descriptor =
-        getDescriptor().getMessageType(624);
+        getDescriptor().getMessageType(627);
     internal_static_google_cloud_compute_v1_GetStatusVpnGatewayRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetStatusVpnGatewayRequest_descriptor,
@@ -46742,7 +46798,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "VpnGateway",
             });
     internal_static_google_cloud_compute_v1_GetStoragePoolRequest_descriptor =
-        getDescriptor().getMessageType(625);
+        getDescriptor().getMessageType(628);
     internal_static_google_cloud_compute_v1_GetStoragePoolRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetStoragePoolRequest_descriptor,
@@ -46750,7 +46806,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "StoragePool", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetStoragePoolTypeRequest_descriptor =
-        getDescriptor().getMessageType(626);
+        getDescriptor().getMessageType(629);
     internal_static_google_cloud_compute_v1_GetStoragePoolTypeRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetStoragePoolTypeRequest_descriptor,
@@ -46758,7 +46814,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "StoragePoolType", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetSubnetworkRequest_descriptor =
-        getDescriptor().getMessageType(627);
+        getDescriptor().getMessageType(630);
     internal_static_google_cloud_compute_v1_GetSubnetworkRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetSubnetworkRequest_descriptor,
@@ -46766,7 +46822,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "Subnetwork", "Views",
             });
     internal_static_google_cloud_compute_v1_GetTargetGrpcProxyRequest_descriptor =
-        getDescriptor().getMessageType(628);
+        getDescriptor().getMessageType(631);
     internal_static_google_cloud_compute_v1_GetTargetGrpcProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetTargetGrpcProxyRequest_descriptor,
@@ -46774,7 +46830,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "TargetGrpcProxy",
             });
     internal_static_google_cloud_compute_v1_GetTargetHttpProxyRequest_descriptor =
-        getDescriptor().getMessageType(629);
+        getDescriptor().getMessageType(632);
     internal_static_google_cloud_compute_v1_GetTargetHttpProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetTargetHttpProxyRequest_descriptor,
@@ -46782,7 +46838,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "TargetHttpProxy",
             });
     internal_static_google_cloud_compute_v1_GetTargetHttpsProxyRequest_descriptor =
-        getDescriptor().getMessageType(630);
+        getDescriptor().getMessageType(633);
     internal_static_google_cloud_compute_v1_GetTargetHttpsProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetTargetHttpsProxyRequest_descriptor,
@@ -46790,7 +46846,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "TargetHttpsProxy",
             });
     internal_static_google_cloud_compute_v1_GetTargetInstanceRequest_descriptor =
-        getDescriptor().getMessageType(631);
+        getDescriptor().getMessageType(634);
     internal_static_google_cloud_compute_v1_GetTargetInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetTargetInstanceRequest_descriptor,
@@ -46798,7 +46854,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "TargetInstance", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetTargetPoolRequest_descriptor =
-        getDescriptor().getMessageType(632);
+        getDescriptor().getMessageType(635);
     internal_static_google_cloud_compute_v1_GetTargetPoolRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetTargetPoolRequest_descriptor,
@@ -46806,7 +46862,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "TargetPool",
             });
     internal_static_google_cloud_compute_v1_GetTargetSslProxyRequest_descriptor =
-        getDescriptor().getMessageType(633);
+        getDescriptor().getMessageType(636);
     internal_static_google_cloud_compute_v1_GetTargetSslProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetTargetSslProxyRequest_descriptor,
@@ -46814,7 +46870,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "TargetSslProxy",
             });
     internal_static_google_cloud_compute_v1_GetTargetTcpProxyRequest_descriptor =
-        getDescriptor().getMessageType(634);
+        getDescriptor().getMessageType(637);
     internal_static_google_cloud_compute_v1_GetTargetTcpProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetTargetTcpProxyRequest_descriptor,
@@ -46822,7 +46878,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "TargetTcpProxy",
             });
     internal_static_google_cloud_compute_v1_GetTargetVpnGatewayRequest_descriptor =
-        getDescriptor().getMessageType(635);
+        getDescriptor().getMessageType(638);
     internal_static_google_cloud_compute_v1_GetTargetVpnGatewayRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetTargetVpnGatewayRequest_descriptor,
@@ -46830,7 +46886,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "TargetVpnGateway",
             });
     internal_static_google_cloud_compute_v1_GetUrlMapRequest_descriptor =
-        getDescriptor().getMessageType(636);
+        getDescriptor().getMessageType(639);
     internal_static_google_cloud_compute_v1_GetUrlMapRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetUrlMapRequest_descriptor,
@@ -46838,7 +46894,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "UrlMap",
             });
     internal_static_google_cloud_compute_v1_GetVersionHostRequest_descriptor =
-        getDescriptor().getMessageType(637);
+        getDescriptor().getMessageType(640);
     internal_static_google_cloud_compute_v1_GetVersionHostRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetVersionHostRequest_descriptor,
@@ -46851,7 +46907,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_GetVersionOperationMetadata_descriptor =
-        getDescriptor().getMessageType(638);
+        getDescriptor().getMessageType(641);
     internal_static_google_cloud_compute_v1_GetVersionOperationMetadata_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetVersionOperationMetadata_descriptor,
@@ -46859,7 +46915,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InlineSbomInfo",
             });
     internal_static_google_cloud_compute_v1_GetVersionOperationMetadataSbomInfo_descriptor =
-        getDescriptor().getMessageType(639);
+        getDescriptor().getMessageType(642);
     internal_static_google_cloud_compute_v1_GetVersionOperationMetadataSbomInfo_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetVersionOperationMetadataSbomInfo_descriptor,
@@ -46885,7 +46941,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_GetVersionReservationSlotRequest_descriptor =
-        getDescriptor().getMessageType(640);
+        getDescriptor().getMessageType(643);
     internal_static_google_cloud_compute_v1_GetVersionReservationSlotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetVersionReservationSlotRequest_descriptor,
@@ -46898,7 +46954,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_GetVersionReservationSubBlockRequest_descriptor =
-        getDescriptor().getMessageType(641);
+        getDescriptor().getMessageType(644);
     internal_static_google_cloud_compute_v1_GetVersionReservationSubBlockRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetVersionReservationSubBlockRequest_descriptor,
@@ -46911,7 +46967,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_GetVpnGatewayRequest_descriptor =
-        getDescriptor().getMessageType(642);
+        getDescriptor().getMessageType(645);
     internal_static_google_cloud_compute_v1_GetVpnGatewayRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetVpnGatewayRequest_descriptor,
@@ -46919,7 +46975,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "VpnGateway",
             });
     internal_static_google_cloud_compute_v1_GetVpnTunnelRequest_descriptor =
-        getDescriptor().getMessageType(643);
+        getDescriptor().getMessageType(646);
     internal_static_google_cloud_compute_v1_GetVpnTunnelRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetVpnTunnelRequest_descriptor,
@@ -46927,7 +46983,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "VpnTunnel",
             });
     internal_static_google_cloud_compute_v1_GetWireGroupRequest_descriptor =
-        getDescriptor().getMessageType(644);
+        getDescriptor().getMessageType(647);
     internal_static_google_cloud_compute_v1_GetWireGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetWireGroupRequest_descriptor,
@@ -46935,7 +46991,7 @@ private static void _clinit_autosplit_dinit_1() {
               "CrossSiteNetwork", "Project", "WireGroup",
             });
     internal_static_google_cloud_compute_v1_GetXpnHostProjectRequest_descriptor =
-        getDescriptor().getMessageType(645);
+        getDescriptor().getMessageType(648);
     internal_static_google_cloud_compute_v1_GetXpnHostProjectRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetXpnHostProjectRequest_descriptor,
@@ -46943,7 +46999,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project",
             });
     internal_static_google_cloud_compute_v1_GetXpnResourcesProjectsRequest_descriptor =
-        getDescriptor().getMessageType(646);
+        getDescriptor().getMessageType(649);
     internal_static_google_cloud_compute_v1_GetXpnResourcesProjectsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetXpnResourcesProjectsRequest_descriptor,
@@ -46951,7 +47007,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_GetZoneOperationRequest_descriptor =
-        getDescriptor().getMessageType(647);
+        getDescriptor().getMessageType(650);
     internal_static_google_cloud_compute_v1_GetZoneOperationRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetZoneOperationRequest_descriptor,
@@ -46959,7 +47015,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Operation", "Project", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetZoneRequest_descriptor =
-        getDescriptor().getMessageType(648);
+        getDescriptor().getMessageType(651);
     internal_static_google_cloud_compute_v1_GetZoneRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetZoneRequest_descriptor,
@@ -46967,7 +47023,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Zone",
             });
     internal_static_google_cloud_compute_v1_GetZoneVmExtensionPolicyRequest_descriptor =
-        getDescriptor().getMessageType(649);
+        getDescriptor().getMessageType(652);
     internal_static_google_cloud_compute_v1_GetZoneVmExtensionPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GetZoneVmExtensionPolicyRequest_descriptor,
@@ -46975,7 +47031,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "VmExtensionPolicy", "Zone",
             });
     internal_static_google_cloud_compute_v1_GlobalAddressesMoveRequest_descriptor =
-        getDescriptor().getMessageType(650);
+        getDescriptor().getMessageType(653);
     internal_static_google_cloud_compute_v1_GlobalAddressesMoveRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GlobalAddressesMoveRequest_descriptor,
@@ -46983,7 +47039,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Description", "DestinationAddress",
             });
     internal_static_google_cloud_compute_v1_GlobalNetworkEndpointGroupsAttachEndpointsRequest_descriptor =
-        getDescriptor().getMessageType(651);
+        getDescriptor().getMessageType(654);
     internal_static_google_cloud_compute_v1_GlobalNetworkEndpointGroupsAttachEndpointsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GlobalNetworkEndpointGroupsAttachEndpointsRequest_descriptor,
@@ -46991,7 +47047,7 @@ private static void _clinit_autosplit_dinit_1() {
               "NetworkEndpoints",
             });
     internal_static_google_cloud_compute_v1_GlobalNetworkEndpointGroupsDetachEndpointsRequest_descriptor =
-        getDescriptor().getMessageType(652);
+        getDescriptor().getMessageType(655);
     internal_static_google_cloud_compute_v1_GlobalNetworkEndpointGroupsDetachEndpointsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GlobalNetworkEndpointGroupsDetachEndpointsRequest_descriptor,
@@ -46999,7 +47055,7 @@ private static void _clinit_autosplit_dinit_1() {
               "NetworkEndpoints",
             });
     internal_static_google_cloud_compute_v1_GlobalOrganizationSetPolicyRequest_descriptor =
-        getDescriptor().getMessageType(653);
+        getDescriptor().getMessageType(656);
     internal_static_google_cloud_compute_v1_GlobalOrganizationSetPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GlobalOrganizationSetPolicyRequest_descriptor,
@@ -47007,7 +47063,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Bindings", "Etag", "Policy",
             });
     internal_static_google_cloud_compute_v1_GlobalSetLabelsRequest_descriptor =
-        getDescriptor().getMessageType(654);
+        getDescriptor().getMessageType(657);
     internal_static_google_cloud_compute_v1_GlobalSetLabelsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GlobalSetLabelsRequest_descriptor,
@@ -47023,7 +47079,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_GlobalSetPolicyRequest_descriptor =
-        getDescriptor().getMessageType(655);
+        getDescriptor().getMessageType(658);
     internal_static_google_cloud_compute_v1_GlobalSetPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GlobalSetPolicyRequest_descriptor,
@@ -47031,7 +47087,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Bindings", "Etag", "Policy",
             });
     internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicy_descriptor =
-        getDescriptor().getMessageType(656);
+        getDescriptor().getMessageType(659);
     internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicy_descriptor,
@@ -47059,7 +47115,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicyExtensionPolicy_descriptor =
-        getDescriptor().getMessageType(657);
+        getDescriptor().getMessageType(660);
     internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicyExtensionPolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicyExtensionPolicy_descriptor,
@@ -47067,7 +47123,7 @@ private static void _clinit_autosplit_dinit_1() {
               "PinnedVersion", "StringConfig",
             });
     internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicyInstanceSelector_descriptor =
-        getDescriptor().getMessageType(658);
+        getDescriptor().getMessageType(661);
     internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicyInstanceSelector_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicyInstanceSelector_descriptor,
@@ -47075,7 +47131,7 @@ private static void _clinit_autosplit_dinit_1() {
               "LabelSelector",
             });
     internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicyLabelSelector_descriptor =
-        getDescriptor().getMessageType(659);
+        getDescriptor().getMessageType(662);
     internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicyLabelSelector_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicyLabelSelector_descriptor,
@@ -47092,7 +47148,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicyList_descriptor =
-        getDescriptor().getMessageType(660);
+        getDescriptor().getMessageType(663);
     internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicyList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicyList_descriptor,
@@ -47100,7 +47156,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Etag", "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Unreachables", "Warning",
             });
     internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicyRolloutOperation_descriptor =
-        getDescriptor().getMessageType(661);
+        getDescriptor().getMessageType(664);
     internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicyRolloutOperation_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicyRolloutOperation_descriptor,
@@ -47108,7 +47164,7 @@ private static void _clinit_autosplit_dinit_1() {
               "RolloutInput", "RolloutStatus",
             });
     internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicyRolloutOperationRolloutInput_descriptor =
-        getDescriptor().getMessageType(662);
+        getDescriptor().getMessageType(665);
     internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicyRolloutOperationRolloutInput_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicyRolloutOperationRolloutInput_descriptor,
@@ -47116,7 +47172,7 @@ private static void _clinit_autosplit_dinit_1() {
               "ConflictBehavior", "Name", "PredefinedRolloutPlan", "RetryUuid",
             });
     internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicyRolloutOperationRolloutStatus_descriptor =
-        getDescriptor().getMessageType(663);
+        getDescriptor().getMessageType(666);
     internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicyRolloutOperationRolloutStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicyRolloutOperationRolloutStatus_descriptor,
@@ -47124,7 +47180,7 @@ private static void _clinit_autosplit_dinit_1() {
               "CurrentRollouts", "PreviousRollout",
             });
     internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata_descriptor =
-        getDescriptor().getMessageType(664);
+        getDescriptor().getMessageType(667);
     internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata_descriptor,
@@ -47141,7 +47197,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadataLocationRolloutStatus_descriptor =
-        getDescriptor().getMessageType(665);
+        getDescriptor().getMessageType(668);
     internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadataLocationRolloutStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadataLocationRolloutStatus_descriptor,
@@ -47149,7 +47205,7 @@ private static void _clinit_autosplit_dinit_1() {
               "State",
             });
     internal_static_google_cloud_compute_v1_GroupMaintenanceInfo_descriptor =
-        getDescriptor().getMessageType(666);
+        getDescriptor().getMessageType(669);
     internal_static_google_cloud_compute_v1_GroupMaintenanceInfo_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GroupMaintenanceInfo_descriptor,
@@ -47164,7 +47220,7 @@ private static void _clinit_autosplit_dinit_1() {
               "UpcomingGroupMaintenance",
             });
     internal_static_google_cloud_compute_v1_GuestAttributes_descriptor =
-        getDescriptor().getMessageType(667);
+        getDescriptor().getMessageType(670);
     internal_static_google_cloud_compute_v1_GuestAttributes_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GuestAttributes_descriptor,
@@ -47172,7 +47228,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Kind", "QueryPath", "QueryValue", "SelfLink", "VariableKey", "VariableValue",
             });
     internal_static_google_cloud_compute_v1_GuestAttributesEntry_descriptor =
-        getDescriptor().getMessageType(668);
+        getDescriptor().getMessageType(671);
     internal_static_google_cloud_compute_v1_GuestAttributesEntry_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GuestAttributesEntry_descriptor,
@@ -47180,7 +47236,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Namespace", "Value",
             });
     internal_static_google_cloud_compute_v1_GuestAttributesValue_descriptor =
-        getDescriptor().getMessageType(669);
+        getDescriptor().getMessageType(672);
     internal_static_google_cloud_compute_v1_GuestAttributesValue_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GuestAttributesValue_descriptor,
@@ -47188,7 +47244,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Items",
             });
     internal_static_google_cloud_compute_v1_GuestOsFeature_descriptor =
-        getDescriptor().getMessageType(670);
+        getDescriptor().getMessageType(673);
     internal_static_google_cloud_compute_v1_GuestOsFeature_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_GuestOsFeature_descriptor,
@@ -47196,7 +47252,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Type",
             });
     internal_static_google_cloud_compute_v1_HTTP2HealthCheck_descriptor =
-        getDescriptor().getMessageType(671);
+        getDescriptor().getMessageType(674);
     internal_static_google_cloud_compute_v1_HTTP2HealthCheck_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HTTP2HealthCheck_descriptor,
@@ -47210,7 +47266,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Response",
             });
     internal_static_google_cloud_compute_v1_HTTPHealthCheck_descriptor =
-        getDescriptor().getMessageType(672);
+        getDescriptor().getMessageType(675);
     internal_static_google_cloud_compute_v1_HTTPHealthCheck_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HTTPHealthCheck_descriptor,
@@ -47224,7 +47280,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Response",
             });
     internal_static_google_cloud_compute_v1_HTTPSHealthCheck_descriptor =
-        getDescriptor().getMessageType(673);
+        getDescriptor().getMessageType(676);
     internal_static_google_cloud_compute_v1_HTTPSHealthCheck_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HTTPSHealthCheck_descriptor,
@@ -47238,7 +47294,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Response",
             });
     internal_static_google_cloud_compute_v1_HealthAggregationPoliciesScopedList_descriptor =
-        getDescriptor().getMessageType(674);
+        getDescriptor().getMessageType(677);
     internal_static_google_cloud_compute_v1_HealthAggregationPoliciesScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HealthAggregationPoliciesScopedList_descriptor,
@@ -47246,7 +47302,7 @@ private static void _clinit_autosplit_dinit_1() {
               "HealthAggregationPolicies", "Warning",
             });
     internal_static_google_cloud_compute_v1_HealthAggregationPolicy_descriptor =
-        getDescriptor().getMessageType(675);
+        getDescriptor().getMessageType(678);
     internal_static_google_cloud_compute_v1_HealthAggregationPolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HealthAggregationPolicy_descriptor,
@@ -47265,7 +47321,7 @@ private static void _clinit_autosplit_dinit_1() {
               "SelfLinkWithId",
             });
     internal_static_google_cloud_compute_v1_HealthAggregationPolicyAggregatedList_descriptor =
-        getDescriptor().getMessageType(676);
+        getDescriptor().getMessageType(679);
     internal_static_google_cloud_compute_v1_HealthAggregationPolicyAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HealthAggregationPolicyAggregatedList_descriptor,
@@ -47282,7 +47338,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_HealthAggregationPolicyList_descriptor =
-        getDescriptor().getMessageType(677);
+        getDescriptor().getMessageType(680);
     internal_static_google_cloud_compute_v1_HealthAggregationPolicyList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HealthAggregationPolicyList_descriptor,
@@ -47290,7 +47346,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_HealthCheck_descriptor =
-        getDescriptor().getMessageType(678);
+        getDescriptor().getMessageType(681);
     internal_static_google_cloud_compute_v1_HealthCheck_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HealthCheck_descriptor,
@@ -47318,7 +47374,7 @@ private static void _clinit_autosplit_dinit_1() {
               "UnhealthyThreshold",
             });
     internal_static_google_cloud_compute_v1_HealthCheckList_descriptor =
-        getDescriptor().getMessageType(679);
+        getDescriptor().getMessageType(682);
     internal_static_google_cloud_compute_v1_HealthCheckList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HealthCheckList_descriptor,
@@ -47326,7 +47382,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_HealthCheckLogConfig_descriptor =
-        getDescriptor().getMessageType(680);
+        getDescriptor().getMessageType(683);
     internal_static_google_cloud_compute_v1_HealthCheckLogConfig_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HealthCheckLogConfig_descriptor,
@@ -47334,7 +47390,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Enable",
             });
     internal_static_google_cloud_compute_v1_HealthCheckReference_descriptor =
-        getDescriptor().getMessageType(681);
+        getDescriptor().getMessageType(684);
     internal_static_google_cloud_compute_v1_HealthCheckReference_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HealthCheckReference_descriptor,
@@ -47342,7 +47398,7 @@ private static void _clinit_autosplit_dinit_1() {
               "HealthCheck",
             });
     internal_static_google_cloud_compute_v1_HealthCheckService_descriptor =
-        getDescriptor().getMessageType(682);
+        getDescriptor().getMessageType(685);
     internal_static_google_cloud_compute_v1_HealthCheckService_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HealthCheckService_descriptor,
@@ -47361,7 +47417,7 @@ private static void _clinit_autosplit_dinit_1() {
               "SelfLink",
             });
     internal_static_google_cloud_compute_v1_HealthCheckServiceAggregatedList_descriptor =
-        getDescriptor().getMessageType(683);
+        getDescriptor().getMessageType(686);
     internal_static_google_cloud_compute_v1_HealthCheckServiceAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HealthCheckServiceAggregatedList_descriptor,
@@ -47378,7 +47434,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_HealthCheckServiceReference_descriptor =
-        getDescriptor().getMessageType(684);
+        getDescriptor().getMessageType(687);
     internal_static_google_cloud_compute_v1_HealthCheckServiceReference_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HealthCheckServiceReference_descriptor,
@@ -47386,7 +47442,7 @@ private static void _clinit_autosplit_dinit_1() {
               "HealthCheckService",
             });
     internal_static_google_cloud_compute_v1_HealthCheckServicesList_descriptor =
-        getDescriptor().getMessageType(685);
+        getDescriptor().getMessageType(688);
     internal_static_google_cloud_compute_v1_HealthCheckServicesList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HealthCheckServicesList_descriptor,
@@ -47394,7 +47450,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_HealthCheckServicesScopedList_descriptor =
-        getDescriptor().getMessageType(686);
+        getDescriptor().getMessageType(689);
     internal_static_google_cloud_compute_v1_HealthCheckServicesScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HealthCheckServicesScopedList_descriptor,
@@ -47402,7 +47458,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Resources", "Warning",
             });
     internal_static_google_cloud_compute_v1_HealthChecksAggregatedList_descriptor =
-        getDescriptor().getMessageType(687);
+        getDescriptor().getMessageType(690);
     internal_static_google_cloud_compute_v1_HealthChecksAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HealthChecksAggregatedList_descriptor,
@@ -47419,7 +47475,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_HealthChecksScopedList_descriptor =
-        getDescriptor().getMessageType(688);
+        getDescriptor().getMessageType(691);
     internal_static_google_cloud_compute_v1_HealthChecksScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HealthChecksScopedList_descriptor,
@@ -47427,7 +47483,7 @@ private static void _clinit_autosplit_dinit_1() {
               "HealthChecks", "Warning",
             });
     internal_static_google_cloud_compute_v1_HealthSource_descriptor =
-        getDescriptor().getMessageType(689);
+        getDescriptor().getMessageType(692);
     internal_static_google_cloud_compute_v1_HealthSource_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HealthSource_descriptor,
@@ -47446,7 +47502,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Sources",
             });
     internal_static_google_cloud_compute_v1_HealthSourceAggregatedList_descriptor =
-        getDescriptor().getMessageType(690);
+        getDescriptor().getMessageType(693);
     internal_static_google_cloud_compute_v1_HealthSourceAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HealthSourceAggregatedList_descriptor,
@@ -47463,7 +47519,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_HealthSourceHealth_descriptor =
-        getDescriptor().getMessageType(691);
+        getDescriptor().getMessageType(694);
     internal_static_google_cloud_compute_v1_HealthSourceHealth_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HealthSourceHealth_descriptor,
@@ -47471,7 +47527,7 @@ private static void _clinit_autosplit_dinit_1() {
               "HealthState", "Kind", "Sources",
             });
     internal_static_google_cloud_compute_v1_HealthSourceList_descriptor =
-        getDescriptor().getMessageType(692);
+        getDescriptor().getMessageType(695);
     internal_static_google_cloud_compute_v1_HealthSourceList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HealthSourceList_descriptor,
@@ -47479,7 +47535,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_HealthSourcesGetHealthResponseSourceInfo_descriptor =
-        getDescriptor().getMessageType(693);
+        getDescriptor().getMessageType(696);
     internal_static_google_cloud_compute_v1_HealthSourcesGetHealthResponseSourceInfo_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HealthSourcesGetHealthResponseSourceInfo_descriptor,
@@ -47487,7 +47543,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Backends", "ForwardingRule", "Source",
             });
     internal_static_google_cloud_compute_v1_HealthSourcesGetHealthResponseSourceInfoBackendInfo_descriptor =
-        getDescriptor().getMessageType(694);
+        getDescriptor().getMessageType(697);
     internal_static_google_cloud_compute_v1_HealthSourcesGetHealthResponseSourceInfoBackendInfo_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HealthSourcesGetHealthResponseSourceInfoBackendInfo_descriptor,
@@ -47495,7 +47551,7 @@ private static void _clinit_autosplit_dinit_1() {
               "EndpointCount", "Group", "HealthyEndpointCount",
             });
     internal_static_google_cloud_compute_v1_HealthSourcesScopedList_descriptor =
-        getDescriptor().getMessageType(695);
+        getDescriptor().getMessageType(698);
     internal_static_google_cloud_compute_v1_HealthSourcesScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HealthSourcesScopedList_descriptor,
@@ -47503,7 +47559,7 @@ private static void _clinit_autosplit_dinit_1() {
               "HealthSources", "Warning",
             });
     internal_static_google_cloud_compute_v1_HealthStatus_descriptor =
-        getDescriptor().getMessageType(696);
+        getDescriptor().getMessageType(699);
     internal_static_google_cloud_compute_v1_HealthStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HealthStatus_descriptor,
@@ -47529,7 +47585,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_HealthStatusForNetworkEndpoint_descriptor =
-        getDescriptor().getMessageType(697);
+        getDescriptor().getMessageType(700);
     internal_static_google_cloud_compute_v1_HealthStatusForNetworkEndpoint_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HealthStatusForNetworkEndpoint_descriptor,
@@ -47541,7 +47597,7 @@ private static void _clinit_autosplit_dinit_1() {
               "HealthState",
               "Ipv6HealthState",
             });
-    internal_static_google_cloud_compute_v1_Help_descriptor = getDescriptor().getMessageType(698);
+    internal_static_google_cloud_compute_v1_Help_descriptor = getDescriptor().getMessageType(701);
     internal_static_google_cloud_compute_v1_Help_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Help_descriptor,
@@ -47549,14 +47605,14 @@ private static void _clinit_autosplit_dinit_1() {
               "Links",
             });
     internal_static_google_cloud_compute_v1_HelpLink_descriptor =
-        getDescriptor().getMessageType(699);
+        getDescriptor().getMessageType(702);
     internal_static_google_cloud_compute_v1_HelpLink_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HelpLink_descriptor,
             new java.lang.String[] {
               "Description", "Url",
             });
-    internal_static_google_cloud_compute_v1_Host_descriptor = getDescriptor().getMessageType(700);
+    internal_static_google_cloud_compute_v1_Host_descriptor = getDescriptor().getMessageType(703);
     internal_static_google_cloud_compute_v1_Host_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Host_descriptor,
@@ -47574,7 +47630,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_HostPhysicalTopology_descriptor =
-        getDescriptor().getMessageType(701);
+        getDescriptor().getMessageType(704);
     internal_static_google_cloud_compute_v1_HostPhysicalTopology_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HostPhysicalTopology_descriptor,
@@ -47582,7 +47638,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Block", "Cluster", "Host", "SubBlock",
             });
     internal_static_google_cloud_compute_v1_HostRule_descriptor =
-        getDescriptor().getMessageType(702);
+        getDescriptor().getMessageType(705);
     internal_static_google_cloud_compute_v1_HostRule_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HostRule_descriptor,
@@ -47590,7 +47646,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Description", "Hosts", "PathMatcher",
             });
     internal_static_google_cloud_compute_v1_HostStatus_descriptor =
-        getDescriptor().getMessageType(703);
+        getDescriptor().getMessageType(706);
     internal_static_google_cloud_compute_v1_HostStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HostStatus_descriptor,
@@ -47598,7 +47654,7 @@ private static void _clinit_autosplit_dinit_1() {
               "PhysicalTopology", "RunningInstances",
             });
     internal_static_google_cloud_compute_v1_HostsGetVersionRequest_descriptor =
-        getDescriptor().getMessageType(704);
+        getDescriptor().getMessageType(707);
     internal_static_google_cloud_compute_v1_HostsGetVersionRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HostsGetVersionRequest_descriptor,
@@ -47606,7 +47662,7 @@ private static void _clinit_autosplit_dinit_1() {
               "SbomSelections",
             });
     internal_static_google_cloud_compute_v1_HostsListResponse_descriptor =
-        getDescriptor().getMessageType(705);
+        getDescriptor().getMessageType(708);
     internal_static_google_cloud_compute_v1_HostsListResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HostsListResponse_descriptor,
@@ -47614,7 +47670,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Etag", "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Unreachables", "Warning",
             });
     internal_static_google_cloud_compute_v1_HttpFaultAbort_descriptor =
-        getDescriptor().getMessageType(706);
+        getDescriptor().getMessageType(709);
     internal_static_google_cloud_compute_v1_HttpFaultAbort_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HttpFaultAbort_descriptor,
@@ -47622,7 +47678,7 @@ private static void _clinit_autosplit_dinit_1() {
               "HttpStatus", "Percentage",
             });
     internal_static_google_cloud_compute_v1_HttpFaultDelay_descriptor =
-        getDescriptor().getMessageType(707);
+        getDescriptor().getMessageType(710);
     internal_static_google_cloud_compute_v1_HttpFaultDelay_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HttpFaultDelay_descriptor,
@@ -47630,7 +47686,7 @@ private static void _clinit_autosplit_dinit_1() {
               "FixedDelay", "Percentage",
             });
     internal_static_google_cloud_compute_v1_HttpFaultInjection_descriptor =
-        getDescriptor().getMessageType(708);
+        getDescriptor().getMessageType(711);
     internal_static_google_cloud_compute_v1_HttpFaultInjection_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HttpFaultInjection_descriptor,
@@ -47638,7 +47694,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Abort", "Delay",
             });
     internal_static_google_cloud_compute_v1_HttpHeaderAction_descriptor =
-        getDescriptor().getMessageType(709);
+        getDescriptor().getMessageType(712);
     internal_static_google_cloud_compute_v1_HttpHeaderAction_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HttpHeaderAction_descriptor,
@@ -47649,7 +47705,7 @@ private static void _clinit_autosplit_dinit_1() {
               "ResponseHeadersToRemove",
             });
     internal_static_google_cloud_compute_v1_HttpHeaderMatch_descriptor =
-        getDescriptor().getMessageType(710);
+        getDescriptor().getMessageType(713);
     internal_static_google_cloud_compute_v1_HttpHeaderMatch_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HttpHeaderMatch_descriptor,
@@ -47664,7 +47720,7 @@ private static void _clinit_autosplit_dinit_1() {
               "SuffixMatch",
             });
     internal_static_google_cloud_compute_v1_HttpHeaderOption_descriptor =
-        getDescriptor().getMessageType(711);
+        getDescriptor().getMessageType(714);
     internal_static_google_cloud_compute_v1_HttpHeaderOption_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HttpHeaderOption_descriptor,
@@ -47672,7 +47728,7 @@ private static void _clinit_autosplit_dinit_1() {
               "HeaderName", "HeaderValue", "Replace",
             });
     internal_static_google_cloud_compute_v1_HttpQueryParameterMatch_descriptor =
-        getDescriptor().getMessageType(712);
+        getDescriptor().getMessageType(715);
     internal_static_google_cloud_compute_v1_HttpQueryParameterMatch_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HttpQueryParameterMatch_descriptor,
@@ -47680,7 +47736,7 @@ private static void _clinit_autosplit_dinit_1() {
               "ExactMatch", "Name", "PresentMatch", "RegexMatch",
             });
     internal_static_google_cloud_compute_v1_HttpRedirectAction_descriptor =
-        getDescriptor().getMessageType(713);
+        getDescriptor().getMessageType(716);
     internal_static_google_cloud_compute_v1_HttpRedirectAction_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HttpRedirectAction_descriptor,
@@ -47693,7 +47749,7 @@ private static void _clinit_autosplit_dinit_1() {
               "StripQuery",
             });
     internal_static_google_cloud_compute_v1_HttpRetryPolicy_descriptor =
-        getDescriptor().getMessageType(714);
+        getDescriptor().getMessageType(717);
     internal_static_google_cloud_compute_v1_HttpRetryPolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HttpRetryPolicy_descriptor,
@@ -47701,7 +47757,7 @@ private static void _clinit_autosplit_dinit_1() {
               "NumRetries", "PerTryTimeout", "RetryConditions",
             });
     internal_static_google_cloud_compute_v1_HttpRouteAction_descriptor =
-        getDescriptor().getMessageType(715);
+        getDescriptor().getMessageType(718);
     internal_static_google_cloud_compute_v1_HttpRouteAction_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HttpRouteAction_descriptor,
@@ -47717,7 +47773,7 @@ private static void _clinit_autosplit_dinit_1() {
               "WeightedBackendServices",
             });
     internal_static_google_cloud_compute_v1_HttpRouteRule_descriptor =
-        getDescriptor().getMessageType(716);
+        getDescriptor().getMessageType(719);
     internal_static_google_cloud_compute_v1_HttpRouteRule_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HttpRouteRule_descriptor,
@@ -47732,7 +47788,7 @@ private static void _clinit_autosplit_dinit_1() {
               "UrlRedirect",
             });
     internal_static_google_cloud_compute_v1_HttpRouteRuleMatch_descriptor =
-        getDescriptor().getMessageType(717);
+        getDescriptor().getMessageType(720);
     internal_static_google_cloud_compute_v1_HttpRouteRuleMatch_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_HttpRouteRuleMatch_descriptor,
@@ -47746,7 +47802,7 @@ private static void _clinit_autosplit_dinit_1() {
               "QueryParameterMatches",
               "RegexMatch",
             });
-    internal_static_google_cloud_compute_v1_Image_descriptor = getDescriptor().getMessageType(718);
+    internal_static_google_cloud_compute_v1_Image_descriptor = getDescriptor().getMessageType(721);
     internal_static_google_cloud_compute_v1_Image_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Image_descriptor,
@@ -47796,7 +47852,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_ImageFamilyView_descriptor =
-        getDescriptor().getMessageType(719);
+        getDescriptor().getMessageType(722);
     internal_static_google_cloud_compute_v1_ImageFamilyView_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ImageFamilyView_descriptor,
@@ -47804,7 +47860,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Image",
             });
     internal_static_google_cloud_compute_v1_ImageList_descriptor =
-        getDescriptor().getMessageType(720);
+        getDescriptor().getMessageType(723);
     internal_static_google_cloud_compute_v1_ImageList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ImageList_descriptor,
@@ -47812,7 +47868,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_ImageParams_descriptor =
-        getDescriptor().getMessageType(721);
+        getDescriptor().getMessageType(724);
     internal_static_google_cloud_compute_v1_ImageParams_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ImageParams_descriptor,
@@ -47828,7 +47884,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_InitialStateConfig_descriptor =
-        getDescriptor().getMessageType(722);
+        getDescriptor().getMessageType(725);
     internal_static_google_cloud_compute_v1_InitialStateConfig_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InitialStateConfig_descriptor,
@@ -47836,7 +47892,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Dbs", "Dbxs", "Keks", "Pk",
             });
     internal_static_google_cloud_compute_v1_InsertAddressRequest_descriptor =
-        getDescriptor().getMessageType(723);
+        getDescriptor().getMessageType(726);
     internal_static_google_cloud_compute_v1_InsertAddressRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertAddressRequest_descriptor,
@@ -47844,7 +47900,7 @@ private static void _clinit_autosplit_dinit_1() {
               "AddressResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertAutoscalerRequest_descriptor =
-        getDescriptor().getMessageType(724);
+        getDescriptor().getMessageType(727);
     internal_static_google_cloud_compute_v1_InsertAutoscalerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertAutoscalerRequest_descriptor,
@@ -47852,7 +47908,7 @@ private static void _clinit_autosplit_dinit_1() {
               "AutoscalerResource", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_InsertBackendBucketRequest_descriptor =
-        getDescriptor().getMessageType(725);
+        getDescriptor().getMessageType(728);
     internal_static_google_cloud_compute_v1_InsertBackendBucketRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertBackendBucketRequest_descriptor,
@@ -47860,7 +47916,7 @@ private static void _clinit_autosplit_dinit_1() {
               "BackendBucketResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertBackendServiceRequest_descriptor =
-        getDescriptor().getMessageType(726);
+        getDescriptor().getMessageType(729);
     internal_static_google_cloud_compute_v1_InsertBackendServiceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertBackendServiceRequest_descriptor,
@@ -47868,7 +47924,7 @@ private static void _clinit_autosplit_dinit_1() {
               "BackendServiceResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertCrossSiteNetworkRequest_descriptor =
-        getDescriptor().getMessageType(727);
+        getDescriptor().getMessageType(730);
     internal_static_google_cloud_compute_v1_InsertCrossSiteNetworkRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertCrossSiteNetworkRequest_descriptor,
@@ -47876,7 +47932,7 @@ private static void _clinit_autosplit_dinit_1() {
               "CrossSiteNetworkResource", "Project", "RequestId", "ValidateOnly",
             });
     internal_static_google_cloud_compute_v1_InsertDiskRequest_descriptor =
-        getDescriptor().getMessageType(728);
+        getDescriptor().getMessageType(731);
     internal_static_google_cloud_compute_v1_InsertDiskRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertDiskRequest_descriptor,
@@ -47884,7 +47940,7 @@ private static void _clinit_autosplit_dinit_1() {
               "DiskResource", "Project", "RequestId", "SourceImage", "Zone",
             });
     internal_static_google_cloud_compute_v1_InsertExternalVpnGatewayRequest_descriptor =
-        getDescriptor().getMessageType(729);
+        getDescriptor().getMessageType(732);
     internal_static_google_cloud_compute_v1_InsertExternalVpnGatewayRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertExternalVpnGatewayRequest_descriptor,
@@ -47892,7 +47948,7 @@ private static void _clinit_autosplit_dinit_1() {
               "ExternalVpnGatewayResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(730);
+        getDescriptor().getMessageType(733);
     internal_static_google_cloud_compute_v1_InsertFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertFirewallPolicyRequest_descriptor,
@@ -47900,7 +47956,7 @@ private static void _clinit_autosplit_dinit_1() {
               "FirewallPolicyResource", "ParentId", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertFirewallRequest_descriptor =
-        getDescriptor().getMessageType(731);
+        getDescriptor().getMessageType(734);
     internal_static_google_cloud_compute_v1_InsertFirewallRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertFirewallRequest_descriptor,
@@ -47908,7 +47964,7 @@ private static void _clinit_autosplit_dinit_1() {
               "FirewallResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertForwardingRuleRequest_descriptor =
-        getDescriptor().getMessageType(732);
+        getDescriptor().getMessageType(735);
     internal_static_google_cloud_compute_v1_InsertForwardingRuleRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertForwardingRuleRequest_descriptor,
@@ -47916,7 +47972,7 @@ private static void _clinit_autosplit_dinit_1() {
               "ForwardingRuleResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertFutureReservationRequest_descriptor =
-        getDescriptor().getMessageType(733);
+        getDescriptor().getMessageType(736);
     internal_static_google_cloud_compute_v1_InsertFutureReservationRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertFutureReservationRequest_descriptor,
@@ -47924,7 +47980,7 @@ private static void _clinit_autosplit_dinit_1() {
               "FutureReservationResource", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_InsertGlobalAddressRequest_descriptor =
-        getDescriptor().getMessageType(734);
+        getDescriptor().getMessageType(737);
     internal_static_google_cloud_compute_v1_InsertGlobalAddressRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertGlobalAddressRequest_descriptor,
@@ -47932,7 +47988,7 @@ private static void _clinit_autosplit_dinit_1() {
               "AddressResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertGlobalForwardingRuleRequest_descriptor =
-        getDescriptor().getMessageType(735);
+        getDescriptor().getMessageType(738);
     internal_static_google_cloud_compute_v1_InsertGlobalForwardingRuleRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertGlobalForwardingRuleRequest_descriptor,
@@ -47940,7 +47996,7 @@ private static void _clinit_autosplit_dinit_1() {
               "ForwardingRuleResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertGlobalNetworkEndpointGroupRequest_descriptor =
-        getDescriptor().getMessageType(736);
+        getDescriptor().getMessageType(739);
     internal_static_google_cloud_compute_v1_InsertGlobalNetworkEndpointGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertGlobalNetworkEndpointGroupRequest_descriptor,
@@ -47948,7 +48004,7 @@ private static void _clinit_autosplit_dinit_1() {
               "NetworkEndpointGroupResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertGlobalPublicDelegatedPrefixeRequest_descriptor =
-        getDescriptor().getMessageType(737);
+        getDescriptor().getMessageType(740);
     internal_static_google_cloud_compute_v1_InsertGlobalPublicDelegatedPrefixeRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertGlobalPublicDelegatedPrefixeRequest_descriptor,
@@ -47956,7 +48012,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "PublicDelegatedPrefixResource", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertGlobalVmExtensionPolicyRequest_descriptor =
-        getDescriptor().getMessageType(738);
+        getDescriptor().getMessageType(741);
     internal_static_google_cloud_compute_v1_InsertGlobalVmExtensionPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertGlobalVmExtensionPolicyRequest_descriptor,
@@ -47964,7 +48020,7 @@ private static void _clinit_autosplit_dinit_1() {
               "GlobalVmExtensionPolicyResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertHealthCheckRequest_descriptor =
-        getDescriptor().getMessageType(739);
+        getDescriptor().getMessageType(742);
     internal_static_google_cloud_compute_v1_InsertHealthCheckRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertHealthCheckRequest_descriptor,
@@ -47972,7 +48028,7 @@ private static void _clinit_autosplit_dinit_1() {
               "HealthCheckResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertImageRequest_descriptor =
-        getDescriptor().getMessageType(740);
+        getDescriptor().getMessageType(743);
     internal_static_google_cloud_compute_v1_InsertImageRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertImageRequest_descriptor,
@@ -47980,7 +48036,7 @@ private static void _clinit_autosplit_dinit_1() {
               "ForceCreate", "ImageResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertInstanceGroupManagerRequest_descriptor =
-        getDescriptor().getMessageType(741);
+        getDescriptor().getMessageType(744);
     internal_static_google_cloud_compute_v1_InsertInstanceGroupManagerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertInstanceGroupManagerRequest_descriptor,
@@ -47988,7 +48044,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InstanceGroupManagerResource", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_InsertInstanceGroupManagerResizeRequestRequest_descriptor =
-        getDescriptor().getMessageType(742);
+        getDescriptor().getMessageType(745);
     internal_static_google_cloud_compute_v1_InsertInstanceGroupManagerResizeRequestRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertInstanceGroupManagerResizeRequestRequest_descriptor,
@@ -48000,7 +48056,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_InsertInstanceGroupRequest_descriptor =
-        getDescriptor().getMessageType(743);
+        getDescriptor().getMessageType(746);
     internal_static_google_cloud_compute_v1_InsertInstanceGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertInstanceGroupRequest_descriptor,
@@ -48008,7 +48064,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InstanceGroupResource", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_InsertInstanceRequest_descriptor =
-        getDescriptor().getMessageType(744);
+        getDescriptor().getMessageType(747);
     internal_static_google_cloud_compute_v1_InsertInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertInstanceRequest_descriptor,
@@ -48021,7 +48077,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_InsertInstanceTemplateRequest_descriptor =
-        getDescriptor().getMessageType(745);
+        getDescriptor().getMessageType(748);
     internal_static_google_cloud_compute_v1_InsertInstanceTemplateRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertInstanceTemplateRequest_descriptor,
@@ -48029,7 +48085,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InstanceTemplateResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertInstantSnapshotGroupRequest_descriptor =
-        getDescriptor().getMessageType(746);
+        getDescriptor().getMessageType(749);
     internal_static_google_cloud_compute_v1_InsertInstantSnapshotGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertInstantSnapshotGroupRequest_descriptor,
@@ -48041,7 +48097,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_InsertInstantSnapshotRequest_descriptor =
-        getDescriptor().getMessageType(747);
+        getDescriptor().getMessageType(750);
     internal_static_google_cloud_compute_v1_InsertInstantSnapshotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertInstantSnapshotRequest_descriptor,
@@ -48049,7 +48105,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InstantSnapshotResource", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_InsertInterconnectAttachmentGroupRequest_descriptor =
-        getDescriptor().getMessageType(748);
+        getDescriptor().getMessageType(751);
     internal_static_google_cloud_compute_v1_InsertInterconnectAttachmentGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertInterconnectAttachmentGroupRequest_descriptor,
@@ -48057,7 +48113,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InterconnectAttachmentGroupResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertInterconnectAttachmentRequest_descriptor =
-        getDescriptor().getMessageType(749);
+        getDescriptor().getMessageType(752);
     internal_static_google_cloud_compute_v1_InsertInterconnectAttachmentRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertInterconnectAttachmentRequest_descriptor,
@@ -48065,7 +48121,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InterconnectAttachmentResource", "Project", "Region", "RequestId", "ValidateOnly",
             });
     internal_static_google_cloud_compute_v1_InsertInterconnectGroupRequest_descriptor =
-        getDescriptor().getMessageType(750);
+        getDescriptor().getMessageType(753);
     internal_static_google_cloud_compute_v1_InsertInterconnectGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertInterconnectGroupRequest_descriptor,
@@ -48073,7 +48129,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InterconnectGroupResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertInterconnectRequest_descriptor =
-        getDescriptor().getMessageType(751);
+        getDescriptor().getMessageType(754);
     internal_static_google_cloud_compute_v1_InsertInterconnectRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertInterconnectRequest_descriptor,
@@ -48081,7 +48137,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InterconnectResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertLicenseRequest_descriptor =
-        getDescriptor().getMessageType(752);
+        getDescriptor().getMessageType(755);
     internal_static_google_cloud_compute_v1_InsertLicenseRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertLicenseRequest_descriptor,
@@ -48089,7 +48145,7 @@ private static void _clinit_autosplit_dinit_1() {
               "LicenseResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertMachineImageRequest_descriptor =
-        getDescriptor().getMessageType(753);
+        getDescriptor().getMessageType(756);
     internal_static_google_cloud_compute_v1_InsertMachineImageRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertMachineImageRequest_descriptor,
@@ -48097,7 +48153,7 @@ private static void _clinit_autosplit_dinit_1() {
               "MachineImageResource", "Project", "RequestId", "SourceInstance",
             });
     internal_static_google_cloud_compute_v1_InsertNetworkAttachmentRequest_descriptor =
-        getDescriptor().getMessageType(754);
+        getDescriptor().getMessageType(757);
     internal_static_google_cloud_compute_v1_InsertNetworkAttachmentRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertNetworkAttachmentRequest_descriptor,
@@ -48105,7 +48161,7 @@ private static void _clinit_autosplit_dinit_1() {
               "NetworkAttachmentResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertNetworkEdgeSecurityServiceRequest_descriptor =
-        getDescriptor().getMessageType(755);
+        getDescriptor().getMessageType(758);
     internal_static_google_cloud_compute_v1_InsertNetworkEdgeSecurityServiceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertNetworkEdgeSecurityServiceRequest_descriptor,
@@ -48117,7 +48173,7 @@ private static void _clinit_autosplit_dinit_1() {
               "ValidateOnly",
             });
     internal_static_google_cloud_compute_v1_InsertNetworkEndpointGroupRequest_descriptor =
-        getDescriptor().getMessageType(756);
+        getDescriptor().getMessageType(759);
     internal_static_google_cloud_compute_v1_InsertNetworkEndpointGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertNetworkEndpointGroupRequest_descriptor,
@@ -48125,7 +48181,7 @@ private static void _clinit_autosplit_dinit_1() {
               "NetworkEndpointGroupResource", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_InsertNetworkFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(757);
+        getDescriptor().getMessageType(760);
     internal_static_google_cloud_compute_v1_InsertNetworkFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertNetworkFirewallPolicyRequest_descriptor,
@@ -48133,7 +48189,7 @@ private static void _clinit_autosplit_dinit_1() {
               "FirewallPolicyResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertNetworkRequest_descriptor =
-        getDescriptor().getMessageType(758);
+        getDescriptor().getMessageType(761);
     internal_static_google_cloud_compute_v1_InsertNetworkRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertNetworkRequest_descriptor,
@@ -48141,7 +48197,7 @@ private static void _clinit_autosplit_dinit_1() {
               "NetworkResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertNodeGroupRequest_descriptor =
-        getDescriptor().getMessageType(759);
+        getDescriptor().getMessageType(762);
     internal_static_google_cloud_compute_v1_InsertNodeGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertNodeGroupRequest_descriptor,
@@ -48149,7 +48205,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InitialNodeCount", "NodeGroupResource", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_InsertNodeTemplateRequest_descriptor =
-        getDescriptor().getMessageType(760);
+        getDescriptor().getMessageType(763);
     internal_static_google_cloud_compute_v1_InsertNodeTemplateRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertNodeTemplateRequest_descriptor,
@@ -48157,7 +48213,7 @@ private static void _clinit_autosplit_dinit_1() {
               "NodeTemplateResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertOrganizationSecurityPolicyRequest_descriptor =
-        getDescriptor().getMessageType(761);
+        getDescriptor().getMessageType(764);
     internal_static_google_cloud_compute_v1_InsertOrganizationSecurityPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertOrganizationSecurityPolicyRequest_descriptor,
@@ -48165,7 +48221,7 @@ private static void _clinit_autosplit_dinit_1() {
               "ParentId", "RequestId", "SecurityPolicyResource",
             });
     internal_static_google_cloud_compute_v1_InsertPacketMirroringRequest_descriptor =
-        getDescriptor().getMessageType(762);
+        getDescriptor().getMessageType(765);
     internal_static_google_cloud_compute_v1_InsertPacketMirroringRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertPacketMirroringRequest_descriptor,
@@ -48173,7 +48229,7 @@ private static void _clinit_autosplit_dinit_1() {
               "PacketMirroringResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertPublicAdvertisedPrefixeRequest_descriptor =
-        getDescriptor().getMessageType(763);
+        getDescriptor().getMessageType(766);
     internal_static_google_cloud_compute_v1_InsertPublicAdvertisedPrefixeRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertPublicAdvertisedPrefixeRequest_descriptor,
@@ -48181,7 +48237,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "PublicAdvertisedPrefixResource", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertPublicDelegatedPrefixeRequest_descriptor =
-        getDescriptor().getMessageType(764);
+        getDescriptor().getMessageType(767);
     internal_static_google_cloud_compute_v1_InsertPublicDelegatedPrefixeRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertPublicDelegatedPrefixeRequest_descriptor,
@@ -48189,7 +48245,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "PublicDelegatedPrefixResource", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertRegionAutoscalerRequest_descriptor =
-        getDescriptor().getMessageType(765);
+        getDescriptor().getMessageType(768);
     internal_static_google_cloud_compute_v1_InsertRegionAutoscalerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRegionAutoscalerRequest_descriptor,
@@ -48197,7 +48253,7 @@ private static void _clinit_autosplit_dinit_1() {
               "AutoscalerResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertRegionBackendBucketRequest_descriptor =
-        getDescriptor().getMessageType(766);
+        getDescriptor().getMessageType(769);
     internal_static_google_cloud_compute_v1_InsertRegionBackendBucketRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRegionBackendBucketRequest_descriptor,
@@ -48205,7 +48261,7 @@ private static void _clinit_autosplit_dinit_1() {
               "BackendBucketResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertRegionBackendServiceRequest_descriptor =
-        getDescriptor().getMessageType(767);
+        getDescriptor().getMessageType(770);
     internal_static_google_cloud_compute_v1_InsertRegionBackendServiceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRegionBackendServiceRequest_descriptor,
@@ -48213,7 +48269,7 @@ private static void _clinit_autosplit_dinit_1() {
               "BackendServiceResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertRegionCommitmentRequest_descriptor =
-        getDescriptor().getMessageType(768);
+        getDescriptor().getMessageType(771);
     internal_static_google_cloud_compute_v1_InsertRegionCommitmentRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRegionCommitmentRequest_descriptor,
@@ -48221,7 +48277,7 @@ private static void _clinit_autosplit_dinit_1() {
               "CommitmentResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertRegionCompositeHealthCheckRequest_descriptor =
-        getDescriptor().getMessageType(769);
+        getDescriptor().getMessageType(772);
     internal_static_google_cloud_compute_v1_InsertRegionCompositeHealthCheckRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRegionCompositeHealthCheckRequest_descriptor,
@@ -48229,7 +48285,7 @@ private static void _clinit_autosplit_dinit_1() {
               "CompositeHealthCheckResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertRegionDiskRequest_descriptor =
-        getDescriptor().getMessageType(770);
+        getDescriptor().getMessageType(773);
     internal_static_google_cloud_compute_v1_InsertRegionDiskRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRegionDiskRequest_descriptor,
@@ -48237,7 +48293,7 @@ private static void _clinit_autosplit_dinit_1() {
               "DiskResource", "Project", "Region", "RequestId", "SourceImage",
             });
     internal_static_google_cloud_compute_v1_InsertRegionHealthAggregationPolicyRequest_descriptor =
-        getDescriptor().getMessageType(771);
+        getDescriptor().getMessageType(774);
     internal_static_google_cloud_compute_v1_InsertRegionHealthAggregationPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRegionHealthAggregationPolicyRequest_descriptor,
@@ -48245,7 +48301,7 @@ private static void _clinit_autosplit_dinit_1() {
               "HealthAggregationPolicyResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertRegionHealthCheckRequest_descriptor =
-        getDescriptor().getMessageType(772);
+        getDescriptor().getMessageType(775);
     internal_static_google_cloud_compute_v1_InsertRegionHealthCheckRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRegionHealthCheckRequest_descriptor,
@@ -48253,7 +48309,7 @@ private static void _clinit_autosplit_dinit_1() {
               "HealthCheckResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertRegionHealthCheckServiceRequest_descriptor =
-        getDescriptor().getMessageType(773);
+        getDescriptor().getMessageType(776);
     internal_static_google_cloud_compute_v1_InsertRegionHealthCheckServiceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRegionHealthCheckServiceRequest_descriptor,
@@ -48261,7 +48317,7 @@ private static void _clinit_autosplit_dinit_1() {
               "HealthCheckServiceResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertRegionHealthSourceRequest_descriptor =
-        getDescriptor().getMessageType(774);
+        getDescriptor().getMessageType(777);
     internal_static_google_cloud_compute_v1_InsertRegionHealthSourceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRegionHealthSourceRequest_descriptor,
@@ -48269,7 +48325,7 @@ private static void _clinit_autosplit_dinit_1() {
               "HealthSourceResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertRegionInstanceGroupManagerRequest_descriptor =
-        getDescriptor().getMessageType(775);
+        getDescriptor().getMessageType(778);
     internal_static_google_cloud_compute_v1_InsertRegionInstanceGroupManagerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRegionInstanceGroupManagerRequest_descriptor,
@@ -48277,7 +48333,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InstanceGroupManagerResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertRegionInstanceGroupManagerResizeRequestRequest_descriptor =
-        getDescriptor().getMessageType(776);
+        getDescriptor().getMessageType(779);
     internal_static_google_cloud_compute_v1_InsertRegionInstanceGroupManagerResizeRequestRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRegionInstanceGroupManagerResizeRequestRequest_descriptor,
@@ -48289,7 +48345,7 @@ private static void _clinit_autosplit_dinit_1() {
               "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertRegionInstanceTemplateRequest_descriptor =
-        getDescriptor().getMessageType(777);
+        getDescriptor().getMessageType(780);
     internal_static_google_cloud_compute_v1_InsertRegionInstanceTemplateRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRegionInstanceTemplateRequest_descriptor,
@@ -48297,7 +48353,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InstanceTemplateResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertRegionInstantSnapshotGroupRequest_descriptor =
-        getDescriptor().getMessageType(778);
+        getDescriptor().getMessageType(781);
     internal_static_google_cloud_compute_v1_InsertRegionInstantSnapshotGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRegionInstantSnapshotGroupRequest_descriptor,
@@ -48309,7 +48365,7 @@ private static void _clinit_autosplit_dinit_1() {
               "SourceConsistencyGroup",
             });
     internal_static_google_cloud_compute_v1_InsertRegionInstantSnapshotRequest_descriptor =
-        getDescriptor().getMessageType(779);
+        getDescriptor().getMessageType(782);
     internal_static_google_cloud_compute_v1_InsertRegionInstantSnapshotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRegionInstantSnapshotRequest_descriptor,
@@ -48317,7 +48373,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InstantSnapshotResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertRegionNetworkEndpointGroupRequest_descriptor =
-        getDescriptor().getMessageType(780);
+        getDescriptor().getMessageType(783);
     internal_static_google_cloud_compute_v1_InsertRegionNetworkEndpointGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRegionNetworkEndpointGroupRequest_descriptor,
@@ -48325,7 +48381,7 @@ private static void _clinit_autosplit_dinit_1() {
               "NetworkEndpointGroupResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertRegionNetworkFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(781);
+        getDescriptor().getMessageType(784);
     internal_static_google_cloud_compute_v1_InsertRegionNetworkFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRegionNetworkFirewallPolicyRequest_descriptor,
@@ -48333,7 +48389,7 @@ private static void _clinit_autosplit_dinit_1() {
               "FirewallPolicyResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertRegionNotificationEndpointRequest_descriptor =
-        getDescriptor().getMessageType(782);
+        getDescriptor().getMessageType(785);
     internal_static_google_cloud_compute_v1_InsertRegionNotificationEndpointRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRegionNotificationEndpointRequest_descriptor,
@@ -48341,7 +48397,7 @@ private static void _clinit_autosplit_dinit_1() {
               "NotificationEndpointResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_InsertRegionSecurityPolicyRequest_descriptor =
-        getDescriptor().getMessageType(783);
+        getDescriptor().getMessageType(786);
     internal_static_google_cloud_compute_v1_InsertRegionSecurityPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRegionSecurityPolicyRequest_descriptor,
@@ -48349,7 +48405,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "RequestId", "SecurityPolicyResource", "ValidateOnly",
             });
     internal_static_google_cloud_compute_v1_InsertRegionSnapshotRequest_descriptor =
-        getDescriptor().getMessageType(784);
+        getDescriptor().getMessageType(787);
     internal_static_google_cloud_compute_v1_InsertRegionSnapshotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRegionSnapshotRequest_descriptor,
@@ -48357,7 +48413,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "RequestId", "SnapshotResource",
             });
     internal_static_google_cloud_compute_v1_InsertRegionSslCertificateRequest_descriptor =
-        getDescriptor().getMessageType(785);
+        getDescriptor().getMessageType(788);
     internal_static_google_cloud_compute_v1_InsertRegionSslCertificateRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRegionSslCertificateRequest_descriptor,
@@ -48365,7 +48421,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "RequestId", "SslCertificateResource",
             });
     internal_static_google_cloud_compute_v1_InsertRegionSslPolicyRequest_descriptor =
-        getDescriptor().getMessageType(786);
+        getDescriptor().getMessageType(789);
     internal_static_google_cloud_compute_v1_InsertRegionSslPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRegionSslPolicyRequest_descriptor,
@@ -48373,7 +48429,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "RequestId", "SslPolicyResource",
             });
     internal_static_google_cloud_compute_v1_InsertRegionTargetHttpProxyRequest_descriptor =
-        getDescriptor().getMessageType(787);
+        getDescriptor().getMessageType(790);
     internal_static_google_cloud_compute_v1_InsertRegionTargetHttpProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRegionTargetHttpProxyRequest_descriptor,
@@ -48381,7 +48437,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "RequestId", "TargetHttpProxyResource",
             });
     internal_static_google_cloud_compute_v1_InsertRegionTargetHttpsProxyRequest_descriptor =
-        getDescriptor().getMessageType(788);
+        getDescriptor().getMessageType(791);
     internal_static_google_cloud_compute_v1_InsertRegionTargetHttpsProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRegionTargetHttpsProxyRequest_descriptor,
@@ -48389,7 +48445,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "RequestId", "TargetHttpsProxyResource",
             });
     internal_static_google_cloud_compute_v1_InsertRegionTargetTcpProxyRequest_descriptor =
-        getDescriptor().getMessageType(789);
+        getDescriptor().getMessageType(792);
     internal_static_google_cloud_compute_v1_InsertRegionTargetTcpProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRegionTargetTcpProxyRequest_descriptor,
@@ -48397,7 +48453,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "RequestId", "TargetTcpProxyResource",
             });
     internal_static_google_cloud_compute_v1_InsertRegionUrlMapRequest_descriptor =
-        getDescriptor().getMessageType(790);
+        getDescriptor().getMessageType(793);
     internal_static_google_cloud_compute_v1_InsertRegionUrlMapRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRegionUrlMapRequest_descriptor,
@@ -48405,7 +48461,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "RequestId", "UrlMapResource",
             });
     internal_static_google_cloud_compute_v1_InsertReservationRequest_descriptor =
-        getDescriptor().getMessageType(791);
+        getDescriptor().getMessageType(794);
     internal_static_google_cloud_compute_v1_InsertReservationRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertReservationRequest_descriptor,
@@ -48413,7 +48469,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "RequestId", "ReservationResource", "Zone",
             });
     internal_static_google_cloud_compute_v1_InsertResourcePolicyRequest_descriptor =
-        getDescriptor().getMessageType(792);
+        getDescriptor().getMessageType(795);
     internal_static_google_cloud_compute_v1_InsertResourcePolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertResourcePolicyRequest_descriptor,
@@ -48421,7 +48477,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "RequestId", "ResourcePolicyResource",
             });
     internal_static_google_cloud_compute_v1_InsertRolloutPlanRequest_descriptor =
-        getDescriptor().getMessageType(793);
+        getDescriptor().getMessageType(796);
     internal_static_google_cloud_compute_v1_InsertRolloutPlanRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRolloutPlanRequest_descriptor,
@@ -48429,7 +48485,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "RequestId", "RolloutPlanResource",
             });
     internal_static_google_cloud_compute_v1_InsertRouteRequest_descriptor =
-        getDescriptor().getMessageType(794);
+        getDescriptor().getMessageType(797);
     internal_static_google_cloud_compute_v1_InsertRouteRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRouteRequest_descriptor,
@@ -48437,7 +48493,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "RequestId", "RouteResource",
             });
     internal_static_google_cloud_compute_v1_InsertRouterRequest_descriptor =
-        getDescriptor().getMessageType(795);
+        getDescriptor().getMessageType(798);
     internal_static_google_cloud_compute_v1_InsertRouterRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertRouterRequest_descriptor,
@@ -48445,7 +48501,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "RequestId", "RouterResource",
             });
     internal_static_google_cloud_compute_v1_InsertSecurityPolicyRequest_descriptor =
-        getDescriptor().getMessageType(796);
+        getDescriptor().getMessageType(799);
     internal_static_google_cloud_compute_v1_InsertSecurityPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertSecurityPolicyRequest_descriptor,
@@ -48453,7 +48509,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "RequestId", "SecurityPolicyResource", "ValidateOnly",
             });
     internal_static_google_cloud_compute_v1_InsertServiceAttachmentRequest_descriptor =
-        getDescriptor().getMessageType(797);
+        getDescriptor().getMessageType(800);
     internal_static_google_cloud_compute_v1_InsertServiceAttachmentRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertServiceAttachmentRequest_descriptor,
@@ -48461,7 +48517,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "RequestId", "ServiceAttachmentResource",
             });
     internal_static_google_cloud_compute_v1_InsertSnapshotRequest_descriptor =
-        getDescriptor().getMessageType(798);
+        getDescriptor().getMessageType(801);
     internal_static_google_cloud_compute_v1_InsertSnapshotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertSnapshotRequest_descriptor,
@@ -48469,7 +48525,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "RequestId", "SnapshotResource",
             });
     internal_static_google_cloud_compute_v1_InsertSslCertificateRequest_descriptor =
-        getDescriptor().getMessageType(799);
+        getDescriptor().getMessageType(802);
     internal_static_google_cloud_compute_v1_InsertSslCertificateRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertSslCertificateRequest_descriptor,
@@ -48477,7 +48533,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "RequestId", "SslCertificateResource",
             });
     internal_static_google_cloud_compute_v1_InsertSslPolicyRequest_descriptor =
-        getDescriptor().getMessageType(800);
+        getDescriptor().getMessageType(803);
     internal_static_google_cloud_compute_v1_InsertSslPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertSslPolicyRequest_descriptor,
@@ -48485,7 +48541,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "RequestId", "SslPolicyResource",
             });
     internal_static_google_cloud_compute_v1_InsertStoragePoolRequest_descriptor =
-        getDescriptor().getMessageType(801);
+        getDescriptor().getMessageType(804);
     internal_static_google_cloud_compute_v1_InsertStoragePoolRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertStoragePoolRequest_descriptor,
@@ -48493,7 +48549,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "RequestId", "StoragePoolResource", "Zone",
             });
     internal_static_google_cloud_compute_v1_InsertSubnetworkRequest_descriptor =
-        getDescriptor().getMessageType(802);
+        getDescriptor().getMessageType(805);
     internal_static_google_cloud_compute_v1_InsertSubnetworkRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertSubnetworkRequest_descriptor,
@@ -48501,7 +48557,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "RequestId", "SubnetworkResource",
             });
     internal_static_google_cloud_compute_v1_InsertTargetGrpcProxyRequest_descriptor =
-        getDescriptor().getMessageType(803);
+        getDescriptor().getMessageType(806);
     internal_static_google_cloud_compute_v1_InsertTargetGrpcProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertTargetGrpcProxyRequest_descriptor,
@@ -48509,7 +48565,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "RequestId", "TargetGrpcProxyResource",
             });
     internal_static_google_cloud_compute_v1_InsertTargetHttpProxyRequest_descriptor =
-        getDescriptor().getMessageType(804);
+        getDescriptor().getMessageType(807);
     internal_static_google_cloud_compute_v1_InsertTargetHttpProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertTargetHttpProxyRequest_descriptor,
@@ -48517,7 +48573,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "RequestId", "TargetHttpProxyResource",
             });
     internal_static_google_cloud_compute_v1_InsertTargetHttpsProxyRequest_descriptor =
-        getDescriptor().getMessageType(805);
+        getDescriptor().getMessageType(808);
     internal_static_google_cloud_compute_v1_InsertTargetHttpsProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertTargetHttpsProxyRequest_descriptor,
@@ -48525,7 +48581,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "RequestId", "TargetHttpsProxyResource",
             });
     internal_static_google_cloud_compute_v1_InsertTargetInstanceRequest_descriptor =
-        getDescriptor().getMessageType(806);
+        getDescriptor().getMessageType(809);
     internal_static_google_cloud_compute_v1_InsertTargetInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertTargetInstanceRequest_descriptor,
@@ -48533,7 +48589,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "RequestId", "TargetInstanceResource", "Zone",
             });
     internal_static_google_cloud_compute_v1_InsertTargetPoolRequest_descriptor =
-        getDescriptor().getMessageType(807);
+        getDescriptor().getMessageType(810);
     internal_static_google_cloud_compute_v1_InsertTargetPoolRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertTargetPoolRequest_descriptor,
@@ -48541,7 +48597,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "RequestId", "TargetPoolResource",
             });
     internal_static_google_cloud_compute_v1_InsertTargetSslProxyRequest_descriptor =
-        getDescriptor().getMessageType(808);
+        getDescriptor().getMessageType(811);
     internal_static_google_cloud_compute_v1_InsertTargetSslProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertTargetSslProxyRequest_descriptor,
@@ -48549,7 +48605,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "RequestId", "TargetSslProxyResource",
             });
     internal_static_google_cloud_compute_v1_InsertTargetTcpProxyRequest_descriptor =
-        getDescriptor().getMessageType(809);
+        getDescriptor().getMessageType(812);
     internal_static_google_cloud_compute_v1_InsertTargetTcpProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertTargetTcpProxyRequest_descriptor,
@@ -48557,7 +48613,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "RequestId", "TargetTcpProxyResource",
             });
     internal_static_google_cloud_compute_v1_InsertTargetVpnGatewayRequest_descriptor =
-        getDescriptor().getMessageType(810);
+        getDescriptor().getMessageType(813);
     internal_static_google_cloud_compute_v1_InsertTargetVpnGatewayRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertTargetVpnGatewayRequest_descriptor,
@@ -48565,7 +48621,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "RequestId", "TargetVpnGatewayResource",
             });
     internal_static_google_cloud_compute_v1_InsertUrlMapRequest_descriptor =
-        getDescriptor().getMessageType(811);
+        getDescriptor().getMessageType(814);
     internal_static_google_cloud_compute_v1_InsertUrlMapRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertUrlMapRequest_descriptor,
@@ -48573,7 +48629,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "RequestId", "UrlMapResource",
             });
     internal_static_google_cloud_compute_v1_InsertVpnGatewayRequest_descriptor =
-        getDescriptor().getMessageType(812);
+        getDescriptor().getMessageType(815);
     internal_static_google_cloud_compute_v1_InsertVpnGatewayRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertVpnGatewayRequest_descriptor,
@@ -48581,7 +48637,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "RequestId", "VpnGatewayResource",
             });
     internal_static_google_cloud_compute_v1_InsertVpnTunnelRequest_descriptor =
-        getDescriptor().getMessageType(813);
+        getDescriptor().getMessageType(816);
     internal_static_google_cloud_compute_v1_InsertVpnTunnelRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertVpnTunnelRequest_descriptor,
@@ -48589,7 +48645,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "Region", "RequestId", "VpnTunnelResource",
             });
     internal_static_google_cloud_compute_v1_InsertWireGroupRequest_descriptor =
-        getDescriptor().getMessageType(814);
+        getDescriptor().getMessageType(817);
     internal_static_google_cloud_compute_v1_InsertWireGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertWireGroupRequest_descriptor,
@@ -48597,7 +48653,7 @@ private static void _clinit_autosplit_dinit_1() {
               "CrossSiteNetwork", "Project", "RequestId", "ValidateOnly", "WireGroupResource",
             });
     internal_static_google_cloud_compute_v1_InsertZoneVmExtensionPolicyRequest_descriptor =
-        getDescriptor().getMessageType(815);
+        getDescriptor().getMessageType(818);
     internal_static_google_cloud_compute_v1_InsertZoneVmExtensionPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InsertZoneVmExtensionPolicyRequest_descriptor,
@@ -48605,7 +48661,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Project", "RequestId", "VmExtensionPolicyResource", "Zone",
             });
     internal_static_google_cloud_compute_v1_Instance_descriptor =
-        getDescriptor().getMessageType(816);
+        getDescriptor().getMessageType(819);
     internal_static_google_cloud_compute_v1_Instance_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Instance_descriptor,
@@ -48668,7 +48724,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_InstanceAggregatedList_descriptor =
-        getDescriptor().getMessageType(817);
+        getDescriptor().getMessageType(820);
     internal_static_google_cloud_compute_v1_InstanceAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceAggregatedList_descriptor,
@@ -48684,7 +48740,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_InstanceConsumptionData_descriptor =
-        getDescriptor().getMessageType(818);
+        getDescriptor().getMessageType(821);
     internal_static_google_cloud_compute_v1_InstanceConsumptionData_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceConsumptionData_descriptor,
@@ -48692,7 +48748,7 @@ private static void _clinit_autosplit_dinit_1() {
               "ConsumptionInfo", "Instance",
             });
     internal_static_google_cloud_compute_v1_InstanceConsumptionInfo_descriptor =
-        getDescriptor().getMessageType(819);
+        getDescriptor().getMessageType(822);
     internal_static_google_cloud_compute_v1_InstanceConsumptionInfo_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceConsumptionInfo_descriptor,
@@ -48700,7 +48756,7 @@ private static void _clinit_autosplit_dinit_1() {
               "GuestCpus", "LocalSsdGb", "MemoryMb", "MinNodeCpus",
             });
     internal_static_google_cloud_compute_v1_InstanceFlexibilityPolicy_descriptor =
-        getDescriptor().getMessageType(820);
+        getDescriptor().getMessageType(823);
     internal_static_google_cloud_compute_v1_InstanceFlexibilityPolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceFlexibilityPolicy_descriptor,
@@ -48717,7 +48773,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_InstanceFlexibilityPolicyInstanceSelection_descriptor =
-        getDescriptor().getMessageType(821);
+        getDescriptor().getMessageType(824);
     internal_static_google_cloud_compute_v1_InstanceFlexibilityPolicyInstanceSelection_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceFlexibilityPolicyInstanceSelection_descriptor,
@@ -48725,7 +48781,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Disks", "MachineTypes", "MinCpuPlatform", "Rank",
             });
     internal_static_google_cloud_compute_v1_InstanceGroup_descriptor =
-        getDescriptor().getMessageType(822);
+        getDescriptor().getMessageType(825);
     internal_static_google_cloud_compute_v1_InstanceGroup_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroup_descriptor,
@@ -48745,7 +48801,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupAggregatedList_descriptor =
-        getDescriptor().getMessageType(823);
+        getDescriptor().getMessageType(826);
     internal_static_google_cloud_compute_v1_InstanceGroupAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupAggregatedList_descriptor,
@@ -48762,7 +48818,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupList_descriptor =
-        getDescriptor().getMessageType(824);
+        getDescriptor().getMessageType(827);
     internal_static_google_cloud_compute_v1_InstanceGroupList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupList_descriptor,
@@ -48770,7 +48826,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManager_descriptor =
-        getDescriptor().getMessageType(825);
+        getDescriptor().getMessageType(828);
     internal_static_google_cloud_compute_v1_InstanceGroupManager_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManager_descriptor,
@@ -48810,7 +48866,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerActionsSummary_descriptor =
-        getDescriptor().getMessageType(826);
+        getDescriptor().getMessageType(829);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerActionsSummary_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerActionsSummary_descriptor,
@@ -48830,7 +48886,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Verifying",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerAggregatedList_descriptor =
-        getDescriptor().getMessageType(827);
+        getDescriptor().getMessageType(830);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerAggregatedList_descriptor,
@@ -48847,7 +48903,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerAllInstancesConfig_descriptor =
-        getDescriptor().getMessageType(828);
+        getDescriptor().getMessageType(831);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerAllInstancesConfig_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerAllInstancesConfig_descriptor,
@@ -48855,7 +48911,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Properties",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerAutoHealingPolicy_descriptor =
-        getDescriptor().getMessageType(829);
+        getDescriptor().getMessageType(832);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerAutoHealingPolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerAutoHealingPolicy_descriptor,
@@ -48863,7 +48919,7 @@ private static void _clinit_autosplit_dinit_1() {
               "HealthCheck", "InitialDelaySec",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerInstanceFlexibilityPolicy_descriptor =
-        getDescriptor().getMessageType(830);
+        getDescriptor().getMessageType(833);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerInstanceFlexibilityPolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerInstanceFlexibilityPolicy_descriptor,
@@ -48880,7 +48936,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection_descriptor =
-        getDescriptor().getMessageType(831);
+        getDescriptor().getMessageType(834);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection_descriptor,
@@ -48888,7 +48944,7 @@ private static void _clinit_autosplit_dinit_1() {
               "MachineTypes", "Rank",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerInstanceLifecyclePolicy_descriptor =
-        getDescriptor().getMessageType(832);
+        getDescriptor().getMessageType(835);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerInstanceLifecyclePolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerInstanceLifecyclePolicy_descriptor,
@@ -48896,7 +48952,7 @@ private static void _clinit_autosplit_dinit_1() {
               "DefaultActionOnFailure", "ForceUpdateOnRepair", "OnFailedHealthCheck", "OnRepair",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerInstanceLifecyclePolicyOnRepair_descriptor =
-        getDescriptor().getMessageType(833);
+        getDescriptor().getMessageType(836);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerInstanceLifecyclePolicyOnRepair_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerInstanceLifecyclePolicyOnRepair_descriptor,
@@ -48904,7 +48960,7 @@ private static void _clinit_autosplit_dinit_1() {
               "AllowChangingZone",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerList_descriptor =
-        getDescriptor().getMessageType(834);
+        getDescriptor().getMessageType(837);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerList_descriptor,
@@ -48912,7 +48968,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequest_descriptor =
-        getDescriptor().getMessageType(835);
+        getDescriptor().getMessageType(838);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequest_descriptor,
@@ -48933,7 +48989,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestStatus_descriptor =
-        getDescriptor().getMessageType(836);
+        getDescriptor().getMessageType(839);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestStatus_descriptor,
@@ -48941,7 +48997,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Error", "LastAttempt",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestStatusLastAttempt_descriptor =
-        getDescriptor().getMessageType(837);
+        getDescriptor().getMessageType(840);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestStatusLastAttempt_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestStatusLastAttempt_descriptor,
@@ -48949,7 +49005,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Error",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestsListResponse_descriptor =
-        getDescriptor().getMessageType(838);
+        getDescriptor().getMessageType(841);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestsListResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestsListResponse_descriptor,
@@ -48957,7 +49013,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerResourcePolicies_descriptor =
-        getDescriptor().getMessageType(839);
+        getDescriptor().getMessageType(842);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerResourcePolicies_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerResourcePolicies_descriptor,
@@ -48965,7 +49021,7 @@ private static void _clinit_autosplit_dinit_1() {
               "WorkloadPolicy",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerStandbyPolicy_descriptor =
-        getDescriptor().getMessageType(840);
+        getDescriptor().getMessageType(843);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerStandbyPolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerStandbyPolicy_descriptor,
@@ -48973,7 +49029,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InitialDelaySec", "Mode",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerStatus_descriptor =
-        getDescriptor().getMessageType(841);
+        getDescriptor().getMessageType(844);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerStatus_descriptor,
@@ -48988,7 +49044,7 @@ private static void _clinit_autosplit_dinit_1() {
               "VersionTarget",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusAcceleratorTopology_descriptor =
-        getDescriptor().getMessageType(842);
+        getDescriptor().getMessageType(845);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusAcceleratorTopology_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusAcceleratorTopology_descriptor,
@@ -48996,7 +49052,7 @@ private static void _clinit_autosplit_dinit_1() {
               "AcceleratorTopology", "State", "StateDetails",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails_descriptor =
-        getDescriptor().getMessageType(843);
+        getDescriptor().getMessageType(846);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails_descriptor,
@@ -49004,7 +49060,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Error", "Timestamp",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusAllInstancesConfig_descriptor =
-        getDescriptor().getMessageType(844);
+        getDescriptor().getMessageType(847);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusAllInstancesConfig_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusAllInstancesConfig_descriptor,
@@ -49012,7 +49068,7 @@ private static void _clinit_autosplit_dinit_1() {
               "CurrentRevision", "Effective",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusBulkInstanceOperation_descriptor =
-        getDescriptor().getMessageType(845);
+        getDescriptor().getMessageType(848);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusBulkInstanceOperation_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusBulkInstanceOperation_descriptor,
@@ -49020,7 +49076,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InProgress", "LastProgressCheck",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck_descriptor =
-        getDescriptor().getMessageType(846);
+        getDescriptor().getMessageType(849);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck_descriptor,
@@ -49028,7 +49084,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Error", "Timestamp",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusInstanceStatusSummary_descriptor =
-        getDescriptor().getMessageType(847);
+        getDescriptor().getMessageType(850);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusInstanceStatusSummary_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusInstanceStatusSummary_descriptor,
@@ -49048,7 +49104,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Terminated",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusStateful_descriptor =
-        getDescriptor().getMessageType(848);
+        getDescriptor().getMessageType(851);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusStateful_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusStateful_descriptor,
@@ -49056,7 +49112,7 @@ private static void _clinit_autosplit_dinit_1() {
               "HasStatefulConfig", "PerInstanceConfigs",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusStatefulPerInstanceConfigs_descriptor =
-        getDescriptor().getMessageType(849);
+        getDescriptor().getMessageType(852);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusStatefulPerInstanceConfigs_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusStatefulPerInstanceConfigs_descriptor,
@@ -49064,7 +49120,7 @@ private static void _clinit_autosplit_dinit_1() {
               "AllEffective",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusVersionTarget_descriptor =
-        getDescriptor().getMessageType(850);
+        getDescriptor().getMessageType(853);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusVersionTarget_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusVersionTarget_descriptor,
@@ -49072,7 +49128,7 @@ private static void _clinit_autosplit_dinit_1() {
               "IsReached",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerTargetSizePolicy_descriptor =
-        getDescriptor().getMessageType(851);
+        getDescriptor().getMessageType(854);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerTargetSizePolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerTargetSizePolicy_descriptor,
@@ -49080,7 +49136,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Mode",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerUpdatePolicy_descriptor =
-        getDescriptor().getMessageType(852);
+        getDescriptor().getMessageType(855);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerUpdatePolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerUpdatePolicy_descriptor,
@@ -49094,7 +49150,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Type",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagerVersion_descriptor =
-        getDescriptor().getMessageType(853);
+        getDescriptor().getMessageType(856);
     internal_static_google_cloud_compute_v1_InstanceGroupManagerVersion_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagerVersion_descriptor,
@@ -49102,7 +49158,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InstanceTemplate", "Name", "TargetSize",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagersAbandonInstancesRequest_descriptor =
-        getDescriptor().getMessageType(854);
+        getDescriptor().getMessageType(857);
     internal_static_google_cloud_compute_v1_InstanceGroupManagersAbandonInstancesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagersAbandonInstancesRequest_descriptor,
@@ -49110,7 +49166,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Instances",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagersApplyUpdatesRequest_descriptor =
-        getDescriptor().getMessageType(855);
+        getDescriptor().getMessageType(858);
     internal_static_google_cloud_compute_v1_InstanceGroupManagersApplyUpdatesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagersApplyUpdatesRequest_descriptor,
@@ -49118,7 +49174,7 @@ private static void _clinit_autosplit_dinit_1() {
               "AllInstances", "Instances", "MinimalAction", "MostDisruptiveAllowedAction",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagersCreateInstancesRequest_descriptor =
-        getDescriptor().getMessageType(856);
+        getDescriptor().getMessageType(859);
     internal_static_google_cloud_compute_v1_InstanceGroupManagersCreateInstancesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagersCreateInstancesRequest_descriptor,
@@ -49126,7 +49182,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Instances",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagersDeleteInstancesRequest_descriptor =
-        getDescriptor().getMessageType(857);
+        getDescriptor().getMessageType(860);
     internal_static_google_cloud_compute_v1_InstanceGroupManagersDeleteInstancesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagersDeleteInstancesRequest_descriptor,
@@ -49134,7 +49190,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Instances", "SkipInstancesOnValidationError",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagersDeletePerInstanceConfigsReq_descriptor =
-        getDescriptor().getMessageType(858);
+        getDescriptor().getMessageType(861);
     internal_static_google_cloud_compute_v1_InstanceGroupManagersDeletePerInstanceConfigsReq_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagersDeletePerInstanceConfigsReq_descriptor,
@@ -49142,7 +49198,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Names",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagersListErrorsResponse_descriptor =
-        getDescriptor().getMessageType(859);
+        getDescriptor().getMessageType(862);
     internal_static_google_cloud_compute_v1_InstanceGroupManagersListErrorsResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagersListErrorsResponse_descriptor,
@@ -49150,7 +49206,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Items", "NextPageToken",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagersListManagedInstancesResponse_descriptor =
-        getDescriptor().getMessageType(860);
+        getDescriptor().getMessageType(863);
     internal_static_google_cloud_compute_v1_InstanceGroupManagersListManagedInstancesResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagersListManagedInstancesResponse_descriptor,
@@ -49158,7 +49214,7 @@ private static void _clinit_autosplit_dinit_1() {
               "ManagedInstances", "NextPageToken",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagersListPerInstanceConfigsResp_descriptor =
-        getDescriptor().getMessageType(861);
+        getDescriptor().getMessageType(864);
     internal_static_google_cloud_compute_v1_InstanceGroupManagersListPerInstanceConfigsResp_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagersListPerInstanceConfigsResp_descriptor,
@@ -49166,7 +49222,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Items", "NextPageToken", "Warning",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagersPatchPerInstanceConfigsReq_descriptor =
-        getDescriptor().getMessageType(862);
+        getDescriptor().getMessageType(865);
     internal_static_google_cloud_compute_v1_InstanceGroupManagersPatchPerInstanceConfigsReq_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagersPatchPerInstanceConfigsReq_descriptor,
@@ -49174,7 +49230,7 @@ private static void _clinit_autosplit_dinit_1() {
               "PerInstanceConfigs",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagersRecreateInstancesRequest_descriptor =
-        getDescriptor().getMessageType(863);
+        getDescriptor().getMessageType(866);
     internal_static_google_cloud_compute_v1_InstanceGroupManagersRecreateInstancesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagersRecreateInstancesRequest_descriptor,
@@ -49182,7 +49238,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Instances",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagersResumeInstancesRequest_descriptor =
-        getDescriptor().getMessageType(864);
+        getDescriptor().getMessageType(867);
     internal_static_google_cloud_compute_v1_InstanceGroupManagersResumeInstancesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagersResumeInstancesRequest_descriptor,
@@ -49190,7 +49246,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Instances",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagersScopedList_descriptor =
-        getDescriptor().getMessageType(865);
+        getDescriptor().getMessageType(868);
     internal_static_google_cloud_compute_v1_InstanceGroupManagersScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagersScopedList_descriptor,
@@ -49198,7 +49254,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InstanceGroupManagers", "Warning",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagersSetInstanceTemplateRequest_descriptor =
-        getDescriptor().getMessageType(866);
+        getDescriptor().getMessageType(869);
     internal_static_google_cloud_compute_v1_InstanceGroupManagersSetInstanceTemplateRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagersSetInstanceTemplateRequest_descriptor,
@@ -49206,7 +49262,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InstanceTemplate",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagersSetTargetPoolsRequest_descriptor =
-        getDescriptor().getMessageType(867);
+        getDescriptor().getMessageType(870);
     internal_static_google_cloud_compute_v1_InstanceGroupManagersSetTargetPoolsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagersSetTargetPoolsRequest_descriptor,
@@ -49214,7 +49270,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Fingerprint", "TargetPools",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagersStartInstancesRequest_descriptor =
-        getDescriptor().getMessageType(868);
+        getDescriptor().getMessageType(871);
     internal_static_google_cloud_compute_v1_InstanceGroupManagersStartInstancesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagersStartInstancesRequest_descriptor,
@@ -49222,7 +49278,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Instances",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagersStopInstancesRequest_descriptor =
-        getDescriptor().getMessageType(869);
+        getDescriptor().getMessageType(872);
     internal_static_google_cloud_compute_v1_InstanceGroupManagersStopInstancesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagersStopInstancesRequest_descriptor,
@@ -49230,7 +49286,7 @@ private static void _clinit_autosplit_dinit_1() {
               "ForceStop", "Instances",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagersSuspendInstancesRequest_descriptor =
-        getDescriptor().getMessageType(870);
+        getDescriptor().getMessageType(873);
     internal_static_google_cloud_compute_v1_InstanceGroupManagersSuspendInstancesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagersSuspendInstancesRequest_descriptor,
@@ -49238,7 +49294,7 @@ private static void _clinit_autosplit_dinit_1() {
               "ForceSuspend", "Instances",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupManagersUpdatePerInstanceConfigsReq_descriptor =
-        getDescriptor().getMessageType(871);
+        getDescriptor().getMessageType(874);
     internal_static_google_cloud_compute_v1_InstanceGroupManagersUpdatePerInstanceConfigsReq_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupManagersUpdatePerInstanceConfigsReq_descriptor,
@@ -49246,7 +49302,7 @@ private static void _clinit_autosplit_dinit_1() {
               "PerInstanceConfigs",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupsAddInstancesRequest_descriptor =
-        getDescriptor().getMessageType(872);
+        getDescriptor().getMessageType(875);
     internal_static_google_cloud_compute_v1_InstanceGroupsAddInstancesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupsAddInstancesRequest_descriptor,
@@ -49254,7 +49310,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Instances",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupsListInstances_descriptor =
-        getDescriptor().getMessageType(873);
+        getDescriptor().getMessageType(876);
     internal_static_google_cloud_compute_v1_InstanceGroupsListInstances_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupsListInstances_descriptor,
@@ -49262,7 +49318,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupsListInstancesRequest_descriptor =
-        getDescriptor().getMessageType(874);
+        getDescriptor().getMessageType(877);
     internal_static_google_cloud_compute_v1_InstanceGroupsListInstancesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupsListInstancesRequest_descriptor,
@@ -49270,7 +49326,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InstanceState",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupsRemoveInstancesRequest_descriptor =
-        getDescriptor().getMessageType(875);
+        getDescriptor().getMessageType(878);
     internal_static_google_cloud_compute_v1_InstanceGroupsRemoveInstancesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupsRemoveInstancesRequest_descriptor,
@@ -49278,7 +49334,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Instances",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupsScopedList_descriptor =
-        getDescriptor().getMessageType(876);
+        getDescriptor().getMessageType(879);
     internal_static_google_cloud_compute_v1_InstanceGroupsScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupsScopedList_descriptor,
@@ -49286,7 +49342,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InstanceGroups", "Warning",
             });
     internal_static_google_cloud_compute_v1_InstanceGroupsSetNamedPortsRequest_descriptor =
-        getDescriptor().getMessageType(877);
+        getDescriptor().getMessageType(880);
     internal_static_google_cloud_compute_v1_InstanceGroupsSetNamedPortsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceGroupsSetNamedPortsRequest_descriptor,
@@ -49294,7 +49350,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Fingerprint", "NamedPorts",
             });
     internal_static_google_cloud_compute_v1_InstanceList_descriptor =
-        getDescriptor().getMessageType(878);
+        getDescriptor().getMessageType(881);
     internal_static_google_cloud_compute_v1_InstanceList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceList_descriptor,
@@ -49302,7 +49358,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_InstanceListReferrers_descriptor =
-        getDescriptor().getMessageType(879);
+        getDescriptor().getMessageType(882);
     internal_static_google_cloud_compute_v1_InstanceListReferrers_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceListReferrers_descriptor,
@@ -49310,7 +49366,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_InstanceManagedByIgmError_descriptor =
-        getDescriptor().getMessageType(880);
+        getDescriptor().getMessageType(883);
     internal_static_google_cloud_compute_v1_InstanceManagedByIgmError_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceManagedByIgmError_descriptor,
@@ -49318,7 +49374,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Error", "InstanceActionDetails", "Timestamp",
             });
     internal_static_google_cloud_compute_v1_InstanceManagedByIgmErrorInstanceActionDetails_descriptor =
-        getDescriptor().getMessageType(881);
+        getDescriptor().getMessageType(884);
     internal_static_google_cloud_compute_v1_InstanceManagedByIgmErrorInstanceActionDetails_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceManagedByIgmErrorInstanceActionDetails_descriptor,
@@ -49326,7 +49382,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Action", "Instance", "Version",
             });
     internal_static_google_cloud_compute_v1_InstanceManagedByIgmErrorManagedInstanceError_descriptor =
-        getDescriptor().getMessageType(882);
+        getDescriptor().getMessageType(885);
     internal_static_google_cloud_compute_v1_InstanceManagedByIgmErrorManagedInstanceError_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceManagedByIgmErrorManagedInstanceError_descriptor,
@@ -49334,7 +49390,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Code", "Message",
             });
     internal_static_google_cloud_compute_v1_InstanceMoveRequest_descriptor =
-        getDescriptor().getMessageType(883);
+        getDescriptor().getMessageType(886);
     internal_static_google_cloud_compute_v1_InstanceMoveRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceMoveRequest_descriptor,
@@ -49342,7 +49398,7 @@ private static void _clinit_autosplit_dinit_1() {
               "DestinationZone", "TargetInstance",
             });
     internal_static_google_cloud_compute_v1_InstanceParams_descriptor =
-        getDescriptor().getMessageType(884);
+        getDescriptor().getMessageType(887);
     internal_static_google_cloud_compute_v1_InstanceParams_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceParams_descriptor,
@@ -49358,7 +49414,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_InstanceProperties_descriptor =
-        getDescriptor().getMessageType(885);
+        getDescriptor().getMessageType(888);
     internal_static_google_cloud_compute_v1_InstanceProperties_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceProperties_descriptor,
@@ -49404,7 +49460,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_InstancePropertiesPatch_descriptor =
-        getDescriptor().getMessageType(886);
+        getDescriptor().getMessageType(889);
     internal_static_google_cloud_compute_v1_InstancePropertiesPatch_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstancePropertiesPatch_descriptor,
@@ -49428,7 +49484,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_InstanceReference_descriptor =
-        getDescriptor().getMessageType(887);
+        getDescriptor().getMessageType(890);
     internal_static_google_cloud_compute_v1_InstanceReference_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceReference_descriptor,
@@ -49436,7 +49492,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Instance",
             });
     internal_static_google_cloud_compute_v1_InstanceSettings_descriptor =
-        getDescriptor().getMessageType(888);
+        getDescriptor().getMessageType(891);
     internal_static_google_cloud_compute_v1_InstanceSettings_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceSettings_descriptor,
@@ -49444,7 +49500,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Fingerprint", "Kind", "Metadata", "Zone",
             });
     internal_static_google_cloud_compute_v1_InstanceSettingsMetadata_descriptor =
-        getDescriptor().getMessageType(889);
+        getDescriptor().getMessageType(892);
     internal_static_google_cloud_compute_v1_InstanceSettingsMetadata_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceSettingsMetadata_descriptor,
@@ -49461,7 +49517,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_InstanceTemplate_descriptor =
-        getDescriptor().getMessageType(890);
+        getDescriptor().getMessageType(893);
     internal_static_google_cloud_compute_v1_InstanceTemplate_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceTemplate_descriptor,
@@ -49478,7 +49534,7 @@ private static void _clinit_autosplit_dinit_1() {
               "SourceInstanceParams",
             });
     internal_static_google_cloud_compute_v1_InstanceTemplateAggregatedList_descriptor =
-        getDescriptor().getMessageType(891);
+        getDescriptor().getMessageType(894);
     internal_static_google_cloud_compute_v1_InstanceTemplateAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceTemplateAggregatedList_descriptor,
@@ -49495,7 +49551,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_InstanceTemplateList_descriptor =
-        getDescriptor().getMessageType(892);
+        getDescriptor().getMessageType(895);
     internal_static_google_cloud_compute_v1_InstanceTemplateList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceTemplateList_descriptor,
@@ -49503,7 +49559,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_InstanceTemplatesScopedList_descriptor =
-        getDescriptor().getMessageType(893);
+        getDescriptor().getMessageType(896);
     internal_static_google_cloud_compute_v1_InstanceTemplatesScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceTemplatesScopedList_descriptor,
@@ -49511,7 +49567,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InstanceTemplates", "Warning",
             });
     internal_static_google_cloud_compute_v1_InstanceWithNamedPorts_descriptor =
-        getDescriptor().getMessageType(894);
+        getDescriptor().getMessageType(897);
     internal_static_google_cloud_compute_v1_InstanceWithNamedPorts_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstanceWithNamedPorts_descriptor,
@@ -49519,7 +49575,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Instance", "NamedPorts", "Status",
             });
     internal_static_google_cloud_compute_v1_InstancesAddResourcePoliciesRequest_descriptor =
-        getDescriptor().getMessageType(895);
+        getDescriptor().getMessageType(898);
     internal_static_google_cloud_compute_v1_InstancesAddResourcePoliciesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstancesAddResourcePoliciesRequest_descriptor,
@@ -49527,7 +49583,7 @@ private static void _clinit_autosplit_dinit_1() {
               "ResourcePolicies",
             });
     internal_static_google_cloud_compute_v1_InstancesBulkInsertOperationMetadata_descriptor =
-        getDescriptor().getMessageType(896);
+        getDescriptor().getMessageType(899);
     internal_static_google_cloud_compute_v1_InstancesBulkInsertOperationMetadata_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstancesBulkInsertOperationMetadata_descriptor,
@@ -49544,7 +49600,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_InstancesGetEffectiveFirewallsResponse_descriptor =
-        getDescriptor().getMessageType(897);
+        getDescriptor().getMessageType(900);
     internal_static_google_cloud_compute_v1_InstancesGetEffectiveFirewallsResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstancesGetEffectiveFirewallsResponse_descriptor,
@@ -49552,7 +49608,7 @@ private static void _clinit_autosplit_dinit_1() {
               "FirewallPolicys", "Firewalls",
             });
     internal_static_google_cloud_compute_v1_InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy_descriptor =
-        getDescriptor().getMessageType(898);
+        getDescriptor().getMessageType(901);
     internal_static_google_cloud_compute_v1_InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy_descriptor,
@@ -49566,7 +49622,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Type",
             });
     internal_static_google_cloud_compute_v1_InstancesRemoveResourcePoliciesRequest_descriptor =
-        getDescriptor().getMessageType(899);
+        getDescriptor().getMessageType(902);
     internal_static_google_cloud_compute_v1_InstancesRemoveResourcePoliciesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstancesRemoveResourcePoliciesRequest_descriptor,
@@ -49574,7 +49630,7 @@ private static void _clinit_autosplit_dinit_1() {
               "ResourcePolicies",
             });
     internal_static_google_cloud_compute_v1_InstancesReportHostAsFaultyRequest_descriptor =
-        getDescriptor().getMessageType(900);
+        getDescriptor().getMessageType(903);
     internal_static_google_cloud_compute_v1_InstancesReportHostAsFaultyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstancesReportHostAsFaultyRequest_descriptor,
@@ -49582,7 +49638,7 @@ private static void _clinit_autosplit_dinit_1() {
               "DisruptionSchedule", "FaultReasons",
             });
     internal_static_google_cloud_compute_v1_InstancesReportHostAsFaultyRequestFaultReason_descriptor =
-        getDescriptor().getMessageType(901);
+        getDescriptor().getMessageType(904);
     internal_static_google_cloud_compute_v1_InstancesReportHostAsFaultyRequestFaultReason_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstancesReportHostAsFaultyRequestFaultReason_descriptor,
@@ -49590,7 +49646,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Behavior", "Description",
             });
     internal_static_google_cloud_compute_v1_InstancesScopedList_descriptor =
-        getDescriptor().getMessageType(902);
+        getDescriptor().getMessageType(905);
     internal_static_google_cloud_compute_v1_InstancesScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstancesScopedList_descriptor,
@@ -49598,7 +49654,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Instances", "Warning",
             });
     internal_static_google_cloud_compute_v1_InstancesSetLabelsRequest_descriptor =
-        getDescriptor().getMessageType(903);
+        getDescriptor().getMessageType(906);
     internal_static_google_cloud_compute_v1_InstancesSetLabelsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstancesSetLabelsRequest_descriptor,
@@ -49615,7 +49671,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_InstancesSetMachineResourcesRequest_descriptor =
-        getDescriptor().getMessageType(904);
+        getDescriptor().getMessageType(907);
     internal_static_google_cloud_compute_v1_InstancesSetMachineResourcesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstancesSetMachineResourcesRequest_descriptor,
@@ -49623,7 +49679,7 @@ private static void _clinit_autosplit_dinit_1() {
               "GuestAccelerators",
             });
     internal_static_google_cloud_compute_v1_InstancesSetMachineTypeRequest_descriptor =
-        getDescriptor().getMessageType(905);
+        getDescriptor().getMessageType(908);
     internal_static_google_cloud_compute_v1_InstancesSetMachineTypeRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstancesSetMachineTypeRequest_descriptor,
@@ -49631,7 +49687,7 @@ private static void _clinit_autosplit_dinit_1() {
               "MachineType",
             });
     internal_static_google_cloud_compute_v1_InstancesSetMinCpuPlatformRequest_descriptor =
-        getDescriptor().getMessageType(906);
+        getDescriptor().getMessageType(909);
     internal_static_google_cloud_compute_v1_InstancesSetMinCpuPlatformRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstancesSetMinCpuPlatformRequest_descriptor,
@@ -49639,7 +49695,7 @@ private static void _clinit_autosplit_dinit_1() {
               "MinCpuPlatform",
             });
     internal_static_google_cloud_compute_v1_InstancesSetNameRequest_descriptor =
-        getDescriptor().getMessageType(907);
+        getDescriptor().getMessageType(910);
     internal_static_google_cloud_compute_v1_InstancesSetNameRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstancesSetNameRequest_descriptor,
@@ -49647,7 +49703,7 @@ private static void _clinit_autosplit_dinit_1() {
               "CurrentName", "Name",
             });
     internal_static_google_cloud_compute_v1_InstancesSetSecurityPolicyRequest_descriptor =
-        getDescriptor().getMessageType(908);
+        getDescriptor().getMessageType(911);
     internal_static_google_cloud_compute_v1_InstancesSetSecurityPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstancesSetSecurityPolicyRequest_descriptor,
@@ -49655,7 +49711,7 @@ private static void _clinit_autosplit_dinit_1() {
               "NetworkInterfaces", "SecurityPolicy",
             });
     internal_static_google_cloud_compute_v1_InstancesSetServiceAccountRequest_descriptor =
-        getDescriptor().getMessageType(909);
+        getDescriptor().getMessageType(912);
     internal_static_google_cloud_compute_v1_InstancesSetServiceAccountRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstancesSetServiceAccountRequest_descriptor,
@@ -49663,7 +49719,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Email", "Scopes",
             });
     internal_static_google_cloud_compute_v1_InstancesStartWithEncryptionKeyRequest_descriptor =
-        getDescriptor().getMessageType(910);
+        getDescriptor().getMessageType(913);
     internal_static_google_cloud_compute_v1_InstancesStartWithEncryptionKeyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstancesStartWithEncryptionKeyRequest_descriptor,
@@ -49671,7 +49727,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Disks",
             });
     internal_static_google_cloud_compute_v1_InstantSnapshot_descriptor =
-        getDescriptor().getMessageType(911);
+        getDescriptor().getMessageType(914);
     internal_static_google_cloud_compute_v1_InstantSnapshot_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstantSnapshot_descriptor,
@@ -49708,7 +49764,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_InstantSnapshotAggregatedList_descriptor =
-        getDescriptor().getMessageType(912);
+        getDescriptor().getMessageType(915);
     internal_static_google_cloud_compute_v1_InstantSnapshotAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstantSnapshotAggregatedList_descriptor,
@@ -49725,7 +49781,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_InstantSnapshotGroup_descriptor =
-        getDescriptor().getMessageType(913);
+        getDescriptor().getMessageType(916);
     internal_static_google_cloud_compute_v1_InstantSnapshotGroup_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstantSnapshotGroup_descriptor,
@@ -49744,7 +49800,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_InstantSnapshotGroupParameters_descriptor =
-        getDescriptor().getMessageType(914);
+        getDescriptor().getMessageType(917);
     internal_static_google_cloud_compute_v1_InstantSnapshotGroupParameters_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstantSnapshotGroupParameters_descriptor,
@@ -49752,7 +49808,7 @@ private static void _clinit_autosplit_dinit_1() {
               "SourceInstantSnapshotGroup",
             });
     internal_static_google_cloud_compute_v1_InstantSnapshotGroupResourceStatus_descriptor =
-        getDescriptor().getMessageType(915);
+        getDescriptor().getMessageType(918);
     internal_static_google_cloud_compute_v1_InstantSnapshotGroupResourceStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstantSnapshotGroupResourceStatus_descriptor,
@@ -49760,7 +49816,7 @@ private static void _clinit_autosplit_dinit_1() {
               "ConsistencyMembershipResolutionTime", "SourceInfo",
             });
     internal_static_google_cloud_compute_v1_InstantSnapshotGroupSourceInfo_descriptor =
-        getDescriptor().getMessageType(916);
+        getDescriptor().getMessageType(919);
     internal_static_google_cloud_compute_v1_InstantSnapshotGroupSourceInfo_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstantSnapshotGroupSourceInfo_descriptor,
@@ -49768,7 +49824,7 @@ private static void _clinit_autosplit_dinit_1() {
               "ConsistencyGroup", "ConsistencyGroupId",
             });
     internal_static_google_cloud_compute_v1_InstantSnapshotList_descriptor =
-        getDescriptor().getMessageType(917);
+        getDescriptor().getMessageType(920);
     internal_static_google_cloud_compute_v1_InstantSnapshotList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstantSnapshotList_descriptor,
@@ -49776,7 +49832,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_InstantSnapshotParams_descriptor =
-        getDescriptor().getMessageType(918);
+        getDescriptor().getMessageType(921);
     internal_static_google_cloud_compute_v1_InstantSnapshotParams_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstantSnapshotParams_descriptor,
@@ -49792,7 +49848,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_InstantSnapshotResourceStatus_descriptor =
-        getDescriptor().getMessageType(919);
+        getDescriptor().getMessageType(922);
     internal_static_google_cloud_compute_v1_InstantSnapshotResourceStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstantSnapshotResourceStatus_descriptor,
@@ -49800,7 +49856,7 @@ private static void _clinit_autosplit_dinit_1() {
               "StorageSizeBytes",
             });
     internal_static_google_cloud_compute_v1_InstantSnapshotsScopedList_descriptor =
-        getDescriptor().getMessageType(920);
+        getDescriptor().getMessageType(923);
     internal_static_google_cloud_compute_v1_InstantSnapshotsScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InstantSnapshotsScopedList_descriptor,
@@ -49808,7 +49864,7 @@ private static void _clinit_autosplit_dinit_1() {
               "InstantSnapshots", "Warning",
             });
     internal_static_google_cloud_compute_v1_Int64RangeMatch_descriptor =
-        getDescriptor().getMessageType(921);
+        getDescriptor().getMessageType(924);
     internal_static_google_cloud_compute_v1_Int64RangeMatch_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Int64RangeMatch_descriptor,
@@ -49816,7 +49872,7 @@ private static void _clinit_autosplit_dinit_1() {
               "RangeEnd", "RangeStart",
             });
     internal_static_google_cloud_compute_v1_Interconnect_descriptor =
-        getDescriptor().getMessageType(922);
+        getDescriptor().getMessageType(925);
     internal_static_google_cloud_compute_v1_Interconnect_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Interconnect_descriptor,
@@ -49855,6 +49911,7 @@ private static void _clinit_autosplit_dinit_1() {
               "RequestedLinkCount",
               "SatisfiesPzs",
               "SelfLink",
+              "SelfLinkWithId",
               "State",
               "Subzone",
               "WireGroups",
@@ -49868,7 +49925,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_InterconnectApplicationAwareInterconnect_descriptor =
-        getDescriptor().getMessageType(923);
+        getDescriptor().getMessageType(926);
     internal_static_google_cloud_compute_v1_InterconnectApplicationAwareInterconnect_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectApplicationAwareInterconnect_descriptor,
@@ -49879,7 +49936,7 @@ private static void _clinit_autosplit_dinit_1() {
               "StrictPriorityPolicy",
             });
     internal_static_google_cloud_compute_v1_InterconnectApplicationAwareInterconnectBandwidthPercentage_descriptor =
-        getDescriptor().getMessageType(924);
+        getDescriptor().getMessageType(927);
     internal_static_google_cloud_compute_v1_InterconnectApplicationAwareInterconnectBandwidthPercentage_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectApplicationAwareInterconnectBandwidthPercentage_descriptor,
@@ -49887,7 +49944,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Percentage", "TrafficClass",
             });
     internal_static_google_cloud_compute_v1_InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy_descriptor =
-        getDescriptor().getMessageType(925);
+        getDescriptor().getMessageType(928);
     internal_static_google_cloud_compute_v1_InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy_descriptor,
@@ -49895,13 +49952,13 @@ private static void _clinit_autosplit_dinit_1() {
               "BandwidthPercentages",
             });
     internal_static_google_cloud_compute_v1_InterconnectApplicationAwareInterconnectStrictPriorityPolicy_descriptor =
-        getDescriptor().getMessageType(926);
+        getDescriptor().getMessageType(929);
     internal_static_google_cloud_compute_v1_InterconnectApplicationAwareInterconnectStrictPriorityPolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectApplicationAwareInterconnectStrictPriorityPolicy_descriptor,
             new java.lang.String[] {});
     internal_static_google_cloud_compute_v1_InterconnectAttachment_descriptor =
-        getDescriptor().getMessageType(927);
+        getDescriptor().getMessageType(930);
     internal_static_google_cloud_compute_v1_InterconnectAttachment_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachment_descriptor,
@@ -49963,7 +50020,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_InterconnectAttachmentAggregatedList_descriptor =
-        getDescriptor().getMessageType(928);
+        getDescriptor().getMessageType(931);
     internal_static_google_cloud_compute_v1_InterconnectAttachmentAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachmentAggregatedList_descriptor,
@@ -49979,8 +50036,12 @@ private static void _clinit_autosplit_dinit_1() {
             new java.lang.String[] {
               "Key", "Value",
             });
+    _clinit_autosplit_dinit_2();
+  }
+
+  private static void _clinit_autosplit_dinit_2() {
     internal_static_google_cloud_compute_v1_InterconnectAttachmentConfigurationConstraints_descriptor =
-        getDescriptor().getMessageType(929);
+        getDescriptor().getMessageType(932);
     internal_static_google_cloud_compute_v1_InterconnectAttachmentConfigurationConstraints_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachmentConfigurationConstraints_descriptor,
@@ -49988,7 +50049,7 @@ private static void _clinit_autosplit_dinit_1() {
               "BgpMd5", "BgpPeerAsnRanges",
             });
     internal_static_google_cloud_compute_v1_InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange_descriptor =
-        getDescriptor().getMessageType(930);
+        getDescriptor().getMessageType(933);
     internal_static_google_cloud_compute_v1_InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange_descriptor,
@@ -49996,7 +50057,7 @@ private static void _clinit_autosplit_dinit_1() {
               "Max", "Min",
             });
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroup_descriptor =
-        getDescriptor().getMessageType(931);
+        getDescriptor().getMessageType(934);
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroup_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachmentGroup_descriptor,
@@ -50023,12 +50084,8 @@ private static void _clinit_autosplit_dinit_1() {
             new java.lang.String[] {
               "Key", "Value",
             });
-    _clinit_autosplit_dinit_2();
-  }
-
-  private static void _clinit_autosplit_dinit_2() {
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupAttachment_descriptor =
-        getDescriptor().getMessageType(932);
+        getDescriptor().getMessageType(935);
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupAttachment_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupAttachment_descriptor,
@@ -50036,7 +50093,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Attachment",
             });
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupConfigured_descriptor =
-        getDescriptor().getMessageType(933);
+        getDescriptor().getMessageType(936);
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupConfigured_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupConfigured_descriptor,
@@ -50044,7 +50101,7 @@ private static void _clinit_autosplit_dinit_2() {
               "AvailabilitySla",
             });
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupConfiguredAvailabilitySLA_descriptor =
-        getDescriptor().getMessageType(934);
+        getDescriptor().getMessageType(937);
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupConfiguredAvailabilitySLA_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupConfiguredAvailabilitySLA_descriptor,
@@ -50052,7 +50109,7 @@ private static void _clinit_autosplit_dinit_2() {
               "EffectiveSla", "IntendedSlaBlockers",
             });
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupConfiguredAvailabilitySLAIntendedSlaBlockers_descriptor =
-        getDescriptor().getMessageType(935);
+        getDescriptor().getMessageType(938);
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupConfiguredAvailabilitySLAIntendedSlaBlockers_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupConfiguredAvailabilitySLAIntendedSlaBlockers_descriptor,
@@ -50066,7 +50123,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zones",
             });
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupIntent_descriptor =
-        getDescriptor().getMessageType(936);
+        getDescriptor().getMessageType(939);
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupIntent_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupIntent_descriptor,
@@ -50074,7 +50131,7 @@ private static void _clinit_autosplit_dinit_2() {
               "AvailabilitySla",
             });
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupLogicalStructure_descriptor =
-        getDescriptor().getMessageType(937);
+        getDescriptor().getMessageType(940);
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupLogicalStructure_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupLogicalStructure_descriptor,
@@ -50082,7 +50139,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Regions",
             });
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupLogicalStructureRegion_descriptor =
-        getDescriptor().getMessageType(938);
+        getDescriptor().getMessageType(941);
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupLogicalStructureRegion_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupLogicalStructureRegion_descriptor,
@@ -50090,7 +50147,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Metros", "Region",
             });
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupLogicalStructureRegionMetro_descriptor =
-        getDescriptor().getMessageType(939);
+        getDescriptor().getMessageType(942);
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupLogicalStructureRegionMetro_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupLogicalStructureRegionMetro_descriptor,
@@ -50098,7 +50155,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Facilities", "Metro",
             });
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupLogicalStructureRegionMetroFacility_descriptor =
-        getDescriptor().getMessageType(940);
+        getDescriptor().getMessageType(943);
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupLogicalStructureRegionMetroFacility_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupLogicalStructureRegionMetroFacility_descriptor,
@@ -50106,7 +50163,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Facility", "Zones",
             });
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone_descriptor =
-        getDescriptor().getMessageType(941);
+        getDescriptor().getMessageType(944);
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone_descriptor,
@@ -50114,7 +50171,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Attachments", "Zone",
             });
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupsGetOperationalStatusResponse_descriptor =
-        getDescriptor().getMessageType(942);
+        getDescriptor().getMessageType(945);
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupsGetOperationalStatusResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupsGetOperationalStatusResponse_descriptor,
@@ -50122,7 +50179,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Etag", "Result",
             });
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupsListResponse_descriptor =
-        getDescriptor().getMessageType(943);
+        getDescriptor().getMessageType(946);
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupsListResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupsListResponse_descriptor,
@@ -50130,7 +50187,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Etag", "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Unreachables", "Warning",
             });
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupsOperationalStatus_descriptor =
-        getDescriptor().getMessageType(944);
+        getDescriptor().getMessageType(947);
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupsOperationalStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupsOperationalStatus_descriptor,
@@ -50138,7 +50195,7 @@ private static void _clinit_autosplit_dinit_2() {
               "AttachmentStatuses", "Configured", "GroupStatus", "Intent", "Operational",
             });
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupsOperationalStatusAttachmentStatus_descriptor =
-        getDescriptor().getMessageType(945);
+        getDescriptor().getMessageType(948);
     internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupsOperationalStatusAttachmentStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachmentGroupsOperationalStatusAttachmentStatus_descriptor,
@@ -50146,7 +50203,7 @@ private static void _clinit_autosplit_dinit_2() {
               "AdminEnabled", "Attachment", "IsActive", "Status",
             });
     internal_static_google_cloud_compute_v1_InterconnectAttachmentL2Forwarding_descriptor =
-        getDescriptor().getMessageType(946);
+        getDescriptor().getMessageType(949);
     internal_static_google_cloud_compute_v1_InterconnectAttachmentL2Forwarding_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachmentL2Forwarding_descriptor,
@@ -50167,7 +50224,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_InterconnectAttachmentL2ForwardingApplianceMapping_descriptor =
-        getDescriptor().getMessageType(947);
+        getDescriptor().getMessageType(950);
     internal_static_google_cloud_compute_v1_InterconnectAttachmentL2ForwardingApplianceMapping_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachmentL2ForwardingApplianceMapping_descriptor,
@@ -50175,7 +50232,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ApplianceIpAddress", "InnerVlanToApplianceMappings", "Name",
             });
     internal_static_google_cloud_compute_v1_InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping_descriptor =
-        getDescriptor().getMessageType(948);
+        getDescriptor().getMessageType(951);
     internal_static_google_cloud_compute_v1_InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping_descriptor,
@@ -50183,7 +50240,7 @@ private static void _clinit_autosplit_dinit_2() {
               "InnerApplianceIpAddress", "InnerVlanTags",
             });
     internal_static_google_cloud_compute_v1_InterconnectAttachmentL2ForwardingGeneveHeader_descriptor =
-        getDescriptor().getMessageType(949);
+        getDescriptor().getMessageType(952);
     internal_static_google_cloud_compute_v1_InterconnectAttachmentL2ForwardingGeneveHeader_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachmentL2ForwardingGeneveHeader_descriptor,
@@ -50191,7 +50248,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Vni",
             });
     internal_static_google_cloud_compute_v1_InterconnectAttachmentList_descriptor =
-        getDescriptor().getMessageType(950);
+        getDescriptor().getMessageType(953);
     internal_static_google_cloud_compute_v1_InterconnectAttachmentList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachmentList_descriptor,
@@ -50199,7 +50256,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_InterconnectAttachmentParams_descriptor =
-        getDescriptor().getMessageType(951);
+        getDescriptor().getMessageType(954);
     internal_static_google_cloud_compute_v1_InterconnectAttachmentParams_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachmentParams_descriptor,
@@ -50216,7 +50273,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_InterconnectAttachmentPartnerMetadata_descriptor =
-        getDescriptor().getMessageType(952);
+        getDescriptor().getMessageType(955);
     internal_static_google_cloud_compute_v1_InterconnectAttachmentPartnerMetadata_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachmentPartnerMetadata_descriptor,
@@ -50224,7 +50281,7 @@ private static void _clinit_autosplit_dinit_2() {
               "InterconnectName", "PartnerName", "PortalUrl",
             });
     internal_static_google_cloud_compute_v1_InterconnectAttachmentPrivateInfo_descriptor =
-        getDescriptor().getMessageType(953);
+        getDescriptor().getMessageType(956);
     internal_static_google_cloud_compute_v1_InterconnectAttachmentPrivateInfo_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachmentPrivateInfo_descriptor,
@@ -50232,7 +50289,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Tag8021Q",
             });
     internal_static_google_cloud_compute_v1_InterconnectAttachmentsScopedList_descriptor =
-        getDescriptor().getMessageType(954);
+        getDescriptor().getMessageType(957);
     internal_static_google_cloud_compute_v1_InterconnectAttachmentsScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectAttachmentsScopedList_descriptor,
@@ -50240,7 +50297,7 @@ private static void _clinit_autosplit_dinit_2() {
               "InterconnectAttachments", "Warning",
             });
     internal_static_google_cloud_compute_v1_InterconnectCircuitInfo_descriptor =
-        getDescriptor().getMessageType(955);
+        getDescriptor().getMessageType(958);
     internal_static_google_cloud_compute_v1_InterconnectCircuitInfo_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectCircuitInfo_descriptor,
@@ -50248,7 +50305,7 @@ private static void _clinit_autosplit_dinit_2() {
               "CustomerDemarcId", "GoogleCircuitId", "GoogleDemarcId",
             });
     internal_static_google_cloud_compute_v1_InterconnectDiagnostics_descriptor =
-        getDescriptor().getMessageType(956);
+        getDescriptor().getMessageType(959);
     internal_static_google_cloud_compute_v1_InterconnectDiagnostics_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectDiagnostics_descriptor,
@@ -50260,7 +50317,7 @@ private static void _clinit_autosplit_dinit_2() {
               "MacAddress",
             });
     internal_static_google_cloud_compute_v1_InterconnectDiagnosticsARPEntry_descriptor =
-        getDescriptor().getMessageType(957);
+        getDescriptor().getMessageType(960);
     internal_static_google_cloud_compute_v1_InterconnectDiagnosticsARPEntry_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectDiagnosticsARPEntry_descriptor,
@@ -50268,7 +50325,7 @@ private static void _clinit_autosplit_dinit_2() {
               "IpAddress", "MacAddress",
             });
     internal_static_google_cloud_compute_v1_InterconnectDiagnosticsLinkLACPStatus_descriptor =
-        getDescriptor().getMessageType(958);
+        getDescriptor().getMessageType(961);
     internal_static_google_cloud_compute_v1_InterconnectDiagnosticsLinkLACPStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectDiagnosticsLinkLACPStatus_descriptor,
@@ -50276,7 +50333,7 @@ private static void _clinit_autosplit_dinit_2() {
               "GoogleSystemId", "NeighborSystemId", "State",
             });
     internal_static_google_cloud_compute_v1_InterconnectDiagnosticsLinkOpticalPower_descriptor =
-        getDescriptor().getMessageType(959);
+        getDescriptor().getMessageType(962);
     internal_static_google_cloud_compute_v1_InterconnectDiagnosticsLinkOpticalPower_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectDiagnosticsLinkOpticalPower_descriptor,
@@ -50284,7 +50341,7 @@ private static void _clinit_autosplit_dinit_2() {
               "State", "Value",
             });
     internal_static_google_cloud_compute_v1_InterconnectDiagnosticsLinkStatus_descriptor =
-        getDescriptor().getMessageType(960);
+        getDescriptor().getMessageType(963);
     internal_static_google_cloud_compute_v1_InterconnectDiagnosticsLinkStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectDiagnosticsLinkStatus_descriptor,
@@ -50299,7 +50356,7 @@ private static void _clinit_autosplit_dinit_2() {
               "TransmittingOpticalPower",
             });
     internal_static_google_cloud_compute_v1_InterconnectDiagnosticsMacsecStatus_descriptor =
-        getDescriptor().getMessageType(961);
+        getDescriptor().getMessageType(964);
     internal_static_google_cloud_compute_v1_InterconnectDiagnosticsMacsecStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectDiagnosticsMacsecStatus_descriptor,
@@ -50307,7 +50364,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Ckn", "Operational",
             });
     internal_static_google_cloud_compute_v1_InterconnectGroup_descriptor =
-        getDescriptor().getMessageType(962);
+        getDescriptor().getMessageType(965);
     internal_static_google_cloud_compute_v1_InterconnectGroup_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectGroup_descriptor,
@@ -50333,7 +50390,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_InterconnectGroupConfigured_descriptor =
-        getDescriptor().getMessageType(963);
+        getDescriptor().getMessageType(966);
     internal_static_google_cloud_compute_v1_InterconnectGroupConfigured_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectGroupConfigured_descriptor,
@@ -50341,7 +50398,7 @@ private static void _clinit_autosplit_dinit_2() {
               "TopologyCapability",
             });
     internal_static_google_cloud_compute_v1_InterconnectGroupConfiguredTopologyCapability_descriptor =
-        getDescriptor().getMessageType(964);
+        getDescriptor().getMessageType(967);
     internal_static_google_cloud_compute_v1_InterconnectGroupConfiguredTopologyCapability_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectGroupConfiguredTopologyCapability_descriptor,
@@ -50349,7 +50406,7 @@ private static void _clinit_autosplit_dinit_2() {
               "IntendedCapabilityBlockers", "SupportedSla",
             });
     internal_static_google_cloud_compute_v1_InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers_descriptor =
-        getDescriptor().getMessageType(965);
+        getDescriptor().getMessageType(968);
     internal_static_google_cloud_compute_v1_InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers_descriptor,
@@ -50363,7 +50420,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zones",
             });
     internal_static_google_cloud_compute_v1_InterconnectGroupIntent_descriptor =
-        getDescriptor().getMessageType(966);
+        getDescriptor().getMessageType(969);
     internal_static_google_cloud_compute_v1_InterconnectGroupIntent_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectGroupIntent_descriptor,
@@ -50371,7 +50428,7 @@ private static void _clinit_autosplit_dinit_2() {
               "TopologyCapability",
             });
     internal_static_google_cloud_compute_v1_InterconnectGroupInterconnect_descriptor =
-        getDescriptor().getMessageType(967);
+        getDescriptor().getMessageType(970);
     internal_static_google_cloud_compute_v1_InterconnectGroupInterconnect_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectGroupInterconnect_descriptor,
@@ -50379,7 +50436,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Interconnect",
             });
     internal_static_google_cloud_compute_v1_InterconnectGroupPhysicalStructure_descriptor =
-        getDescriptor().getMessageType(968);
+        getDescriptor().getMessageType(971);
     internal_static_google_cloud_compute_v1_InterconnectGroupPhysicalStructure_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectGroupPhysicalStructure_descriptor,
@@ -50387,7 +50444,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Metros",
             });
     internal_static_google_cloud_compute_v1_InterconnectGroupPhysicalStructureMetros_descriptor =
-        getDescriptor().getMessageType(969);
+        getDescriptor().getMessageType(972);
     internal_static_google_cloud_compute_v1_InterconnectGroupPhysicalStructureMetros_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectGroupPhysicalStructureMetros_descriptor,
@@ -50395,7 +50452,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Facilities", "Metro",
             });
     internal_static_google_cloud_compute_v1_InterconnectGroupPhysicalStructureMetrosFacilities_descriptor =
-        getDescriptor().getMessageType(970);
+        getDescriptor().getMessageType(973);
     internal_static_google_cloud_compute_v1_InterconnectGroupPhysicalStructureMetrosFacilities_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectGroupPhysicalStructureMetrosFacilities_descriptor,
@@ -50403,7 +50460,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Facility", "Zones",
             });
     internal_static_google_cloud_compute_v1_InterconnectGroupPhysicalStructureMetrosFacilitiesZones_descriptor =
-        getDescriptor().getMessageType(971);
+        getDescriptor().getMessageType(974);
     internal_static_google_cloud_compute_v1_InterconnectGroupPhysicalStructureMetrosFacilitiesZones_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectGroupPhysicalStructureMetrosFacilitiesZones_descriptor,
@@ -50411,7 +50468,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Interconnects", "Zone",
             });
     internal_static_google_cloud_compute_v1_InterconnectGroupsCreateMembers_descriptor =
-        getDescriptor().getMessageType(972);
+        getDescriptor().getMessageType(975);
     internal_static_google_cloud_compute_v1_InterconnectGroupsCreateMembers_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectGroupsCreateMembers_descriptor,
@@ -50419,7 +50476,7 @@ private static void _clinit_autosplit_dinit_2() {
               "IntentMismatchBehavior", "Interconnects", "TemplateInterconnect",
             });
     internal_static_google_cloud_compute_v1_InterconnectGroupsCreateMembersInterconnectInput_descriptor =
-        getDescriptor().getMessageType(973);
+        getDescriptor().getMessageType(976);
     internal_static_google_cloud_compute_v1_InterconnectGroupsCreateMembersInterconnectInput_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectGroupsCreateMembersInterconnectInput_descriptor,
@@ -50437,7 +50494,7 @@ private static void _clinit_autosplit_dinit_2() {
               "RequestedLinkCount",
             });
     internal_static_google_cloud_compute_v1_InterconnectGroupsCreateMembersRequest_descriptor =
-        getDescriptor().getMessageType(974);
+        getDescriptor().getMessageType(977);
     internal_static_google_cloud_compute_v1_InterconnectGroupsCreateMembersRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectGroupsCreateMembersRequest_descriptor,
@@ -50445,7 +50502,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Request",
             });
     internal_static_google_cloud_compute_v1_InterconnectGroupsGetOperationalStatusResponse_descriptor =
-        getDescriptor().getMessageType(975);
+        getDescriptor().getMessageType(978);
     internal_static_google_cloud_compute_v1_InterconnectGroupsGetOperationalStatusResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectGroupsGetOperationalStatusResponse_descriptor,
@@ -50453,7 +50510,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Etag", "Result",
             });
     internal_static_google_cloud_compute_v1_InterconnectGroupsListResponse_descriptor =
-        getDescriptor().getMessageType(976);
+        getDescriptor().getMessageType(979);
     internal_static_google_cloud_compute_v1_InterconnectGroupsListResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectGroupsListResponse_descriptor,
@@ -50461,7 +50518,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Etag", "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Unreachables", "Warning",
             });
     internal_static_google_cloud_compute_v1_InterconnectGroupsOperationalStatus_descriptor =
-        getDescriptor().getMessageType(977);
+        getDescriptor().getMessageType(980);
     internal_static_google_cloud_compute_v1_InterconnectGroupsOperationalStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectGroupsOperationalStatus_descriptor,
@@ -50469,7 +50526,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Configured", "GroupStatus", "Intent", "InterconnectStatuses", "Operational",
             });
     internal_static_google_cloud_compute_v1_InterconnectGroupsOperationalStatusInterconnectStatus_descriptor =
-        getDescriptor().getMessageType(978);
+        getDescriptor().getMessageType(981);
     internal_static_google_cloud_compute_v1_InterconnectGroupsOperationalStatusInterconnectStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectGroupsOperationalStatusInterconnectStatus_descriptor,
@@ -50477,7 +50534,7 @@ private static void _clinit_autosplit_dinit_2() {
               "AdminEnabled", "Diagnostics", "Interconnect", "IsActive",
             });
     internal_static_google_cloud_compute_v1_InterconnectList_descriptor =
-        getDescriptor().getMessageType(979);
+        getDescriptor().getMessageType(982);
     internal_static_google_cloud_compute_v1_InterconnectList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectList_descriptor,
@@ -50485,7 +50542,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_InterconnectLocation_descriptor =
-        getDescriptor().getMessageType(980);
+        getDescriptor().getMessageType(983);
     internal_static_google_cloud_compute_v1_InterconnectLocation_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectLocation_descriptor,
@@ -50512,15 +50569,15 @@ private static void _clinit_autosplit_dinit_2() {
               "SupportsPzs",
             });
     internal_static_google_cloud_compute_v1_InterconnectLocationCrossSiteInterconnectInfo_descriptor =
-        getDescriptor().getMessageType(981);
+        getDescriptor().getMessageType(984);
     internal_static_google_cloud_compute_v1_InterconnectLocationCrossSiteInterconnectInfo_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectLocationCrossSiteInterconnectInfo_descriptor,
             new java.lang.String[] {
-              "City",
+              "City", "MaxDynamicPathBandwidthGbps", "MaxFixedPathBandwidthGbps",
             });
     internal_static_google_cloud_compute_v1_InterconnectLocationList_descriptor =
-        getDescriptor().getMessageType(982);
+        getDescriptor().getMessageType(985);
     internal_static_google_cloud_compute_v1_InterconnectLocationList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectLocationList_descriptor,
@@ -50528,7 +50585,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_InterconnectLocationRegionInfo_descriptor =
-        getDescriptor().getMessageType(983);
+        getDescriptor().getMessageType(986);
     internal_static_google_cloud_compute_v1_InterconnectLocationRegionInfo_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectLocationRegionInfo_descriptor,
@@ -50536,7 +50593,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ExpectedRttMs", "L2ForwardingEnabled", "LocationPresence", "Region",
             });
     internal_static_google_cloud_compute_v1_InterconnectMacsec_descriptor =
-        getDescriptor().getMessageType(984);
+        getDescriptor().getMessageType(987);
     internal_static_google_cloud_compute_v1_InterconnectMacsec_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectMacsec_descriptor,
@@ -50544,7 +50601,7 @@ private static void _clinit_autosplit_dinit_2() {
               "FailOpen", "PreSharedKeys",
             });
     internal_static_google_cloud_compute_v1_InterconnectMacsecConfig_descriptor =
-        getDescriptor().getMessageType(985);
+        getDescriptor().getMessageType(988);
     internal_static_google_cloud_compute_v1_InterconnectMacsecConfig_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectMacsecConfig_descriptor,
@@ -50552,7 +50609,7 @@ private static void _clinit_autosplit_dinit_2() {
               "PreSharedKeys",
             });
     internal_static_google_cloud_compute_v1_InterconnectMacsecConfigPreSharedKey_descriptor =
-        getDescriptor().getMessageType(986);
+        getDescriptor().getMessageType(989);
     internal_static_google_cloud_compute_v1_InterconnectMacsecConfigPreSharedKey_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectMacsecConfigPreSharedKey_descriptor,
@@ -50560,7 +50617,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Cak", "Ckn", "Name", "StartTime",
             });
     internal_static_google_cloud_compute_v1_InterconnectMacsecPreSharedKey_descriptor =
-        getDescriptor().getMessageType(987);
+        getDescriptor().getMessageType(990);
     internal_static_google_cloud_compute_v1_InterconnectMacsecPreSharedKey_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectMacsecPreSharedKey_descriptor,
@@ -50568,7 +50625,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Name", "StartTime",
             });
     internal_static_google_cloud_compute_v1_InterconnectOutageNotification_descriptor =
-        getDescriptor().getMessageType(988);
+        getDescriptor().getMessageType(991);
     internal_static_google_cloud_compute_v1_InterconnectOutageNotification_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectOutageNotification_descriptor,
@@ -50583,7 +50640,7 @@ private static void _clinit_autosplit_dinit_2() {
               "State",
             });
     internal_static_google_cloud_compute_v1_InterconnectParams_descriptor =
-        getDescriptor().getMessageType(989);
+        getDescriptor().getMessageType(992);
     internal_static_google_cloud_compute_v1_InterconnectParams_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectParams_descriptor,
@@ -50599,7 +50656,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_InterconnectRemoteLocation_descriptor =
-        getDescriptor().getMessageType(990);
+        getDescriptor().getMessageType(993);
     internal_static_google_cloud_compute_v1_InterconnectRemoteLocation_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectRemoteLocation_descriptor,
@@ -50627,7 +50684,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Status",
             });
     internal_static_google_cloud_compute_v1_InterconnectRemoteLocationConstraints_descriptor =
-        getDescriptor().getMessageType(991);
+        getDescriptor().getMessageType(994);
     internal_static_google_cloud_compute_v1_InterconnectRemoteLocationConstraints_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectRemoteLocationConstraints_descriptor,
@@ -50635,7 +50692,7 @@ private static void _clinit_autosplit_dinit_2() {
               "PortPairRemoteLocation", "PortPairVlan", "SubnetLengthRange",
             });
     internal_static_google_cloud_compute_v1_InterconnectRemoteLocationConstraintsSubnetLengthRange_descriptor =
-        getDescriptor().getMessageType(992);
+        getDescriptor().getMessageType(995);
     internal_static_google_cloud_compute_v1_InterconnectRemoteLocationConstraintsSubnetLengthRange_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectRemoteLocationConstraintsSubnetLengthRange_descriptor,
@@ -50643,7 +50700,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Max", "Min",
             });
     internal_static_google_cloud_compute_v1_InterconnectRemoteLocationList_descriptor =
-        getDescriptor().getMessageType(993);
+        getDescriptor().getMessageType(996);
     internal_static_google_cloud_compute_v1_InterconnectRemoteLocationList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectRemoteLocationList_descriptor,
@@ -50651,7 +50708,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_InterconnectRemoteLocationPermittedConnections_descriptor =
-        getDescriptor().getMessageType(994);
+        getDescriptor().getMessageType(997);
     internal_static_google_cloud_compute_v1_InterconnectRemoteLocationPermittedConnections_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectRemoteLocationPermittedConnections_descriptor,
@@ -50659,7 +50716,7 @@ private static void _clinit_autosplit_dinit_2() {
               "InterconnectLocation",
             });
     internal_static_google_cloud_compute_v1_InterconnectsGetDiagnosticsResponse_descriptor =
-        getDescriptor().getMessageType(995);
+        getDescriptor().getMessageType(998);
     internal_static_google_cloud_compute_v1_InterconnectsGetDiagnosticsResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectsGetDiagnosticsResponse_descriptor,
@@ -50667,7 +50724,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Result",
             });
     internal_static_google_cloud_compute_v1_InterconnectsGetMacsecConfigResponse_descriptor =
-        getDescriptor().getMessageType(996);
+        getDescriptor().getMessageType(999);
     internal_static_google_cloud_compute_v1_InterconnectsGetMacsecConfigResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InterconnectsGetMacsecConfigResponse_descriptor,
@@ -50675,14 +50732,14 @@ private static void _clinit_autosplit_dinit_2() {
               "Etag", "Result",
             });
     internal_static_google_cloud_compute_v1_InvalidateCacheUrlMapRequest_descriptor =
-        getDescriptor().getMessageType(997);
+        getDescriptor().getMessageType(1000);
     internal_static_google_cloud_compute_v1_InvalidateCacheUrlMapRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_InvalidateCacheUrlMapRequest_descriptor,
             new java.lang.String[] {
               "CacheInvalidationRuleResource", "Project", "RequestId", "UrlMap",
             });
-    internal_static_google_cloud_compute_v1_Items_descriptor = getDescriptor().getMessageType(998);
+    internal_static_google_cloud_compute_v1_Items_descriptor = getDescriptor().getMessageType(1001);
     internal_static_google_cloud_compute_v1_Items_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Items_descriptor,
@@ -50690,7 +50747,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_License_descriptor =
-        getDescriptor().getMessageType(999);
+        getDescriptor().getMessageType(1002);
     internal_static_google_cloud_compute_v1_License_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_License_descriptor,
@@ -50719,7 +50776,7 @@ private static void _clinit_autosplit_dinit_2() {
               "UpdateTimestamp",
             });
     internal_static_google_cloud_compute_v1_LicenseCode_descriptor =
-        getDescriptor().getMessageType(1000);
+        getDescriptor().getMessageType(1003);
     internal_static_google_cloud_compute_v1_LicenseCode_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_LicenseCode_descriptor,
@@ -50745,7 +50802,7 @@ private static void _clinit_autosplit_dinit_2() {
               "UpdateTimestamp",
             });
     internal_static_google_cloud_compute_v1_LicenseCodeLicenseAlias_descriptor =
-        getDescriptor().getMessageType(1001);
+        getDescriptor().getMessageType(1004);
     internal_static_google_cloud_compute_v1_LicenseCodeLicenseAlias_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_LicenseCodeLicenseAlias_descriptor,
@@ -50753,7 +50810,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Description", "SelfLink",
             });
     internal_static_google_cloud_compute_v1_LicenseParams_descriptor =
-        getDescriptor().getMessageType(1002);
+        getDescriptor().getMessageType(1005);
     internal_static_google_cloud_compute_v1_LicenseParams_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_LicenseParams_descriptor,
@@ -50769,7 +50826,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_LicenseResourceCommitment_descriptor =
-        getDescriptor().getMessageType(1003);
+        getDescriptor().getMessageType(1006);
     internal_static_google_cloud_compute_v1_LicenseResourceCommitment_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_LicenseResourceCommitment_descriptor,
@@ -50777,7 +50834,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Amount", "CoresPerLicense", "License",
             });
     internal_static_google_cloud_compute_v1_LicenseResourceRequirements_descriptor =
-        getDescriptor().getMessageType(1004);
+        getDescriptor().getMessageType(1007);
     internal_static_google_cloud_compute_v1_LicenseResourceRequirements_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_LicenseResourceRequirements_descriptor,
@@ -50785,7 +50842,7 @@ private static void _clinit_autosplit_dinit_2() {
               "MinGuestCpuCount", "MinMemoryMb",
             });
     internal_static_google_cloud_compute_v1_LicensesListResponse_descriptor =
-        getDescriptor().getMessageType(1005);
+        getDescriptor().getMessageType(1008);
     internal_static_google_cloud_compute_v1_LicensesListResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_LicensesListResponse_descriptor,
@@ -50793,7 +50850,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Id", "Items", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_ListAcceleratorTypesRequest_descriptor =
-        getDescriptor().getMessageType(1006);
+        getDescriptor().getMessageType(1009);
     internal_static_google_cloud_compute_v1_ListAcceleratorTypesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListAcceleratorTypesRequest_descriptor,
@@ -50807,7 +50864,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListAddressesRequest_descriptor =
-        getDescriptor().getMessageType(1007);
+        getDescriptor().getMessageType(1010);
     internal_static_google_cloud_compute_v1_ListAddressesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListAddressesRequest_descriptor,
@@ -50821,7 +50878,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListAssociationsFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1008);
+        getDescriptor().getMessageType(1011);
     internal_static_google_cloud_compute_v1_ListAssociationsFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListAssociationsFirewallPolicyRequest_descriptor,
@@ -50829,7 +50886,7 @@ private static void _clinit_autosplit_dinit_2() {
               "IncludeInheritedPolicies", "TargetResource",
             });
     internal_static_google_cloud_compute_v1_ListAssociationsOrganizationSecurityPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1009);
+        getDescriptor().getMessageType(1012);
     internal_static_google_cloud_compute_v1_ListAssociationsOrganizationSecurityPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListAssociationsOrganizationSecurityPolicyRequest_descriptor,
@@ -50837,7 +50894,7 @@ private static void _clinit_autosplit_dinit_2() {
               "TargetResource",
             });
     internal_static_google_cloud_compute_v1_ListAutoscalersRequest_descriptor =
-        getDescriptor().getMessageType(1010);
+        getDescriptor().getMessageType(1013);
     internal_static_google_cloud_compute_v1_ListAutoscalersRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListAutoscalersRequest_descriptor,
@@ -50851,7 +50908,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListAvailableFeaturesRegionSslPoliciesRequest_descriptor =
-        getDescriptor().getMessageType(1011);
+        getDescriptor().getMessageType(1014);
     internal_static_google_cloud_compute_v1_ListAvailableFeaturesRegionSslPoliciesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListAvailableFeaturesRegionSslPoliciesRequest_descriptor,
@@ -50865,7 +50922,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListAvailableFeaturesSslPoliciesRequest_descriptor =
-        getDescriptor().getMessageType(1012);
+        getDescriptor().getMessageType(1015);
     internal_static_google_cloud_compute_v1_ListAvailableFeaturesSslPoliciesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListAvailableFeaturesSslPoliciesRequest_descriptor,
@@ -50873,7 +50930,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListBackendBucketsRequest_descriptor =
-        getDescriptor().getMessageType(1013);
+        getDescriptor().getMessageType(1016);
     internal_static_google_cloud_compute_v1_ListBackendBucketsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListBackendBucketsRequest_descriptor,
@@ -50881,7 +50938,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListBackendServicesRequest_descriptor =
-        getDescriptor().getMessageType(1014);
+        getDescriptor().getMessageType(1017);
     internal_static_google_cloud_compute_v1_ListBackendServicesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListBackendServicesRequest_descriptor,
@@ -50889,7 +50946,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListBgpRoutesRoutersRequest_descriptor =
-        getDescriptor().getMessageType(1015);
+        getDescriptor().getMessageType(1018);
     internal_static_google_cloud_compute_v1_ListBgpRoutesRoutersRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListBgpRoutesRoutersRequest_descriptor,
@@ -50909,7 +50966,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Router",
             });
     internal_static_google_cloud_compute_v1_ListCrossSiteNetworksRequest_descriptor =
-        getDescriptor().getMessageType(1016);
+        getDescriptor().getMessageType(1019);
     internal_static_google_cloud_compute_v1_ListCrossSiteNetworksRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListCrossSiteNetworksRequest_descriptor,
@@ -50917,7 +50974,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListDiskTypesRequest_descriptor =
-        getDescriptor().getMessageType(1017);
+        getDescriptor().getMessageType(1020);
     internal_static_google_cloud_compute_v1_ListDiskTypesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListDiskTypesRequest_descriptor,
@@ -50931,7 +50988,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListDisksRequest_descriptor =
-        getDescriptor().getMessageType(1018);
+        getDescriptor().getMessageType(1021);
     internal_static_google_cloud_compute_v1_ListDisksRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListDisksRequest_descriptor,
@@ -50945,7 +51002,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListDisksStoragePoolsRequest_descriptor =
-        getDescriptor().getMessageType(1019);
+        getDescriptor().getMessageType(1022);
     internal_static_google_cloud_compute_v1_ListDisksStoragePoolsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListDisksStoragePoolsRequest_descriptor,
@@ -50960,7 +51017,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListErrorsInstanceGroupManagersRequest_descriptor =
-        getDescriptor().getMessageType(1020);
+        getDescriptor().getMessageType(1023);
     internal_static_google_cloud_compute_v1_ListErrorsInstanceGroupManagersRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListErrorsInstanceGroupManagersRequest_descriptor,
@@ -50975,7 +51032,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListErrorsRegionInstanceGroupManagersRequest_descriptor =
-        getDescriptor().getMessageType(1021);
+        getDescriptor().getMessageType(1024);
     internal_static_google_cloud_compute_v1_ListErrorsRegionInstanceGroupManagersRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListErrorsRegionInstanceGroupManagersRequest_descriptor,
@@ -50990,7 +51047,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListExternalVpnGatewaysRequest_descriptor =
-        getDescriptor().getMessageType(1022);
+        getDescriptor().getMessageType(1025);
     internal_static_google_cloud_compute_v1_ListExternalVpnGatewaysRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListExternalVpnGatewaysRequest_descriptor,
@@ -50998,7 +51055,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListFirewallPoliciesRequest_descriptor =
-        getDescriptor().getMessageType(1023);
+        getDescriptor().getMessageType(1026);
     internal_static_google_cloud_compute_v1_ListFirewallPoliciesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListFirewallPoliciesRequest_descriptor,
@@ -51006,7 +51063,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "ParentId", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListFirewallsRequest_descriptor =
-        getDescriptor().getMessageType(1024);
+        getDescriptor().getMessageType(1027);
     internal_static_google_cloud_compute_v1_ListFirewallsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListFirewallsRequest_descriptor,
@@ -51014,7 +51071,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListForwardingRulesRequest_descriptor =
-        getDescriptor().getMessageType(1025);
+        getDescriptor().getMessageType(1028);
     internal_static_google_cloud_compute_v1_ListForwardingRulesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListForwardingRulesRequest_descriptor,
@@ -51028,7 +51085,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListFutureReservationsRequest_descriptor =
-        getDescriptor().getMessageType(1026);
+        getDescriptor().getMessageType(1029);
     internal_static_google_cloud_compute_v1_ListFutureReservationsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListFutureReservationsRequest_descriptor,
@@ -51042,7 +51099,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListGlobalAddressesRequest_descriptor =
-        getDescriptor().getMessageType(1027);
+        getDescriptor().getMessageType(1030);
     internal_static_google_cloud_compute_v1_ListGlobalAddressesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListGlobalAddressesRequest_descriptor,
@@ -51050,7 +51107,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListGlobalForwardingRulesRequest_descriptor =
-        getDescriptor().getMessageType(1028);
+        getDescriptor().getMessageType(1031);
     internal_static_google_cloud_compute_v1_ListGlobalForwardingRulesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListGlobalForwardingRulesRequest_descriptor,
@@ -51058,7 +51115,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListGlobalNetworkEndpointGroupsRequest_descriptor =
-        getDescriptor().getMessageType(1029);
+        getDescriptor().getMessageType(1032);
     internal_static_google_cloud_compute_v1_ListGlobalNetworkEndpointGroupsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListGlobalNetworkEndpointGroupsRequest_descriptor,
@@ -51066,7 +51123,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListGlobalOperationsRequest_descriptor =
-        getDescriptor().getMessageType(1030);
+        getDescriptor().getMessageType(1033);
     internal_static_google_cloud_compute_v1_ListGlobalOperationsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListGlobalOperationsRequest_descriptor,
@@ -51074,7 +51131,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListGlobalOrganizationOperationsRequest_descriptor =
-        getDescriptor().getMessageType(1031);
+        getDescriptor().getMessageType(1034);
     internal_static_google_cloud_compute_v1_ListGlobalOrganizationOperationsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListGlobalOrganizationOperationsRequest_descriptor,
@@ -51082,7 +51139,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "ParentId", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListGlobalPublicDelegatedPrefixesRequest_descriptor =
-        getDescriptor().getMessageType(1032);
+        getDescriptor().getMessageType(1035);
     internal_static_google_cloud_compute_v1_ListGlobalPublicDelegatedPrefixesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListGlobalPublicDelegatedPrefixesRequest_descriptor,
@@ -51090,7 +51147,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListGlobalVmExtensionPoliciesRequest_descriptor =
-        getDescriptor().getMessageType(1033);
+        getDescriptor().getMessageType(1036);
     internal_static_google_cloud_compute_v1_ListGlobalVmExtensionPoliciesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListGlobalVmExtensionPoliciesRequest_descriptor,
@@ -51098,7 +51155,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListHealthChecksRequest_descriptor =
-        getDescriptor().getMessageType(1034);
+        getDescriptor().getMessageType(1037);
     internal_static_google_cloud_compute_v1_ListHealthChecksRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListHealthChecksRequest_descriptor,
@@ -51106,7 +51163,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListHostsRequest_descriptor =
-        getDescriptor().getMessageType(1035);
+        getDescriptor().getMessageType(1038);
     internal_static_google_cloud_compute_v1_ListHostsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListHostsRequest_descriptor,
@@ -51121,7 +51178,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListImagesRequest_descriptor =
-        getDescriptor().getMessageType(1036);
+        getDescriptor().getMessageType(1039);
     internal_static_google_cloud_compute_v1_ListImagesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListImagesRequest_descriptor,
@@ -51129,7 +51186,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListInstanceGroupManagerResizeRequestsRequest_descriptor =
-        getDescriptor().getMessageType(1037);
+        getDescriptor().getMessageType(1040);
     internal_static_google_cloud_compute_v1_ListInstanceGroupManagerResizeRequestsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListInstanceGroupManagerResizeRequestsRequest_descriptor,
@@ -51144,7 +51201,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListInstanceGroupManagersRequest_descriptor =
-        getDescriptor().getMessageType(1038);
+        getDescriptor().getMessageType(1041);
     internal_static_google_cloud_compute_v1_ListInstanceGroupManagersRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListInstanceGroupManagersRequest_descriptor,
@@ -51158,7 +51215,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListInstanceGroupsRequest_descriptor =
-        getDescriptor().getMessageType(1039);
+        getDescriptor().getMessageType(1042);
     internal_static_google_cloud_compute_v1_ListInstanceGroupsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListInstanceGroupsRequest_descriptor,
@@ -51172,7 +51229,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListInstanceTemplatesRequest_descriptor =
-        getDescriptor().getMessageType(1040);
+        getDescriptor().getMessageType(1043);
     internal_static_google_cloud_compute_v1_ListInstanceTemplatesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListInstanceTemplatesRequest_descriptor,
@@ -51180,7 +51237,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListInstancesInstanceGroupsRequest_descriptor =
-        getDescriptor().getMessageType(1041);
+        getDescriptor().getMessageType(1044);
     internal_static_google_cloud_compute_v1_ListInstancesInstanceGroupsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListInstancesInstanceGroupsRequest_descriptor,
@@ -51196,7 +51253,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListInstancesRegionInstanceGroupsRequest_descriptor =
-        getDescriptor().getMessageType(1042);
+        getDescriptor().getMessageType(1045);
     internal_static_google_cloud_compute_v1_ListInstancesRegionInstanceGroupsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListInstancesRegionInstanceGroupsRequest_descriptor,
@@ -51212,7 +51269,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListInstancesRequest_descriptor =
-        getDescriptor().getMessageType(1043);
+        getDescriptor().getMessageType(1046);
     internal_static_google_cloud_compute_v1_ListInstancesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListInstancesRequest_descriptor,
@@ -51226,7 +51283,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListInstantSnapshotGroups_descriptor =
-        getDescriptor().getMessageType(1044);
+        getDescriptor().getMessageType(1047);
     internal_static_google_cloud_compute_v1_ListInstantSnapshotGroups_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListInstantSnapshotGroups_descriptor,
@@ -51234,7 +51291,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Etag", "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Unreachables", "Warning",
             });
     internal_static_google_cloud_compute_v1_ListInstantSnapshotGroupsRequest_descriptor =
-        getDescriptor().getMessageType(1045);
+        getDescriptor().getMessageType(1048);
     internal_static_google_cloud_compute_v1_ListInstantSnapshotGroupsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListInstantSnapshotGroupsRequest_descriptor,
@@ -51248,7 +51305,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListInstantSnapshotsRequest_descriptor =
-        getDescriptor().getMessageType(1046);
+        getDescriptor().getMessageType(1049);
     internal_static_google_cloud_compute_v1_ListInstantSnapshotsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListInstantSnapshotsRequest_descriptor,
@@ -51262,7 +51319,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListInterconnectAttachmentGroupsRequest_descriptor =
-        getDescriptor().getMessageType(1047);
+        getDescriptor().getMessageType(1050);
     internal_static_google_cloud_compute_v1_ListInterconnectAttachmentGroupsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListInterconnectAttachmentGroupsRequest_descriptor,
@@ -51270,7 +51327,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListInterconnectAttachmentsRequest_descriptor =
-        getDescriptor().getMessageType(1048);
+        getDescriptor().getMessageType(1051);
     internal_static_google_cloud_compute_v1_ListInterconnectAttachmentsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListInterconnectAttachmentsRequest_descriptor,
@@ -51284,7 +51341,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListInterconnectGroupsRequest_descriptor =
-        getDescriptor().getMessageType(1049);
+        getDescriptor().getMessageType(1052);
     internal_static_google_cloud_compute_v1_ListInterconnectGroupsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListInterconnectGroupsRequest_descriptor,
@@ -51292,7 +51349,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListInterconnectLocationsRequest_descriptor =
-        getDescriptor().getMessageType(1050);
+        getDescriptor().getMessageType(1053);
     internal_static_google_cloud_compute_v1_ListInterconnectLocationsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListInterconnectLocationsRequest_descriptor,
@@ -51300,7 +51357,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListInterconnectRemoteLocationsRequest_descriptor =
-        getDescriptor().getMessageType(1051);
+        getDescriptor().getMessageType(1054);
     internal_static_google_cloud_compute_v1_ListInterconnectRemoteLocationsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListInterconnectRemoteLocationsRequest_descriptor,
@@ -51308,7 +51365,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListInterconnectsRequest_descriptor =
-        getDescriptor().getMessageType(1052);
+        getDescriptor().getMessageType(1055);
     internal_static_google_cloud_compute_v1_ListInterconnectsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListInterconnectsRequest_descriptor,
@@ -51316,7 +51373,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListLicensesRequest_descriptor =
-        getDescriptor().getMessageType(1053);
+        getDescriptor().getMessageType(1056);
     internal_static_google_cloud_compute_v1_ListLicensesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListLicensesRequest_descriptor,
@@ -51324,7 +51381,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListMachineImagesRequest_descriptor =
-        getDescriptor().getMessageType(1054);
+        getDescriptor().getMessageType(1057);
     internal_static_google_cloud_compute_v1_ListMachineImagesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListMachineImagesRequest_descriptor,
@@ -51332,7 +51389,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListMachineTypesRequest_descriptor =
-        getDescriptor().getMessageType(1055);
+        getDescriptor().getMessageType(1058);
     internal_static_google_cloud_compute_v1_ListMachineTypesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListMachineTypesRequest_descriptor,
@@ -51346,7 +51403,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListManagedInstancesInstanceGroupManagersRequest_descriptor =
-        getDescriptor().getMessageType(1056);
+        getDescriptor().getMessageType(1059);
     internal_static_google_cloud_compute_v1_ListManagedInstancesInstanceGroupManagersRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListManagedInstancesInstanceGroupManagersRequest_descriptor,
@@ -51361,7 +51418,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListManagedInstancesRegionInstanceGroupManagersRequest_descriptor =
-        getDescriptor().getMessageType(1057);
+        getDescriptor().getMessageType(1060);
     internal_static_google_cloud_compute_v1_ListManagedInstancesRegionInstanceGroupManagersRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListManagedInstancesRegionInstanceGroupManagersRequest_descriptor,
@@ -51376,7 +51433,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListNamedSetsRoutersRequest_descriptor =
-        getDescriptor().getMessageType(1058);
+        getDescriptor().getMessageType(1061);
     internal_static_google_cloud_compute_v1_ListNamedSetsRoutersRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListNamedSetsRoutersRequest_descriptor,
@@ -51391,7 +51448,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Router",
             });
     internal_static_google_cloud_compute_v1_ListNetworkAttachmentsRequest_descriptor =
-        getDescriptor().getMessageType(1059);
+        getDescriptor().getMessageType(1062);
     internal_static_google_cloud_compute_v1_ListNetworkAttachmentsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListNetworkAttachmentsRequest_descriptor,
@@ -51405,7 +51462,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListNetworkEndpointGroupsRequest_descriptor =
-        getDescriptor().getMessageType(1060);
+        getDescriptor().getMessageType(1063);
     internal_static_google_cloud_compute_v1_ListNetworkEndpointGroupsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListNetworkEndpointGroupsRequest_descriptor,
@@ -51419,7 +51476,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest_descriptor =
-        getDescriptor().getMessageType(1061);
+        getDescriptor().getMessageType(1064);
     internal_static_google_cloud_compute_v1_ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest_descriptor,
@@ -51433,7 +51490,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListNetworkEndpointsNetworkEndpointGroupsRequest_descriptor =
-        getDescriptor().getMessageType(1062);
+        getDescriptor().getMessageType(1065);
     internal_static_google_cloud_compute_v1_ListNetworkEndpointsNetworkEndpointGroupsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListNetworkEndpointsNetworkEndpointGroupsRequest_descriptor,
@@ -51449,7 +51506,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListNetworkEndpointsRegionNetworkEndpointGroupsRequest_descriptor =
-        getDescriptor().getMessageType(1063);
+        getDescriptor().getMessageType(1066);
     internal_static_google_cloud_compute_v1_ListNetworkEndpointsRegionNetworkEndpointGroupsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListNetworkEndpointsRegionNetworkEndpointGroupsRequest_descriptor,
@@ -51464,7 +51521,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListNetworkFirewallPoliciesRequest_descriptor =
-        getDescriptor().getMessageType(1064);
+        getDescriptor().getMessageType(1067);
     internal_static_google_cloud_compute_v1_ListNetworkFirewallPoliciesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListNetworkFirewallPoliciesRequest_descriptor,
@@ -51472,7 +51529,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListNetworkProfilesRequest_descriptor =
-        getDescriptor().getMessageType(1065);
+        getDescriptor().getMessageType(1068);
     internal_static_google_cloud_compute_v1_ListNetworkProfilesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListNetworkProfilesRequest_descriptor,
@@ -51480,7 +51537,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListNetworksRequest_descriptor =
-        getDescriptor().getMessageType(1066);
+        getDescriptor().getMessageType(1069);
     internal_static_google_cloud_compute_v1_ListNetworksRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListNetworksRequest_descriptor,
@@ -51488,7 +51545,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListNodeGroupsRequest_descriptor =
-        getDescriptor().getMessageType(1067);
+        getDescriptor().getMessageType(1070);
     internal_static_google_cloud_compute_v1_ListNodeGroupsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListNodeGroupsRequest_descriptor,
@@ -51502,7 +51559,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListNodeTemplatesRequest_descriptor =
-        getDescriptor().getMessageType(1068);
+        getDescriptor().getMessageType(1071);
     internal_static_google_cloud_compute_v1_ListNodeTemplatesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListNodeTemplatesRequest_descriptor,
@@ -51516,7 +51573,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListNodeTypesRequest_descriptor =
-        getDescriptor().getMessageType(1069);
+        getDescriptor().getMessageType(1072);
     internal_static_google_cloud_compute_v1_ListNodeTypesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListNodeTypesRequest_descriptor,
@@ -51530,7 +51587,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListNodesNodeGroupsRequest_descriptor =
-        getDescriptor().getMessageType(1070);
+        getDescriptor().getMessageType(1073);
     internal_static_google_cloud_compute_v1_ListNodesNodeGroupsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListNodesNodeGroupsRequest_descriptor,
@@ -51545,7 +51602,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListOrganizationSecurityPoliciesRequest_descriptor =
-        getDescriptor().getMessageType(1071);
+        getDescriptor().getMessageType(1074);
     internal_static_google_cloud_compute_v1_ListOrganizationSecurityPoliciesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListOrganizationSecurityPoliciesRequest_descriptor,
@@ -51553,7 +51610,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "ParentId", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListPacketMirroringsRequest_descriptor =
-        getDescriptor().getMessageType(1072);
+        getDescriptor().getMessageType(1075);
     internal_static_google_cloud_compute_v1_ListPacketMirroringsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListPacketMirroringsRequest_descriptor,
@@ -51567,7 +51624,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListPeeringRoutesNetworksRequest_descriptor =
-        getDescriptor().getMessageType(1073);
+        getDescriptor().getMessageType(1076);
     internal_static_google_cloud_compute_v1_ListPeeringRoutesNetworksRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListPeeringRoutesNetworksRequest_descriptor,
@@ -51584,7 +51641,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListPerInstanceConfigsInstanceGroupManagersRequest_descriptor =
-        getDescriptor().getMessageType(1074);
+        getDescriptor().getMessageType(1077);
     internal_static_google_cloud_compute_v1_ListPerInstanceConfigsInstanceGroupManagersRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListPerInstanceConfigsInstanceGroupManagersRequest_descriptor,
@@ -51599,7 +51656,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListPerInstanceConfigsRegionInstanceGroupManagersRequest_descriptor =
-        getDescriptor().getMessageType(1075);
+        getDescriptor().getMessageType(1078);
     internal_static_google_cloud_compute_v1_ListPerInstanceConfigsRegionInstanceGroupManagersRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListPerInstanceConfigsRegionInstanceGroupManagersRequest_descriptor,
@@ -51614,7 +51671,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListPreconfiguredExpressionSetsOrganizationSecurityPoliciesRequest_descriptor =
-        getDescriptor().getMessageType(1076);
+        getDescriptor().getMessageType(1079);
     internal_static_google_cloud_compute_v1_ListPreconfiguredExpressionSetsOrganizationSecurityPoliciesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListPreconfiguredExpressionSetsOrganizationSecurityPoliciesRequest_descriptor,
@@ -51622,7 +51679,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "ParentId", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListPreconfiguredExpressionSetsSecurityPoliciesRequest_descriptor =
-        getDescriptor().getMessageType(1077);
+        getDescriptor().getMessageType(1080);
     internal_static_google_cloud_compute_v1_ListPreconfiguredExpressionSetsSecurityPoliciesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListPreconfiguredExpressionSetsSecurityPoliciesRequest_descriptor,
@@ -51630,7 +51687,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListPreviewFeaturesRequest_descriptor =
-        getDescriptor().getMessageType(1078);
+        getDescriptor().getMessageType(1081);
     internal_static_google_cloud_compute_v1_ListPreviewFeaturesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListPreviewFeaturesRequest_descriptor,
@@ -51638,7 +51695,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListPublicAdvertisedPrefixesRequest_descriptor =
-        getDescriptor().getMessageType(1079);
+        getDescriptor().getMessageType(1082);
     internal_static_google_cloud_compute_v1_ListPublicAdvertisedPrefixesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListPublicAdvertisedPrefixesRequest_descriptor,
@@ -51646,7 +51703,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListPublicDelegatedPrefixesRequest_descriptor =
-        getDescriptor().getMessageType(1080);
+        getDescriptor().getMessageType(1083);
     internal_static_google_cloud_compute_v1_ListPublicDelegatedPrefixesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListPublicDelegatedPrefixesRequest_descriptor,
@@ -51660,7 +51717,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListReferrersInstancesRequest_descriptor =
-        getDescriptor().getMessageType(1081);
+        getDescriptor().getMessageType(1084);
     internal_static_google_cloud_compute_v1_ListReferrersInstancesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListReferrersInstancesRequest_descriptor,
@@ -51675,7 +51732,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListRegionAutoscalersRequest_descriptor =
-        getDescriptor().getMessageType(1082);
+        getDescriptor().getMessageType(1085);
     internal_static_google_cloud_compute_v1_ListRegionAutoscalersRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionAutoscalersRequest_descriptor,
@@ -51689,7 +51746,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionBackendBucketsRequest_descriptor =
-        getDescriptor().getMessageType(1083);
+        getDescriptor().getMessageType(1086);
     internal_static_google_cloud_compute_v1_ListRegionBackendBucketsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionBackendBucketsRequest_descriptor,
@@ -51703,7 +51760,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionBackendServicesRequest_descriptor =
-        getDescriptor().getMessageType(1084);
+        getDescriptor().getMessageType(1087);
     internal_static_google_cloud_compute_v1_ListRegionBackendServicesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionBackendServicesRequest_descriptor,
@@ -51717,7 +51774,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionCommitmentsRequest_descriptor =
-        getDescriptor().getMessageType(1085);
+        getDescriptor().getMessageType(1088);
     internal_static_google_cloud_compute_v1_ListRegionCommitmentsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionCommitmentsRequest_descriptor,
@@ -51731,7 +51788,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionCompositeHealthChecksRequest_descriptor =
-        getDescriptor().getMessageType(1086);
+        getDescriptor().getMessageType(1089);
     internal_static_google_cloud_compute_v1_ListRegionCompositeHealthChecksRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionCompositeHealthChecksRequest_descriptor,
@@ -51745,7 +51802,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionDiskTypesRequest_descriptor =
-        getDescriptor().getMessageType(1087);
+        getDescriptor().getMessageType(1090);
     internal_static_google_cloud_compute_v1_ListRegionDiskTypesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionDiskTypesRequest_descriptor,
@@ -51759,7 +51816,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionDisksRequest_descriptor =
-        getDescriptor().getMessageType(1088);
+        getDescriptor().getMessageType(1091);
     internal_static_google_cloud_compute_v1_ListRegionDisksRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionDisksRequest_descriptor,
@@ -51773,7 +51830,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionHealthAggregationPoliciesRequest_descriptor =
-        getDescriptor().getMessageType(1089);
+        getDescriptor().getMessageType(1092);
     internal_static_google_cloud_compute_v1_ListRegionHealthAggregationPoliciesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionHealthAggregationPoliciesRequest_descriptor,
@@ -51787,7 +51844,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionHealthCheckServicesRequest_descriptor =
-        getDescriptor().getMessageType(1090);
+        getDescriptor().getMessageType(1093);
     internal_static_google_cloud_compute_v1_ListRegionHealthCheckServicesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionHealthCheckServicesRequest_descriptor,
@@ -51801,7 +51858,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionHealthChecksRequest_descriptor =
-        getDescriptor().getMessageType(1091);
+        getDescriptor().getMessageType(1094);
     internal_static_google_cloud_compute_v1_ListRegionHealthChecksRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionHealthChecksRequest_descriptor,
@@ -51815,7 +51872,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionHealthSourcesRequest_descriptor =
-        getDescriptor().getMessageType(1092);
+        getDescriptor().getMessageType(1095);
     internal_static_google_cloud_compute_v1_ListRegionHealthSourcesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionHealthSourcesRequest_descriptor,
@@ -51829,7 +51886,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionInstanceGroupManagerResizeRequestsRequest_descriptor =
-        getDescriptor().getMessageType(1093);
+        getDescriptor().getMessageType(1096);
     internal_static_google_cloud_compute_v1_ListRegionInstanceGroupManagerResizeRequestsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionInstanceGroupManagerResizeRequestsRequest_descriptor,
@@ -51844,7 +51901,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionInstanceGroupManagersRequest_descriptor =
-        getDescriptor().getMessageType(1094);
+        getDescriptor().getMessageType(1097);
     internal_static_google_cloud_compute_v1_ListRegionInstanceGroupManagersRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionInstanceGroupManagersRequest_descriptor,
@@ -51858,7 +51915,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionInstanceGroupsRequest_descriptor =
-        getDescriptor().getMessageType(1095);
+        getDescriptor().getMessageType(1098);
     internal_static_google_cloud_compute_v1_ListRegionInstanceGroupsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionInstanceGroupsRequest_descriptor,
@@ -51872,7 +51929,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionInstanceTemplatesRequest_descriptor =
-        getDescriptor().getMessageType(1096);
+        getDescriptor().getMessageType(1099);
     internal_static_google_cloud_compute_v1_ListRegionInstanceTemplatesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionInstanceTemplatesRequest_descriptor,
@@ -51886,7 +51943,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionInstantSnapshotGroupsRequest_descriptor =
-        getDescriptor().getMessageType(1097);
+        getDescriptor().getMessageType(1100);
     internal_static_google_cloud_compute_v1_ListRegionInstantSnapshotGroupsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionInstantSnapshotGroupsRequest_descriptor,
@@ -51900,7 +51957,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionInstantSnapshotsRequest_descriptor =
-        getDescriptor().getMessageType(1098);
+        getDescriptor().getMessageType(1101);
     internal_static_google_cloud_compute_v1_ListRegionInstantSnapshotsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionInstantSnapshotsRequest_descriptor,
@@ -51914,7 +51971,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionNetworkEndpointGroupsRequest_descriptor =
-        getDescriptor().getMessageType(1099);
+        getDescriptor().getMessageType(1102);
     internal_static_google_cloud_compute_v1_ListRegionNetworkEndpointGroupsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionNetworkEndpointGroupsRequest_descriptor,
@@ -51928,7 +51985,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionNetworkFirewallPoliciesRequest_descriptor =
-        getDescriptor().getMessageType(1100);
+        getDescriptor().getMessageType(1103);
     internal_static_google_cloud_compute_v1_ListRegionNetworkFirewallPoliciesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionNetworkFirewallPoliciesRequest_descriptor,
@@ -51942,7 +51999,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionNotificationEndpointsRequest_descriptor =
-        getDescriptor().getMessageType(1101);
+        getDescriptor().getMessageType(1104);
     internal_static_google_cloud_compute_v1_ListRegionNotificationEndpointsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionNotificationEndpointsRequest_descriptor,
@@ -51956,7 +52013,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionOperationsRequest_descriptor =
-        getDescriptor().getMessageType(1102);
+        getDescriptor().getMessageType(1105);
     internal_static_google_cloud_compute_v1_ListRegionOperationsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionOperationsRequest_descriptor,
@@ -51970,7 +52027,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionSecurityPoliciesRequest_descriptor =
-        getDescriptor().getMessageType(1103);
+        getDescriptor().getMessageType(1106);
     internal_static_google_cloud_compute_v1_ListRegionSecurityPoliciesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionSecurityPoliciesRequest_descriptor,
@@ -51984,7 +52041,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionSnapshotsRequest_descriptor =
-        getDescriptor().getMessageType(1104);
+        getDescriptor().getMessageType(1107);
     internal_static_google_cloud_compute_v1_ListRegionSnapshotsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionSnapshotsRequest_descriptor,
@@ -51998,7 +52055,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionSslCertificatesRequest_descriptor =
-        getDescriptor().getMessageType(1105);
+        getDescriptor().getMessageType(1108);
     internal_static_google_cloud_compute_v1_ListRegionSslCertificatesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionSslCertificatesRequest_descriptor,
@@ -52012,7 +52069,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionSslPoliciesRequest_descriptor =
-        getDescriptor().getMessageType(1106);
+        getDescriptor().getMessageType(1109);
     internal_static_google_cloud_compute_v1_ListRegionSslPoliciesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionSslPoliciesRequest_descriptor,
@@ -52026,7 +52083,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionTargetHttpProxiesRequest_descriptor =
-        getDescriptor().getMessageType(1107);
+        getDescriptor().getMessageType(1110);
     internal_static_google_cloud_compute_v1_ListRegionTargetHttpProxiesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionTargetHttpProxiesRequest_descriptor,
@@ -52040,7 +52097,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionTargetHttpsProxiesRequest_descriptor =
-        getDescriptor().getMessageType(1108);
+        getDescriptor().getMessageType(1111);
     internal_static_google_cloud_compute_v1_ListRegionTargetHttpsProxiesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionTargetHttpsProxiesRequest_descriptor,
@@ -52054,7 +52111,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionTargetTcpProxiesRequest_descriptor =
-        getDescriptor().getMessageType(1109);
+        getDescriptor().getMessageType(1112);
     internal_static_google_cloud_compute_v1_ListRegionTargetTcpProxiesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionTargetTcpProxiesRequest_descriptor,
@@ -52068,7 +52125,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionUrlMapsRequest_descriptor =
-        getDescriptor().getMessageType(1110);
+        getDescriptor().getMessageType(1113);
     internal_static_google_cloud_compute_v1_ListRegionUrlMapsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionUrlMapsRequest_descriptor,
@@ -52082,7 +52139,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionZonesRequest_descriptor =
-        getDescriptor().getMessageType(1111);
+        getDescriptor().getMessageType(1114);
     internal_static_google_cloud_compute_v1_ListRegionZonesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionZonesRequest_descriptor,
@@ -52096,7 +52153,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRegionsRequest_descriptor =
-        getDescriptor().getMessageType(1112);
+        getDescriptor().getMessageType(1115);
     internal_static_google_cloud_compute_v1_ListRegionsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRegionsRequest_descriptor,
@@ -52104,7 +52161,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListReliabilityRisksRequest_descriptor =
-        getDescriptor().getMessageType(1113);
+        getDescriptor().getMessageType(1116);
     internal_static_google_cloud_compute_v1_ListReliabilityRisksRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListReliabilityRisksRequest_descriptor,
@@ -52112,7 +52169,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListReservationBlocksRequest_descriptor =
-        getDescriptor().getMessageType(1114);
+        getDescriptor().getMessageType(1117);
     internal_static_google_cloud_compute_v1_ListReservationBlocksRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListReservationBlocksRequest_descriptor,
@@ -52127,7 +52184,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListReservationSlotsRequest_descriptor =
-        getDescriptor().getMessageType(1115);
+        getDescriptor().getMessageType(1118);
     internal_static_google_cloud_compute_v1_ListReservationSlotsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListReservationSlotsRequest_descriptor,
@@ -52142,7 +52199,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListReservationSubBlocksRequest_descriptor =
-        getDescriptor().getMessageType(1116);
+        getDescriptor().getMessageType(1119);
     internal_static_google_cloud_compute_v1_ListReservationSubBlocksRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListReservationSubBlocksRequest_descriptor,
@@ -52157,7 +52214,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListReservationsRequest_descriptor =
-        getDescriptor().getMessageType(1117);
+        getDescriptor().getMessageType(1120);
     internal_static_google_cloud_compute_v1_ListReservationsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListReservationsRequest_descriptor,
@@ -52171,7 +52228,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListResourcePoliciesRequest_descriptor =
-        getDescriptor().getMessageType(1118);
+        getDescriptor().getMessageType(1121);
     internal_static_google_cloud_compute_v1_ListResourcePoliciesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListResourcePoliciesRequest_descriptor,
@@ -52185,7 +52242,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRolloutPlansRequest_descriptor =
-        getDescriptor().getMessageType(1119);
+        getDescriptor().getMessageType(1122);
     internal_static_google_cloud_compute_v1_ListRolloutPlansRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRolloutPlansRequest_descriptor,
@@ -52193,7 +52250,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRolloutsRequest_descriptor =
-        getDescriptor().getMessageType(1120);
+        getDescriptor().getMessageType(1123);
     internal_static_google_cloud_compute_v1_ListRolloutsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRolloutsRequest_descriptor,
@@ -52201,7 +52258,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRoutePoliciesRoutersRequest_descriptor =
-        getDescriptor().getMessageType(1121);
+        getDescriptor().getMessageType(1124);
     internal_static_google_cloud_compute_v1_ListRoutePoliciesRoutersRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRoutePoliciesRoutersRequest_descriptor,
@@ -52216,7 +52273,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Router",
             });
     internal_static_google_cloud_compute_v1_ListRoutersRequest_descriptor =
-        getDescriptor().getMessageType(1122);
+        getDescriptor().getMessageType(1125);
     internal_static_google_cloud_compute_v1_ListRoutersRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRoutersRequest_descriptor,
@@ -52230,7 +52287,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListRoutesRequest_descriptor =
-        getDescriptor().getMessageType(1123);
+        getDescriptor().getMessageType(1126);
     internal_static_google_cloud_compute_v1_ListRoutesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListRoutesRequest_descriptor,
@@ -52238,7 +52295,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListSecurityPoliciesRequest_descriptor =
-        getDescriptor().getMessageType(1124);
+        getDescriptor().getMessageType(1127);
     internal_static_google_cloud_compute_v1_ListSecurityPoliciesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListSecurityPoliciesRequest_descriptor,
@@ -52246,7 +52303,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListServiceAttachmentsRequest_descriptor =
-        getDescriptor().getMessageType(1125);
+        getDescriptor().getMessageType(1128);
     internal_static_google_cloud_compute_v1_ListServiceAttachmentsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListServiceAttachmentsRequest_descriptor,
@@ -52260,7 +52317,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListSnapshotsRequest_descriptor =
-        getDescriptor().getMessageType(1126);
+        getDescriptor().getMessageType(1129);
     internal_static_google_cloud_compute_v1_ListSnapshotsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListSnapshotsRequest_descriptor,
@@ -52268,7 +52325,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListSslCertificatesRequest_descriptor =
-        getDescriptor().getMessageType(1127);
+        getDescriptor().getMessageType(1130);
     internal_static_google_cloud_compute_v1_ListSslCertificatesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListSslCertificatesRequest_descriptor,
@@ -52276,7 +52333,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListSslPoliciesRequest_descriptor =
-        getDescriptor().getMessageType(1128);
+        getDescriptor().getMessageType(1131);
     internal_static_google_cloud_compute_v1_ListSslPoliciesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListSslPoliciesRequest_descriptor,
@@ -52284,7 +52341,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListStoragePoolTypesRequest_descriptor =
-        getDescriptor().getMessageType(1129);
+        getDescriptor().getMessageType(1132);
     internal_static_google_cloud_compute_v1_ListStoragePoolTypesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListStoragePoolTypesRequest_descriptor,
@@ -52298,7 +52355,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListStoragePoolsRequest_descriptor =
-        getDescriptor().getMessageType(1130);
+        getDescriptor().getMessageType(1133);
     internal_static_google_cloud_compute_v1_ListStoragePoolsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListStoragePoolsRequest_descriptor,
@@ -52312,7 +52369,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListSubnetworksRequest_descriptor =
-        getDescriptor().getMessageType(1131);
+        getDescriptor().getMessageType(1134);
     internal_static_google_cloud_compute_v1_ListSubnetworksRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListSubnetworksRequest_descriptor,
@@ -52327,7 +52384,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Views",
             });
     internal_static_google_cloud_compute_v1_ListTargetGrpcProxiesRequest_descriptor =
-        getDescriptor().getMessageType(1132);
+        getDescriptor().getMessageType(1135);
     internal_static_google_cloud_compute_v1_ListTargetGrpcProxiesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListTargetGrpcProxiesRequest_descriptor,
@@ -52335,7 +52392,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListTargetHttpProxiesRequest_descriptor =
-        getDescriptor().getMessageType(1133);
+        getDescriptor().getMessageType(1136);
     internal_static_google_cloud_compute_v1_ListTargetHttpProxiesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListTargetHttpProxiesRequest_descriptor,
@@ -52343,7 +52400,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListTargetHttpsProxiesRequest_descriptor =
-        getDescriptor().getMessageType(1134);
+        getDescriptor().getMessageType(1137);
     internal_static_google_cloud_compute_v1_ListTargetHttpsProxiesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListTargetHttpsProxiesRequest_descriptor,
@@ -52351,7 +52408,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListTargetInstancesRequest_descriptor =
-        getDescriptor().getMessageType(1135);
+        getDescriptor().getMessageType(1138);
     internal_static_google_cloud_compute_v1_ListTargetInstancesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListTargetInstancesRequest_descriptor,
@@ -52365,7 +52422,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListTargetPoolsRequest_descriptor =
-        getDescriptor().getMessageType(1136);
+        getDescriptor().getMessageType(1139);
     internal_static_google_cloud_compute_v1_ListTargetPoolsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListTargetPoolsRequest_descriptor,
@@ -52379,7 +52436,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListTargetSslProxiesRequest_descriptor =
-        getDescriptor().getMessageType(1137);
+        getDescriptor().getMessageType(1140);
     internal_static_google_cloud_compute_v1_ListTargetSslProxiesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListTargetSslProxiesRequest_descriptor,
@@ -52387,7 +52444,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListTargetTcpProxiesRequest_descriptor =
-        getDescriptor().getMessageType(1138);
+        getDescriptor().getMessageType(1141);
     internal_static_google_cloud_compute_v1_ListTargetTcpProxiesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListTargetTcpProxiesRequest_descriptor,
@@ -52395,7 +52452,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListTargetVpnGatewaysRequest_descriptor =
-        getDescriptor().getMessageType(1139);
+        getDescriptor().getMessageType(1142);
     internal_static_google_cloud_compute_v1_ListTargetVpnGatewaysRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListTargetVpnGatewaysRequest_descriptor,
@@ -52409,7 +52466,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListUrlMapsRequest_descriptor =
-        getDescriptor().getMessageType(1140);
+        getDescriptor().getMessageType(1143);
     internal_static_google_cloud_compute_v1_ListUrlMapsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListUrlMapsRequest_descriptor,
@@ -52417,7 +52474,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListUsableBackendBucketsRequest_descriptor =
-        getDescriptor().getMessageType(1141);
+        getDescriptor().getMessageType(1144);
     internal_static_google_cloud_compute_v1_ListUsableBackendBucketsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListUsableBackendBucketsRequest_descriptor,
@@ -52425,7 +52482,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListUsableBackendServicesRequest_descriptor =
-        getDescriptor().getMessageType(1142);
+        getDescriptor().getMessageType(1145);
     internal_static_google_cloud_compute_v1_ListUsableBackendServicesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListUsableBackendServicesRequest_descriptor,
@@ -52433,7 +52490,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListUsableRegionBackendBucketsRequest_descriptor =
-        getDescriptor().getMessageType(1143);
+        getDescriptor().getMessageType(1146);
     internal_static_google_cloud_compute_v1_ListUsableRegionBackendBucketsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListUsableRegionBackendBucketsRequest_descriptor,
@@ -52447,7 +52504,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListUsableRegionBackendServicesRequest_descriptor =
-        getDescriptor().getMessageType(1144);
+        getDescriptor().getMessageType(1147);
     internal_static_google_cloud_compute_v1_ListUsableRegionBackendServicesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListUsableRegionBackendServicesRequest_descriptor,
@@ -52461,7 +52518,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListUsableSubnetworksRequest_descriptor =
-        getDescriptor().getMessageType(1145);
+        getDescriptor().getMessageType(1148);
     internal_static_google_cloud_compute_v1_ListUsableSubnetworksRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListUsableSubnetworksRequest_descriptor,
@@ -52475,7 +52532,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ServiceProject",
             });
     internal_static_google_cloud_compute_v1_ListVpnGatewaysRequest_descriptor =
-        getDescriptor().getMessageType(1146);
+        getDescriptor().getMessageType(1149);
     internal_static_google_cloud_compute_v1_ListVpnGatewaysRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListVpnGatewaysRequest_descriptor,
@@ -52489,7 +52546,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListVpnTunnelsRequest_descriptor =
-        getDescriptor().getMessageType(1147);
+        getDescriptor().getMessageType(1150);
     internal_static_google_cloud_compute_v1_ListVpnTunnelsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListVpnTunnelsRequest_descriptor,
@@ -52503,7 +52560,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListWireGroupsRequest_descriptor =
-        getDescriptor().getMessageType(1148);
+        getDescriptor().getMessageType(1151);
     internal_static_google_cloud_compute_v1_ListWireGroupsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListWireGroupsRequest_descriptor,
@@ -52517,7 +52574,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListXpnHostsProjectsRequest_descriptor =
-        getDescriptor().getMessageType(1149);
+        getDescriptor().getMessageType(1152);
     internal_static_google_cloud_compute_v1_ListXpnHostsProjectsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListXpnHostsProjectsRequest_descriptor,
@@ -52531,7 +52588,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_ListZoneOperationsRequest_descriptor =
-        getDescriptor().getMessageType(1150);
+        getDescriptor().getMessageType(1153);
     internal_static_google_cloud_compute_v1_ListZoneOperationsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListZoneOperationsRequest_descriptor,
@@ -52545,7 +52602,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListZoneVmExtensionPoliciesRequest_descriptor =
-        getDescriptor().getMessageType(1151);
+        getDescriptor().getMessageType(1154);
     internal_static_google_cloud_compute_v1_ListZoneVmExtensionPoliciesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListZoneVmExtensionPoliciesRequest_descriptor,
@@ -52559,7 +52616,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ListZonesRequest_descriptor =
-        getDescriptor().getMessageType(1152);
+        getDescriptor().getMessageType(1155);
     internal_static_google_cloud_compute_v1_ListZonesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ListZonesRequest_descriptor,
@@ -52567,7 +52624,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess",
             });
     internal_static_google_cloud_compute_v1_LocalDisk_descriptor =
-        getDescriptor().getMessageType(1153);
+        getDescriptor().getMessageType(1156);
     internal_static_google_cloud_compute_v1_LocalDisk_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_LocalDisk_descriptor,
@@ -52575,7 +52632,7 @@ private static void _clinit_autosplit_dinit_2() {
               "DiskCount", "DiskSizeGb", "DiskType",
             });
     internal_static_google_cloud_compute_v1_LocalizedMessage_descriptor =
-        getDescriptor().getMessageType(1154);
+        getDescriptor().getMessageType(1157);
     internal_static_google_cloud_compute_v1_LocalizedMessage_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_LocalizedMessage_descriptor,
@@ -52583,7 +52640,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Locale", "Message",
             });
     internal_static_google_cloud_compute_v1_LocationPolicy_descriptor =
-        getDescriptor().getMessageType(1155);
+        getDescriptor().getMessageType(1158);
     internal_static_google_cloud_compute_v1_LocationPolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_LocationPolicy_descriptor,
@@ -52599,7 +52656,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_LocationPolicyLocation_descriptor =
-        getDescriptor().getMessageType(1156);
+        getDescriptor().getMessageType(1159);
     internal_static_google_cloud_compute_v1_LocationPolicyLocation_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_LocationPolicyLocation_descriptor,
@@ -52607,7 +52664,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Constraints", "Preference",
             });
     internal_static_google_cloud_compute_v1_LocationPolicyLocationConstraints_descriptor =
-        getDescriptor().getMessageType(1157);
+        getDescriptor().getMessageType(1160);
     internal_static_google_cloud_compute_v1_LocationPolicyLocationConstraints_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_LocationPolicyLocationConstraints_descriptor,
@@ -52615,7 +52672,7 @@ private static void _clinit_autosplit_dinit_2() {
               "MaxCount",
             });
     internal_static_google_cloud_compute_v1_LocationPolicyZoneConfiguration_descriptor =
-        getDescriptor().getMessageType(1158);
+        getDescriptor().getMessageType(1161);
     internal_static_google_cloud_compute_v1_LocationPolicyZoneConfiguration_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_LocationPolicyZoneConfiguration_descriptor,
@@ -52623,7 +52680,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_MachineImage_descriptor =
-        getDescriptor().getMessageType(1159);
+        getDescriptor().getMessageType(1162);
     internal_static_google_cloud_compute_v1_MachineImage_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_MachineImage_descriptor,
@@ -52659,7 +52716,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_MachineImageList_descriptor =
-        getDescriptor().getMessageType(1160);
+        getDescriptor().getMessageType(1163);
     internal_static_google_cloud_compute_v1_MachineImageList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_MachineImageList_descriptor,
@@ -52667,7 +52724,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_MachineImageParams_descriptor =
-        getDescriptor().getMessageType(1161);
+        getDescriptor().getMessageType(1164);
     internal_static_google_cloud_compute_v1_MachineImageParams_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_MachineImageParams_descriptor,
@@ -52683,7 +52740,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_MachineType_descriptor =
-        getDescriptor().getMessageType(1162);
+        getDescriptor().getMessageType(1165);
     internal_static_google_cloud_compute_v1_MachineType_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_MachineType_descriptor,
@@ -52707,7 +52764,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_MachineTypeAggregatedList_descriptor =
-        getDescriptor().getMessageType(1163);
+        getDescriptor().getMessageType(1166);
     internal_static_google_cloud_compute_v1_MachineTypeAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_MachineTypeAggregatedList_descriptor,
@@ -52724,7 +52781,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_MachineTypeList_descriptor =
-        getDescriptor().getMessageType(1164);
+        getDescriptor().getMessageType(1167);
     internal_static_google_cloud_compute_v1_MachineTypeList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_MachineTypeList_descriptor,
@@ -52732,7 +52789,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_MachineTypesScopedList_descriptor =
-        getDescriptor().getMessageType(1165);
+        getDescriptor().getMessageType(1168);
     internal_static_google_cloud_compute_v1_MachineTypesScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_MachineTypesScopedList_descriptor,
@@ -52740,7 +52797,7 @@ private static void _clinit_autosplit_dinit_2() {
               "MachineTypes", "Warning",
             });
     internal_static_google_cloud_compute_v1_ManagedInstance_descriptor =
-        getDescriptor().getMessageType(1166);
+        getDescriptor().getMessageType(1169);
     internal_static_google_cloud_compute_v1_ManagedInstance_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ManagedInstance_descriptor,
@@ -52757,10 +52814,11 @@ private static void _clinit_autosplit_dinit_2() {
               "PropertiesFromFlexibilityPolicy",
               "Scheduling",
               "ShutdownDetails",
+              "TargetStatus",
               "Version",
             });
     internal_static_google_cloud_compute_v1_ManagedInstanceInstanceHealth_descriptor =
-        getDescriptor().getMessageType(1167);
+        getDescriptor().getMessageType(1170);
     internal_static_google_cloud_compute_v1_ManagedInstanceInstanceHealth_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ManagedInstanceInstanceHealth_descriptor,
@@ -52768,7 +52826,7 @@ private static void _clinit_autosplit_dinit_2() {
               "DetailedHealthState", "HealthCheck",
             });
     internal_static_google_cloud_compute_v1_ManagedInstanceLastAttempt_descriptor =
-        getDescriptor().getMessageType(1168);
+        getDescriptor().getMessageType(1171);
     internal_static_google_cloud_compute_v1_ManagedInstanceLastAttempt_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ManagedInstanceLastAttempt_descriptor,
@@ -52776,7 +52834,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Errors",
             });
     internal_static_google_cloud_compute_v1_ManagedInstanceLastAttemptErrors_descriptor =
-        getDescriptor().getMessageType(1169);
+        getDescriptor().getMessageType(1172);
     internal_static_google_cloud_compute_v1_ManagedInstanceLastAttemptErrors_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ManagedInstanceLastAttemptErrors_descriptor,
@@ -52784,7 +52842,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Errors",
             });
     internal_static_google_cloud_compute_v1_ManagedInstancePropertiesFromFlexibilityPolicy_descriptor =
-        getDescriptor().getMessageType(1170);
+        getDescriptor().getMessageType(1173);
     internal_static_google_cloud_compute_v1_ManagedInstancePropertiesFromFlexibilityPolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ManagedInstancePropertiesFromFlexibilityPolicy_descriptor,
@@ -52792,7 +52850,7 @@ private static void _clinit_autosplit_dinit_2() {
               "MachineType",
             });
     internal_static_google_cloud_compute_v1_ManagedInstanceScheduling_descriptor =
-        getDescriptor().getMessageType(1171);
+        getDescriptor().getMessageType(1174);
     internal_static_google_cloud_compute_v1_ManagedInstanceScheduling_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ManagedInstanceScheduling_descriptor,
@@ -52800,7 +52858,7 @@ private static void _clinit_autosplit_dinit_2() {
               "GracefulShutdownTimestamp", "TerminationTimestamp",
             });
     internal_static_google_cloud_compute_v1_ManagedInstanceShutdownDetails_descriptor =
-        getDescriptor().getMessageType(1172);
+        getDescriptor().getMessageType(1175);
     internal_static_google_cloud_compute_v1_ManagedInstanceShutdownDetails_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ManagedInstanceShutdownDetails_descriptor,
@@ -52808,7 +52866,7 @@ private static void _clinit_autosplit_dinit_2() {
               "MaxDuration", "RequestTimestamp",
             });
     internal_static_google_cloud_compute_v1_ManagedInstanceVersion_descriptor =
-        getDescriptor().getMessageType(1173);
+        getDescriptor().getMessageType(1176);
     internal_static_google_cloud_compute_v1_ManagedInstanceVersion_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ManagedInstanceVersion_descriptor,
@@ -52816,7 +52874,7 @@ private static void _clinit_autosplit_dinit_2() {
               "InstanceTemplate", "Name",
             });
     internal_static_google_cloud_compute_v1_Metadata_descriptor =
-        getDescriptor().getMessageType(1174);
+        getDescriptor().getMessageType(1177);
     internal_static_google_cloud_compute_v1_Metadata_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Metadata_descriptor,
@@ -52824,7 +52882,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Fingerprint", "Items", "Kind",
             });
     internal_static_google_cloud_compute_v1_MetadataFilter_descriptor =
-        getDescriptor().getMessageType(1175);
+        getDescriptor().getMessageType(1178);
     internal_static_google_cloud_compute_v1_MetadataFilter_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_MetadataFilter_descriptor,
@@ -52832,7 +52890,7 @@ private static void _clinit_autosplit_dinit_2() {
               "FilterLabels", "FilterMatchCriteria",
             });
     internal_static_google_cloud_compute_v1_MetadataFilterLabelMatch_descriptor =
-        getDescriptor().getMessageType(1176);
+        getDescriptor().getMessageType(1179);
     internal_static_google_cloud_compute_v1_MetadataFilterLabelMatch_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_MetadataFilterLabelMatch_descriptor,
@@ -52840,7 +52898,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Name", "Value",
             });
     internal_static_google_cloud_compute_v1_MoveAddressRequest_descriptor =
-        getDescriptor().getMessageType(1177);
+        getDescriptor().getMessageType(1180);
     internal_static_google_cloud_compute_v1_MoveAddressRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_MoveAddressRequest_descriptor,
@@ -52848,7 +52906,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Address", "Project", "Region", "RegionAddressesMoveRequestResource", "RequestId",
             });
     internal_static_google_cloud_compute_v1_MoveDiskProjectRequest_descriptor =
-        getDescriptor().getMessageType(1178);
+        getDescriptor().getMessageType(1181);
     internal_static_google_cloud_compute_v1_MoveDiskProjectRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_MoveDiskProjectRequest_descriptor,
@@ -52856,7 +52914,7 @@ private static void _clinit_autosplit_dinit_2() {
               "DiskMoveRequestResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_MoveFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1179);
+        getDescriptor().getMessageType(1182);
     internal_static_google_cloud_compute_v1_MoveFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_MoveFirewallPolicyRequest_descriptor,
@@ -52864,7 +52922,7 @@ private static void _clinit_autosplit_dinit_2() {
               "FirewallPolicy", "ParentId", "RequestId",
             });
     internal_static_google_cloud_compute_v1_MoveGlobalAddressRequest_descriptor =
-        getDescriptor().getMessageType(1180);
+        getDescriptor().getMessageType(1183);
     internal_static_google_cloud_compute_v1_MoveGlobalAddressRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_MoveGlobalAddressRequest_descriptor,
@@ -52872,7 +52930,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Address", "GlobalAddressesMoveRequestResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_MoveInstanceProjectRequest_descriptor =
-        getDescriptor().getMessageType(1181);
+        getDescriptor().getMessageType(1184);
     internal_static_google_cloud_compute_v1_MoveInstanceProjectRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_MoveInstanceProjectRequest_descriptor,
@@ -52880,7 +52938,7 @@ private static void _clinit_autosplit_dinit_2() {
               "InstanceMoveRequestResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_MoveOrganizationSecurityPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1182);
+        getDescriptor().getMessageType(1185);
     internal_static_google_cloud_compute_v1_MoveOrganizationSecurityPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_MoveOrganizationSecurityPolicyRequest_descriptor,
@@ -52888,7 +52946,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ParentId", "RequestId", "SecurityPolicy",
             });
     internal_static_google_cloud_compute_v1_NamedPort_descriptor =
-        getDescriptor().getMessageType(1183);
+        getDescriptor().getMessageType(1186);
     internal_static_google_cloud_compute_v1_NamedPort_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NamedPort_descriptor,
@@ -52896,7 +52954,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Name", "Port",
             });
     internal_static_google_cloud_compute_v1_NamedSet_descriptor =
-        getDescriptor().getMessageType(1184);
+        getDescriptor().getMessageType(1187);
     internal_static_google_cloud_compute_v1_NamedSet_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NamedSet_descriptor,
@@ -52904,7 +52962,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Description", "Elements", "Fingerprint", "Name", "Type",
             });
     internal_static_google_cloud_compute_v1_NatIpInfo_descriptor =
-        getDescriptor().getMessageType(1185);
+        getDescriptor().getMessageType(1188);
     internal_static_google_cloud_compute_v1_NatIpInfo_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NatIpInfo_descriptor,
@@ -52912,7 +52970,7 @@ private static void _clinit_autosplit_dinit_2() {
               "NatIpInfoMappings", "NatName",
             });
     internal_static_google_cloud_compute_v1_NatIpInfoNatIpInfoMapping_descriptor =
-        getDescriptor().getMessageType(1186);
+        getDescriptor().getMessageType(1189);
     internal_static_google_cloud_compute_v1_NatIpInfoNatIpInfoMapping_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NatIpInfoNatIpInfoMapping_descriptor,
@@ -52920,7 +52978,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Mode", "NatIp", "Usage",
             });
     internal_static_google_cloud_compute_v1_NatIpInfoResponse_descriptor =
-        getDescriptor().getMessageType(1187);
+        getDescriptor().getMessageType(1190);
     internal_static_google_cloud_compute_v1_NatIpInfoResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NatIpInfoResponse_descriptor,
@@ -52928,7 +52986,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Result",
             });
     internal_static_google_cloud_compute_v1_Network_descriptor =
-        getDescriptor().getMessageType(1188);
+        getDescriptor().getMessageType(1191);
     internal_static_google_cloud_compute_v1_Network_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Network_descriptor,
@@ -52955,7 +53013,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Subnetworks",
             });
     internal_static_google_cloud_compute_v1_NetworkAttachment_descriptor =
-        getDescriptor().getMessageType(1189);
+        getDescriptor().getMessageType(1192);
     internal_static_google_cloud_compute_v1_NetworkAttachment_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkAttachment_descriptor,
@@ -52977,7 +53035,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Subnetworks",
             });
     internal_static_google_cloud_compute_v1_NetworkAttachmentAggregatedList_descriptor =
-        getDescriptor().getMessageType(1190);
+        getDescriptor().getMessageType(1193);
     internal_static_google_cloud_compute_v1_NetworkAttachmentAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkAttachmentAggregatedList_descriptor,
@@ -52994,7 +53052,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_NetworkAttachmentConnectedEndpoint_descriptor =
-        getDescriptor().getMessageType(1191);
+        getDescriptor().getMessageType(1194);
     internal_static_google_cloud_compute_v1_NetworkAttachmentConnectedEndpoint_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkAttachmentConnectedEndpoint_descriptor,
@@ -53009,7 +53067,7 @@ private static void _clinit_autosplit_dinit_2() {
               "SubnetworkCidrRange",
             });
     internal_static_google_cloud_compute_v1_NetworkAttachmentList_descriptor =
-        getDescriptor().getMessageType(1192);
+        getDescriptor().getMessageType(1195);
     internal_static_google_cloud_compute_v1_NetworkAttachmentList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkAttachmentList_descriptor,
@@ -53017,7 +53075,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_NetworkAttachmentsScopedList_descriptor =
-        getDescriptor().getMessageType(1193);
+        getDescriptor().getMessageType(1196);
     internal_static_google_cloud_compute_v1_NetworkAttachmentsScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkAttachmentsScopedList_descriptor,
@@ -53025,7 +53083,7 @@ private static void _clinit_autosplit_dinit_2() {
               "NetworkAttachments", "Warning",
             });
     internal_static_google_cloud_compute_v1_NetworkEdgeSecurityService_descriptor =
-        getDescriptor().getMessageType(1194);
+        getDescriptor().getMessageType(1197);
     internal_static_google_cloud_compute_v1_NetworkEdgeSecurityService_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkEdgeSecurityService_descriptor,
@@ -53042,7 +53100,7 @@ private static void _clinit_autosplit_dinit_2() {
               "SelfLinkWithId",
             });
     internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServiceAggregatedList_descriptor =
-        getDescriptor().getMessageType(1195);
+        getDescriptor().getMessageType(1198);
     internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServiceAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServiceAggregatedList_descriptor,
@@ -53059,7 +53117,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServicesScopedList_descriptor =
-        getDescriptor().getMessageType(1196);
+        getDescriptor().getMessageType(1199);
     internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServicesScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServicesScopedList_descriptor,
@@ -53067,7 +53125,7 @@ private static void _clinit_autosplit_dinit_2() {
               "NetworkEdgeSecurityServices", "Warning",
             });
     internal_static_google_cloud_compute_v1_NetworkEndpoint_descriptor =
-        getDescriptor().getMessageType(1197);
+        getDescriptor().getMessageType(1200);
     internal_static_google_cloud_compute_v1_NetworkEndpoint_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkEndpoint_descriptor,
@@ -53089,7 +53147,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_NetworkEndpointGroup_descriptor =
-        getDescriptor().getMessageType(1198);
+        getDescriptor().getMessageType(1201);
     internal_static_google_cloud_compute_v1_NetworkEndpointGroup_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkEndpointGroup_descriptor,
@@ -53123,7 +53181,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_NetworkEndpointGroupAggregatedList_descriptor =
-        getDescriptor().getMessageType(1199);
+        getDescriptor().getMessageType(1202);
     internal_static_google_cloud_compute_v1_NetworkEndpointGroupAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkEndpointGroupAggregatedList_descriptor,
@@ -53140,7 +53198,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_NetworkEndpointGroupAppEngine_descriptor =
-        getDescriptor().getMessageType(1200);
+        getDescriptor().getMessageType(1203);
     internal_static_google_cloud_compute_v1_NetworkEndpointGroupAppEngine_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkEndpointGroupAppEngine_descriptor,
@@ -53148,7 +53206,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Service", "UrlMask", "Version",
             });
     internal_static_google_cloud_compute_v1_NetworkEndpointGroupCloudFunction_descriptor =
-        getDescriptor().getMessageType(1201);
+        getDescriptor().getMessageType(1204);
     internal_static_google_cloud_compute_v1_NetworkEndpointGroupCloudFunction_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkEndpointGroupCloudFunction_descriptor,
@@ -53156,7 +53214,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Function", "UrlMask",
             });
     internal_static_google_cloud_compute_v1_NetworkEndpointGroupCloudRun_descriptor =
-        getDescriptor().getMessageType(1202);
+        getDescriptor().getMessageType(1205);
     internal_static_google_cloud_compute_v1_NetworkEndpointGroupCloudRun_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkEndpointGroupCloudRun_descriptor,
@@ -53164,7 +53222,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Service", "Tag", "UrlMask",
             });
     internal_static_google_cloud_compute_v1_NetworkEndpointGroupList_descriptor =
-        getDescriptor().getMessageType(1203);
+        getDescriptor().getMessageType(1206);
     internal_static_google_cloud_compute_v1_NetworkEndpointGroupList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkEndpointGroupList_descriptor,
@@ -53172,7 +53230,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_NetworkEndpointGroupPscData_descriptor =
-        getDescriptor().getMessageType(1204);
+        getDescriptor().getMessageType(1207);
     internal_static_google_cloud_compute_v1_NetworkEndpointGroupPscData_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkEndpointGroupPscData_descriptor,
@@ -53180,7 +53238,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ConsumerPscAddress", "ProducerPort", "PscConnectionId", "PscConnectionStatus",
             });
     internal_static_google_cloud_compute_v1_NetworkEndpointGroupsAttachEndpointsRequest_descriptor =
-        getDescriptor().getMessageType(1205);
+        getDescriptor().getMessageType(1208);
     internal_static_google_cloud_compute_v1_NetworkEndpointGroupsAttachEndpointsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkEndpointGroupsAttachEndpointsRequest_descriptor,
@@ -53188,7 +53246,7 @@ private static void _clinit_autosplit_dinit_2() {
               "NetworkEndpoints",
             });
     internal_static_google_cloud_compute_v1_NetworkEndpointGroupsDetachEndpointsRequest_descriptor =
-        getDescriptor().getMessageType(1206);
+        getDescriptor().getMessageType(1209);
     internal_static_google_cloud_compute_v1_NetworkEndpointGroupsDetachEndpointsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkEndpointGroupsDetachEndpointsRequest_descriptor,
@@ -53196,7 +53254,7 @@ private static void _clinit_autosplit_dinit_2() {
               "NetworkEndpoints",
             });
     internal_static_google_cloud_compute_v1_NetworkEndpointGroupsListEndpointsRequest_descriptor =
-        getDescriptor().getMessageType(1207);
+        getDescriptor().getMessageType(1210);
     internal_static_google_cloud_compute_v1_NetworkEndpointGroupsListEndpointsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkEndpointGroupsListEndpointsRequest_descriptor,
@@ -53204,7 +53262,7 @@ private static void _clinit_autosplit_dinit_2() {
               "HealthStatus",
             });
     internal_static_google_cloud_compute_v1_NetworkEndpointGroupsListNetworkEndpoints_descriptor =
-        getDescriptor().getMessageType(1208);
+        getDescriptor().getMessageType(1211);
     internal_static_google_cloud_compute_v1_NetworkEndpointGroupsListNetworkEndpoints_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkEndpointGroupsListNetworkEndpoints_descriptor,
@@ -53212,7 +53270,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Id", "Items", "Kind", "NextPageToken", "Warning",
             });
     internal_static_google_cloud_compute_v1_NetworkEndpointGroupsScopedList_descriptor =
-        getDescriptor().getMessageType(1209);
+        getDescriptor().getMessageType(1212);
     internal_static_google_cloud_compute_v1_NetworkEndpointGroupsScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkEndpointGroupsScopedList_descriptor,
@@ -53220,7 +53278,7 @@ private static void _clinit_autosplit_dinit_2() {
               "NetworkEndpointGroups", "Warning",
             });
     internal_static_google_cloud_compute_v1_NetworkEndpointWithHealthStatus_descriptor =
-        getDescriptor().getMessageType(1210);
+        getDescriptor().getMessageType(1213);
     internal_static_google_cloud_compute_v1_NetworkEndpointWithHealthStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkEndpointWithHealthStatus_descriptor,
@@ -53228,7 +53286,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Healths", "NetworkEndpoint",
             });
     internal_static_google_cloud_compute_v1_NetworkFirewallPolicyAggregatedList_descriptor =
-        getDescriptor().getMessageType(1211);
+        getDescriptor().getMessageType(1214);
     internal_static_google_cloud_compute_v1_NetworkFirewallPolicyAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkFirewallPolicyAggregatedList_descriptor,
@@ -53245,7 +53303,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_NetworkInterface_descriptor =
-        getDescriptor().getMessageType(1212);
+        getDescriptor().getMessageType(1215);
     internal_static_google_cloud_compute_v1_NetworkInterface_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkInterface_descriptor,
@@ -53274,7 +53332,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Vlan",
             });
     internal_static_google_cloud_compute_v1_NetworkList_descriptor =
-        getDescriptor().getMessageType(1213);
+        getDescriptor().getMessageType(1216);
     internal_static_google_cloud_compute_v1_NetworkList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkList_descriptor,
@@ -53282,7 +53340,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_NetworkParams_descriptor =
-        getDescriptor().getMessageType(1214);
+        getDescriptor().getMessageType(1217);
     internal_static_google_cloud_compute_v1_NetworkParams_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkParams_descriptor,
@@ -53298,7 +53356,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_NetworkPeering_descriptor =
-        getDescriptor().getMessageType(1215);
+        getDescriptor().getMessageType(1218);
     internal_static_google_cloud_compute_v1_NetworkPeering_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkPeering_descriptor,
@@ -53319,7 +53377,7 @@ private static void _clinit_autosplit_dinit_2() {
               "UpdateStrategy",
             });
     internal_static_google_cloud_compute_v1_NetworkPeeringConnectionStatus_descriptor =
-        getDescriptor().getMessageType(1216);
+        getDescriptor().getMessageType(1219);
     internal_static_google_cloud_compute_v1_NetworkPeeringConnectionStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkPeeringConnectionStatus_descriptor,
@@ -53327,7 +53385,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ConsensusState", "TrafficConfiguration", "UpdateStrategy",
             });
     internal_static_google_cloud_compute_v1_NetworkPeeringConnectionStatusConsensusState_descriptor =
-        getDescriptor().getMessageType(1217);
+        getDescriptor().getMessageType(1220);
     internal_static_google_cloud_compute_v1_NetworkPeeringConnectionStatusConsensusState_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkPeeringConnectionStatusConsensusState_descriptor,
@@ -53335,7 +53393,7 @@ private static void _clinit_autosplit_dinit_2() {
               "DeleteStatus", "UpdateStatus",
             });
     internal_static_google_cloud_compute_v1_NetworkPeeringConnectionStatusTrafficConfiguration_descriptor =
-        getDescriptor().getMessageType(1218);
+        getDescriptor().getMessageType(1221);
     internal_static_google_cloud_compute_v1_NetworkPeeringConnectionStatusTrafficConfiguration_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkPeeringConnectionStatusTrafficConfiguration_descriptor,
@@ -53347,7 +53405,7 @@ private static void _clinit_autosplit_dinit_2() {
               "StackType",
             });
     internal_static_google_cloud_compute_v1_NetworkPerformanceConfig_descriptor =
-        getDescriptor().getMessageType(1219);
+        getDescriptor().getMessageType(1222);
     internal_static_google_cloud_compute_v1_NetworkPerformanceConfig_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkPerformanceConfig_descriptor,
@@ -53355,7 +53413,7 @@ private static void _clinit_autosplit_dinit_2() {
               "TotalEgressBandwidthTier",
             });
     internal_static_google_cloud_compute_v1_NetworkProfile_descriptor =
-        getDescriptor().getMessageType(1220);
+        getDescriptor().getMessageType(1223);
     internal_static_google_cloud_compute_v1_NetworkProfile_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkProfile_descriptor,
@@ -53373,7 +53431,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_NetworkProfileLocation_descriptor =
-        getDescriptor().getMessageType(1221);
+        getDescriptor().getMessageType(1224);
     internal_static_google_cloud_compute_v1_NetworkProfileLocation_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkProfileLocation_descriptor,
@@ -53381,7 +53439,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Name", "Scope",
             });
     internal_static_google_cloud_compute_v1_NetworkProfileNetworkFeatures_descriptor =
-        getDescriptor().getMessageType(1222);
+        getDescriptor().getMessageType(1225);
     internal_static_google_cloud_compute_v1_NetworkProfileNetworkFeatures_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkProfileNetworkFeatures_descriptor,
@@ -53426,7 +53484,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Unicast",
             });
     internal_static_google_cloud_compute_v1_NetworkProfileNetworkFeaturesPredefinedSubnetworkRange_descriptor =
-        getDescriptor().getMessageType(1223);
+        getDescriptor().getMessageType(1226);
     internal_static_google_cloud_compute_v1_NetworkProfileNetworkFeaturesPredefinedSubnetworkRange_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkProfileNetworkFeaturesPredefinedSubnetworkRange_descriptor,
@@ -53434,7 +53492,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Ipv6Range", "NamePrefix",
             });
     internal_static_google_cloud_compute_v1_NetworkProfileProfileType_descriptor =
-        getDescriptor().getMessageType(1224);
+        getDescriptor().getMessageType(1227);
     internal_static_google_cloud_compute_v1_NetworkProfileProfileType_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkProfileProfileType_descriptor,
@@ -53442,7 +53500,7 @@ private static void _clinit_autosplit_dinit_2() {
               "NetworkType", "RdmaSubtype", "UllSubtype", "VpcSubtype",
             });
     internal_static_google_cloud_compute_v1_NetworkProfilesListResponse_descriptor =
-        getDescriptor().getMessageType(1225);
+        getDescriptor().getMessageType(1228);
     internal_static_google_cloud_compute_v1_NetworkProfilesListResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkProfilesListResponse_descriptor,
@@ -53450,7 +53508,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Etag", "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Unreachables", "Warning",
             });
     internal_static_google_cloud_compute_v1_NetworkRoutingConfig_descriptor =
-        getDescriptor().getMessageType(1226);
+        getDescriptor().getMessageType(1229);
     internal_static_google_cloud_compute_v1_NetworkRoutingConfig_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworkRoutingConfig_descriptor,
@@ -53463,7 +53521,7 @@ private static void _clinit_autosplit_dinit_2() {
               "RoutingMode",
             });
     internal_static_google_cloud_compute_v1_NetworksAddPeeringRequest_descriptor =
-        getDescriptor().getMessageType(1227);
+        getDescriptor().getMessageType(1230);
     internal_static_google_cloud_compute_v1_NetworksAddPeeringRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworksAddPeeringRequest_descriptor,
@@ -53471,7 +53529,7 @@ private static void _clinit_autosplit_dinit_2() {
               "AutoCreateRoutes", "Name", "NetworkPeering", "PeerNetwork",
             });
     internal_static_google_cloud_compute_v1_NetworksCancelRequestRemovePeeringRequest_descriptor =
-        getDescriptor().getMessageType(1228);
+        getDescriptor().getMessageType(1231);
     internal_static_google_cloud_compute_v1_NetworksCancelRequestRemovePeeringRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworksCancelRequestRemovePeeringRequest_descriptor,
@@ -53479,7 +53537,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Name",
             });
     internal_static_google_cloud_compute_v1_NetworksGetEffectiveFirewallsResponse_descriptor =
-        getDescriptor().getMessageType(1229);
+        getDescriptor().getMessageType(1232);
     internal_static_google_cloud_compute_v1_NetworksGetEffectiveFirewallsResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworksGetEffectiveFirewallsResponse_descriptor,
@@ -53487,7 +53545,7 @@ private static void _clinit_autosplit_dinit_2() {
               "FirewallPolicys", "Firewalls",
             });
     internal_static_google_cloud_compute_v1_NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy_descriptor =
-        getDescriptor().getMessageType(1230);
+        getDescriptor().getMessageType(1233);
     internal_static_google_cloud_compute_v1_NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy_descriptor,
@@ -53501,7 +53559,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Type",
             });
     internal_static_google_cloud_compute_v1_NetworksRemovePeeringRequest_descriptor =
-        getDescriptor().getMessageType(1231);
+        getDescriptor().getMessageType(1234);
     internal_static_google_cloud_compute_v1_NetworksRemovePeeringRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworksRemovePeeringRequest_descriptor,
@@ -53509,7 +53567,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Name",
             });
     internal_static_google_cloud_compute_v1_NetworksRequestRemovePeeringRequest_descriptor =
-        getDescriptor().getMessageType(1232);
+        getDescriptor().getMessageType(1235);
     internal_static_google_cloud_compute_v1_NetworksRequestRemovePeeringRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworksRequestRemovePeeringRequest_descriptor,
@@ -53517,7 +53575,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Name",
             });
     internal_static_google_cloud_compute_v1_NetworksUpdatePeeringRequest_descriptor =
-        getDescriptor().getMessageType(1233);
+        getDescriptor().getMessageType(1236);
     internal_static_google_cloud_compute_v1_NetworksUpdatePeeringRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NetworksUpdatePeeringRequest_descriptor,
@@ -53525,7 +53583,7 @@ private static void _clinit_autosplit_dinit_2() {
               "NetworkPeering",
             });
     internal_static_google_cloud_compute_v1_NodeGroup_descriptor =
-        getDescriptor().getMessageType(1234);
+        getDescriptor().getMessageType(1237);
     internal_static_google_cloud_compute_v1_NodeGroup_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NodeGroup_descriptor,
@@ -53549,7 +53607,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_NodeGroupAggregatedList_descriptor =
-        getDescriptor().getMessageType(1235);
+        getDescriptor().getMessageType(1238);
     internal_static_google_cloud_compute_v1_NodeGroupAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NodeGroupAggregatedList_descriptor,
@@ -53565,7 +53623,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_NodeGroupAutoscalingPolicy_descriptor =
-        getDescriptor().getMessageType(1236);
+        getDescriptor().getMessageType(1239);
     internal_static_google_cloud_compute_v1_NodeGroupAutoscalingPolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NodeGroupAutoscalingPolicy_descriptor,
@@ -53573,7 +53631,7 @@ private static void _clinit_autosplit_dinit_2() {
               "MaxNodes", "MinNodes", "Mode",
             });
     internal_static_google_cloud_compute_v1_NodeGroupList_descriptor =
-        getDescriptor().getMessageType(1237);
+        getDescriptor().getMessageType(1240);
     internal_static_google_cloud_compute_v1_NodeGroupList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NodeGroupList_descriptor,
@@ -53581,7 +53639,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_NodeGroupMaintenanceWindow_descriptor =
-        getDescriptor().getMessageType(1238);
+        getDescriptor().getMessageType(1241);
     internal_static_google_cloud_compute_v1_NodeGroupMaintenanceWindow_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NodeGroupMaintenanceWindow_descriptor,
@@ -53589,7 +53647,7 @@ private static void _clinit_autosplit_dinit_2() {
               "MaintenanceDuration", "StartTime",
             });
     internal_static_google_cloud_compute_v1_NodeGroupNode_descriptor =
-        getDescriptor().getMessageType(1239);
+        getDescriptor().getMessageType(1242);
     internal_static_google_cloud_compute_v1_NodeGroupNode_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NodeGroupNode_descriptor,
@@ -53610,7 +53668,7 @@ private static void _clinit_autosplit_dinit_2() {
               "UpcomingMaintenance",
             });
     internal_static_google_cloud_compute_v1_NodeGroupsAddNodesRequest_descriptor =
-        getDescriptor().getMessageType(1240);
+        getDescriptor().getMessageType(1243);
     internal_static_google_cloud_compute_v1_NodeGroupsAddNodesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NodeGroupsAddNodesRequest_descriptor,
@@ -53618,7 +53676,7 @@ private static void _clinit_autosplit_dinit_2() {
               "AdditionalNodeCount",
             });
     internal_static_google_cloud_compute_v1_NodeGroupsDeleteNodesRequest_descriptor =
-        getDescriptor().getMessageType(1241);
+        getDescriptor().getMessageType(1244);
     internal_static_google_cloud_compute_v1_NodeGroupsDeleteNodesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NodeGroupsDeleteNodesRequest_descriptor,
@@ -53626,7 +53684,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Nodes",
             });
     internal_static_google_cloud_compute_v1_NodeGroupsListNodes_descriptor =
-        getDescriptor().getMessageType(1242);
+        getDescriptor().getMessageType(1245);
     internal_static_google_cloud_compute_v1_NodeGroupsListNodes_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NodeGroupsListNodes_descriptor,
@@ -53634,7 +53692,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_NodeGroupsPerformMaintenanceRequest_descriptor =
-        getDescriptor().getMessageType(1243);
+        getDescriptor().getMessageType(1246);
     internal_static_google_cloud_compute_v1_NodeGroupsPerformMaintenanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NodeGroupsPerformMaintenanceRequest_descriptor,
@@ -53642,7 +53700,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Nodes", "StartTime",
             });
     internal_static_google_cloud_compute_v1_NodeGroupsScopedList_descriptor =
-        getDescriptor().getMessageType(1244);
+        getDescriptor().getMessageType(1247);
     internal_static_google_cloud_compute_v1_NodeGroupsScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NodeGroupsScopedList_descriptor,
@@ -53650,7 +53708,7 @@ private static void _clinit_autosplit_dinit_2() {
               "NodeGroups", "Warning",
             });
     internal_static_google_cloud_compute_v1_NodeGroupsSetNodeTemplateRequest_descriptor =
-        getDescriptor().getMessageType(1245);
+        getDescriptor().getMessageType(1248);
     internal_static_google_cloud_compute_v1_NodeGroupsSetNodeTemplateRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NodeGroupsSetNodeTemplateRequest_descriptor,
@@ -53658,7 +53716,7 @@ private static void _clinit_autosplit_dinit_2() {
               "NodeTemplate",
             });
     internal_static_google_cloud_compute_v1_NodeGroupsSimulateMaintenanceEventRequest_descriptor =
-        getDescriptor().getMessageType(1246);
+        getDescriptor().getMessageType(1249);
     internal_static_google_cloud_compute_v1_NodeGroupsSimulateMaintenanceEventRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NodeGroupsSimulateMaintenanceEventRequest_descriptor,
@@ -53666,7 +53724,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Nodes",
             });
     internal_static_google_cloud_compute_v1_NodeTemplate_descriptor =
-        getDescriptor().getMessageType(1247);
+        getDescriptor().getMessageType(1250);
     internal_static_google_cloud_compute_v1_NodeTemplate_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NodeTemplate_descriptor,
@@ -53697,7 +53755,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_NodeTemplateAggregatedList_descriptor =
-        getDescriptor().getMessageType(1248);
+        getDescriptor().getMessageType(1251);
     internal_static_google_cloud_compute_v1_NodeTemplateAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NodeTemplateAggregatedList_descriptor,
@@ -53714,7 +53772,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_NodeTemplateList_descriptor =
-        getDescriptor().getMessageType(1249);
+        getDescriptor().getMessageType(1252);
     internal_static_google_cloud_compute_v1_NodeTemplateList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NodeTemplateList_descriptor,
@@ -53722,7 +53780,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_NodeTemplateNodeTypeFlexibility_descriptor =
-        getDescriptor().getMessageType(1250);
+        getDescriptor().getMessageType(1253);
     internal_static_google_cloud_compute_v1_NodeTemplateNodeTypeFlexibility_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NodeTemplateNodeTypeFlexibility_descriptor,
@@ -53730,7 +53788,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Cpus", "LocalSsd", "Memory",
             });
     internal_static_google_cloud_compute_v1_NodeTemplatesScopedList_descriptor =
-        getDescriptor().getMessageType(1251);
+        getDescriptor().getMessageType(1254);
     internal_static_google_cloud_compute_v1_NodeTemplatesScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NodeTemplatesScopedList_descriptor,
@@ -53738,7 +53796,7 @@ private static void _clinit_autosplit_dinit_2() {
               "NodeTemplates", "Warning",
             });
     internal_static_google_cloud_compute_v1_NodeType_descriptor =
-        getDescriptor().getMessageType(1252);
+        getDescriptor().getMessageType(1255);
     internal_static_google_cloud_compute_v1_NodeType_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NodeType_descriptor,
@@ -53758,7 +53816,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_NodeTypeAggregatedList_descriptor =
-        getDescriptor().getMessageType(1253);
+        getDescriptor().getMessageType(1256);
     internal_static_google_cloud_compute_v1_NodeTypeAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NodeTypeAggregatedList_descriptor,
@@ -53774,7 +53832,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_NodeTypeList_descriptor =
-        getDescriptor().getMessageType(1254);
+        getDescriptor().getMessageType(1257);
     internal_static_google_cloud_compute_v1_NodeTypeList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NodeTypeList_descriptor,
@@ -53782,7 +53840,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_NodeTypesScopedList_descriptor =
-        getDescriptor().getMessageType(1255);
+        getDescriptor().getMessageType(1258);
     internal_static_google_cloud_compute_v1_NodeTypesScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NodeTypesScopedList_descriptor,
@@ -53790,7 +53848,7 @@ private static void _clinit_autosplit_dinit_2() {
               "NodeTypes", "Warning",
             });
     internal_static_google_cloud_compute_v1_NotificationEndpoint_descriptor =
-        getDescriptor().getMessageType(1256);
+        getDescriptor().getMessageType(1259);
     internal_static_google_cloud_compute_v1_NotificationEndpoint_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NotificationEndpoint_descriptor,
@@ -53805,7 +53863,7 @@ private static void _clinit_autosplit_dinit_2() {
               "SelfLink",
             });
     internal_static_google_cloud_compute_v1_NotificationEndpointAggregatedList_descriptor =
-        getDescriptor().getMessageType(1257);
+        getDescriptor().getMessageType(1260);
     internal_static_google_cloud_compute_v1_NotificationEndpointAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NotificationEndpointAggregatedList_descriptor,
@@ -53822,7 +53880,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_NotificationEndpointGrpcSettings_descriptor =
-        getDescriptor().getMessageType(1258);
+        getDescriptor().getMessageType(1261);
     internal_static_google_cloud_compute_v1_NotificationEndpointGrpcSettings_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NotificationEndpointGrpcSettings_descriptor,
@@ -53830,7 +53888,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Authority", "Endpoint", "PayloadName", "ResendInterval", "RetryDurationSec",
             });
     internal_static_google_cloud_compute_v1_NotificationEndpointList_descriptor =
-        getDescriptor().getMessageType(1259);
+        getDescriptor().getMessageType(1262);
     internal_static_google_cloud_compute_v1_NotificationEndpointList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NotificationEndpointList_descriptor,
@@ -53838,7 +53896,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_NotificationEndpointsScopedList_descriptor =
-        getDescriptor().getMessageType(1260);
+        getDescriptor().getMessageType(1263);
     internal_static_google_cloud_compute_v1_NotificationEndpointsScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_NotificationEndpointsScopedList_descriptor,
@@ -53846,7 +53904,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Resources", "Warning",
             });
     internal_static_google_cloud_compute_v1_Operation_descriptor =
-        getDescriptor().getMessageType(1261);
+        getDescriptor().getMessageType(1264);
     internal_static_google_cloud_compute_v1_Operation_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Operation_descriptor,
@@ -53856,6 +53914,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Description",
               "EndTime",
               "Error",
+              "GetHealthOperationMetadata",
               "GetVersionOperationMetadata",
               "HttpErrorMessage",
               "HttpErrorStatusCode",
@@ -53880,7 +53939,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_OperationAggregatedList_descriptor =
-        getDescriptor().getMessageType(1262);
+        getDescriptor().getMessageType(1265);
     internal_static_google_cloud_compute_v1_OperationAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_OperationAggregatedList_descriptor,
@@ -53896,7 +53955,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_OperationList_descriptor =
-        getDescriptor().getMessageType(1263);
+        getDescriptor().getMessageType(1266);
     internal_static_google_cloud_compute_v1_OperationList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_OperationList_descriptor,
@@ -53904,7 +53963,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_OperationsScopedList_descriptor =
-        getDescriptor().getMessageType(1264);
+        getDescriptor().getMessageType(1267);
     internal_static_google_cloud_compute_v1_OperationsScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_OperationsScopedList_descriptor,
@@ -53912,7 +53971,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Operations", "Warning",
             });
     internal_static_google_cloud_compute_v1_OrganizationSecurityPoliciesListAssociationsResponse_descriptor =
-        getDescriptor().getMessageType(1265);
+        getDescriptor().getMessageType(1268);
     internal_static_google_cloud_compute_v1_OrganizationSecurityPoliciesListAssociationsResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_OrganizationSecurityPoliciesListAssociationsResponse_descriptor,
@@ -53920,7 +53979,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Associations", "Kind",
             });
     internal_static_google_cloud_compute_v1_OutlierDetection_descriptor =
-        getDescriptor().getMessageType(1266);
+        getDescriptor().getMessageType(1269);
     internal_static_google_cloud_compute_v1_OutlierDetection_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_OutlierDetection_descriptor,
@@ -53938,7 +53997,7 @@ private static void _clinit_autosplit_dinit_2() {
               "SuccessRateStdevFactor",
             });
     internal_static_google_cloud_compute_v1_PacketIntervals_descriptor =
-        getDescriptor().getMessageType(1267);
+        getDescriptor().getMessageType(1270);
     internal_static_google_cloud_compute_v1_PacketIntervals_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PacketIntervals_descriptor,
@@ -53946,7 +54005,7 @@ private static void _clinit_autosplit_dinit_2() {
               "AvgMs", "Duration", "MaxMs", "MinMs", "NumIntervals", "Type",
             });
     internal_static_google_cloud_compute_v1_PacketMirroring_descriptor =
-        getDescriptor().getMessageType(1268);
+        getDescriptor().getMessageType(1271);
     internal_static_google_cloud_compute_v1_PacketMirroring_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PacketMirroring_descriptor,
@@ -53966,7 +54025,7 @@ private static void _clinit_autosplit_dinit_2() {
               "SelfLink",
             });
     internal_static_google_cloud_compute_v1_PacketMirroringAggregatedList_descriptor =
-        getDescriptor().getMessageType(1269);
+        getDescriptor().getMessageType(1272);
     internal_static_google_cloud_compute_v1_PacketMirroringAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PacketMirroringAggregatedList_descriptor,
@@ -53983,7 +54042,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_PacketMirroringFilter_descriptor =
-        getDescriptor().getMessageType(1270);
+        getDescriptor().getMessageType(1273);
     internal_static_google_cloud_compute_v1_PacketMirroringFilter_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PacketMirroringFilter_descriptor,
@@ -53991,7 +54050,7 @@ private static void _clinit_autosplit_dinit_2() {
               "IPProtocols", "CidrRanges", "Direction",
             });
     internal_static_google_cloud_compute_v1_PacketMirroringForwardingRuleInfo_descriptor =
-        getDescriptor().getMessageType(1271);
+        getDescriptor().getMessageType(1274);
     internal_static_google_cloud_compute_v1_PacketMirroringForwardingRuleInfo_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PacketMirroringForwardingRuleInfo_descriptor,
@@ -53999,7 +54058,7 @@ private static void _clinit_autosplit_dinit_2() {
               "CanonicalUrl", "Url",
             });
     internal_static_google_cloud_compute_v1_PacketMirroringList_descriptor =
-        getDescriptor().getMessageType(1272);
+        getDescriptor().getMessageType(1275);
     internal_static_google_cloud_compute_v1_PacketMirroringList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PacketMirroringList_descriptor,
@@ -54007,7 +54066,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_PacketMirroringMirroredResourceInfo_descriptor =
-        getDescriptor().getMessageType(1273);
+        getDescriptor().getMessageType(1276);
     internal_static_google_cloud_compute_v1_PacketMirroringMirroredResourceInfo_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PacketMirroringMirroredResourceInfo_descriptor,
@@ -54015,7 +54074,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Instances", "Subnetworks", "Tags",
             });
     internal_static_google_cloud_compute_v1_PacketMirroringMirroredResourceInfoInstanceInfo_descriptor =
-        getDescriptor().getMessageType(1274);
+        getDescriptor().getMessageType(1277);
     internal_static_google_cloud_compute_v1_PacketMirroringMirroredResourceInfoInstanceInfo_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PacketMirroringMirroredResourceInfoInstanceInfo_descriptor,
@@ -54023,7 +54082,7 @@ private static void _clinit_autosplit_dinit_2() {
               "CanonicalUrl", "Url",
             });
     internal_static_google_cloud_compute_v1_PacketMirroringMirroredResourceInfoSubnetInfo_descriptor =
-        getDescriptor().getMessageType(1275);
+        getDescriptor().getMessageType(1278);
     internal_static_google_cloud_compute_v1_PacketMirroringMirroredResourceInfoSubnetInfo_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PacketMirroringMirroredResourceInfoSubnetInfo_descriptor,
@@ -54031,7 +54090,7 @@ private static void _clinit_autosplit_dinit_2() {
               "CanonicalUrl", "Url",
             });
     internal_static_google_cloud_compute_v1_PacketMirroringNetworkInfo_descriptor =
-        getDescriptor().getMessageType(1276);
+        getDescriptor().getMessageType(1279);
     internal_static_google_cloud_compute_v1_PacketMirroringNetworkInfo_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PacketMirroringNetworkInfo_descriptor,
@@ -54039,7 +54098,7 @@ private static void _clinit_autosplit_dinit_2() {
               "CanonicalUrl", "Url",
             });
     internal_static_google_cloud_compute_v1_PacketMirroringsScopedList_descriptor =
-        getDescriptor().getMessageType(1277);
+        getDescriptor().getMessageType(1280);
     internal_static_google_cloud_compute_v1_PacketMirroringsScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PacketMirroringsScopedList_descriptor,
@@ -54047,7 +54106,7 @@ private static void _clinit_autosplit_dinit_2() {
               "PacketMirrorings", "Warning",
             });
     internal_static_google_cloud_compute_v1_PatchAutoscalerRequest_descriptor =
-        getDescriptor().getMessageType(1278);
+        getDescriptor().getMessageType(1281);
     internal_static_google_cloud_compute_v1_PatchAutoscalerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchAutoscalerRequest_descriptor,
@@ -54055,7 +54114,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Autoscaler", "AutoscalerResource", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_PatchBackendBucketRequest_descriptor =
-        getDescriptor().getMessageType(1279);
+        getDescriptor().getMessageType(1282);
     internal_static_google_cloud_compute_v1_PatchBackendBucketRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchBackendBucketRequest_descriptor,
@@ -54063,7 +54122,7 @@ private static void _clinit_autosplit_dinit_2() {
               "BackendBucket", "BackendBucketResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchBackendServiceRequest_descriptor =
-        getDescriptor().getMessageType(1280);
+        getDescriptor().getMessageType(1283);
     internal_static_google_cloud_compute_v1_PatchBackendServiceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchBackendServiceRequest_descriptor,
@@ -54071,7 +54130,7 @@ private static void _clinit_autosplit_dinit_2() {
               "BackendService", "BackendServiceResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchCrossSiteNetworkRequest_descriptor =
-        getDescriptor().getMessageType(1281);
+        getDescriptor().getMessageType(1284);
     internal_static_google_cloud_compute_v1_PatchCrossSiteNetworkRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchCrossSiteNetworkRequest_descriptor,
@@ -54084,7 +54143,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ValidateOnly",
             });
     internal_static_google_cloud_compute_v1_PatchFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1282);
+        getDescriptor().getMessageType(1285);
     internal_static_google_cloud_compute_v1_PatchFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchFirewallPolicyRequest_descriptor,
@@ -54092,7 +54151,7 @@ private static void _clinit_autosplit_dinit_2() {
               "FirewallPolicy", "FirewallPolicyResource", "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchFirewallRequest_descriptor =
-        getDescriptor().getMessageType(1283);
+        getDescriptor().getMessageType(1286);
     internal_static_google_cloud_compute_v1_PatchFirewallRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchFirewallRequest_descriptor,
@@ -54100,7 +54159,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Firewall", "FirewallResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchForwardingRuleRequest_descriptor =
-        getDescriptor().getMessageType(1284);
+        getDescriptor().getMessageType(1287);
     internal_static_google_cloud_compute_v1_PatchForwardingRuleRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchForwardingRuleRequest_descriptor,
@@ -54108,7 +54167,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ForwardingRule", "ForwardingRuleResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchGlobalForwardingRuleRequest_descriptor =
-        getDescriptor().getMessageType(1285);
+        getDescriptor().getMessageType(1288);
     internal_static_google_cloud_compute_v1_PatchGlobalForwardingRuleRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchGlobalForwardingRuleRequest_descriptor,
@@ -54116,7 +54175,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ForwardingRule", "ForwardingRuleResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchGlobalPublicDelegatedPrefixeRequest_descriptor =
-        getDescriptor().getMessageType(1286);
+        getDescriptor().getMessageType(1289);
     internal_static_google_cloud_compute_v1_PatchGlobalPublicDelegatedPrefixeRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchGlobalPublicDelegatedPrefixeRequest_descriptor,
@@ -54124,7 +54183,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Project", "PublicDelegatedPrefix", "PublicDelegatedPrefixResource", "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchHealthCheckRequest_descriptor =
-        getDescriptor().getMessageType(1287);
+        getDescriptor().getMessageType(1290);
     internal_static_google_cloud_compute_v1_PatchHealthCheckRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchHealthCheckRequest_descriptor,
@@ -54132,7 +54191,7 @@ private static void _clinit_autosplit_dinit_2() {
               "HealthCheck", "HealthCheckResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchImageRequest_descriptor =
-        getDescriptor().getMessageType(1288);
+        getDescriptor().getMessageType(1291);
     internal_static_google_cloud_compute_v1_PatchImageRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchImageRequest_descriptor,
@@ -54140,7 +54199,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Image", "ImageResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchInstanceGroupManagerRequest_descriptor =
-        getDescriptor().getMessageType(1289);
+        getDescriptor().getMessageType(1292);
     internal_static_google_cloud_compute_v1_PatchInstanceGroupManagerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchInstanceGroupManagerRequest_descriptor,
@@ -54152,7 +54211,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_PatchInstanceSettingRequest_descriptor =
-        getDescriptor().getMessageType(1290);
+        getDescriptor().getMessageType(1293);
     internal_static_google_cloud_compute_v1_PatchInstanceSettingRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchInstanceSettingRequest_descriptor,
@@ -54160,7 +54219,7 @@ private static void _clinit_autosplit_dinit_2() {
               "InstanceSettingsResource", "Project", "RequestId", "UpdateMask", "Zone",
             });
     internal_static_google_cloud_compute_v1_PatchInterconnectAttachmentGroupRequest_descriptor =
-        getDescriptor().getMessageType(1291);
+        getDescriptor().getMessageType(1294);
     internal_static_google_cloud_compute_v1_PatchInterconnectAttachmentGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchInterconnectAttachmentGroupRequest_descriptor,
@@ -54172,7 +54231,7 @@ private static void _clinit_autosplit_dinit_2() {
               "UpdateMask",
             });
     internal_static_google_cloud_compute_v1_PatchInterconnectAttachmentRequest_descriptor =
-        getDescriptor().getMessageType(1292);
+        getDescriptor().getMessageType(1295);
     internal_static_google_cloud_compute_v1_PatchInterconnectAttachmentRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchInterconnectAttachmentRequest_descriptor,
@@ -54184,7 +54243,7 @@ private static void _clinit_autosplit_dinit_2() {
               "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchInterconnectGroupRequest_descriptor =
-        getDescriptor().getMessageType(1293);
+        getDescriptor().getMessageType(1296);
     internal_static_google_cloud_compute_v1_PatchInterconnectGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchInterconnectGroupRequest_descriptor,
@@ -54196,7 +54255,7 @@ private static void _clinit_autosplit_dinit_2() {
               "UpdateMask",
             });
     internal_static_google_cloud_compute_v1_PatchInterconnectRequest_descriptor =
-        getDescriptor().getMessageType(1294);
+        getDescriptor().getMessageType(1297);
     internal_static_google_cloud_compute_v1_PatchInterconnectRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchInterconnectRequest_descriptor,
@@ -54204,7 +54263,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Interconnect", "InterconnectResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchNamedSetRouterRequest_descriptor =
-        getDescriptor().getMessageType(1295);
+        getDescriptor().getMessageType(1298);
     internal_static_google_cloud_compute_v1_PatchNamedSetRouterRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchNamedSetRouterRequest_descriptor,
@@ -54212,7 +54271,7 @@ private static void _clinit_autosplit_dinit_2() {
               "NamedSetResource", "Project", "Region", "RequestId", "Router",
             });
     internal_static_google_cloud_compute_v1_PatchNetworkAttachmentRequest_descriptor =
-        getDescriptor().getMessageType(1296);
+        getDescriptor().getMessageType(1299);
     internal_static_google_cloud_compute_v1_PatchNetworkAttachmentRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchNetworkAttachmentRequest_descriptor,
@@ -54220,7 +54279,7 @@ private static void _clinit_autosplit_dinit_2() {
               "NetworkAttachment", "NetworkAttachmentResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchNetworkEdgeSecurityServiceRequest_descriptor =
-        getDescriptor().getMessageType(1297);
+        getDescriptor().getMessageType(1300);
     internal_static_google_cloud_compute_v1_PatchNetworkEdgeSecurityServiceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchNetworkEdgeSecurityServiceRequest_descriptor,
@@ -54234,7 +54293,7 @@ private static void _clinit_autosplit_dinit_2() {
               "UpdateMask",
             });
     internal_static_google_cloud_compute_v1_PatchNetworkFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1298);
+        getDescriptor().getMessageType(1301);
     internal_static_google_cloud_compute_v1_PatchNetworkFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchNetworkFirewallPolicyRequest_descriptor,
@@ -54242,7 +54301,7 @@ private static void _clinit_autosplit_dinit_2() {
               "FirewallPolicy", "FirewallPolicyResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchNetworkRequest_descriptor =
-        getDescriptor().getMessageType(1299);
+        getDescriptor().getMessageType(1302);
     internal_static_google_cloud_compute_v1_PatchNetworkRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchNetworkRequest_descriptor,
@@ -54250,7 +54309,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Network", "NetworkResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchNodeGroupRequest_descriptor =
-        getDescriptor().getMessageType(1300);
+        getDescriptor().getMessageType(1303);
     internal_static_google_cloud_compute_v1_PatchNodeGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchNodeGroupRequest_descriptor,
@@ -54258,7 +54317,7 @@ private static void _clinit_autosplit_dinit_2() {
               "NodeGroup", "NodeGroupResource", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_PatchOrganizationSecurityPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1301);
+        getDescriptor().getMessageType(1304);
     internal_static_google_cloud_compute_v1_PatchOrganizationSecurityPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchOrganizationSecurityPolicyRequest_descriptor,
@@ -54266,7 +54325,7 @@ private static void _clinit_autosplit_dinit_2() {
               "RequestId", "SecurityPolicy", "SecurityPolicyResource",
             });
     internal_static_google_cloud_compute_v1_PatchPacketMirroringRequest_descriptor =
-        getDescriptor().getMessageType(1302);
+        getDescriptor().getMessageType(1305);
     internal_static_google_cloud_compute_v1_PatchPacketMirroringRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchPacketMirroringRequest_descriptor,
@@ -54274,7 +54333,7 @@ private static void _clinit_autosplit_dinit_2() {
               "PacketMirroring", "PacketMirroringResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchPacketMirroringRuleNetworkFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1303);
+        getDescriptor().getMessageType(1306);
     internal_static_google_cloud_compute_v1_PatchPacketMirroringRuleNetworkFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchPacketMirroringRuleNetworkFirewallPolicyRequest_descriptor,
@@ -54282,7 +54341,7 @@ private static void _clinit_autosplit_dinit_2() {
               "FirewallPolicy", "FirewallPolicyRuleResource", "Priority", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchPerInstanceConfigsInstanceGroupManagerRequest_descriptor =
-        getDescriptor().getMessageType(1304);
+        getDescriptor().getMessageType(1307);
     internal_static_google_cloud_compute_v1_PatchPerInstanceConfigsInstanceGroupManagerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchPerInstanceConfigsInstanceGroupManagerRequest_descriptor,
@@ -54294,7 +54353,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_PatchPerInstanceConfigsRegionInstanceGroupManagerRequest_descriptor =
-        getDescriptor().getMessageType(1305);
+        getDescriptor().getMessageType(1308);
     internal_static_google_cloud_compute_v1_PatchPerInstanceConfigsRegionInstanceGroupManagerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchPerInstanceConfigsRegionInstanceGroupManagerRequest_descriptor,
@@ -54306,7 +54365,7 @@ private static void _clinit_autosplit_dinit_2() {
               "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchPublicAdvertisedPrefixeRequest_descriptor =
-        getDescriptor().getMessageType(1306);
+        getDescriptor().getMessageType(1309);
     internal_static_google_cloud_compute_v1_PatchPublicAdvertisedPrefixeRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchPublicAdvertisedPrefixeRequest_descriptor,
@@ -54314,7 +54373,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Project", "PublicAdvertisedPrefix", "PublicAdvertisedPrefixResource", "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchPublicDelegatedPrefixeRequest_descriptor =
-        getDescriptor().getMessageType(1307);
+        getDescriptor().getMessageType(1310);
     internal_static_google_cloud_compute_v1_PatchPublicDelegatedPrefixeRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchPublicDelegatedPrefixeRequest_descriptor,
@@ -54326,7 +54385,7 @@ private static void _clinit_autosplit_dinit_2() {
               "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchRegionAutoscalerRequest_descriptor =
-        getDescriptor().getMessageType(1308);
+        getDescriptor().getMessageType(1311);
     internal_static_google_cloud_compute_v1_PatchRegionAutoscalerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchRegionAutoscalerRequest_descriptor,
@@ -54334,7 +54393,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Autoscaler", "AutoscalerResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchRegionBackendBucketRequest_descriptor =
-        getDescriptor().getMessageType(1309);
+        getDescriptor().getMessageType(1312);
     internal_static_google_cloud_compute_v1_PatchRegionBackendBucketRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchRegionBackendBucketRequest_descriptor,
@@ -54342,7 +54401,7 @@ private static void _clinit_autosplit_dinit_2() {
               "BackendBucket", "BackendBucketResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchRegionBackendServiceRequest_descriptor =
-        getDescriptor().getMessageType(1310);
+        getDescriptor().getMessageType(1313);
     internal_static_google_cloud_compute_v1_PatchRegionBackendServiceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchRegionBackendServiceRequest_descriptor,
@@ -54350,7 +54409,7 @@ private static void _clinit_autosplit_dinit_2() {
               "BackendService", "BackendServiceResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchRegionCompositeHealthCheckRequest_descriptor =
-        getDescriptor().getMessageType(1311);
+        getDescriptor().getMessageType(1314);
     internal_static_google_cloud_compute_v1_PatchRegionCompositeHealthCheckRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchRegionCompositeHealthCheckRequest_descriptor,
@@ -54362,7 +54421,7 @@ private static void _clinit_autosplit_dinit_2() {
               "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchRegionHealthAggregationPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1312);
+        getDescriptor().getMessageType(1315);
     internal_static_google_cloud_compute_v1_PatchRegionHealthAggregationPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchRegionHealthAggregationPolicyRequest_descriptor,
@@ -54374,7 +54433,7 @@ private static void _clinit_autosplit_dinit_2() {
               "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchRegionHealthCheckRequest_descriptor =
-        getDescriptor().getMessageType(1313);
+        getDescriptor().getMessageType(1316);
     internal_static_google_cloud_compute_v1_PatchRegionHealthCheckRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchRegionHealthCheckRequest_descriptor,
@@ -54382,7 +54441,7 @@ private static void _clinit_autosplit_dinit_2() {
               "HealthCheck", "HealthCheckResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchRegionHealthCheckServiceRequest_descriptor =
-        getDescriptor().getMessageType(1314);
+        getDescriptor().getMessageType(1317);
     internal_static_google_cloud_compute_v1_PatchRegionHealthCheckServiceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchRegionHealthCheckServiceRequest_descriptor,
@@ -54390,7 +54449,7 @@ private static void _clinit_autosplit_dinit_2() {
               "HealthCheckService", "HealthCheckServiceResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchRegionHealthSourceRequest_descriptor =
-        getDescriptor().getMessageType(1315);
+        getDescriptor().getMessageType(1318);
     internal_static_google_cloud_compute_v1_PatchRegionHealthSourceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchRegionHealthSourceRequest_descriptor,
@@ -54398,7 +54457,7 @@ private static void _clinit_autosplit_dinit_2() {
               "HealthSource", "HealthSourceResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchRegionInstanceGroupManagerRequest_descriptor =
-        getDescriptor().getMessageType(1316);
+        getDescriptor().getMessageType(1319);
     internal_static_google_cloud_compute_v1_PatchRegionInstanceGroupManagerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchRegionInstanceGroupManagerRequest_descriptor,
@@ -54410,7 +54469,7 @@ private static void _clinit_autosplit_dinit_2() {
               "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchRegionNetworkFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1317);
+        getDescriptor().getMessageType(1320);
     internal_static_google_cloud_compute_v1_PatchRegionNetworkFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchRegionNetworkFirewallPolicyRequest_descriptor,
@@ -54418,7 +54477,7 @@ private static void _clinit_autosplit_dinit_2() {
               "FirewallPolicy", "FirewallPolicyResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchRegionSecurityPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1318);
+        getDescriptor().getMessageType(1321);
     internal_static_google_cloud_compute_v1_PatchRegionSecurityPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchRegionSecurityPolicyRequest_descriptor,
@@ -54431,7 +54490,7 @@ private static void _clinit_autosplit_dinit_2() {
               "UpdateMask",
             });
     internal_static_google_cloud_compute_v1_PatchRegionSnapshotSettingRequest_descriptor =
-        getDescriptor().getMessageType(1319);
+        getDescriptor().getMessageType(1322);
     internal_static_google_cloud_compute_v1_PatchRegionSnapshotSettingRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchRegionSnapshotSettingRequest_descriptor,
@@ -54439,7 +54498,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Project", "Region", "RequestId", "SnapshotSettingsResource", "UpdateMask",
             });
     internal_static_google_cloud_compute_v1_PatchRegionSslPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1320);
+        getDescriptor().getMessageType(1323);
     internal_static_google_cloud_compute_v1_PatchRegionSslPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchRegionSslPolicyRequest_descriptor,
@@ -54447,7 +54506,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Project", "Region", "RequestId", "SslPolicy", "SslPolicyResource",
             });
     internal_static_google_cloud_compute_v1_PatchRegionTargetHttpsProxyRequest_descriptor =
-        getDescriptor().getMessageType(1321);
+        getDescriptor().getMessageType(1324);
     internal_static_google_cloud_compute_v1_PatchRegionTargetHttpsProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchRegionTargetHttpsProxyRequest_descriptor,
@@ -54455,7 +54514,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Project", "Region", "RequestId", "TargetHttpsProxy", "TargetHttpsProxyResource",
             });
     internal_static_google_cloud_compute_v1_PatchRegionUrlMapRequest_descriptor =
-        getDescriptor().getMessageType(1322);
+        getDescriptor().getMessageType(1325);
     internal_static_google_cloud_compute_v1_PatchRegionUrlMapRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchRegionUrlMapRequest_descriptor,
@@ -54463,7 +54522,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Project", "Region", "RequestId", "UrlMap", "UrlMapResource",
             });
     internal_static_google_cloud_compute_v1_PatchResourcePolicyRequest_descriptor =
-        getDescriptor().getMessageType(1323);
+        getDescriptor().getMessageType(1326);
     internal_static_google_cloud_compute_v1_PatchResourcePolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchResourcePolicyRequest_descriptor,
@@ -54476,7 +54535,7 @@ private static void _clinit_autosplit_dinit_2() {
               "UpdateMask",
             });
     internal_static_google_cloud_compute_v1_PatchRoutePolicyRouterRequest_descriptor =
-        getDescriptor().getMessageType(1324);
+        getDescriptor().getMessageType(1327);
     internal_static_google_cloud_compute_v1_PatchRoutePolicyRouterRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchRoutePolicyRouterRequest_descriptor,
@@ -54484,7 +54543,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Project", "Region", "RequestId", "RoutePolicyResource", "Router",
             });
     internal_static_google_cloud_compute_v1_PatchRouterRequest_descriptor =
-        getDescriptor().getMessageType(1325);
+        getDescriptor().getMessageType(1328);
     internal_static_google_cloud_compute_v1_PatchRouterRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchRouterRequest_descriptor,
@@ -54492,7 +54551,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Project", "Region", "RequestId", "Router", "RouterResource",
             });
     internal_static_google_cloud_compute_v1_PatchRuleFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1326);
+        getDescriptor().getMessageType(1329);
     internal_static_google_cloud_compute_v1_PatchRuleFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchRuleFirewallPolicyRequest_descriptor,
@@ -54500,7 +54559,7 @@ private static void _clinit_autosplit_dinit_2() {
               "FirewallPolicy", "FirewallPolicyRuleResource", "Priority", "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchRuleNetworkFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1327);
+        getDescriptor().getMessageType(1330);
     internal_static_google_cloud_compute_v1_PatchRuleNetworkFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchRuleNetworkFirewallPolicyRequest_descriptor,
@@ -54508,7 +54567,7 @@ private static void _clinit_autosplit_dinit_2() {
               "FirewallPolicy", "FirewallPolicyRuleResource", "Priority", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchRuleOrganizationSecurityPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1328);
+        getDescriptor().getMessageType(1331);
     internal_static_google_cloud_compute_v1_PatchRuleOrganizationSecurityPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchRuleOrganizationSecurityPolicyRequest_descriptor,
@@ -54516,7 +54575,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Priority", "RequestId", "SecurityPolicy", "SecurityPolicyRuleResource",
             });
     internal_static_google_cloud_compute_v1_PatchRuleRegionNetworkFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1329);
+        getDescriptor().getMessageType(1332);
     internal_static_google_cloud_compute_v1_PatchRuleRegionNetworkFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchRuleRegionNetworkFirewallPolicyRequest_descriptor,
@@ -54529,7 +54588,7 @@ private static void _clinit_autosplit_dinit_2() {
               "RequestId",
             });
     internal_static_google_cloud_compute_v1_PatchRuleRegionSecurityPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1330);
+        getDescriptor().getMessageType(1333);
     internal_static_google_cloud_compute_v1_PatchRuleRegionSecurityPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchRuleRegionSecurityPolicyRequest_descriptor,
@@ -54543,7 +54602,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ValidateOnly",
             });
     internal_static_google_cloud_compute_v1_PatchRuleSecurityPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1331);
+        getDescriptor().getMessageType(1334);
     internal_static_google_cloud_compute_v1_PatchRuleSecurityPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchRuleSecurityPolicyRequest_descriptor,
@@ -54556,7 +54615,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ValidateOnly",
             });
     internal_static_google_cloud_compute_v1_PatchSecurityPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1332);
+        getDescriptor().getMessageType(1335);
     internal_static_google_cloud_compute_v1_PatchSecurityPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchSecurityPolicyRequest_descriptor,
@@ -54564,7 +54623,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Project", "RequestId", "SecurityPolicy", "SecurityPolicyResource", "UpdateMask",
             });
     internal_static_google_cloud_compute_v1_PatchServiceAttachmentRequest_descriptor =
-        getDescriptor().getMessageType(1333);
+        getDescriptor().getMessageType(1336);
     internal_static_google_cloud_compute_v1_PatchServiceAttachmentRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchServiceAttachmentRequest_descriptor,
@@ -54572,7 +54631,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Project", "Region", "RequestId", "ServiceAttachment", "ServiceAttachmentResource",
             });
     internal_static_google_cloud_compute_v1_PatchSnapshotSettingRequest_descriptor =
-        getDescriptor().getMessageType(1334);
+        getDescriptor().getMessageType(1337);
     internal_static_google_cloud_compute_v1_PatchSnapshotSettingRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchSnapshotSettingRequest_descriptor,
@@ -54580,7 +54639,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Project", "RequestId", "SnapshotSettingsResource", "UpdateMask",
             });
     internal_static_google_cloud_compute_v1_PatchSslPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1335);
+        getDescriptor().getMessageType(1338);
     internal_static_google_cloud_compute_v1_PatchSslPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchSslPolicyRequest_descriptor,
@@ -54588,7 +54647,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Project", "RequestId", "SslPolicy", "SslPolicyResource",
             });
     internal_static_google_cloud_compute_v1_PatchSubnetworkRequest_descriptor =
-        getDescriptor().getMessageType(1336);
+        getDescriptor().getMessageType(1339);
     internal_static_google_cloud_compute_v1_PatchSubnetworkRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchSubnetworkRequest_descriptor,
@@ -54601,7 +54660,7 @@ private static void _clinit_autosplit_dinit_2() {
               "SubnetworkResource",
             });
     internal_static_google_cloud_compute_v1_PatchTargetGrpcProxyRequest_descriptor =
-        getDescriptor().getMessageType(1337);
+        getDescriptor().getMessageType(1340);
     internal_static_google_cloud_compute_v1_PatchTargetGrpcProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchTargetGrpcProxyRequest_descriptor,
@@ -54609,7 +54668,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Project", "RequestId", "TargetGrpcProxy", "TargetGrpcProxyResource",
             });
     internal_static_google_cloud_compute_v1_PatchTargetHttpProxyRequest_descriptor =
-        getDescriptor().getMessageType(1338);
+        getDescriptor().getMessageType(1341);
     internal_static_google_cloud_compute_v1_PatchTargetHttpProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchTargetHttpProxyRequest_descriptor,
@@ -54617,7 +54676,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Project", "RequestId", "TargetHttpProxy", "TargetHttpProxyResource",
             });
     internal_static_google_cloud_compute_v1_PatchTargetHttpsProxyRequest_descriptor =
-        getDescriptor().getMessageType(1339);
+        getDescriptor().getMessageType(1342);
     internal_static_google_cloud_compute_v1_PatchTargetHttpsProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchTargetHttpsProxyRequest_descriptor,
@@ -54625,7 +54684,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Project", "RequestId", "TargetHttpsProxy", "TargetHttpsProxyResource",
             });
     internal_static_google_cloud_compute_v1_PatchUrlMapRequest_descriptor =
-        getDescriptor().getMessageType(1340);
+        getDescriptor().getMessageType(1343);
     internal_static_google_cloud_compute_v1_PatchUrlMapRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchUrlMapRequest_descriptor,
@@ -54633,7 +54692,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Project", "RequestId", "UrlMap", "UrlMapResource",
             });
     internal_static_google_cloud_compute_v1_PatchWireGroupRequest_descriptor =
-        getDescriptor().getMessageType(1341);
+        getDescriptor().getMessageType(1344);
     internal_static_google_cloud_compute_v1_PatchWireGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PatchWireGroupRequest_descriptor,
@@ -54647,7 +54706,7 @@ private static void _clinit_autosplit_dinit_2() {
               "WireGroupResource",
             });
     internal_static_google_cloud_compute_v1_PathMatcher_descriptor =
-        getDescriptor().getMessageType(1342);
+        getDescriptor().getMessageType(1345);
     internal_static_google_cloud_compute_v1_PathMatcher_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PathMatcher_descriptor,
@@ -54663,7 +54722,7 @@ private static void _clinit_autosplit_dinit_2() {
               "RouteRules",
             });
     internal_static_google_cloud_compute_v1_PathRule_descriptor =
-        getDescriptor().getMessageType(1343);
+        getDescriptor().getMessageType(1346);
     internal_static_google_cloud_compute_v1_PathRule_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PathRule_descriptor,
@@ -54671,7 +54730,7 @@ private static void _clinit_autosplit_dinit_2() {
               "CustomErrorResponsePolicy", "Paths", "RouteAction", "Service", "UrlRedirect",
             });
     internal_static_google_cloud_compute_v1_PauseRolloutRequest_descriptor =
-        getDescriptor().getMessageType(1344);
+        getDescriptor().getMessageType(1347);
     internal_static_google_cloud_compute_v1_PauseRolloutRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PauseRolloutRequest_descriptor,
@@ -54679,7 +54738,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Etag", "Project", "RequestId", "Rollout",
             });
     internal_static_google_cloud_compute_v1_PerInstanceConfig_descriptor =
-        getDescriptor().getMessageType(1345);
+        getDescriptor().getMessageType(1348);
     internal_static_google_cloud_compute_v1_PerInstanceConfig_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PerInstanceConfig_descriptor,
@@ -54687,7 +54746,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Fingerprint", "Name", "PreservedState", "Status",
             });
     internal_static_google_cloud_compute_v1_PerformMaintenanceInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1346);
+        getDescriptor().getMessageType(1349);
     internal_static_google_cloud_compute_v1_PerformMaintenanceInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PerformMaintenanceInstanceRequest_descriptor,
@@ -54695,7 +54754,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Instance", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_PerformMaintenanceNodeGroupRequest_descriptor =
-        getDescriptor().getMessageType(1347);
+        getDescriptor().getMessageType(1350);
     internal_static_google_cloud_compute_v1_PerformMaintenanceNodeGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PerformMaintenanceNodeGroupRequest_descriptor,
@@ -54707,7 +54766,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_PerformMaintenanceReservationBlockRequest_descriptor =
-        getDescriptor().getMessageType(1348);
+        getDescriptor().getMessageType(1351);
     internal_static_google_cloud_compute_v1_PerformMaintenanceReservationBlockRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PerformMaintenanceReservationBlockRequest_descriptor,
@@ -54720,7 +54779,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_PerformMaintenanceReservationRequest_descriptor =
-        getDescriptor().getMessageType(1349);
+        getDescriptor().getMessageType(1352);
     internal_static_google_cloud_compute_v1_PerformMaintenanceReservationRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PerformMaintenanceReservationRequest_descriptor,
@@ -54732,7 +54791,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_PerformMaintenanceReservationSubBlockRequest_descriptor =
-        getDescriptor().getMessageType(1350);
+        getDescriptor().getMessageType(1353);
     internal_static_google_cloud_compute_v1_PerformMaintenanceReservationSubBlockRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PerformMaintenanceReservationSubBlockRequest_descriptor,
@@ -54740,7 +54799,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ParentName", "Project", "RequestId", "ReservationSubBlock", "Zone",
             });
     internal_static_google_cloud_compute_v1_PeriodicPartialMaintenanceSchedule_descriptor =
-        getDescriptor().getMessageType(1351);
+        getDescriptor().getMessageType(1354);
     internal_static_google_cloud_compute_v1_PeriodicPartialMaintenanceSchedule_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PeriodicPartialMaintenanceSchedule_descriptor,
@@ -54748,7 +54807,7 @@ private static void _clinit_autosplit_dinit_2() {
               "SubType", "TargetResource", "Type", "WindowEndTime", "WindowStartTime",
             });
     internal_static_google_cloud_compute_v1_Policy_descriptor =
-        getDescriptor().getMessageType(1352);
+        getDescriptor().getMessageType(1355);
     internal_static_google_cloud_compute_v1_Policy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Policy_descriptor,
@@ -54756,7 +54815,7 @@ private static void _clinit_autosplit_dinit_2() {
               "AuditConfigs", "Bindings", "Etag", "IamOwned", "Version",
             });
     internal_static_google_cloud_compute_v1_PreconfiguredWafSet_descriptor =
-        getDescriptor().getMessageType(1353);
+        getDescriptor().getMessageType(1356);
     internal_static_google_cloud_compute_v1_PreconfiguredWafSet_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PreconfiguredWafSet_descriptor,
@@ -54764,7 +54823,7 @@ private static void _clinit_autosplit_dinit_2() {
               "ExpressionSets",
             });
     internal_static_google_cloud_compute_v1_PreservedState_descriptor =
-        getDescriptor().getMessageType(1354);
+        getDescriptor().getMessageType(1357);
     internal_static_google_cloud_compute_v1_PreservedState_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PreservedState_descriptor,
@@ -54803,8 +54862,12 @@ private static void _clinit_autosplit_dinit_2() {
             new java.lang.String[] {
               "Key", "Value",
             });
+    _clinit_autosplit_dinit_3();
+  }
+
+  private static void _clinit_autosplit_dinit_3() {
     internal_static_google_cloud_compute_v1_PreservedStatePreservedDisk_descriptor =
-        getDescriptor().getMessageType(1355);
+        getDescriptor().getMessageType(1358);
     internal_static_google_cloud_compute_v1_PreservedStatePreservedDisk_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PreservedStatePreservedDisk_descriptor,
@@ -54812,7 +54875,7 @@ private static void _clinit_autosplit_dinit_2() {
               "AutoDelete", "Mode", "Source",
             });
     internal_static_google_cloud_compute_v1_PreservedStatePreservedNetworkIp_descriptor =
-        getDescriptor().getMessageType(1356);
+        getDescriptor().getMessageType(1359);
     internal_static_google_cloud_compute_v1_PreservedStatePreservedNetworkIp_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PreservedStatePreservedNetworkIp_descriptor,
@@ -54820,7 +54883,7 @@ private static void _clinit_autosplit_dinit_2() {
               "AutoDelete", "IpAddress",
             });
     internal_static_google_cloud_compute_v1_PreservedStatePreservedNetworkIpIpAddress_descriptor =
-        getDescriptor().getMessageType(1357);
+        getDescriptor().getMessageType(1360);
     internal_static_google_cloud_compute_v1_PreservedStatePreservedNetworkIpIpAddress_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PreservedStatePreservedNetworkIpIpAddress_descriptor,
@@ -54828,7 +54891,7 @@ private static void _clinit_autosplit_dinit_2() {
               "Address", "Literal",
             });
     internal_static_google_cloud_compute_v1_PreviewFeature_descriptor =
-        getDescriptor().getMessageType(1358);
+        getDescriptor().getMessageType(1361);
     internal_static_google_cloud_compute_v1_PreviewFeature_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PreviewFeature_descriptor,
@@ -54844,19 +54907,15 @@ private static void _clinit_autosplit_dinit_2() {
               "Status",
             });
     internal_static_google_cloud_compute_v1_PreviewFeatureList_descriptor =
-        getDescriptor().getMessageType(1359);
+        getDescriptor().getMessageType(1362);
     internal_static_google_cloud_compute_v1_PreviewFeatureList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PreviewFeatureList_descriptor,
             new java.lang.String[] {
               "Etag", "Id", "Items", "NextPageToken", "SelfLink", "Unreachables", "Warning",
             });
-    _clinit_autosplit_dinit_3();
-  }
-
-  private static void _clinit_autosplit_dinit_3() {
     internal_static_google_cloud_compute_v1_PreviewFeatureRolloutOperation_descriptor =
-        getDescriptor().getMessageType(1360);
+        getDescriptor().getMessageType(1363);
     internal_static_google_cloud_compute_v1_PreviewFeatureRolloutOperation_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PreviewFeatureRolloutOperation_descriptor,
@@ -54864,7 +54923,7 @@ private static void _clinit_autosplit_dinit_3() {
               "RolloutInput",
             });
     internal_static_google_cloud_compute_v1_PreviewFeatureRolloutOperationRolloutInput_descriptor =
-        getDescriptor().getMessageType(1361);
+        getDescriptor().getMessageType(1364);
     internal_static_google_cloud_compute_v1_PreviewFeatureRolloutOperationRolloutInput_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PreviewFeatureRolloutOperationRolloutInput_descriptor,
@@ -54872,7 +54931,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Name", "PredefinedRolloutPlan",
             });
     internal_static_google_cloud_compute_v1_PreviewFeatureStatus_descriptor =
-        getDescriptor().getMessageType(1362);
+        getDescriptor().getMessageType(1365);
     internal_static_google_cloud_compute_v1_PreviewFeatureStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PreviewFeatureStatus_descriptor,
@@ -54880,7 +54939,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Description", "HelpLink", "ReleaseStatus",
             });
     internal_static_google_cloud_compute_v1_PreviewFeatureStatusReleaseStatus_descriptor =
-        getDescriptor().getMessageType(1363);
+        getDescriptor().getMessageType(1366);
     internal_static_google_cloud_compute_v1_PreviewFeatureStatusReleaseStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PreviewFeatureStatusReleaseStatus_descriptor,
@@ -54888,7 +54947,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Stage", "UpdateDate",
             });
     internal_static_google_cloud_compute_v1_PreviewRouterRequest_descriptor =
-        getDescriptor().getMessageType(1364);
+        getDescriptor().getMessageType(1367);
     internal_static_google_cloud_compute_v1_PreviewRouterRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PreviewRouterRequest_descriptor,
@@ -54896,7 +54955,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Region", "Router", "RouterResource",
             });
     internal_static_google_cloud_compute_v1_Project_descriptor =
-        getDescriptor().getMessageType(1365);
+        getDescriptor().getMessageType(1368);
     internal_static_google_cloud_compute_v1_Project_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Project_descriptor,
@@ -54918,7 +54977,7 @@ private static void _clinit_autosplit_dinit_3() {
               "XpnProjectStatus",
             });
     internal_static_google_cloud_compute_v1_ProjectsDisableXpnResourceRequest_descriptor =
-        getDescriptor().getMessageType(1366);
+        getDescriptor().getMessageType(1369);
     internal_static_google_cloud_compute_v1_ProjectsDisableXpnResourceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ProjectsDisableXpnResourceRequest_descriptor,
@@ -54926,7 +54985,7 @@ private static void _clinit_autosplit_dinit_3() {
               "XpnResource",
             });
     internal_static_google_cloud_compute_v1_ProjectsEnableXpnResourceRequest_descriptor =
-        getDescriptor().getMessageType(1367);
+        getDescriptor().getMessageType(1370);
     internal_static_google_cloud_compute_v1_ProjectsEnableXpnResourceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ProjectsEnableXpnResourceRequest_descriptor,
@@ -54934,7 +54993,7 @@ private static void _clinit_autosplit_dinit_3() {
               "XpnResource",
             });
     internal_static_google_cloud_compute_v1_ProjectsGetXpnResources_descriptor =
-        getDescriptor().getMessageType(1368);
+        getDescriptor().getMessageType(1371);
     internal_static_google_cloud_compute_v1_ProjectsGetXpnResources_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ProjectsGetXpnResources_descriptor,
@@ -54942,7 +55001,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Kind", "NextPageToken", "Resources",
             });
     internal_static_google_cloud_compute_v1_ProjectsListXpnHostsRequest_descriptor =
-        getDescriptor().getMessageType(1369);
+        getDescriptor().getMessageType(1372);
     internal_static_google_cloud_compute_v1_ProjectsListXpnHostsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ProjectsListXpnHostsRequest_descriptor,
@@ -54950,7 +55009,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Organization",
             });
     internal_static_google_cloud_compute_v1_ProjectsSetCloudArmorTierRequest_descriptor =
-        getDescriptor().getMessageType(1370);
+        getDescriptor().getMessageType(1373);
     internal_static_google_cloud_compute_v1_ProjectsSetCloudArmorTierRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ProjectsSetCloudArmorTierRequest_descriptor,
@@ -54958,7 +55017,7 @@ private static void _clinit_autosplit_dinit_3() {
               "CloudArmorTier",
             });
     internal_static_google_cloud_compute_v1_ProjectsSetDefaultNetworkTierRequest_descriptor =
-        getDescriptor().getMessageType(1371);
+        getDescriptor().getMessageType(1374);
     internal_static_google_cloud_compute_v1_ProjectsSetDefaultNetworkTierRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ProjectsSetDefaultNetworkTierRequest_descriptor,
@@ -54966,7 +55025,7 @@ private static void _clinit_autosplit_dinit_3() {
               "NetworkTier",
             });
     internal_static_google_cloud_compute_v1_PublicAdvertisedPrefix_descriptor =
-        getDescriptor().getMessageType(1372);
+        getDescriptor().getMessageType(1375);
     internal_static_google_cloud_compute_v1_PublicAdvertisedPrefix_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PublicAdvertisedPrefix_descriptor,
@@ -54988,7 +55047,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Status",
             });
     internal_static_google_cloud_compute_v1_PublicAdvertisedPrefixList_descriptor =
-        getDescriptor().getMessageType(1373);
+        getDescriptor().getMessageType(1376);
     internal_static_google_cloud_compute_v1_PublicAdvertisedPrefixList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PublicAdvertisedPrefixList_descriptor,
@@ -54996,7 +55055,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_PublicAdvertisedPrefixPublicDelegatedPrefix_descriptor =
-        getDescriptor().getMessageType(1374);
+        getDescriptor().getMessageType(1377);
     internal_static_google_cloud_compute_v1_PublicAdvertisedPrefixPublicDelegatedPrefix_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PublicAdvertisedPrefixPublicDelegatedPrefix_descriptor,
@@ -55004,7 +55063,7 @@ private static void _clinit_autosplit_dinit_3() {
               "IpRange", "Name", "Project", "Region", "Status",
             });
     internal_static_google_cloud_compute_v1_PublicDelegatedPrefix_descriptor =
-        getDescriptor().getMessageType(1375);
+        getDescriptor().getMessageType(1378);
     internal_static_google_cloud_compute_v1_PublicDelegatedPrefix_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PublicDelegatedPrefix_descriptor,
@@ -55029,7 +55088,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Status",
             });
     internal_static_google_cloud_compute_v1_PublicDelegatedPrefixAggregatedList_descriptor =
-        getDescriptor().getMessageType(1376);
+        getDescriptor().getMessageType(1379);
     internal_static_google_cloud_compute_v1_PublicDelegatedPrefixAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PublicDelegatedPrefixAggregatedList_descriptor,
@@ -55046,7 +55105,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_PublicDelegatedPrefixList_descriptor =
-        getDescriptor().getMessageType(1377);
+        getDescriptor().getMessageType(1380);
     internal_static_google_cloud_compute_v1_PublicDelegatedPrefixList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PublicDelegatedPrefixList_descriptor,
@@ -55054,7 +55113,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_PublicDelegatedPrefixPublicDelegatedSubPrefix_descriptor =
-        getDescriptor().getMessageType(1378);
+        getDescriptor().getMessageType(1381);
     internal_static_google_cloud_compute_v1_PublicDelegatedPrefixPublicDelegatedSubPrefix_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PublicDelegatedPrefixPublicDelegatedSubPrefix_descriptor,
@@ -55072,14 +55131,14 @@ private static void _clinit_autosplit_dinit_3() {
               "Status",
             });
     internal_static_google_cloud_compute_v1_PublicDelegatedPrefixesScopedList_descriptor =
-        getDescriptor().getMessageType(1379);
+        getDescriptor().getMessageType(1382);
     internal_static_google_cloud_compute_v1_PublicDelegatedPrefixesScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_PublicDelegatedPrefixesScopedList_descriptor,
             new java.lang.String[] {
               "PublicDelegatedPrefixes", "Warning",
             });
-    internal_static_google_cloud_compute_v1_Quota_descriptor = getDescriptor().getMessageType(1380);
+    internal_static_google_cloud_compute_v1_Quota_descriptor = getDescriptor().getMessageType(1383);
     internal_static_google_cloud_compute_v1_Quota_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Quota_descriptor,
@@ -55087,7 +55146,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Limit", "Metric", "Owner", "Usage",
             });
     internal_static_google_cloud_compute_v1_QuotaExceededInfo_descriptor =
-        getDescriptor().getMessageType(1381);
+        getDescriptor().getMessageType(1384);
     internal_static_google_cloud_compute_v1_QuotaExceededInfo_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_QuotaExceededInfo_descriptor,
@@ -55103,7 +55162,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_QuotaStatusWarning_descriptor =
-        getDescriptor().getMessageType(1382);
+        getDescriptor().getMessageType(1385);
     internal_static_google_cloud_compute_v1_QuotaStatusWarning_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_QuotaStatusWarning_descriptor,
@@ -55111,7 +55170,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Code", "Data", "Message",
             });
     internal_static_google_cloud_compute_v1_RawDisk_descriptor =
-        getDescriptor().getMessageType(1383);
+        getDescriptor().getMessageType(1386);
     internal_static_google_cloud_compute_v1_RawDisk_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RawDisk_descriptor,
@@ -55119,7 +55178,7 @@ private static void _clinit_autosplit_dinit_3() {
               "ContainerType", "Sha1Checksum", "Source",
             });
     internal_static_google_cloud_compute_v1_RecreateInstancesInstanceGroupManagerRequest_descriptor =
-        getDescriptor().getMessageType(1384);
+        getDescriptor().getMessageType(1387);
     internal_static_google_cloud_compute_v1_RecreateInstancesInstanceGroupManagerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RecreateInstancesInstanceGroupManagerRequest_descriptor,
@@ -55132,7 +55191,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_RecreateInstancesRegionInstanceGroupManagerRequest_descriptor =
-        getDescriptor().getMessageType(1385);
+        getDescriptor().getMessageType(1388);
     internal_static_google_cloud_compute_v1_RecreateInstancesRegionInstanceGroupManagerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RecreateInstancesRegionInstanceGroupManagerRequest_descriptor,
@@ -55145,7 +55204,7 @@ private static void _clinit_autosplit_dinit_3() {
               "RequestId",
             });
     internal_static_google_cloud_compute_v1_Reference_descriptor =
-        getDescriptor().getMessageType(1386);
+        getDescriptor().getMessageType(1389);
     internal_static_google_cloud_compute_v1_Reference_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Reference_descriptor,
@@ -55153,7 +55212,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Kind", "ReferenceType", "Referrer", "Target",
             });
     internal_static_google_cloud_compute_v1_RegexRewrite_descriptor =
-        getDescriptor().getMessageType(1387);
+        getDescriptor().getMessageType(1390);
     internal_static_google_cloud_compute_v1_RegexRewrite_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegexRewrite_descriptor,
@@ -55161,7 +55220,7 @@ private static void _clinit_autosplit_dinit_3() {
               "PathPattern", "PathSubstitution",
             });
     internal_static_google_cloud_compute_v1_Region_descriptor =
-        getDescriptor().getMessageType(1388);
+        getDescriptor().getMessageType(1391);
     internal_static_google_cloud_compute_v1_Region_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Region_descriptor,
@@ -55180,7 +55239,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Zones",
             });
     internal_static_google_cloud_compute_v1_RegionAddressesMoveRequest_descriptor =
-        getDescriptor().getMessageType(1389);
+        getDescriptor().getMessageType(1392);
     internal_static_google_cloud_compute_v1_RegionAddressesMoveRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionAddressesMoveRequest_descriptor,
@@ -55188,7 +55247,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Description", "DestinationAddress",
             });
     internal_static_google_cloud_compute_v1_RegionAutoscalerList_descriptor =
-        getDescriptor().getMessageType(1390);
+        getDescriptor().getMessageType(1393);
     internal_static_google_cloud_compute_v1_RegionAutoscalerList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionAutoscalerList_descriptor,
@@ -55196,7 +55255,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_RegionDiskTypeList_descriptor =
-        getDescriptor().getMessageType(1391);
+        getDescriptor().getMessageType(1394);
     internal_static_google_cloud_compute_v1_RegionDiskTypeList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionDiskTypeList_descriptor,
@@ -55204,7 +55263,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_RegionDiskUpdateKmsKeyRequest_descriptor =
-        getDescriptor().getMessageType(1392);
+        getDescriptor().getMessageType(1395);
     internal_static_google_cloud_compute_v1_RegionDiskUpdateKmsKeyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionDiskUpdateKmsKeyRequest_descriptor,
@@ -55212,7 +55271,7 @@ private static void _clinit_autosplit_dinit_3() {
               "KmsKeyName",
             });
     internal_static_google_cloud_compute_v1_RegionDisksAddResourcePoliciesRequest_descriptor =
-        getDescriptor().getMessageType(1393);
+        getDescriptor().getMessageType(1396);
     internal_static_google_cloud_compute_v1_RegionDisksAddResourcePoliciesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionDisksAddResourcePoliciesRequest_descriptor,
@@ -55220,7 +55279,7 @@ private static void _clinit_autosplit_dinit_3() {
               "ResourcePolicies",
             });
     internal_static_google_cloud_compute_v1_RegionDisksRemoveResourcePoliciesRequest_descriptor =
-        getDescriptor().getMessageType(1394);
+        getDescriptor().getMessageType(1397);
     internal_static_google_cloud_compute_v1_RegionDisksRemoveResourcePoliciesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionDisksRemoveResourcePoliciesRequest_descriptor,
@@ -55228,7 +55287,7 @@ private static void _clinit_autosplit_dinit_3() {
               "ResourcePolicies",
             });
     internal_static_google_cloud_compute_v1_RegionDisksResizeRequest_descriptor =
-        getDescriptor().getMessageType(1395);
+        getDescriptor().getMessageType(1398);
     internal_static_google_cloud_compute_v1_RegionDisksResizeRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionDisksResizeRequest_descriptor,
@@ -55236,7 +55295,7 @@ private static void _clinit_autosplit_dinit_3() {
               "SizeGb",
             });
     internal_static_google_cloud_compute_v1_RegionDisksStartAsyncReplicationRequest_descriptor =
-        getDescriptor().getMessageType(1396);
+        getDescriptor().getMessageType(1399);
     internal_static_google_cloud_compute_v1_RegionDisksStartAsyncReplicationRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionDisksStartAsyncReplicationRequest_descriptor,
@@ -55244,7 +55303,7 @@ private static void _clinit_autosplit_dinit_3() {
               "AsyncSecondaryDisk",
             });
     internal_static_google_cloud_compute_v1_RegionInstanceGroupList_descriptor =
-        getDescriptor().getMessageType(1397);
+        getDescriptor().getMessageType(1400);
     internal_static_google_cloud_compute_v1_RegionInstanceGroupList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionInstanceGroupList_descriptor,
@@ -55252,7 +55311,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerDeleteInstanceConfigReq_descriptor =
-        getDescriptor().getMessageType(1398);
+        getDescriptor().getMessageType(1401);
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerDeleteInstanceConfigReq_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerDeleteInstanceConfigReq_descriptor,
@@ -55260,7 +55319,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Names",
             });
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerList_descriptor =
-        getDescriptor().getMessageType(1399);
+        getDescriptor().getMessageType(1402);
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerList_descriptor,
@@ -55268,7 +55327,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerPatchInstanceConfigReq_descriptor =
-        getDescriptor().getMessageType(1400);
+        getDescriptor().getMessageType(1403);
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerPatchInstanceConfigReq_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerPatchInstanceConfigReq_descriptor,
@@ -55276,7 +55335,7 @@ private static void _clinit_autosplit_dinit_3() {
               "PerInstanceConfigs",
             });
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerResizeRequestsListResponse_descriptor =
-        getDescriptor().getMessageType(1401);
+        getDescriptor().getMessageType(1404);
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerResizeRequestsListResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerResizeRequestsListResponse_descriptor,
@@ -55284,7 +55343,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Etag", "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Unreachables", "Warning",
             });
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerUpdateInstanceConfigReq_descriptor =
-        getDescriptor().getMessageType(1402);
+        getDescriptor().getMessageType(1405);
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerUpdateInstanceConfigReq_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerUpdateInstanceConfigReq_descriptor,
@@ -55292,7 +55351,7 @@ private static void _clinit_autosplit_dinit_3() {
               "PerInstanceConfigs",
             });
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersAbandonInstancesRequest_descriptor =
-        getDescriptor().getMessageType(1403);
+        getDescriptor().getMessageType(1406);
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersAbandonInstancesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersAbandonInstancesRequest_descriptor,
@@ -55300,7 +55359,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Instances",
             });
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersApplyUpdatesRequest_descriptor =
-        getDescriptor().getMessageType(1404);
+        getDescriptor().getMessageType(1407);
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersApplyUpdatesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersApplyUpdatesRequest_descriptor,
@@ -55308,7 +55367,7 @@ private static void _clinit_autosplit_dinit_3() {
               "AllInstances", "Instances", "MinimalAction", "MostDisruptiveAllowedAction",
             });
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersCreateInstancesRequest_descriptor =
-        getDescriptor().getMessageType(1405);
+        getDescriptor().getMessageType(1408);
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersCreateInstancesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersCreateInstancesRequest_descriptor,
@@ -55316,7 +55375,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Instances",
             });
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersDeleteInstancesRequest_descriptor =
-        getDescriptor().getMessageType(1406);
+        getDescriptor().getMessageType(1409);
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersDeleteInstancesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersDeleteInstancesRequest_descriptor,
@@ -55324,7 +55383,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Instances", "SkipInstancesOnValidationError",
             });
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersListErrorsResponse_descriptor =
-        getDescriptor().getMessageType(1407);
+        getDescriptor().getMessageType(1410);
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersListErrorsResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersListErrorsResponse_descriptor,
@@ -55332,7 +55391,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Items", "NextPageToken",
             });
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersListInstanceConfigsResp_descriptor =
-        getDescriptor().getMessageType(1408);
+        getDescriptor().getMessageType(1411);
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersListInstanceConfigsResp_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersListInstanceConfigsResp_descriptor,
@@ -55340,7 +55399,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Items", "NextPageToken", "Warning",
             });
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersListInstancesResponse_descriptor =
-        getDescriptor().getMessageType(1409);
+        getDescriptor().getMessageType(1412);
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersListInstancesResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersListInstancesResponse_descriptor,
@@ -55348,7 +55407,7 @@ private static void _clinit_autosplit_dinit_3() {
               "ManagedInstances", "NextPageToken",
             });
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersRecreateRequest_descriptor =
-        getDescriptor().getMessageType(1410);
+        getDescriptor().getMessageType(1413);
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersRecreateRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersRecreateRequest_descriptor,
@@ -55356,7 +55415,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Instances",
             });
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersResumeInstancesRequest_descriptor =
-        getDescriptor().getMessageType(1411);
+        getDescriptor().getMessageType(1414);
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersResumeInstancesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersResumeInstancesRequest_descriptor,
@@ -55364,7 +55423,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Instances",
             });
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersSetTargetPoolsRequest_descriptor =
-        getDescriptor().getMessageType(1412);
+        getDescriptor().getMessageType(1415);
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersSetTargetPoolsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersSetTargetPoolsRequest_descriptor,
@@ -55372,7 +55431,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Fingerprint", "TargetPools",
             });
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersSetTemplateRequest_descriptor =
-        getDescriptor().getMessageType(1413);
+        getDescriptor().getMessageType(1416);
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersSetTemplateRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersSetTemplateRequest_descriptor,
@@ -55380,7 +55439,7 @@ private static void _clinit_autosplit_dinit_3() {
               "InstanceTemplate",
             });
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersStartInstancesRequest_descriptor =
-        getDescriptor().getMessageType(1414);
+        getDescriptor().getMessageType(1417);
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersStartInstancesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersStartInstancesRequest_descriptor,
@@ -55388,7 +55447,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Instances",
             });
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersStopInstancesRequest_descriptor =
-        getDescriptor().getMessageType(1415);
+        getDescriptor().getMessageType(1418);
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersStopInstancesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersStopInstancesRequest_descriptor,
@@ -55396,7 +55455,7 @@ private static void _clinit_autosplit_dinit_3() {
               "ForceStop", "Instances",
             });
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersSuspendInstancesRequest_descriptor =
-        getDescriptor().getMessageType(1416);
+        getDescriptor().getMessageType(1419);
     internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersSuspendInstancesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersSuspendInstancesRequest_descriptor,
@@ -55404,7 +55463,7 @@ private static void _clinit_autosplit_dinit_3() {
               "ForceSuspend", "Instances",
             });
     internal_static_google_cloud_compute_v1_RegionInstanceGroupsListInstances_descriptor =
-        getDescriptor().getMessageType(1417);
+        getDescriptor().getMessageType(1420);
     internal_static_google_cloud_compute_v1_RegionInstanceGroupsListInstances_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionInstanceGroupsListInstances_descriptor,
@@ -55412,7 +55471,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_RegionInstanceGroupsListInstancesRequest_descriptor =
-        getDescriptor().getMessageType(1418);
+        getDescriptor().getMessageType(1421);
     internal_static_google_cloud_compute_v1_RegionInstanceGroupsListInstancesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionInstanceGroupsListInstancesRequest_descriptor,
@@ -55420,7 +55479,7 @@ private static void _clinit_autosplit_dinit_3() {
               "InstanceState", "PortName",
             });
     internal_static_google_cloud_compute_v1_RegionInstanceGroupsSetNamedPortsRequest_descriptor =
-        getDescriptor().getMessageType(1419);
+        getDescriptor().getMessageType(1422);
     internal_static_google_cloud_compute_v1_RegionInstanceGroupsSetNamedPortsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionInstanceGroupsSetNamedPortsRequest_descriptor,
@@ -55428,7 +55487,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Fingerprint", "NamedPorts",
             });
     internal_static_google_cloud_compute_v1_RegionList_descriptor =
-        getDescriptor().getMessageType(1420);
+        getDescriptor().getMessageType(1423);
     internal_static_google_cloud_compute_v1_RegionList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionList_descriptor,
@@ -55436,7 +55495,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_RegionNetworkEndpointGroupsAttachEndpointsRequest_descriptor =
-        getDescriptor().getMessageType(1421);
+        getDescriptor().getMessageType(1424);
     internal_static_google_cloud_compute_v1_RegionNetworkEndpointGroupsAttachEndpointsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionNetworkEndpointGroupsAttachEndpointsRequest_descriptor,
@@ -55444,7 +55503,7 @@ private static void _clinit_autosplit_dinit_3() {
               "NetworkEndpoints",
             });
     internal_static_google_cloud_compute_v1_RegionNetworkEndpointGroupsDetachEndpointsRequest_descriptor =
-        getDescriptor().getMessageType(1422);
+        getDescriptor().getMessageType(1425);
     internal_static_google_cloud_compute_v1_RegionNetworkEndpointGroupsDetachEndpointsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionNetworkEndpointGroupsDetachEndpointsRequest_descriptor,
@@ -55452,7 +55511,7 @@ private static void _clinit_autosplit_dinit_3() {
               "NetworkEndpoints",
             });
     internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse_descriptor =
-        getDescriptor().getMessageType(1423);
+        getDescriptor().getMessageType(1426);
     internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse_descriptor,
@@ -55460,7 +55519,7 @@ private static void _clinit_autosplit_dinit_3() {
               "FirewallPolicys", "Firewalls",
             });
     internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy_descriptor =
-        getDescriptor().getMessageType(1424);
+        getDescriptor().getMessageType(1427);
     internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy_descriptor,
@@ -55468,7 +55527,7 @@ private static void _clinit_autosplit_dinit_3() {
               "DisplayName", "Name", "PacketMirroringRules", "Priority", "Rules", "Type",
             });
     internal_static_google_cloud_compute_v1_RegionSetLabelsRequest_descriptor =
-        getDescriptor().getMessageType(1425);
+        getDescriptor().getMessageType(1428);
     internal_static_google_cloud_compute_v1_RegionSetLabelsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionSetLabelsRequest_descriptor,
@@ -55484,7 +55543,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_RegionSetPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1426);
+        getDescriptor().getMessageType(1429);
     internal_static_google_cloud_compute_v1_RegionSetPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionSetPolicyRequest_descriptor,
@@ -55492,7 +55551,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Bindings", "Etag", "Policy",
             });
     internal_static_google_cloud_compute_v1_RegionSnapshotUpdateKmsKeyRequest_descriptor =
-        getDescriptor().getMessageType(1427);
+        getDescriptor().getMessageType(1430);
     internal_static_google_cloud_compute_v1_RegionSnapshotUpdateKmsKeyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionSnapshotUpdateKmsKeyRequest_descriptor,
@@ -55500,7 +55559,7 @@ private static void _clinit_autosplit_dinit_3() {
               "KmsKeyName",
             });
     internal_static_google_cloud_compute_v1_RegionTargetHttpsProxiesSetSslCertificatesRequest_descriptor =
-        getDescriptor().getMessageType(1428);
+        getDescriptor().getMessageType(1431);
     internal_static_google_cloud_compute_v1_RegionTargetHttpsProxiesSetSslCertificatesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionTargetHttpsProxiesSetSslCertificatesRequest_descriptor,
@@ -55508,7 +55567,7 @@ private static void _clinit_autosplit_dinit_3() {
               "SslCertificates",
             });
     internal_static_google_cloud_compute_v1_RegionUrlMapsValidateRequest_descriptor =
-        getDescriptor().getMessageType(1429);
+        getDescriptor().getMessageType(1432);
     internal_static_google_cloud_compute_v1_RegionUrlMapsValidateRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RegionUrlMapsValidateRequest_descriptor,
@@ -55516,7 +55575,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Resource",
             });
     internal_static_google_cloud_compute_v1_ReliabilityRisk_descriptor =
-        getDescriptor().getMessageType(1430);
+        getDescriptor().getMessageType(1433);
     internal_static_google_cloud_compute_v1_ReliabilityRisk_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReliabilityRisk_descriptor,
@@ -55532,7 +55591,7 @@ private static void _clinit_autosplit_dinit_3() {
               "SelfLinkWithId",
             });
     internal_static_google_cloud_compute_v1_ReliabilityRisksListResponse_descriptor =
-        getDescriptor().getMessageType(1431);
+        getDescriptor().getMessageType(1434);
     internal_static_google_cloud_compute_v1_ReliabilityRisksListResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReliabilityRisksListResponse_descriptor,
@@ -55540,7 +55599,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Etag", "Id", "Items", "NextPageToken", "SelfLink", "Unreachables", "Warning",
             });
     internal_static_google_cloud_compute_v1_RemoveAssociationFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1432);
+        getDescriptor().getMessageType(1435);
     internal_static_google_cloud_compute_v1_RemoveAssociationFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RemoveAssociationFirewallPolicyRequest_descriptor,
@@ -55548,7 +55607,7 @@ private static void _clinit_autosplit_dinit_3() {
               "FirewallPolicy", "Name", "RequestId",
             });
     internal_static_google_cloud_compute_v1_RemoveAssociationNetworkFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1433);
+        getDescriptor().getMessageType(1436);
     internal_static_google_cloud_compute_v1_RemoveAssociationNetworkFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RemoveAssociationNetworkFirewallPolicyRequest_descriptor,
@@ -55556,7 +55615,7 @@ private static void _clinit_autosplit_dinit_3() {
               "FirewallPolicy", "Name", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_RemoveAssociationOrganizationSecurityPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1434);
+        getDescriptor().getMessageType(1437);
     internal_static_google_cloud_compute_v1_RemoveAssociationOrganizationSecurityPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RemoveAssociationOrganizationSecurityPolicyRequest_descriptor,
@@ -55564,7 +55623,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Name", "RequestId", "SecurityPolicy",
             });
     internal_static_google_cloud_compute_v1_RemoveAssociationRegionNetworkFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1435);
+        getDescriptor().getMessageType(1438);
     internal_static_google_cloud_compute_v1_RemoveAssociationRegionNetworkFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RemoveAssociationRegionNetworkFirewallPolicyRequest_descriptor,
@@ -55572,7 +55631,7 @@ private static void _clinit_autosplit_dinit_3() {
               "FirewallPolicy", "Name", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_RemoveHealthCheckTargetPoolRequest_descriptor =
-        getDescriptor().getMessageType(1436);
+        getDescriptor().getMessageType(1439);
     internal_static_google_cloud_compute_v1_RemoveHealthCheckTargetPoolRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RemoveHealthCheckTargetPoolRequest_descriptor,
@@ -55584,7 +55643,7 @@ private static void _clinit_autosplit_dinit_3() {
               "TargetPoolsRemoveHealthCheckRequestResource",
             });
     internal_static_google_cloud_compute_v1_RemoveInstanceTargetPoolRequest_descriptor =
-        getDescriptor().getMessageType(1437);
+        getDescriptor().getMessageType(1440);
     internal_static_google_cloud_compute_v1_RemoveInstanceTargetPoolRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RemoveInstanceTargetPoolRequest_descriptor,
@@ -55596,7 +55655,7 @@ private static void _clinit_autosplit_dinit_3() {
               "TargetPoolsRemoveInstanceRequestResource",
             });
     internal_static_google_cloud_compute_v1_RemoveInstancesInstanceGroupRequest_descriptor =
-        getDescriptor().getMessageType(1438);
+        getDescriptor().getMessageType(1441);
     internal_static_google_cloud_compute_v1_RemoveInstancesInstanceGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RemoveInstancesInstanceGroupRequest_descriptor,
@@ -55608,7 +55667,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_RemovePacketMirroringRuleNetworkFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1439);
+        getDescriptor().getMessageType(1442);
     internal_static_google_cloud_compute_v1_RemovePacketMirroringRuleNetworkFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RemovePacketMirroringRuleNetworkFirewallPolicyRequest_descriptor,
@@ -55616,7 +55675,7 @@ private static void _clinit_autosplit_dinit_3() {
               "FirewallPolicy", "Priority", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_RemovePeeringNetworkRequest_descriptor =
-        getDescriptor().getMessageType(1440);
+        getDescriptor().getMessageType(1443);
     internal_static_google_cloud_compute_v1_RemovePeeringNetworkRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RemovePeeringNetworkRequest_descriptor,
@@ -55624,7 +55683,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Network", "NetworksRemovePeeringRequestResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_RemoveResourcePoliciesDiskRequest_descriptor =
-        getDescriptor().getMessageType(1441);
+        getDescriptor().getMessageType(1444);
     internal_static_google_cloud_compute_v1_RemoveResourcePoliciesDiskRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RemoveResourcePoliciesDiskRequest_descriptor,
@@ -55632,7 +55691,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Disk", "DisksRemoveResourcePoliciesRequestResource", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_RemoveResourcePoliciesInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1442);
+        getDescriptor().getMessageType(1445);
     internal_static_google_cloud_compute_v1_RemoveResourcePoliciesInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RemoveResourcePoliciesInstanceRequest_descriptor,
@@ -55644,7 +55703,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_RemoveResourcePoliciesRegionDiskRequest_descriptor =
-        getDescriptor().getMessageType(1443);
+        getDescriptor().getMessageType(1446);
     internal_static_google_cloud_compute_v1_RemoveResourcePoliciesRegionDiskRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RemoveResourcePoliciesRegionDiskRequest_descriptor,
@@ -55656,7 +55715,7 @@ private static void _clinit_autosplit_dinit_3() {
               "RequestId",
             });
     internal_static_google_cloud_compute_v1_RemoveRuleFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1444);
+        getDescriptor().getMessageType(1447);
     internal_static_google_cloud_compute_v1_RemoveRuleFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RemoveRuleFirewallPolicyRequest_descriptor,
@@ -55664,7 +55723,7 @@ private static void _clinit_autosplit_dinit_3() {
               "FirewallPolicy", "Priority", "RequestId",
             });
     internal_static_google_cloud_compute_v1_RemoveRuleNetworkFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1445);
+        getDescriptor().getMessageType(1448);
     internal_static_google_cloud_compute_v1_RemoveRuleNetworkFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RemoveRuleNetworkFirewallPolicyRequest_descriptor,
@@ -55672,7 +55731,7 @@ private static void _clinit_autosplit_dinit_3() {
               "FirewallPolicy", "Priority", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_RemoveRuleOrganizationSecurityPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1446);
+        getDescriptor().getMessageType(1449);
     internal_static_google_cloud_compute_v1_RemoveRuleOrganizationSecurityPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RemoveRuleOrganizationSecurityPolicyRequest_descriptor,
@@ -55680,7 +55739,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Priority", "RequestId", "SecurityPolicy",
             });
     internal_static_google_cloud_compute_v1_RemoveRuleRegionNetworkFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1447);
+        getDescriptor().getMessageType(1450);
     internal_static_google_cloud_compute_v1_RemoveRuleRegionNetworkFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RemoveRuleRegionNetworkFirewallPolicyRequest_descriptor,
@@ -55688,7 +55747,7 @@ private static void _clinit_autosplit_dinit_3() {
               "FirewallPolicy", "Priority", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_RemoveRuleRegionSecurityPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1448);
+        getDescriptor().getMessageType(1451);
     internal_static_google_cloud_compute_v1_RemoveRuleRegionSecurityPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RemoveRuleRegionSecurityPolicyRequest_descriptor,
@@ -55696,7 +55755,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Priority", "Project", "Region", "SecurityPolicy",
             });
     internal_static_google_cloud_compute_v1_RemoveRuleSecurityPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1449);
+        getDescriptor().getMessageType(1452);
     internal_static_google_cloud_compute_v1_RemoveRuleSecurityPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RemoveRuleSecurityPolicyRequest_descriptor,
@@ -55704,7 +55763,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Priority", "Project", "SecurityPolicy",
             });
     internal_static_google_cloud_compute_v1_ReportFaultyReservationSubBlockRequest_descriptor =
-        getDescriptor().getMessageType(1450);
+        getDescriptor().getMessageType(1453);
     internal_static_google_cloud_compute_v1_ReportFaultyReservationSubBlockRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReportFaultyReservationSubBlockRequest_descriptor,
@@ -55717,7 +55776,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ReportHostAsFaultyInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1451);
+        getDescriptor().getMessageType(1454);
     internal_static_google_cloud_compute_v1_ReportHostAsFaultyInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReportHostAsFaultyInstanceRequest_descriptor,
@@ -55729,7 +55788,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_RequestMirrorPolicy_descriptor =
-        getDescriptor().getMessageType(1452);
+        getDescriptor().getMessageType(1455);
     internal_static_google_cloud_compute_v1_RequestMirrorPolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RequestMirrorPolicy_descriptor,
@@ -55737,7 +55796,7 @@ private static void _clinit_autosplit_dinit_3() {
               "BackendService", "MirrorPercent",
             });
     internal_static_google_cloud_compute_v1_RequestRemovePeeringNetworkRequest_descriptor =
-        getDescriptor().getMessageType(1453);
+        getDescriptor().getMessageType(1456);
     internal_static_google_cloud_compute_v1_RequestRemovePeeringNetworkRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RequestRemovePeeringNetworkRequest_descriptor,
@@ -55745,7 +55804,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Network", "NetworksRequestRemovePeeringRequestResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_Reservation_descriptor =
-        getDescriptor().getMessageType(1454);
+        getDescriptor().getMessageType(1457);
     internal_static_google_cloud_compute_v1_Reservation_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Reservation_descriptor,
@@ -55789,7 +55848,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_ReservationAdvancedDeploymentControl_descriptor =
-        getDescriptor().getMessageType(1455);
+        getDescriptor().getMessageType(1458);
     internal_static_google_cloud_compute_v1_ReservationAdvancedDeploymentControl_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationAdvancedDeploymentControl_descriptor,
@@ -55797,7 +55856,7 @@ private static void _clinit_autosplit_dinit_3() {
               "ReservationOperationalMode",
             });
     internal_static_google_cloud_compute_v1_ReservationAffinity_descriptor =
-        getDescriptor().getMessageType(1456);
+        getDescriptor().getMessageType(1459);
     internal_static_google_cloud_compute_v1_ReservationAffinity_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationAffinity_descriptor,
@@ -55805,7 +55864,7 @@ private static void _clinit_autosplit_dinit_3() {
               "ConsumeReservationType", "Key", "Values",
             });
     internal_static_google_cloud_compute_v1_ReservationAggregatedList_descriptor =
-        getDescriptor().getMessageType(1457);
+        getDescriptor().getMessageType(1460);
     internal_static_google_cloud_compute_v1_ReservationAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationAggregatedList_descriptor,
@@ -55822,7 +55881,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_ReservationBlock_descriptor =
-        getDescriptor().getMessageType(1458);
+        getDescriptor().getMessageType(1461);
     internal_static_google_cloud_compute_v1_ReservationBlock_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationBlock_descriptor,
@@ -55845,7 +55904,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ReservationBlockHealthInfo_descriptor =
-        getDescriptor().getMessageType(1459);
+        getDescriptor().getMessageType(1462);
     internal_static_google_cloud_compute_v1_ReservationBlockHealthInfo_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationBlockHealthInfo_descriptor,
@@ -55853,7 +55912,7 @@ private static void _clinit_autosplit_dinit_3() {
               "DegradedSubBlockCount", "HealthStatus", "HealthySubBlockCount",
             });
     internal_static_google_cloud_compute_v1_ReservationBlockPhysicalTopology_descriptor =
-        getDescriptor().getMessageType(1460);
+        getDescriptor().getMessageType(1463);
     internal_static_google_cloud_compute_v1_ReservationBlockPhysicalTopology_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationBlockPhysicalTopology_descriptor,
@@ -55861,7 +55920,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Block", "Cluster", "Instances",
             });
     internal_static_google_cloud_compute_v1_ReservationBlockPhysicalTopologyInstance_descriptor =
-        getDescriptor().getMessageType(1461);
+        getDescriptor().getMessageType(1464);
     internal_static_google_cloud_compute_v1_ReservationBlockPhysicalTopologyInstance_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationBlockPhysicalTopologyInstance_descriptor,
@@ -55869,7 +55928,7 @@ private static void _clinit_autosplit_dinit_3() {
               "InstanceId", "PhysicalHostTopology", "ProjectId",
             });
     internal_static_google_cloud_compute_v1_ReservationBlockPhysicalTopologyInstancePhysicalHostTopology_descriptor =
-        getDescriptor().getMessageType(1462);
+        getDescriptor().getMessageType(1465);
     internal_static_google_cloud_compute_v1_ReservationBlockPhysicalTopologyInstancePhysicalHostTopology_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationBlockPhysicalTopologyInstancePhysicalHostTopology_descriptor,
@@ -55877,7 +55936,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Host", "SubBlock",
             });
     internal_static_google_cloud_compute_v1_ReservationBlocksGetResponse_descriptor =
-        getDescriptor().getMessageType(1463);
+        getDescriptor().getMessageType(1466);
     internal_static_google_cloud_compute_v1_ReservationBlocksGetResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationBlocksGetResponse_descriptor,
@@ -55885,7 +55944,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Resource",
             });
     internal_static_google_cloud_compute_v1_ReservationBlocksListResponse_descriptor =
-        getDescriptor().getMessageType(1464);
+        getDescriptor().getMessageType(1467);
     internal_static_google_cloud_compute_v1_ReservationBlocksListResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationBlocksListResponse_descriptor,
@@ -55893,7 +55952,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_ReservationList_descriptor =
-        getDescriptor().getMessageType(1465);
+        getDescriptor().getMessageType(1468);
     internal_static_google_cloud_compute_v1_ReservationList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationList_descriptor,
@@ -55901,7 +55960,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_ReservationParams_descriptor =
-        getDescriptor().getMessageType(1466);
+        getDescriptor().getMessageType(1469);
     internal_static_google_cloud_compute_v1_ReservationParams_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationParams_descriptor,
@@ -55917,7 +55976,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_ReservationSlot_descriptor =
-        getDescriptor().getMessageType(1467);
+        getDescriptor().getMessageType(1470);
     internal_static_google_cloud_compute_v1_ReservationSlot_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationSlot_descriptor,
@@ -55935,7 +55994,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ReservationSlotPhysicalTopology_descriptor =
-        getDescriptor().getMessageType(1468);
+        getDescriptor().getMessageType(1471);
     internal_static_google_cloud_compute_v1_ReservationSlotPhysicalTopology_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationSlotPhysicalTopology_descriptor,
@@ -55943,7 +56002,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Block", "Cluster", "Host", "SubBlock",
             });
     internal_static_google_cloud_compute_v1_ReservationSlotStatus_descriptor =
-        getDescriptor().getMessageType(1469);
+        getDescriptor().getMessageType(1472);
     internal_static_google_cloud_compute_v1_ReservationSlotStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationSlotStatus_descriptor,
@@ -55951,7 +56010,7 @@ private static void _clinit_autosplit_dinit_3() {
               "PhysicalTopology", "RdmaIpAddresses", "RunningInstances",
             });
     internal_static_google_cloud_compute_v1_ReservationSlotsGetResponse_descriptor =
-        getDescriptor().getMessageType(1470);
+        getDescriptor().getMessageType(1473);
     internal_static_google_cloud_compute_v1_ReservationSlotsGetResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationSlotsGetResponse_descriptor,
@@ -55959,7 +56018,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Resource",
             });
     internal_static_google_cloud_compute_v1_ReservationSlotsGetVersionRequest_descriptor =
-        getDescriptor().getMessageType(1471);
+        getDescriptor().getMessageType(1474);
     internal_static_google_cloud_compute_v1_ReservationSlotsGetVersionRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationSlotsGetVersionRequest_descriptor,
@@ -55967,7 +56026,7 @@ private static void _clinit_autosplit_dinit_3() {
               "SbomSelections",
             });
     internal_static_google_cloud_compute_v1_ReservationSlotsListResponse_descriptor =
-        getDescriptor().getMessageType(1472);
+        getDescriptor().getMessageType(1475);
     internal_static_google_cloud_compute_v1_ReservationSlotsListResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationSlotsListResponse_descriptor,
@@ -55975,7 +56034,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_ReservationSubBlock_descriptor =
-        getDescriptor().getMessageType(1473);
+        getDescriptor().getMessageType(1476);
     internal_static_google_cloud_compute_v1_ReservationSubBlock_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationSubBlock_descriptor,
@@ -55997,7 +56056,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ReservationSubBlockHealthInfo_descriptor =
-        getDescriptor().getMessageType(1474);
+        getDescriptor().getMessageType(1477);
     internal_static_google_cloud_compute_v1_ReservationSubBlockHealthInfo_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationSubBlockHealthInfo_descriptor,
@@ -56009,7 +56068,7 @@ private static void _clinit_autosplit_dinit_3() {
               "HealthyInfraCount",
             });
     internal_static_google_cloud_compute_v1_ReservationSubBlockPhysicalTopology_descriptor =
-        getDescriptor().getMessageType(1475);
+        getDescriptor().getMessageType(1478);
     internal_static_google_cloud_compute_v1_ReservationSubBlockPhysicalTopology_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationSubBlockPhysicalTopology_descriptor,
@@ -56017,7 +56076,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Block", "Cluster", "SubBlock",
             });
     internal_static_google_cloud_compute_v1_ReservationSubBlocksGetResponse_descriptor =
-        getDescriptor().getMessageType(1476);
+        getDescriptor().getMessageType(1479);
     internal_static_google_cloud_compute_v1_ReservationSubBlocksGetResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationSubBlocksGetResponse_descriptor,
@@ -56025,7 +56084,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Resource",
             });
     internal_static_google_cloud_compute_v1_ReservationSubBlocksGetVersionRequest_descriptor =
-        getDescriptor().getMessageType(1477);
+        getDescriptor().getMessageType(1480);
     internal_static_google_cloud_compute_v1_ReservationSubBlocksGetVersionRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationSubBlocksGetVersionRequest_descriptor,
@@ -56033,7 +56092,7 @@ private static void _clinit_autosplit_dinit_3() {
               "SbomSelections",
             });
     internal_static_google_cloud_compute_v1_ReservationSubBlocksListResponse_descriptor =
-        getDescriptor().getMessageType(1478);
+        getDescriptor().getMessageType(1481);
     internal_static_google_cloud_compute_v1_ReservationSubBlocksListResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationSubBlocksListResponse_descriptor,
@@ -56041,7 +56100,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_ReservationSubBlocksReportFaultyRequest_descriptor =
-        getDescriptor().getMessageType(1479);
+        getDescriptor().getMessageType(1482);
     internal_static_google_cloud_compute_v1_ReservationSubBlocksReportFaultyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationSubBlocksReportFaultyRequest_descriptor,
@@ -56049,7 +56108,7 @@ private static void _clinit_autosplit_dinit_3() {
               "DisruptionSchedule", "FailureComponent", "FaultReasons",
             });
     internal_static_google_cloud_compute_v1_ReservationSubBlocksReportFaultyRequestFaultReason_descriptor =
-        getDescriptor().getMessageType(1480);
+        getDescriptor().getMessageType(1483);
     internal_static_google_cloud_compute_v1_ReservationSubBlocksReportFaultyRequestFaultReason_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationSubBlocksReportFaultyRequestFaultReason_descriptor,
@@ -56057,7 +56116,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Behavior", "Description",
             });
     internal_static_google_cloud_compute_v1_ReservationsBlocksPerformMaintenanceRequest_descriptor =
-        getDescriptor().getMessageType(1481);
+        getDescriptor().getMessageType(1484);
     internal_static_google_cloud_compute_v1_ReservationsBlocksPerformMaintenanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationsBlocksPerformMaintenanceRequest_descriptor,
@@ -56065,7 +56124,7 @@ private static void _clinit_autosplit_dinit_3() {
               "MaintenanceScope",
             });
     internal_static_google_cloud_compute_v1_ReservationsPerformMaintenanceRequest_descriptor =
-        getDescriptor().getMessageType(1482);
+        getDescriptor().getMessageType(1485);
     internal_static_google_cloud_compute_v1_ReservationsPerformMaintenanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationsPerformMaintenanceRequest_descriptor,
@@ -56073,7 +56132,7 @@ private static void _clinit_autosplit_dinit_3() {
               "MaintenanceScope",
             });
     internal_static_google_cloud_compute_v1_ReservationsResizeRequest_descriptor =
-        getDescriptor().getMessageType(1483);
+        getDescriptor().getMessageType(1486);
     internal_static_google_cloud_compute_v1_ReservationsResizeRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationsResizeRequest_descriptor,
@@ -56081,7 +56140,7 @@ private static void _clinit_autosplit_dinit_3() {
               "SpecificSkuCount",
             });
     internal_static_google_cloud_compute_v1_ReservationsScopedList_descriptor =
-        getDescriptor().getMessageType(1484);
+        getDescriptor().getMessageType(1487);
     internal_static_google_cloud_compute_v1_ReservationsScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ReservationsScopedList_descriptor,
@@ -56089,7 +56148,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Reservations", "Warning",
             });
     internal_static_google_cloud_compute_v1_ResetInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1485);
+        getDescriptor().getMessageType(1488);
     internal_static_google_cloud_compute_v1_ResetInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResetInstanceRequest_descriptor,
@@ -56097,7 +56156,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Instance", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_ResizeDiskRequest_descriptor =
-        getDescriptor().getMessageType(1486);
+        getDescriptor().getMessageType(1489);
     internal_static_google_cloud_compute_v1_ResizeDiskRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResizeDiskRequest_descriptor,
@@ -56105,7 +56164,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Disk", "DisksResizeRequestResource", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_ResizeInstanceGroupManagerRequest_descriptor =
-        getDescriptor().getMessageType(1487);
+        getDescriptor().getMessageType(1490);
     internal_static_google_cloud_compute_v1_ResizeInstanceGroupManagerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResizeInstanceGroupManagerRequest_descriptor,
@@ -56113,7 +56172,7 @@ private static void _clinit_autosplit_dinit_3() {
               "InstanceGroupManager", "Project", "RequestId", "Size", "Zone",
             });
     internal_static_google_cloud_compute_v1_ResizeRegionDiskRequest_descriptor =
-        getDescriptor().getMessageType(1488);
+        getDescriptor().getMessageType(1491);
     internal_static_google_cloud_compute_v1_ResizeRegionDiskRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResizeRegionDiskRequest_descriptor,
@@ -56121,7 +56180,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Disk", "Project", "Region", "RegionDisksResizeRequestResource", "RequestId",
             });
     internal_static_google_cloud_compute_v1_ResizeRegionInstanceGroupManagerRequest_descriptor =
-        getDescriptor().getMessageType(1489);
+        getDescriptor().getMessageType(1492);
     internal_static_google_cloud_compute_v1_ResizeRegionInstanceGroupManagerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResizeRegionInstanceGroupManagerRequest_descriptor,
@@ -56129,7 +56188,7 @@ private static void _clinit_autosplit_dinit_3() {
               "InstanceGroupManager", "Project", "Region", "RequestId", "Size",
             });
     internal_static_google_cloud_compute_v1_ResizeReservationRequest_descriptor =
-        getDescriptor().getMessageType(1490);
+        getDescriptor().getMessageType(1493);
     internal_static_google_cloud_compute_v1_ResizeReservationRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResizeReservationRequest_descriptor,
@@ -56137,7 +56196,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "RequestId", "Reservation", "ReservationsResizeRequestResource", "Zone",
             });
     internal_static_google_cloud_compute_v1_ResourceCommitment_descriptor =
-        getDescriptor().getMessageType(1491);
+        getDescriptor().getMessageType(1494);
     internal_static_google_cloud_compute_v1_ResourceCommitment_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourceCommitment_descriptor,
@@ -56145,7 +56204,7 @@ private static void _clinit_autosplit_dinit_3() {
               "AcceleratorType", "Amount", "Type",
             });
     internal_static_google_cloud_compute_v1_ResourceGroupReference_descriptor =
-        getDescriptor().getMessageType(1492);
+        getDescriptor().getMessageType(1495);
     internal_static_google_cloud_compute_v1_ResourceGroupReference_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourceGroupReference_descriptor,
@@ -56153,7 +56212,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Group",
             });
     internal_static_google_cloud_compute_v1_ResourceMetadata_descriptor =
-        getDescriptor().getMessageType(1493);
+        getDescriptor().getMessageType(1496);
     internal_static_google_cloud_compute_v1_ResourceMetadata_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourceMetadata_descriptor,
@@ -56161,7 +56220,7 @@ private static void _clinit_autosplit_dinit_3() {
               "ApiVersion", "ResourceType",
             });
     internal_static_google_cloud_compute_v1_ResourcePoliciesScopedList_descriptor =
-        getDescriptor().getMessageType(1494);
+        getDescriptor().getMessageType(1497);
     internal_static_google_cloud_compute_v1_ResourcePoliciesScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourcePoliciesScopedList_descriptor,
@@ -56169,7 +56228,7 @@ private static void _clinit_autosplit_dinit_3() {
               "ResourcePolicies", "Warning",
             });
     internal_static_google_cloud_compute_v1_ResourcePolicy_descriptor =
-        getDescriptor().getMessageType(1495);
+        getDescriptor().getMessageType(1498);
     internal_static_google_cloud_compute_v1_ResourcePolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourcePolicy_descriptor,
@@ -56190,7 +56249,7 @@ private static void _clinit_autosplit_dinit_3() {
               "WorkloadPolicy",
             });
     internal_static_google_cloud_compute_v1_ResourcePolicyAggregatedList_descriptor =
-        getDescriptor().getMessageType(1496);
+        getDescriptor().getMessageType(1499);
     internal_static_google_cloud_compute_v1_ResourcePolicyAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourcePolicyAggregatedList_descriptor,
@@ -56207,7 +56266,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_ResourcePolicyDailyCycle_descriptor =
-        getDescriptor().getMessageType(1497);
+        getDescriptor().getMessageType(1500);
     internal_static_google_cloud_compute_v1_ResourcePolicyDailyCycle_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourcePolicyDailyCycle_descriptor,
@@ -56215,13 +56274,13 @@ private static void _clinit_autosplit_dinit_3() {
               "DaysInCycle", "Duration", "StartTime",
             });
     internal_static_google_cloud_compute_v1_ResourcePolicyDiskConsistencyGroupPolicy_descriptor =
-        getDescriptor().getMessageType(1498);
+        getDescriptor().getMessageType(1501);
     internal_static_google_cloud_compute_v1_ResourcePolicyDiskConsistencyGroupPolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourcePolicyDiskConsistencyGroupPolicy_descriptor,
             new java.lang.String[] {});
     internal_static_google_cloud_compute_v1_ResourcePolicyGroupPlacementPolicy_descriptor =
-        getDescriptor().getMessageType(1499);
+        getDescriptor().getMessageType(1502);
     internal_static_google_cloud_compute_v1_ResourcePolicyGroupPlacementPolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourcePolicyGroupPlacementPolicy_descriptor,
@@ -56233,7 +56292,7 @@ private static void _clinit_autosplit_dinit_3() {
               "VmCount",
             });
     internal_static_google_cloud_compute_v1_ResourcePolicyHourlyCycle_descriptor =
-        getDescriptor().getMessageType(1500);
+        getDescriptor().getMessageType(1503);
     internal_static_google_cloud_compute_v1_ResourcePolicyHourlyCycle_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourcePolicyHourlyCycle_descriptor,
@@ -56241,7 +56300,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Duration", "HoursInCycle", "StartTime",
             });
     internal_static_google_cloud_compute_v1_ResourcePolicyInstanceSchedulePolicy_descriptor =
-        getDescriptor().getMessageType(1501);
+        getDescriptor().getMessageType(1504);
     internal_static_google_cloud_compute_v1_ResourcePolicyInstanceSchedulePolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourcePolicyInstanceSchedulePolicy_descriptor,
@@ -56249,7 +56308,7 @@ private static void _clinit_autosplit_dinit_3() {
               "ExpirationTime", "StartTime", "TimeZone", "VmStartSchedule", "VmStopSchedule",
             });
     internal_static_google_cloud_compute_v1_ResourcePolicyInstanceSchedulePolicySchedule_descriptor =
-        getDescriptor().getMessageType(1502);
+        getDescriptor().getMessageType(1505);
     internal_static_google_cloud_compute_v1_ResourcePolicyInstanceSchedulePolicySchedule_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourcePolicyInstanceSchedulePolicySchedule_descriptor,
@@ -56257,7 +56316,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Schedule",
             });
     internal_static_google_cloud_compute_v1_ResourcePolicyList_descriptor =
-        getDescriptor().getMessageType(1503);
+        getDescriptor().getMessageType(1506);
     internal_static_google_cloud_compute_v1_ResourcePolicyList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourcePolicyList_descriptor,
@@ -56265,7 +56324,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Etag", "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_ResourcePolicyResourceStatus_descriptor =
-        getDescriptor().getMessageType(1504);
+        getDescriptor().getMessageType(1507);
     internal_static_google_cloud_compute_v1_ResourcePolicyResourceStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourcePolicyResourceStatus_descriptor,
@@ -56273,7 +56332,7 @@ private static void _clinit_autosplit_dinit_3() {
               "InstanceSchedulePolicy",
             });
     internal_static_google_cloud_compute_v1_ResourcePolicyResourceStatusInstanceSchedulePolicyStatus_descriptor =
-        getDescriptor().getMessageType(1505);
+        getDescriptor().getMessageType(1508);
     internal_static_google_cloud_compute_v1_ResourcePolicyResourceStatusInstanceSchedulePolicyStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourcePolicyResourceStatusInstanceSchedulePolicyStatus_descriptor,
@@ -56281,7 +56340,7 @@ private static void _clinit_autosplit_dinit_3() {
               "LastRunStartTime", "NextRunStartTime",
             });
     internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicy_descriptor =
-        getDescriptor().getMessageType(1506);
+        getDescriptor().getMessageType(1509);
     internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicy_descriptor,
@@ -56289,7 +56348,7 @@ private static void _clinit_autosplit_dinit_3() {
               "RetentionPolicy", "Schedule", "SnapshotProperties",
             });
     internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicyRetentionPolicy_descriptor =
-        getDescriptor().getMessageType(1507);
+        getDescriptor().getMessageType(1510);
     internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicyRetentionPolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicyRetentionPolicy_descriptor,
@@ -56297,7 +56356,7 @@ private static void _clinit_autosplit_dinit_3() {
               "MaxRetentionDays", "OnSourceDiskDelete",
             });
     internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicySchedule_descriptor =
-        getDescriptor().getMessageType(1508);
+        getDescriptor().getMessageType(1511);
     internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicySchedule_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicySchedule_descriptor,
@@ -56305,7 +56364,7 @@ private static void _clinit_autosplit_dinit_3() {
               "DailySchedule", "HourlySchedule", "WeeklySchedule",
             });
     internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicySnapshotProperties_descriptor =
-        getDescriptor().getMessageType(1509);
+        getDescriptor().getMessageType(1512);
     internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicySnapshotProperties_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicySnapshotProperties_descriptor,
@@ -56322,7 +56381,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_ResourcePolicyWeeklyCycle_descriptor =
-        getDescriptor().getMessageType(1510);
+        getDescriptor().getMessageType(1513);
     internal_static_google_cloud_compute_v1_ResourcePolicyWeeklyCycle_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourcePolicyWeeklyCycle_descriptor,
@@ -56330,7 +56389,7 @@ private static void _clinit_autosplit_dinit_3() {
               "DayOfWeeks",
             });
     internal_static_google_cloud_compute_v1_ResourcePolicyWeeklyCycleDayOfWeek_descriptor =
-        getDescriptor().getMessageType(1511);
+        getDescriptor().getMessageType(1514);
     internal_static_google_cloud_compute_v1_ResourcePolicyWeeklyCycleDayOfWeek_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourcePolicyWeeklyCycleDayOfWeek_descriptor,
@@ -56338,7 +56397,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Day", "Duration", "StartTime",
             });
     internal_static_google_cloud_compute_v1_ResourcePolicyWorkloadPolicy_descriptor =
-        getDescriptor().getMessageType(1512);
+        getDescriptor().getMessageType(1515);
     internal_static_google_cloud_compute_v1_ResourcePolicyWorkloadPolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourcePolicyWorkloadPolicy_descriptor,
@@ -56346,7 +56405,7 @@ private static void _clinit_autosplit_dinit_3() {
               "AcceleratorTopology", "AcceleratorTopologyMode", "MaxTopologyDistance", "Type",
             });
     internal_static_google_cloud_compute_v1_ResourceStatus_descriptor =
-        getDescriptor().getMessageType(1513);
+        getDescriptor().getMessageType(1516);
     internal_static_google_cloud_compute_v1_ResourceStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourceStatus_descriptor,
@@ -56360,7 +56419,7 @@ private static void _clinit_autosplit_dinit_3() {
               "UpcomingMaintenance",
             });
     internal_static_google_cloud_compute_v1_ResourceStatusEffectiveInstanceMetadata_descriptor =
-        getDescriptor().getMessageType(1514);
+        getDescriptor().getMessageType(1517);
     internal_static_google_cloud_compute_v1_ResourceStatusEffectiveInstanceMetadata_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourceStatusEffectiveInstanceMetadata_descriptor,
@@ -56376,7 +56435,7 @@ private static void _clinit_autosplit_dinit_3() {
               "VmDnsSettingMetadataValue",
             });
     internal_static_google_cloud_compute_v1_ResourceStatusPhysicalHostTopology_descriptor =
-        getDescriptor().getMessageType(1515);
+        getDescriptor().getMessageType(1518);
     internal_static_google_cloud_compute_v1_ResourceStatusPhysicalHostTopology_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourceStatusPhysicalHostTopology_descriptor,
@@ -56384,7 +56443,7 @@ private static void _clinit_autosplit_dinit_3() {
               "AdditionalAttributes", "Block", "Cluster", "Host", "Subblock",
             });
     internal_static_google_cloud_compute_v1_ResourceStatusPhysicalHostTopologyAdditionalAttributes_descriptor =
-        getDescriptor().getMessageType(1516);
+        getDescriptor().getMessageType(1519);
     internal_static_google_cloud_compute_v1_ResourceStatusPhysicalHostTopologyAdditionalAttributes_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourceStatusPhysicalHostTopologyAdditionalAttributes_descriptor,
@@ -56401,7 +56460,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_ResourceStatusReservationConsumptionInfo_descriptor =
-        getDescriptor().getMessageType(1517);
+        getDescriptor().getMessageType(1520);
     internal_static_google_cloud_compute_v1_ResourceStatusReservationConsumptionInfo_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourceStatusReservationConsumptionInfo_descriptor,
@@ -56409,7 +56468,7 @@ private static void _clinit_autosplit_dinit_3() {
               "ConsumedReservation", "ConsumedReservationBlock", "ConsumedReservationSubBlock",
             });
     internal_static_google_cloud_compute_v1_ResourceStatusScheduling_descriptor =
-        getDescriptor().getMessageType(1518);
+        getDescriptor().getMessageType(1521);
     internal_static_google_cloud_compute_v1_ResourceStatusScheduling_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourceStatusScheduling_descriptor,
@@ -56417,7 +56476,7 @@ private static void _clinit_autosplit_dinit_3() {
               "AvailabilityDomain", "GracefulShutdownTimestamp", "TerminationTimestamp",
             });
     internal_static_google_cloud_compute_v1_ResourceStatusShutdownDetails_descriptor =
-        getDescriptor().getMessageType(1519);
+        getDescriptor().getMessageType(1522);
     internal_static_google_cloud_compute_v1_ResourceStatusShutdownDetails_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResourceStatusShutdownDetails_descriptor,
@@ -56425,7 +56484,7 @@ private static void _clinit_autosplit_dinit_3() {
               "MaxDuration", "RequestTimestamp", "StopState", "TargetState",
             });
     internal_static_google_cloud_compute_v1_ResumeInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1520);
+        getDescriptor().getMessageType(1523);
     internal_static_google_cloud_compute_v1_ResumeInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResumeInstanceRequest_descriptor,
@@ -56433,7 +56492,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Instance", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_ResumeInstancesInstanceGroupManagerRequest_descriptor =
-        getDescriptor().getMessageType(1521);
+        getDescriptor().getMessageType(1524);
     internal_static_google_cloud_compute_v1_ResumeInstancesInstanceGroupManagerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResumeInstancesInstanceGroupManagerRequest_descriptor,
@@ -56445,7 +56504,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_ResumeInstancesRegionInstanceGroupManagerRequest_descriptor =
-        getDescriptor().getMessageType(1522);
+        getDescriptor().getMessageType(1525);
     internal_static_google_cloud_compute_v1_ResumeInstancesRegionInstanceGroupManagerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResumeInstancesRegionInstanceGroupManagerRequest_descriptor,
@@ -56457,7 +56516,7 @@ private static void _clinit_autosplit_dinit_3() {
               "RequestId",
             });
     internal_static_google_cloud_compute_v1_ResumeRolloutRequest_descriptor =
-        getDescriptor().getMessageType(1523);
+        getDescriptor().getMessageType(1526);
     internal_static_google_cloud_compute_v1_ResumeRolloutRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ResumeRolloutRequest_descriptor,
@@ -56465,7 +56524,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Etag", "Project", "RequestId", "Rollout",
             });
     internal_static_google_cloud_compute_v1_RiskDetails_descriptor =
-        getDescriptor().getMessageType(1524);
+        getDescriptor().getMessageType(1527);
     internal_static_google_cloud_compute_v1_RiskDetails_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RiskDetails_descriptor,
@@ -56473,7 +56532,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Duration", "GlobalDnsInsight", "LastUpdateTimestamp", "Severity", "Type",
             });
     internal_static_google_cloud_compute_v1_RiskDetailsGlobalDnsInsight_descriptor =
-        getDescriptor().getMessageType(1525);
+        getDescriptor().getMessageType(1528);
     internal_static_google_cloud_compute_v1_RiskDetailsGlobalDnsInsight_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RiskDetailsGlobalDnsInsight_descriptor,
@@ -56484,7 +56543,7 @@ private static void _clinit_autosplit_dinit_3() {
               "TotalQueryCount",
             });
     internal_static_google_cloud_compute_v1_RiskRecommendation_descriptor =
-        getDescriptor().getMessageType(1526);
+        getDescriptor().getMessageType(1529);
     internal_static_google_cloud_compute_v1_RiskRecommendation_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RiskRecommendation_descriptor,
@@ -56492,7 +56551,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Content", "ReferenceUrl",
             });
     internal_static_google_cloud_compute_v1_Rollout_descriptor =
-        getDescriptor().getMessageType(1527);
+        getDescriptor().getMessageType(1530);
     internal_static_google_cloud_compute_v1_Rollout_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Rollout_descriptor,
@@ -56516,7 +56575,7 @@ private static void _clinit_autosplit_dinit_3() {
               "WaveDetails",
             });
     internal_static_google_cloud_compute_v1_RolloutPlan_descriptor =
-        getDescriptor().getMessageType(1528);
+        getDescriptor().getMessageType(1531);
     internal_static_google_cloud_compute_v1_RolloutPlan_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RolloutPlan_descriptor,
@@ -56532,7 +56591,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Waves",
             });
     internal_static_google_cloud_compute_v1_RolloutPlanWave_descriptor =
-        getDescriptor().getMessageType(1529);
+        getDescriptor().getMessageType(1532);
     internal_static_google_cloud_compute_v1_RolloutPlanWave_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RolloutPlanWave_descriptor,
@@ -56540,7 +56599,7 @@ private static void _clinit_autosplit_dinit_3() {
               "DisplayName", "Number", "OrchestrationOptions", "Selectors", "Validation",
             });
     internal_static_google_cloud_compute_v1_RolloutPlanWaveOrchestrationOptions_descriptor =
-        getDescriptor().getMessageType(1530);
+        getDescriptor().getMessageType(1533);
     internal_static_google_cloud_compute_v1_RolloutPlanWaveOrchestrationOptions_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RolloutPlanWaveOrchestrationOptions_descriptor,
@@ -56548,7 +56607,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Delays", "MaxConcurrentLocations", "MaxConcurrentResourcesPerLocation",
             });
     internal_static_google_cloud_compute_v1_RolloutPlanWaveOrchestrationOptionsDelay_descriptor =
-        getDescriptor().getMessageType(1531);
+        getDescriptor().getMessageType(1534);
     internal_static_google_cloud_compute_v1_RolloutPlanWaveOrchestrationOptionsDelay_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RolloutPlanWaveOrchestrationOptionsDelay_descriptor,
@@ -56556,7 +56615,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Delimiter", "Duration", "Type",
             });
     internal_static_google_cloud_compute_v1_RolloutPlanWaveSelector_descriptor =
-        getDescriptor().getMessageType(1532);
+        getDescriptor().getMessageType(1535);
     internal_static_google_cloud_compute_v1_RolloutPlanWaveSelector_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RolloutPlanWaveSelector_descriptor,
@@ -56564,7 +56623,7 @@ private static void _clinit_autosplit_dinit_3() {
               "LocationSelector", "ResourceHierarchySelector",
             });
     internal_static_google_cloud_compute_v1_RolloutPlanWaveSelectorLocationSelector_descriptor =
-        getDescriptor().getMessageType(1533);
+        getDescriptor().getMessageType(1536);
     internal_static_google_cloud_compute_v1_RolloutPlanWaveSelectorLocationSelector_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RolloutPlanWaveSelectorLocationSelector_descriptor,
@@ -56572,7 +56631,7 @@ private static void _clinit_autosplit_dinit_3() {
               "IncludedLocations",
             });
     internal_static_google_cloud_compute_v1_RolloutPlanWaveSelectorResourceHierarchySelector_descriptor =
-        getDescriptor().getMessageType(1534);
+        getDescriptor().getMessageType(1537);
     internal_static_google_cloud_compute_v1_RolloutPlanWaveSelectorResourceHierarchySelector_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RolloutPlanWaveSelectorResourceHierarchySelector_descriptor,
@@ -56580,7 +56639,7 @@ private static void _clinit_autosplit_dinit_3() {
               "IncludedFolders", "IncludedOrganizations", "IncludedProjects",
             });
     internal_static_google_cloud_compute_v1_RolloutPlanWaveValidation_descriptor =
-        getDescriptor().getMessageType(1535);
+        getDescriptor().getMessageType(1538);
     internal_static_google_cloud_compute_v1_RolloutPlanWaveValidation_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RolloutPlanWaveValidation_descriptor,
@@ -56588,7 +56647,7 @@ private static void _clinit_autosplit_dinit_3() {
               "TimeBasedValidationMetadata", "Type",
             });
     internal_static_google_cloud_compute_v1_RolloutPlanWaveValidationTimeBasedValidationMetadata_descriptor =
-        getDescriptor().getMessageType(1536);
+        getDescriptor().getMessageType(1539);
     internal_static_google_cloud_compute_v1_RolloutPlanWaveValidationTimeBasedValidationMetadata_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RolloutPlanWaveValidationTimeBasedValidationMetadata_descriptor,
@@ -56596,7 +56655,7 @@ private static void _clinit_autosplit_dinit_3() {
               "WaitDuration",
             });
     internal_static_google_cloud_compute_v1_RolloutPlansListResponse_descriptor =
-        getDescriptor().getMessageType(1537);
+        getDescriptor().getMessageType(1540);
     internal_static_google_cloud_compute_v1_RolloutPlansListResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RolloutPlansListResponse_descriptor,
@@ -56604,7 +56663,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Etag", "Id", "Items", "NextPageToken", "SelfLink", "Unreachables", "Warning",
             });
     internal_static_google_cloud_compute_v1_RolloutRolloutEntity_descriptor =
-        getDescriptor().getMessageType(1538);
+        getDescriptor().getMessageType(1541);
     internal_static_google_cloud_compute_v1_RolloutRolloutEntity_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RolloutRolloutEntity_descriptor,
@@ -56612,7 +56671,7 @@ private static void _clinit_autosplit_dinit_3() {
               "OrchestratedEntity",
             });
     internal_static_google_cloud_compute_v1_RolloutRolloutEntityOrchestratedEntity_descriptor =
-        getDescriptor().getMessageType(1539);
+        getDescriptor().getMessageType(1542);
     internal_static_google_cloud_compute_v1_RolloutRolloutEntityOrchestratedEntity_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RolloutRolloutEntityOrchestratedEntity_descriptor,
@@ -56620,7 +56679,7 @@ private static void _clinit_autosplit_dinit_3() {
               "ConflictBehavior", "OrchestrationAction", "OrchestrationSource",
             });
     internal_static_google_cloud_compute_v1_RolloutWaveDetails_descriptor =
-        getDescriptor().getMessageType(1540);
+        getDescriptor().getMessageType(1543);
     internal_static_google_cloud_compute_v1_RolloutWaveDetails_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RolloutWaveDetails_descriptor,
@@ -56628,7 +56687,7 @@ private static void _clinit_autosplit_dinit_3() {
               "OrchestratedWaveDetails", "WaveDisplayName", "WaveNumber",
             });
     internal_static_google_cloud_compute_v1_RolloutWaveDetailsOrchestratedWaveDetails_descriptor =
-        getDescriptor().getMessageType(1541);
+        getDescriptor().getMessageType(1544);
     internal_static_google_cloud_compute_v1_RolloutWaveDetailsOrchestratedWaveDetails_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RolloutWaveDetailsOrchestratedWaveDetails_descriptor,
@@ -56650,7 +56709,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_RolloutWaveDetailsOrchestratedWaveDetailsLocationStatus_descriptor =
-        getDescriptor().getMessageType(1542);
+        getDescriptor().getMessageType(1545);
     internal_static_google_cloud_compute_v1_RolloutWaveDetailsOrchestratedWaveDetailsLocationStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RolloutWaveDetailsOrchestratedWaveDetailsLocationStatus_descriptor,
@@ -56658,14 +56717,14 @@ private static void _clinit_autosplit_dinit_3() {
               "State",
             });
     internal_static_google_cloud_compute_v1_RolloutsListResponse_descriptor =
-        getDescriptor().getMessageType(1543);
+        getDescriptor().getMessageType(1546);
     internal_static_google_cloud_compute_v1_RolloutsListResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RolloutsListResponse_descriptor,
             new java.lang.String[] {
               "Etag", "Id", "Items", "NextPageToken", "SelfLink", "Unreachables", "Warning",
             });
-    internal_static_google_cloud_compute_v1_Route_descriptor = getDescriptor().getMessageType(1544);
+    internal_static_google_cloud_compute_v1_Route_descriptor = getDescriptor().getMessageType(1547);
     internal_static_google_cloud_compute_v1_Route_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Route_descriptor,
@@ -56699,7 +56758,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Warnings",
             });
     internal_static_google_cloud_compute_v1_RouteAsPath_descriptor =
-        getDescriptor().getMessageType(1545);
+        getDescriptor().getMessageType(1548);
     internal_static_google_cloud_compute_v1_RouteAsPath_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RouteAsPath_descriptor,
@@ -56707,7 +56766,7 @@ private static void _clinit_autosplit_dinit_3() {
               "AsLists", "PathSegmentType",
             });
     internal_static_google_cloud_compute_v1_RouteList_descriptor =
-        getDescriptor().getMessageType(1546);
+        getDescriptor().getMessageType(1549);
     internal_static_google_cloud_compute_v1_RouteList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RouteList_descriptor,
@@ -56715,7 +56774,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_RouteParams_descriptor =
-        getDescriptor().getMessageType(1547);
+        getDescriptor().getMessageType(1550);
     internal_static_google_cloud_compute_v1_RouteParams_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RouteParams_descriptor,
@@ -56731,7 +56790,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_RoutePolicy_descriptor =
-        getDescriptor().getMessageType(1548);
+        getDescriptor().getMessageType(1551);
     internal_static_google_cloud_compute_v1_RoutePolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RoutePolicy_descriptor,
@@ -56739,7 +56798,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Description", "Fingerprint", "Name", "Terms", "Type",
             });
     internal_static_google_cloud_compute_v1_RoutePolicyPolicyTerm_descriptor =
-        getDescriptor().getMessageType(1549);
+        getDescriptor().getMessageType(1552);
     internal_static_google_cloud_compute_v1_RoutePolicyPolicyTerm_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RoutePolicyPolicyTerm_descriptor,
@@ -56747,7 +56806,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Actions", "Match", "Priority",
             });
     internal_static_google_cloud_compute_v1_Router_descriptor =
-        getDescriptor().getMessageType(1550);
+        getDescriptor().getMessageType(1553);
     internal_static_google_cloud_compute_v1_Router_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Router_descriptor,
@@ -56770,7 +56829,7 @@ private static void _clinit_autosplit_dinit_3() {
               "SelfLink",
             });
     internal_static_google_cloud_compute_v1_RouterAdvertisedIpRange_descriptor =
-        getDescriptor().getMessageType(1551);
+        getDescriptor().getMessageType(1554);
     internal_static_google_cloud_compute_v1_RouterAdvertisedIpRange_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RouterAdvertisedIpRange_descriptor,
@@ -56778,7 +56837,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Description", "Range",
             });
     internal_static_google_cloud_compute_v1_RouterAggregatedList_descriptor =
-        getDescriptor().getMessageType(1552);
+        getDescriptor().getMessageType(1555);
     internal_static_google_cloud_compute_v1_RouterAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RouterAggregatedList_descriptor,
@@ -56794,7 +56853,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_RouterBgp_descriptor =
-        getDescriptor().getMessageType(1553);
+        getDescriptor().getMessageType(1556);
     internal_static_google_cloud_compute_v1_RouterBgp_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RouterBgp_descriptor,
@@ -56807,7 +56866,7 @@ private static void _clinit_autosplit_dinit_3() {
               "KeepaliveInterval",
             });
     internal_static_google_cloud_compute_v1_RouterBgpPeer_descriptor =
-        getDescriptor().getMessageType(1554);
+        getDescriptor().getMessageType(1557);
     internal_static_google_cloud_compute_v1_RouterBgpPeer_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RouterBgpPeer_descriptor,
@@ -56838,7 +56897,7 @@ private static void _clinit_autosplit_dinit_3() {
               "RouterApplianceInstance",
             });
     internal_static_google_cloud_compute_v1_RouterBgpPeerBfd_descriptor =
-        getDescriptor().getMessageType(1555);
+        getDescriptor().getMessageType(1558);
     internal_static_google_cloud_compute_v1_RouterBgpPeerBfd_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RouterBgpPeerBfd_descriptor,
@@ -56849,7 +56908,7 @@ private static void _clinit_autosplit_dinit_3() {
               "SessionInitializationMode",
             });
     internal_static_google_cloud_compute_v1_RouterBgpPeerCustomLearnedIpRange_descriptor =
-        getDescriptor().getMessageType(1556);
+        getDescriptor().getMessageType(1559);
     internal_static_google_cloud_compute_v1_RouterBgpPeerCustomLearnedIpRange_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RouterBgpPeerCustomLearnedIpRange_descriptor,
@@ -56857,7 +56916,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Range",
             });
     internal_static_google_cloud_compute_v1_RouterInterface_descriptor =
-        getDescriptor().getMessageType(1557);
+        getDescriptor().getMessageType(1560);
     internal_static_google_cloud_compute_v1_RouterInterface_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RouterInterface_descriptor,
@@ -56873,7 +56932,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Subnetwork",
             });
     internal_static_google_cloud_compute_v1_RouterList_descriptor =
-        getDescriptor().getMessageType(1558);
+        getDescriptor().getMessageType(1561);
     internal_static_google_cloud_compute_v1_RouterList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RouterList_descriptor,
@@ -56881,7 +56940,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_RouterMd5AuthenticationKey_descriptor =
-        getDescriptor().getMessageType(1559);
+        getDescriptor().getMessageType(1562);
     internal_static_google_cloud_compute_v1_RouterMd5AuthenticationKey_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RouterMd5AuthenticationKey_descriptor,
@@ -56889,7 +56948,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Name",
             });
     internal_static_google_cloud_compute_v1_RouterNat_descriptor =
-        getDescriptor().getMessageType(1560);
+        getDescriptor().getMessageType(1563);
     internal_static_google_cloud_compute_v1_RouterNat_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RouterNat_descriptor,
@@ -56919,7 +56978,7 @@ private static void _clinit_autosplit_dinit_3() {
               "UdpIdleTimeoutSec",
             });
     internal_static_google_cloud_compute_v1_RouterNatLogConfig_descriptor =
-        getDescriptor().getMessageType(1561);
+        getDescriptor().getMessageType(1564);
     internal_static_google_cloud_compute_v1_RouterNatLogConfig_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RouterNatLogConfig_descriptor,
@@ -56927,7 +56986,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Enable", "Filter",
             });
     internal_static_google_cloud_compute_v1_RouterNatRule_descriptor =
-        getDescriptor().getMessageType(1562);
+        getDescriptor().getMessageType(1565);
     internal_static_google_cloud_compute_v1_RouterNatRule_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RouterNatRule_descriptor,
@@ -56935,7 +56994,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Action", "Description", "Match", "RuleNumber",
             });
     internal_static_google_cloud_compute_v1_RouterNatRuleAction_descriptor =
-        getDescriptor().getMessageType(1563);
+        getDescriptor().getMessageType(1566);
     internal_static_google_cloud_compute_v1_RouterNatRuleAction_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RouterNatRuleAction_descriptor,
@@ -56946,7 +57005,7 @@ private static void _clinit_autosplit_dinit_3() {
               "SourceNatDrainRanges",
             });
     internal_static_google_cloud_compute_v1_RouterNatSubnetworkToNat_descriptor =
-        getDescriptor().getMessageType(1564);
+        getDescriptor().getMessageType(1567);
     internal_static_google_cloud_compute_v1_RouterNatSubnetworkToNat_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RouterNatSubnetworkToNat_descriptor,
@@ -56954,7 +57013,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Name", "SecondaryIpRangeNames", "SourceIpRangesToNat",
             });
     internal_static_google_cloud_compute_v1_RouterNatSubnetworkToNat64_descriptor =
-        getDescriptor().getMessageType(1565);
+        getDescriptor().getMessageType(1568);
     internal_static_google_cloud_compute_v1_RouterNatSubnetworkToNat64_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RouterNatSubnetworkToNat64_descriptor,
@@ -56962,7 +57021,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Name",
             });
     internal_static_google_cloud_compute_v1_RouterParams_descriptor =
-        getDescriptor().getMessageType(1566);
+        getDescriptor().getMessageType(1569);
     internal_static_google_cloud_compute_v1_RouterParams_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RouterParams_descriptor,
@@ -56978,7 +57037,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_RouterStatus_descriptor =
-        getDescriptor().getMessageType(1567);
+        getDescriptor().getMessageType(1570);
     internal_static_google_cloud_compute_v1_RouterStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RouterStatus_descriptor,
@@ -56991,7 +57050,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Network",
             });
     internal_static_google_cloud_compute_v1_RouterStatusBgpPeerStatus_descriptor =
-        getDescriptor().getMessageType(1568);
+        getDescriptor().getMessageType(1571);
     internal_static_google_cloud_compute_v1_RouterStatusBgpPeerStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RouterStatusBgpPeerStatus_descriptor,
@@ -57018,7 +57077,7 @@ private static void _clinit_autosplit_dinit_3() {
               "UptimeSeconds",
             });
     internal_static_google_cloud_compute_v1_RouterStatusNatStatus_descriptor =
-        getDescriptor().getMessageType(1569);
+        getDescriptor().getMessageType(1572);
     internal_static_google_cloud_compute_v1_RouterStatusNatStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RouterStatusNatStatus_descriptor,
@@ -57034,7 +57093,7 @@ private static void _clinit_autosplit_dinit_3() {
               "UserAllocatedNatIps",
             });
     internal_static_google_cloud_compute_v1_RouterStatusNatStatusNatRuleStatus_descriptor =
-        getDescriptor().getMessageType(1570);
+        getDescriptor().getMessageType(1573);
     internal_static_google_cloud_compute_v1_RouterStatusNatStatusNatRuleStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RouterStatusNatStatusNatRuleStatus_descriptor,
@@ -57046,7 +57105,7 @@ private static void _clinit_autosplit_dinit_3() {
               "RuleNumber",
             });
     internal_static_google_cloud_compute_v1_RouterStatusResponse_descriptor =
-        getDescriptor().getMessageType(1571);
+        getDescriptor().getMessageType(1574);
     internal_static_google_cloud_compute_v1_RouterStatusResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RouterStatusResponse_descriptor,
@@ -57054,7 +57113,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Kind", "Result",
             });
     internal_static_google_cloud_compute_v1_RoutersGetNamedSetResponse_descriptor =
-        getDescriptor().getMessageType(1572);
+        getDescriptor().getMessageType(1575);
     internal_static_google_cloud_compute_v1_RoutersGetNamedSetResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RoutersGetNamedSetResponse_descriptor,
@@ -57062,7 +57121,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Etag", "Resource",
             });
     internal_static_google_cloud_compute_v1_RoutersGetRoutePolicyResponse_descriptor =
-        getDescriptor().getMessageType(1573);
+        getDescriptor().getMessageType(1576);
     internal_static_google_cloud_compute_v1_RoutersGetRoutePolicyResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RoutersGetRoutePolicyResponse_descriptor,
@@ -57070,7 +57129,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Resource",
             });
     internal_static_google_cloud_compute_v1_RoutersListBgpRoutes_descriptor =
-        getDescriptor().getMessageType(1574);
+        getDescriptor().getMessageType(1577);
     internal_static_google_cloud_compute_v1_RoutersListBgpRoutes_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RoutersListBgpRoutes_descriptor,
@@ -57085,7 +57144,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Warning",
             });
     internal_static_google_cloud_compute_v1_RoutersListNamedSets_descriptor =
-        getDescriptor().getMessageType(1575);
+        getDescriptor().getMessageType(1578);
     internal_static_google_cloud_compute_v1_RoutersListNamedSets_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RoutersListNamedSets_descriptor,
@@ -57100,7 +57159,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Warning",
             });
     internal_static_google_cloud_compute_v1_RoutersListRoutePolicies_descriptor =
-        getDescriptor().getMessageType(1576);
+        getDescriptor().getMessageType(1579);
     internal_static_google_cloud_compute_v1_RoutersListRoutePolicies_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RoutersListRoutePolicies_descriptor,
@@ -57115,7 +57174,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Warning",
             });
     internal_static_google_cloud_compute_v1_RoutersPreviewResponse_descriptor =
-        getDescriptor().getMessageType(1577);
+        getDescriptor().getMessageType(1580);
     internal_static_google_cloud_compute_v1_RoutersPreviewResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RoutersPreviewResponse_descriptor,
@@ -57123,7 +57182,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Resource",
             });
     internal_static_google_cloud_compute_v1_RoutersScopedList_descriptor =
-        getDescriptor().getMessageType(1578);
+        getDescriptor().getMessageType(1581);
     internal_static_google_cloud_compute_v1_RoutersScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_RoutersScopedList_descriptor,
@@ -57131,7 +57190,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Routers", "Warning",
             });
     internal_static_google_cloud_compute_v1_SSLHealthCheck_descriptor =
-        getDescriptor().getMessageType(1579);
+        getDescriptor().getMessageType(1582);
     internal_static_google_cloud_compute_v1_SSLHealthCheck_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SSLHealthCheck_descriptor,
@@ -57139,7 +57198,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Port", "PortName", "PortSpecification", "ProxyHeader", "Request", "Response",
             });
     internal_static_google_cloud_compute_v1_SavedAttachedDisk_descriptor =
-        getDescriptor().getMessageType(1580);
+        getDescriptor().getMessageType(1583);
     internal_static_google_cloud_compute_v1_SavedAttachedDisk_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SavedAttachedDisk_descriptor,
@@ -57162,7 +57221,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Type",
             });
     internal_static_google_cloud_compute_v1_SavedDisk_descriptor =
-        getDescriptor().getMessageType(1581);
+        getDescriptor().getMessageType(1584);
     internal_static_google_cloud_compute_v1_SavedDisk_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SavedDisk_descriptor,
@@ -57170,7 +57229,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Architecture", "Kind", "SourceDisk", "StorageBytes", "StorageBytesStatus",
             });
     internal_static_google_cloud_compute_v1_ScalingScheduleStatus_descriptor =
-        getDescriptor().getMessageType(1582);
+        getDescriptor().getMessageType(1585);
     internal_static_google_cloud_compute_v1_ScalingScheduleStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ScalingScheduleStatus_descriptor,
@@ -57178,7 +57237,7 @@ private static void _clinit_autosplit_dinit_3() {
               "LastStartTime", "NextStartTime", "State",
             });
     internal_static_google_cloud_compute_v1_Scheduling_descriptor =
-        getDescriptor().getMessageType(1583);
+        getDescriptor().getMessageType(1586);
     internal_static_google_cloud_compute_v1_Scheduling_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Scheduling_descriptor,
@@ -57202,7 +57261,7 @@ private static void _clinit_autosplit_dinit_3() {
               "TerminationTime",
             });
     internal_static_google_cloud_compute_v1_SchedulingGracefulShutdown_descriptor =
-        getDescriptor().getMessageType(1584);
+        getDescriptor().getMessageType(1587);
     internal_static_google_cloud_compute_v1_SchedulingGracefulShutdown_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SchedulingGracefulShutdown_descriptor,
@@ -57210,7 +57269,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Enabled", "MaxDuration",
             });
     internal_static_google_cloud_compute_v1_SchedulingNodeAffinity_descriptor =
-        getDescriptor().getMessageType(1585);
+        getDescriptor().getMessageType(1588);
     internal_static_google_cloud_compute_v1_SchedulingNodeAffinity_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SchedulingNodeAffinity_descriptor,
@@ -57218,7 +57277,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Operator", "Values",
             });
     internal_static_google_cloud_compute_v1_SchedulingOnInstanceStopAction_descriptor =
-        getDescriptor().getMessageType(1586);
+        getDescriptor().getMessageType(1589);
     internal_static_google_cloud_compute_v1_SchedulingOnInstanceStopAction_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SchedulingOnInstanceStopAction_descriptor,
@@ -57226,7 +57285,7 @@ private static void _clinit_autosplit_dinit_3() {
               "DiscardLocalSsd",
             });
     internal_static_google_cloud_compute_v1_Screenshot_descriptor =
-        getDescriptor().getMessageType(1587);
+        getDescriptor().getMessageType(1590);
     internal_static_google_cloud_compute_v1_Screenshot_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Screenshot_descriptor,
@@ -57234,7 +57293,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Contents", "Kind",
             });
     internal_static_google_cloud_compute_v1_SecurityPoliciesAggregatedList_descriptor =
-        getDescriptor().getMessageType(1588);
+        getDescriptor().getMessageType(1591);
     internal_static_google_cloud_compute_v1_SecurityPoliciesAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPoliciesAggregatedList_descriptor,
@@ -57251,7 +57310,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_SecurityPoliciesListPreconfiguredExpressionSetsResponse_descriptor =
-        getDescriptor().getMessageType(1589);
+        getDescriptor().getMessageType(1592);
     internal_static_google_cloud_compute_v1_SecurityPoliciesListPreconfiguredExpressionSetsResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPoliciesListPreconfiguredExpressionSetsResponse_descriptor,
@@ -57259,7 +57318,7 @@ private static void _clinit_autosplit_dinit_3() {
               "PreconfiguredExpressionSets",
             });
     internal_static_google_cloud_compute_v1_SecurityPoliciesScopedList_descriptor =
-        getDescriptor().getMessageType(1590);
+        getDescriptor().getMessageType(1593);
     internal_static_google_cloud_compute_v1_SecurityPoliciesScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPoliciesScopedList_descriptor,
@@ -57267,7 +57326,7 @@ private static void _clinit_autosplit_dinit_3() {
               "SecurityPolicies", "Warning",
             });
     internal_static_google_cloud_compute_v1_SecurityPoliciesWafConfig_descriptor =
-        getDescriptor().getMessageType(1591);
+        getDescriptor().getMessageType(1594);
     internal_static_google_cloud_compute_v1_SecurityPoliciesWafConfig_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPoliciesWafConfig_descriptor,
@@ -57275,7 +57334,7 @@ private static void _clinit_autosplit_dinit_3() {
               "WafRules",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicy_descriptor =
-        getDescriptor().getMessageType(1592);
+        getDescriptor().getMessageType(1595);
     internal_static_google_cloud_compute_v1_SecurityPolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicy_descriptor,
@@ -57310,7 +57369,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyAdaptiveProtectionConfig_descriptor =
-        getDescriptor().getMessageType(1593);
+        getDescriptor().getMessageType(1596);
     internal_static_google_cloud_compute_v1_SecurityPolicyAdaptiveProtectionConfig_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyAdaptiveProtectionConfig_descriptor,
@@ -57318,7 +57377,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Layer7DdosDefenseConfig",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig_descriptor =
-        getDescriptor().getMessageType(1594);
+        getDescriptor().getMessageType(1597);
     internal_static_google_cloud_compute_v1_SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig_descriptor,
@@ -57326,7 +57385,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Enable", "RuleVisibility", "ThresholdConfigs",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig_descriptor =
-        getDescriptor().getMessageType(1595);
+        getDescriptor().getMessageType(1598);
     internal_static_google_cloud_compute_v1_SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig_descriptor,
@@ -57342,7 +57401,7 @@ private static void _clinit_autosplit_dinit_3() {
               "TrafficGranularityConfigs",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig_descriptor =
-        getDescriptor().getMessageType(1596);
+        getDescriptor().getMessageType(1599);
     internal_static_google_cloud_compute_v1_SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig_descriptor,
@@ -57350,7 +57409,7 @@ private static void _clinit_autosplit_dinit_3() {
               "EnableEachUniqueValue", "Type", "Value",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyAdvancedOptionsConfig_descriptor =
-        getDescriptor().getMessageType(1597);
+        getDescriptor().getMessageType(1600);
     internal_static_google_cloud_compute_v1_SecurityPolicyAdvancedOptionsConfig_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyAdvancedOptionsConfig_descriptor,
@@ -57362,7 +57421,7 @@ private static void _clinit_autosplit_dinit_3() {
               "UserIpRequestHeaders",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyAdvancedOptionsConfigJsonCustomConfig_descriptor =
-        getDescriptor().getMessageType(1598);
+        getDescriptor().getMessageType(1601);
     internal_static_google_cloud_compute_v1_SecurityPolicyAdvancedOptionsConfigJsonCustomConfig_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyAdvancedOptionsConfigJsonCustomConfig_descriptor,
@@ -57370,7 +57429,7 @@ private static void _clinit_autosplit_dinit_3() {
               "ContentTypes",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyAssociation_descriptor =
-        getDescriptor().getMessageType(1599);
+        getDescriptor().getMessageType(1602);
     internal_static_google_cloud_compute_v1_SecurityPolicyAssociation_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyAssociation_descriptor,
@@ -57384,7 +57443,7 @@ private static void _clinit_autosplit_dinit_3() {
               "ShortName",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyDdosProtectionConfig_descriptor =
-        getDescriptor().getMessageType(1600);
+        getDescriptor().getMessageType(1603);
     internal_static_google_cloud_compute_v1_SecurityPolicyDdosProtectionConfig_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyDdosProtectionConfig_descriptor,
@@ -57392,7 +57451,7 @@ private static void _clinit_autosplit_dinit_3() {
               "DdosAdaptiveProtection", "DdosImpactedBaselineThreshold", "DdosProtection",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyList_descriptor =
-        getDescriptor().getMessageType(1601);
+        getDescriptor().getMessageType(1604);
     internal_static_google_cloud_compute_v1_SecurityPolicyList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyList_descriptor,
@@ -57400,7 +57459,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Id", "Items", "Kind", "NextPageToken", "Warning",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyRecaptchaOptionsConfig_descriptor =
-        getDescriptor().getMessageType(1602);
+        getDescriptor().getMessageType(1605);
     internal_static_google_cloud_compute_v1_SecurityPolicyRecaptchaOptionsConfig_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyRecaptchaOptionsConfig_descriptor,
@@ -57408,7 +57467,7 @@ private static void _clinit_autosplit_dinit_3() {
               "RedirectSiteKey",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyReference_descriptor =
-        getDescriptor().getMessageType(1603);
+        getDescriptor().getMessageType(1606);
     internal_static_google_cloud_compute_v1_SecurityPolicyReference_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyReference_descriptor,
@@ -57416,7 +57475,7 @@ private static void _clinit_autosplit_dinit_3() {
               "SecurityPolicy",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyRule_descriptor =
-        getDescriptor().getMessageType(1604);
+        getDescriptor().getMessageType(1607);
     internal_static_google_cloud_compute_v1_SecurityPolicyRule_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyRule_descriptor,
@@ -57434,7 +57493,7 @@ private static void _clinit_autosplit_dinit_3() {
               "RedirectOptions",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyRuleHttpHeaderAction_descriptor =
-        getDescriptor().getMessageType(1605);
+        getDescriptor().getMessageType(1608);
     internal_static_google_cloud_compute_v1_SecurityPolicyRuleHttpHeaderAction_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyRuleHttpHeaderAction_descriptor,
@@ -57442,7 +57501,7 @@ private static void _clinit_autosplit_dinit_3() {
               "RequestHeadersToAdds",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyRuleHttpHeaderActionHttpHeaderOption_descriptor =
-        getDescriptor().getMessageType(1606);
+        getDescriptor().getMessageType(1609);
     internal_static_google_cloud_compute_v1_SecurityPolicyRuleHttpHeaderActionHttpHeaderOption_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyRuleHttpHeaderActionHttpHeaderOption_descriptor,
@@ -57450,7 +57509,7 @@ private static void _clinit_autosplit_dinit_3() {
               "HeaderName", "HeaderValue",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcher_descriptor =
-        getDescriptor().getMessageType(1607);
+        getDescriptor().getMessageType(1610);
     internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcher_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcher_descriptor,
@@ -57458,7 +57517,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Config", "Expr", "ExprOptions", "VersionedExpr",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcherConfig_descriptor =
-        getDescriptor().getMessageType(1608);
+        getDescriptor().getMessageType(1611);
     internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcherConfig_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcherConfig_descriptor,
@@ -57466,7 +57525,7 @@ private static void _clinit_autosplit_dinit_3() {
               "SrcIpRanges",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcherExprOptions_descriptor =
-        getDescriptor().getMessageType(1609);
+        getDescriptor().getMessageType(1612);
     internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcherExprOptions_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcherExprOptions_descriptor,
@@ -57474,7 +57533,7 @@ private static void _clinit_autosplit_dinit_3() {
               "RecaptchaOptions",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions_descriptor =
-        getDescriptor().getMessageType(1610);
+        getDescriptor().getMessageType(1613);
     internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions_descriptor,
@@ -57482,7 +57541,7 @@ private static void _clinit_autosplit_dinit_3() {
               "ActionTokenSiteKeys", "SessionTokenSiteKeys",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyRuleNetworkMatcher_descriptor =
-        getDescriptor().getMessageType(1611);
+        getDescriptor().getMessageType(1614);
     internal_static_google_cloud_compute_v1_SecurityPolicyRuleNetworkMatcher_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyRuleNetworkMatcher_descriptor,
@@ -57497,7 +57556,7 @@ private static void _clinit_autosplit_dinit_3() {
               "UserDefinedFields",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch_descriptor =
-        getDescriptor().getMessageType(1612);
+        getDescriptor().getMessageType(1615);
     internal_static_google_cloud_compute_v1_SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch_descriptor,
@@ -57505,7 +57564,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Name", "Values",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyRulePreconfiguredWafConfig_descriptor =
-        getDescriptor().getMessageType(1613);
+        getDescriptor().getMessageType(1616);
     internal_static_google_cloud_compute_v1_SecurityPolicyRulePreconfiguredWafConfig_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyRulePreconfiguredWafConfig_descriptor,
@@ -57513,7 +57572,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Exclusions",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyRulePreconfiguredWafConfigExclusion_descriptor =
-        getDescriptor().getMessageType(1614);
+        getDescriptor().getMessageType(1617);
     internal_static_google_cloud_compute_v1_SecurityPolicyRulePreconfiguredWafConfigExclusion_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyRulePreconfiguredWafConfigExclusion_descriptor,
@@ -57526,7 +57585,7 @@ private static void _clinit_autosplit_dinit_3() {
               "TargetRuleSet",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams_descriptor =
-        getDescriptor().getMessageType(1615);
+        getDescriptor().getMessageType(1618);
     internal_static_google_cloud_compute_v1_SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams_descriptor,
@@ -57534,7 +57593,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Op", "Val",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyRuleRateLimitOptions_descriptor =
-        getDescriptor().getMessageType(1616);
+        getDescriptor().getMessageType(1619);
     internal_static_google_cloud_compute_v1_SecurityPolicyRuleRateLimitOptions_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyRuleRateLimitOptions_descriptor,
@@ -57550,7 +57609,7 @@ private static void _clinit_autosplit_dinit_3() {
               "RateLimitThreshold",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_descriptor =
-        getDescriptor().getMessageType(1617);
+        getDescriptor().getMessageType(1620);
     internal_static_google_cloud_compute_v1_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_descriptor,
@@ -57558,7 +57617,7 @@ private static void _clinit_autosplit_dinit_3() {
               "EnforceOnKeyName", "EnforceOnKeyType",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyRuleRateLimitOptionsThreshold_descriptor =
-        getDescriptor().getMessageType(1618);
+        getDescriptor().getMessageType(1621);
     internal_static_google_cloud_compute_v1_SecurityPolicyRuleRateLimitOptionsThreshold_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyRuleRateLimitOptionsThreshold_descriptor,
@@ -57566,7 +57625,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Count", "IntervalSec",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyRuleRedirectOptions_descriptor =
-        getDescriptor().getMessageType(1619);
+        getDescriptor().getMessageType(1622);
     internal_static_google_cloud_compute_v1_SecurityPolicyRuleRedirectOptions_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyRuleRedirectOptions_descriptor,
@@ -57574,7 +57633,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Target", "Type",
             });
     internal_static_google_cloud_compute_v1_SecurityPolicyUserDefinedField_descriptor =
-        getDescriptor().getMessageType(1620);
+        getDescriptor().getMessageType(1623);
     internal_static_google_cloud_compute_v1_SecurityPolicyUserDefinedField_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecurityPolicyUserDefinedField_descriptor,
@@ -57582,7 +57641,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Base", "Mask", "Name", "Offset", "Size",
             });
     internal_static_google_cloud_compute_v1_SecuritySettings_descriptor =
-        getDescriptor().getMessageType(1621);
+        getDescriptor().getMessageType(1624);
     internal_static_google_cloud_compute_v1_SecuritySettings_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SecuritySettings_descriptor,
@@ -57590,7 +57649,7 @@ private static void _clinit_autosplit_dinit_3() {
               "AwsV4Authentication", "ClientTlsPolicy", "SubjectAltNames",
             });
     internal_static_google_cloud_compute_v1_SendDiagnosticInterruptInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1622);
+        getDescriptor().getMessageType(1625);
     internal_static_google_cloud_compute_v1_SendDiagnosticInterruptInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SendDiagnosticInterruptInstanceRequest_descriptor,
@@ -57598,13 +57657,13 @@ private static void _clinit_autosplit_dinit_3() {
               "Instance", "Project", "Zone",
             });
     internal_static_google_cloud_compute_v1_SendDiagnosticInterruptInstanceResponse_descriptor =
-        getDescriptor().getMessageType(1623);
+        getDescriptor().getMessageType(1626);
     internal_static_google_cloud_compute_v1_SendDiagnosticInterruptInstanceResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SendDiagnosticInterruptInstanceResponse_descriptor,
             new java.lang.String[] {});
     internal_static_google_cloud_compute_v1_SerialPortOutput_descriptor =
-        getDescriptor().getMessageType(1624);
+        getDescriptor().getMessageType(1627);
     internal_static_google_cloud_compute_v1_SerialPortOutput_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SerialPortOutput_descriptor,
@@ -57612,7 +57671,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Contents", "Kind", "Next", "SelfLink", "Start",
             });
     internal_static_google_cloud_compute_v1_ServerBinding_descriptor =
-        getDescriptor().getMessageType(1625);
+        getDescriptor().getMessageType(1628);
     internal_static_google_cloud_compute_v1_ServerBinding_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ServerBinding_descriptor,
@@ -57620,7 +57679,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Type",
             });
     internal_static_google_cloud_compute_v1_ServiceAccount_descriptor =
-        getDescriptor().getMessageType(1626);
+        getDescriptor().getMessageType(1629);
     internal_static_google_cloud_compute_v1_ServiceAccount_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ServiceAccount_descriptor,
@@ -57628,7 +57687,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Email", "Scopes",
             });
     internal_static_google_cloud_compute_v1_ServiceAttachment_descriptor =
-        getDescriptor().getMessageType(1627);
+        getDescriptor().getMessageType(1630);
     internal_static_google_cloud_compute_v1_ServiceAttachment_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ServiceAttachment_descriptor,
@@ -57665,7 +57724,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_ServiceAttachmentAggregatedList_descriptor =
-        getDescriptor().getMessageType(1628);
+        getDescriptor().getMessageType(1631);
     internal_static_google_cloud_compute_v1_ServiceAttachmentAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ServiceAttachmentAggregatedList_descriptor,
@@ -57682,7 +57741,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_ServiceAttachmentConnectedEndpoint_descriptor =
-        getDescriptor().getMessageType(1629);
+        getDescriptor().getMessageType(1632);
     internal_static_google_cloud_compute_v1_ServiceAttachmentConnectedEndpoint_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ServiceAttachmentConnectedEndpoint_descriptor,
@@ -57696,7 +57755,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Status",
             });
     internal_static_google_cloud_compute_v1_ServiceAttachmentConsumerProjectLimit_descriptor =
-        getDescriptor().getMessageType(1630);
+        getDescriptor().getMessageType(1633);
     internal_static_google_cloud_compute_v1_ServiceAttachmentConsumerProjectLimit_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ServiceAttachmentConsumerProjectLimit_descriptor,
@@ -57704,7 +57763,7 @@ private static void _clinit_autosplit_dinit_3() {
               "ConnectionLimit", "EndpointUrl", "NetworkUrl", "ProjectIdOrNum",
             });
     internal_static_google_cloud_compute_v1_ServiceAttachmentList_descriptor =
-        getDescriptor().getMessageType(1631);
+        getDescriptor().getMessageType(1634);
     internal_static_google_cloud_compute_v1_ServiceAttachmentList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ServiceAttachmentList_descriptor,
@@ -57712,7 +57771,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_ServiceAttachmentsScopedList_descriptor =
-        getDescriptor().getMessageType(1632);
+        getDescriptor().getMessageType(1635);
     internal_static_google_cloud_compute_v1_ServiceAttachmentsScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ServiceAttachmentsScopedList_descriptor,
@@ -57720,7 +57779,7 @@ private static void _clinit_autosplit_dinit_3() {
               "ServiceAttachments", "Warning",
             });
     internal_static_google_cloud_compute_v1_SetBackendServiceTargetSslProxyRequest_descriptor =
-        getDescriptor().getMessageType(1633);
+        getDescriptor().getMessageType(1636);
     internal_static_google_cloud_compute_v1_SetBackendServiceTargetSslProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetBackendServiceTargetSslProxyRequest_descriptor,
@@ -57731,7 +57790,7 @@ private static void _clinit_autosplit_dinit_3() {
               "TargetSslProxy",
             });
     internal_static_google_cloud_compute_v1_SetBackendServiceTargetTcpProxyRequest_descriptor =
-        getDescriptor().getMessageType(1634);
+        getDescriptor().getMessageType(1637);
     internal_static_google_cloud_compute_v1_SetBackendServiceTargetTcpProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetBackendServiceTargetTcpProxyRequest_descriptor,
@@ -57742,7 +57801,7 @@ private static void _clinit_autosplit_dinit_3() {
               "TargetTcpProxy",
             });
     internal_static_google_cloud_compute_v1_SetBackupTargetPoolRequest_descriptor =
-        getDescriptor().getMessageType(1635);
+        getDescriptor().getMessageType(1638);
     internal_static_google_cloud_compute_v1_SetBackupTargetPoolRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetBackupTargetPoolRequest_descriptor,
@@ -57755,7 +57814,7 @@ private static void _clinit_autosplit_dinit_3() {
               "TargetReferenceResource",
             });
     internal_static_google_cloud_compute_v1_SetCertificateMapTargetHttpsProxyRequest_descriptor =
-        getDescriptor().getMessageType(1636);
+        getDescriptor().getMessageType(1639);
     internal_static_google_cloud_compute_v1_SetCertificateMapTargetHttpsProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetCertificateMapTargetHttpsProxyRequest_descriptor,
@@ -57766,7 +57825,7 @@ private static void _clinit_autosplit_dinit_3() {
               "TargetHttpsProxy",
             });
     internal_static_google_cloud_compute_v1_SetCertificateMapTargetSslProxyRequest_descriptor =
-        getDescriptor().getMessageType(1637);
+        getDescriptor().getMessageType(1640);
     internal_static_google_cloud_compute_v1_SetCertificateMapTargetSslProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetCertificateMapTargetSslProxyRequest_descriptor,
@@ -57777,7 +57836,7 @@ private static void _clinit_autosplit_dinit_3() {
               "TargetSslProxy",
             });
     internal_static_google_cloud_compute_v1_SetCloudArmorTierProjectRequest_descriptor =
-        getDescriptor().getMessageType(1638);
+        getDescriptor().getMessageType(1641);
     internal_static_google_cloud_compute_v1_SetCloudArmorTierProjectRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetCloudArmorTierProjectRequest_descriptor,
@@ -57785,7 +57844,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "ProjectsSetCloudArmorTierRequestResource", "RequestId",
             });
     internal_static_google_cloud_compute_v1_SetCommonInstanceMetadataOperationMetadata_descriptor =
-        getDescriptor().getMessageType(1639);
+        getDescriptor().getMessageType(1642);
     internal_static_google_cloud_compute_v1_SetCommonInstanceMetadataOperationMetadata_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetCommonInstanceMetadataOperationMetadata_descriptor,
@@ -57802,7 +57861,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo_descriptor =
-        getDescriptor().getMessageType(1640);
+        getDescriptor().getMessageType(1643);
     internal_static_google_cloud_compute_v1_SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo_descriptor,
@@ -57810,7 +57869,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Error", "State",
             });
     internal_static_google_cloud_compute_v1_SetCommonInstanceMetadataProjectRequest_descriptor =
-        getDescriptor().getMessageType(1641);
+        getDescriptor().getMessageType(1644);
     internal_static_google_cloud_compute_v1_SetCommonInstanceMetadataProjectRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetCommonInstanceMetadataProjectRequest_descriptor,
@@ -57818,7 +57877,7 @@ private static void _clinit_autosplit_dinit_3() {
               "MetadataResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_SetDefaultNetworkTierProjectRequest_descriptor =
-        getDescriptor().getMessageType(1642);
+        getDescriptor().getMessageType(1645);
     internal_static_google_cloud_compute_v1_SetDefaultNetworkTierProjectRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetDefaultNetworkTierProjectRequest_descriptor,
@@ -57826,7 +57885,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "ProjectsSetDefaultNetworkTierRequestResource", "RequestId",
             });
     internal_static_google_cloud_compute_v1_SetDeletionProtectionInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1643);
+        getDescriptor().getMessageType(1646);
     internal_static_google_cloud_compute_v1_SetDeletionProtectionInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetDeletionProtectionInstanceRequest_descriptor,
@@ -57834,7 +57893,7 @@ private static void _clinit_autosplit_dinit_3() {
               "DeletionProtection", "Project", "RequestId", "Resource", "Zone",
             });
     internal_static_google_cloud_compute_v1_SetDiskAutoDeleteInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1644);
+        getDescriptor().getMessageType(1647);
     internal_static_google_cloud_compute_v1_SetDiskAutoDeleteInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetDiskAutoDeleteInstanceRequest_descriptor,
@@ -57842,7 +57901,7 @@ private static void _clinit_autosplit_dinit_3() {
               "AutoDelete", "DeviceName", "Instance", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_SetEdgeSecurityPolicyBackendBucketRequest_descriptor =
-        getDescriptor().getMessageType(1645);
+        getDescriptor().getMessageType(1648);
     internal_static_google_cloud_compute_v1_SetEdgeSecurityPolicyBackendBucketRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetEdgeSecurityPolicyBackendBucketRequest_descriptor,
@@ -57850,7 +57909,7 @@ private static void _clinit_autosplit_dinit_3() {
               "BackendBucket", "Project", "RequestId", "SecurityPolicyReferenceResource",
             });
     internal_static_google_cloud_compute_v1_SetEdgeSecurityPolicyBackendServiceRequest_descriptor =
-        getDescriptor().getMessageType(1646);
+        getDescriptor().getMessageType(1649);
     internal_static_google_cloud_compute_v1_SetEdgeSecurityPolicyBackendServiceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetEdgeSecurityPolicyBackendServiceRequest_descriptor,
@@ -57858,7 +57917,7 @@ private static void _clinit_autosplit_dinit_3() {
               "BackendService", "Project", "RequestId", "SecurityPolicyReferenceResource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyBackendBucketRequest_descriptor =
-        getDescriptor().getMessageType(1647);
+        getDescriptor().getMessageType(1650);
     internal_static_google_cloud_compute_v1_SetIamPolicyBackendBucketRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyBackendBucketRequest_descriptor,
@@ -57866,7 +57925,7 @@ private static void _clinit_autosplit_dinit_3() {
               "GlobalSetPolicyRequestResource", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyBackendServiceRequest_descriptor =
-        getDescriptor().getMessageType(1648);
+        getDescriptor().getMessageType(1651);
     internal_static_google_cloud_compute_v1_SetIamPolicyBackendServiceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyBackendServiceRequest_descriptor,
@@ -57874,7 +57933,7 @@ private static void _clinit_autosplit_dinit_3() {
               "GlobalSetPolicyRequestResource", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyDiskRequest_descriptor =
-        getDescriptor().getMessageType(1649);
+        getDescriptor().getMessageType(1652);
     internal_static_google_cloud_compute_v1_SetIamPolicyDiskRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyDiskRequest_descriptor,
@@ -57882,7 +57941,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Resource", "Zone", "ZoneSetPolicyRequestResource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1650);
+        getDescriptor().getMessageType(1653);
     internal_static_google_cloud_compute_v1_SetIamPolicyFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyFirewallPolicyRequest_descriptor,
@@ -57890,7 +57949,7 @@ private static void _clinit_autosplit_dinit_3() {
               "GlobalOrganizationSetPolicyRequestResource", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyImageRequest_descriptor =
-        getDescriptor().getMessageType(1651);
+        getDescriptor().getMessageType(1654);
     internal_static_google_cloud_compute_v1_SetIamPolicyImageRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyImageRequest_descriptor,
@@ -57898,7 +57957,7 @@ private static void _clinit_autosplit_dinit_3() {
               "GlobalSetPolicyRequestResource", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1652);
+        getDescriptor().getMessageType(1655);
     internal_static_google_cloud_compute_v1_SetIamPolicyInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyInstanceRequest_descriptor,
@@ -57906,7 +57965,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Resource", "Zone", "ZoneSetPolicyRequestResource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyInstanceTemplateRequest_descriptor =
-        getDescriptor().getMessageType(1653);
+        getDescriptor().getMessageType(1656);
     internal_static_google_cloud_compute_v1_SetIamPolicyInstanceTemplateRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyInstanceTemplateRequest_descriptor,
@@ -57914,7 +57973,7 @@ private static void _clinit_autosplit_dinit_3() {
               "GlobalSetPolicyRequestResource", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyInstantSnapshotGroupRequest_descriptor =
-        getDescriptor().getMessageType(1654);
+        getDescriptor().getMessageType(1657);
     internal_static_google_cloud_compute_v1_SetIamPolicyInstantSnapshotGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyInstantSnapshotGroupRequest_descriptor,
@@ -57922,7 +57981,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Resource", "Zone", "ZoneSetPolicyRequestResource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyInstantSnapshotRequest_descriptor =
-        getDescriptor().getMessageType(1655);
+        getDescriptor().getMessageType(1658);
     internal_static_google_cloud_compute_v1_SetIamPolicyInstantSnapshotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyInstantSnapshotRequest_descriptor,
@@ -57930,7 +57989,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Resource", "Zone", "ZoneSetPolicyRequestResource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyInterconnectAttachmentGroupRequest_descriptor =
-        getDescriptor().getMessageType(1656);
+        getDescriptor().getMessageType(1659);
     internal_static_google_cloud_compute_v1_SetIamPolicyInterconnectAttachmentGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyInterconnectAttachmentGroupRequest_descriptor,
@@ -57938,7 +57997,7 @@ private static void _clinit_autosplit_dinit_3() {
               "GlobalSetPolicyRequestResource", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyInterconnectGroupRequest_descriptor =
-        getDescriptor().getMessageType(1657);
+        getDescriptor().getMessageType(1660);
     internal_static_google_cloud_compute_v1_SetIamPolicyInterconnectGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyInterconnectGroupRequest_descriptor,
@@ -57946,7 +58005,7 @@ private static void _clinit_autosplit_dinit_3() {
               "GlobalSetPolicyRequestResource", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyLicenseCodeRequest_descriptor =
-        getDescriptor().getMessageType(1658);
+        getDescriptor().getMessageType(1661);
     internal_static_google_cloud_compute_v1_SetIamPolicyLicenseCodeRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyLicenseCodeRequest_descriptor,
@@ -57954,7 +58013,7 @@ private static void _clinit_autosplit_dinit_3() {
               "GlobalSetPolicyRequestResource", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyLicenseRequest_descriptor =
-        getDescriptor().getMessageType(1659);
+        getDescriptor().getMessageType(1662);
     internal_static_google_cloud_compute_v1_SetIamPolicyLicenseRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyLicenseRequest_descriptor,
@@ -57962,7 +58021,7 @@ private static void _clinit_autosplit_dinit_3() {
               "GlobalSetPolicyRequestResource", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyMachineImageRequest_descriptor =
-        getDescriptor().getMessageType(1660);
+        getDescriptor().getMessageType(1663);
     internal_static_google_cloud_compute_v1_SetIamPolicyMachineImageRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyMachineImageRequest_descriptor,
@@ -57970,7 +58029,7 @@ private static void _clinit_autosplit_dinit_3() {
               "GlobalSetPolicyRequestResource", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyNetworkAttachmentRequest_descriptor =
-        getDescriptor().getMessageType(1661);
+        getDescriptor().getMessageType(1664);
     internal_static_google_cloud_compute_v1_SetIamPolicyNetworkAttachmentRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyNetworkAttachmentRequest_descriptor,
@@ -57978,7 +58037,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Region", "RegionSetPolicyRequestResource", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyNetworkFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1662);
+        getDescriptor().getMessageType(1665);
     internal_static_google_cloud_compute_v1_SetIamPolicyNetworkFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyNetworkFirewallPolicyRequest_descriptor,
@@ -57986,7 +58045,7 @@ private static void _clinit_autosplit_dinit_3() {
               "GlobalSetPolicyRequestResource", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyNodeGroupRequest_descriptor =
-        getDescriptor().getMessageType(1663);
+        getDescriptor().getMessageType(1666);
     internal_static_google_cloud_compute_v1_SetIamPolicyNodeGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyNodeGroupRequest_descriptor,
@@ -57994,7 +58053,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Resource", "Zone", "ZoneSetPolicyRequestResource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyNodeTemplateRequest_descriptor =
-        getDescriptor().getMessageType(1664);
+        getDescriptor().getMessageType(1667);
     internal_static_google_cloud_compute_v1_SetIamPolicyNodeTemplateRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyNodeTemplateRequest_descriptor,
@@ -58002,7 +58061,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Region", "RegionSetPolicyRequestResource", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyRegionBackendBucketRequest_descriptor =
-        getDescriptor().getMessageType(1665);
+        getDescriptor().getMessageType(1668);
     internal_static_google_cloud_compute_v1_SetIamPolicyRegionBackendBucketRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyRegionBackendBucketRequest_descriptor,
@@ -58010,7 +58069,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Region", "RegionSetPolicyRequestResource", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyRegionBackendServiceRequest_descriptor =
-        getDescriptor().getMessageType(1666);
+        getDescriptor().getMessageType(1669);
     internal_static_google_cloud_compute_v1_SetIamPolicyRegionBackendServiceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyRegionBackendServiceRequest_descriptor,
@@ -58018,7 +58077,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Region", "RegionSetPolicyRequestResource", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyRegionDiskRequest_descriptor =
-        getDescriptor().getMessageType(1667);
+        getDescriptor().getMessageType(1670);
     internal_static_google_cloud_compute_v1_SetIamPolicyRegionDiskRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyRegionDiskRequest_descriptor,
@@ -58026,7 +58085,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Region", "RegionSetPolicyRequestResource", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyRegionInstantSnapshotGroupRequest_descriptor =
-        getDescriptor().getMessageType(1668);
+        getDescriptor().getMessageType(1671);
     internal_static_google_cloud_compute_v1_SetIamPolicyRegionInstantSnapshotGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyRegionInstantSnapshotGroupRequest_descriptor,
@@ -58034,7 +58093,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Region", "RegionSetPolicyRequestResource", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyRegionInstantSnapshotRequest_descriptor =
-        getDescriptor().getMessageType(1669);
+        getDescriptor().getMessageType(1672);
     internal_static_google_cloud_compute_v1_SetIamPolicyRegionInstantSnapshotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyRegionInstantSnapshotRequest_descriptor,
@@ -58042,7 +58101,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Region", "RegionSetPolicyRequestResource", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyRegionNetworkFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1670);
+        getDescriptor().getMessageType(1673);
     internal_static_google_cloud_compute_v1_SetIamPolicyRegionNetworkFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyRegionNetworkFirewallPolicyRequest_descriptor,
@@ -58050,7 +58109,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Region", "RegionSetPolicyRequestResource", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyRegionSnapshotRequest_descriptor =
-        getDescriptor().getMessageType(1671);
+        getDescriptor().getMessageType(1674);
     internal_static_google_cloud_compute_v1_SetIamPolicyRegionSnapshotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyRegionSnapshotRequest_descriptor,
@@ -58058,7 +58117,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Region", "RegionSetPolicyRequestResource", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyReservationBlockRequest_descriptor =
-        getDescriptor().getMessageType(1672);
+        getDescriptor().getMessageType(1675);
     internal_static_google_cloud_compute_v1_SetIamPolicyReservationBlockRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyReservationBlockRequest_descriptor,
@@ -58066,7 +58125,7 @@ private static void _clinit_autosplit_dinit_3() {
               "ParentResource", "Project", "Resource", "Zone", "ZoneSetNestedPolicyRequestResource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyReservationRequest_descriptor =
-        getDescriptor().getMessageType(1673);
+        getDescriptor().getMessageType(1676);
     internal_static_google_cloud_compute_v1_SetIamPolicyReservationRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyReservationRequest_descriptor,
@@ -58074,7 +58133,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Resource", "Zone", "ZoneSetPolicyRequestResource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyReservationSubBlockRequest_descriptor =
-        getDescriptor().getMessageType(1674);
+        getDescriptor().getMessageType(1677);
     internal_static_google_cloud_compute_v1_SetIamPolicyReservationSubBlockRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyReservationSubBlockRequest_descriptor,
@@ -58082,7 +58141,7 @@ private static void _clinit_autosplit_dinit_3() {
               "ParentResource", "Project", "Resource", "Zone", "ZoneSetNestedPolicyRequestResource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyResourcePolicyRequest_descriptor =
-        getDescriptor().getMessageType(1675);
+        getDescriptor().getMessageType(1678);
     internal_static_google_cloud_compute_v1_SetIamPolicyResourcePolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyResourcePolicyRequest_descriptor,
@@ -58090,7 +58149,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Region", "RegionSetPolicyRequestResource", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyServiceAttachmentRequest_descriptor =
-        getDescriptor().getMessageType(1676);
+        getDescriptor().getMessageType(1679);
     internal_static_google_cloud_compute_v1_SetIamPolicyServiceAttachmentRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyServiceAttachmentRequest_descriptor,
@@ -58098,7 +58157,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Region", "RegionSetPolicyRequestResource", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicySnapshotRequest_descriptor =
-        getDescriptor().getMessageType(1677);
+        getDescriptor().getMessageType(1680);
     internal_static_google_cloud_compute_v1_SetIamPolicySnapshotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicySnapshotRequest_descriptor,
@@ -58106,7 +58165,7 @@ private static void _clinit_autosplit_dinit_3() {
               "GlobalSetPolicyRequestResource", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicyStoragePoolRequest_descriptor =
-        getDescriptor().getMessageType(1678);
+        getDescriptor().getMessageType(1681);
     internal_static_google_cloud_compute_v1_SetIamPolicyStoragePoolRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicyStoragePoolRequest_descriptor,
@@ -58114,7 +58173,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Resource", "Zone", "ZoneSetPolicyRequestResource",
             });
     internal_static_google_cloud_compute_v1_SetIamPolicySubnetworkRequest_descriptor =
-        getDescriptor().getMessageType(1679);
+        getDescriptor().getMessageType(1682);
     internal_static_google_cloud_compute_v1_SetIamPolicySubnetworkRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetIamPolicySubnetworkRequest_descriptor,
@@ -58122,7 +58181,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Region", "RegionSetPolicyRequestResource", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetInstanceTemplateInstanceGroupManagerRequest_descriptor =
-        getDescriptor().getMessageType(1680);
+        getDescriptor().getMessageType(1683);
     internal_static_google_cloud_compute_v1_SetInstanceTemplateInstanceGroupManagerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetInstanceTemplateInstanceGroupManagerRequest_descriptor,
@@ -58134,7 +58193,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_SetInstanceTemplateRegionInstanceGroupManagerRequest_descriptor =
-        getDescriptor().getMessageType(1681);
+        getDescriptor().getMessageType(1684);
     internal_static_google_cloud_compute_v1_SetInstanceTemplateRegionInstanceGroupManagerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetInstanceTemplateRegionInstanceGroupManagerRequest_descriptor,
@@ -58146,7 +58205,7 @@ private static void _clinit_autosplit_dinit_3() {
               "RequestId",
             });
     internal_static_google_cloud_compute_v1_SetLabelsAddressRequest_descriptor =
-        getDescriptor().getMessageType(1682);
+        getDescriptor().getMessageType(1685);
     internal_static_google_cloud_compute_v1_SetLabelsAddressRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetLabelsAddressRequest_descriptor,
@@ -58154,7 +58213,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Region", "RegionSetLabelsRequestResource", "RequestId", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetLabelsDiskRequest_descriptor =
-        getDescriptor().getMessageType(1683);
+        getDescriptor().getMessageType(1686);
     internal_static_google_cloud_compute_v1_SetLabelsDiskRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetLabelsDiskRequest_descriptor,
@@ -58162,7 +58221,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "RequestId", "Resource", "Zone", "ZoneSetLabelsRequestResource",
             });
     internal_static_google_cloud_compute_v1_SetLabelsExternalVpnGatewayRequest_descriptor =
-        getDescriptor().getMessageType(1684);
+        getDescriptor().getMessageType(1687);
     internal_static_google_cloud_compute_v1_SetLabelsExternalVpnGatewayRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetLabelsExternalVpnGatewayRequest_descriptor,
@@ -58170,7 +58229,7 @@ private static void _clinit_autosplit_dinit_3() {
               "GlobalSetLabelsRequestResource", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetLabelsForwardingRuleRequest_descriptor =
-        getDescriptor().getMessageType(1685);
+        getDescriptor().getMessageType(1688);
     internal_static_google_cloud_compute_v1_SetLabelsForwardingRuleRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetLabelsForwardingRuleRequest_descriptor,
@@ -58178,7 +58237,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Region", "RegionSetLabelsRequestResource", "RequestId", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetLabelsGlobalAddressRequest_descriptor =
-        getDescriptor().getMessageType(1686);
+        getDescriptor().getMessageType(1689);
     internal_static_google_cloud_compute_v1_SetLabelsGlobalAddressRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetLabelsGlobalAddressRequest_descriptor,
@@ -58186,7 +58245,7 @@ private static void _clinit_autosplit_dinit_3() {
               "GlobalSetLabelsRequestResource", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetLabelsGlobalForwardingRuleRequest_descriptor =
-        getDescriptor().getMessageType(1687);
+        getDescriptor().getMessageType(1690);
     internal_static_google_cloud_compute_v1_SetLabelsGlobalForwardingRuleRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetLabelsGlobalForwardingRuleRequest_descriptor,
@@ -58194,7 +58253,7 @@ private static void _clinit_autosplit_dinit_3() {
               "GlobalSetLabelsRequestResource", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetLabelsImageRequest_descriptor =
-        getDescriptor().getMessageType(1688);
+        getDescriptor().getMessageType(1691);
     internal_static_google_cloud_compute_v1_SetLabelsImageRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetLabelsImageRequest_descriptor,
@@ -58202,7 +58261,7 @@ private static void _clinit_autosplit_dinit_3() {
               "GlobalSetLabelsRequestResource", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetLabelsInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1689);
+        getDescriptor().getMessageType(1692);
     internal_static_google_cloud_compute_v1_SetLabelsInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetLabelsInstanceRequest_descriptor,
@@ -58210,7 +58269,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Instance", "InstancesSetLabelsRequestResource", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_SetLabelsInstantSnapshotRequest_descriptor =
-        getDescriptor().getMessageType(1690);
+        getDescriptor().getMessageType(1693);
     internal_static_google_cloud_compute_v1_SetLabelsInstantSnapshotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetLabelsInstantSnapshotRequest_descriptor,
@@ -58218,7 +58277,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "RequestId", "Resource", "Zone", "ZoneSetLabelsRequestResource",
             });
     internal_static_google_cloud_compute_v1_SetLabelsInterconnectAttachmentRequest_descriptor =
-        getDescriptor().getMessageType(1691);
+        getDescriptor().getMessageType(1694);
     internal_static_google_cloud_compute_v1_SetLabelsInterconnectAttachmentRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetLabelsInterconnectAttachmentRequest_descriptor,
@@ -58226,7 +58285,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Region", "RegionSetLabelsRequestResource", "RequestId", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetLabelsInterconnectRequest_descriptor =
-        getDescriptor().getMessageType(1692);
+        getDescriptor().getMessageType(1695);
     internal_static_google_cloud_compute_v1_SetLabelsInterconnectRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetLabelsInterconnectRequest_descriptor,
@@ -58234,7 +58293,7 @@ private static void _clinit_autosplit_dinit_3() {
               "GlobalSetLabelsRequestResource", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetLabelsMachineImageRequest_descriptor =
-        getDescriptor().getMessageType(1693);
+        getDescriptor().getMessageType(1696);
     internal_static_google_cloud_compute_v1_SetLabelsMachineImageRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetLabelsMachineImageRequest_descriptor,
@@ -58242,7 +58301,7 @@ private static void _clinit_autosplit_dinit_3() {
               "GlobalSetLabelsRequestResource", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetLabelsRegionDiskRequest_descriptor =
-        getDescriptor().getMessageType(1694);
+        getDescriptor().getMessageType(1697);
     internal_static_google_cloud_compute_v1_SetLabelsRegionDiskRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetLabelsRegionDiskRequest_descriptor,
@@ -58250,7 +58309,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Region", "RegionSetLabelsRequestResource", "RequestId", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetLabelsRegionInstantSnapshotRequest_descriptor =
-        getDescriptor().getMessageType(1695);
+        getDescriptor().getMessageType(1698);
     internal_static_google_cloud_compute_v1_SetLabelsRegionInstantSnapshotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetLabelsRegionInstantSnapshotRequest_descriptor,
@@ -58258,7 +58317,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Region", "RegionSetLabelsRequestResource", "RequestId", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetLabelsRegionSecurityPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1696);
+        getDescriptor().getMessageType(1699);
     internal_static_google_cloud_compute_v1_SetLabelsRegionSecurityPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetLabelsRegionSecurityPolicyRequest_descriptor,
@@ -58266,7 +58325,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Region", "RegionSetLabelsRequestResource", "RequestId", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetLabelsRegionSnapshotRequest_descriptor =
-        getDescriptor().getMessageType(1697);
+        getDescriptor().getMessageType(1700);
     internal_static_google_cloud_compute_v1_SetLabelsRegionSnapshotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetLabelsRegionSnapshotRequest_descriptor,
@@ -58274,7 +58333,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Region", "RegionSetLabelsRequestResource", "RequestId", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetLabelsSecurityPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1698);
+        getDescriptor().getMessageType(1701);
     internal_static_google_cloud_compute_v1_SetLabelsSecurityPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetLabelsSecurityPolicyRequest_descriptor,
@@ -58282,7 +58341,7 @@ private static void _clinit_autosplit_dinit_3() {
               "GlobalSetLabelsRequestResource", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetLabelsSnapshotRequest_descriptor =
-        getDescriptor().getMessageType(1699);
+        getDescriptor().getMessageType(1702);
     internal_static_google_cloud_compute_v1_SetLabelsSnapshotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetLabelsSnapshotRequest_descriptor,
@@ -58290,7 +58349,7 @@ private static void _clinit_autosplit_dinit_3() {
               "GlobalSetLabelsRequestResource", "Project", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetLabelsTargetVpnGatewayRequest_descriptor =
-        getDescriptor().getMessageType(1700);
+        getDescriptor().getMessageType(1703);
     internal_static_google_cloud_compute_v1_SetLabelsTargetVpnGatewayRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetLabelsTargetVpnGatewayRequest_descriptor,
@@ -58298,7 +58357,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Region", "RegionSetLabelsRequestResource", "RequestId", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetLabelsVpnGatewayRequest_descriptor =
-        getDescriptor().getMessageType(1701);
+        getDescriptor().getMessageType(1704);
     internal_static_google_cloud_compute_v1_SetLabelsVpnGatewayRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetLabelsVpnGatewayRequest_descriptor,
@@ -58306,7 +58365,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Region", "RegionSetLabelsRequestResource", "RequestId", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetLabelsVpnTunnelRequest_descriptor =
-        getDescriptor().getMessageType(1702);
+        getDescriptor().getMessageType(1705);
     internal_static_google_cloud_compute_v1_SetLabelsVpnTunnelRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetLabelsVpnTunnelRequest_descriptor,
@@ -58314,7 +58373,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Region", "RegionSetLabelsRequestResource", "RequestId", "Resource",
             });
     internal_static_google_cloud_compute_v1_SetMachineResourcesInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1703);
+        getDescriptor().getMessageType(1706);
     internal_static_google_cloud_compute_v1_SetMachineResourcesInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetMachineResourcesInstanceRequest_descriptor,
@@ -58326,7 +58385,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_SetMachineTypeInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1704);
+        getDescriptor().getMessageType(1707);
     internal_static_google_cloud_compute_v1_SetMachineTypeInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetMachineTypeInstanceRequest_descriptor,
@@ -58334,7 +58393,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Instance", "InstancesSetMachineTypeRequestResource", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_SetMetadataInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1705);
+        getDescriptor().getMessageType(1708);
     internal_static_google_cloud_compute_v1_SetMetadataInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetMetadataInstanceRequest_descriptor,
@@ -58342,7 +58401,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Instance", "MetadataResource", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_SetMinCpuPlatformInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1706);
+        getDescriptor().getMessageType(1709);
     internal_static_google_cloud_compute_v1_SetMinCpuPlatformInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetMinCpuPlatformInstanceRequest_descriptor,
@@ -58354,7 +58413,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_SetNameInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1707);
+        getDescriptor().getMessageType(1710);
     internal_static_google_cloud_compute_v1_SetNameInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetNameInstanceRequest_descriptor,
@@ -58362,7 +58421,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Instance", "InstancesSetNameRequestResource", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_SetNamedPortsInstanceGroupRequest_descriptor =
-        getDescriptor().getMessageType(1708);
+        getDescriptor().getMessageType(1711);
     internal_static_google_cloud_compute_v1_SetNamedPortsInstanceGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetNamedPortsInstanceGroupRequest_descriptor,
@@ -58374,7 +58433,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_SetNamedPortsRegionInstanceGroupRequest_descriptor =
-        getDescriptor().getMessageType(1709);
+        getDescriptor().getMessageType(1712);
     internal_static_google_cloud_compute_v1_SetNamedPortsRegionInstanceGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetNamedPortsRegionInstanceGroupRequest_descriptor,
@@ -58386,7 +58445,7 @@ private static void _clinit_autosplit_dinit_3() {
               "RequestId",
             });
     internal_static_google_cloud_compute_v1_SetNodeTemplateNodeGroupRequest_descriptor =
-        getDescriptor().getMessageType(1710);
+        getDescriptor().getMessageType(1713);
     internal_static_google_cloud_compute_v1_SetNodeTemplateNodeGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetNodeTemplateNodeGroupRequest_descriptor,
@@ -58398,7 +58457,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_SetPrivateIpGoogleAccessSubnetworkRequest_descriptor =
-        getDescriptor().getMessageType(1711);
+        getDescriptor().getMessageType(1714);
     internal_static_google_cloud_compute_v1_SetPrivateIpGoogleAccessSubnetworkRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetPrivateIpGoogleAccessSubnetworkRequest_descriptor,
@@ -58410,7 +58469,7 @@ private static void _clinit_autosplit_dinit_3() {
               "SubnetworksSetPrivateIpGoogleAccessRequestResource",
             });
     internal_static_google_cloud_compute_v1_SetProxyHeaderTargetSslProxyRequest_descriptor =
-        getDescriptor().getMessageType(1712);
+        getDescriptor().getMessageType(1715);
     internal_static_google_cloud_compute_v1_SetProxyHeaderTargetSslProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetProxyHeaderTargetSslProxyRequest_descriptor,
@@ -58421,7 +58480,7 @@ private static void _clinit_autosplit_dinit_3() {
               "TargetSslProxy",
             });
     internal_static_google_cloud_compute_v1_SetProxyHeaderTargetTcpProxyRequest_descriptor =
-        getDescriptor().getMessageType(1713);
+        getDescriptor().getMessageType(1716);
     internal_static_google_cloud_compute_v1_SetProxyHeaderTargetTcpProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetProxyHeaderTargetTcpProxyRequest_descriptor,
@@ -58432,7 +58491,7 @@ private static void _clinit_autosplit_dinit_3() {
               "TargetTcpProxy",
             });
     internal_static_google_cloud_compute_v1_SetQuicOverrideTargetHttpsProxyRequest_descriptor =
-        getDescriptor().getMessageType(1714);
+        getDescriptor().getMessageType(1717);
     internal_static_google_cloud_compute_v1_SetQuicOverrideTargetHttpsProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetQuicOverrideTargetHttpsProxyRequest_descriptor,
@@ -58443,7 +58502,7 @@ private static void _clinit_autosplit_dinit_3() {
               "TargetHttpsProxy",
             });
     internal_static_google_cloud_compute_v1_SetSchedulingInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1715);
+        getDescriptor().getMessageType(1718);
     internal_static_google_cloud_compute_v1_SetSchedulingInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetSchedulingInstanceRequest_descriptor,
@@ -58451,7 +58510,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Instance", "Project", "RequestId", "SchedulingResource", "Zone",
             });
     internal_static_google_cloud_compute_v1_SetSecurityPolicyBackendServiceRequest_descriptor =
-        getDescriptor().getMessageType(1716);
+        getDescriptor().getMessageType(1719);
     internal_static_google_cloud_compute_v1_SetSecurityPolicyBackendServiceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetSecurityPolicyBackendServiceRequest_descriptor,
@@ -58459,7 +58518,7 @@ private static void _clinit_autosplit_dinit_3() {
               "BackendService", "Project", "RequestId", "SecurityPolicyReferenceResource",
             });
     internal_static_google_cloud_compute_v1_SetSecurityPolicyInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1717);
+        getDescriptor().getMessageType(1720);
     internal_static_google_cloud_compute_v1_SetSecurityPolicyInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetSecurityPolicyInstanceRequest_descriptor,
@@ -58471,7 +58530,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_SetSecurityPolicyRegionBackendServiceRequest_descriptor =
-        getDescriptor().getMessageType(1718);
+        getDescriptor().getMessageType(1721);
     internal_static_google_cloud_compute_v1_SetSecurityPolicyRegionBackendServiceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetSecurityPolicyRegionBackendServiceRequest_descriptor,
@@ -58479,7 +58538,7 @@ private static void _clinit_autosplit_dinit_3() {
               "BackendService", "Project", "Region", "RequestId", "SecurityPolicyReferenceResource",
             });
     internal_static_google_cloud_compute_v1_SetSecurityPolicyTargetInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1719);
+        getDescriptor().getMessageType(1722);
     internal_static_google_cloud_compute_v1_SetSecurityPolicyTargetInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetSecurityPolicyTargetInstanceRequest_descriptor,
@@ -58487,7 +58546,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "RequestId", "SecurityPolicyReferenceResource", "TargetInstance", "Zone",
             });
     internal_static_google_cloud_compute_v1_SetSecurityPolicyTargetPoolRequest_descriptor =
-        getDescriptor().getMessageType(1720);
+        getDescriptor().getMessageType(1723);
     internal_static_google_cloud_compute_v1_SetSecurityPolicyTargetPoolRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetSecurityPolicyTargetPoolRequest_descriptor,
@@ -58495,7 +58554,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Region", "RequestId", "SecurityPolicyReferenceResource", "TargetPool",
             });
     internal_static_google_cloud_compute_v1_SetServiceAccountInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1721);
+        getDescriptor().getMessageType(1724);
     internal_static_google_cloud_compute_v1_SetServiceAccountInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetServiceAccountInstanceRequest_descriptor,
@@ -58507,7 +58566,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_SetShieldedInstanceIntegrityPolicyInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1722);
+        getDescriptor().getMessageType(1725);
     internal_static_google_cloud_compute_v1_SetShieldedInstanceIntegrityPolicyInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetShieldedInstanceIntegrityPolicyInstanceRequest_descriptor,
@@ -58515,7 +58574,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Instance", "Project", "RequestId", "ShieldedInstanceIntegrityPolicyResource", "Zone",
             });
     internal_static_google_cloud_compute_v1_SetSslCertificatesRegionTargetHttpsProxyRequest_descriptor =
-        getDescriptor().getMessageType(1723);
+        getDescriptor().getMessageType(1726);
     internal_static_google_cloud_compute_v1_SetSslCertificatesRegionTargetHttpsProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetSslCertificatesRegionTargetHttpsProxyRequest_descriptor,
@@ -58527,7 +58586,7 @@ private static void _clinit_autosplit_dinit_3() {
               "TargetHttpsProxy",
             });
     internal_static_google_cloud_compute_v1_SetSslCertificatesTargetHttpsProxyRequest_descriptor =
-        getDescriptor().getMessageType(1724);
+        getDescriptor().getMessageType(1727);
     internal_static_google_cloud_compute_v1_SetSslCertificatesTargetHttpsProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetSslCertificatesTargetHttpsProxyRequest_descriptor,
@@ -58538,7 +58597,7 @@ private static void _clinit_autosplit_dinit_3() {
               "TargetHttpsProxy",
             });
     internal_static_google_cloud_compute_v1_SetSslCertificatesTargetSslProxyRequest_descriptor =
-        getDescriptor().getMessageType(1725);
+        getDescriptor().getMessageType(1728);
     internal_static_google_cloud_compute_v1_SetSslCertificatesTargetSslProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetSslCertificatesTargetSslProxyRequest_descriptor,
@@ -58549,7 +58608,7 @@ private static void _clinit_autosplit_dinit_3() {
               "TargetSslProxy",
             });
     internal_static_google_cloud_compute_v1_SetSslPolicyTargetHttpsProxyRequest_descriptor =
-        getDescriptor().getMessageType(1726);
+        getDescriptor().getMessageType(1729);
     internal_static_google_cloud_compute_v1_SetSslPolicyTargetHttpsProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetSslPolicyTargetHttpsProxyRequest_descriptor,
@@ -58557,7 +58616,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "RequestId", "SslPolicyReferenceResource", "TargetHttpsProxy",
             });
     internal_static_google_cloud_compute_v1_SetSslPolicyTargetSslProxyRequest_descriptor =
-        getDescriptor().getMessageType(1727);
+        getDescriptor().getMessageType(1730);
     internal_static_google_cloud_compute_v1_SetSslPolicyTargetSslProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetSslPolicyTargetSslProxyRequest_descriptor,
@@ -58565,7 +58624,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "RequestId", "SslPolicyReferenceResource", "TargetSslProxy",
             });
     internal_static_google_cloud_compute_v1_SetTagsInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1728);
+        getDescriptor().getMessageType(1731);
     internal_static_google_cloud_compute_v1_SetTagsInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetTagsInstanceRequest_descriptor,
@@ -58573,7 +58632,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Instance", "Project", "RequestId", "TagsResource", "Zone",
             });
     internal_static_google_cloud_compute_v1_SetTargetForwardingRuleRequest_descriptor =
-        getDescriptor().getMessageType(1729);
+        getDescriptor().getMessageType(1732);
     internal_static_google_cloud_compute_v1_SetTargetForwardingRuleRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetTargetForwardingRuleRequest_descriptor,
@@ -58581,7 +58640,7 @@ private static void _clinit_autosplit_dinit_3() {
               "ForwardingRule", "Project", "Region", "RequestId", "TargetReferenceResource",
             });
     internal_static_google_cloud_compute_v1_SetTargetGlobalForwardingRuleRequest_descriptor =
-        getDescriptor().getMessageType(1730);
+        getDescriptor().getMessageType(1733);
     internal_static_google_cloud_compute_v1_SetTargetGlobalForwardingRuleRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetTargetGlobalForwardingRuleRequest_descriptor,
@@ -58589,7 +58648,7 @@ private static void _clinit_autosplit_dinit_3() {
               "ForwardingRule", "Project", "RequestId", "TargetReferenceResource",
             });
     internal_static_google_cloud_compute_v1_SetTargetPoolsInstanceGroupManagerRequest_descriptor =
-        getDescriptor().getMessageType(1731);
+        getDescriptor().getMessageType(1734);
     internal_static_google_cloud_compute_v1_SetTargetPoolsInstanceGroupManagerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetTargetPoolsInstanceGroupManagerRequest_descriptor,
@@ -58601,7 +58660,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_SetTargetPoolsRegionInstanceGroupManagerRequest_descriptor =
-        getDescriptor().getMessageType(1732);
+        getDescriptor().getMessageType(1735);
     internal_static_google_cloud_compute_v1_SetTargetPoolsRegionInstanceGroupManagerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetTargetPoolsRegionInstanceGroupManagerRequest_descriptor,
@@ -58613,7 +58672,7 @@ private static void _clinit_autosplit_dinit_3() {
               "RequestId",
             });
     internal_static_google_cloud_compute_v1_SetUrlMapRegionTargetHttpProxyRequest_descriptor =
-        getDescriptor().getMessageType(1733);
+        getDescriptor().getMessageType(1736);
     internal_static_google_cloud_compute_v1_SetUrlMapRegionTargetHttpProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetUrlMapRegionTargetHttpProxyRequest_descriptor,
@@ -58621,7 +58680,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Region", "RequestId", "TargetHttpProxy", "UrlMapReferenceResource",
             });
     internal_static_google_cloud_compute_v1_SetUrlMapRegionTargetHttpsProxyRequest_descriptor =
-        getDescriptor().getMessageType(1734);
+        getDescriptor().getMessageType(1737);
     internal_static_google_cloud_compute_v1_SetUrlMapRegionTargetHttpsProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetUrlMapRegionTargetHttpsProxyRequest_descriptor,
@@ -58629,7 +58688,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "Region", "RequestId", "TargetHttpsProxy", "UrlMapReferenceResource",
             });
     internal_static_google_cloud_compute_v1_SetUrlMapTargetHttpProxyRequest_descriptor =
-        getDescriptor().getMessageType(1735);
+        getDescriptor().getMessageType(1738);
     internal_static_google_cloud_compute_v1_SetUrlMapTargetHttpProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetUrlMapTargetHttpProxyRequest_descriptor,
@@ -58637,7 +58696,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "RequestId", "TargetHttpProxy", "UrlMapReferenceResource",
             });
     internal_static_google_cloud_compute_v1_SetUrlMapTargetHttpsProxyRequest_descriptor =
-        getDescriptor().getMessageType(1736);
+        getDescriptor().getMessageType(1739);
     internal_static_google_cloud_compute_v1_SetUrlMapTargetHttpsProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetUrlMapTargetHttpsProxyRequest_descriptor,
@@ -58645,7 +58704,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "RequestId", "TargetHttpsProxy", "UrlMapReferenceResource",
             });
     internal_static_google_cloud_compute_v1_SetUsageExportBucketProjectRequest_descriptor =
-        getDescriptor().getMessageType(1737);
+        getDescriptor().getMessageType(1740);
     internal_static_google_cloud_compute_v1_SetUsageExportBucketProjectRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SetUsageExportBucketProjectRequest_descriptor,
@@ -58653,7 +58712,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Project", "RequestId", "UsageExportLocationResource",
             });
     internal_static_google_cloud_compute_v1_ShareSettings_descriptor =
-        getDescriptor().getMessageType(1738);
+        getDescriptor().getMessageType(1741);
     internal_static_google_cloud_compute_v1_ShareSettings_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ShareSettings_descriptor,
@@ -58669,7 +58728,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_ShareSettingsProjectConfig_descriptor =
-        getDescriptor().getMessageType(1739);
+        getDescriptor().getMessageType(1742);
     internal_static_google_cloud_compute_v1_ShareSettingsProjectConfig_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ShareSettingsProjectConfig_descriptor,
@@ -58677,7 +58736,7 @@ private static void _clinit_autosplit_dinit_3() {
               "ProjectId",
             });
     internal_static_google_cloud_compute_v1_ShieldedInstanceConfig_descriptor =
-        getDescriptor().getMessageType(1740);
+        getDescriptor().getMessageType(1743);
     internal_static_google_cloud_compute_v1_ShieldedInstanceConfig_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ShieldedInstanceConfig_descriptor,
@@ -58685,7 +58744,7 @@ private static void _clinit_autosplit_dinit_3() {
               "EnableIntegrityMonitoring", "EnableSecureBoot", "EnableVtpm",
             });
     internal_static_google_cloud_compute_v1_ShieldedInstanceIdentity_descriptor =
-        getDescriptor().getMessageType(1741);
+        getDescriptor().getMessageType(1744);
     internal_static_google_cloud_compute_v1_ShieldedInstanceIdentity_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ShieldedInstanceIdentity_descriptor,
@@ -58693,7 +58752,7 @@ private static void _clinit_autosplit_dinit_3() {
               "EccP256EncryptionKey", "EccP256SigningKey", "EncryptionKey", "Kind", "SigningKey",
             });
     internal_static_google_cloud_compute_v1_ShieldedInstanceIdentityEntry_descriptor =
-        getDescriptor().getMessageType(1742);
+        getDescriptor().getMessageType(1745);
     internal_static_google_cloud_compute_v1_ShieldedInstanceIdentityEntry_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ShieldedInstanceIdentityEntry_descriptor,
@@ -58701,7 +58760,7 @@ private static void _clinit_autosplit_dinit_3() {
               "EkCert", "EkPub",
             });
     internal_static_google_cloud_compute_v1_ShieldedInstanceIntegrityPolicy_descriptor =
-        getDescriptor().getMessageType(1743);
+        getDescriptor().getMessageType(1746);
     internal_static_google_cloud_compute_v1_ShieldedInstanceIntegrityPolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ShieldedInstanceIntegrityPolicy_descriptor,
@@ -58709,7 +58768,7 @@ private static void _clinit_autosplit_dinit_3() {
               "UpdateAutoLearnPolicy",
             });
     internal_static_google_cloud_compute_v1_SignedUrlKey_descriptor =
-        getDescriptor().getMessageType(1744);
+        getDescriptor().getMessageType(1747);
     internal_static_google_cloud_compute_v1_SignedUrlKey_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SignedUrlKey_descriptor,
@@ -58717,7 +58776,7 @@ private static void _clinit_autosplit_dinit_3() {
               "KeyName", "KeyValue",
             });
     internal_static_google_cloud_compute_v1_SimulateMaintenanceEventInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1745);
+        getDescriptor().getMessageType(1748);
     internal_static_google_cloud_compute_v1_SimulateMaintenanceEventInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SimulateMaintenanceEventInstanceRequest_descriptor,
@@ -58725,7 +58784,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Instance", "Project", "RequestId", "WithExtendedNotifications", "Zone",
             });
     internal_static_google_cloud_compute_v1_SimulateMaintenanceEventNodeGroupRequest_descriptor =
-        getDescriptor().getMessageType(1746);
+        getDescriptor().getMessageType(1749);
     internal_static_google_cloud_compute_v1_SimulateMaintenanceEventNodeGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SimulateMaintenanceEventNodeGroupRequest_descriptor,
@@ -58737,7 +58796,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_Snapshot_descriptor =
-        getDescriptor().getMessageType(1747);
+        getDescriptor().getMessageType(1750);
     internal_static_google_cloud_compute_v1_Snapshot_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Snapshot_descriptor,
@@ -58793,7 +58852,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_SnapshotGroupParameters_descriptor =
-        getDescriptor().getMessageType(1748);
+        getDescriptor().getMessageType(1751);
     internal_static_google_cloud_compute_v1_SnapshotGroupParameters_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SnapshotGroupParameters_descriptor,
@@ -58801,7 +58860,7 @@ private static void _clinit_autosplit_dinit_3() {
               "ReplicaZones", "SourceSnapshotGroup", "Type",
             });
     internal_static_google_cloud_compute_v1_SnapshotList_descriptor =
-        getDescriptor().getMessageType(1749);
+        getDescriptor().getMessageType(1752);
     internal_static_google_cloud_compute_v1_SnapshotList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SnapshotList_descriptor,
@@ -58809,7 +58868,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_SnapshotParams_descriptor =
-        getDescriptor().getMessageType(1750);
+        getDescriptor().getMessageType(1753);
     internal_static_google_cloud_compute_v1_SnapshotParams_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SnapshotParams_descriptor,
@@ -58825,7 +58884,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_SnapshotSettings_descriptor =
-        getDescriptor().getMessageType(1751);
+        getDescriptor().getMessageType(1754);
     internal_static_google_cloud_compute_v1_SnapshotSettings_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SnapshotSettings_descriptor,
@@ -58833,7 +58892,7 @@ private static void _clinit_autosplit_dinit_3() {
               "AccessLocation", "StorageLocation",
             });
     internal_static_google_cloud_compute_v1_SnapshotSettingsAccessLocation_descriptor =
-        getDescriptor().getMessageType(1752);
+        getDescriptor().getMessageType(1755);
     internal_static_google_cloud_compute_v1_SnapshotSettingsAccessLocation_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SnapshotSettingsAccessLocation_descriptor,
@@ -58850,7 +58909,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_SnapshotSettingsAccessLocationAccessLocationPreference_descriptor =
-        getDescriptor().getMessageType(1753);
+        getDescriptor().getMessageType(1756);
     internal_static_google_cloud_compute_v1_SnapshotSettingsAccessLocationAccessLocationPreference_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SnapshotSettingsAccessLocationAccessLocationPreference_descriptor,
@@ -58858,7 +58917,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Region",
             });
     internal_static_google_cloud_compute_v1_SnapshotSettingsStorageLocationSettings_descriptor =
-        getDescriptor().getMessageType(1754);
+        getDescriptor().getMessageType(1757);
     internal_static_google_cloud_compute_v1_SnapshotSettingsStorageLocationSettings_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SnapshotSettingsStorageLocationSettings_descriptor,
@@ -58875,7 +58934,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_SnapshotSettingsStorageLocationSettingsStorageLocationPreference_descriptor =
-        getDescriptor().getMessageType(1755);
+        getDescriptor().getMessageType(1758);
     internal_static_google_cloud_compute_v1_SnapshotSettingsStorageLocationSettingsStorageLocationPreference_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SnapshotSettingsStorageLocationSettingsStorageLocationPreference_descriptor,
@@ -58883,7 +58942,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Name",
             });
     internal_static_google_cloud_compute_v1_SnapshotUpdateKmsKeyRequest_descriptor =
-        getDescriptor().getMessageType(1756);
+        getDescriptor().getMessageType(1759);
     internal_static_google_cloud_compute_v1_SnapshotUpdateKmsKeyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SnapshotUpdateKmsKeyRequest_descriptor,
@@ -58891,7 +58950,7 @@ private static void _clinit_autosplit_dinit_3() {
               "KmsKeyName",
             });
     internal_static_google_cloud_compute_v1_SourceDiskEncryptionKey_descriptor =
-        getDescriptor().getMessageType(1757);
+        getDescriptor().getMessageType(1760);
     internal_static_google_cloud_compute_v1_SourceDiskEncryptionKey_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SourceDiskEncryptionKey_descriptor,
@@ -58899,7 +58958,7 @@ private static void _clinit_autosplit_dinit_3() {
               "DiskEncryptionKey", "SourceDisk",
             });
     internal_static_google_cloud_compute_v1_SourceInstanceParams_descriptor =
-        getDescriptor().getMessageType(1758);
+        getDescriptor().getMessageType(1761);
     internal_static_google_cloud_compute_v1_SourceInstanceParams_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SourceInstanceParams_descriptor,
@@ -58907,7 +58966,7 @@ private static void _clinit_autosplit_dinit_3() {
               "DiskConfigs",
             });
     internal_static_google_cloud_compute_v1_SourceInstanceProperties_descriptor =
-        getDescriptor().getMessageType(1759);
+        getDescriptor().getMessageType(1762);
     internal_static_google_cloud_compute_v1_SourceInstanceProperties_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SourceInstanceProperties_descriptor,
@@ -58938,7 +58997,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_SslCertificate_descriptor =
-        getDescriptor().getMessageType(1760);
+        getDescriptor().getMessageType(1763);
     internal_static_google_cloud_compute_v1_SslCertificate_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SslCertificate_descriptor,
@@ -58959,7 +59018,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Type",
             });
     internal_static_google_cloud_compute_v1_SslCertificateAggregatedList_descriptor =
-        getDescriptor().getMessageType(1761);
+        getDescriptor().getMessageType(1764);
     internal_static_google_cloud_compute_v1_SslCertificateAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SslCertificateAggregatedList_descriptor,
@@ -58976,7 +59035,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_SslCertificateList_descriptor =
-        getDescriptor().getMessageType(1762);
+        getDescriptor().getMessageType(1765);
     internal_static_google_cloud_compute_v1_SslCertificateList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SslCertificateList_descriptor,
@@ -58984,7 +59043,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_SslCertificateManagedSslCertificate_descriptor =
-        getDescriptor().getMessageType(1763);
+        getDescriptor().getMessageType(1766);
     internal_static_google_cloud_compute_v1_SslCertificateManagedSslCertificate_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SslCertificateManagedSslCertificate_descriptor,
@@ -59001,7 +59060,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_SslCertificateSelfManagedSslCertificate_descriptor =
-        getDescriptor().getMessageType(1764);
+        getDescriptor().getMessageType(1767);
     internal_static_google_cloud_compute_v1_SslCertificateSelfManagedSslCertificate_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SslCertificateSelfManagedSslCertificate_descriptor,
@@ -59009,7 +59068,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Certificate", "PrivateKey",
             });
     internal_static_google_cloud_compute_v1_SslCertificatesScopedList_descriptor =
-        getDescriptor().getMessageType(1765);
+        getDescriptor().getMessageType(1768);
     internal_static_google_cloud_compute_v1_SslCertificatesScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SslCertificatesScopedList_descriptor,
@@ -59017,7 +59076,7 @@ private static void _clinit_autosplit_dinit_3() {
               "SslCertificates", "Warning",
             });
     internal_static_google_cloud_compute_v1_SslPoliciesAggregatedList_descriptor =
-        getDescriptor().getMessageType(1766);
+        getDescriptor().getMessageType(1769);
     internal_static_google_cloud_compute_v1_SslPoliciesAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SslPoliciesAggregatedList_descriptor,
@@ -59034,7 +59093,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_SslPoliciesList_descriptor =
-        getDescriptor().getMessageType(1767);
+        getDescriptor().getMessageType(1770);
     internal_static_google_cloud_compute_v1_SslPoliciesList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SslPoliciesList_descriptor,
@@ -59042,7 +59101,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_SslPoliciesListAvailableFeaturesResponse_descriptor =
-        getDescriptor().getMessageType(1768);
+        getDescriptor().getMessageType(1771);
     internal_static_google_cloud_compute_v1_SslPoliciesListAvailableFeaturesResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SslPoliciesListAvailableFeaturesResponse_descriptor,
@@ -59050,7 +59109,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Features",
             });
     internal_static_google_cloud_compute_v1_SslPoliciesScopedList_descriptor =
-        getDescriptor().getMessageType(1769);
+        getDescriptor().getMessageType(1772);
     internal_static_google_cloud_compute_v1_SslPoliciesScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SslPoliciesScopedList_descriptor,
@@ -59058,7 +59117,7 @@ private static void _clinit_autosplit_dinit_3() {
               "SslPolicies", "Warning",
             });
     internal_static_google_cloud_compute_v1_SslPolicy_descriptor =
-        getDescriptor().getMessageType(1770);
+        getDescriptor().getMessageType(1773);
     internal_static_google_cloud_compute_v1_SslPolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SslPolicy_descriptor,
@@ -59079,7 +59138,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Warnings",
             });
     internal_static_google_cloud_compute_v1_SslPolicyReference_descriptor =
-        getDescriptor().getMessageType(1771);
+        getDescriptor().getMessageType(1774);
     internal_static_google_cloud_compute_v1_SslPolicyReference_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SslPolicyReference_descriptor,
@@ -59087,7 +59146,7 @@ private static void _clinit_autosplit_dinit_3() {
               "SslPolicy",
             });
     internal_static_google_cloud_compute_v1_StartAsyncReplicationDiskRequest_descriptor =
-        getDescriptor().getMessageType(1772);
+        getDescriptor().getMessageType(1775);
     internal_static_google_cloud_compute_v1_StartAsyncReplicationDiskRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StartAsyncReplicationDiskRequest_descriptor,
@@ -59095,7 +59154,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Disk", "DisksStartAsyncReplicationRequestResource", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_StartAsyncReplicationRegionDiskRequest_descriptor =
-        getDescriptor().getMessageType(1773);
+        getDescriptor().getMessageType(1776);
     internal_static_google_cloud_compute_v1_StartAsyncReplicationRegionDiskRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StartAsyncReplicationRegionDiskRequest_descriptor,
@@ -59107,7 +59166,7 @@ private static void _clinit_autosplit_dinit_3() {
               "RequestId",
             });
     internal_static_google_cloud_compute_v1_StartInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1774);
+        getDescriptor().getMessageType(1777);
     internal_static_google_cloud_compute_v1_StartInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StartInstanceRequest_descriptor,
@@ -59115,7 +59174,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Instance", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_StartInstancesInstanceGroupManagerRequest_descriptor =
-        getDescriptor().getMessageType(1775);
+        getDescriptor().getMessageType(1778);
     internal_static_google_cloud_compute_v1_StartInstancesInstanceGroupManagerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StartInstancesInstanceGroupManagerRequest_descriptor,
@@ -59127,7 +59186,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_StartInstancesRegionInstanceGroupManagerRequest_descriptor =
-        getDescriptor().getMessageType(1776);
+        getDescriptor().getMessageType(1779);
     internal_static_google_cloud_compute_v1_StartInstancesRegionInstanceGroupManagerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StartInstancesRegionInstanceGroupManagerRequest_descriptor,
@@ -59139,7 +59198,7 @@ private static void _clinit_autosplit_dinit_3() {
               "RequestId",
             });
     internal_static_google_cloud_compute_v1_StartWithEncryptionKeyInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1777);
+        getDescriptor().getMessageType(1780);
     internal_static_google_cloud_compute_v1_StartWithEncryptionKeyInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StartWithEncryptionKeyInstanceRequest_descriptor,
@@ -59151,7 +59210,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_StatefulPolicy_descriptor =
-        getDescriptor().getMessageType(1778);
+        getDescriptor().getMessageType(1781);
     internal_static_google_cloud_compute_v1_StatefulPolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StatefulPolicy_descriptor,
@@ -59159,7 +59218,7 @@ private static void _clinit_autosplit_dinit_3() {
               "PreservedState",
             });
     internal_static_google_cloud_compute_v1_StatefulPolicyPreservedState_descriptor =
-        getDescriptor().getMessageType(1779);
+        getDescriptor().getMessageType(1782);
     internal_static_google_cloud_compute_v1_StatefulPolicyPreservedState_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StatefulPolicyPreservedState_descriptor,
@@ -59194,7 +59253,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_StatefulPolicyPreservedStateDiskDevice_descriptor =
-        getDescriptor().getMessageType(1780);
+        getDescriptor().getMessageType(1783);
     internal_static_google_cloud_compute_v1_StatefulPolicyPreservedStateDiskDevice_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StatefulPolicyPreservedStateDiskDevice_descriptor,
@@ -59202,7 +59261,7 @@ private static void _clinit_autosplit_dinit_3() {
               "AutoDelete",
             });
     internal_static_google_cloud_compute_v1_StatefulPolicyPreservedStateNetworkIp_descriptor =
-        getDescriptor().getMessageType(1781);
+        getDescriptor().getMessageType(1784);
     internal_static_google_cloud_compute_v1_StatefulPolicyPreservedStateNetworkIp_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StatefulPolicyPreservedStateNetworkIp_descriptor,
@@ -59210,7 +59269,7 @@ private static void _clinit_autosplit_dinit_3() {
               "AutoDelete",
             });
     internal_static_google_cloud_compute_v1_Status_descriptor =
-        getDescriptor().getMessageType(1782);
+        getDescriptor().getMessageType(1785);
     internal_static_google_cloud_compute_v1_Status_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Status_descriptor,
@@ -59218,7 +59277,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Code", "Details", "Message",
             });
     internal_static_google_cloud_compute_v1_StopAsyncReplicationDiskRequest_descriptor =
-        getDescriptor().getMessageType(1783);
+        getDescriptor().getMessageType(1786);
     internal_static_google_cloud_compute_v1_StopAsyncReplicationDiskRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StopAsyncReplicationDiskRequest_descriptor,
@@ -59226,7 +59285,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Disk", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_StopAsyncReplicationRegionDiskRequest_descriptor =
-        getDescriptor().getMessageType(1784);
+        getDescriptor().getMessageType(1787);
     internal_static_google_cloud_compute_v1_StopAsyncReplicationRegionDiskRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StopAsyncReplicationRegionDiskRequest_descriptor,
@@ -59234,7 +59293,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Disk", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_StopGroupAsyncReplicationDiskRequest_descriptor =
-        getDescriptor().getMessageType(1785);
+        getDescriptor().getMessageType(1788);
     internal_static_google_cloud_compute_v1_StopGroupAsyncReplicationDiskRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StopGroupAsyncReplicationDiskRequest_descriptor,
@@ -59242,7 +59301,7 @@ private static void _clinit_autosplit_dinit_3() {
               "DisksStopGroupAsyncReplicationResourceResource", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_StopGroupAsyncReplicationRegionDiskRequest_descriptor =
-        getDescriptor().getMessageType(1786);
+        getDescriptor().getMessageType(1789);
     internal_static_google_cloud_compute_v1_StopGroupAsyncReplicationRegionDiskRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StopGroupAsyncReplicationRegionDiskRequest_descriptor,
@@ -59250,7 +59309,7 @@ private static void _clinit_autosplit_dinit_3() {
               "DisksStopGroupAsyncReplicationResourceResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_StopInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1787);
+        getDescriptor().getMessageType(1790);
     internal_static_google_cloud_compute_v1_StopInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StopInstanceRequest_descriptor,
@@ -59258,7 +59317,7 @@ private static void _clinit_autosplit_dinit_3() {
               "DiscardLocalSsd", "Instance", "NoGracefulShutdown", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_StopInstancesInstanceGroupManagerRequest_descriptor =
-        getDescriptor().getMessageType(1788);
+        getDescriptor().getMessageType(1791);
     internal_static_google_cloud_compute_v1_StopInstancesInstanceGroupManagerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StopInstancesInstanceGroupManagerRequest_descriptor,
@@ -59271,7 +59330,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_StopInstancesRegionInstanceGroupManagerRequest_descriptor =
-        getDescriptor().getMessageType(1789);
+        getDescriptor().getMessageType(1792);
     internal_static_google_cloud_compute_v1_StopInstancesRegionInstanceGroupManagerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StopInstancesRegionInstanceGroupManagerRequest_descriptor,
@@ -59284,7 +59343,7 @@ private static void _clinit_autosplit_dinit_3() {
               "RequestId",
             });
     internal_static_google_cloud_compute_v1_StoragePool_descriptor =
-        getDescriptor().getMessageType(1790);
+        getDescriptor().getMessageType(1793);
     internal_static_google_cloud_compute_v1_StoragePool_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StoragePool_descriptor,
@@ -59321,7 +59380,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_StoragePoolAggregatedList_descriptor =
-        getDescriptor().getMessageType(1791);
+        getDescriptor().getMessageType(1794);
     internal_static_google_cloud_compute_v1_StoragePoolAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StoragePoolAggregatedList_descriptor,
@@ -59338,7 +59397,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_StoragePoolDisk_descriptor =
-        getDescriptor().getMessageType(1792);
+        getDescriptor().getMessageType(1795);
     internal_static_google_cloud_compute_v1_StoragePoolDisk_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StoragePoolDisk_descriptor,
@@ -59356,7 +59415,7 @@ private static void _clinit_autosplit_dinit_3() {
               "UsedBytes",
             });
     internal_static_google_cloud_compute_v1_StoragePoolExapoolProvisionedCapacityGb_descriptor =
-        getDescriptor().getMessageType(1793);
+        getDescriptor().getMessageType(1796);
     internal_static_google_cloud_compute_v1_StoragePoolExapoolProvisionedCapacityGb_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StoragePoolExapoolProvisionedCapacityGb_descriptor,
@@ -59364,7 +59423,7 @@ private static void _clinit_autosplit_dinit_3() {
               "CapacityOptimized", "ReadOptimized", "WriteOptimized",
             });
     internal_static_google_cloud_compute_v1_StoragePoolList_descriptor =
-        getDescriptor().getMessageType(1794);
+        getDescriptor().getMessageType(1797);
     internal_static_google_cloud_compute_v1_StoragePoolList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StoragePoolList_descriptor,
@@ -59372,7 +59431,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Etag", "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Unreachables", "Warning",
             });
     internal_static_google_cloud_compute_v1_StoragePoolListDisks_descriptor =
-        getDescriptor().getMessageType(1795);
+        getDescriptor().getMessageType(1798);
     internal_static_google_cloud_compute_v1_StoragePoolListDisks_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StoragePoolListDisks_descriptor,
@@ -59380,7 +59439,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Etag", "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Unreachables", "Warning",
             });
     internal_static_google_cloud_compute_v1_StoragePoolParams_descriptor =
-        getDescriptor().getMessageType(1796);
+        getDescriptor().getMessageType(1799);
     internal_static_google_cloud_compute_v1_StoragePoolParams_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StoragePoolParams_descriptor,
@@ -59396,7 +59455,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_StoragePoolResourceStatus_descriptor =
-        getDescriptor().getMessageType(1797);
+        getDescriptor().getMessageType(1800);
     internal_static_google_cloud_compute_v1_StoragePoolResourceStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StoragePoolResourceStatus_descriptor,
@@ -59417,7 +59476,7 @@ private static void _clinit_autosplit_dinit_3() {
               "TotalProvisionedDiskThroughput",
             });
     internal_static_google_cloud_compute_v1_StoragePoolShareSettings_descriptor =
-        getDescriptor().getMessageType(1798);
+        getDescriptor().getMessageType(1801);
     internal_static_google_cloud_compute_v1_StoragePoolShareSettings_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StoragePoolShareSettings_descriptor,
@@ -59434,7 +59493,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_StoragePoolShareSettingsProjectConfig_descriptor =
-        getDescriptor().getMessageType(1799);
+        getDescriptor().getMessageType(1802);
     internal_static_google_cloud_compute_v1_StoragePoolShareSettingsProjectConfig_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StoragePoolShareSettingsProjectConfig_descriptor,
@@ -59442,7 +59501,7 @@ private static void _clinit_autosplit_dinit_3() {
               "ProjectId",
             });
     internal_static_google_cloud_compute_v1_StoragePoolType_descriptor =
-        getDescriptor().getMessageType(1800);
+        getDescriptor().getMessageType(1803);
     internal_static_google_cloud_compute_v1_StoragePoolType_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StoragePoolType_descriptor,
@@ -59466,7 +59525,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_StoragePoolTypeAggregatedList_descriptor =
-        getDescriptor().getMessageType(1801);
+        getDescriptor().getMessageType(1804);
     internal_static_google_cloud_compute_v1_StoragePoolTypeAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StoragePoolTypeAggregatedList_descriptor,
@@ -59483,7 +59542,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_StoragePoolTypeList_descriptor =
-        getDescriptor().getMessageType(1802);
+        getDescriptor().getMessageType(1805);
     internal_static_google_cloud_compute_v1_StoragePoolTypeList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StoragePoolTypeList_descriptor,
@@ -59491,7 +59550,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_StoragePoolTypesScopedList_descriptor =
-        getDescriptor().getMessageType(1803);
+        getDescriptor().getMessageType(1806);
     internal_static_google_cloud_compute_v1_StoragePoolTypesScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StoragePoolTypesScopedList_descriptor,
@@ -59499,7 +59558,7 @@ private static void _clinit_autosplit_dinit_3() {
               "StoragePoolTypes", "Warning",
             });
     internal_static_google_cloud_compute_v1_StoragePoolsScopedList_descriptor =
-        getDescriptor().getMessageType(1804);
+        getDescriptor().getMessageType(1807);
     internal_static_google_cloud_compute_v1_StoragePoolsScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_StoragePoolsScopedList_descriptor,
@@ -59507,7 +59566,7 @@ private static void _clinit_autosplit_dinit_3() {
               "StoragePools", "Warning",
             });
     internal_static_google_cloud_compute_v1_Subnetwork_descriptor =
-        getDescriptor().getMessageType(1805);
+        getDescriptor().getMessageType(1808);
     internal_static_google_cloud_compute_v1_Subnetwork_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Subnetwork_descriptor,
@@ -59547,7 +59606,7 @@ private static void _clinit_autosplit_dinit_3() {
               "UtilizationDetails",
             });
     internal_static_google_cloud_compute_v1_SubnetworkAggregatedList_descriptor =
-        getDescriptor().getMessageType(1806);
+        getDescriptor().getMessageType(1809);
     internal_static_google_cloud_compute_v1_SubnetworkAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SubnetworkAggregatedList_descriptor,
@@ -59564,7 +59623,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_SubnetworkList_descriptor =
-        getDescriptor().getMessageType(1807);
+        getDescriptor().getMessageType(1810);
     internal_static_google_cloud_compute_v1_SubnetworkList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SubnetworkList_descriptor,
@@ -59572,7 +59631,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_SubnetworkLogConfig_descriptor =
-        getDescriptor().getMessageType(1808);
+        getDescriptor().getMessageType(1811);
     internal_static_google_cloud_compute_v1_SubnetworkLogConfig_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SubnetworkLogConfig_descriptor,
@@ -59585,7 +59644,7 @@ private static void _clinit_autosplit_dinit_3() {
               "MetadataFields",
             });
     internal_static_google_cloud_compute_v1_SubnetworkParams_descriptor =
-        getDescriptor().getMessageType(1809);
+        getDescriptor().getMessageType(1812);
     internal_static_google_cloud_compute_v1_SubnetworkParams_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SubnetworkParams_descriptor,
@@ -59601,7 +59660,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_SubnetworkSecondaryRange_descriptor =
-        getDescriptor().getMessageType(1810);
+        getDescriptor().getMessageType(1813);
     internal_static_google_cloud_compute_v1_SubnetworkSecondaryRange_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SubnetworkSecondaryRange_descriptor,
@@ -59609,7 +59668,7 @@ private static void _clinit_autosplit_dinit_3() {
               "IpCidrRange", "IpCollection", "IpVersion", "RangeName", "ReservedInternalRange",
             });
     internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetails_descriptor =
-        getDescriptor().getMessageType(1811);
+        getDescriptor().getMessageType(1814);
     internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetails_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetails_descriptor,
@@ -59619,8 +59678,12 @@ private static void _clinit_autosplit_dinit_3() {
               "InternalIpv6Utilization",
               "Ipv4Utilizations",
             });
+    _clinit_autosplit_dinit_4();
+  }
+
+  private static void _clinit_autosplit_dinit_4() {
     internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetailsIPV4Utilization_descriptor =
-        getDescriptor().getMessageType(1812);
+        getDescriptor().getMessageType(1815);
     internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetailsIPV4Utilization_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetailsIPV4Utilization_descriptor,
@@ -59628,7 +59691,7 @@ private static void _clinit_autosplit_dinit_3() {
               "RangeName", "TotalAllocatedIp", "TotalFreeIp",
             });
     internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetailsIPV6Utilization_descriptor =
-        getDescriptor().getMessageType(1813);
+        getDescriptor().getMessageType(1816);
     internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetailsIPV6Utilization_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SubnetworkUtilizationDetailsIPV6Utilization_descriptor,
@@ -59636,7 +59699,7 @@ private static void _clinit_autosplit_dinit_3() {
               "TotalAllocatedIp", "TotalFreeIp",
             });
     internal_static_google_cloud_compute_v1_SubnetworksExpandIpCidrRangeRequest_descriptor =
-        getDescriptor().getMessageType(1814);
+        getDescriptor().getMessageType(1817);
     internal_static_google_cloud_compute_v1_SubnetworksExpandIpCidrRangeRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SubnetworksExpandIpCidrRangeRequest_descriptor,
@@ -59644,7 +59707,7 @@ private static void _clinit_autosplit_dinit_3() {
               "IpCidrRange",
             });
     internal_static_google_cloud_compute_v1_SubnetworksScopedList_descriptor =
-        getDescriptor().getMessageType(1815);
+        getDescriptor().getMessageType(1818);
     internal_static_google_cloud_compute_v1_SubnetworksScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SubnetworksScopedList_descriptor,
@@ -59652,7 +59715,7 @@ private static void _clinit_autosplit_dinit_3() {
               "Subnetworks", "Warning",
             });
     internal_static_google_cloud_compute_v1_SubnetworksScopedWarning_descriptor =
-        getDescriptor().getMessageType(1816);
+        getDescriptor().getMessageType(1819);
     internal_static_google_cloud_compute_v1_SubnetworksScopedWarning_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SubnetworksScopedWarning_descriptor,
@@ -59660,19 +59723,15 @@ private static void _clinit_autosplit_dinit_3() {
               "ScopeName", "Warning",
             });
     internal_static_google_cloud_compute_v1_SubnetworksSetPrivateIpGoogleAccessRequest_descriptor =
-        getDescriptor().getMessageType(1817);
+        getDescriptor().getMessageType(1820);
     internal_static_google_cloud_compute_v1_SubnetworksSetPrivateIpGoogleAccessRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SubnetworksSetPrivateIpGoogleAccessRequest_descriptor,
             new java.lang.String[] {
               "PrivateIpGoogleAccess",
             });
-    _clinit_autosplit_dinit_4();
-  }
-
-  private static void _clinit_autosplit_dinit_4() {
     internal_static_google_cloud_compute_v1_Subsetting_descriptor =
-        getDescriptor().getMessageType(1818);
+        getDescriptor().getMessageType(1821);
     internal_static_google_cloud_compute_v1_Subsetting_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Subsetting_descriptor,
@@ -59680,7 +59739,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Policy",
             });
     internal_static_google_cloud_compute_v1_SuspendInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1819);
+        getDescriptor().getMessageType(1822);
     internal_static_google_cloud_compute_v1_SuspendInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SuspendInstanceRequest_descriptor,
@@ -59688,7 +59747,7 @@ private static void _clinit_autosplit_dinit_4() {
               "DiscardLocalSsd", "Instance", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_SuspendInstancesInstanceGroupManagerRequest_descriptor =
-        getDescriptor().getMessageType(1820);
+        getDescriptor().getMessageType(1823);
     internal_static_google_cloud_compute_v1_SuspendInstancesInstanceGroupManagerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SuspendInstancesInstanceGroupManagerRequest_descriptor,
@@ -59700,7 +59759,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_SuspendInstancesRegionInstanceGroupManagerRequest_descriptor =
-        getDescriptor().getMessageType(1821);
+        getDescriptor().getMessageType(1824);
     internal_static_google_cloud_compute_v1_SuspendInstancesRegionInstanceGroupManagerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SuspendInstancesRegionInstanceGroupManagerRequest_descriptor,
@@ -59712,7 +59771,7 @@ private static void _clinit_autosplit_dinit_4() {
               "RequestId",
             });
     internal_static_google_cloud_compute_v1_SwitchToCustomModeNetworkRequest_descriptor =
-        getDescriptor().getMessageType(1822);
+        getDescriptor().getMessageType(1825);
     internal_static_google_cloud_compute_v1_SwitchToCustomModeNetworkRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_SwitchToCustomModeNetworkRequest_descriptor,
@@ -59720,14 +59779,14 @@ private static void _clinit_autosplit_dinit_4() {
               "Network", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_TCPHealthCheck_descriptor =
-        getDescriptor().getMessageType(1823);
+        getDescriptor().getMessageType(1826);
     internal_static_google_cloud_compute_v1_TCPHealthCheck_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TCPHealthCheck_descriptor,
             new java.lang.String[] {
               "Port", "PortName", "PortSpecification", "ProxyHeader", "Request", "Response",
             });
-    internal_static_google_cloud_compute_v1_Tags_descriptor = getDescriptor().getMessageType(1824);
+    internal_static_google_cloud_compute_v1_Tags_descriptor = getDescriptor().getMessageType(1827);
     internal_static_google_cloud_compute_v1_Tags_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Tags_descriptor,
@@ -59735,7 +59794,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Fingerprint", "Items",
             });
     internal_static_google_cloud_compute_v1_TargetGrpcProxy_descriptor =
-        getDescriptor().getMessageType(1825);
+        getDescriptor().getMessageType(1828);
     internal_static_google_cloud_compute_v1_TargetGrpcProxy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetGrpcProxy_descriptor,
@@ -59752,7 +59811,7 @@ private static void _clinit_autosplit_dinit_4() {
               "ValidateForProxyless",
             });
     internal_static_google_cloud_compute_v1_TargetGrpcProxyList_descriptor =
-        getDescriptor().getMessageType(1826);
+        getDescriptor().getMessageType(1829);
     internal_static_google_cloud_compute_v1_TargetGrpcProxyList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetGrpcProxyList_descriptor,
@@ -59760,7 +59819,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_TargetHttpProxiesScopedList_descriptor =
-        getDescriptor().getMessageType(1827);
+        getDescriptor().getMessageType(1830);
     internal_static_google_cloud_compute_v1_TargetHttpProxiesScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetHttpProxiesScopedList_descriptor,
@@ -59768,7 +59827,7 @@ private static void _clinit_autosplit_dinit_4() {
               "TargetHttpProxies", "Warning",
             });
     internal_static_google_cloud_compute_v1_TargetHttpProxy_descriptor =
-        getDescriptor().getMessageType(1828);
+        getDescriptor().getMessageType(1831);
     internal_static_google_cloud_compute_v1_TargetHttpProxy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetHttpProxy_descriptor,
@@ -59786,7 +59845,7 @@ private static void _clinit_autosplit_dinit_4() {
               "UrlMap",
             });
     internal_static_google_cloud_compute_v1_TargetHttpProxyAggregatedList_descriptor =
-        getDescriptor().getMessageType(1829);
+        getDescriptor().getMessageType(1832);
     internal_static_google_cloud_compute_v1_TargetHttpProxyAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetHttpProxyAggregatedList_descriptor,
@@ -59803,7 +59862,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_TargetHttpProxyList_descriptor =
-        getDescriptor().getMessageType(1830);
+        getDescriptor().getMessageType(1833);
     internal_static_google_cloud_compute_v1_TargetHttpProxyList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetHttpProxyList_descriptor,
@@ -59811,7 +59870,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_TargetHttpsProxiesScopedList_descriptor =
-        getDescriptor().getMessageType(1831);
+        getDescriptor().getMessageType(1834);
     internal_static_google_cloud_compute_v1_TargetHttpsProxiesScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetHttpsProxiesScopedList_descriptor,
@@ -59819,7 +59878,7 @@ private static void _clinit_autosplit_dinit_4() {
               "TargetHttpsProxies", "Warning",
             });
     internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetCertificateMapRequest_descriptor =
-        getDescriptor().getMessageType(1832);
+        getDescriptor().getMessageType(1835);
     internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetCertificateMapRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetCertificateMapRequest_descriptor,
@@ -59827,7 +59886,7 @@ private static void _clinit_autosplit_dinit_4() {
               "CertificateMap",
             });
     internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetQuicOverrideRequest_descriptor =
-        getDescriptor().getMessageType(1833);
+        getDescriptor().getMessageType(1836);
     internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetQuicOverrideRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetQuicOverrideRequest_descriptor,
@@ -59835,7 +59894,7 @@ private static void _clinit_autosplit_dinit_4() {
               "QuicOverride",
             });
     internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetSslCertificatesRequest_descriptor =
-        getDescriptor().getMessageType(1834);
+        getDescriptor().getMessageType(1837);
     internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetSslCertificatesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetSslCertificatesRequest_descriptor,
@@ -59843,7 +59902,7 @@ private static void _clinit_autosplit_dinit_4() {
               "SslCertificates",
             });
     internal_static_google_cloud_compute_v1_TargetHttpsProxy_descriptor =
-        getDescriptor().getMessageType(1835);
+        getDescriptor().getMessageType(1838);
     internal_static_google_cloud_compute_v1_TargetHttpsProxy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetHttpsProxy_descriptor,
@@ -59868,7 +59927,7 @@ private static void _clinit_autosplit_dinit_4() {
               "UrlMap",
             });
     internal_static_google_cloud_compute_v1_TargetHttpsProxyAggregatedList_descriptor =
-        getDescriptor().getMessageType(1836);
+        getDescriptor().getMessageType(1839);
     internal_static_google_cloud_compute_v1_TargetHttpsProxyAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetHttpsProxyAggregatedList_descriptor,
@@ -59885,7 +59944,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_TargetHttpsProxyList_descriptor =
-        getDescriptor().getMessageType(1837);
+        getDescriptor().getMessageType(1840);
     internal_static_google_cloud_compute_v1_TargetHttpsProxyList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetHttpsProxyList_descriptor,
@@ -59893,7 +59952,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_TargetInstance_descriptor =
-        getDescriptor().getMessageType(1838);
+        getDescriptor().getMessageType(1841);
     internal_static_google_cloud_compute_v1_TargetInstance_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetInstance_descriptor,
@@ -59911,7 +59970,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_TargetInstanceAggregatedList_descriptor =
-        getDescriptor().getMessageType(1839);
+        getDescriptor().getMessageType(1842);
     internal_static_google_cloud_compute_v1_TargetInstanceAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetInstanceAggregatedList_descriptor,
@@ -59928,7 +59987,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_TargetInstanceList_descriptor =
-        getDescriptor().getMessageType(1840);
+        getDescriptor().getMessageType(1843);
     internal_static_google_cloud_compute_v1_TargetInstanceList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetInstanceList_descriptor,
@@ -59936,7 +59995,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_TargetInstancesScopedList_descriptor =
-        getDescriptor().getMessageType(1841);
+        getDescriptor().getMessageType(1844);
     internal_static_google_cloud_compute_v1_TargetInstancesScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetInstancesScopedList_descriptor,
@@ -59944,7 +60003,7 @@ private static void _clinit_autosplit_dinit_4() {
               "TargetInstances", "Warning",
             });
     internal_static_google_cloud_compute_v1_TargetPool_descriptor =
-        getDescriptor().getMessageType(1842);
+        getDescriptor().getMessageType(1845);
     internal_static_google_cloud_compute_v1_TargetPool_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetPool_descriptor,
@@ -59964,7 +60023,7 @@ private static void _clinit_autosplit_dinit_4() {
               "SessionAffinity",
             });
     internal_static_google_cloud_compute_v1_TargetPoolAggregatedList_descriptor =
-        getDescriptor().getMessageType(1843);
+        getDescriptor().getMessageType(1846);
     internal_static_google_cloud_compute_v1_TargetPoolAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetPoolAggregatedList_descriptor,
@@ -59981,7 +60040,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_TargetPoolInstanceHealth_descriptor =
-        getDescriptor().getMessageType(1844);
+        getDescriptor().getMessageType(1847);
     internal_static_google_cloud_compute_v1_TargetPoolInstanceHealth_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetPoolInstanceHealth_descriptor,
@@ -59989,7 +60048,7 @@ private static void _clinit_autosplit_dinit_4() {
               "HealthStatus", "Kind",
             });
     internal_static_google_cloud_compute_v1_TargetPoolList_descriptor =
-        getDescriptor().getMessageType(1845);
+        getDescriptor().getMessageType(1848);
     internal_static_google_cloud_compute_v1_TargetPoolList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetPoolList_descriptor,
@@ -59997,7 +60056,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_TargetPoolsAddHealthCheckRequest_descriptor =
-        getDescriptor().getMessageType(1846);
+        getDescriptor().getMessageType(1849);
     internal_static_google_cloud_compute_v1_TargetPoolsAddHealthCheckRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetPoolsAddHealthCheckRequest_descriptor,
@@ -60005,7 +60064,7 @@ private static void _clinit_autosplit_dinit_4() {
               "HealthChecks",
             });
     internal_static_google_cloud_compute_v1_TargetPoolsAddInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1847);
+        getDescriptor().getMessageType(1850);
     internal_static_google_cloud_compute_v1_TargetPoolsAddInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetPoolsAddInstanceRequest_descriptor,
@@ -60013,7 +60072,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Instances",
             });
     internal_static_google_cloud_compute_v1_TargetPoolsRemoveHealthCheckRequest_descriptor =
-        getDescriptor().getMessageType(1848);
+        getDescriptor().getMessageType(1851);
     internal_static_google_cloud_compute_v1_TargetPoolsRemoveHealthCheckRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetPoolsRemoveHealthCheckRequest_descriptor,
@@ -60021,7 +60080,7 @@ private static void _clinit_autosplit_dinit_4() {
               "HealthChecks",
             });
     internal_static_google_cloud_compute_v1_TargetPoolsRemoveInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1849);
+        getDescriptor().getMessageType(1852);
     internal_static_google_cloud_compute_v1_TargetPoolsRemoveInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetPoolsRemoveInstanceRequest_descriptor,
@@ -60029,7 +60088,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Instances",
             });
     internal_static_google_cloud_compute_v1_TargetPoolsScopedList_descriptor =
-        getDescriptor().getMessageType(1850);
+        getDescriptor().getMessageType(1853);
     internal_static_google_cloud_compute_v1_TargetPoolsScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetPoolsScopedList_descriptor,
@@ -60037,7 +60096,7 @@ private static void _clinit_autosplit_dinit_4() {
               "TargetPools", "Warning",
             });
     internal_static_google_cloud_compute_v1_TargetReference_descriptor =
-        getDescriptor().getMessageType(1851);
+        getDescriptor().getMessageType(1854);
     internal_static_google_cloud_compute_v1_TargetReference_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetReference_descriptor,
@@ -60045,7 +60104,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Target",
             });
     internal_static_google_cloud_compute_v1_TargetSslProxiesSetBackendServiceRequest_descriptor =
-        getDescriptor().getMessageType(1852);
+        getDescriptor().getMessageType(1855);
     internal_static_google_cloud_compute_v1_TargetSslProxiesSetBackendServiceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetSslProxiesSetBackendServiceRequest_descriptor,
@@ -60053,7 +60112,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Service",
             });
     internal_static_google_cloud_compute_v1_TargetSslProxiesSetCertificateMapRequest_descriptor =
-        getDescriptor().getMessageType(1853);
+        getDescriptor().getMessageType(1856);
     internal_static_google_cloud_compute_v1_TargetSslProxiesSetCertificateMapRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetSslProxiesSetCertificateMapRequest_descriptor,
@@ -60061,7 +60120,7 @@ private static void _clinit_autosplit_dinit_4() {
               "CertificateMap",
             });
     internal_static_google_cloud_compute_v1_TargetSslProxiesSetProxyHeaderRequest_descriptor =
-        getDescriptor().getMessageType(1854);
+        getDescriptor().getMessageType(1857);
     internal_static_google_cloud_compute_v1_TargetSslProxiesSetProxyHeaderRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetSslProxiesSetProxyHeaderRequest_descriptor,
@@ -60069,7 +60128,7 @@ private static void _clinit_autosplit_dinit_4() {
               "ProxyHeader",
             });
     internal_static_google_cloud_compute_v1_TargetSslProxiesSetSslCertificatesRequest_descriptor =
-        getDescriptor().getMessageType(1855);
+        getDescriptor().getMessageType(1858);
     internal_static_google_cloud_compute_v1_TargetSslProxiesSetSslCertificatesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetSslProxiesSetSslCertificatesRequest_descriptor,
@@ -60077,7 +60136,7 @@ private static void _clinit_autosplit_dinit_4() {
               "SslCertificates",
             });
     internal_static_google_cloud_compute_v1_TargetSslProxy_descriptor =
-        getDescriptor().getMessageType(1856);
+        getDescriptor().getMessageType(1859);
     internal_static_google_cloud_compute_v1_TargetSslProxy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetSslProxy_descriptor,
@@ -60095,7 +60154,7 @@ private static void _clinit_autosplit_dinit_4() {
               "SslPolicy",
             });
     internal_static_google_cloud_compute_v1_TargetSslProxyList_descriptor =
-        getDescriptor().getMessageType(1857);
+        getDescriptor().getMessageType(1860);
     internal_static_google_cloud_compute_v1_TargetSslProxyList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetSslProxyList_descriptor,
@@ -60103,7 +60162,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_TargetTcpProxiesScopedList_descriptor =
-        getDescriptor().getMessageType(1858);
+        getDescriptor().getMessageType(1861);
     internal_static_google_cloud_compute_v1_TargetTcpProxiesScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetTcpProxiesScopedList_descriptor,
@@ -60111,7 +60170,7 @@ private static void _clinit_autosplit_dinit_4() {
               "TargetTcpProxies", "Warning",
             });
     internal_static_google_cloud_compute_v1_TargetTcpProxiesSetBackendServiceRequest_descriptor =
-        getDescriptor().getMessageType(1859);
+        getDescriptor().getMessageType(1862);
     internal_static_google_cloud_compute_v1_TargetTcpProxiesSetBackendServiceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetTcpProxiesSetBackendServiceRequest_descriptor,
@@ -60119,7 +60178,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Service",
             });
     internal_static_google_cloud_compute_v1_TargetTcpProxiesSetProxyHeaderRequest_descriptor =
-        getDescriptor().getMessageType(1860);
+        getDescriptor().getMessageType(1863);
     internal_static_google_cloud_compute_v1_TargetTcpProxiesSetProxyHeaderRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetTcpProxiesSetProxyHeaderRequest_descriptor,
@@ -60127,7 +60186,7 @@ private static void _clinit_autosplit_dinit_4() {
               "ProxyHeader",
             });
     internal_static_google_cloud_compute_v1_TargetTcpProxy_descriptor =
-        getDescriptor().getMessageType(1861);
+        getDescriptor().getMessageType(1864);
     internal_static_google_cloud_compute_v1_TargetTcpProxy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetTcpProxy_descriptor,
@@ -60145,7 +60204,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Service",
             });
     internal_static_google_cloud_compute_v1_TargetTcpProxyAggregatedList_descriptor =
-        getDescriptor().getMessageType(1862);
+        getDescriptor().getMessageType(1865);
     internal_static_google_cloud_compute_v1_TargetTcpProxyAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetTcpProxyAggregatedList_descriptor,
@@ -60162,7 +60221,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_TargetTcpProxyList_descriptor =
-        getDescriptor().getMessageType(1863);
+        getDescriptor().getMessageType(1866);
     internal_static_google_cloud_compute_v1_TargetTcpProxyList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetTcpProxyList_descriptor,
@@ -60170,7 +60229,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_TargetVpnGateway_descriptor =
-        getDescriptor().getMessageType(1864);
+        getDescriptor().getMessageType(1867);
     internal_static_google_cloud_compute_v1_TargetVpnGateway_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetVpnGateway_descriptor,
@@ -60199,7 +60258,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_TargetVpnGatewayAggregatedList_descriptor =
-        getDescriptor().getMessageType(1865);
+        getDescriptor().getMessageType(1868);
     internal_static_google_cloud_compute_v1_TargetVpnGatewayAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetVpnGatewayAggregatedList_descriptor,
@@ -60216,7 +60275,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_TargetVpnGatewayList_descriptor =
-        getDescriptor().getMessageType(1866);
+        getDescriptor().getMessageType(1869);
     internal_static_google_cloud_compute_v1_TargetVpnGatewayList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetVpnGatewayList_descriptor,
@@ -60224,7 +60283,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_TargetVpnGatewayParams_descriptor =
-        getDescriptor().getMessageType(1867);
+        getDescriptor().getMessageType(1870);
     internal_static_google_cloud_compute_v1_TargetVpnGatewayParams_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetVpnGatewayParams_descriptor,
@@ -60240,7 +60299,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_TargetVpnGatewaysScopedList_descriptor =
-        getDescriptor().getMessageType(1868);
+        getDescriptor().getMessageType(1871);
     internal_static_google_cloud_compute_v1_TargetVpnGatewaysScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TargetVpnGatewaysScopedList_descriptor,
@@ -60248,7 +60307,7 @@ private static void _clinit_autosplit_dinit_4() {
               "TargetVpnGateways", "Warning",
             });
     internal_static_google_cloud_compute_v1_TestFailure_descriptor =
-        getDescriptor().getMessageType(1869);
+        getDescriptor().getMessageType(1872);
     internal_static_google_cloud_compute_v1_TestFailure_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestFailure_descriptor,
@@ -60264,7 +60323,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Path",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsAddressRequest_descriptor =
-        getDescriptor().getMessageType(1870);
+        getDescriptor().getMessageType(1873);
     internal_static_google_cloud_compute_v1_TestIamPermissionsAddressRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsAddressRequest_descriptor,
@@ -60272,7 +60331,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsAutoscalerRequest_descriptor =
-        getDescriptor().getMessageType(1871);
+        getDescriptor().getMessageType(1874);
     internal_static_google_cloud_compute_v1_TestIamPermissionsAutoscalerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsAutoscalerRequest_descriptor,
@@ -60280,7 +60339,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource", "Zone",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsBackendBucketRequest_descriptor =
-        getDescriptor().getMessageType(1872);
+        getDescriptor().getMessageType(1875);
     internal_static_google_cloud_compute_v1_TestIamPermissionsBackendBucketRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsBackendBucketRequest_descriptor,
@@ -60288,7 +60347,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsBackendServiceRequest_descriptor =
-        getDescriptor().getMessageType(1873);
+        getDescriptor().getMessageType(1876);
     internal_static_google_cloud_compute_v1_TestIamPermissionsBackendServiceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsBackendServiceRequest_descriptor,
@@ -60296,7 +60355,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsDiskRequest_descriptor =
-        getDescriptor().getMessageType(1874);
+        getDescriptor().getMessageType(1877);
     internal_static_google_cloud_compute_v1_TestIamPermissionsDiskRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsDiskRequest_descriptor,
@@ -60304,7 +60363,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource", "Zone",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsExternalVpnGatewayRequest_descriptor =
-        getDescriptor().getMessageType(1875);
+        getDescriptor().getMessageType(1878);
     internal_static_google_cloud_compute_v1_TestIamPermissionsExternalVpnGatewayRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsExternalVpnGatewayRequest_descriptor,
@@ -60312,7 +60371,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1876);
+        getDescriptor().getMessageType(1879);
     internal_static_google_cloud_compute_v1_TestIamPermissionsFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsFirewallPolicyRequest_descriptor,
@@ -60320,7 +60379,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsFirewallRequest_descriptor =
-        getDescriptor().getMessageType(1877);
+        getDescriptor().getMessageType(1880);
     internal_static_google_cloud_compute_v1_TestIamPermissionsFirewallRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsFirewallRequest_descriptor,
@@ -60328,7 +60387,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsGlobalAddressRequest_descriptor =
-        getDescriptor().getMessageType(1878);
+        getDescriptor().getMessageType(1881);
     internal_static_google_cloud_compute_v1_TestIamPermissionsGlobalAddressRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsGlobalAddressRequest_descriptor,
@@ -60336,7 +60395,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsHealthCheckRequest_descriptor =
-        getDescriptor().getMessageType(1879);
+        getDescriptor().getMessageType(1882);
     internal_static_google_cloud_compute_v1_TestIamPermissionsHealthCheckRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsHealthCheckRequest_descriptor,
@@ -60344,7 +60403,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsImageRequest_descriptor =
-        getDescriptor().getMessageType(1880);
+        getDescriptor().getMessageType(1883);
     internal_static_google_cloud_compute_v1_TestIamPermissionsImageRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsImageRequest_descriptor,
@@ -60352,7 +60411,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceGroupRequest_descriptor =
-        getDescriptor().getMessageType(1881);
+        getDescriptor().getMessageType(1884);
     internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceGroupRequest_descriptor,
@@ -60360,7 +60419,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource", "Zone",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1882);
+        getDescriptor().getMessageType(1885);
     internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceRequest_descriptor,
@@ -60368,7 +60427,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource", "Zone",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceTemplateRequest_descriptor =
-        getDescriptor().getMessageType(1883);
+        getDescriptor().getMessageType(1886);
     internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceTemplateRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceTemplateRequest_descriptor,
@@ -60376,7 +60435,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsInstantSnapshotGroupRequest_descriptor =
-        getDescriptor().getMessageType(1884);
+        getDescriptor().getMessageType(1887);
     internal_static_google_cloud_compute_v1_TestIamPermissionsInstantSnapshotGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsInstantSnapshotGroupRequest_descriptor,
@@ -60384,7 +60443,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource", "Zone",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsInstantSnapshotRequest_descriptor =
-        getDescriptor().getMessageType(1885);
+        getDescriptor().getMessageType(1888);
     internal_static_google_cloud_compute_v1_TestIamPermissionsInstantSnapshotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsInstantSnapshotRequest_descriptor,
@@ -60392,7 +60451,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource", "Zone",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsInterconnectAttachmentGroupRequest_descriptor =
-        getDescriptor().getMessageType(1886);
+        getDescriptor().getMessageType(1889);
     internal_static_google_cloud_compute_v1_TestIamPermissionsInterconnectAttachmentGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsInterconnectAttachmentGroupRequest_descriptor,
@@ -60400,7 +60459,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsInterconnectGroupRequest_descriptor =
-        getDescriptor().getMessageType(1887);
+        getDescriptor().getMessageType(1890);
     internal_static_google_cloud_compute_v1_TestIamPermissionsInterconnectGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsInterconnectGroupRequest_descriptor,
@@ -60408,7 +60467,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsLicenseCodeRequest_descriptor =
-        getDescriptor().getMessageType(1888);
+        getDescriptor().getMessageType(1891);
     internal_static_google_cloud_compute_v1_TestIamPermissionsLicenseCodeRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsLicenseCodeRequest_descriptor,
@@ -60416,7 +60475,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsLicenseRequest_descriptor =
-        getDescriptor().getMessageType(1889);
+        getDescriptor().getMessageType(1892);
     internal_static_google_cloud_compute_v1_TestIamPermissionsLicenseRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsLicenseRequest_descriptor,
@@ -60424,7 +60483,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsMachineImageRequest_descriptor =
-        getDescriptor().getMessageType(1890);
+        getDescriptor().getMessageType(1893);
     internal_static_google_cloud_compute_v1_TestIamPermissionsMachineImageRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsMachineImageRequest_descriptor,
@@ -60432,7 +60491,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkAttachmentRequest_descriptor =
-        getDescriptor().getMessageType(1891);
+        getDescriptor().getMessageType(1894);
     internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkAttachmentRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkAttachmentRequest_descriptor,
@@ -60440,7 +60499,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkEndpointGroupRequest_descriptor =
-        getDescriptor().getMessageType(1892);
+        getDescriptor().getMessageType(1895);
     internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkEndpointGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkEndpointGroupRequest_descriptor,
@@ -60448,7 +60507,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource", "Zone",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1893);
+        getDescriptor().getMessageType(1896);
     internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkFirewallPolicyRequest_descriptor,
@@ -60456,7 +60515,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsNodeGroupRequest_descriptor =
-        getDescriptor().getMessageType(1894);
+        getDescriptor().getMessageType(1897);
     internal_static_google_cloud_compute_v1_TestIamPermissionsNodeGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsNodeGroupRequest_descriptor,
@@ -60464,7 +60523,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource", "Zone",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsNodeTemplateRequest_descriptor =
-        getDescriptor().getMessageType(1895);
+        getDescriptor().getMessageType(1898);
     internal_static_google_cloud_compute_v1_TestIamPermissionsNodeTemplateRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsNodeTemplateRequest_descriptor,
@@ -60472,7 +60531,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsPacketMirroringRequest_descriptor =
-        getDescriptor().getMessageType(1896);
+        getDescriptor().getMessageType(1899);
     internal_static_google_cloud_compute_v1_TestIamPermissionsPacketMirroringRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsPacketMirroringRequest_descriptor,
@@ -60480,7 +60539,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionAutoscalerRequest_descriptor =
-        getDescriptor().getMessageType(1897);
+        getDescriptor().getMessageType(1900);
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionAutoscalerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsRegionAutoscalerRequest_descriptor,
@@ -60488,7 +60547,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionBackendBucketRequest_descriptor =
-        getDescriptor().getMessageType(1898);
+        getDescriptor().getMessageType(1901);
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionBackendBucketRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsRegionBackendBucketRequest_descriptor,
@@ -60496,7 +60555,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionBackendServiceRequest_descriptor =
-        getDescriptor().getMessageType(1899);
+        getDescriptor().getMessageType(1902);
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionBackendServiceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsRegionBackendServiceRequest_descriptor,
@@ -60504,7 +60563,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionCompositeHealthCheckRequest_descriptor =
-        getDescriptor().getMessageType(1900);
+        getDescriptor().getMessageType(1903);
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionCompositeHealthCheckRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsRegionCompositeHealthCheckRequest_descriptor,
@@ -60512,7 +60571,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionDiskRequest_descriptor =
-        getDescriptor().getMessageType(1901);
+        getDescriptor().getMessageType(1904);
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionDiskRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsRegionDiskRequest_descriptor,
@@ -60520,7 +60579,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionHealthAggregationPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1902);
+        getDescriptor().getMessageType(1905);
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionHealthAggregationPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsRegionHealthAggregationPolicyRequest_descriptor,
@@ -60528,7 +60587,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionHealthCheckRequest_descriptor =
-        getDescriptor().getMessageType(1903);
+        getDescriptor().getMessageType(1906);
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionHealthCheckRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsRegionHealthCheckRequest_descriptor,
@@ -60536,7 +60595,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionHealthCheckServiceRequest_descriptor =
-        getDescriptor().getMessageType(1904);
+        getDescriptor().getMessageType(1907);
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionHealthCheckServiceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsRegionHealthCheckServiceRequest_descriptor,
@@ -60544,7 +60603,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionHealthSourceRequest_descriptor =
-        getDescriptor().getMessageType(1905);
+        getDescriptor().getMessageType(1908);
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionHealthSourceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsRegionHealthSourceRequest_descriptor,
@@ -60552,7 +60611,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionInstanceGroupRequest_descriptor =
-        getDescriptor().getMessageType(1906);
+        getDescriptor().getMessageType(1909);
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionInstanceGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsRegionInstanceGroupRequest_descriptor,
@@ -60560,7 +60619,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionInstantSnapshotGroupRequest_descriptor =
-        getDescriptor().getMessageType(1907);
+        getDescriptor().getMessageType(1910);
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionInstantSnapshotGroupRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsRegionInstantSnapshotGroupRequest_descriptor,
@@ -60568,7 +60627,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionInstantSnapshotRequest_descriptor =
-        getDescriptor().getMessageType(1908);
+        getDescriptor().getMessageType(1911);
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionInstantSnapshotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsRegionInstantSnapshotRequest_descriptor,
@@ -60576,7 +60635,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionNetworkFirewallPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1909);
+        getDescriptor().getMessageType(1912);
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionNetworkFirewallPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsRegionNetworkFirewallPolicyRequest_descriptor,
@@ -60584,7 +60643,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionNotificationEndpointRequest_descriptor =
-        getDescriptor().getMessageType(1910);
+        getDescriptor().getMessageType(1913);
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionNotificationEndpointRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsRegionNotificationEndpointRequest_descriptor,
@@ -60592,7 +60651,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionSnapshotRequest_descriptor =
-        getDescriptor().getMessageType(1911);
+        getDescriptor().getMessageType(1914);
     internal_static_google_cloud_compute_v1_TestIamPermissionsRegionSnapshotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsRegionSnapshotRequest_descriptor,
@@ -60600,7 +60659,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsReservationBlockRequest_descriptor =
-        getDescriptor().getMessageType(1912);
+        getDescriptor().getMessageType(1915);
     internal_static_google_cloud_compute_v1_TestIamPermissionsReservationBlockRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsReservationBlockRequest_descriptor,
@@ -60608,7 +60667,7 @@ private static void _clinit_autosplit_dinit_4() {
               "ParentResource", "Project", "Resource", "TestPermissionsRequestResource", "Zone",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsReservationRequest_descriptor =
-        getDescriptor().getMessageType(1913);
+        getDescriptor().getMessageType(1916);
     internal_static_google_cloud_compute_v1_TestIamPermissionsReservationRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsReservationRequest_descriptor,
@@ -60616,7 +60675,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource", "Zone",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsReservationSubBlockRequest_descriptor =
-        getDescriptor().getMessageType(1914);
+        getDescriptor().getMessageType(1917);
     internal_static_google_cloud_compute_v1_TestIamPermissionsReservationSubBlockRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsReservationSubBlockRequest_descriptor,
@@ -60624,7 +60683,7 @@ private static void _clinit_autosplit_dinit_4() {
               "ParentResource", "Project", "Resource", "TestPermissionsRequestResource", "Zone",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsResourcePolicyRequest_descriptor =
-        getDescriptor().getMessageType(1915);
+        getDescriptor().getMessageType(1918);
     internal_static_google_cloud_compute_v1_TestIamPermissionsResourcePolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsResourcePolicyRequest_descriptor,
@@ -60632,7 +60691,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsRouteRequest_descriptor =
-        getDescriptor().getMessageType(1916);
+        getDescriptor().getMessageType(1919);
     internal_static_google_cloud_compute_v1_TestIamPermissionsRouteRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsRouteRequest_descriptor,
@@ -60640,7 +60699,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsServiceAttachmentRequest_descriptor =
-        getDescriptor().getMessageType(1917);
+        getDescriptor().getMessageType(1920);
     internal_static_google_cloud_compute_v1_TestIamPermissionsServiceAttachmentRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsServiceAttachmentRequest_descriptor,
@@ -60648,7 +60707,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsSnapshotRequest_descriptor =
-        getDescriptor().getMessageType(1918);
+        getDescriptor().getMessageType(1921);
     internal_static_google_cloud_compute_v1_TestIamPermissionsSnapshotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsSnapshotRequest_descriptor,
@@ -60656,7 +60715,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsStoragePoolRequest_descriptor =
-        getDescriptor().getMessageType(1919);
+        getDescriptor().getMessageType(1922);
     internal_static_google_cloud_compute_v1_TestIamPermissionsStoragePoolRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsStoragePoolRequest_descriptor,
@@ -60664,7 +60723,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource", "Zone",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsSubnetworkRequest_descriptor =
-        getDescriptor().getMessageType(1920);
+        getDescriptor().getMessageType(1923);
     internal_static_google_cloud_compute_v1_TestIamPermissionsSubnetworkRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsSubnetworkRequest_descriptor,
@@ -60672,7 +60731,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsTargetInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1921);
+        getDescriptor().getMessageType(1924);
     internal_static_google_cloud_compute_v1_TestIamPermissionsTargetInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsTargetInstanceRequest_descriptor,
@@ -60680,7 +60739,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource", "Zone",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsTargetPoolRequest_descriptor =
-        getDescriptor().getMessageType(1922);
+        getDescriptor().getMessageType(1925);
     internal_static_google_cloud_compute_v1_TestIamPermissionsTargetPoolRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsTargetPoolRequest_descriptor,
@@ -60688,7 +60747,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsTargetSslProxyRequest_descriptor =
-        getDescriptor().getMessageType(1923);
+        getDescriptor().getMessageType(1926);
     internal_static_google_cloud_compute_v1_TestIamPermissionsTargetSslProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsTargetSslProxyRequest_descriptor,
@@ -60696,7 +60755,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsTargetTcpProxyRequest_descriptor =
-        getDescriptor().getMessageType(1924);
+        getDescriptor().getMessageType(1927);
     internal_static_google_cloud_compute_v1_TestIamPermissionsTargetTcpProxyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsTargetTcpProxyRequest_descriptor,
@@ -60704,7 +60763,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsUrlMapRequest_descriptor =
-        getDescriptor().getMessageType(1925);
+        getDescriptor().getMessageType(1928);
     internal_static_google_cloud_compute_v1_TestIamPermissionsUrlMapRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsUrlMapRequest_descriptor,
@@ -60712,7 +60771,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestIamPermissionsVpnGatewayRequest_descriptor =
-        getDescriptor().getMessageType(1926);
+        getDescriptor().getMessageType(1929);
     internal_static_google_cloud_compute_v1_TestIamPermissionsVpnGatewayRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestIamPermissionsVpnGatewayRequest_descriptor,
@@ -60720,7 +60779,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "Resource", "TestPermissionsRequestResource",
             });
     internal_static_google_cloud_compute_v1_TestPermissionsRequest_descriptor =
-        getDescriptor().getMessageType(1927);
+        getDescriptor().getMessageType(1930);
     internal_static_google_cloud_compute_v1_TestPermissionsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestPermissionsRequest_descriptor,
@@ -60728,7 +60787,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Permissions",
             });
     internal_static_google_cloud_compute_v1_TestPermissionsResponse_descriptor =
-        getDescriptor().getMessageType(1928);
+        getDescriptor().getMessageType(1931);
     internal_static_google_cloud_compute_v1_TestPermissionsResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TestPermissionsResponse_descriptor,
@@ -60736,7 +60795,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Permissions",
             });
     internal_static_google_cloud_compute_v1_TimeZone_descriptor =
-        getDescriptor().getMessageType(1929);
+        getDescriptor().getMessageType(1932);
     internal_static_google_cloud_compute_v1_TimeZone_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_TimeZone_descriptor,
@@ -60744,7 +60803,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Id", "Version",
             });
     internal_static_google_cloud_compute_v1_Uint128_descriptor =
-        getDescriptor().getMessageType(1930);
+        getDescriptor().getMessageType(1933);
     internal_static_google_cloud_compute_v1_Uint128_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Uint128_descriptor,
@@ -60752,7 +60811,7 @@ private static void _clinit_autosplit_dinit_4() {
               "High", "Low",
             });
     internal_static_google_cloud_compute_v1_UpcomingMaintenance_descriptor =
-        getDescriptor().getMessageType(1931);
+        getDescriptor().getMessageType(1934);
     internal_static_google_cloud_compute_v1_UpcomingMaintenance_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpcomingMaintenance_descriptor,
@@ -60767,7 +60826,7 @@ private static void _clinit_autosplit_dinit_4() {
               "WindowStartTime",
             });
     internal_static_google_cloud_compute_v1_UpdateAccessConfigInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1932);
+        getDescriptor().getMessageType(1935);
     internal_static_google_cloud_compute_v1_UpdateAccessConfigInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateAccessConfigInstanceRequest_descriptor,
@@ -60780,7 +60839,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_UpdateAutoscalerRequest_descriptor =
-        getDescriptor().getMessageType(1933);
+        getDescriptor().getMessageType(1936);
     internal_static_google_cloud_compute_v1_UpdateAutoscalerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateAutoscalerRequest_descriptor,
@@ -60788,7 +60847,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Autoscaler", "AutoscalerResource", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_UpdateBackendBucketRequest_descriptor =
-        getDescriptor().getMessageType(1934);
+        getDescriptor().getMessageType(1937);
     internal_static_google_cloud_compute_v1_UpdateBackendBucketRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateBackendBucketRequest_descriptor,
@@ -60796,7 +60855,7 @@ private static void _clinit_autosplit_dinit_4() {
               "BackendBucket", "BackendBucketResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_UpdateBackendServiceRequest_descriptor =
-        getDescriptor().getMessageType(1935);
+        getDescriptor().getMessageType(1938);
     internal_static_google_cloud_compute_v1_UpdateBackendServiceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateBackendServiceRequest_descriptor,
@@ -60804,7 +60863,7 @@ private static void _clinit_autosplit_dinit_4() {
               "BackendService", "BackendServiceResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_UpdateDiskRequest_descriptor =
-        getDescriptor().getMessageType(1936);
+        getDescriptor().getMessageType(1939);
     internal_static_google_cloud_compute_v1_UpdateDiskRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateDiskRequest_descriptor,
@@ -60812,7 +60871,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Disk", "DiskResource", "Paths", "Project", "RequestId", "UpdateMask", "Zone",
             });
     internal_static_google_cloud_compute_v1_UpdateDisplayDeviceInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1937);
+        getDescriptor().getMessageType(1940);
     internal_static_google_cloud_compute_v1_UpdateDisplayDeviceInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateDisplayDeviceInstanceRequest_descriptor,
@@ -60820,7 +60879,7 @@ private static void _clinit_autosplit_dinit_4() {
               "DisplayDeviceResource", "Instance", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_UpdateFirewallRequest_descriptor =
-        getDescriptor().getMessageType(1938);
+        getDescriptor().getMessageType(1941);
     internal_static_google_cloud_compute_v1_UpdateFirewallRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateFirewallRequest_descriptor,
@@ -60828,7 +60887,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Firewall", "FirewallResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_UpdateFutureReservationRequest_descriptor =
-        getDescriptor().getMessageType(1939);
+        getDescriptor().getMessageType(1942);
     internal_static_google_cloud_compute_v1_UpdateFutureReservationRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateFutureReservationRequest_descriptor,
@@ -60841,7 +60900,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_UpdateGlobalVmExtensionPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1940);
+        getDescriptor().getMessageType(1943);
     internal_static_google_cloud_compute_v1_UpdateGlobalVmExtensionPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateGlobalVmExtensionPolicyRequest_descriptor,
@@ -60849,7 +60908,7 @@ private static void _clinit_autosplit_dinit_4() {
               "GlobalVmExtensionPolicy", "GlobalVmExtensionPolicyResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_UpdateHealthCheckRequest_descriptor =
-        getDescriptor().getMessageType(1941);
+        getDescriptor().getMessageType(1944);
     internal_static_google_cloud_compute_v1_UpdateHealthCheckRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateHealthCheckRequest_descriptor,
@@ -60857,7 +60916,7 @@ private static void _clinit_autosplit_dinit_4() {
               "HealthCheck", "HealthCheckResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_UpdateInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1942);
+        getDescriptor().getMessageType(1945);
     internal_static_google_cloud_compute_v1_UpdateInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateInstanceRequest_descriptor,
@@ -60872,7 +60931,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_UpdateKmsKeyDiskRequest_descriptor =
-        getDescriptor().getMessageType(1943);
+        getDescriptor().getMessageType(1946);
     internal_static_google_cloud_compute_v1_UpdateKmsKeyDiskRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateKmsKeyDiskRequest_descriptor,
@@ -60880,7 +60939,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Disk", "DiskUpdateKmsKeyRequestResource", "Project", "RequestId", "Zone",
             });
     internal_static_google_cloud_compute_v1_UpdateKmsKeyRegionDiskRequest_descriptor =
-        getDescriptor().getMessageType(1944);
+        getDescriptor().getMessageType(1947);
     internal_static_google_cloud_compute_v1_UpdateKmsKeyRegionDiskRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateKmsKeyRegionDiskRequest_descriptor,
@@ -60888,7 +60947,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Disk", "Project", "Region", "RegionDiskUpdateKmsKeyRequestResource", "RequestId",
             });
     internal_static_google_cloud_compute_v1_UpdateKmsKeyRegionSnapshotRequest_descriptor =
-        getDescriptor().getMessageType(1945);
+        getDescriptor().getMessageType(1948);
     internal_static_google_cloud_compute_v1_UpdateKmsKeyRegionSnapshotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateKmsKeyRegionSnapshotRequest_descriptor,
@@ -60900,7 +60959,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Snapshot",
             });
     internal_static_google_cloud_compute_v1_UpdateKmsKeySnapshotRequest_descriptor =
-        getDescriptor().getMessageType(1946);
+        getDescriptor().getMessageType(1949);
     internal_static_google_cloud_compute_v1_UpdateKmsKeySnapshotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateKmsKeySnapshotRequest_descriptor,
@@ -60908,7 +60967,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "RequestId", "Snapshot", "SnapshotUpdateKmsKeyRequestResource",
             });
     internal_static_google_cloud_compute_v1_UpdateLicenseRequest_descriptor =
-        getDescriptor().getMessageType(1947);
+        getDescriptor().getMessageType(1950);
     internal_static_google_cloud_compute_v1_UpdateLicenseRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateLicenseRequest_descriptor,
@@ -60916,7 +60975,7 @@ private static void _clinit_autosplit_dinit_4() {
               "License", "LicenseResource", "Project", "RequestId", "UpdateMask",
             });
     internal_static_google_cloud_compute_v1_UpdateNamedSetRouterRequest_descriptor =
-        getDescriptor().getMessageType(1948);
+        getDescriptor().getMessageType(1951);
     internal_static_google_cloud_compute_v1_UpdateNamedSetRouterRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateNamedSetRouterRequest_descriptor,
@@ -60924,7 +60983,7 @@ private static void _clinit_autosplit_dinit_4() {
               "NamedSetResource", "Project", "Region", "RequestId", "Router",
             });
     internal_static_google_cloud_compute_v1_UpdateNetworkInterfaceInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1949);
+        getDescriptor().getMessageType(1952);
     internal_static_google_cloud_compute_v1_UpdateNetworkInterfaceInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateNetworkInterfaceInstanceRequest_descriptor,
@@ -60937,7 +60996,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_UpdatePeeringNetworkRequest_descriptor =
-        getDescriptor().getMessageType(1950);
+        getDescriptor().getMessageType(1953);
     internal_static_google_cloud_compute_v1_UpdatePeeringNetworkRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdatePeeringNetworkRequest_descriptor,
@@ -60945,7 +61004,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Network", "NetworksUpdatePeeringRequestResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_UpdatePerInstanceConfigsInstanceGroupManagerRequest_descriptor =
-        getDescriptor().getMessageType(1951);
+        getDescriptor().getMessageType(1954);
     internal_static_google_cloud_compute_v1_UpdatePerInstanceConfigsInstanceGroupManagerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdatePerInstanceConfigsInstanceGroupManagerRequest_descriptor,
@@ -60957,7 +61016,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest_descriptor =
-        getDescriptor().getMessageType(1952);
+        getDescriptor().getMessageType(1955);
     internal_static_google_cloud_compute_v1_UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest_descriptor,
@@ -60969,7 +61028,7 @@ private static void _clinit_autosplit_dinit_4() {
               "RequestId",
             });
     internal_static_google_cloud_compute_v1_UpdatePreviewFeatureRequest_descriptor =
-        getDescriptor().getMessageType(1953);
+        getDescriptor().getMessageType(1956);
     internal_static_google_cloud_compute_v1_UpdatePreviewFeatureRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdatePreviewFeatureRequest_descriptor,
@@ -60977,7 +61036,7 @@ private static void _clinit_autosplit_dinit_4() {
               "PreviewFeature", "PreviewFeatureResource", "Project", "RequestId",
             });
     internal_static_google_cloud_compute_v1_UpdateRegionAutoscalerRequest_descriptor =
-        getDescriptor().getMessageType(1954);
+        getDescriptor().getMessageType(1957);
     internal_static_google_cloud_compute_v1_UpdateRegionAutoscalerRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateRegionAutoscalerRequest_descriptor,
@@ -60985,7 +61044,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Autoscaler", "AutoscalerResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_UpdateRegionBackendServiceRequest_descriptor =
-        getDescriptor().getMessageType(1955);
+        getDescriptor().getMessageType(1958);
     internal_static_google_cloud_compute_v1_UpdateRegionBackendServiceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateRegionBackendServiceRequest_descriptor,
@@ -60993,7 +61052,7 @@ private static void _clinit_autosplit_dinit_4() {
               "BackendService", "BackendServiceResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_UpdateRegionCommitmentRequest_descriptor =
-        getDescriptor().getMessageType(1956);
+        getDescriptor().getMessageType(1959);
     internal_static_google_cloud_compute_v1_UpdateRegionCommitmentRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateRegionCommitmentRequest_descriptor,
@@ -61007,7 +61066,7 @@ private static void _clinit_autosplit_dinit_4() {
               "UpdateMask",
             });
     internal_static_google_cloud_compute_v1_UpdateRegionDiskRequest_descriptor =
-        getDescriptor().getMessageType(1957);
+        getDescriptor().getMessageType(1960);
     internal_static_google_cloud_compute_v1_UpdateRegionDiskRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateRegionDiskRequest_descriptor,
@@ -61015,7 +61074,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Disk", "DiskResource", "Paths", "Project", "Region", "RequestId", "UpdateMask",
             });
     internal_static_google_cloud_compute_v1_UpdateRegionHealthCheckRequest_descriptor =
-        getDescriptor().getMessageType(1958);
+        getDescriptor().getMessageType(1961);
     internal_static_google_cloud_compute_v1_UpdateRegionHealthCheckRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateRegionHealthCheckRequest_descriptor,
@@ -61023,7 +61082,7 @@ private static void _clinit_autosplit_dinit_4() {
               "HealthCheck", "HealthCheckResource", "Project", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_UpdateRegionUrlMapRequest_descriptor =
-        getDescriptor().getMessageType(1959);
+        getDescriptor().getMessageType(1962);
     internal_static_google_cloud_compute_v1_UpdateRegionUrlMapRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateRegionUrlMapRequest_descriptor,
@@ -61031,7 +61090,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "RequestId", "UrlMap", "UrlMapResource",
             });
     internal_static_google_cloud_compute_v1_UpdateReservationRequest_descriptor =
-        getDescriptor().getMessageType(1960);
+        getDescriptor().getMessageType(1963);
     internal_static_google_cloud_compute_v1_UpdateReservationRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateReservationRequest_descriptor,
@@ -61045,7 +61104,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_UpdateReservationSlotRequest_descriptor =
-        getDescriptor().getMessageType(1961);
+        getDescriptor().getMessageType(1964);
     internal_static_google_cloud_compute_v1_UpdateReservationSlotRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateReservationSlotRequest_descriptor,
@@ -61058,7 +61117,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Zone",
             });
     internal_static_google_cloud_compute_v1_UpdateRoutePolicyRouterRequest_descriptor =
-        getDescriptor().getMessageType(1962);
+        getDescriptor().getMessageType(1965);
     internal_static_google_cloud_compute_v1_UpdateRoutePolicyRouterRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateRoutePolicyRouterRequest_descriptor,
@@ -61066,7 +61125,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "RequestId", "RoutePolicyResource", "Router",
             });
     internal_static_google_cloud_compute_v1_UpdateRouterRequest_descriptor =
-        getDescriptor().getMessageType(1963);
+        getDescriptor().getMessageType(1966);
     internal_static_google_cloud_compute_v1_UpdateRouterRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateRouterRequest_descriptor,
@@ -61074,7 +61133,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "RequestId", "Router", "RouterResource",
             });
     internal_static_google_cloud_compute_v1_UpdateShieldedInstanceConfigInstanceRequest_descriptor =
-        getDescriptor().getMessageType(1964);
+        getDescriptor().getMessageType(1967);
     internal_static_google_cloud_compute_v1_UpdateShieldedInstanceConfigInstanceRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateShieldedInstanceConfigInstanceRequest_descriptor,
@@ -61082,7 +61141,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Instance", "Project", "RequestId", "ShieldedInstanceConfigResource", "Zone",
             });
     internal_static_google_cloud_compute_v1_UpdateStoragePoolRequest_descriptor =
-        getDescriptor().getMessageType(1965);
+        getDescriptor().getMessageType(1968);
     internal_static_google_cloud_compute_v1_UpdateStoragePoolRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateStoragePoolRequest_descriptor,
@@ -61090,7 +61149,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "RequestId", "StoragePool", "StoragePoolResource", "UpdateMask", "Zone",
             });
     internal_static_google_cloud_compute_v1_UpdateUrlMapRequest_descriptor =
-        getDescriptor().getMessageType(1966);
+        getDescriptor().getMessageType(1969);
     internal_static_google_cloud_compute_v1_UpdateUrlMapRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateUrlMapRequest_descriptor,
@@ -61098,7 +61157,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "RequestId", "UrlMap", "UrlMapResource",
             });
     internal_static_google_cloud_compute_v1_UpdateZoneVmExtensionPolicyRequest_descriptor =
-        getDescriptor().getMessageType(1967);
+        getDescriptor().getMessageType(1970);
     internal_static_google_cloud_compute_v1_UpdateZoneVmExtensionPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UpdateZoneVmExtensionPolicyRequest_descriptor,
@@ -61106,7 +61165,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "RequestId", "VmExtensionPolicy", "VmExtensionPolicyResource", "Zone",
             });
     internal_static_google_cloud_compute_v1_UrlMap_descriptor =
-        getDescriptor().getMessageType(1968);
+        getDescriptor().getMessageType(1971);
     internal_static_google_cloud_compute_v1_UrlMap_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UrlMap_descriptor,
@@ -61129,7 +61188,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Tests",
             });
     internal_static_google_cloud_compute_v1_UrlMapList_descriptor =
-        getDescriptor().getMessageType(1969);
+        getDescriptor().getMessageType(1972);
     internal_static_google_cloud_compute_v1_UrlMapList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UrlMapList_descriptor,
@@ -61137,7 +61196,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_UrlMapReference_descriptor =
-        getDescriptor().getMessageType(1970);
+        getDescriptor().getMessageType(1973);
     internal_static_google_cloud_compute_v1_UrlMapReference_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UrlMapReference_descriptor,
@@ -61145,7 +61204,7 @@ private static void _clinit_autosplit_dinit_4() {
               "UrlMap",
             });
     internal_static_google_cloud_compute_v1_UrlMapTest_descriptor =
-        getDescriptor().getMessageType(1971);
+        getDescriptor().getMessageType(1974);
     internal_static_google_cloud_compute_v1_UrlMapTest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UrlMapTest_descriptor,
@@ -61159,7 +61218,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Service",
             });
     internal_static_google_cloud_compute_v1_UrlMapTestHeader_descriptor =
-        getDescriptor().getMessageType(1972);
+        getDescriptor().getMessageType(1975);
     internal_static_google_cloud_compute_v1_UrlMapTestHeader_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UrlMapTestHeader_descriptor,
@@ -61167,7 +61226,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Name", "Value",
             });
     internal_static_google_cloud_compute_v1_UrlMapValidationResult_descriptor =
-        getDescriptor().getMessageType(1973);
+        getDescriptor().getMessageType(1976);
     internal_static_google_cloud_compute_v1_UrlMapValidationResult_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UrlMapValidationResult_descriptor,
@@ -61175,7 +61234,7 @@ private static void _clinit_autosplit_dinit_4() {
               "LoadErrors", "LoadSucceeded", "TestFailures", "TestPassed",
             });
     internal_static_google_cloud_compute_v1_UrlMapsAggregatedList_descriptor =
-        getDescriptor().getMessageType(1974);
+        getDescriptor().getMessageType(1977);
     internal_static_google_cloud_compute_v1_UrlMapsAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UrlMapsAggregatedList_descriptor,
@@ -61191,7 +61250,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_UrlMapsScopedList_descriptor =
-        getDescriptor().getMessageType(1975);
+        getDescriptor().getMessageType(1978);
     internal_static_google_cloud_compute_v1_UrlMapsScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UrlMapsScopedList_descriptor,
@@ -61199,7 +61258,7 @@ private static void _clinit_autosplit_dinit_4() {
               "UrlMaps", "Warning",
             });
     internal_static_google_cloud_compute_v1_UrlMapsValidateRequest_descriptor =
-        getDescriptor().getMessageType(1976);
+        getDescriptor().getMessageType(1979);
     internal_static_google_cloud_compute_v1_UrlMapsValidateRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UrlMapsValidateRequest_descriptor,
@@ -61207,7 +61266,7 @@ private static void _clinit_autosplit_dinit_4() {
               "LoadBalancingSchemes", "Resource",
             });
     internal_static_google_cloud_compute_v1_UrlMapsValidateResponse_descriptor =
-        getDescriptor().getMessageType(1977);
+        getDescriptor().getMessageType(1980);
     internal_static_google_cloud_compute_v1_UrlMapsValidateResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UrlMapsValidateResponse_descriptor,
@@ -61215,7 +61274,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Result",
             });
     internal_static_google_cloud_compute_v1_UrlRewrite_descriptor =
-        getDescriptor().getMessageType(1978);
+        getDescriptor().getMessageType(1981);
     internal_static_google_cloud_compute_v1_UrlRewrite_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UrlRewrite_descriptor,
@@ -61223,7 +61282,7 @@ private static void _clinit_autosplit_dinit_4() {
               "HostRewrite", "PathPrefixRewrite", "PathTemplateRewrite", "RegexRewrite",
             });
     internal_static_google_cloud_compute_v1_UsableSubnetwork_descriptor =
-        getDescriptor().getMessageType(1979);
+        getDescriptor().getMessageType(1982);
     internal_static_google_cloud_compute_v1_UsableSubnetwork_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UsableSubnetwork_descriptor,
@@ -61240,7 +61299,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Subnetwork",
             });
     internal_static_google_cloud_compute_v1_UsableSubnetworkSecondaryRange_descriptor =
-        getDescriptor().getMessageType(1980);
+        getDescriptor().getMessageType(1983);
     internal_static_google_cloud_compute_v1_UsableSubnetworkSecondaryRange_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UsableSubnetworkSecondaryRange_descriptor,
@@ -61248,7 +61307,7 @@ private static void _clinit_autosplit_dinit_4() {
               "IpCidrRange", "RangeName",
             });
     internal_static_google_cloud_compute_v1_UsableSubnetworksAggregatedList_descriptor =
-        getDescriptor().getMessageType(1981);
+        getDescriptor().getMessageType(1984);
     internal_static_google_cloud_compute_v1_UsableSubnetworksAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UsableSubnetworksAggregatedList_descriptor,
@@ -61263,7 +61322,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Warning",
             });
     internal_static_google_cloud_compute_v1_UsageExportLocation_descriptor =
-        getDescriptor().getMessageType(1982);
+        getDescriptor().getMessageType(1985);
     internal_static_google_cloud_compute_v1_UsageExportLocation_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_UsageExportLocation_descriptor,
@@ -61271,7 +61330,7 @@ private static void _clinit_autosplit_dinit_4() {
               "BucketName", "ReportNamePrefix",
             });
     internal_static_google_cloud_compute_v1_ValidateRegionUrlMapRequest_descriptor =
-        getDescriptor().getMessageType(1983);
+        getDescriptor().getMessageType(1986);
     internal_static_google_cloud_compute_v1_ValidateRegionUrlMapRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ValidateRegionUrlMapRequest_descriptor,
@@ -61279,7 +61338,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "Region", "RegionUrlMapsValidateRequestResource", "UrlMap",
             });
     internal_static_google_cloud_compute_v1_ValidateUrlMapRequest_descriptor =
-        getDescriptor().getMessageType(1984);
+        getDescriptor().getMessageType(1987);
     internal_static_google_cloud_compute_v1_ValidateUrlMapRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ValidateUrlMapRequest_descriptor,
@@ -61287,7 +61346,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "UrlMap", "UrlMapsValidateRequestResource",
             });
     internal_static_google_cloud_compute_v1_VmEndpointNatMappings_descriptor =
-        getDescriptor().getMessageType(1985);
+        getDescriptor().getMessageType(1988);
     internal_static_google_cloud_compute_v1_VmEndpointNatMappings_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VmEndpointNatMappings_descriptor,
@@ -61295,7 +61354,7 @@ private static void _clinit_autosplit_dinit_4() {
               "InstanceName", "InterfaceNatMappings",
             });
     internal_static_google_cloud_compute_v1_VmEndpointNatMappingsInterfaceNatMappings_descriptor =
-        getDescriptor().getMessageType(1986);
+        getDescriptor().getMessageType(1989);
     internal_static_google_cloud_compute_v1_VmEndpointNatMappingsInterfaceNatMappings_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VmEndpointNatMappingsInterfaceNatMappings_descriptor,
@@ -61309,7 +61368,7 @@ private static void _clinit_autosplit_dinit_4() {
               "SourceVirtualIp",
             });
     internal_static_google_cloud_compute_v1_VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings_descriptor =
-        getDescriptor().getMessageType(1987);
+        getDescriptor().getMessageType(1990);
     internal_static_google_cloud_compute_v1_VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings_descriptor,
@@ -61321,7 +61380,7 @@ private static void _clinit_autosplit_dinit_4() {
               "RuleNumber",
             });
     internal_static_google_cloud_compute_v1_VmEndpointNatMappingsList_descriptor =
-        getDescriptor().getMessageType(1988);
+        getDescriptor().getMessageType(1991);
     internal_static_google_cloud_compute_v1_VmEndpointNatMappingsList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VmEndpointNatMappingsList_descriptor,
@@ -61329,7 +61388,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Id", "Kind", "NextPageToken", "Result", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_VmExtensionPoliciesScopedList_descriptor =
-        getDescriptor().getMessageType(1989);
+        getDescriptor().getMessageType(1992);
     internal_static_google_cloud_compute_v1_VmExtensionPoliciesScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VmExtensionPoliciesScopedList_descriptor,
@@ -61337,7 +61396,7 @@ private static void _clinit_autosplit_dinit_4() {
               "VmExtensionPolicies", "Warning",
             });
     internal_static_google_cloud_compute_v1_VmExtensionPolicy_descriptor =
-        getDescriptor().getMessageType(1990);
+        getDescriptor().getMessageType(1993);
     internal_static_google_cloud_compute_v1_VmExtensionPolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VmExtensionPolicy_descriptor,
@@ -61366,7 +61425,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_VmExtensionPolicyAggregatedListResponse_descriptor =
-        getDescriptor().getMessageType(1991);
+        getDescriptor().getMessageType(1994);
     internal_static_google_cloud_compute_v1_VmExtensionPolicyAggregatedListResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VmExtensionPolicyAggregatedListResponse_descriptor,
@@ -61383,7 +61442,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_VmExtensionPolicyExtensionPolicy_descriptor =
-        getDescriptor().getMessageType(1992);
+        getDescriptor().getMessageType(1995);
     internal_static_google_cloud_compute_v1_VmExtensionPolicyExtensionPolicy_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VmExtensionPolicyExtensionPolicy_descriptor,
@@ -61391,7 +61450,7 @@ private static void _clinit_autosplit_dinit_4() {
               "PinnedVersion", "StringConfig",
             });
     internal_static_google_cloud_compute_v1_VmExtensionPolicyInstanceSelector_descriptor =
-        getDescriptor().getMessageType(1993);
+        getDescriptor().getMessageType(1996);
     internal_static_google_cloud_compute_v1_VmExtensionPolicyInstanceSelector_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VmExtensionPolicyInstanceSelector_descriptor,
@@ -61399,7 +61458,7 @@ private static void _clinit_autosplit_dinit_4() {
               "LabelSelector",
             });
     internal_static_google_cloud_compute_v1_VmExtensionPolicyLabelSelector_descriptor =
-        getDescriptor().getMessageType(1994);
+        getDescriptor().getMessageType(1997);
     internal_static_google_cloud_compute_v1_VmExtensionPolicyLabelSelector_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VmExtensionPolicyLabelSelector_descriptor,
@@ -61416,7 +61475,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_VmExtensionPolicyList_descriptor =
-        getDescriptor().getMessageType(1995);
+        getDescriptor().getMessageType(1998);
     internal_static_google_cloud_compute_v1_VmExtensionPolicyList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VmExtensionPolicyList_descriptor,
@@ -61424,7 +61483,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Etag", "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Unreachables", "Warning",
             });
     internal_static_google_cloud_compute_v1_VpnGateway_descriptor =
-        getDescriptor().getMessageType(1996);
+        getDescriptor().getMessageType(1999);
     internal_static_google_cloud_compute_v1_VpnGateway_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VpnGateway_descriptor,
@@ -61453,7 +61512,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_VpnGatewayAggregatedList_descriptor =
-        getDescriptor().getMessageType(1997);
+        getDescriptor().getMessageType(2000);
     internal_static_google_cloud_compute_v1_VpnGatewayAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VpnGatewayAggregatedList_descriptor,
@@ -61470,7 +61529,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_VpnGatewayList_descriptor =
-        getDescriptor().getMessageType(1998);
+        getDescriptor().getMessageType(2001);
     internal_static_google_cloud_compute_v1_VpnGatewayList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VpnGatewayList_descriptor,
@@ -61478,7 +61537,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_VpnGatewayParams_descriptor =
-        getDescriptor().getMessageType(1999);
+        getDescriptor().getMessageType(2002);
     internal_static_google_cloud_compute_v1_VpnGatewayParams_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VpnGatewayParams_descriptor,
@@ -61494,7 +61553,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_VpnGatewayStatus_descriptor =
-        getDescriptor().getMessageType(2000);
+        getDescriptor().getMessageType(2003);
     internal_static_google_cloud_compute_v1_VpnGatewayStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VpnGatewayStatus_descriptor,
@@ -61502,7 +61561,7 @@ private static void _clinit_autosplit_dinit_4() {
               "VpnConnections",
             });
     internal_static_google_cloud_compute_v1_VpnGatewayStatusHighAvailabilityRequirementState_descriptor =
-        getDescriptor().getMessageType(2001);
+        getDescriptor().getMessageType(2004);
     internal_static_google_cloud_compute_v1_VpnGatewayStatusHighAvailabilityRequirementState_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VpnGatewayStatusHighAvailabilityRequirementState_descriptor,
@@ -61510,7 +61569,7 @@ private static void _clinit_autosplit_dinit_4() {
               "State", "UnsatisfiedReason",
             });
     internal_static_google_cloud_compute_v1_VpnGatewayStatusTunnel_descriptor =
-        getDescriptor().getMessageType(2002);
+        getDescriptor().getMessageType(2005);
     internal_static_google_cloud_compute_v1_VpnGatewayStatusTunnel_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VpnGatewayStatusTunnel_descriptor,
@@ -61518,7 +61577,7 @@ private static void _clinit_autosplit_dinit_4() {
               "LocalGatewayInterface", "PeerGatewayInterface", "TunnelUrl",
             });
     internal_static_google_cloud_compute_v1_VpnGatewayStatusVpnConnection_descriptor =
-        getDescriptor().getMessageType(2003);
+        getDescriptor().getMessageType(2006);
     internal_static_google_cloud_compute_v1_VpnGatewayStatusVpnConnection_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VpnGatewayStatusVpnConnection_descriptor,
@@ -61526,7 +61585,7 @@ private static void _clinit_autosplit_dinit_4() {
               "PeerExternalGateway", "PeerGcpGateway", "State", "Tunnels",
             });
     internal_static_google_cloud_compute_v1_VpnGatewayVpnGatewayInterface_descriptor =
-        getDescriptor().getMessageType(2004);
+        getDescriptor().getMessageType(2007);
     internal_static_google_cloud_compute_v1_VpnGatewayVpnGatewayInterface_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VpnGatewayVpnGatewayInterface_descriptor,
@@ -61534,7 +61593,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Id", "InterconnectAttachment", "IpAddress", "Ipv6Address",
             });
     internal_static_google_cloud_compute_v1_VpnGatewaysGetStatusResponse_descriptor =
-        getDescriptor().getMessageType(2005);
+        getDescriptor().getMessageType(2008);
     internal_static_google_cloud_compute_v1_VpnGatewaysGetStatusResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VpnGatewaysGetStatusResponse_descriptor,
@@ -61542,7 +61601,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Result",
             });
     internal_static_google_cloud_compute_v1_VpnGatewaysScopedList_descriptor =
-        getDescriptor().getMessageType(2006);
+        getDescriptor().getMessageType(2009);
     internal_static_google_cloud_compute_v1_VpnGatewaysScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VpnGatewaysScopedList_descriptor,
@@ -61550,7 +61609,7 @@ private static void _clinit_autosplit_dinit_4() {
               "VpnGateways", "Warning",
             });
     internal_static_google_cloud_compute_v1_VpnTunnel_descriptor =
-        getDescriptor().getMessageType(2007);
+        getDescriptor().getMessageType(2010);
     internal_static_google_cloud_compute_v1_VpnTunnel_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VpnTunnel_descriptor,
@@ -61591,7 +61650,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_VpnTunnelAggregatedList_descriptor =
-        getDescriptor().getMessageType(2008);
+        getDescriptor().getMessageType(2011);
     internal_static_google_cloud_compute_v1_VpnTunnelAggregatedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VpnTunnelAggregatedList_descriptor,
@@ -61607,7 +61666,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_VpnTunnelCipherSuite_descriptor =
-        getDescriptor().getMessageType(2009);
+        getDescriptor().getMessageType(2012);
     internal_static_google_cloud_compute_v1_VpnTunnelCipherSuite_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VpnTunnelCipherSuite_descriptor,
@@ -61615,7 +61674,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Phase1", "Phase2",
             });
     internal_static_google_cloud_compute_v1_VpnTunnelList_descriptor =
-        getDescriptor().getMessageType(2010);
+        getDescriptor().getMessageType(2013);
     internal_static_google_cloud_compute_v1_VpnTunnelList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VpnTunnelList_descriptor,
@@ -61623,7 +61682,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_VpnTunnelParams_descriptor =
-        getDescriptor().getMessageType(2011);
+        getDescriptor().getMessageType(2014);
     internal_static_google_cloud_compute_v1_VpnTunnelParams_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VpnTunnelParams_descriptor,
@@ -61639,7 +61698,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_VpnTunnelPhase1Algorithms_descriptor =
-        getDescriptor().getMessageType(2012);
+        getDescriptor().getMessageType(2015);
     internal_static_google_cloud_compute_v1_VpnTunnelPhase1Algorithms_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VpnTunnelPhase1Algorithms_descriptor,
@@ -61647,7 +61706,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Dh", "Encryption", "Integrity", "Prf",
             });
     internal_static_google_cloud_compute_v1_VpnTunnelPhase2Algorithms_descriptor =
-        getDescriptor().getMessageType(2013);
+        getDescriptor().getMessageType(2016);
     internal_static_google_cloud_compute_v1_VpnTunnelPhase2Algorithms_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VpnTunnelPhase2Algorithms_descriptor,
@@ -61655,7 +61714,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Encryption", "Integrity", "Pfs",
             });
     internal_static_google_cloud_compute_v1_VpnTunnelsScopedList_descriptor =
-        getDescriptor().getMessageType(2014);
+        getDescriptor().getMessageType(2017);
     internal_static_google_cloud_compute_v1_VpnTunnelsScopedList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_VpnTunnelsScopedList_descriptor,
@@ -61663,7 +61722,7 @@ private static void _clinit_autosplit_dinit_4() {
               "VpnTunnels", "Warning",
             });
     internal_static_google_cloud_compute_v1_WafExpressionSet_descriptor =
-        getDescriptor().getMessageType(2015);
+        getDescriptor().getMessageType(2018);
     internal_static_google_cloud_compute_v1_WafExpressionSet_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_WafExpressionSet_descriptor,
@@ -61671,7 +61730,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Aliases", "Expressions", "Id",
             });
     internal_static_google_cloud_compute_v1_WafExpressionSetExpression_descriptor =
-        getDescriptor().getMessageType(2016);
+        getDescriptor().getMessageType(2019);
     internal_static_google_cloud_compute_v1_WafExpressionSetExpression_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_WafExpressionSetExpression_descriptor,
@@ -61679,7 +61738,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Id", "Sensitivity",
             });
     internal_static_google_cloud_compute_v1_WaitGlobalOperationRequest_descriptor =
-        getDescriptor().getMessageType(2017);
+        getDescriptor().getMessageType(2020);
     internal_static_google_cloud_compute_v1_WaitGlobalOperationRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_WaitGlobalOperationRequest_descriptor,
@@ -61687,7 +61746,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Operation", "Project",
             });
     internal_static_google_cloud_compute_v1_WaitRegionOperationRequest_descriptor =
-        getDescriptor().getMessageType(2018);
+        getDescriptor().getMessageType(2021);
     internal_static_google_cloud_compute_v1_WaitRegionOperationRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_WaitRegionOperationRequest_descriptor,
@@ -61695,7 +61754,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Operation", "Project", "Region",
             });
     internal_static_google_cloud_compute_v1_WaitZoneOperationRequest_descriptor =
-        getDescriptor().getMessageType(2019);
+        getDescriptor().getMessageType(2022);
     internal_static_google_cloud_compute_v1_WaitZoneOperationRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_WaitZoneOperationRequest_descriptor,
@@ -61703,7 +61762,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Operation", "Project", "Zone",
             });
     internal_static_google_cloud_compute_v1_Warning_descriptor =
-        getDescriptor().getMessageType(2020);
+        getDescriptor().getMessageType(2023);
     internal_static_google_cloud_compute_v1_Warning_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Warning_descriptor,
@@ -61711,7 +61770,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Code", "Data", "Message",
             });
     internal_static_google_cloud_compute_v1_Warnings_descriptor =
-        getDescriptor().getMessageType(2021);
+        getDescriptor().getMessageType(2024);
     internal_static_google_cloud_compute_v1_Warnings_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Warnings_descriptor,
@@ -61719,14 +61778,14 @@ private static void _clinit_autosplit_dinit_4() {
               "Code", "Data", "Message",
             });
     internal_static_google_cloud_compute_v1_WeightedBackendService_descriptor =
-        getDescriptor().getMessageType(2022);
+        getDescriptor().getMessageType(2025);
     internal_static_google_cloud_compute_v1_WeightedBackendService_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_WeightedBackendService_descriptor,
             new java.lang.String[] {
               "BackendService", "HeaderAction", "Weight",
             });
-    internal_static_google_cloud_compute_v1_Wire_descriptor = getDescriptor().getMessageType(2023);
+    internal_static_google_cloud_compute_v1_Wire_descriptor = getDescriptor().getMessageType(2026);
     internal_static_google_cloud_compute_v1_Wire_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Wire_descriptor,
@@ -61734,7 +61793,7 @@ private static void _clinit_autosplit_dinit_4() {
               "AdminEnabled", "Endpoints", "Label", "WireProperties",
             });
     internal_static_google_cloud_compute_v1_WireEndpoint_descriptor =
-        getDescriptor().getMessageType(2024);
+        getDescriptor().getMessageType(2027);
     internal_static_google_cloud_compute_v1_WireEndpoint_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_WireEndpoint_descriptor,
@@ -61742,7 +61801,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Interconnect", "VlanTag",
             });
     internal_static_google_cloud_compute_v1_WireGroup_descriptor =
-        getDescriptor().getMessageType(2025);
+        getDescriptor().getMessageType(2028);
     internal_static_google_cloud_compute_v1_WireGroup_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_WireGroup_descriptor,
@@ -61769,7 +61828,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_WireGroupEndpoint_descriptor =
-        getDescriptor().getMessageType(2026);
+        getDescriptor().getMessageType(2029);
     internal_static_google_cloud_compute_v1_WireGroupEndpoint_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_WireGroupEndpoint_descriptor,
@@ -61785,7 +61844,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_WireGroupEndpointInterconnect_descriptor =
-        getDescriptor().getMessageType(2027);
+        getDescriptor().getMessageType(2030);
     internal_static_google_cloud_compute_v1_WireGroupEndpointInterconnect_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_WireGroupEndpointInterconnect_descriptor,
@@ -61793,7 +61852,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Interconnect", "VlanTags",
             });
     internal_static_google_cloud_compute_v1_WireGroupList_descriptor =
-        getDescriptor().getMessageType(2028);
+        getDescriptor().getMessageType(2031);
     internal_static_google_cloud_compute_v1_WireGroupList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_WireGroupList_descriptor,
@@ -61801,7 +61860,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Etag", "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Unreachables", "Warning",
             });
     internal_static_google_cloud_compute_v1_WireGroupTopology_descriptor =
-        getDescriptor().getMessageType(2029);
+        getDescriptor().getMessageType(2032);
     internal_static_google_cloud_compute_v1_WireGroupTopology_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_WireGroupTopology_descriptor,
@@ -61809,7 +61868,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Endpoints",
             });
     internal_static_google_cloud_compute_v1_WireGroupTopologyEndpoint_descriptor =
-        getDescriptor().getMessageType(2030);
+        getDescriptor().getMessageType(2033);
     internal_static_google_cloud_compute_v1_WireGroupTopologyEndpoint_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_WireGroupTopologyEndpoint_descriptor,
@@ -61817,7 +61876,7 @@ private static void _clinit_autosplit_dinit_4() {
               "City", "Label",
             });
     internal_static_google_cloud_compute_v1_WireProperties_descriptor =
-        getDescriptor().getMessageType(2031);
+        getDescriptor().getMessageType(2034);
     internal_static_google_cloud_compute_v1_WireProperties_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_WireProperties_descriptor,
@@ -61825,7 +61884,7 @@ private static void _clinit_autosplit_dinit_4() {
               "BandwidthAllocation", "BandwidthUnmetered", "FaultResponse",
             });
     internal_static_google_cloud_compute_v1_WithdrawPublicAdvertisedPrefixeRequest_descriptor =
-        getDescriptor().getMessageType(2032);
+        getDescriptor().getMessageType(2035);
     internal_static_google_cloud_compute_v1_WithdrawPublicAdvertisedPrefixeRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_WithdrawPublicAdvertisedPrefixeRequest_descriptor,
@@ -61833,7 +61892,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "PublicAdvertisedPrefix", "RequestId",
             });
     internal_static_google_cloud_compute_v1_WithdrawPublicDelegatedPrefixeRequest_descriptor =
-        getDescriptor().getMessageType(2033);
+        getDescriptor().getMessageType(2036);
     internal_static_google_cloud_compute_v1_WithdrawPublicDelegatedPrefixeRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_WithdrawPublicDelegatedPrefixeRequest_descriptor,
@@ -61841,7 +61900,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Project", "PublicDelegatedPrefix", "Region", "RequestId",
             });
     internal_static_google_cloud_compute_v1_WorkloadIdentityConfig_descriptor =
-        getDescriptor().getMessageType(2034);
+        getDescriptor().getMessageType(2037);
     internal_static_google_cloud_compute_v1_WorkloadIdentityConfig_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_WorkloadIdentityConfig_descriptor,
@@ -61849,7 +61908,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Identity", "IdentityCertificateEnabled",
             });
     internal_static_google_cloud_compute_v1_XpnHostList_descriptor =
-        getDescriptor().getMessageType(2035);
+        getDescriptor().getMessageType(2038);
     internal_static_google_cloud_compute_v1_XpnHostList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_XpnHostList_descriptor,
@@ -61857,14 +61916,14 @@ private static void _clinit_autosplit_dinit_4() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_XpnResourceId_descriptor =
-        getDescriptor().getMessageType(2036);
+        getDescriptor().getMessageType(2039);
     internal_static_google_cloud_compute_v1_XpnResourceId_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_XpnResourceId_descriptor,
             new java.lang.String[] {
               "Id", "Type",
             });
-    internal_static_google_cloud_compute_v1_Zone_descriptor = getDescriptor().getMessageType(2037);
+    internal_static_google_cloud_compute_v1_Zone_descriptor = getDescriptor().getMessageType(2040);
     internal_static_google_cloud_compute_v1_Zone_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_Zone_descriptor,
@@ -61883,7 +61942,7 @@ private static void _clinit_autosplit_dinit_4() {
               "SupportsPzs",
             });
     internal_static_google_cloud_compute_v1_ZoneList_descriptor =
-        getDescriptor().getMessageType(2038);
+        getDescriptor().getMessageType(2041);
     internal_static_google_cloud_compute_v1_ZoneList_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ZoneList_descriptor,
@@ -61891,7 +61950,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning",
             });
     internal_static_google_cloud_compute_v1_ZoneResourceStatus_descriptor =
-        getDescriptor().getMessageType(2039);
+        getDescriptor().getMessageType(2042);
     internal_static_google_cloud_compute_v1_ZoneResourceStatus_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ZoneResourceStatus_descriptor,
@@ -61899,7 +61958,7 @@ private static void _clinit_autosplit_dinit_4() {
               "UpcomingMaintenances",
             });
     internal_static_google_cloud_compute_v1_ZoneSetLabelsRequest_descriptor =
-        getDescriptor().getMessageType(2040);
+        getDescriptor().getMessageType(2043);
     internal_static_google_cloud_compute_v1_ZoneSetLabelsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ZoneSetLabelsRequest_descriptor,
@@ -61915,7 +61974,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Key", "Value",
             });
     internal_static_google_cloud_compute_v1_ZoneSetNestedPolicyRequest_descriptor =
-        getDescriptor().getMessageType(2041);
+        getDescriptor().getMessageType(2044);
     internal_static_google_cloud_compute_v1_ZoneSetNestedPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ZoneSetNestedPolicyRequest_descriptor,
@@ -61923,7 +61982,7 @@ private static void _clinit_autosplit_dinit_4() {
               "Bindings", "Etag", "Policy",
             });
     internal_static_google_cloud_compute_v1_ZoneSetPolicyRequest_descriptor =
-        getDescriptor().getMessageType(2042);
+        getDescriptor().getMessageType(2045);
     internal_static_google_cloud_compute_v1_ZoneSetPolicyRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_cloud_compute_v1_ZoneSetPolicyRequest_descriptor,
diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ConfidentialInstanceConfig.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ConfidentialInstanceConfig.java
index 95874697835a..7bc870f035d3 100644
--- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ConfidentialInstanceConfig.java
+++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ConfidentialInstanceConfig.java
@@ -91,6 +91,16 @@ public enum ConfidentialInstanceType implements com.google.protobuf.ProtocolMess
      * UNDEFINED_CONFIDENTIAL_INSTANCE_TYPE = 0;
      */
     UNDEFINED_CONFIDENTIAL_INSTANCE_TYPE(0),
+    /**
+     *
+     *
+     * 
+     * Bare Metal Secure AI.
+     * 
+ * + * BMSAI = 63328144; + */ + BMSAI(63328144), /** * * @@ -165,6 +175,17 @@ public enum ConfidentialInstanceType implements com.google.protobuf.ProtocolMess */ public static final int UNDEFINED_CONFIDENTIAL_INSTANCE_TYPE_VALUE = 0; + /** + * + * + *
+     * Bare Metal Secure AI.
+     * 
+ * + * BMSAI = 63328144; + */ + public static final int BMSAI_VALUE = 63328144; + /** * * @@ -246,6 +267,8 @@ public static ConfidentialInstanceType forNumber(int value) { switch (value) { case 0: return UNDEFINED_CONFIDENTIAL_INSTANCE_TYPE; + case 63328144: + return BMSAI; case 66529: return CCA; case 115021829: diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FutureReservation.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FutureReservation.java index b1729e3a7aec..294551b09ad0 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FutureReservation.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FutureReservation.java @@ -103,6 +103,16 @@ public enum ConfidentialComputeType implements com.google.protobuf.ProtocolMessa * UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0; */ UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE(0), + /** + * + * + *
+     * Bare Metal Secure AI.
+     * 
+ * + * CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103738250; + */ + CONFIDENTIAL_COMPUTE_TYPE_BMSAI(103738250), /** * * @@ -139,6 +149,17 @@ public enum ConfidentialComputeType implements com.google.protobuf.ProtocolMessa */ public static final int UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE_VALUE = 0; + /** + * + * + *
+     * Bare Metal Secure AI.
+     * 
+ * + * CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103738250; + */ + public static final int CONFIDENTIAL_COMPUTE_TYPE_BMSAI_VALUE = 103738250; + /** * * @@ -179,6 +200,8 @@ public static ConfidentialComputeType forNumber(int value) { switch (value) { case 0: return UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE; + case 103738250: + return CONFIDENTIAL_COMPUTE_TYPE_BMSAI; case 301241954: return CONFIDENTIAL_COMPUTE_TYPE_TDX; case 42227601: diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetHealthOperationMetadata.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetHealthOperationMetadata.java new file mode 100644 index 000000000000..795cf8e1c031 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetHealthOperationMetadata.java @@ -0,0 +1,731 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/compute/v1/compute.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * Metadata for GetHealth operations.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetHealthOperationMetadata} + */ +@com.google.protobuf.Generated +public final class GetHealthOperationMetadata extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.GetHealthOperationMetadata) + GetHealthOperationMetadataOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "GetHealthOperationMetadata"); + } + + // Use GetHealthOperationMetadata.newBuilder() to construct. + private GetHealthOperationMetadata(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private GetHealthOperationMetadata() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetHealthOperationMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetHealthOperationMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetHealthOperationMetadata.class, + com.google.cloud.compute.v1.GetHealthOperationMetadata.Builder.class); + } + + private int bitField0_; + public static final int HEALTH_INFO_FIELD_NUMBER = 235287729; + private com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo healthInfo_; + + /** + * + * + *
+   * Output only. The health information.
+   * 
+ * + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo health_info = 235287729; + * + * + * @return Whether the healthInfo field is set. + */ + @java.lang.Override + public boolean hasHealthInfo() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Output only. The health information.
+   * 
+ * + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo health_info = 235287729; + * + * + * @return The healthInfo. + */ + @java.lang.Override + public com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo getHealthInfo() { + return healthInfo_ == null + ? com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.getDefaultInstance() + : healthInfo_; + } + + /** + * + * + *
+   * Output only. The health information.
+   * 
+ * + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo health_info = 235287729; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfoOrBuilder + getHealthInfoOrBuilder() { + return healthInfo_ == null + ? com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.getDefaultInstance() + : healthInfo_; + } + + 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 (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(235287729, getHealthInfo()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(235287729, getHealthInfo()); + } + 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.cloud.compute.v1.GetHealthOperationMetadata)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.GetHealthOperationMetadata other = + (com.google.cloud.compute.v1.GetHealthOperationMetadata) obj; + + if (hasHealthInfo() != other.hasHealthInfo()) return false; + if (hasHealthInfo()) { + if (!getHealthInfo().equals(other.getHealthInfo())) 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(); + if (hasHealthInfo()) { + hash = (37 * hash) + HEALTH_INFO_FIELD_NUMBER; + hash = (53 * hash) + getHealthInfo().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.GetHealthOperationMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetHealthOperationMetadata parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetHealthOperationMetadata parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetHealthOperationMetadata 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.cloud.compute.v1.GetHealthOperationMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetHealthOperationMetadata parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetHealthOperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetHealthOperationMetadata parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetHealthOperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetHealthOperationMetadata parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetHealthOperationMetadata parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetHealthOperationMetadata parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.compute.v1.GetHealthOperationMetadata 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Metadata for GetHealth operations.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetHealthOperationMetadata} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.GetHealthOperationMetadata) + com.google.cloud.compute.v1.GetHealthOperationMetadataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetHealthOperationMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetHealthOperationMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetHealthOperationMetadata.class, + com.google.cloud.compute.v1.GetHealthOperationMetadata.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.GetHealthOperationMetadata.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetHealthInfoFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + healthInfo_ = null; + if (healthInfoBuilder_ != null) { + healthInfoBuilder_.dispose(); + healthInfoBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetHealthOperationMetadata_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetHealthOperationMetadata getDefaultInstanceForType() { + return com.google.cloud.compute.v1.GetHealthOperationMetadata.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetHealthOperationMetadata build() { + com.google.cloud.compute.v1.GetHealthOperationMetadata result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetHealthOperationMetadata buildPartial() { + com.google.cloud.compute.v1.GetHealthOperationMetadata result = + new com.google.cloud.compute.v1.GetHealthOperationMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.compute.v1.GetHealthOperationMetadata result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.healthInfo_ = healthInfoBuilder_ == null ? healthInfo_ : healthInfoBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.GetHealthOperationMetadata) { + return mergeFrom((com.google.cloud.compute.v1.GetHealthOperationMetadata) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.GetHealthOperationMetadata other) { + if (other == com.google.cloud.compute.v1.GetHealthOperationMetadata.getDefaultInstance()) + return this; + if (other.hasHealthInfo()) { + mergeHealthInfo(other.getHealthInfo()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 1882301834: + { + input.readMessage( + internalGetHealthInfoFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 1882301834 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo healthInfo_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo, + com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.Builder, + com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfoOrBuilder> + healthInfoBuilder_; + + /** + * + * + *
+     * Output only. The health information.
+     * 
+ * + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo health_info = 235287729; + * + * + * @return Whether the healthInfo field is set. + */ + public boolean hasHealthInfo() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Output only. The health information.
+     * 
+ * + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo health_info = 235287729; + * + * + * @return The healthInfo. + */ + public com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo getHealthInfo() { + if (healthInfoBuilder_ == null) { + return healthInfo_ == null + ? com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.getDefaultInstance() + : healthInfo_; + } else { + return healthInfoBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Output only. The health information.
+     * 
+ * + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo health_info = 235287729; + * + */ + public Builder setHealthInfo( + com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo value) { + if (healthInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + healthInfo_ = value; + } else { + healthInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The health information.
+     * 
+ * + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo health_info = 235287729; + * + */ + public Builder setHealthInfo( + com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.Builder builderForValue) { + if (healthInfoBuilder_ == null) { + healthInfo_ = builderForValue.build(); + } else { + healthInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The health information.
+     * 
+ * + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo health_info = 235287729; + * + */ + public Builder mergeHealthInfo( + com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo value) { + if (healthInfoBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && healthInfo_ != null + && healthInfo_ + != com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo + .getDefaultInstance()) { + getHealthInfoBuilder().mergeFrom(value); + } else { + healthInfo_ = value; + } + } else { + healthInfoBuilder_.mergeFrom(value); + } + if (healthInfo_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Output only. The health information.
+     * 
+ * + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo health_info = 235287729; + * + */ + public Builder clearHealthInfo() { + bitField0_ = (bitField0_ & ~0x00000001); + healthInfo_ = null; + if (healthInfoBuilder_ != null) { + healthInfoBuilder_.dispose(); + healthInfoBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The health information.
+     * 
+ * + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo health_info = 235287729; + * + */ + public com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.Builder + getHealthInfoBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetHealthInfoFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Output only. The health information.
+     * 
+ * + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo health_info = 235287729; + * + */ + public com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfoOrBuilder + getHealthInfoOrBuilder() { + if (healthInfoBuilder_ != null) { + return healthInfoBuilder_.getMessageOrBuilder(); + } else { + return healthInfo_ == null + ? com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.getDefaultInstance() + : healthInfo_; + } + } + + /** + * + * + *
+     * Output only. The health information.
+     * 
+ * + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo health_info = 235287729; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo, + com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.Builder, + com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfoOrBuilder> + internalGetHealthInfoFieldBuilder() { + if (healthInfoBuilder_ == null) { + healthInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo, + com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.Builder, + com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfoOrBuilder>( + getHealthInfo(), getParentForChildren(), isClean()); + healthInfo_ = null; + } + return healthInfoBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.GetHealthOperationMetadata) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.GetHealthOperationMetadata) + private static final com.google.cloud.compute.v1.GetHealthOperationMetadata DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.GetHealthOperationMetadata(); + } + + public static com.google.cloud.compute.v1.GetHealthOperationMetadata getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetHealthOperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetHealthOperationMetadata getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetHealthOperationMetadataHealthInfo.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetHealthOperationMetadataHealthInfo.java new file mode 100644 index 000000000000..f3519dc3c3de --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetHealthOperationMetadataHealthInfo.java @@ -0,0 +1,2468 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/compute/v1/compute.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * Health information.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo} + */ +@com.google.protobuf.Generated +public final class GetHealthOperationMetadataHealthInfo extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo) + GetHealthOperationMetadataHealthInfoOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "GetHealthOperationMetadataHealthInfo"); + } + + // Use GetHealthOperationMetadataHealthInfo.newBuilder() to construct. + private GetHealthOperationMetadataHealthInfo( + com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private GetHealthOperationMetadataHealthInfo() { + availabilitySloStatus_ = ""; + healthStatus_ = ""; + repairCategory_ = ""; + unhealthyReason_ = ""; + updateTime_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetHealthOperationMetadataHealthInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetHealthOperationMetadataHealthInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.class, + com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.Builder.class); + } + + /** + * + * + *
+   * Output only. The availability SLO status.
+   * 
+ * + * Protobuf enum {@code + * google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.AvailabilitySloStatus} + */ + public enum AvailabilitySloStatus implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_AVAILABILITY_SLO_STATUS = 0; + */ + UNDEFINED_AVAILABILITY_SLO_STATUS(0), + /** + * + * + *
+     * The slot availability is in SLO.
+     * 
+ * + * AVAILABILITY_SLO_STATUS_IN_SLO = 142966428; + */ + AVAILABILITY_SLO_STATUS_IN_SLO(142966428), + /** + * + * + *
+     * The slot availability is out of SLO.
+     * 
+ * + * AVAILABILITY_SLO_STATUS_OUT_OF_SLO = 112099455; + */ + AVAILABILITY_SLO_STATUS_OUT_OF_SLO(112099455), + /** + * + * + *
+     * The slot availability is unknown.
+     * 
+ * + * AVAILABILITY_SLO_STATUS_SLO_UNKNOWN = 280579681; + */ + AVAILABILITY_SLO_STATUS_SLO_UNKNOWN(280579681), + /** + * + * + *
+     * Unspecified availability SLO status.
+     * 
+ * + * AVAILABILITY_SLO_STATUS_UNSPECIFIED = 481084279; + */ + AVAILABILITY_SLO_STATUS_UNSPECIFIED(481084279), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "AvailabilitySloStatus"); + } + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_AVAILABILITY_SLO_STATUS = 0; + */ + public static final int UNDEFINED_AVAILABILITY_SLO_STATUS_VALUE = 0; + + /** + * + * + *
+     * The slot availability is in SLO.
+     * 
+ * + * AVAILABILITY_SLO_STATUS_IN_SLO = 142966428; + */ + public static final int AVAILABILITY_SLO_STATUS_IN_SLO_VALUE = 142966428; + + /** + * + * + *
+     * The slot availability is out of SLO.
+     * 
+ * + * AVAILABILITY_SLO_STATUS_OUT_OF_SLO = 112099455; + */ + public static final int AVAILABILITY_SLO_STATUS_OUT_OF_SLO_VALUE = 112099455; + + /** + * + * + *
+     * The slot availability is unknown.
+     * 
+ * + * AVAILABILITY_SLO_STATUS_SLO_UNKNOWN = 280579681; + */ + public static final int AVAILABILITY_SLO_STATUS_SLO_UNKNOWN_VALUE = 280579681; + + /** + * + * + *
+     * Unspecified availability SLO status.
+     * 
+ * + * AVAILABILITY_SLO_STATUS_UNSPECIFIED = 481084279; + */ + public static final int AVAILABILITY_SLO_STATUS_UNSPECIFIED_VALUE = 481084279; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static AvailabilitySloStatus valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static AvailabilitySloStatus forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_AVAILABILITY_SLO_STATUS; + case 142966428: + return AVAILABILITY_SLO_STATUS_IN_SLO; + case 112099455: + return AVAILABILITY_SLO_STATUS_OUT_OF_SLO; + case 280579681: + return AVAILABILITY_SLO_STATUS_SLO_UNKNOWN; + case 481084279: + return AVAILABILITY_SLO_STATUS_UNSPECIFIED; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AvailabilitySloStatus findValueByNumber(int number) { + return AvailabilitySloStatus.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final AvailabilitySloStatus[] VALUES = values(); + + public static AvailabilitySloStatus valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private AvailabilitySloStatus(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.AvailabilitySloStatus) + } + + /** + * + * + *
+   * Output only. The health status.
+   * 
+ * + * Protobuf enum {@code google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.HealthStatus} + */ + public enum HealthStatus implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_HEALTH_STATUS = 0; + */ + UNDEFINED_HEALTH_STATUS(0), + /** + * + * + *
+     * The reservation slot is healthy.
+     * 
+ * + * HEALTH_STATUS_HEALTHY = 281715315; + */ + HEALTH_STATUS_HEALTHY(281715315), + /** + * + * + *
+     * The reservation slot is unhealthy.
+     * 
+ * + * HEALTH_STATUS_UNHEALTHY = 476038202; + */ + HEALTH_STATUS_UNHEALTHY(476038202), + /** + * + * + *
+     * Unspecified health status.
+     * 
+ * + * HEALTH_STATUS_UNSPECIFIED = 482246925; + */ + HEALTH_STATUS_UNSPECIFIED(482246925), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "HealthStatus"); + } + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_HEALTH_STATUS = 0; + */ + public static final int UNDEFINED_HEALTH_STATUS_VALUE = 0; + + /** + * + * + *
+     * The reservation slot is healthy.
+     * 
+ * + * HEALTH_STATUS_HEALTHY = 281715315; + */ + public static final int HEALTH_STATUS_HEALTHY_VALUE = 281715315; + + /** + * + * + *
+     * The reservation slot is unhealthy.
+     * 
+ * + * HEALTH_STATUS_UNHEALTHY = 476038202; + */ + public static final int HEALTH_STATUS_UNHEALTHY_VALUE = 476038202; + + /** + * + * + *
+     * Unspecified health status.
+     * 
+ * + * HEALTH_STATUS_UNSPECIFIED = 482246925; + */ + public static final int HEALTH_STATUS_UNSPECIFIED_VALUE = 482246925; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static HealthStatus valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static HealthStatus forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_HEALTH_STATUS; + case 281715315: + return HEALTH_STATUS_HEALTHY; + case 476038202: + return HEALTH_STATUS_UNHEALTHY; + case 482246925: + return HEALTH_STATUS_UNSPECIFIED; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HealthStatus findValueByNumber(int number) { + return HealthStatus.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.getDescriptor() + .getEnumTypes() + .get(1); + } + + private static final HealthStatus[] VALUES = values(); + + public static HealthStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private HealthStatus(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.HealthStatus) + } + + /** + * + * + *
+   * Output only. The repair category.
+   * 
+ * + * Protobuf enum {@code + * google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.RepairCategory} + */ + public enum RepairCategory implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_REPAIR_CATEGORY = 0; + */ + UNDEFINED_REPAIR_CATEGORY(0), + /** + * + * + *
+     * The repair is because of critical failures, that are scoped outside
+     * emergent maintenance
+     * 
+ * + * REPAIR_CATEGORY_CRITICAL_FAILURE = 58241977; + */ + REPAIR_CATEGORY_CRITICAL_FAILURE(58241977), + /** + * + * + *
+     * The repair is because of an emergent maintenance
+     * 
+ * + * REPAIR_CATEGORY_EMERGENT_MAINTENANCE = 400869148; + */ + REPAIR_CATEGORY_EMERGENT_MAINTENANCE(400869148), + /** + * + * + *
+     * The repair is because of a planned maintenance
+     * 
+ * + * REPAIR_CATEGORY_PLANNED_MAINTENANCE = 489286537; + */ + REPAIR_CATEGORY_PLANNED_MAINTENANCE(489286537), + /** + * + * + *
+     * Unspecified repair category.
+     * 
+ * + * REPAIR_CATEGORY_UNSPECIFIED = 287264456; + */ + REPAIR_CATEGORY_UNSPECIFIED(287264456), + /** + * + * + *
+     * The repair is because of a user reported fault
+     * 
+ * + * REPAIR_CATEGORY_USER_REPORTED_FAULT = 227760443; + */ + REPAIR_CATEGORY_USER_REPORTED_FAULT(227760443), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "RepairCategory"); + } + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_REPAIR_CATEGORY = 0; + */ + public static final int UNDEFINED_REPAIR_CATEGORY_VALUE = 0; + + /** + * + * + *
+     * The repair is because of critical failures, that are scoped outside
+     * emergent maintenance
+     * 
+ * + * REPAIR_CATEGORY_CRITICAL_FAILURE = 58241977; + */ + public static final int REPAIR_CATEGORY_CRITICAL_FAILURE_VALUE = 58241977; + + /** + * + * + *
+     * The repair is because of an emergent maintenance
+     * 
+ * + * REPAIR_CATEGORY_EMERGENT_MAINTENANCE = 400869148; + */ + public static final int REPAIR_CATEGORY_EMERGENT_MAINTENANCE_VALUE = 400869148; + + /** + * + * + *
+     * The repair is because of a planned maintenance
+     * 
+ * + * REPAIR_CATEGORY_PLANNED_MAINTENANCE = 489286537; + */ + public static final int REPAIR_CATEGORY_PLANNED_MAINTENANCE_VALUE = 489286537; + + /** + * + * + *
+     * Unspecified repair category.
+     * 
+ * + * REPAIR_CATEGORY_UNSPECIFIED = 287264456; + */ + public static final int REPAIR_CATEGORY_UNSPECIFIED_VALUE = 287264456; + + /** + * + * + *
+     * The repair is because of a user reported fault
+     * 
+ * + * REPAIR_CATEGORY_USER_REPORTED_FAULT = 227760443; + */ + public static final int REPAIR_CATEGORY_USER_REPORTED_FAULT_VALUE = 227760443; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static RepairCategory valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static RepairCategory forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_REPAIR_CATEGORY; + case 58241977: + return REPAIR_CATEGORY_CRITICAL_FAILURE; + case 400869148: + return REPAIR_CATEGORY_EMERGENT_MAINTENANCE; + case 489286537: + return REPAIR_CATEGORY_PLANNED_MAINTENANCE; + case 287264456: + return REPAIR_CATEGORY_UNSPECIFIED; + case 227760443: + return REPAIR_CATEGORY_USER_REPORTED_FAULT; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RepairCategory findValueByNumber(int number) { + return RepairCategory.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.getDescriptor() + .getEnumTypes() + .get(2); + } + + private static final RepairCategory[] VALUES = values(); + + public static RepairCategory valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private RepairCategory(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.RepairCategory) + } + + /** + * + * + *
+   * Output only. The reason for unhealthy status.
+   * 
+ * + * Protobuf enum {@code + * google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.UnhealthyReason} + */ + public enum UnhealthyReason implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_UNHEALTHY_REASON = 0; + */ + UNDEFINED_UNHEALTHY_REASON(0), + /** + * + * + *
+     * The slot is unhealthy because there is a pending repair, waiting for
+     * customer approval
+     * 
+ * + * UNHEALTHY_REASON_PENDING_USER_APPROVAL = 315397455; + */ + UNHEALTHY_REASON_PENDING_USER_APPROVAL(315397455), + /** + * + * + *
+     * The slot is unhealthy because repair is in progress
+     * 
+ * + * UNHEALTHY_REASON_REPAIRING = 199320309; + */ + UNHEALTHY_REASON_REPAIRING(199320309), + /** + * + * + *
+     * The slot is unhealthy because a vm cannot be scheduled on it, and no
+     * repairs are running on the slot
+     * 
+ * + * UNHEALTHY_REASON_UNSCHEDULABLE = 118083439; + */ + UNHEALTHY_REASON_UNSCHEDULABLE(118083439), + /** + * + * + *
+     * Unspecified unhealthy reason.
+     * 
+ * + * UNHEALTHY_REASON_UNSPECIFIED = 337725687; + */ + UNHEALTHY_REASON_UNSPECIFIED(337725687), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "UnhealthyReason"); + } + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_UNHEALTHY_REASON = 0; + */ + public static final int UNDEFINED_UNHEALTHY_REASON_VALUE = 0; + + /** + * + * + *
+     * The slot is unhealthy because there is a pending repair, waiting for
+     * customer approval
+     * 
+ * + * UNHEALTHY_REASON_PENDING_USER_APPROVAL = 315397455; + */ + public static final int UNHEALTHY_REASON_PENDING_USER_APPROVAL_VALUE = 315397455; + + /** + * + * + *
+     * The slot is unhealthy because repair is in progress
+     * 
+ * + * UNHEALTHY_REASON_REPAIRING = 199320309; + */ + public static final int UNHEALTHY_REASON_REPAIRING_VALUE = 199320309; + + /** + * + * + *
+     * The slot is unhealthy because a vm cannot be scheduled on it, and no
+     * repairs are running on the slot
+     * 
+ * + * UNHEALTHY_REASON_UNSCHEDULABLE = 118083439; + */ + public static final int UNHEALTHY_REASON_UNSCHEDULABLE_VALUE = 118083439; + + /** + * + * + *
+     * Unspecified unhealthy reason.
+     * 
+ * + * UNHEALTHY_REASON_UNSPECIFIED = 337725687; + */ + public static final int UNHEALTHY_REASON_UNSPECIFIED_VALUE = 337725687; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static UnhealthyReason valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static UnhealthyReason forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_UNHEALTHY_REASON; + case 315397455: + return UNHEALTHY_REASON_PENDING_USER_APPROVAL; + case 199320309: + return UNHEALTHY_REASON_REPAIRING; + case 118083439: + return UNHEALTHY_REASON_UNSCHEDULABLE; + case 337725687: + return UNHEALTHY_REASON_UNSPECIFIED; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public UnhealthyReason findValueByNumber(int number) { + return UnhealthyReason.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.getDescriptor() + .getEnumTypes() + .get(3); + } + + private static final UnhealthyReason[] VALUES = values(); + + public static UnhealthyReason valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private UnhealthyReason(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.UnhealthyReason) + } + + private int bitField0_; + public static final int AVAILABILITY_SLO_STATUS_FIELD_NUMBER = 255971455; + + @SuppressWarnings("serial") + private volatile java.lang.Object availabilitySloStatus_ = ""; + + /** + * + * + *
+   * Output only. The availability SLO status.
+   * Check the AvailabilitySloStatus enum for the list of possible values.
+   * 
+ * + * optional string availability_slo_status = 255971455; + * + * @return Whether the availabilitySloStatus field is set. + */ + @java.lang.Override + public boolean hasAvailabilitySloStatus() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * Output only. The availability SLO status.
+   * Check the AvailabilitySloStatus enum for the list of possible values.
+   * 
+ * + * optional string availability_slo_status = 255971455; + * + * @return The availabilitySloStatus. + */ + @java.lang.Override + public java.lang.String getAvailabilitySloStatus() { + java.lang.Object ref = availabilitySloStatus_; + 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(); + availabilitySloStatus_ = s; + return s; + } + } + + /** + * + * + *
+   * Output only. The availability SLO status.
+   * Check the AvailabilitySloStatus enum for the list of possible values.
+   * 
+ * + * optional string availability_slo_status = 255971455; + * + * @return The bytes for availabilitySloStatus. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAvailabilitySloStatusBytes() { + java.lang.Object ref = availabilitySloStatus_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + availabilitySloStatus_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int HEALTH_STATUS_FIELD_NUMBER = 380545845; + + @SuppressWarnings("serial") + private volatile java.lang.Object healthStatus_ = ""; + + /** + * + * + *
+   * Output only. The health status.
+   * Check the HealthStatus enum for the list of possible values.
+   * 
+ * + * optional string health_status = 380545845; + * + * @return Whether the healthStatus field is set. + */ + @java.lang.Override + public boolean hasHealthStatus() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+   * Output only. The health status.
+   * Check the HealthStatus enum for the list of possible values.
+   * 
+ * + * optional string health_status = 380545845; + * + * @return The healthStatus. + */ + @java.lang.Override + public java.lang.String getHealthStatus() { + java.lang.Object ref = healthStatus_; + 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(); + healthStatus_ = s; + return s; + } + } + + /** + * + * + *
+   * Output only. The health status.
+   * Check the HealthStatus enum for the list of possible values.
+   * 
+ * + * optional string health_status = 380545845; + * + * @return The bytes for healthStatus. + */ + @java.lang.Override + public com.google.protobuf.ByteString getHealthStatusBytes() { + java.lang.Object ref = healthStatus_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + healthStatus_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REPAIR_CATEGORY_FIELD_NUMBER = 113376624; + + @SuppressWarnings("serial") + private volatile java.lang.Object repairCategory_ = ""; + + /** + * + * + *
+   * Output only. The repair category.
+   * Check the RepairCategory enum for the list of possible values.
+   * 
+ * + * optional string repair_category = 113376624; + * + * @return Whether the repairCategory field is set. + */ + @java.lang.Override + public boolean hasRepairCategory() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+   * Output only. The repair category.
+   * Check the RepairCategory enum for the list of possible values.
+   * 
+ * + * optional string repair_category = 113376624; + * + * @return The repairCategory. + */ + @java.lang.Override + public java.lang.String getRepairCategory() { + java.lang.Object ref = repairCategory_; + 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(); + repairCategory_ = s; + return s; + } + } + + /** + * + * + *
+   * Output only. The repair category.
+   * Check the RepairCategory enum for the list of possible values.
+   * 
+ * + * optional string repair_category = 113376624; + * + * @return The bytes for repairCategory. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRepairCategoryBytes() { + java.lang.Object ref = repairCategory_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + repairCategory_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int UNHEALTHY_REASON_FIELD_NUMBER = 448838143; + + @SuppressWarnings("serial") + private volatile java.lang.Object unhealthyReason_ = ""; + + /** + * + * + *
+   * Output only. The reason for unhealthy status.
+   * Check the UnhealthyReason enum for the list of possible values.
+   * 
+ * + * optional string unhealthy_reason = 448838143; + * + * @return Whether the unhealthyReason field is set. + */ + @java.lang.Override + public boolean hasUnhealthyReason() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
+   * Output only. The reason for unhealthy status.
+   * Check the UnhealthyReason enum for the list of possible values.
+   * 
+ * + * optional string unhealthy_reason = 448838143; + * + * @return The unhealthyReason. + */ + @java.lang.Override + public java.lang.String getUnhealthyReason() { + java.lang.Object ref = unhealthyReason_; + 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(); + unhealthyReason_ = s; + return s; + } + } + + /** + * + * + *
+   * Output only. The reason for unhealthy status.
+   * Check the UnhealthyReason enum for the list of possible values.
+   * 
+ * + * optional string unhealthy_reason = 448838143; + * + * @return The bytes for unhealthyReason. + */ + @java.lang.Override + public com.google.protobuf.ByteString getUnhealthyReasonBytes() { + java.lang.Object ref = unhealthyReason_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + unhealthyReason_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int UPDATE_TIME_FIELD_NUMBER = 500295811; + + @SuppressWarnings("serial") + private volatile java.lang.Object updateTime_ = ""; + + /** + * + * + *
+   * Output only. The time when health info was updated.
+   * 
+ * + * optional string update_time = 500295811; + * + * @return Whether the updateTime field is set. + */ + @java.lang.Override + public boolean hasUpdateTime() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * + * + *
+   * Output only. The time when health info was updated.
+   * 
+ * + * optional string update_time = 500295811; + * + * @return The updateTime. + */ + @java.lang.Override + public java.lang.String getUpdateTime() { + java.lang.Object ref = updateTime_; + 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(); + updateTime_ = s; + return s; + } + } + + /** + * + * + *
+   * Output only. The time when health info was updated.
+   * 
+ * + * optional string update_time = 500295811; + * + * @return The bytes for updateTime. + */ + @java.lang.Override + public com.google.protobuf.ByteString getUpdateTimeBytes() { + java.lang.Object ref = updateTime_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + updateTime_ = 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 (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessage.writeString(output, 113376624, repairCategory_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessage.writeString(output, 255971455, availabilitySloStatus_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessage.writeString(output, 380545845, healthStatus_); + } + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessage.writeString(output, 448838143, unhealthyReason_); + } + if (((bitField0_ & 0x00000010) != 0)) { + com.google.protobuf.GeneratedMessage.writeString(output, 500295811, updateTime_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(113376624, repairCategory_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.GeneratedMessage.computeStringSize(255971455, availabilitySloStatus_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(380545845, healthStatus_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(448838143, unhealthyReason_); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(500295811, updateTime_); + } + 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.cloud.compute.v1.GetHealthOperationMetadataHealthInfo)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo other = + (com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo) obj; + + if (hasAvailabilitySloStatus() != other.hasAvailabilitySloStatus()) return false; + if (hasAvailabilitySloStatus()) { + if (!getAvailabilitySloStatus().equals(other.getAvailabilitySloStatus())) return false; + } + if (hasHealthStatus() != other.hasHealthStatus()) return false; + if (hasHealthStatus()) { + if (!getHealthStatus().equals(other.getHealthStatus())) return false; + } + if (hasRepairCategory() != other.hasRepairCategory()) return false; + if (hasRepairCategory()) { + if (!getRepairCategory().equals(other.getRepairCategory())) return false; + } + if (hasUnhealthyReason() != other.hasUnhealthyReason()) return false; + if (hasUnhealthyReason()) { + if (!getUnhealthyReason().equals(other.getUnhealthyReason())) return false; + } + if (hasUpdateTime() != other.hasUpdateTime()) return false; + if (hasUpdateTime()) { + if (!getUpdateTime().equals(other.getUpdateTime())) 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(); + if (hasAvailabilitySloStatus()) { + hash = (37 * hash) + AVAILABILITY_SLO_STATUS_FIELD_NUMBER; + hash = (53 * hash) + getAvailabilitySloStatus().hashCode(); + } + if (hasHealthStatus()) { + hash = (37 * hash) + HEALTH_STATUS_FIELD_NUMBER; + hash = (53 * hash) + getHealthStatus().hashCode(); + } + if (hasRepairCategory()) { + hash = (37 * hash) + REPAIR_CATEGORY_FIELD_NUMBER; + hash = (53 * hash) + getRepairCategory().hashCode(); + } + if (hasUnhealthyReason()) { + hash = (37 * hash) + UNHEALTHY_REASON_FIELD_NUMBER; + hash = (53 * hash) + getUnhealthyReason().hashCode(); + } + if (hasUpdateTime()) { + hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getUpdateTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo 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.cloud.compute.v1.GetHealthOperationMetadataHealthInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.compute.v1.GetHealthOperationMetadataHealthInfo 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * Health information.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo) + com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetHealthOperationMetadataHealthInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetHealthOperationMetadataHealthInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.class, + com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + availabilitySloStatus_ = ""; + healthStatus_ = ""; + repairCategory_ = ""; + unhealthyReason_ = ""; + updateTime_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetHealthOperationMetadataHealthInfo_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo build() { + com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo buildPartial() { + com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo result = + new com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.availabilitySloStatus_ = availabilitySloStatus_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.healthStatus_ = healthStatus_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.repairCategory_ = repairCategory_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.unhealthyReason_ = unhealthyReason_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.updateTime_ = updateTime_; + to_bitField0_ |= 0x00000010; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo) { + return mergeFrom((com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo other) { + if (other + == com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo.getDefaultInstance()) + return this; + if (other.hasAvailabilitySloStatus()) { + availabilitySloStatus_ = other.availabilitySloStatus_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasHealthStatus()) { + healthStatus_ = other.healthStatus_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasRepairCategory()) { + repairCategory_ = other.repairCategory_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.hasUnhealthyReason()) { + unhealthyReason_ = other.unhealthyReason_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.hasUpdateTime()) { + updateTime_ = other.updateTime_; + bitField0_ |= 0x00000010; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 907012994: + { + repairCategory_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 907012994 + case 2047771642: + { + availabilitySloStatus_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 2047771642 + case -1250600534: + { + healthStatus_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case -1250600534 + case -704262150: + { + unhealthyReason_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case -704262150 + case -292600806: + { + updateTime_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case -292600806 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object availabilitySloStatus_ = ""; + + /** + * + * + *
+     * Output only. The availability SLO status.
+     * Check the AvailabilitySloStatus enum for the list of possible values.
+     * 
+ * + * optional string availability_slo_status = 255971455; + * + * @return Whether the availabilitySloStatus field is set. + */ + public boolean hasAvailabilitySloStatus() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+     * Output only. The availability SLO status.
+     * Check the AvailabilitySloStatus enum for the list of possible values.
+     * 
+ * + * optional string availability_slo_status = 255971455; + * + * @return The availabilitySloStatus. + */ + public java.lang.String getAvailabilitySloStatus() { + java.lang.Object ref = availabilitySloStatus_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + availabilitySloStatus_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Output only. The availability SLO status.
+     * Check the AvailabilitySloStatus enum for the list of possible values.
+     * 
+ * + * optional string availability_slo_status = 255971455; + * + * @return The bytes for availabilitySloStatus. + */ + public com.google.protobuf.ByteString getAvailabilitySloStatusBytes() { + java.lang.Object ref = availabilitySloStatus_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + availabilitySloStatus_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Output only. The availability SLO status.
+     * Check the AvailabilitySloStatus enum for the list of possible values.
+     * 
+ * + * optional string availability_slo_status = 255971455; + * + * @param value The availabilitySloStatus to set. + * @return This builder for chaining. + */ + public Builder setAvailabilitySloStatus(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + availabilitySloStatus_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The availability SLO status.
+     * Check the AvailabilitySloStatus enum for the list of possible values.
+     * 
+ * + * optional string availability_slo_status = 255971455; + * + * @return This builder for chaining. + */ + public Builder clearAvailabilitySloStatus() { + availabilitySloStatus_ = getDefaultInstance().getAvailabilitySloStatus(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The availability SLO status.
+     * Check the AvailabilitySloStatus enum for the list of possible values.
+     * 
+ * + * optional string availability_slo_status = 255971455; + * + * @param value The bytes for availabilitySloStatus to set. + * @return This builder for chaining. + */ + public Builder setAvailabilitySloStatusBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + availabilitySloStatus_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object healthStatus_ = ""; + + /** + * + * + *
+     * Output only. The health status.
+     * Check the HealthStatus enum for the list of possible values.
+     * 
+ * + * optional string health_status = 380545845; + * + * @return Whether the healthStatus field is set. + */ + public boolean hasHealthStatus() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+     * Output only. The health status.
+     * Check the HealthStatus enum for the list of possible values.
+     * 
+ * + * optional string health_status = 380545845; + * + * @return The healthStatus. + */ + public java.lang.String getHealthStatus() { + java.lang.Object ref = healthStatus_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + healthStatus_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Output only. The health status.
+     * Check the HealthStatus enum for the list of possible values.
+     * 
+ * + * optional string health_status = 380545845; + * + * @return The bytes for healthStatus. + */ + public com.google.protobuf.ByteString getHealthStatusBytes() { + java.lang.Object ref = healthStatus_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + healthStatus_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Output only. The health status.
+     * Check the HealthStatus enum for the list of possible values.
+     * 
+ * + * optional string health_status = 380545845; + * + * @param value The healthStatus to set. + * @return This builder for chaining. + */ + public Builder setHealthStatus(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + healthStatus_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The health status.
+     * Check the HealthStatus enum for the list of possible values.
+     * 
+ * + * optional string health_status = 380545845; + * + * @return This builder for chaining. + */ + public Builder clearHealthStatus() { + healthStatus_ = getDefaultInstance().getHealthStatus(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The health status.
+     * Check the HealthStatus enum for the list of possible values.
+     * 
+ * + * optional string health_status = 380545845; + * + * @param value The bytes for healthStatus to set. + * @return This builder for chaining. + */ + public Builder setHealthStatusBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + healthStatus_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object repairCategory_ = ""; + + /** + * + * + *
+     * Output only. The repair category.
+     * Check the RepairCategory enum for the list of possible values.
+     * 
+ * + * optional string repair_category = 113376624; + * + * @return Whether the repairCategory field is set. + */ + public boolean hasRepairCategory() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+     * Output only. The repair category.
+     * Check the RepairCategory enum for the list of possible values.
+     * 
+ * + * optional string repair_category = 113376624; + * + * @return The repairCategory. + */ + public java.lang.String getRepairCategory() { + java.lang.Object ref = repairCategory_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + repairCategory_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Output only. The repair category.
+     * Check the RepairCategory enum for the list of possible values.
+     * 
+ * + * optional string repair_category = 113376624; + * + * @return The bytes for repairCategory. + */ + public com.google.protobuf.ByteString getRepairCategoryBytes() { + java.lang.Object ref = repairCategory_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + repairCategory_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Output only. The repair category.
+     * Check the RepairCategory enum for the list of possible values.
+     * 
+ * + * optional string repair_category = 113376624; + * + * @param value The repairCategory to set. + * @return This builder for chaining. + */ + public Builder setRepairCategory(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + repairCategory_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The repair category.
+     * Check the RepairCategory enum for the list of possible values.
+     * 
+ * + * optional string repair_category = 113376624; + * + * @return This builder for chaining. + */ + public Builder clearRepairCategory() { + repairCategory_ = getDefaultInstance().getRepairCategory(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The repair category.
+     * Check the RepairCategory enum for the list of possible values.
+     * 
+ * + * optional string repair_category = 113376624; + * + * @param value The bytes for repairCategory to set. + * @return This builder for chaining. + */ + public Builder setRepairCategoryBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + repairCategory_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object unhealthyReason_ = ""; + + /** + * + * + *
+     * Output only. The reason for unhealthy status.
+     * Check the UnhealthyReason enum for the list of possible values.
+     * 
+ * + * optional string unhealthy_reason = 448838143; + * + * @return Whether the unhealthyReason field is set. + */ + public boolean hasUnhealthyReason() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * + * + *
+     * Output only. The reason for unhealthy status.
+     * Check the UnhealthyReason enum for the list of possible values.
+     * 
+ * + * optional string unhealthy_reason = 448838143; + * + * @return The unhealthyReason. + */ + public java.lang.String getUnhealthyReason() { + java.lang.Object ref = unhealthyReason_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + unhealthyReason_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Output only. The reason for unhealthy status.
+     * Check the UnhealthyReason enum for the list of possible values.
+     * 
+ * + * optional string unhealthy_reason = 448838143; + * + * @return The bytes for unhealthyReason. + */ + public com.google.protobuf.ByteString getUnhealthyReasonBytes() { + java.lang.Object ref = unhealthyReason_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + unhealthyReason_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Output only. The reason for unhealthy status.
+     * Check the UnhealthyReason enum for the list of possible values.
+     * 
+ * + * optional string unhealthy_reason = 448838143; + * + * @param value The unhealthyReason to set. + * @return This builder for chaining. + */ + public Builder setUnhealthyReason(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + unhealthyReason_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The reason for unhealthy status.
+     * Check the UnhealthyReason enum for the list of possible values.
+     * 
+ * + * optional string unhealthy_reason = 448838143; + * + * @return This builder for chaining. + */ + public Builder clearUnhealthyReason() { + unhealthyReason_ = getDefaultInstance().getUnhealthyReason(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The reason for unhealthy status.
+     * Check the UnhealthyReason enum for the list of possible values.
+     * 
+ * + * optional string unhealthy_reason = 448838143; + * + * @param value The bytes for unhealthyReason to set. + * @return This builder for chaining. + */ + public Builder setUnhealthyReasonBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + unhealthyReason_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object updateTime_ = ""; + + /** + * + * + *
+     * Output only. The time when health info was updated.
+     * 
+ * + * optional string update_time = 500295811; + * + * @return Whether the updateTime field is set. + */ + public boolean hasUpdateTime() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * + * + *
+     * Output only. The time when health info was updated.
+     * 
+ * + * optional string update_time = 500295811; + * + * @return The updateTime. + */ + public java.lang.String getUpdateTime() { + java.lang.Object ref = updateTime_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + updateTime_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Output only. The time when health info was updated.
+     * 
+ * + * optional string update_time = 500295811; + * + * @return The bytes for updateTime. + */ + public com.google.protobuf.ByteString getUpdateTimeBytes() { + java.lang.Object ref = updateTime_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + updateTime_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Output only. The time when health info was updated.
+     * 
+ * + * optional string update_time = 500295811; + * + * @param value The updateTime to set. + * @return This builder for chaining. + */ + public Builder setUpdateTime(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + updateTime_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The time when health info was updated.
+     * 
+ * + * optional string update_time = 500295811; + * + * @return This builder for chaining. + */ + public Builder clearUpdateTime() { + updateTime_ = getDefaultInstance().getUpdateTime(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The time when health info was updated.
+     * 
+ * + * optional string update_time = 500295811; + * + * @param value The bytes for updateTime to set. + * @return This builder for chaining. + */ + public Builder setUpdateTimeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + updateTime_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo) + private static final com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo(); + } + + public static com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetHealthOperationMetadataHealthInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetHealthOperationMetadataHealthInfoOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetHealthOperationMetadataHealthInfoOrBuilder.java new file mode 100644 index 000000000000..9bc4daf1199e --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetHealthOperationMetadataHealthInfoOrBuilder.java @@ -0,0 +1,235 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/compute/v1/compute.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.compute.v1; + +@com.google.protobuf.Generated +public interface GetHealthOperationMetadataHealthInfoOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. The availability SLO status.
+   * Check the AvailabilitySloStatus enum for the list of possible values.
+   * 
+ * + * optional string availability_slo_status = 255971455; + * + * @return Whether the availabilitySloStatus field is set. + */ + boolean hasAvailabilitySloStatus(); + + /** + * + * + *
+   * Output only. The availability SLO status.
+   * Check the AvailabilitySloStatus enum for the list of possible values.
+   * 
+ * + * optional string availability_slo_status = 255971455; + * + * @return The availabilitySloStatus. + */ + java.lang.String getAvailabilitySloStatus(); + + /** + * + * + *
+   * Output only. The availability SLO status.
+   * Check the AvailabilitySloStatus enum for the list of possible values.
+   * 
+ * + * optional string availability_slo_status = 255971455; + * + * @return The bytes for availabilitySloStatus. + */ + com.google.protobuf.ByteString getAvailabilitySloStatusBytes(); + + /** + * + * + *
+   * Output only. The health status.
+   * Check the HealthStatus enum for the list of possible values.
+   * 
+ * + * optional string health_status = 380545845; + * + * @return Whether the healthStatus field is set. + */ + boolean hasHealthStatus(); + + /** + * + * + *
+   * Output only. The health status.
+   * Check the HealthStatus enum for the list of possible values.
+   * 
+ * + * optional string health_status = 380545845; + * + * @return The healthStatus. + */ + java.lang.String getHealthStatus(); + + /** + * + * + *
+   * Output only. The health status.
+   * Check the HealthStatus enum for the list of possible values.
+   * 
+ * + * optional string health_status = 380545845; + * + * @return The bytes for healthStatus. + */ + com.google.protobuf.ByteString getHealthStatusBytes(); + + /** + * + * + *
+   * Output only. The repair category.
+   * Check the RepairCategory enum for the list of possible values.
+   * 
+ * + * optional string repair_category = 113376624; + * + * @return Whether the repairCategory field is set. + */ + boolean hasRepairCategory(); + + /** + * + * + *
+   * Output only. The repair category.
+   * Check the RepairCategory enum for the list of possible values.
+   * 
+ * + * optional string repair_category = 113376624; + * + * @return The repairCategory. + */ + java.lang.String getRepairCategory(); + + /** + * + * + *
+   * Output only. The repair category.
+   * Check the RepairCategory enum for the list of possible values.
+   * 
+ * + * optional string repair_category = 113376624; + * + * @return The bytes for repairCategory. + */ + com.google.protobuf.ByteString getRepairCategoryBytes(); + + /** + * + * + *
+   * Output only. The reason for unhealthy status.
+   * Check the UnhealthyReason enum for the list of possible values.
+   * 
+ * + * optional string unhealthy_reason = 448838143; + * + * @return Whether the unhealthyReason field is set. + */ + boolean hasUnhealthyReason(); + + /** + * + * + *
+   * Output only. The reason for unhealthy status.
+   * Check the UnhealthyReason enum for the list of possible values.
+   * 
+ * + * optional string unhealthy_reason = 448838143; + * + * @return The unhealthyReason. + */ + java.lang.String getUnhealthyReason(); + + /** + * + * + *
+   * Output only. The reason for unhealthy status.
+   * Check the UnhealthyReason enum for the list of possible values.
+   * 
+ * + * optional string unhealthy_reason = 448838143; + * + * @return The bytes for unhealthyReason. + */ + com.google.protobuf.ByteString getUnhealthyReasonBytes(); + + /** + * + * + *
+   * Output only. The time when health info was updated.
+   * 
+ * + * optional string update_time = 500295811; + * + * @return Whether the updateTime field is set. + */ + boolean hasUpdateTime(); + + /** + * + * + *
+   * Output only. The time when health info was updated.
+   * 
+ * + * optional string update_time = 500295811; + * + * @return The updateTime. + */ + java.lang.String getUpdateTime(); + + /** + * + * + *
+   * Output only. The time when health info was updated.
+   * 
+ * + * optional string update_time = 500295811; + * + * @return The bytes for updateTime. + */ + com.google.protobuf.ByteString getUpdateTimeBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetHealthOperationMetadataOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetHealthOperationMetadataOrBuilder.java new file mode 100644 index 000000000000..75d94093d72f --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetHealthOperationMetadataOrBuilder.java @@ -0,0 +1,72 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/compute/v1/compute.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.compute.v1; + +@com.google.protobuf.Generated +public interface GetHealthOperationMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.GetHealthOperationMetadata) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. The health information.
+   * 
+ * + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo health_info = 235287729; + * + * + * @return Whether the healthInfo field is set. + */ + boolean hasHealthInfo(); + + /** + * + * + *
+   * Output only. The health information.
+   * 
+ * + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo health_info = 235287729; + * + * + * @return The healthInfo. + */ + com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo getHealthInfo(); + + /** + * + * + *
+   * Output only. The health information.
+   * 
+ * + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo health_info = 235287729; + * + */ + com.google.cloud.compute.v1.GetHealthOperationMetadataHealthInfoOrBuilder + getHealthInfoOrBuilder(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetHealthReservationSlotRequest.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetHealthReservationSlotRequest.java new file mode 100644 index 000000000000..64a36a845542 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetHealthReservationSlotRequest.java @@ -0,0 +1,1442 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/compute/v1/compute.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for ReservationSlots.GetHealth. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetHealthReservationSlotRequest} + */ +@com.google.protobuf.Generated +public final class GetHealthReservationSlotRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.GetHealthReservationSlotRequest) + GetHealthReservationSlotRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "GetHealthReservationSlotRequest"); + } + + // Use GetHealthReservationSlotRequest.newBuilder() to construct. + private GetHealthReservationSlotRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private GetHealthReservationSlotRequest() { + parentName_ = ""; + project_ = ""; + requestId_ = ""; + reservationSlot_ = ""; + zone_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetHealthReservationSlotRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetHealthReservationSlotRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetHealthReservationSlotRequest.class, + com.google.cloud.compute.v1.GetHealthReservationSlotRequest.Builder.class); + } + + private int bitField0_; + public static final int PARENT_NAME_FIELD_NUMBER = 478151936; + + @SuppressWarnings("serial") + private volatile java.lang.Object parentName_ = ""; + + /** + * + * + *
+   * The name of the parent reservation, parent block and parent sub-block. In
+   * the format of
+   * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
+   * 
+ * + * string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parentName. + */ + @java.lang.Override + public java.lang.String getParentName() { + java.lang.Object ref = parentName_; + 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(); + parentName_ = s; + return s; + } + } + + /** + * + * + *
+   * The name of the parent reservation, parent block and parent sub-block. In
+   * the format of
+   * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
+   * 
+ * + * string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parentName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentNameBytes() { + java.lang.Object ref = parentName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parentName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + + @SuppressWarnings("serial") + private volatile java.lang.Object project_ = ""; + + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The project. + */ + @java.lang.Override + public java.lang.String getProject() { + java.lang.Object ref = project_; + 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(); + project_ = s; + return s; + } + } + + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The bytes for project. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 37109963; + + @SuppressWarnings("serial") + private volatile java.lang.Object requestId_ = ""; + + /** + * + * + *
+   * An optional request ID to identify requests.
+   * 
+ * + * optional string request_id = 37109963; + * + * @return Whether the requestId field is set. + */ + @java.lang.Override + public boolean hasRequestId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
+   * An optional request ID to identify requests.
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The requestId. + */ + @java.lang.Override + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + 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(); + requestId_ = s; + return s; + } + } + + /** + * + * + *
+   * An optional request ID to identify requests.
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The bytes for requestId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESERVATION_SLOT_FIELD_NUMBER = 277470865; + + @SuppressWarnings("serial") + private volatile java.lang.Object reservationSlot_ = ""; + + /** + * + * + *
+   * The name of the reservation slot.
+   * Name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The reservationSlot. + */ + @java.lang.Override + public java.lang.String getReservationSlot() { + java.lang.Object ref = reservationSlot_; + 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(); + reservationSlot_ = s; + return s; + } + } + + /** + * + * + *
+   * The name of the reservation slot.
+   * Name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for reservationSlot. + */ + @java.lang.Override + public com.google.protobuf.ByteString getReservationSlotBytes() { + java.lang.Object ref = reservationSlot_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + reservationSlot_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ZONE_FIELD_NUMBER = 3744684; + + @SuppressWarnings("serial") + private volatile java.lang.Object zone_ = ""; + + /** + * + * + *
+   * Name of the zone for this request. Zone name should conform to RFC1035.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The zone. + */ + @java.lang.Override + public java.lang.String getZone() { + java.lang.Object ref = zone_; + 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(); + zone_ = s; + return s; + } + } + + /** + * + * + *
+   * Name of the zone for this request. Zone name should conform to RFC1035.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The bytes for zone. + */ + @java.lang.Override + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = 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.GeneratedMessage.isStringEmpty(zone_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3744684, zone_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessage.writeString(output, 37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 227560217, project_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(reservationSlot_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 277470865, reservationSlot_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parentName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 478151936, parentName_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(zone_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3744684, zone_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(227560217, project_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(reservationSlot_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(277470865, reservationSlot_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parentName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(478151936, parentName_); + } + 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.cloud.compute.v1.GetHealthReservationSlotRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.GetHealthReservationSlotRequest other = + (com.google.cloud.compute.v1.GetHealthReservationSlotRequest) obj; + + if (!getParentName().equals(other.getParentName())) return false; + if (!getProject().equals(other.getProject())) return false; + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (!getRequestId().equals(other.getRequestId())) return false; + } + if (!getReservationSlot().equals(other.getReservationSlot())) return false; + if (!getZone().equals(other.getZone())) 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) + PARENT_NAME_FIELD_NUMBER; + hash = (53 * hash) + getParentName().hashCode(); + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + } + hash = (37 * hash) + RESERVATION_SLOT_FIELD_NUMBER; + hash = (53 * hash) + getReservationSlot().hashCode(); + hash = (37 * hash) + ZONE_FIELD_NUMBER; + hash = (53 * hash) + getZone().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.GetHealthReservationSlotRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetHealthReservationSlotRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetHealthReservationSlotRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetHealthReservationSlotRequest 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.cloud.compute.v1.GetHealthReservationSlotRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetHealthReservationSlotRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetHealthReservationSlotRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetHealthReservationSlotRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetHealthReservationSlotRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetHealthReservationSlotRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetHealthReservationSlotRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetHealthReservationSlotRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.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.cloud.compute.v1.GetHealthReservationSlotRequest 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
+   * A request message for ReservationSlots.GetHealth. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetHealthReservationSlotRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.GetHealthReservationSlotRequest) + com.google.cloud.compute.v1.GetHealthReservationSlotRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetHealthReservationSlotRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetHealthReservationSlotRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetHealthReservationSlotRequest.class, + com.google.cloud.compute.v1.GetHealthReservationSlotRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.GetHealthReservationSlotRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parentName_ = ""; + project_ = ""; + requestId_ = ""; + reservationSlot_ = ""; + zone_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetHealthReservationSlotRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetHealthReservationSlotRequest getDefaultInstanceForType() { + return com.google.cloud.compute.v1.GetHealthReservationSlotRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetHealthReservationSlotRequest build() { + com.google.cloud.compute.v1.GetHealthReservationSlotRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetHealthReservationSlotRequest buildPartial() { + com.google.cloud.compute.v1.GetHealthReservationSlotRequest result = + new com.google.cloud.compute.v1.GetHealthReservationSlotRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.compute.v1.GetHealthReservationSlotRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parentName_ = parentName_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.project_ = project_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.requestId_ = requestId_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.reservationSlot_ = reservationSlot_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.zone_ = zone_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.GetHealthReservationSlotRequest) { + return mergeFrom((com.google.cloud.compute.v1.GetHealthReservationSlotRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.GetHealthReservationSlotRequest other) { + if (other == com.google.cloud.compute.v1.GetHealthReservationSlotRequest.getDefaultInstance()) + return this; + if (!other.getParentName().isEmpty()) { + parentName_ = other.parentName_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasRequestId()) { + requestId_ = other.requestId_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getReservationSlot().isEmpty()) { + reservationSlot_ = other.reservationSlot_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getZone().isEmpty()) { + zone_ = other.zone_; + bitField0_ |= 0x00000010; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 29957474: + { + zone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 29957474 + case 296879706: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 296879706 + case 1820481738: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 1820481738 + case -2075200374: + { + reservationSlot_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case -2075200374 + case -469751806: + { + parentName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case -469751806 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object parentName_ = ""; + + /** + * + * + *
+     * The name of the parent reservation, parent block and parent sub-block. In
+     * the format of
+     * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
+     * 
+ * + * string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parentName. + */ + public java.lang.String getParentName() { + java.lang.Object ref = parentName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parentName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * The name of the parent reservation, parent block and parent sub-block. In
+     * the format of
+     * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
+     * 
+ * + * string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parentName. + */ + public com.google.protobuf.ByteString getParentNameBytes() { + java.lang.Object ref = parentName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parentName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * The name of the parent reservation, parent block and parent sub-block. In
+     * the format of
+     * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
+     * 
+ * + * string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The parentName to set. + * @return This builder for chaining. + */ + public Builder setParentName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + parentName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
+     * The name of the parent reservation, parent block and parent sub-block. In
+     * the format of
+     * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
+     * 
+ * + * string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearParentName() { + parentName_ = getDefaultInstance().getParentName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
+     * The name of the parent reservation, parent block and parent sub-block. In
+     * the format of
+     * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
+     * 
+ * + * string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for parentName to set. + * @return This builder for chaining. + */ + public Builder setParentNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parentName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object project_ = ""; + + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The project. + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The bytes for project. + */ + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @param value The project to set. + * @return This builder for chaining. + */ + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + project_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return This builder for chaining. + */ + public Builder clearProject() { + project_ = getDefaultInstance().getProject(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @param value The bytes for project to set. + * @return This builder for chaining. + */ + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object requestId_ = ""; + + /** + * + * + *
+     * An optional request ID to identify requests.
+     * 
+ * + * optional string request_id = 37109963; + * + * @return Whether the requestId field is set. + */ + public boolean hasRequestId() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+     * An optional request ID to identify requests.
+     * 
+ * + * optional string request_id = 37109963; + * + * @return The requestId. + */ + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * An optional request ID to identify requests.
+     * 
+ * + * optional string request_id = 37109963; + * + * @return The bytes for requestId. + */ + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * An optional request ID to identify requests.
+     * 
+ * + * optional string request_id = 37109963; + * + * @param value The requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + requestId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * An optional request ID to identify requests.
+     * 
+ * + * optional string request_id = 37109963; + * + * @return This builder for chaining. + */ + public Builder clearRequestId() { + requestId_ = getDefaultInstance().getRequestId(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * An optional request ID to identify requests.
+     * 
+ * + * optional string request_id = 37109963; + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object reservationSlot_ = ""; + + /** + * + * + *
+     * The name of the reservation slot.
+     * Name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The reservationSlot. + */ + public java.lang.String getReservationSlot() { + java.lang.Object ref = reservationSlot_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + reservationSlot_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * The name of the reservation slot.
+     * Name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for reservationSlot. + */ + public com.google.protobuf.ByteString getReservationSlotBytes() { + java.lang.Object ref = reservationSlot_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + reservationSlot_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * The name of the reservation slot.
+     * Name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The reservationSlot to set. + * @return This builder for chaining. + */ + public Builder setReservationSlot(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + reservationSlot_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * The name of the reservation slot.
+     * Name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearReservationSlot() { + reservationSlot_ = getDefaultInstance().getReservationSlot(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
+     * The name of the reservation slot.
+     * Name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for reservationSlot to set. + * @return This builder for chaining. + */ + public Builder setReservationSlotBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + reservationSlot_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object zone_ = ""; + + /** + * + * + *
+     * Name of the zone for this request. Zone name should conform to RFC1035.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The zone. + */ + public java.lang.String getZone() { + java.lang.Object ref = zone_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + zone_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Name of the zone for this request. Zone name should conform to RFC1035.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The bytes for zone. + */ + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Name of the zone for this request. Zone name should conform to RFC1035.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @param value The zone to set. + * @return This builder for chaining. + */ + public Builder setZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + zone_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * Name of the zone for this request. Zone name should conform to RFC1035.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return This builder for chaining. + */ + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + + /** + * + * + *
+     * Name of the zone for this request. Zone name should conform to RFC1035.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @param value The bytes for zone to set. + * @return This builder for chaining. + */ + public Builder setZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.GetHealthReservationSlotRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.GetHealthReservationSlotRequest) + private static final com.google.cloud.compute.v1.GetHealthReservationSlotRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.GetHealthReservationSlotRequest(); + } + + public static com.google.cloud.compute.v1.GetHealthReservationSlotRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetHealthReservationSlotRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetHealthReservationSlotRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetHealthReservationSlotRequestOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetHealthReservationSlotRequestOrBuilder.java new file mode 100644 index 000000000000..2edce80b3ec3 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetHealthReservationSlotRequestOrBuilder.java @@ -0,0 +1,185 @@ +/* + * Copyright 2026 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! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/compute/v1/compute.proto +// Protobuf Java Version: 4.33.6 + +package com.google.cloud.compute.v1; + +@com.google.protobuf.Generated +public interface GetHealthReservationSlotRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.GetHealthReservationSlotRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the parent reservation, parent block and parent sub-block. In
+   * the format of
+   * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
+   * 
+ * + * string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parentName. + */ + java.lang.String getParentName(); + + /** + * + * + *
+   * The name of the parent reservation, parent block and parent sub-block. In
+   * the format of
+   * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
+   * 
+ * + * string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parentName. + */ + com.google.protobuf.ByteString getParentNameBytes(); + + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The project. + */ + java.lang.String getProject(); + + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The bytes for project. + */ + com.google.protobuf.ByteString getProjectBytes(); + + /** + * + * + *
+   * An optional request ID to identify requests.
+   * 
+ * + * optional string request_id = 37109963; + * + * @return Whether the requestId field is set. + */ + boolean hasRequestId(); + + /** + * + * + *
+   * An optional request ID to identify requests.
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The requestId. + */ + java.lang.String getRequestId(); + + /** + * + * + *
+   * An optional request ID to identify requests.
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The bytes for requestId. + */ + com.google.protobuf.ByteString getRequestIdBytes(); + + /** + * + * + *
+   * The name of the reservation slot.
+   * Name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The reservationSlot. + */ + java.lang.String getReservationSlot(); + + /** + * + * + *
+   * The name of the reservation slot.
+   * Name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for reservationSlot. + */ + com.google.protobuf.ByteString getReservationSlotBytes(); + + /** + * + * + *
+   * Name of the zone for this request. Zone name should conform to RFC1035.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The zone. + */ + java.lang.String getZone(); + + /** + * + * + *
+   * Name of the zone for this request. Zone name should conform to RFC1035.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The bytes for zone. + */ + com.google.protobuf.ByteString getZoneBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GuestOsFeature.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GuestOsFeature.java index 0b5d82a4ed61..ad245f07dd84 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GuestOsFeature.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GuestOsFeature.java @@ -90,6 +90,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * - IDPF * - SNP_SVSM_CAPABLE * - CCA_CAPABLE + * - SUSPEND_SAFE_FPR * * * For more information, see @@ -133,6 +134,17 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { SEV_SNP_CAPABLE(426919), /** SNP_SVSM_CAPABLE = 52921460; */ SNP_SVSM_CAPABLE(52921460), + /** + * + * + *
+     * Indicates the guest OS is safe for free page reporting (FPR) during
+     * suspend.
+     * 
+ * + * SUSPEND_SAFE_FPR = 223956441; + */ + SUSPEND_SAFE_FPR(223956441), /** TDX_CAPABLE = 240446133; */ TDX_CAPABLE(240446133), /** UEFI_COMPATIBLE = 195865408; */ @@ -201,6 +213,18 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** SNP_SVSM_CAPABLE = 52921460; */ public static final int SNP_SVSM_CAPABLE_VALUE = 52921460; + /** + * + * + *
+     * Indicates the guest OS is safe for free page reporting (FPR) during
+     * suspend.
+     * 
+ * + * SUSPEND_SAFE_FPR = 223956441; + */ + public static final int SUSPEND_SAFE_FPR_VALUE = 223956441; + /** TDX_CAPABLE = 240446133; */ public static final int TDX_CAPABLE_VALUE = 240446133; @@ -263,6 +287,8 @@ public static Type forNumber(int value) { return SEV_SNP_CAPABLE; case 52921460: return SNP_SVSM_CAPABLE; + case 223956441: + return SUSPEND_SAFE_FPR; case 240446133: return TDX_CAPABLE; case 195865408: @@ -350,6 +376,7 @@ private Type(int value) { * - IDPF * - SNP_SVSM_CAPABLE * - CCA_CAPABLE + * - SUSPEND_SAFE_FPR * * * For more information, see @@ -386,6 +413,7 @@ public boolean hasType() { * - IDPF * - SNP_SVSM_CAPABLE * - CCA_CAPABLE + * - SUSPEND_SAFE_FPR * * * For more information, see @@ -430,6 +458,7 @@ public java.lang.String getType() { * - IDPF * - SNP_SVSM_CAPABLE * - CCA_CAPABLE + * - SUSPEND_SAFE_FPR * * * For more information, see @@ -793,6 +822,7 @@ public Builder mergeFrom( * - IDPF * - SNP_SVSM_CAPABLE * - CCA_CAPABLE + * - SUSPEND_SAFE_FPR * * * For more information, see @@ -828,6 +858,7 @@ public boolean hasType() { * - IDPF * - SNP_SVSM_CAPABLE * - CCA_CAPABLE + * - SUSPEND_SAFE_FPR * * * For more information, see @@ -871,6 +902,7 @@ public java.lang.String getType() { * - IDPF * - SNP_SVSM_CAPABLE * - CCA_CAPABLE + * - SUSPEND_SAFE_FPR * * * For more information, see @@ -914,6 +946,7 @@ public com.google.protobuf.ByteString getTypeBytes() { * - IDPF * - SNP_SVSM_CAPABLE * - CCA_CAPABLE + * - SUSPEND_SAFE_FPR * * * For more information, see @@ -956,6 +989,7 @@ public Builder setType(java.lang.String value) { * - IDPF * - SNP_SVSM_CAPABLE * - CCA_CAPABLE + * - SUSPEND_SAFE_FPR * * * For more information, see @@ -994,6 +1028,7 @@ public Builder clearType() { * - IDPF * - SNP_SVSM_CAPABLE * - CCA_CAPABLE + * - SUSPEND_SAFE_FPR * * * For more information, see diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GuestOsFeatureOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GuestOsFeatureOrBuilder.java index 0c68ecb7f27a..69042df1ab6d 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GuestOsFeatureOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GuestOsFeatureOrBuilder.java @@ -46,6 +46,7 @@ public interface GuestOsFeatureOrBuilder * - IDPF * - SNP_SVSM_CAPABLE * - CCA_CAPABLE + * - SUSPEND_SAFE_FPR * * * For more information, see @@ -79,6 +80,7 @@ public interface GuestOsFeatureOrBuilder * - IDPF * - SNP_SVSM_CAPABLE * - CCA_CAPABLE + * - SUSPEND_SAFE_FPR * * * For more information, see @@ -112,6 +114,7 @@ public interface GuestOsFeatureOrBuilder * - IDPF * - SNP_SVSM_CAPABLE * - CCA_CAPABLE + * - SUSPEND_SAFE_FPR * * * For more information, see diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Interconnect.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Interconnect.java index 1ad075c49588..5ca319cb5b14 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Interconnect.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Interconnect.java @@ -79,6 +79,7 @@ private Interconnect() { remoteLocation_ = ""; requestedFeatures_ = com.google.protobuf.LazyStringArrayList.emptyList(); selfLink_ = ""; + selfLinkWithId_ = ""; state_ = ""; subzone_ = ""; wireGroups_ = com.google.protobuf.LazyStringArrayList.emptyList(); @@ -3755,6 +3756,75 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { } } + public static final int SELF_LINK_WITH_ID_FIELD_NUMBER = 44520962; + + @SuppressWarnings("serial") + private volatile java.lang.Object selfLinkWithId_ = ""; + + /** + * + * + *
+   * Output only. Server-defined URL for this resource with the resource id.
+   * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return Whether the selfLinkWithId field is set. + */ + @java.lang.Override + public boolean hasSelfLinkWithId() { + return ((bitField0_ & 0x08000000) != 0); + } + + /** + * + * + *
+   * Output only. Server-defined URL for this resource with the resource id.
+   * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return The selfLinkWithId. + */ + @java.lang.Override + public java.lang.String getSelfLinkWithId() { + java.lang.Object ref = selfLinkWithId_; + 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(); + selfLinkWithId_ = s; + return s; + } + } + + /** + * + * + *
+   * Output only. Server-defined URL for this resource with the resource id.
+   * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return The bytes for selfLinkWithId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSelfLinkWithIdBytes() { + java.lang.Object ref = selfLinkWithId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + selfLinkWithId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int STATE_FIELD_NUMBER = 109757585; @SuppressWarnings("serial") @@ -3783,7 +3853,7 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { */ @java.lang.Override public boolean hasState() { - return ((bitField0_ & 0x08000000) != 0); + return ((bitField0_ & 0x10000000) != 0); } /** @@ -3873,7 +3943,7 @@ public com.google.protobuf.ByteString getStateBytes() { */ @java.lang.Override public boolean hasSubzone() { - return ((bitField0_ & 0x10000000) != 0); + return ((bitField0_ & 0x20000000) != 0); } /** @@ -4037,13 +4107,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < wireGroups_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 40662734, wireGroups_.getRaw(i)); } + if (((bitField0_ & 0x08000000) != 0)) { + com.google.protobuf.GeneratedMessage.writeString(output, 44520962, selfLinkWithId_); + } if (((bitField0_ & 0x01000000) != 0)) { output.writeInt32(45051387, requestedLinkCount_); } if (((bitField0_ & 0x00100000) != 0)) { output.writeMessage(78313862, getParams()); } - if (((bitField0_ & 0x08000000) != 0)) { + if (((bitField0_ & 0x10000000) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 109757585, state_); } for (int i = 0; i < circuitInfos_.size(); i++) { @@ -4068,7 +4141,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < expectedOutages_.size(); i++) { output.writeMessage(264484123, expectedOutages_.get(i)); } - if (((bitField0_ & 0x10000000) != 0)) { + if (((bitField0_ & 0x20000000) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 280084972, subzone_); } if (((bitField0_ & 0x00004000) != 0)) { @@ -4165,13 +4238,16 @@ public int getSerializedSize() { size += dataSize; size += 5 * getWireGroupsList().size(); } + if (((bitField0_ & 0x08000000) != 0)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(44520962, selfLinkWithId_); + } if (((bitField0_ & 0x01000000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(45051387, requestedLinkCount_); } if (((bitField0_ & 0x00100000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(78313862, getParams()); } - if (((bitField0_ & 0x08000000) != 0)) { + if (((bitField0_ & 0x10000000) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(109757585, state_); } for (int i = 0; i < circuitInfos_.size(); i++) { @@ -4203,7 +4279,7 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 264484123, expectedOutages_.get(i)); } - if (((bitField0_ & 0x10000000) != 0)) { + if (((bitField0_ & 0x20000000) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(280084972, subzone_); } if (((bitField0_ & 0x00004000) != 0)) { @@ -4420,6 +4496,10 @@ public boolean equals(final java.lang.Object obj) { if (hasSelfLink()) { if (!getSelfLink().equals(other.getSelfLink())) return false; } + if (hasSelfLinkWithId() != other.hasSelfLinkWithId()) return false; + if (hasSelfLinkWithId()) { + if (!getSelfLinkWithId().equals(other.getSelfLinkWithId())) return false; + } if (hasState() != other.hasState()) return false; if (hasState()) { if (!getState().equals(other.getState())) return false; @@ -4576,6 +4656,10 @@ public int hashCode() { hash = (37 * hash) + SELF_LINK_FIELD_NUMBER; hash = (53 * hash) + getSelfLink().hashCode(); } + if (hasSelfLinkWithId()) { + hash = (37 * hash) + SELF_LINK_WITH_ID_FIELD_NUMBER; + hash = (53 * hash) + getSelfLinkWithId().hashCode(); + } if (hasState()) { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + getState().hashCode(); @@ -4826,6 +4910,7 @@ public Builder clear() { requestedLinkCount_ = 0; satisfiesPzs_ = false; selfLink_ = ""; + selfLinkWithId_ = ""; state_ = ""; subzone_ = ""; wireGroups_ = com.google.protobuf.LazyStringArrayList.emptyList(); @@ -5029,14 +5114,18 @@ private void buildPartial1(com.google.cloud.compute.v1.Interconnect result) { to_bitField0_ |= 0x04000000; } if (((from_bitField1_ & 0x00000004) != 0)) { - result.state_ = state_; + result.selfLinkWithId_ = selfLinkWithId_; to_bitField0_ |= 0x08000000; } if (((from_bitField1_ & 0x00000008) != 0)) { - result.subzone_ = subzone_; + result.state_ = state_; to_bitField0_ |= 0x10000000; } if (((from_bitField1_ & 0x00000010) != 0)) { + result.subzone_ = subzone_; + to_bitField0_ |= 0x20000000; + } + if (((from_bitField1_ & 0x00000020) != 0)) { wireGroups_.makeImmutable(); result.wireGroups_ = wireGroups_; } @@ -5266,20 +5355,25 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Interconnect other) { bitField1_ |= 0x00000002; onChanged(); } + if (other.hasSelfLinkWithId()) { + selfLinkWithId_ = other.selfLinkWithId_; + bitField1_ |= 0x00000004; + onChanged(); + } if (other.hasState()) { state_ = other.state_; - bitField1_ |= 0x00000004; + bitField1_ |= 0x00000008; onChanged(); } if (other.hasSubzone()) { subzone_ = other.subzone_; - bitField1_ |= 0x00000008; + bitField1_ |= 0x00000010; onChanged(); } if (!other.wireGroups_.isEmpty()) { if (wireGroups_.isEmpty()) { wireGroups_ = other.wireGroups_; - bitField1_ |= 0x00000010; + bitField1_ |= 0x00000020; } else { ensureWireGroupsIsMutable(); wireGroups_.addAll(other.wireGroups_); @@ -5355,6 +5449,12 @@ public Builder mergeFrom( wireGroups_.add(s); break; } // case 325301874 + case 356167698: + { + selfLinkWithId_ = input.readStringRequireUtf8(); + bitField1_ |= 0x00000004; + break; + } // case 356167698 case 360411096: { requestedLinkCount_ = input.readInt32(); @@ -5370,7 +5470,7 @@ public Builder mergeFrom( case 878060682: { state_ = input.readStringRequireUtf8(); - bitField1_ |= 0x00000004; + bitField1_ |= 0x00000008; break; } // case 878060682 case 1318718842: @@ -5435,7 +5535,7 @@ public Builder mergeFrom( case -2054287518: { subzone_ = input.readStringRequireUtf8(); - bitField1_ |= 0x00000008; + bitField1_ |= 0x00000010; break; } // case -2054287518 case -1971520086: @@ -11216,6 +11316,132 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object selfLinkWithId_ = ""; + + /** + * + * + *
+     * Output only. Server-defined URL for this resource with the resource id.
+     * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return Whether the selfLinkWithId field is set. + */ + public boolean hasSelfLinkWithId() { + return ((bitField1_ & 0x00000004) != 0); + } + + /** + * + * + *
+     * Output only. Server-defined URL for this resource with the resource id.
+     * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return The selfLinkWithId. + */ + public java.lang.String getSelfLinkWithId() { + java.lang.Object ref = selfLinkWithId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + selfLinkWithId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Output only. Server-defined URL for this resource with the resource id.
+     * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return The bytes for selfLinkWithId. + */ + public com.google.protobuf.ByteString getSelfLinkWithIdBytes() { + java.lang.Object ref = selfLinkWithId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + selfLinkWithId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Output only. Server-defined URL for this resource with the resource id.
+     * 
+ * + * optional string self_link_with_id = 44520962; + * + * @param value The selfLinkWithId to set. + * @return This builder for chaining. + */ + public Builder setSelfLinkWithId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + selfLinkWithId_ = value; + bitField1_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Server-defined URL for this resource with the resource id.
+     * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return This builder for chaining. + */ + public Builder clearSelfLinkWithId() { + selfLinkWithId_ = getDefaultInstance().getSelfLinkWithId(); + bitField1_ = (bitField1_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. Server-defined URL for this resource with the resource id.
+     * 
+ * + * optional string self_link_with_id = 44520962; + * + * @param value The bytes for selfLinkWithId to set. + * @return This builder for chaining. + */ + public Builder setSelfLinkWithIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selfLinkWithId_ = value; + bitField1_ |= 0x00000004; + onChanged(); + return this; + } + private java.lang.Object state_ = ""; /** @@ -11240,7 +11466,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { * @return Whether the state field is set. */ public boolean hasState() { - return ((bitField1_ & 0x00000004) != 0); + return ((bitField1_ & 0x00000008) != 0); } /** @@ -11336,7 +11562,7 @@ public Builder setState(java.lang.String value) { throw new NullPointerException(); } state_ = value; - bitField1_ |= 0x00000004; + bitField1_ |= 0x00000008; onChanged(); return this; } @@ -11364,7 +11590,7 @@ public Builder setState(java.lang.String value) { */ public Builder clearState() { state_ = getDefaultInstance().getState(); - bitField1_ = (bitField1_ & ~0x00000004); + bitField1_ = (bitField1_ & ~0x00000008); onChanged(); return this; } @@ -11397,7 +11623,7 @@ public Builder setStateBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); state_ = value; - bitField1_ |= 0x00000004; + bitField1_ |= 0x00000008; onChanged(); return this; } @@ -11417,7 +11643,7 @@ public Builder setStateBytes(com.google.protobuf.ByteString value) { * @return Whether the subzone field is set. */ public boolean hasSubzone() { - return ((bitField1_ & 0x00000008) != 0); + return ((bitField1_ & 0x00000010) != 0); } /** @@ -11486,7 +11712,7 @@ public Builder setSubzone(java.lang.String value) { throw new NullPointerException(); } subzone_ = value; - bitField1_ |= 0x00000008; + bitField1_ |= 0x00000010; onChanged(); return this; } @@ -11505,7 +11731,7 @@ public Builder setSubzone(java.lang.String value) { */ public Builder clearSubzone() { subzone_ = getDefaultInstance().getSubzone(); - bitField1_ = (bitField1_ & ~0x00000008); + bitField1_ = (bitField1_ & ~0x00000010); onChanged(); return this; } @@ -11529,7 +11755,7 @@ public Builder setSubzoneBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); subzone_ = value; - bitField1_ |= 0x00000008; + bitField1_ |= 0x00000010; onChanged(); return this; } @@ -11541,7 +11767,7 @@ private void ensureWireGroupsIsMutable() { if (!wireGroups_.isModifiable()) { wireGroups_ = new com.google.protobuf.LazyStringArrayList(wireGroups_); } - bitField1_ |= 0x00000010; + bitField1_ |= 0x00000020; } /** @@ -11636,7 +11862,7 @@ public Builder setWireGroups(int index, java.lang.String value) { } ensureWireGroupsIsMutable(); wireGroups_.set(index, value); - bitField1_ |= 0x00000010; + bitField1_ |= 0x00000020; onChanged(); return this; } @@ -11661,7 +11887,7 @@ public Builder addWireGroups(java.lang.String value) { } ensureWireGroupsIsMutable(); wireGroups_.add(value); - bitField1_ |= 0x00000010; + bitField1_ |= 0x00000020; onChanged(); return this; } @@ -11683,7 +11909,7 @@ public Builder addWireGroups(java.lang.String value) { public Builder addAllWireGroups(java.lang.Iterable values) { ensureWireGroupsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, wireGroups_); - bitField1_ |= 0x00000010; + bitField1_ |= 0x00000020; onChanged(); return this; } @@ -11703,7 +11929,7 @@ public Builder addAllWireGroups(java.lang.Iterable values) { */ public Builder clearWireGroups() { wireGroups_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField1_ = (bitField1_ & ~0x00000010); + bitField1_ = (bitField1_ & ~0x00000020); ; onChanged(); return this; @@ -11730,7 +11956,7 @@ public Builder addWireGroupsBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureWireGroupsIsMutable(); wireGroups_.add(value); - bitField1_ |= 0x00000010; + bitField1_ |= 0x00000020; onChanged(); return this; } diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectLocationCrossSiteInterconnectInfo.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectLocationCrossSiteInterconnectInfo.java index bd75005e1065..9a47e1d6abdc 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectLocationCrossSiteInterconnectInfo.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectLocationCrossSiteInterconnectInfo.java @@ -150,6 +150,80 @@ public com.google.protobuf.ByteString getCityBytes() { } } + public static final int MAX_DYNAMIC_PATH_BANDWIDTH_GBPS_FIELD_NUMBER = 378021355; + private long maxDynamicPathBandwidthGbps_ = 0L; + + /** + * + * + *
+   * Output only. The maximum unmetered bandwidth for dynamic paths allowable per
+   * WireGroup for this metro.
+   * 
+ * + * optional int64 max_dynamic_path_bandwidth_gbps = 378021355; + * + * @return Whether the maxDynamicPathBandwidthGbps field is set. + */ + @java.lang.Override + public boolean hasMaxDynamicPathBandwidthGbps() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+   * Output only. The maximum unmetered bandwidth for dynamic paths allowable per
+   * WireGroup for this metro.
+   * 
+ * + * optional int64 max_dynamic_path_bandwidth_gbps = 378021355; + * + * @return The maxDynamicPathBandwidthGbps. + */ + @java.lang.Override + public long getMaxDynamicPathBandwidthGbps() { + return maxDynamicPathBandwidthGbps_; + } + + public static final int MAX_FIXED_PATH_BANDWIDTH_GBPS_FIELD_NUMBER = 346138080; + private long maxFixedPathBandwidthGbps_ = 0L; + + /** + * + * + *
+   * Output only. The maximum unmetered bandwidth for fixed paths allowable per WireGroup
+   * for this metro.
+   * 
+ * + * optional int64 max_fixed_path_bandwidth_gbps = 346138080; + * + * @return Whether the maxFixedPathBandwidthGbps field is set. + */ + @java.lang.Override + public boolean hasMaxFixedPathBandwidthGbps() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+   * Output only. The maximum unmetered bandwidth for fixed paths allowable per WireGroup
+   * for this metro.
+   * 
+ * + * optional int64 max_fixed_path_bandwidth_gbps = 346138080; + * + * @return The maxFixedPathBandwidthGbps. + */ + @java.lang.Override + public long getMaxFixedPathBandwidthGbps() { + return maxFixedPathBandwidthGbps_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -167,6 +241,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 3053931, city_); } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeInt64(346138080, maxFixedPathBandwidthGbps_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeInt64(378021355, maxDynamicPathBandwidthGbps_); + } getUnknownFields().writeTo(output); } @@ -179,6 +259,16 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(3053931, city_); } + if (((bitField0_ & 0x00000004) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 346138080, maxFixedPathBandwidthGbps_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 378021355, maxDynamicPathBandwidthGbps_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -200,6 +290,14 @@ public boolean equals(final java.lang.Object obj) { if (hasCity()) { if (!getCity().equals(other.getCity())) return false; } + if (hasMaxDynamicPathBandwidthGbps() != other.hasMaxDynamicPathBandwidthGbps()) return false; + if (hasMaxDynamicPathBandwidthGbps()) { + if (getMaxDynamicPathBandwidthGbps() != other.getMaxDynamicPathBandwidthGbps()) return false; + } + if (hasMaxFixedPathBandwidthGbps() != other.hasMaxFixedPathBandwidthGbps()) return false; + if (hasMaxFixedPathBandwidthGbps()) { + if (getMaxFixedPathBandwidthGbps() != other.getMaxFixedPathBandwidthGbps()) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -215,6 +313,14 @@ public int hashCode() { hash = (37 * hash) + CITY_FIELD_NUMBER; hash = (53 * hash) + getCity().hashCode(); } + if (hasMaxDynamicPathBandwidthGbps()) { + hash = (37 * hash) + MAX_DYNAMIC_PATH_BANDWIDTH_GBPS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxDynamicPathBandwidthGbps()); + } + if (hasMaxFixedPathBandwidthGbps()) { + hash = (37 * hash) + MAX_FIXED_PATH_BANDWIDTH_GBPS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxFixedPathBandwidthGbps()); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -361,6 +467,8 @@ public Builder clear() { super.clear(); bitField0_ = 0; city_ = ""; + maxDynamicPathBandwidthGbps_ = 0L; + maxFixedPathBandwidthGbps_ = 0L; return this; } @@ -407,6 +515,14 @@ private void buildPartial0( result.city_ = city_; to_bitField0_ |= 0x00000001; } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.maxDynamicPathBandwidthGbps_ = maxDynamicPathBandwidthGbps_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.maxFixedPathBandwidthGbps_ = maxFixedPathBandwidthGbps_; + to_bitField0_ |= 0x00000004; + } result.bitField0_ |= to_bitField0_; } @@ -432,6 +548,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000001; onChanged(); } + if (other.hasMaxDynamicPathBandwidthGbps()) { + setMaxDynamicPathBandwidthGbps(other.getMaxDynamicPathBandwidthGbps()); + } + if (other.hasMaxFixedPathBandwidthGbps()) { + setMaxFixedPathBandwidthGbps(other.getMaxFixedPathBandwidthGbps()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -464,6 +586,18 @@ public Builder mergeFrom( bitField0_ |= 0x00000001; break; } // case 24431450 + case -1525862656: + { + maxFixedPathBandwidthGbps_ = input.readInt64(); + bitField0_ |= 0x00000004; + break; + } // case -1525862656 + case -1270796456: + { + maxDynamicPathBandwidthGbps_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case -1270796456 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -621,6 +755,158 @@ public Builder setCityBytes(com.google.protobuf.ByteString value) { return this; } + private long maxDynamicPathBandwidthGbps_; + + /** + * + * + *
+     * Output only. The maximum unmetered bandwidth for dynamic paths allowable per
+     * WireGroup for this metro.
+     * 
+ * + * optional int64 max_dynamic_path_bandwidth_gbps = 378021355; + * + * @return Whether the maxDynamicPathBandwidthGbps field is set. + */ + @java.lang.Override + public boolean hasMaxDynamicPathBandwidthGbps() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+     * Output only. The maximum unmetered bandwidth for dynamic paths allowable per
+     * WireGroup for this metro.
+     * 
+ * + * optional int64 max_dynamic_path_bandwidth_gbps = 378021355; + * + * @return The maxDynamicPathBandwidthGbps. + */ + @java.lang.Override + public long getMaxDynamicPathBandwidthGbps() { + return maxDynamicPathBandwidthGbps_; + } + + /** + * + * + *
+     * Output only. The maximum unmetered bandwidth for dynamic paths allowable per
+     * WireGroup for this metro.
+     * 
+ * + * optional int64 max_dynamic_path_bandwidth_gbps = 378021355; + * + * @param value The maxDynamicPathBandwidthGbps to set. + * @return This builder for chaining. + */ + public Builder setMaxDynamicPathBandwidthGbps(long value) { + + maxDynamicPathBandwidthGbps_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The maximum unmetered bandwidth for dynamic paths allowable per
+     * WireGroup for this metro.
+     * 
+ * + * optional int64 max_dynamic_path_bandwidth_gbps = 378021355; + * + * @return This builder for chaining. + */ + public Builder clearMaxDynamicPathBandwidthGbps() { + bitField0_ = (bitField0_ & ~0x00000002); + maxDynamicPathBandwidthGbps_ = 0L; + onChanged(); + return this; + } + + private long maxFixedPathBandwidthGbps_; + + /** + * + * + *
+     * Output only. The maximum unmetered bandwidth for fixed paths allowable per WireGroup
+     * for this metro.
+     * 
+ * + * optional int64 max_fixed_path_bandwidth_gbps = 346138080; + * + * @return Whether the maxFixedPathBandwidthGbps field is set. + */ + @java.lang.Override + public boolean hasMaxFixedPathBandwidthGbps() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
+     * Output only. The maximum unmetered bandwidth for fixed paths allowable per WireGroup
+     * for this metro.
+     * 
+ * + * optional int64 max_fixed_path_bandwidth_gbps = 346138080; + * + * @return The maxFixedPathBandwidthGbps. + */ + @java.lang.Override + public long getMaxFixedPathBandwidthGbps() { + return maxFixedPathBandwidthGbps_; + } + + /** + * + * + *
+     * Output only. The maximum unmetered bandwidth for fixed paths allowable per WireGroup
+     * for this metro.
+     * 
+ * + * optional int64 max_fixed_path_bandwidth_gbps = 346138080; + * + * @param value The maxFixedPathBandwidthGbps to set. + * @return This builder for chaining. + */ + public Builder setMaxFixedPathBandwidthGbps(long value) { + + maxFixedPathBandwidthGbps_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The maximum unmetered bandwidth for fixed paths allowable per WireGroup
+     * for this metro.
+     * 
+ * + * optional int64 max_fixed_path_bandwidth_gbps = 346138080; + * + * @return This builder for chaining. + */ + public Builder clearMaxFixedPathBandwidthGbps() { + bitField0_ = (bitField0_ & ~0x00000004); + maxFixedPathBandwidthGbps_ = 0L; + onChanged(); + return this; + } + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.InterconnectLocationCrossSiteInterconnectInfo) } diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectLocationCrossSiteInterconnectInfoOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectLocationCrossSiteInterconnectInfoOrBuilder.java index 242604c74eb4..d47a706fcf6d 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectLocationCrossSiteInterconnectInfoOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectLocationCrossSiteInterconnectInfoOrBuilder.java @@ -70,4 +70,60 @@ public interface InterconnectLocationCrossSiteInterconnectInfoOrBuilder * @return The bytes for city. */ com.google.protobuf.ByteString getCityBytes(); + + /** + * + * + *
+   * Output only. The maximum unmetered bandwidth for dynamic paths allowable per
+   * WireGroup for this metro.
+   * 
+ * + * optional int64 max_dynamic_path_bandwidth_gbps = 378021355; + * + * @return Whether the maxDynamicPathBandwidthGbps field is set. + */ + boolean hasMaxDynamicPathBandwidthGbps(); + + /** + * + * + *
+   * Output only. The maximum unmetered bandwidth for dynamic paths allowable per
+   * WireGroup for this metro.
+   * 
+ * + * optional int64 max_dynamic_path_bandwidth_gbps = 378021355; + * + * @return The maxDynamicPathBandwidthGbps. + */ + long getMaxDynamicPathBandwidthGbps(); + + /** + * + * + *
+   * Output only. The maximum unmetered bandwidth for fixed paths allowable per WireGroup
+   * for this metro.
+   * 
+ * + * optional int64 max_fixed_path_bandwidth_gbps = 346138080; + * + * @return Whether the maxFixedPathBandwidthGbps field is set. + */ + boolean hasMaxFixedPathBandwidthGbps(); + + /** + * + * + *
+   * Output only. The maximum unmetered bandwidth for fixed paths allowable per WireGroup
+   * for this metro.
+   * 
+ * + * optional int64 max_fixed_path_bandwidth_gbps = 346138080; + * + * @return The maxFixedPathBandwidthGbps. + */ + long getMaxFixedPathBandwidthGbps(); } diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectOrBuilder.java index 8bd24358cf4d..71ce60a388e6 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectOrBuilder.java @@ -1704,6 +1704,45 @@ java.lang.String getLabelsOrDefault( */ com.google.protobuf.ByteString getSelfLinkBytes(); + /** + * + * + *
+   * Output only. Server-defined URL for this resource with the resource id.
+   * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return Whether the selfLinkWithId field is set. + */ + boolean hasSelfLinkWithId(); + + /** + * + * + *
+   * Output only. Server-defined URL for this resource with the resource id.
+   * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return The selfLinkWithId. + */ + java.lang.String getSelfLinkWithId(); + + /** + * + * + *
+   * Output only. Server-defined URL for this resource with the resource id.
+   * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return The bytes for selfLinkWithId. + */ + com.google.protobuf.ByteString getSelfLinkWithIdBytes(); + /** * * diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ManagedInstance.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ManagedInstance.java index 700886d03dd8..fbdc1616a330 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ManagedInstance.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ManagedInstance.java @@ -57,6 +57,7 @@ private ManagedInstance() { instanceHealth_ = java.util.Collections.emptyList(); instanceStatus_ = ""; name_ = ""; + targetStatus_ = ""; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @@ -920,6 +921,206 @@ private InstanceStatus(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.ManagedInstance.InstanceStatus) } + /** + * + * + *
+   * Output only. The eventual status of the instance. The instance group
+   * manager will not be identified as stable till each managed instance reaches
+   * its targetStatus.
+   * Additional supported values which may be not listed in the enum directly due to technical reasons:
+   * RUNNING
+   * STOPPED
+   * SUSPENDED
+   * 
+ * + * Protobuf enum {@code google.cloud.compute.v1.ManagedInstance.TargetStatus} + */ + public enum TargetStatus implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_TARGET_STATUS = 0; + */ + UNDEFINED_TARGET_STATUS(0), + /** + * + * + *
+     * The managed instance will eventually be ABANDONED, i.e. dissociated
+     * from the managed instance group.
+     * 
+ * + * ABANDONED = 81797556; + */ + ABANDONED(81797556), + /** + * + * + *
+     * The managed instance will eventually be DELETED.
+     * 
+ * + * DELETED = 120962041; + */ + DELETED(120962041), + /** + * + * + *
+     * Only present to map the STATUS_INVALID value.
+     * 
+ * + * INVALID = 530283991; + */ + INVALID(530283991), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 6, + /* suffix= */ "", + "TargetStatus"); + } + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_TARGET_STATUS = 0; + */ + public static final int UNDEFINED_TARGET_STATUS_VALUE = 0; + + /** + * + * + *
+     * The managed instance will eventually be ABANDONED, i.e. dissociated
+     * from the managed instance group.
+     * 
+ * + * ABANDONED = 81797556; + */ + public static final int ABANDONED_VALUE = 81797556; + + /** + * + * + *
+     * The managed instance will eventually be DELETED.
+     * 
+ * + * DELETED = 120962041; + */ + public static final int DELETED_VALUE = 120962041; + + /** + * + * + *
+     * Only present to map the STATUS_INVALID value.
+     * 
+ * + * INVALID = 530283991; + */ + public static final int INVALID_VALUE = 530283991; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static TargetStatus valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static TargetStatus forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_TARGET_STATUS; + case 81797556: + return ABANDONED; + case 120962041: + return DELETED; + case 530283991: + return INVALID; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TargetStatus findValueByNumber(int number) { + return TargetStatus.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.compute.v1.ManagedInstance.getDescriptor().getEnumTypes().get(2); + } + + private static final TargetStatus[] VALUES = values(); + + public static TargetStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private TargetStatus(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.ManagedInstance.TargetStatus) + } + private int bitField0_; public static final int CURRENT_ACTION_FIELD_NUMBER = 178475964; @@ -1778,6 +1979,84 @@ public com.google.cloud.compute.v1.ManagedInstanceShutdownDetails getShutdownDet : shutdownDetails_; } + public static final int TARGET_STATUS_FIELD_NUMBER = 307799648; + + @SuppressWarnings("serial") + private volatile java.lang.Object targetStatus_ = ""; + + /** + * + * + *
+   * Output only. The eventual status of the instance. The instance group
+   * manager will not be identified as stable till each managed instance reaches
+   * its targetStatus.
+   * Check the TargetStatus enum for the list of possible values.
+   * 
+ * + * optional string target_status = 307799648; + * + * @return Whether the targetStatus field is set. + */ + @java.lang.Override + public boolean hasTargetStatus() { + return ((bitField0_ & 0x00000800) != 0); + } + + /** + * + * + *
+   * Output only. The eventual status of the instance. The instance group
+   * manager will not be identified as stable till each managed instance reaches
+   * its targetStatus.
+   * Check the TargetStatus enum for the list of possible values.
+   * 
+ * + * optional string target_status = 307799648; + * + * @return The targetStatus. + */ + @java.lang.Override + public java.lang.String getTargetStatus() { + java.lang.Object ref = targetStatus_; + 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(); + targetStatus_ = s; + return s; + } + } + + /** + * + * + *
+   * Output only. The eventual status of the instance. The instance group
+   * manager will not be identified as stable till each managed instance reaches
+   * its targetStatus.
+   * Check the TargetStatus enum for the list of possible values.
+   * 
+ * + * optional string target_status = 307799648; + * + * @return The bytes for targetStatus. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTargetStatusBytes() { + java.lang.Object ref = targetStatus_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + targetStatus_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int VERSION_FIELD_NUMBER = 351608024; private com.google.cloud.compute.v1.ManagedInstanceVersion version_; @@ -1794,7 +2073,7 @@ public com.google.cloud.compute.v1.ManagedInstanceShutdownDetails getShutdownDet */ @java.lang.Override public boolean hasVersion() { - return ((bitField0_ & 0x00000800) != 0); + return ((bitField0_ & 0x00001000) != 0); } /** @@ -1870,6 +2149,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessage.writeString(output, 178475964, currentAction_); } if (((bitField0_ & 0x00000800) != 0)) { + com.google.protobuf.GeneratedMessage.writeString(output, 307799648, targetStatus_); + } + if (((bitField0_ & 0x00001000) != 0)) { output.writeMessage(351608024, getVersion()); } for (int i = 0; i < instanceHealth_.size(); i++) { @@ -1923,6 +2205,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessage.computeStringSize(178475964, currentAction_); } if (((bitField0_ & 0x00000800) != 0)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(307799648, targetStatus_); + } + if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(351608024, getVersion()); } for (int i = 0; i < instanceHealth_.size(); i++) { @@ -2004,6 +2289,10 @@ public boolean equals(final java.lang.Object obj) { if (hasShutdownDetails()) { if (!getShutdownDetails().equals(other.getShutdownDetails())) return false; } + if (hasTargetStatus() != other.hasTargetStatus()) return false; + if (hasTargetStatus()) { + if (!getTargetStatus().equals(other.getTargetStatus())) return false; + } if (hasVersion() != other.hasVersion()) return false; if (hasVersion()) { if (!getVersion().equals(other.getVersion())) return false; @@ -2067,6 +2356,10 @@ public int hashCode() { hash = (37 * hash) + SHUTDOWN_DETAILS_FIELD_NUMBER; hash = (53 * hash) + getShutdownDetails().hashCode(); } + if (hasTargetStatus()) { + hash = (37 * hash) + TARGET_STATUS_FIELD_NUMBER; + hash = (53 * hash) + getTargetStatus().hashCode(); + } if (hasVersion()) { hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion().hashCode(); @@ -2269,6 +2562,7 @@ public Builder clear() { shutdownDetailsBuilder_.dispose(); shutdownDetailsBuilder_ = null; } + targetStatus_ = ""; version_ = null; if (versionBuilder_ != null) { versionBuilder_.dispose(); @@ -2380,9 +2674,13 @@ private void buildPartial0(com.google.cloud.compute.v1.ManagedInstance result) { to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00001000) != 0)) { - result.version_ = versionBuilder_ == null ? version_ : versionBuilder_.build(); + result.targetStatus_ = targetStatus_; to_bitField0_ |= 0x00000800; } + if (((from_bitField0_ & 0x00002000) != 0)) { + result.version_ = versionBuilder_ == null ? version_ : versionBuilder_.build(); + to_bitField0_ |= 0x00001000; + } result.bitField0_ |= to_bitField0_; } @@ -2466,6 +2764,11 @@ public Builder mergeFrom(com.google.cloud.compute.v1.ManagedInstance other) { if (other.hasShutdownDetails()) { mergeShutdownDetails(other.getShutdownDetails()); } + if (other.hasTargetStatus()) { + targetStatus_ = other.targetStatus_; + bitField0_ |= 0x00001000; + onChanged(); + } if (other.hasVersion()) { mergeVersion(other.getVersion()); } @@ -2548,10 +2851,16 @@ public Builder mergeFrom( bitField0_ |= 0x00000001; break; } // case 1427807714 + case -1832570110: + { + targetStatus_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case -1832570110 case -1482103102: { input.readMessage(internalGetVersionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; break; } // case -1482103102 case -1233630670: @@ -5122,6 +5431,150 @@ public Builder clearShutdownDetails() { return shutdownDetailsBuilder_; } + private java.lang.Object targetStatus_ = ""; + + /** + * + * + *
+     * Output only. The eventual status of the instance. The instance group
+     * manager will not be identified as stable till each managed instance reaches
+     * its targetStatus.
+     * Check the TargetStatus enum for the list of possible values.
+     * 
+ * + * optional string target_status = 307799648; + * + * @return Whether the targetStatus field is set. + */ + public boolean hasTargetStatus() { + return ((bitField0_ & 0x00001000) != 0); + } + + /** + * + * + *
+     * Output only. The eventual status of the instance. The instance group
+     * manager will not be identified as stable till each managed instance reaches
+     * its targetStatus.
+     * Check the TargetStatus enum for the list of possible values.
+     * 
+ * + * optional string target_status = 307799648; + * + * @return The targetStatus. + */ + public java.lang.String getTargetStatus() { + java.lang.Object ref = targetStatus_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + targetStatus_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
+     * Output only. The eventual status of the instance. The instance group
+     * manager will not be identified as stable till each managed instance reaches
+     * its targetStatus.
+     * Check the TargetStatus enum for the list of possible values.
+     * 
+ * + * optional string target_status = 307799648; + * + * @return The bytes for targetStatus. + */ + public com.google.protobuf.ByteString getTargetStatusBytes() { + java.lang.Object ref = targetStatus_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + targetStatus_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
+     * Output only. The eventual status of the instance. The instance group
+     * manager will not be identified as stable till each managed instance reaches
+     * its targetStatus.
+     * Check the TargetStatus enum for the list of possible values.
+     * 
+ * + * optional string target_status = 307799648; + * + * @param value The targetStatus to set. + * @return This builder for chaining. + */ + public Builder setTargetStatus(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + targetStatus_ = value; + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The eventual status of the instance. The instance group
+     * manager will not be identified as stable till each managed instance reaches
+     * its targetStatus.
+     * Check the TargetStatus enum for the list of possible values.
+     * 
+ * + * optional string target_status = 307799648; + * + * @return This builder for chaining. + */ + public Builder clearTargetStatus() { + targetStatus_ = getDefaultInstance().getTargetStatus(); + bitField0_ = (bitField0_ & ~0x00001000); + onChanged(); + return this; + } + + /** + * + * + *
+     * Output only. The eventual status of the instance. The instance group
+     * manager will not be identified as stable till each managed instance reaches
+     * its targetStatus.
+     * Check the TargetStatus enum for the list of possible values.
+     * 
+ * + * optional string target_status = 307799648; + * + * @param value The bytes for targetStatus to set. + * @return This builder for chaining. + */ + public Builder setTargetStatusBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetStatus_ = value; + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + private com.google.cloud.compute.v1.ManagedInstanceVersion version_; private com.google.protobuf.SingleFieldBuilder< com.google.cloud.compute.v1.ManagedInstanceVersion, @@ -5141,7 +5594,7 @@ public Builder clearShutdownDetails() { * @return Whether the version field is set. */ public boolean hasVersion() { - return ((bitField0_ & 0x00001000) != 0); + return ((bitField0_ & 0x00002000) != 0); } /** @@ -5183,7 +5636,7 @@ public Builder setVersion(com.google.cloud.compute.v1.ManagedInstanceVersion val } else { versionBuilder_.setMessage(value); } - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -5204,7 +5657,7 @@ public Builder setVersion( } else { versionBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -5220,7 +5673,7 @@ public Builder setVersion( */ public Builder mergeVersion(com.google.cloud.compute.v1.ManagedInstanceVersion value) { if (versionBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) + if (((bitField0_ & 0x00002000) != 0) && version_ != null && version_ != com.google.cloud.compute.v1.ManagedInstanceVersion.getDefaultInstance()) { @@ -5232,7 +5685,7 @@ public Builder mergeVersion(com.google.cloud.compute.v1.ManagedInstanceVersion v versionBuilder_.mergeFrom(value); } if (version_ != null) { - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); } return this; @@ -5248,7 +5701,7 @@ public Builder mergeVersion(com.google.cloud.compute.v1.ManagedInstanceVersion v * optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024; */ public Builder clearVersion() { - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00002000); version_ = null; if (versionBuilder_ != null) { versionBuilder_.dispose(); @@ -5268,7 +5721,7 @@ public Builder clearVersion() { * optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024; */ public com.google.cloud.compute.v1.ManagedInstanceVersion.Builder getVersionBuilder() { - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); return internalGetVersionFieldBuilder().getBuilder(); } diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ManagedInstanceOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ManagedInstanceOrBuilder.java index 7c2f9e265b03..9cc2c109ebb7 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ManagedInstanceOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ManagedInstanceOrBuilder.java @@ -630,6 +630,54 @@ com.google.cloud.compute.v1.ManagedInstanceInstanceHealthOrBuilder getInstanceHe */ com.google.cloud.compute.v1.ManagedInstanceShutdownDetailsOrBuilder getShutdownDetailsOrBuilder(); + /** + * + * + *
+   * Output only. The eventual status of the instance. The instance group
+   * manager will not be identified as stable till each managed instance reaches
+   * its targetStatus.
+   * Check the TargetStatus enum for the list of possible values.
+   * 
+ * + * optional string target_status = 307799648; + * + * @return Whether the targetStatus field is set. + */ + boolean hasTargetStatus(); + + /** + * + * + *
+   * Output only. The eventual status of the instance. The instance group
+   * manager will not be identified as stable till each managed instance reaches
+   * its targetStatus.
+   * Check the TargetStatus enum for the list of possible values.
+   * 
+ * + * optional string target_status = 307799648; + * + * @return The targetStatus. + */ + java.lang.String getTargetStatus(); + + /** + * + * + *
+   * Output only. The eventual status of the instance. The instance group
+   * manager will not be identified as stable till each managed instance reaches
+   * its targetStatus.
+   * Check the TargetStatus enum for the list of possible values.
+   * 
+ * + * optional string target_status = 307799648; + * + * @return The bytes for targetStatus. + */ + com.google.protobuf.ByteString getTargetStatusBytes(); + /** * * diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroup.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroup.java index c525120b11de..d67ab9389d61 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroup.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroup.java @@ -140,6 +140,18 @@ public enum NetworkEndpointType implements com.google.protobuf.ProtocolMessageEn * GCE_VM_IP = 401880793; */ GCE_VM_IP(401880793), + /** + * + * + *
+     * The network endpoint for targeting a specific network interface of a
+     * VM instance in configurations with multiple network interfaces on the
+     * same network.
+     * 
+ * + * GCE_VM_IP_DEDICATED_BACKEND = 321618974; + */ + GCE_VM_IP_DEDICATED_BACKEND(321618974), /** * * @@ -250,6 +262,19 @@ public enum NetworkEndpointType implements com.google.protobuf.ProtocolMessageEn */ public static final int GCE_VM_IP_VALUE = 401880793; + /** + * + * + *
+     * The network endpoint for targeting a specific network interface of a
+     * VM instance in configurations with multiple network interfaces on the
+     * same network.
+     * 
+ * + * GCE_VM_IP_DEDICATED_BACKEND = 321618974; + */ + public static final int GCE_VM_IP_DEDICATED_BACKEND_VALUE = 321618974; + /** * * @@ -360,6 +385,8 @@ public static NetworkEndpointType forNumber(int value) { return UNDEFINED_NETWORK_ENDPOINT_TYPE; case 401880793: return GCE_VM_IP; + case 321618974: + return GCE_VM_IP_DEDICATED_BACKEND; case 501838375: return GCE_VM_IP_PORT; case 22819253: diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Operation.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Operation.java index 419526af7d78..04659f56b606 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Operation.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Operation.java @@ -647,6 +647,66 @@ public com.google.cloud.compute.v1.ErrorOrBuilder getErrorOrBuilder() { return error_ == null ? com.google.cloud.compute.v1.Error.getDefaultInstance() : error_; } + public static final int GET_HEALTH_OPERATION_METADATA_FIELD_NUMBER = 303911457; + private com.google.cloud.compute.v1.GetHealthOperationMetadata getHealthOperationMetadata_; + + /** + * + * + *
+   * Output only. Metadata for GetHealth operations.
+   * 
+ * + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadata get_health_operation_metadata = 303911457; + * + * + * @return Whether the getHealthOperationMetadata field is set. + */ + @java.lang.Override + public boolean hasGetHealthOperationMetadata() { + return ((bitField0_ & 0x00000020) != 0); + } + + /** + * + * + *
+   * Output only. Metadata for GetHealth operations.
+   * 
+ * + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadata get_health_operation_metadata = 303911457; + * + * + * @return The getHealthOperationMetadata. + */ + @java.lang.Override + public com.google.cloud.compute.v1.GetHealthOperationMetadata getGetHealthOperationMetadata() { + return getHealthOperationMetadata_ == null + ? com.google.cloud.compute.v1.GetHealthOperationMetadata.getDefaultInstance() + : getHealthOperationMetadata_; + } + + /** + * + * + *
+   * Output only. Metadata for GetHealth operations.
+   * 
+ * + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadata get_health_operation_metadata = 303911457; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.GetHealthOperationMetadataOrBuilder + getGetHealthOperationMetadataOrBuilder() { + return getHealthOperationMetadata_ == null + ? com.google.cloud.compute.v1.GetHealthOperationMetadata.getDefaultInstance() + : getHealthOperationMetadata_; + } + public static final int GET_VERSION_OPERATION_METADATA_FIELD_NUMBER = 173230167; private com.google.cloud.compute.v1.GetVersionOperationMetadata getVersionOperationMetadata_; @@ -659,7 +719,7 @@ public com.google.cloud.compute.v1.ErrorOrBuilder getErrorOrBuilder() { */ @java.lang.Override public boolean hasGetVersionOperationMetadata() { - return ((bitField0_ & 0x00000020) != 0); + return ((bitField0_ & 0x00000040) != 0); } /** @@ -710,7 +770,7 @@ public com.google.cloud.compute.v1.GetVersionOperationMetadata getGetVersionOper */ @java.lang.Override public boolean hasHttpErrorMessage() { - return ((bitField0_ & 0x00000040) != 0); + return ((bitField0_ & 0x00000080) != 0); } /** @@ -787,7 +847,7 @@ public com.google.protobuf.ByteString getHttpErrorMessageBytes() { */ @java.lang.Override public boolean hasHttpErrorStatusCode() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** @@ -827,7 +887,7 @@ public int getHttpErrorStatusCode() { */ @java.lang.Override public boolean hasId() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000200) != 0); } /** @@ -867,7 +927,7 @@ public long getId() { */ @java.lang.Override public boolean hasInsertTime() { - return ((bitField0_ & 0x00000200) != 0); + return ((bitField0_ & 0x00000400) != 0); } /** @@ -935,7 +995,7 @@ public com.google.protobuf.ByteString getInsertTimeBytes() { */ @java.lang.Override public boolean hasInstancesBulkInsertOperationMetadata() { - return ((bitField0_ & 0x00000400) != 0); + return ((bitField0_ & 0x00000800) != 0); } /** @@ -985,7 +1045,7 @@ public boolean hasInstancesBulkInsertOperationMetadata() { */ @java.lang.Override public boolean hasKind() { - return ((bitField0_ & 0x00000800) != 0); + return ((bitField0_ & 0x00001000) != 0); } /** @@ -1056,7 +1116,7 @@ public com.google.protobuf.ByteString getKindBytes() { */ @java.lang.Override public boolean hasName() { - return ((bitField0_ & 0x00001000) != 0); + return ((bitField0_ & 0x00002000) != 0); } /** @@ -1126,7 +1186,7 @@ public com.google.protobuf.ByteString getNameBytes() { */ @java.lang.Override public boolean hasOperationGroupId() { - return ((bitField0_ & 0x00002000) != 0); + return ((bitField0_ & 0x00004000) != 0); } /** @@ -1198,7 +1258,7 @@ public com.google.protobuf.ByteString getOperationGroupIdBytes() { */ @java.lang.Override public boolean hasOperationType() { - return ((bitField0_ & 0x00004000) != 0); + return ((bitField0_ & 0x00008000) != 0); } /** @@ -1271,7 +1331,7 @@ public com.google.protobuf.ByteString getOperationTypeBytes() { */ @java.lang.Override public boolean hasProgress() { - return ((bitField0_ & 0x00008000) != 0); + return ((bitField0_ & 0x00010000) != 0); } /** @@ -1313,7 +1373,7 @@ public int getProgress() { */ @java.lang.Override public boolean hasRegion() { - return ((bitField0_ & 0x00010000) != 0); + return ((bitField0_ & 0x00020000) != 0); } /** @@ -1384,7 +1444,7 @@ public com.google.protobuf.ByteString getRegionBytes() { */ @java.lang.Override public boolean hasSelfLink() { - return ((bitField0_ & 0x00020000) != 0); + return ((bitField0_ & 0x00040000) != 0); } /** @@ -1456,7 +1516,7 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { */ @java.lang.Override public boolean hasSetCommonInstanceMetadataOperationMetadata() { - return ((bitField0_ & 0x00040000) != 0); + return ((bitField0_ & 0x00080000) != 0); } /** @@ -1525,7 +1585,7 @@ public boolean hasSetCommonInstanceMetadataOperationMetadata() { */ @java.lang.Override public boolean hasStartTime() { - return ((bitField0_ & 0x00080000) != 0); + return ((bitField0_ & 0x00100000) != 0); } /** @@ -1600,7 +1660,7 @@ public com.google.protobuf.ByteString getStartTimeBytes() { */ @java.lang.Override public boolean hasStatus() { - return ((bitField0_ & 0x00100000) != 0); + return ((bitField0_ & 0x00200000) != 0); } /** @@ -1664,7 +1724,7 @@ public com.google.cloud.compute.v1.Operation.Status getStatus() { */ @java.lang.Override public boolean hasStatusMessage() { - return ((bitField0_ & 0x00200000) != 0); + return ((bitField0_ & 0x00400000) != 0); } /** @@ -1734,7 +1794,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { */ @java.lang.Override public boolean hasTargetId() { - return ((bitField0_ & 0x00400000) != 0); + return ((bitField0_ & 0x00800000) != 0); } /** @@ -1774,7 +1834,7 @@ public long getTargetId() { */ @java.lang.Override public boolean hasTargetLink() { - return ((bitField0_ & 0x00800000) != 0); + return ((bitField0_ & 0x01000000) != 0); } /** @@ -1849,7 +1909,7 @@ public com.google.protobuf.ByteString getTargetLinkBytes() { */ @java.lang.Override public boolean hasUser() { - return ((bitField0_ & 0x01000000) != 0); + return ((bitField0_ & 0x02000000) != 0); } /** @@ -2004,7 +2064,7 @@ public com.google.cloud.compute.v1.WarningsOrBuilder getWarningsOrBuilder(int in */ @java.lang.Override public boolean hasZone() { - return ((bitField0_ & 0x02000000) != 0); + return ((bitField0_ & 0x04000000) != 0); } /** @@ -2071,37 +2131,37 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000200) != 0)) { output.writeUInt64(3355, id_); } - if (((bitField0_ & 0x00000800) != 0)) { + if (((bitField0_ & 0x00001000) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 3292052, kind_); } - if (((bitField0_ & 0x00001000) != 0)) { + if (((bitField0_ & 0x00002000) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 3373707, name_); } - if (((bitField0_ & 0x01000000) != 0)) { + if (((bitField0_ & 0x02000000) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 3599307, user_); } - if (((bitField0_ & 0x02000000) != 0)) { + if (((bitField0_ & 0x04000000) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 3744684, zone_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 30525366, creationTimestamp_); } - if (((bitField0_ & 0x00080000) != 0)) { + if (((bitField0_ & 0x00100000) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 37467274, startTime_); } - if (((bitField0_ & 0x00002000) != 0)) { + if (((bitField0_ & 0x00004000) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 40171187, operationGroupId_); } - if (((bitField0_ & 0x00800000) != 0)) { + if (((bitField0_ & 0x01000000) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 62671336, targetLink_); } - if (((bitField0_ & 0x00008000) != 0)) { + if (((bitField0_ & 0x00010000) != 0)) { output.writeInt32(72663597, progress_); } - if (((bitField0_ & 0x00000400) != 0)) { + if (((bitField0_ & 0x00000800) != 0)) { output.writeMessage(89146177, getInstancesBulkInsertOperationMetadata()); } if (((bitField0_ & 0x00000010) != 0)) { @@ -2110,43 +2170,46 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 114938801, endTime_); } - if (((bitField0_ & 0x00010000) != 0)) { + if (((bitField0_ & 0x00020000) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 138946292, region_); } - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000040) != 0)) { output.writeMessage(173230167, getGetVersionOperationMetadata()); } - if (((bitField0_ & 0x00004000) != 0)) { + if (((bitField0_ & 0x00008000) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 177650450, operationType_); } - if (((bitField0_ & 0x00100000) != 0)) { + if (((bitField0_ & 0x00200000) != 0)) { output.writeEnum(181260274, status_); } - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000080) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 202521945, httpErrorMessage_); } - if (((bitField0_ & 0x00400000) != 0)) { + if (((bitField0_ & 0x00800000) != 0)) { output.writeUInt64(258165385, targetId_); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 297240295, clientOperationId_); } - if (((bitField0_ & 0x00200000) != 0)) { + if (((bitField0_ & 0x00400000) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 297428154, statusMessage_); } - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000020) != 0)) { + output.writeMessage(303911457, getGetHealthOperationMetadata()); + } + if (((bitField0_ & 0x00000100) != 0)) { output.writeInt32(312345196, httpErrorStatusCode_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 422937596, description_); } - if (((bitField0_ & 0x00000200) != 0)) { + if (((bitField0_ & 0x00000400) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 433722515, insertTime_); } - if (((bitField0_ & 0x00020000) != 0)) { + if (((bitField0_ & 0x00040000) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 456214797, selfLink_); } - if (((bitField0_ & 0x00040000) != 0)) { + if (((bitField0_ & 0x00080000) != 0)) { output.writeMessage(490378980, getSetCommonInstanceMetadataOperationMetadata()); } for (int i = 0; i < warnings_.size(); i++) { @@ -2161,37 +2224,37 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream.computeUInt64Size(3355, id_); } - if (((bitField0_ & 0x00000800) != 0)) { + if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(3292052, kind_); } - if (((bitField0_ & 0x00001000) != 0)) { + if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(3373707, name_); } - if (((bitField0_ & 0x01000000) != 0)) { + if (((bitField0_ & 0x02000000) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(3599307, user_); } - if (((bitField0_ & 0x02000000) != 0)) { + if (((bitField0_ & 0x04000000) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(3744684, zone_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(30525366, creationTimestamp_); } - if (((bitField0_ & 0x00080000) != 0)) { + if (((bitField0_ & 0x00100000) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(37467274, startTime_); } - if (((bitField0_ & 0x00002000) != 0)) { + if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(40171187, operationGroupId_); } - if (((bitField0_ & 0x00800000) != 0)) { + if (((bitField0_ & 0x01000000) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(62671336, targetLink_); } - if (((bitField0_ & 0x00008000) != 0)) { + if (((bitField0_ & 0x00010000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(72663597, progress_); } - if (((bitField0_ & 0x00000400) != 0)) { + if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 89146177, getInstancesBulkInsertOperationMetadata()); @@ -2202,46 +2265,51 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(114938801, endTime_); } - if (((bitField0_ & 0x00010000) != 0)) { + if (((bitField0_ & 0x00020000) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(138946292, region_); } - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 173230167, getGetVersionOperationMetadata()); } - if (((bitField0_ & 0x00004000) != 0)) { + if (((bitField0_ & 0x00008000) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(177650450, operationType_); } - if (((bitField0_ & 0x00100000) != 0)) { + if (((bitField0_ & 0x00200000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(181260274, status_); } - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(202521945, httpErrorMessage_); } - if (((bitField0_ & 0x00400000) != 0)) { + if (((bitField0_ & 0x00800000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeUInt64Size(258165385, targetId_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(297240295, clientOperationId_); } - if (((bitField0_ & 0x00200000) != 0)) { + if (((bitField0_ & 0x00400000) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(297428154, statusMessage_); } - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000020) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 303911457, getGetHealthOperationMetadata()); + } + if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(312345196, httpErrorStatusCode_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(422937596, description_); } - if (((bitField0_ & 0x00000200) != 0)) { + if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(433722515, insertTime_); } - if (((bitField0_ & 0x00020000) != 0)) { + if (((bitField0_ & 0x00040000) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(456214797, selfLink_); } - if (((bitField0_ & 0x00040000) != 0)) { + if (((bitField0_ & 0x00080000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 490378980, getSetCommonInstanceMetadataOperationMetadata()); @@ -2284,6 +2352,11 @@ public boolean equals(final java.lang.Object obj) { if (hasError()) { if (!getError().equals(other.getError())) return false; } + if (hasGetHealthOperationMetadata() != other.hasGetHealthOperationMetadata()) return false; + if (hasGetHealthOperationMetadata()) { + if (!getGetHealthOperationMetadata().equals(other.getGetHealthOperationMetadata())) + return false; + } if (hasGetVersionOperationMetadata() != other.hasGetVersionOperationMetadata()) return false; if (hasGetVersionOperationMetadata()) { if (!getGetVersionOperationMetadata().equals(other.getGetVersionOperationMetadata())) @@ -2405,6 +2478,10 @@ public int hashCode() { hash = (37 * hash) + ERROR_FIELD_NUMBER; hash = (53 * hash) + getError().hashCode(); } + if (hasGetHealthOperationMetadata()) { + hash = (37 * hash) + GET_HEALTH_OPERATION_METADATA_FIELD_NUMBER; + hash = (53 * hash) + getGetHealthOperationMetadata().hashCode(); + } if (hasGetVersionOperationMetadata()) { hash = (37 * hash) + GET_VERSION_OPERATION_METADATA_FIELD_NUMBER; hash = (53 * hash) + getGetVersionOperationMetadata().hashCode(); @@ -2661,6 +2738,7 @@ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { internalGetErrorFieldBuilder(); + internalGetGetHealthOperationMetadataFieldBuilder(); internalGetGetVersionOperationMetadataFieldBuilder(); internalGetInstancesBulkInsertOperationMetadataFieldBuilder(); internalGetSetCommonInstanceMetadataOperationMetadataFieldBuilder(); @@ -2681,6 +2759,11 @@ public Builder clear() { errorBuilder_.dispose(); errorBuilder_ = null; } + getHealthOperationMetadata_ = null; + if (getHealthOperationMetadataBuilder_ != null) { + getHealthOperationMetadataBuilder_.dispose(); + getHealthOperationMetadataBuilder_ = null; + } getVersionOperationMetadata_ = null; if (getVersionOperationMetadataBuilder_ != null) { getVersionOperationMetadataBuilder_.dispose(); @@ -2719,7 +2802,7 @@ public Builder clear() { warnings_ = null; warningsBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x02000000); + bitField0_ = (bitField0_ & ~0x04000000); zone_ = ""; return this; } @@ -2758,9 +2841,9 @@ public com.google.cloud.compute.v1.Operation buildPartial() { private void buildPartialRepeatedFields(com.google.cloud.compute.v1.Operation result) { if (warningsBuilder_ == null) { - if (((bitField0_ & 0x02000000) != 0)) { + if (((bitField0_ & 0x04000000) != 0)) { warnings_ = java.util.Collections.unmodifiableList(warnings_); - bitField0_ = (bitField0_ & ~0x02000000); + bitField0_ = (bitField0_ & ~0x04000000); } result.warnings_ = warnings_; } else { @@ -2792,98 +2875,105 @@ private void buildPartial0(com.google.cloud.compute.v1.Operation result) { to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { + result.getHealthOperationMetadata_ = + getHealthOperationMetadataBuilder_ == null + ? getHealthOperationMetadata_ + : getHealthOperationMetadataBuilder_.build(); + to_bitField0_ |= 0x00000020; + } + if (((from_bitField0_ & 0x00000040) != 0)) { result.getVersionOperationMetadata_ = getVersionOperationMetadataBuilder_ == null ? getVersionOperationMetadata_ : getVersionOperationMetadataBuilder_.build(); - to_bitField0_ |= 0x00000020; - } - if (((from_bitField0_ & 0x00000040) != 0)) { - result.httpErrorMessage_ = httpErrorMessage_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { - result.httpErrorStatusCode_ = httpErrorStatusCode_; + result.httpErrorMessage_ = httpErrorMessage_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000100) != 0)) { - result.id_ = id_; + result.httpErrorStatusCode_ = httpErrorStatusCode_; to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000200) != 0)) { - result.insertTime_ = insertTime_; + result.id_ = id_; to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00000400) != 0)) { + result.insertTime_ = insertTime_; + to_bitField0_ |= 0x00000400; + } + if (((from_bitField0_ & 0x00000800) != 0)) { result.instancesBulkInsertOperationMetadata_ = instancesBulkInsertOperationMetadataBuilder_ == null ? instancesBulkInsertOperationMetadata_ : instancesBulkInsertOperationMetadataBuilder_.build(); - to_bitField0_ |= 0x00000400; - } - if (((from_bitField0_ & 0x00000800) != 0)) { - result.kind_ = kind_; to_bitField0_ |= 0x00000800; } if (((from_bitField0_ & 0x00001000) != 0)) { - result.name_ = name_; + result.kind_ = kind_; to_bitField0_ |= 0x00001000; } if (((from_bitField0_ & 0x00002000) != 0)) { - result.operationGroupId_ = operationGroupId_; + result.name_ = name_; to_bitField0_ |= 0x00002000; } if (((from_bitField0_ & 0x00004000) != 0)) { - result.operationType_ = operationType_; + result.operationGroupId_ = operationGroupId_; to_bitField0_ |= 0x00004000; } if (((from_bitField0_ & 0x00008000) != 0)) { - result.progress_ = progress_; + result.operationType_ = operationType_; to_bitField0_ |= 0x00008000; } if (((from_bitField0_ & 0x00010000) != 0)) { - result.region_ = region_; + result.progress_ = progress_; to_bitField0_ |= 0x00010000; } if (((from_bitField0_ & 0x00020000) != 0)) { - result.selfLink_ = selfLink_; + result.region_ = region_; to_bitField0_ |= 0x00020000; } if (((from_bitField0_ & 0x00040000) != 0)) { + result.selfLink_ = selfLink_; + to_bitField0_ |= 0x00040000; + } + if (((from_bitField0_ & 0x00080000) != 0)) { result.setCommonInstanceMetadataOperationMetadata_ = setCommonInstanceMetadataOperationMetadataBuilder_ == null ? setCommonInstanceMetadataOperationMetadata_ : setCommonInstanceMetadataOperationMetadataBuilder_.build(); - to_bitField0_ |= 0x00040000; - } - if (((from_bitField0_ & 0x00080000) != 0)) { - result.startTime_ = startTime_; to_bitField0_ |= 0x00080000; } if (((from_bitField0_ & 0x00100000) != 0)) { - result.status_ = status_; + result.startTime_ = startTime_; to_bitField0_ |= 0x00100000; } if (((from_bitField0_ & 0x00200000) != 0)) { - result.statusMessage_ = statusMessage_; + result.status_ = status_; to_bitField0_ |= 0x00200000; } if (((from_bitField0_ & 0x00400000) != 0)) { - result.targetId_ = targetId_; + result.statusMessage_ = statusMessage_; to_bitField0_ |= 0x00400000; } if (((from_bitField0_ & 0x00800000) != 0)) { - result.targetLink_ = targetLink_; + result.targetId_ = targetId_; to_bitField0_ |= 0x00800000; } if (((from_bitField0_ & 0x01000000) != 0)) { - result.user_ = user_; + result.targetLink_ = targetLink_; to_bitField0_ |= 0x01000000; } - if (((from_bitField0_ & 0x04000000) != 0)) { - result.zone_ = zone_; + if (((from_bitField0_ & 0x02000000) != 0)) { + result.user_ = user_; to_bitField0_ |= 0x02000000; } + if (((from_bitField0_ & 0x08000000) != 0)) { + result.zone_ = zone_; + to_bitField0_ |= 0x04000000; + } result.bitField0_ |= to_bitField0_; } @@ -2922,12 +3012,15 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Operation other) { if (other.hasError()) { mergeError(other.getError()); } + if (other.hasGetHealthOperationMetadata()) { + mergeGetHealthOperationMetadata(other.getGetHealthOperationMetadata()); + } if (other.hasGetVersionOperationMetadata()) { mergeGetVersionOperationMetadata(other.getGetVersionOperationMetadata()); } if (other.hasHttpErrorMessage()) { httpErrorMessage_ = other.httpErrorMessage_; - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); } if (other.hasHttpErrorStatusCode()) { @@ -2938,7 +3031,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Operation other) { } if (other.hasInsertTime()) { insertTime_ = other.insertTime_; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; onChanged(); } if (other.hasInstancesBulkInsertOperationMetadata()) { @@ -2946,22 +3039,22 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Operation other) { } if (other.hasKind()) { kind_ = other.kind_; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; onChanged(); } if (other.hasName()) { name_ = other.name_; - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); } if (other.hasOperationGroupId()) { operationGroupId_ = other.operationGroupId_; - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; onChanged(); } if (other.hasOperationType()) { operationType_ = other.operationType_; - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; onChanged(); } if (other.hasProgress()) { @@ -2969,12 +3062,12 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Operation other) { } if (other.hasRegion()) { region_ = other.region_; - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; onChanged(); } if (other.hasSelfLink()) { selfLink_ = other.selfLink_; - bitField0_ |= 0x00020000; + bitField0_ |= 0x00040000; onChanged(); } if (other.hasSetCommonInstanceMetadataOperationMetadata()) { @@ -2983,7 +3076,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Operation other) { } if (other.hasStartTime()) { startTime_ = other.startTime_; - bitField0_ |= 0x00080000; + bitField0_ |= 0x00100000; onChanged(); } if (other.hasStatus()) { @@ -2991,7 +3084,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Operation other) { } if (other.hasStatusMessage()) { statusMessage_ = other.statusMessage_; - bitField0_ |= 0x00200000; + bitField0_ |= 0x00400000; onChanged(); } if (other.hasTargetId()) { @@ -2999,19 +3092,19 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Operation other) { } if (other.hasTargetLink()) { targetLink_ = other.targetLink_; - bitField0_ |= 0x00800000; + bitField0_ |= 0x01000000; onChanged(); } if (other.hasUser()) { user_ = other.user_; - bitField0_ |= 0x01000000; + bitField0_ |= 0x02000000; onChanged(); } if (warningsBuilder_ == null) { if (!other.warnings_.isEmpty()) { if (warnings_.isEmpty()) { warnings_ = other.warnings_; - bitField0_ = (bitField0_ & ~0x02000000); + bitField0_ = (bitField0_ & ~0x04000000); } else { ensureWarningsIsMutable(); warnings_.addAll(other.warnings_); @@ -3024,7 +3117,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Operation other) { warningsBuilder_.dispose(); warningsBuilder_ = null; warnings_ = other.warnings_; - bitField0_ = (bitField0_ & ~0x02000000); + bitField0_ = (bitField0_ & ~0x04000000); warningsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? internalGetWarningsFieldBuilder() @@ -3036,7 +3129,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Operation other) { } if (other.hasZone()) { zone_ = other.zone_; - bitField0_ |= 0x04000000; + bitField0_ |= 0x08000000; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); @@ -3068,31 +3161,31 @@ public Builder mergeFrom( case 26840: { id_ = input.readUInt64(); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; break; } // case 26840 case 26336418: { kind_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; break; } // case 26336418 case 26989658: { name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; break; } // case 26989658 case 28794458: { user_ = input.readStringRequireUtf8(); - bitField0_ |= 0x01000000; + bitField0_ |= 0x02000000; break; } // case 28794458 case 29957474: { zone_ = input.readStringRequireUtf8(); - bitField0_ |= 0x04000000; + bitField0_ |= 0x08000000; break; } // case 29957474 case 244202930: @@ -3104,25 +3197,25 @@ public Builder mergeFrom( case 299738194: { startTime_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00080000; + bitField0_ |= 0x00100000; break; } // case 299738194 case 321369498: { operationGroupId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; break; } // case 321369498 case 501370690: { targetLink_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00800000; + bitField0_ |= 0x01000000; break; } // case 501370690 case 581308776: { progress_ = input.readInt32(); - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; break; } // case 581308776 case 713169418: @@ -3130,7 +3223,7 @@ public Builder mergeFrom( input.readMessage( internalGetInstancesBulkInsertOperationMetadataFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; break; } // case 713169418 case 774279234: @@ -3148,7 +3241,7 @@ public Builder mergeFrom( case 1111570338: { region_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; break; } // case 1111570338 case 1385841338: @@ -3156,31 +3249,31 @@ public Builder mergeFrom( input.readMessage( internalGetGetVersionOperationMetadataFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; break; } // case 1385841338 case 1421203602: { operationType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; break; } // case 1421203602 case 1450082192: { status_ = input.readEnum(); - bitField0_ |= 0x00100000; + bitField0_ |= 0x00200000; break; } // case 1450082192 case 1620175562: { httpErrorMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; break; } // case 1620175562 case 2065323080: { targetId_ = input.readUInt64(); - bitField0_ |= 0x00400000; + bitField0_ |= 0x00800000; break; } // case 2065323080 case -1917044934: @@ -3192,13 +3285,21 @@ public Builder mergeFrom( case -1915542062: { statusMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00200000; + bitField0_ |= 0x00400000; break; } // case -1915542062 + case -1863675638: + { + input.readMessage( + internalGetGetHealthOperationMetadataFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case -1863675638 case -1796205728: { httpErrorStatusCode_ = input.readInt32(); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; break; } // case -1796205728 case -911466526: @@ -3210,13 +3311,13 @@ public Builder mergeFrom( case -825187174: { insertTime_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; break; } // case -825187174 case -645248918: { selfLink_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00020000; + bitField0_ |= 0x00040000; break; } // case -645248918 case -371935454: @@ -3225,7 +3326,7 @@ public Builder mergeFrom( internalGetSetCommonInstanceMetadataOperationMetadataFieldBuilder() .getBuilder(), extensionRegistry); - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; break; } // case -371935454 case -310238534: @@ -3815,13 +3916,216 @@ public boolean hasError() { * * optional .google.cloud.compute.v1.Error error = 96784904; * - * @return The error. + * @return The error. + */ + public com.google.cloud.compute.v1.Error getError() { + if (errorBuilder_ == null) { + return error_ == null ? com.google.cloud.compute.v1.Error.getDefaultInstance() : error_; + } else { + return errorBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * [Output Only] If errors are generated during processing of the operation,
+     * this field will be populated.
+     * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + */ + public Builder setError(com.google.cloud.compute.v1.Error value) { + if (errorBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + error_ = value; + } else { + errorBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * [Output Only] If errors are generated during processing of the operation,
+     * this field will be populated.
+     * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + */ + public Builder setError(com.google.cloud.compute.v1.Error.Builder builderForValue) { + if (errorBuilder_ == null) { + error_ = builderForValue.build(); + } else { + errorBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
+     * [Output Only] If errors are generated during processing of the operation,
+     * this field will be populated.
+     * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + */ + public Builder mergeError(com.google.cloud.compute.v1.Error value) { + if (errorBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) + && error_ != null + && error_ != com.google.cloud.compute.v1.Error.getDefaultInstance()) { + getErrorBuilder().mergeFrom(value); + } else { + error_ = value; + } + } else { + errorBuilder_.mergeFrom(value); + } + if (error_ != null) { + bitField0_ |= 0x00000010; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * [Output Only] If errors are generated during processing of the operation,
+     * this field will be populated.
+     * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + */ + public Builder clearError() { + bitField0_ = (bitField0_ & ~0x00000010); + error_ = null; + if (errorBuilder_ != null) { + errorBuilder_.dispose(); + errorBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * [Output Only] If errors are generated during processing of the operation,
+     * this field will be populated.
+     * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + */ + public com.google.cloud.compute.v1.Error.Builder getErrorBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return internalGetErrorFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * [Output Only] If errors are generated during processing of the operation,
+     * this field will be populated.
+     * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + */ + public com.google.cloud.compute.v1.ErrorOrBuilder getErrorOrBuilder() { + if (errorBuilder_ != null) { + return errorBuilder_.getMessageOrBuilder(); + } else { + return error_ == null ? com.google.cloud.compute.v1.Error.getDefaultInstance() : error_; + } + } + + /** + * + * + *
+     * [Output Only] If errors are generated during processing of the operation,
+     * this field will be populated.
+     * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.compute.v1.Error, + com.google.cloud.compute.v1.Error.Builder, + com.google.cloud.compute.v1.ErrorOrBuilder> + internalGetErrorFieldBuilder() { + if (errorBuilder_ == null) { + errorBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.compute.v1.Error, + com.google.cloud.compute.v1.Error.Builder, + com.google.cloud.compute.v1.ErrorOrBuilder>( + getError(), getParentForChildren(), isClean()); + error_ = null; + } + return errorBuilder_; + } + + private com.google.cloud.compute.v1.GetHealthOperationMetadata getHealthOperationMetadata_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.compute.v1.GetHealthOperationMetadata, + com.google.cloud.compute.v1.GetHealthOperationMetadata.Builder, + com.google.cloud.compute.v1.GetHealthOperationMetadataOrBuilder> + getHealthOperationMetadataBuilder_; + + /** + * + * + *
+     * Output only. Metadata for GetHealth operations.
+     * 
+ * + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadata get_health_operation_metadata = 303911457; + * + * + * @return Whether the getHealthOperationMetadata field is set. + */ + public boolean hasGetHealthOperationMetadata() { + return ((bitField0_ & 0x00000020) != 0); + } + + /** + * + * + *
+     * Output only. Metadata for GetHealth operations.
+     * 
+ * + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadata get_health_operation_metadata = 303911457; + * + * + * @return The getHealthOperationMetadata. */ - public com.google.cloud.compute.v1.Error getError() { - if (errorBuilder_ == null) { - return error_ == null ? com.google.cloud.compute.v1.Error.getDefaultInstance() : error_; + public com.google.cloud.compute.v1.GetHealthOperationMetadata getGetHealthOperationMetadata() { + if (getHealthOperationMetadataBuilder_ == null) { + return getHealthOperationMetadata_ == null + ? com.google.cloud.compute.v1.GetHealthOperationMetadata.getDefaultInstance() + : getHealthOperationMetadata_; } else { - return errorBuilder_.getMessage(); + return getHealthOperationMetadataBuilder_.getMessage(); } } @@ -3829,22 +4133,24 @@ public com.google.cloud.compute.v1.Error getError() { * * *
-     * [Output Only] If errors are generated during processing of the operation,
-     * this field will be populated.
+     * Output only. Metadata for GetHealth operations.
      * 
* - * optional .google.cloud.compute.v1.Error error = 96784904; + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadata get_health_operation_metadata = 303911457; + * */ - public Builder setError(com.google.cloud.compute.v1.Error value) { - if (errorBuilder_ == null) { + public Builder setGetHealthOperationMetadata( + com.google.cloud.compute.v1.GetHealthOperationMetadata value) { + if (getHealthOperationMetadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - error_ = value; + getHealthOperationMetadata_ = value; } else { - errorBuilder_.setMessage(value); + getHealthOperationMetadataBuilder_.setMessage(value); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -3853,19 +4159,21 @@ public Builder setError(com.google.cloud.compute.v1.Error value) { * * *
-     * [Output Only] If errors are generated during processing of the operation,
-     * this field will be populated.
+     * Output only. Metadata for GetHealth operations.
      * 
* - * optional .google.cloud.compute.v1.Error error = 96784904; + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadata get_health_operation_metadata = 303911457; + * */ - public Builder setError(com.google.cloud.compute.v1.Error.Builder builderForValue) { - if (errorBuilder_ == null) { - error_ = builderForValue.build(); + public Builder setGetHealthOperationMetadata( + com.google.cloud.compute.v1.GetHealthOperationMetadata.Builder builderForValue) { + if (getHealthOperationMetadataBuilder_ == null) { + getHealthOperationMetadata_ = builderForValue.build(); } else { - errorBuilder_.setMessage(builderForValue.build()); + getHealthOperationMetadataBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -3874,26 +4182,29 @@ public Builder setError(com.google.cloud.compute.v1.Error.Builder builderForValu * * *
-     * [Output Only] If errors are generated during processing of the operation,
-     * this field will be populated.
+     * Output only. Metadata for GetHealth operations.
      * 
* - * optional .google.cloud.compute.v1.Error error = 96784904; + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadata get_health_operation_metadata = 303911457; + * */ - public Builder mergeError(com.google.cloud.compute.v1.Error value) { - if (errorBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && error_ != null - && error_ != com.google.cloud.compute.v1.Error.getDefaultInstance()) { - getErrorBuilder().mergeFrom(value); + public Builder mergeGetHealthOperationMetadata( + com.google.cloud.compute.v1.GetHealthOperationMetadata value) { + if (getHealthOperationMetadataBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) + && getHealthOperationMetadata_ != null + && getHealthOperationMetadata_ + != com.google.cloud.compute.v1.GetHealthOperationMetadata.getDefaultInstance()) { + getGetHealthOperationMetadataBuilder().mergeFrom(value); } else { - error_ = value; + getHealthOperationMetadata_ = value; } } else { - errorBuilder_.mergeFrom(value); + getHealthOperationMetadataBuilder_.mergeFrom(value); } - if (error_ != null) { - bitField0_ |= 0x00000010; + if (getHealthOperationMetadata_ != null) { + bitField0_ |= 0x00000020; onChanged(); } return this; @@ -3903,18 +4214,19 @@ public Builder mergeError(com.google.cloud.compute.v1.Error value) { * * *
-     * [Output Only] If errors are generated during processing of the operation,
-     * this field will be populated.
+     * Output only. Metadata for GetHealth operations.
      * 
* - * optional .google.cloud.compute.v1.Error error = 96784904; + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadata get_health_operation_metadata = 303911457; + * */ - public Builder clearError() { - bitField0_ = (bitField0_ & ~0x00000010); - error_ = null; - if (errorBuilder_ != null) { - errorBuilder_.dispose(); - errorBuilder_ = null; + public Builder clearGetHealthOperationMetadata() { + bitField0_ = (bitField0_ & ~0x00000020); + getHealthOperationMetadata_ = null; + if (getHealthOperationMetadataBuilder_ != null) { + getHealthOperationMetadataBuilder_.dispose(); + getHealthOperationMetadataBuilder_ = null; } onChanged(); return this; @@ -3924,33 +4236,39 @@ public Builder clearError() { * * *
-     * [Output Only] If errors are generated during processing of the operation,
-     * this field will be populated.
+     * Output only. Metadata for GetHealth operations.
      * 
* - * optional .google.cloud.compute.v1.Error error = 96784904; + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadata get_health_operation_metadata = 303911457; + * */ - public com.google.cloud.compute.v1.Error.Builder getErrorBuilder() { - bitField0_ |= 0x00000010; + public com.google.cloud.compute.v1.GetHealthOperationMetadata.Builder + getGetHealthOperationMetadataBuilder() { + bitField0_ |= 0x00000020; onChanged(); - return internalGetErrorFieldBuilder().getBuilder(); + return internalGetGetHealthOperationMetadataFieldBuilder().getBuilder(); } /** * * *
-     * [Output Only] If errors are generated during processing of the operation,
-     * this field will be populated.
+     * Output only. Metadata for GetHealth operations.
      * 
* - * optional .google.cloud.compute.v1.Error error = 96784904; + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadata get_health_operation_metadata = 303911457; + * */ - public com.google.cloud.compute.v1.ErrorOrBuilder getErrorOrBuilder() { - if (errorBuilder_ != null) { - return errorBuilder_.getMessageOrBuilder(); + public com.google.cloud.compute.v1.GetHealthOperationMetadataOrBuilder + getGetHealthOperationMetadataOrBuilder() { + if (getHealthOperationMetadataBuilder_ != null) { + return getHealthOperationMetadataBuilder_.getMessageOrBuilder(); } else { - return error_ == null ? com.google.cloud.compute.v1.Error.getDefaultInstance() : error_; + return getHealthOperationMetadata_ == null + ? com.google.cloud.compute.v1.GetHealthOperationMetadata.getDefaultInstance() + : getHealthOperationMetadata_; } } @@ -3958,27 +4276,28 @@ public com.google.cloud.compute.v1.ErrorOrBuilder getErrorOrBuilder() { * * *
-     * [Output Only] If errors are generated during processing of the operation,
-     * this field will be populated.
+     * Output only. Metadata for GetHealth operations.
      * 
* - * optional .google.cloud.compute.v1.Error error = 96784904; + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadata get_health_operation_metadata = 303911457; + * */ private com.google.protobuf.SingleFieldBuilder< - com.google.cloud.compute.v1.Error, - com.google.cloud.compute.v1.Error.Builder, - com.google.cloud.compute.v1.ErrorOrBuilder> - internalGetErrorFieldBuilder() { - if (errorBuilder_ == null) { - errorBuilder_ = + com.google.cloud.compute.v1.GetHealthOperationMetadata, + com.google.cloud.compute.v1.GetHealthOperationMetadata.Builder, + com.google.cloud.compute.v1.GetHealthOperationMetadataOrBuilder> + internalGetGetHealthOperationMetadataFieldBuilder() { + if (getHealthOperationMetadataBuilder_ == null) { + getHealthOperationMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilder< - com.google.cloud.compute.v1.Error, - com.google.cloud.compute.v1.Error.Builder, - com.google.cloud.compute.v1.ErrorOrBuilder>( - getError(), getParentForChildren(), isClean()); - error_ = null; + com.google.cloud.compute.v1.GetHealthOperationMetadata, + com.google.cloud.compute.v1.GetHealthOperationMetadata.Builder, + com.google.cloud.compute.v1.GetHealthOperationMetadataOrBuilder>( + getGetHealthOperationMetadata(), getParentForChildren(), isClean()); + getHealthOperationMetadata_ = null; } - return errorBuilder_; + return getHealthOperationMetadataBuilder_; } private com.google.cloud.compute.v1.GetVersionOperationMetadata getVersionOperationMetadata_; @@ -3996,7 +4315,7 @@ public com.google.cloud.compute.v1.ErrorOrBuilder getErrorOrBuilder() { * @return Whether the getVersionOperationMetadata field is set. */ public boolean hasGetVersionOperationMetadata() { - return ((bitField0_ & 0x00000020) != 0); + return ((bitField0_ & 0x00000040) != 0); } /** @@ -4032,7 +4351,7 @@ public Builder setGetVersionOperationMetadata( } else { getVersionOperationMetadataBuilder_.setMessage(value); } - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -4049,7 +4368,7 @@ public Builder setGetVersionOperationMetadata( } else { getVersionOperationMetadataBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -4062,7 +4381,7 @@ public Builder setGetVersionOperationMetadata( public Builder mergeGetVersionOperationMetadata( com.google.cloud.compute.v1.GetVersionOperationMetadata value) { if (getVersionOperationMetadataBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) + if (((bitField0_ & 0x00000040) != 0) && getVersionOperationMetadata_ != null && getVersionOperationMetadata_ != com.google.cloud.compute.v1.GetVersionOperationMetadata.getDefaultInstance()) { @@ -4074,7 +4393,7 @@ public Builder mergeGetVersionOperationMetadata( getVersionOperationMetadataBuilder_.mergeFrom(value); } if (getVersionOperationMetadata_ != null) { - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); } return this; @@ -4086,7 +4405,7 @@ public Builder mergeGetVersionOperationMetadata( * */ public Builder clearGetVersionOperationMetadata() { - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000040); getVersionOperationMetadata_ = null; if (getVersionOperationMetadataBuilder_ != null) { getVersionOperationMetadataBuilder_.dispose(); @@ -4103,7 +4422,7 @@ public Builder clearGetVersionOperationMetadata() { */ public com.google.cloud.compute.v1.GetVersionOperationMetadata.Builder getGetVersionOperationMetadataBuilder() { - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return internalGetGetVersionOperationMetadataFieldBuilder().getBuilder(); } @@ -4163,7 +4482,7 @@ public Builder clearGetVersionOperationMetadata() { * @return Whether the httpErrorMessage field is set. */ public boolean hasHttpErrorMessage() { - return ((bitField0_ & 0x00000040) != 0); + return ((bitField0_ & 0x00000080) != 0); } /** @@ -4238,7 +4557,7 @@ public Builder setHttpErrorMessage(java.lang.String value) { throw new NullPointerException(); } httpErrorMessage_ = value; - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -4259,7 +4578,7 @@ public Builder setHttpErrorMessage(java.lang.String value) { */ public Builder clearHttpErrorMessage() { httpErrorMessage_ = getDefaultInstance().getHttpErrorMessage(); - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } @@ -4285,7 +4604,7 @@ public Builder setHttpErrorMessageBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); httpErrorMessage_ = value; - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -4309,7 +4628,7 @@ public Builder setHttpErrorMessageBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasHttpErrorStatusCode() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** @@ -4351,7 +4670,7 @@ public int getHttpErrorStatusCode() { public Builder setHttpErrorStatusCode(int value) { httpErrorStatusCode_ = value; - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -4372,7 +4691,7 @@ public Builder setHttpErrorStatusCode(int value) { * @return This builder for chaining. */ public Builder clearHttpErrorStatusCode() { - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000100); httpErrorStatusCode_ = 0; onChanged(); return this; @@ -4394,7 +4713,7 @@ public Builder clearHttpErrorStatusCode() { */ @java.lang.Override public boolean hasId() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000200) != 0); } /** @@ -4430,7 +4749,7 @@ public long getId() { public Builder setId(long value) { id_ = value; - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -4448,7 +4767,7 @@ public Builder setId(long value) { * @return This builder for chaining. */ public Builder clearId() { - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000200); id_ = 0L; onChanged(); return this; @@ -4470,7 +4789,7 @@ public Builder clearId() { * @return Whether the insertTime field is set. */ public boolean hasInsertTime() { - return ((bitField0_ & 0x00000200) != 0); + return ((bitField0_ & 0x00000400) != 0); } /** @@ -4542,7 +4861,7 @@ public Builder setInsertTime(java.lang.String value) { throw new NullPointerException(); } insertTime_ = value; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -4562,7 +4881,7 @@ public Builder setInsertTime(java.lang.String value) { */ public Builder clearInsertTime() { insertTime_ = getDefaultInstance().getInsertTime(); - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } @@ -4587,7 +4906,7 @@ public Builder setInsertTimeBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); insertTime_ = value; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -4608,7 +4927,7 @@ public Builder setInsertTimeBytes(com.google.protobuf.ByteString value) { * @return Whether the instancesBulkInsertOperationMetadata field is set. */ public boolean hasInstancesBulkInsertOperationMetadata() { - return ((bitField0_ & 0x00000400) != 0); + return ((bitField0_ & 0x00000800) != 0); } /** @@ -4644,7 +4963,7 @@ public Builder setInstancesBulkInsertOperationMetadata( } else { instancesBulkInsertOperationMetadataBuilder_.setMessage(value); } - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -4661,7 +4980,7 @@ public Builder setInstancesBulkInsertOperationMetadata( } else { instancesBulkInsertOperationMetadataBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -4674,7 +4993,7 @@ public Builder setInstancesBulkInsertOperationMetadata( public Builder mergeInstancesBulkInsertOperationMetadata( com.google.cloud.compute.v1.InstancesBulkInsertOperationMetadata value) { if (instancesBulkInsertOperationMetadataBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) + if (((bitField0_ & 0x00000800) != 0) && instancesBulkInsertOperationMetadata_ != null && instancesBulkInsertOperationMetadata_ != com.google.cloud.compute.v1.InstancesBulkInsertOperationMetadata @@ -4687,7 +5006,7 @@ public Builder mergeInstancesBulkInsertOperationMetadata( instancesBulkInsertOperationMetadataBuilder_.mergeFrom(value); } if (instancesBulkInsertOperationMetadata_ != null) { - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); } return this; @@ -4699,7 +5018,7 @@ public Builder mergeInstancesBulkInsertOperationMetadata( * */ public Builder clearInstancesBulkInsertOperationMetadata() { - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000800); instancesBulkInsertOperationMetadata_ = null; if (instancesBulkInsertOperationMetadataBuilder_ != null) { instancesBulkInsertOperationMetadataBuilder_.dispose(); @@ -4716,7 +5035,7 @@ public Builder clearInstancesBulkInsertOperationMetadata() { */ public com.google.cloud.compute.v1.InstancesBulkInsertOperationMetadata.Builder getInstancesBulkInsertOperationMetadataBuilder() { - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return internalGetInstancesBulkInsertOperationMetadataFieldBuilder().getBuilder(); } @@ -4774,7 +5093,7 @@ public Builder clearInstancesBulkInsertOperationMetadata() { * @return Whether the kind field is set. */ public boolean hasKind() { - return ((bitField0_ & 0x00000800) != 0); + return ((bitField0_ & 0x00001000) != 0); } /** @@ -4843,7 +5162,7 @@ public Builder setKind(java.lang.String value) { throw new NullPointerException(); } kind_ = value; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; onChanged(); return this; } @@ -4862,7 +5181,7 @@ public Builder setKind(java.lang.String value) { */ public Builder clearKind() { kind_ = getDefaultInstance().getKind(); - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00001000); onChanged(); return this; } @@ -4886,7 +5205,7 @@ public Builder setKindBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); kind_ = value; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; onChanged(); return this; } @@ -4905,7 +5224,7 @@ public Builder setKindBytes(com.google.protobuf.ByteString value) { * @return Whether the name field is set. */ public boolean hasName() { - return ((bitField0_ & 0x00001000) != 0); + return ((bitField0_ & 0x00002000) != 0); } /** @@ -4971,7 +5290,7 @@ public Builder setName(java.lang.String value) { throw new NullPointerException(); } name_ = value; - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -4989,7 +5308,7 @@ public Builder setName(java.lang.String value) { */ public Builder clearName() { name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00002000); onChanged(); return this; } @@ -5012,7 +5331,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); name_ = value; - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -5032,7 +5351,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * @return Whether the operationGroupId field is set. */ public boolean hasOperationGroupId() { - return ((bitField0_ & 0x00002000) != 0); + return ((bitField0_ & 0x00004000) != 0); } /** @@ -5101,7 +5420,7 @@ public Builder setOperationGroupId(java.lang.String value) { throw new NullPointerException(); } operationGroupId_ = value; - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; onChanged(); return this; } @@ -5120,7 +5439,7 @@ public Builder setOperationGroupId(java.lang.String value) { */ public Builder clearOperationGroupId() { operationGroupId_ = getDefaultInstance().getOperationGroupId(); - bitField0_ = (bitField0_ & ~0x00002000); + bitField0_ = (bitField0_ & ~0x00004000); onChanged(); return this; } @@ -5144,7 +5463,7 @@ public Builder setOperationGroupIdBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); operationGroupId_ = value; - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; onChanged(); return this; } @@ -5164,7 +5483,7 @@ public Builder setOperationGroupIdBytes(com.google.protobuf.ByteString value) { * @return Whether the operationType field is set. */ public boolean hasOperationType() { - return ((bitField0_ & 0x00004000) != 0); + return ((bitField0_ & 0x00008000) != 0); } /** @@ -5233,7 +5552,7 @@ public Builder setOperationType(java.lang.String value) { throw new NullPointerException(); } operationType_ = value; - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; onChanged(); return this; } @@ -5252,7 +5571,7 @@ public Builder setOperationType(java.lang.String value) { */ public Builder clearOperationType() { operationType_ = getDefaultInstance().getOperationType(); - bitField0_ = (bitField0_ & ~0x00004000); + bitField0_ = (bitField0_ & ~0x00008000); onChanged(); return this; } @@ -5276,7 +5595,7 @@ public Builder setOperationTypeBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); operationType_ = value; - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; onChanged(); return this; } @@ -5300,7 +5619,7 @@ public Builder setOperationTypeBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasProgress() { - return ((bitField0_ & 0x00008000) != 0); + return ((bitField0_ & 0x00010000) != 0); } /** @@ -5342,7 +5661,7 @@ public int getProgress() { public Builder setProgress(int value) { progress_ = value; - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; onChanged(); return this; } @@ -5363,7 +5682,7 @@ public Builder setProgress(int value) { * @return This builder for chaining. */ public Builder clearProgress() { - bitField0_ = (bitField0_ & ~0x00008000); + bitField0_ = (bitField0_ & ~0x00010000); progress_ = 0; onChanged(); return this; @@ -5384,7 +5703,7 @@ public Builder clearProgress() { * @return Whether the region field is set. */ public boolean hasRegion() { - return ((bitField0_ & 0x00010000) != 0); + return ((bitField0_ & 0x00020000) != 0); } /** @@ -5453,7 +5772,7 @@ public Builder setRegion(java.lang.String value) { throw new NullPointerException(); } region_ = value; - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; onChanged(); return this; } @@ -5472,7 +5791,7 @@ public Builder setRegion(java.lang.String value) { */ public Builder clearRegion() { region_ = getDefaultInstance().getRegion(); - bitField0_ = (bitField0_ & ~0x00010000); + bitField0_ = (bitField0_ & ~0x00020000); onChanged(); return this; } @@ -5496,7 +5815,7 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); region_ = value; - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; onChanged(); return this; } @@ -5515,7 +5834,7 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * @return Whether the selfLink field is set. */ public boolean hasSelfLink() { - return ((bitField0_ & 0x00020000) != 0); + return ((bitField0_ & 0x00040000) != 0); } /** @@ -5581,7 +5900,7 @@ public Builder setSelfLink(java.lang.String value) { throw new NullPointerException(); } selfLink_ = value; - bitField0_ |= 0x00020000; + bitField0_ |= 0x00040000; onChanged(); return this; } @@ -5599,7 +5918,7 @@ public Builder setSelfLink(java.lang.String value) { */ public Builder clearSelfLink() { selfLink_ = getDefaultInstance().getSelfLink(); - bitField0_ = (bitField0_ & ~0x00020000); + bitField0_ = (bitField0_ & ~0x00040000); onChanged(); return this; } @@ -5622,7 +5941,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); selfLink_ = value; - bitField0_ |= 0x00020000; + bitField0_ |= 0x00040000; onChanged(); return this; } @@ -5651,7 +5970,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { * @return Whether the setCommonInstanceMetadataOperationMetadata field is set. */ public boolean hasSetCommonInstanceMetadataOperationMetadata() { - return ((bitField0_ & 0x00040000) != 0); + return ((bitField0_ & 0x00080000) != 0); } /** @@ -5704,7 +6023,7 @@ public Builder setSetCommonInstanceMetadataOperationMetadata( } else { setCommonInstanceMetadataOperationMetadataBuilder_.setMessage(value); } - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; onChanged(); return this; } @@ -5730,7 +6049,7 @@ public Builder setSetCommonInstanceMetadataOperationMetadata( } else { setCommonInstanceMetadataOperationMetadataBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; onChanged(); return this; } @@ -5751,7 +6070,7 @@ public Builder setSetCommonInstanceMetadataOperationMetadata( public Builder mergeSetCommonInstanceMetadataOperationMetadata( com.google.cloud.compute.v1.SetCommonInstanceMetadataOperationMetadata value) { if (setCommonInstanceMetadataOperationMetadataBuilder_ == null) { - if (((bitField0_ & 0x00040000) != 0) + if (((bitField0_ & 0x00080000) != 0) && setCommonInstanceMetadataOperationMetadata_ != null && setCommonInstanceMetadataOperationMetadata_ != com.google.cloud.compute.v1.SetCommonInstanceMetadataOperationMetadata @@ -5764,7 +6083,7 @@ public Builder mergeSetCommonInstanceMetadataOperationMetadata( setCommonInstanceMetadataOperationMetadataBuilder_.mergeFrom(value); } if (setCommonInstanceMetadataOperationMetadata_ != null) { - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; onChanged(); } return this; @@ -5784,7 +6103,7 @@ public Builder mergeSetCommonInstanceMetadataOperationMetadata( * */ public Builder clearSetCommonInstanceMetadataOperationMetadata() { - bitField0_ = (bitField0_ & ~0x00040000); + bitField0_ = (bitField0_ & ~0x00080000); setCommonInstanceMetadataOperationMetadata_ = null; if (setCommonInstanceMetadataOperationMetadataBuilder_ != null) { setCommonInstanceMetadataOperationMetadataBuilder_.dispose(); @@ -5809,7 +6128,7 @@ public Builder clearSetCommonInstanceMetadataOperationMetadata() { */ public com.google.cloud.compute.v1.SetCommonInstanceMetadataOperationMetadata.Builder getSetCommonInstanceMetadataOperationMetadataBuilder() { - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; onChanged(); return internalGetSetCommonInstanceMetadataOperationMetadataFieldBuilder().getBuilder(); } @@ -5885,7 +6204,7 @@ public Builder clearSetCommonInstanceMetadataOperationMetadata() { * @return Whether the startTime field is set. */ public boolean hasStartTime() { - return ((bitField0_ & 0x00080000) != 0); + return ((bitField0_ & 0x00100000) != 0); } /** @@ -5957,7 +6276,7 @@ public Builder setStartTime(java.lang.String value) { throw new NullPointerException(); } startTime_ = value; - bitField0_ |= 0x00080000; + bitField0_ |= 0x00100000; onChanged(); return this; } @@ -5977,7 +6296,7 @@ public Builder setStartTime(java.lang.String value) { */ public Builder clearStartTime() { startTime_ = getDefaultInstance().getStartTime(); - bitField0_ = (bitField0_ & ~0x00080000); + bitField0_ = (bitField0_ & ~0x00100000); onChanged(); return this; } @@ -6002,7 +6321,7 @@ public Builder setStartTimeBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); startTime_ = value; - bitField0_ |= 0x00080000; + bitField0_ |= 0x00100000; onChanged(); return this; } @@ -6026,7 +6345,7 @@ public Builder setStartTimeBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasStatus() { - return ((bitField0_ & 0x00100000) != 0); + return ((bitField0_ & 0x00200000) != 0); } /** @@ -6067,7 +6386,7 @@ public int getStatusValue() { */ public Builder setStatusValue(int value) { status_ = value; - bitField0_ |= 0x00100000; + bitField0_ |= 0x00200000; onChanged(); return this; } @@ -6114,7 +6433,7 @@ public Builder setStatus(com.google.cloud.compute.v1.Operation.Status value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00100000; + bitField0_ |= 0x00200000; status_ = value.getNumber(); onChanged(); return this; @@ -6136,7 +6455,7 @@ public Builder setStatus(com.google.cloud.compute.v1.Operation.Status value) { * @return This builder for chaining. */ public Builder clearStatus() { - bitField0_ = (bitField0_ & ~0x00100000); + bitField0_ = (bitField0_ & ~0x00200000); status_ = 0; onChanged(); return this; @@ -6157,7 +6476,7 @@ public Builder clearStatus() { * @return Whether the statusMessage field is set. */ public boolean hasStatusMessage() { - return ((bitField0_ & 0x00200000) != 0); + return ((bitField0_ & 0x00400000) != 0); } /** @@ -6226,7 +6545,7 @@ public Builder setStatusMessage(java.lang.String value) { throw new NullPointerException(); } statusMessage_ = value; - bitField0_ |= 0x00200000; + bitField0_ |= 0x00400000; onChanged(); return this; } @@ -6245,7 +6564,7 @@ public Builder setStatusMessage(java.lang.String value) { */ public Builder clearStatusMessage() { statusMessage_ = getDefaultInstance().getStatusMessage(); - bitField0_ = (bitField0_ & ~0x00200000); + bitField0_ = (bitField0_ & ~0x00400000); onChanged(); return this; } @@ -6269,7 +6588,7 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); statusMessage_ = value; - bitField0_ |= 0x00200000; + bitField0_ |= 0x00400000; onChanged(); return this; } @@ -6290,7 +6609,7 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasTargetId() { - return ((bitField0_ & 0x00400000) != 0); + return ((bitField0_ & 0x00800000) != 0); } /** @@ -6326,7 +6645,7 @@ public long getTargetId() { public Builder setTargetId(long value) { targetId_ = value; - bitField0_ |= 0x00400000; + bitField0_ |= 0x00800000; onChanged(); return this; } @@ -6344,7 +6663,7 @@ public Builder setTargetId(long value) { * @return This builder for chaining. */ public Builder clearTargetId() { - bitField0_ = (bitField0_ & ~0x00400000); + bitField0_ = (bitField0_ & ~0x00800000); targetId_ = 0L; onChanged(); return this; @@ -6366,7 +6685,7 @@ public Builder clearTargetId() { * @return Whether the targetLink field is set. */ public boolean hasTargetLink() { - return ((bitField0_ & 0x00800000) != 0); + return ((bitField0_ & 0x01000000) != 0); } /** @@ -6438,7 +6757,7 @@ public Builder setTargetLink(java.lang.String value) { throw new NullPointerException(); } targetLink_ = value; - bitField0_ |= 0x00800000; + bitField0_ |= 0x01000000; onChanged(); return this; } @@ -6458,7 +6777,7 @@ public Builder setTargetLink(java.lang.String value) { */ public Builder clearTargetLink() { targetLink_ = getDefaultInstance().getTargetLink(); - bitField0_ = (bitField0_ & ~0x00800000); + bitField0_ = (bitField0_ & ~0x01000000); onChanged(); return this; } @@ -6483,7 +6802,7 @@ public Builder setTargetLinkBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); targetLink_ = value; - bitField0_ |= 0x00800000; + bitField0_ |= 0x01000000; onChanged(); return this; } @@ -6504,7 +6823,7 @@ public Builder setTargetLinkBytes(com.google.protobuf.ByteString value) { * @return Whether the user field is set. */ public boolean hasUser() { - return ((bitField0_ & 0x01000000) != 0); + return ((bitField0_ & 0x02000000) != 0); } /** @@ -6576,7 +6895,7 @@ public Builder setUser(java.lang.String value) { throw new NullPointerException(); } user_ = value; - bitField0_ |= 0x01000000; + bitField0_ |= 0x02000000; onChanged(); return this; } @@ -6596,7 +6915,7 @@ public Builder setUser(java.lang.String value) { */ public Builder clearUser() { user_ = getDefaultInstance().getUser(); - bitField0_ = (bitField0_ & ~0x01000000); + bitField0_ = (bitField0_ & ~0x02000000); onChanged(); return this; } @@ -6621,7 +6940,7 @@ public Builder setUserBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); user_ = value; - bitField0_ |= 0x01000000; + bitField0_ |= 0x02000000; onChanged(); return this; } @@ -6630,9 +6949,9 @@ public Builder setUserBytes(com.google.protobuf.ByteString value) { java.util.Collections.emptyList(); private void ensureWarningsIsMutable() { - if (!((bitField0_ & 0x02000000) != 0)) { + if (!((bitField0_ & 0x04000000) != 0)) { warnings_ = new java.util.ArrayList(warnings_); - bitField0_ |= 0x02000000; + bitField0_ |= 0x04000000; } } @@ -6868,7 +7187,7 @@ public Builder addAllWarnings( public Builder clearWarnings() { if (warningsBuilder_ == null) { warnings_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x02000000); + bitField0_ = (bitField0_ & ~0x04000000); onChanged(); } else { warningsBuilder_.clear(); @@ -7003,7 +7322,7 @@ public java.util.List getWarningsB com.google.cloud.compute.v1.Warnings, com.google.cloud.compute.v1.Warnings.Builder, com.google.cloud.compute.v1.WarningsOrBuilder>( - warnings_, ((bitField0_ & 0x02000000) != 0), getParentForChildren(), isClean()); + warnings_, ((bitField0_ & 0x04000000) != 0), getParentForChildren(), isClean()); warnings_ = null; } return warningsBuilder_; @@ -7024,7 +7343,7 @@ public java.util.List getWarningsB * @return Whether the zone field is set. */ public boolean hasZone() { - return ((bitField0_ & 0x04000000) != 0); + return ((bitField0_ & 0x08000000) != 0); } /** @@ -7093,7 +7412,7 @@ public Builder setZone(java.lang.String value) { throw new NullPointerException(); } zone_ = value; - bitField0_ |= 0x04000000; + bitField0_ |= 0x08000000; onChanged(); return this; } @@ -7112,7 +7431,7 @@ public Builder setZone(java.lang.String value) { */ public Builder clearZone() { zone_ = getDefaultInstance().getZone(); - bitField0_ = (bitField0_ & ~0x04000000); + bitField0_ = (bitField0_ & ~0x08000000); onChanged(); return this; } @@ -7136,7 +7455,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); zone_ = value; - bitField0_ |= 0x04000000; + bitField0_ |= 0x08000000; onChanged(); return this; } diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/OperationOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/OperationOrBuilder.java index 6cf47a604421..52c7beacc505 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/OperationOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/OperationOrBuilder.java @@ -231,6 +231,50 @@ public interface OperationOrBuilder */ com.google.cloud.compute.v1.ErrorOrBuilder getErrorOrBuilder(); + /** + * + * + *
+   * Output only. Metadata for GetHealth operations.
+   * 
+ * + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadata get_health_operation_metadata = 303911457; + * + * + * @return Whether the getHealthOperationMetadata field is set. + */ + boolean hasGetHealthOperationMetadata(); + + /** + * + * + *
+   * Output only. Metadata for GetHealth operations.
+   * 
+ * + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadata get_health_operation_metadata = 303911457; + * + * + * @return The getHealthOperationMetadata. + */ + com.google.cloud.compute.v1.GetHealthOperationMetadata getGetHealthOperationMetadata(); + + /** + * + * + *
+   * Output only. Metadata for GetHealth operations.
+   * 
+ * + * + * optional .google.cloud.compute.v1.GetHealthOperationMetadata get_health_operation_metadata = 303911457; + * + */ + com.google.cloud.compute.v1.GetHealthOperationMetadataOrBuilder + getGetHealthOperationMetadataOrBuilder(); + /** * * optional .google.cloud.compute.v1.GetVersionOperationMetadata get_version_operation_metadata = 173230167; diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Reservation.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Reservation.java index f542a5b026a5..f727ef6a9172 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Reservation.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Reservation.java @@ -118,6 +118,16 @@ public enum ConfidentialComputeType implements com.google.protobuf.ProtocolMessa * UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0; */ UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE(0), + /** + * + * + *
+     * Bare Metal Secure AI.
+     * 
+ * + * CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103738250; + */ + CONFIDENTIAL_COMPUTE_TYPE_BMSAI(103738250), /** * * @@ -154,6 +164,17 @@ public enum ConfidentialComputeType implements com.google.protobuf.ProtocolMessa */ public static final int UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE_VALUE = 0; + /** + * + * + *
+     * Bare Metal Secure AI.
+     * 
+ * + * CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103738250; + */ + public static final int CONFIDENTIAL_COMPUTE_TYPE_BMSAI_VALUE = 103738250; + /** * * @@ -194,6 +215,8 @@ public static ConfidentialComputeType forNumber(int value) { switch (value) { case 0: return UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE; + case 103738250: + return CONFIDENTIAL_COMPUTE_TYPE_BMSAI; case 301241954: return CONFIDENTIAL_COMPUTE_TYPE_TDX; case 42227601: diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Subnetwork.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Subnetwork.java index 81ae2876edb7..58a2ebdc4ccf 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Subnetwork.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Subnetwork.java @@ -969,6 +969,31 @@ public enum ResolveSubnetMask implements com.google.protobuf.ProtocolMessageEnum * ARP_ALL_RANGES = 445655380; */ ARP_ALL_RANGES(445655380), + /** + * + * + *
+     * VMs will receive an ARP response from a VM instance owning the target IP
+     * address within the subnetwork's primary CIDR range, if such a VM instance
+     * exists and is running.
+     * 
+ * + * ARP_BROADCAST_PRIMARY_RANGE = 123887458; + */ + ARP_BROADCAST_PRIMARY_RANGE(123887458), + /** + * + * + *
+     * Combines ARP_BROADCAST_PRIMARY_RANGE with MAC learning. Enables cache
+     * mapping between IP addresses and custom MAC addresses of instances and
+     * use of it to set the correct destination MAC address. If this option is
+     * chosen, the subnetwork must have /24 or a smaller CIDR range.
+     * 
+ * + * ARP_BROADCAST_PRIMARY_RANGE_WITH_LEARNING = 425592922; + */ + ARP_BROADCAST_PRIMARY_RANGE_WITH_LEARNING(425592922), /** * * @@ -1014,6 +1039,33 @@ public enum ResolveSubnetMask implements com.google.protobuf.ProtocolMessageEnum */ public static final int ARP_ALL_RANGES_VALUE = 445655380; + /** + * + * + *
+     * VMs will receive an ARP response from a VM instance owning the target IP
+     * address within the subnetwork's primary CIDR range, if such a VM instance
+     * exists and is running.
+     * 
+ * + * ARP_BROADCAST_PRIMARY_RANGE = 123887458; + */ + public static final int ARP_BROADCAST_PRIMARY_RANGE_VALUE = 123887458; + + /** + * + * + *
+     * Combines ARP_BROADCAST_PRIMARY_RANGE with MAC learning. Enables cache
+     * mapping between IP addresses and custom MAC addresses of instances and
+     * use of it to set the correct destination MAC address. If this option is
+     * chosen, the subnetwork must have /24 or a smaller CIDR range.
+     * 
+ * + * ARP_BROADCAST_PRIMARY_RANGE_WITH_LEARNING = 425592922; + */ + public static final int ARP_BROADCAST_PRIMARY_RANGE_WITH_LEARNING_VALUE = 425592922; + /** * * @@ -1053,6 +1105,10 @@ public static ResolveSubnetMask forNumber(int value) { return UNDEFINED_RESOLVE_SUBNET_MASK; case 445655380: return ARP_ALL_RANGES; + case 123887458: + return ARP_BROADCAST_PRIMARY_RANGE; + case 425592922: + return ARP_BROADCAST_PRIMARY_RANGE_WITH_LEARNING; case 120210048: return ARP_PRIMARY_RANGE; default: diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/proto/google/cloud/compute/v1/compute.proto b/java-compute/proto-google-cloud-compute-v1/src/main/proto/google/cloud/compute/v1/compute.proto index 33687d997e0b..42c9ef6653ac 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/proto/google/cloud/compute/v1/compute.proto +++ b/java-compute/proto-google-cloud-compute-v1/src/main/proto/google/cloud/compute/v1/compute.proto @@ -14,7 +14,7 @@ // Generated by the disco-to-proto3-converter. DO NOT EDIT! // Source Discovery file: compute.v1.json -// Source file revision: 20260807 +// Source file revision: 20260821 // API name: compute // API version: v1 @@ -14306,6 +14306,9 @@ message ConfidentialInstanceConfig { // A value indicating that the enum field is not set. UNDEFINED_CONFIDENTIAL_INSTANCE_TYPE = 0; + // Bare Metal Secure AI. + BMSAI = 63328144; + // Arm Confidential Compute Architecture. CCA = 66529; @@ -21709,6 +21712,9 @@ message FutureReservation { // A value indicating that the enum field is not set. UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0; + // Bare Metal Secure AI. + CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103738250; + // Intel Trust Domain Extensions. CONFIDENTIAL_COMPUTE_TYPE_TDX = 301241954; @@ -23206,6 +23212,115 @@ message GetHealthCheckRequest { } +// Metadata for GetHealth operations. +message GetHealthOperationMetadata { + // Output only. The health information. + optional GetHealthOperationMetadataHealthInfo health_info = 235287729; + +} + +// Health information. +message GetHealthOperationMetadataHealthInfo { + // Output only. The availability SLO status. + enum AvailabilitySloStatus { + // A value indicating that the enum field is not set. + UNDEFINED_AVAILABILITY_SLO_STATUS = 0; + + // The slot availability is in SLO. + AVAILABILITY_SLO_STATUS_IN_SLO = 142966428; + + // The slot availability is out of SLO. + AVAILABILITY_SLO_STATUS_OUT_OF_SLO = 112099455; + + // The slot availability is unknown. + AVAILABILITY_SLO_STATUS_SLO_UNKNOWN = 280579681; + + // Unspecified availability SLO status. + AVAILABILITY_SLO_STATUS_UNSPECIFIED = 481084279; + + } + + // Output only. The health status. + enum HealthStatus { + // A value indicating that the enum field is not set. + UNDEFINED_HEALTH_STATUS = 0; + + // The reservation slot is healthy. + HEALTH_STATUS_HEALTHY = 281715315; + + // The reservation slot is unhealthy. + HEALTH_STATUS_UNHEALTHY = 476038202; + + // Unspecified health status. + HEALTH_STATUS_UNSPECIFIED = 482246925; + + } + + // Output only. The repair category. + enum RepairCategory { + // A value indicating that the enum field is not set. + UNDEFINED_REPAIR_CATEGORY = 0; + + // The repair is because of critical failures, that are scoped outside + // emergent maintenance + REPAIR_CATEGORY_CRITICAL_FAILURE = 58241977; + + // The repair is because of an emergent maintenance + REPAIR_CATEGORY_EMERGENT_MAINTENANCE = 400869148; + + // The repair is because of a planned maintenance + REPAIR_CATEGORY_PLANNED_MAINTENANCE = 489286537; + + // Unspecified repair category. + REPAIR_CATEGORY_UNSPECIFIED = 287264456; + + // The repair is because of a user reported fault + REPAIR_CATEGORY_USER_REPORTED_FAULT = 227760443; + + } + + // Output only. The reason for unhealthy status. + enum UnhealthyReason { + // A value indicating that the enum field is not set. + UNDEFINED_UNHEALTHY_REASON = 0; + + // The slot is unhealthy because there is a pending repair, waiting for + // customer approval + UNHEALTHY_REASON_PENDING_USER_APPROVAL = 315397455; + + // The slot is unhealthy because repair is in progress + UNHEALTHY_REASON_REPAIRING = 199320309; + + // The slot is unhealthy because a vm cannot be scheduled on it, and no + // repairs are running on the slot + UNHEALTHY_REASON_UNSCHEDULABLE = 118083439; + + // Unspecified unhealthy reason. + UNHEALTHY_REASON_UNSPECIFIED = 337725687; + + } + + // Output only. The availability SLO status. + // Check the AvailabilitySloStatus enum for the list of possible values. + optional string availability_slo_status = 255971455; + + // Output only. The health status. + // Check the HealthStatus enum for the list of possible values. + optional string health_status = 380545845; + + // Output only. The repair category. + // Check the RepairCategory enum for the list of possible values. + optional string repair_category = 113376624; + + // Output only. The reason for unhealthy status. + // Check the UnhealthyReason enum for the list of possible values. + optional string unhealthy_reason = 448838143; + + // Output only. The time when health info was updated. + optional string update_time = 500295811; + +} + // A request message for RegionBackendServices.GetHealth. See the method description for details. message GetHealthRegionBackendServiceRequest { // Name of the BackendService resource for which to get health. @@ -23247,6 +23362,34 @@ message GetHealthRegionHealthSourceRequest { } +// A request message for ReservationSlots.GetHealth. See the method description for details. +message GetHealthReservationSlotRequest { + // The name of the parent reservation, parent block and parent sub-block. In + // the format of + // reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name} + string parent_name = 478151936 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // An optional request ID to identify requests. + optional string request_id = 37109963; + + // The name of the reservation slot. + // Name should conform to RFC1035 or be a resource ID. + string reservation_slot = 277470865 [(google.api.field_behavior) = REQUIRED]; + + // Name of the zone for this request. Zone name should conform to RFC1035. + string zone = 3744684 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "zone" + ]; + +} + // A request message for TargetPools.GetHealth. See the method description for details. message GetHealthTargetPoolRequest { // The body resource for this request @@ -26185,6 +26328,7 @@ message GuestOsFeature { // - IDPF // - SNP_SVSM_CAPABLE // - CCA_CAPABLE + // - SUSPEND_SAFE_FPR // // // For more information, see @@ -26217,6 +26361,10 @@ message GuestOsFeature { SNP_SVSM_CAPABLE = 52921460; + // Indicates the guest OS is safe for free page reporting (FPR) during + // suspend. + SUSPEND_SAFE_FPR = 223956441; + TDX_CAPABLE = 240446133; UEFI_COMPATIBLE = 195865408; @@ -26243,6 +26391,7 @@ message GuestOsFeature { // - IDPF // - SNP_SVSM_CAPABLE // - CCA_CAPABLE + // - SUSPEND_SAFE_FPR // // // For more information, see @@ -35493,6 +35642,9 @@ message Interconnect { // Output only. [Output Only] Server-defined URL for the resource. optional string self_link = 456214797; + // Output only. Server-defined URL for this resource with the resource id. + optional string self_link_with_id = 44520962; + // Output only. [Output Only] The current state of Interconnect functionality, which can // take one of the following values: // @@ -37817,6 +37969,14 @@ message InterconnectLocationCrossSiteInterconnectInfo { // may match multiple InterconnectLocations. optional string city = 3053931; + // Output only. The maximum unmetered bandwidth for dynamic paths allowable per + // WireGroup for this metro. + optional int64 max_dynamic_path_bandwidth_gbps = 378021355; + + // Output only. The maximum unmetered bandwidth for fixed paths allowable per WireGroup + // for this metro. + optional int64 max_fixed_path_bandwidth_gbps = 346138080; + } // Response to the list request, and contains a list of interconnect locations. @@ -54303,6 +54463,29 @@ message ManagedInstance { } + // Output only. The eventual status of the instance. The instance group + // manager will not be identified as stable till each managed instance reaches + // its targetStatus. + // Additional supported values which may be not listed in the enum directly due to technical reasons: + // RUNNING + // STOPPED + // SUSPENDED + enum TargetStatus { + // A value indicating that the enum field is not set. + UNDEFINED_TARGET_STATUS = 0; + + // The managed instance will eventually be ABANDONED, i.e. dissociated + // from the managed instance group. + ABANDONED = 81797556; + + // The managed instance will eventually be DELETED. + DELETED = 120962041; + + // Only present to map the STATUS_INVALID value. + INVALID = 530283991; + + } + // Output only. [Output Only] The current action that the managed instance group has // scheduled for the instance. Possible values: // @@ -54375,6 +54558,12 @@ message ManagedInstance { // `PENDING_STOP` state or there is a programmed stop scheduled. optional ManagedInstanceShutdownDetails shutdown_details = 15198553; + // Output only. The eventual status of the instance. The instance group + // manager will not be identified as stable till each managed instance reaches + // its targetStatus. + // Check the TargetStatus enum for the list of possible values. + optional string target_status = 307799648; + // Output only. [Output Only] Intended version of this instance. optional ManagedInstanceVersion version = 351608024; @@ -55385,6 +55574,11 @@ message NetworkEndpointGroup { // The network endpoint is represented by an IP address. GCE_VM_IP = 401880793; + // The network endpoint for targeting a specific network interface of a + // VM instance in configurations with multiple network interfaces on the + // same network. + GCE_VM_IP_DEDICATED_BACKEND = 321618974; + // The network endpoint is represented by IP address and port pair. GCE_VM_IP_PORT = 501838375; @@ -58332,6 +58526,9 @@ message Operation { // this field will be populated. optional Error error = 96784904; + // Output only. Metadata for GetHealth operations. + optional GetHealthOperationMetadata get_health_operation_metadata = 303911457; + optional GetVersionOperationMetadata get_version_operation_metadata = 173230167; // [Output Only] If the operation fails, this field contains the HTTP error @@ -65253,6 +65450,9 @@ message Reservation { // A value indicating that the enum field is not set. UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0; + // Bare Metal Secure AI. + CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103738250; + // Intel Trust Domain Extensions. CONFIDENTIAL_COMPUTE_TYPE_TDX = 301241954; @@ -77411,6 +77611,17 @@ message Subnetwork { // All ranges assigned to the VM NIC will respond to ARP. ARP_ALL_RANGES = 445655380; + // VMs will receive an ARP response from a VM instance owning the target IP + // address within the subnetwork's primary CIDR range, if such a VM instance + // exists and is running. + ARP_BROADCAST_PRIMARY_RANGE = 123887458; + + // Combines ARP_BROADCAST_PRIMARY_RANGE with MAC learning. Enables cache + // mapping between IP addresses and custom MAC addresses of instances and + // use of it to set the correct destination MAC address. If this option is + // chosen, the subnetwork must have /24 or a smaller CIDR range. + ARP_BROADCAST_PRIMARY_RANGE_WITH_LEARNING = 425592922; + // Only the primary range of the VM NIC will respond to ARP. ARP_PRIMARY_RANGE = 120210048; @@ -93922,6 +94133,15 @@ service ReservationSlots { option (google.api.method_signature) = "project,zone,parent_name,reservation_slot"; } + // Get health info on a reservation slot. + rpc GetHealth(GetHealthReservationSlotRequest) returns (Operation) { + option (google.api.http) = { + post: "/compute/v1/projects/{project}/zones/{zone}/{parent_name=reservations/*/reservationBlocks/*/reservationSubBlocks/*}/reservationSlots/{reservation_slot}/getHealth" + }; + option (google.api.method_signature) = "project,zone,parent_name,reservation_slot"; + option (google.cloud.operation_service) = "ZoneOperations"; + } + // Allows customers to get SBOM versions of a reservation slot. rpc GetVersion(GetVersionReservationSlotRequest) returns (Operation) { option (google.api.http) = { diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/reservationslots/gethealth/AsyncGetHealth.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/reservationslots/gethealth/AsyncGetHealth.java new file mode 100644 index 000000000000..f0af983db4fb --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/reservationslots/gethealth/AsyncGetHealth.java @@ -0,0 +1,52 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_ReservationSlots_GetHealth_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.compute.v1.GetHealthReservationSlotRequest; +import com.google.cloud.compute.v1.ReservationSlotsClient; +import com.google.longrunning.Operation; + +public class AsyncGetHealth { + + public static void main(String[] args) throws Exception { + asyncGetHealth(); + } + + public static void asyncGetHealth() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ReservationSlotsClient reservationSlotsClient = ReservationSlotsClient.create()) { + GetHealthReservationSlotRequest request = + GetHealthReservationSlotRequest.newBuilder() + .setParentName("parentName-244870571") + .setProject("project-309310695") + .setRequestId("requestId693933066") + .setReservationSlot("reservationSlot-337781782") + .setZone("zone3744684") + .build(); + ApiFuture future = reservationSlotsClient.getHealthCallable().futureCall(request); + // Do something. + com.google.cloud.compute.v1.Operation response = future.get(); + } + } +} +// [END compute_v1_generated_ReservationSlots_GetHealth_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/reservationslots/gethealth/AsyncGetHealthLRO.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/reservationslots/gethealth/AsyncGetHealthLRO.java new file mode 100644 index 000000000000..a3a6f0997c00 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/reservationslots/gethealth/AsyncGetHealthLRO.java @@ -0,0 +1,53 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_ReservationSlots_GetHealth_LRO_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.compute.v1.GetHealthReservationSlotRequest; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.ReservationSlotsClient; + +public class AsyncGetHealthLRO { + + public static void main(String[] args) throws Exception { + asyncGetHealthLRO(); + } + + public static void asyncGetHealthLRO() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ReservationSlotsClient reservationSlotsClient = ReservationSlotsClient.create()) { + GetHealthReservationSlotRequest request = + GetHealthReservationSlotRequest.newBuilder() + .setParentName("parentName-244870571") + .setProject("project-309310695") + .setRequestId("requestId693933066") + .setReservationSlot("reservationSlot-337781782") + .setZone("zone3744684") + .build(); + OperationFuture future = + reservationSlotsClient.getHealthOperationCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END compute_v1_generated_ReservationSlots_GetHealth_LRO_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/reservationslots/gethealth/SyncGetHealth.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/reservationslots/gethealth/SyncGetHealth.java new file mode 100644 index 000000000000..9818337d17ef --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/reservationslots/gethealth/SyncGetHealth.java @@ -0,0 +1,49 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_ReservationSlots_GetHealth_sync] +import com.google.cloud.compute.v1.GetHealthReservationSlotRequest; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.ReservationSlotsClient; + +public class SyncGetHealth { + + public static void main(String[] args) throws Exception { + syncGetHealth(); + } + + public static void syncGetHealth() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ReservationSlotsClient reservationSlotsClient = ReservationSlotsClient.create()) { + GetHealthReservationSlotRequest request = + GetHealthReservationSlotRequest.newBuilder() + .setParentName("parentName-244870571") + .setProject("project-309310695") + .setRequestId("requestId693933066") + .setReservationSlot("reservationSlot-337781782") + .setZone("zone3744684") + .build(); + Operation response = reservationSlotsClient.getHealthAsync(request).get(); + } + } +} +// [END compute_v1_generated_ReservationSlots_GetHealth_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/reservationslots/gethealth/SyncGetHealthStringStringStringString.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/reservationslots/gethealth/SyncGetHealthStringStringStringString.java new file mode 100644 index 000000000000..b733e9e57eb0 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/reservationslots/gethealth/SyncGetHealthStringStringStringString.java @@ -0,0 +1,45 @@ +/* + * Copyright 2026 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. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_ReservationSlots_GetHealth_StringStringStringString_sync] +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.ReservationSlotsClient; + +public class SyncGetHealthStringStringStringString { + + public static void main(String[] args) throws Exception { + syncGetHealthStringStringStringString(); + } + + public static void syncGetHealthStringStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ReservationSlotsClient reservationSlotsClient = ReservationSlotsClient.create()) { + String project = "project-309310695"; + String zone = "zone3744684"; + String parentName = "parentName-244870571"; + String reservationSlot = "reservationSlot-337781782"; + Operation response = + reservationSlotsClient.getHealthAsync(project, zone, parentName, reservationSlot).get(); + } + } +} +// [END compute_v1_generated_ReservationSlots_GetHealth_StringStringStringString_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/reservationslotssettings/getversion/SyncGetVersion.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/reservationslotssettings/gethealth/SyncGetHealth.java similarity index 89% rename from java-compute/samples/snippets/generated/com/google/cloud/compute/v1/reservationslotssettings/getversion/SyncGetVersion.java rename to java-compute/samples/snippets/generated/com/google/cloud/compute/v1/reservationslotssettings/gethealth/SyncGetHealth.java index e76a5976bf27..bca3546ff714 100644 --- a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/reservationslotssettings/getversion/SyncGetVersion.java +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/reservationslotssettings/gethealth/SyncGetHealth.java @@ -16,20 +16,20 @@ package com.google.cloud.compute.v1.samples; -// [START compute_v1_generated_ReservationSlotsSettings_GetVersion_sync] +// [START compute_v1_generated_ReservationSlotsSettings_GetHealth_sync] import com.google.api.gax.longrunning.OperationalTimedPollAlgorithm; import com.google.api.gax.retrying.RetrySettings; import com.google.api.gax.retrying.TimedRetryAlgorithm; import com.google.cloud.compute.v1.ReservationSlotsSettings; import java.time.Duration; -public class SyncGetVersion { +public class SyncGetHealth { public static void main(String[] args) throws Exception { - syncGetVersion(); + syncGetHealth(); } - public static void syncGetVersion() throws Exception { + public static void syncGetHealth() throws Exception { // This snippet has been automatically generated and should be regarded as a code template only. // It will require modifications to work: // - It may require correct/in-range values for request initialization. @@ -51,4 +51,4 @@ public static void syncGetVersion() throws Exception { .build(); } } -// [END compute_v1_generated_ReservationSlotsSettings_GetVersion_sync] +// [END compute_v1_generated_ReservationSlotsSettings_GetHealth_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/stub/reservationslotsstubsettings/getversion/SyncGetVersion.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/stub/reservationslotsstubsettings/gethealth/SyncGetHealth.java similarity index 88% rename from java-compute/samples/snippets/generated/com/google/cloud/compute/v1/stub/reservationslotsstubsettings/getversion/SyncGetVersion.java rename to java-compute/samples/snippets/generated/com/google/cloud/compute/v1/stub/reservationslotsstubsettings/gethealth/SyncGetHealth.java index eb7276c72430..34c9a5739601 100644 --- a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/stub/reservationslotsstubsettings/getversion/SyncGetVersion.java +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/stub/reservationslotsstubsettings/gethealth/SyncGetHealth.java @@ -16,20 +16,20 @@ package com.google.cloud.compute.v1.stub.samples; -// [START compute_v1_generated_ReservationSlotsStubSettings_GetVersion_sync] +// [START compute_v1_generated_ReservationSlotsStubSettings_GetHealth_sync] import com.google.api.gax.longrunning.OperationalTimedPollAlgorithm; import com.google.api.gax.retrying.RetrySettings; import com.google.api.gax.retrying.TimedRetryAlgorithm; import com.google.cloud.compute.v1.stub.ReservationSlotsStubSettings; import java.time.Duration; -public class SyncGetVersion { +public class SyncGetHealth { public static void main(String[] args) throws Exception { - syncGetVersion(); + syncGetHealth(); } - public static void syncGetVersion() throws Exception { + public static void syncGetHealth() throws Exception { // This snippet has been automatically generated and should be regarded as a code template only. // It will require modifications to work: // - It may require correct/in-range values for request initialization. @@ -51,4 +51,4 @@ public static void syncGetVersion() throws Exception { .build(); } } -// [END compute_v1_generated_ReservationSlotsStubSettings_GetVersion_sync] +// [END compute_v1_generated_ReservationSlotsStubSettings_GetHealth_sync] diff --git a/java-confidentialcomputing/README.md b/java-confidentialcomputing/README.md index 145e1e242c28..4e873a59b6cc 100644 --- a/java-confidentialcomputing/README.md +++ b/java-confidentialcomputing/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-confidentialcomputing - 0.82.0 + 0.83.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-confidentialcomputing' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-confidentialcomputing:0.82.0' +implementation 'com.google.cloud:google-cloud-confidentialcomputing:0.83.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-confidentialcomputing" % "0.82.0" +libraryDependencies += "com.google.cloud" % "google-cloud-confidentialcomputing" % "0.83.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-confidentialcomputing/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-confidentialcomputing.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-confidentialcomputing/0.82.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-confidentialcomputing/0.83.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-configdelivery/README.md b/java-configdelivery/README.md index 8ded5c1280ef..78df9a64ab37 100644 --- a/java-configdelivery/README.md +++ b/java-configdelivery/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-configdelivery - 0.30.0 + 0.31.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-configdelivery' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-configdelivery:0.30.0' +implementation 'com.google.cloud:google-cloud-configdelivery:0.31.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-configdelivery" % "0.30.0" +libraryDependencies += "com.google.cloud" % "google-cloud-configdelivery" % "0.31.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-configdelivery/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-configdelivery.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-configdelivery/0.30.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-configdelivery/0.31.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-connectgateway/README.md b/java-connectgateway/README.md index 347c3662cca4..22ca5bb91ca4 100644 --- a/java-connectgateway/README.md +++ b/java-connectgateway/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-connectgateway - 0.48.0 + 0.49.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-connectgateway' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-connectgateway:0.48.0' +implementation 'com.google.cloud:google-cloud-connectgateway:0.49.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-connectgateway" % "0.48.0" +libraryDependencies += "com.google.cloud" % "google-cloud-connectgateway" % "0.49.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-connectgateway/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-connectgateway.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-connectgateway/0.48.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-connectgateway/0.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-contact-center-insights/README.md b/java-contact-center-insights/README.md index 52c9b8a264aa..a10f45d73e16 100644 --- a/java-contact-center-insights/README.md +++ b/java-contact-center-insights/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-contact-center-insights - 2.96.0 + 2.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-contact-center-insights' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-contact-center-insights:2.96.0' +implementation 'com.google.cloud:google-cloud-contact-center-insights:2.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-contact-center-insights" % "2.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-contact-center-insights" % "2.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-contact-center-insights/latest/overview [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-contact-center-insights.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contact-center-insights/2.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contact-center-insights/2.97.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/README.md b/java-container/README.md index 11d6b9017df1..b86d4faa0001 100644 --- a/java-container/README.md +++ b/java-container/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-container - 2.99.0 + 2.100.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-container' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-container:2.99.0' +implementation 'com.google.cloud:google-cloud-container:2.100.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-container" % "2.99.0" +libraryDependencies += "com.google.cloud" % "google-cloud-container" % "2.100.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-container/latest/overview [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.99.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-container/2.100.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-containeranalysis/README.md b/java-containeranalysis/README.md index bd312dbf0d7c..6d2d9024fb56 100644 --- a/java-containeranalysis/README.md +++ b/java-containeranalysis/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-containeranalysis - 2.97.0 + 2.98.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-containeranalysis' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-containeranalysis:2.97.0' +implementation 'com.google.cloud:google-cloud-containeranalysis:2.98.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-containeranalysis" % "2.97.0" +libraryDependencies += "com.google.cloud" % "google-cloud-containeranalysis" % "2.98.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-containeranalysis/latest/overview [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-containeranalysis.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-containeranalysis/2.97.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-containeranalysis/2.98.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-contentwarehouse/README.md b/java-contentwarehouse/README.md index 076b5a3305b2..929c17b52e58 100644 --- a/java-contentwarehouse/README.md +++ b/java-contentwarehouse/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-contentwarehouse - 0.92.0 + 0.93.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-contentwarehouse' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-contentwarehouse:0.92.0' +implementation 'com.google.cloud:google-cloud-contentwarehouse:0.93.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-contentwarehouse" % "0.92.0" +libraryDependencies += "com.google.cloud" % "google-cloud-contentwarehouse" % "0.93.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-contentwarehouse/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-contentwarehouse.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contentwarehouse/0.92.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contentwarehouse/0.93.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-data-fusion/README.md b/java-data-fusion/README.md index 2c778947ba8f..a9c29c8db672 100644 --- a/java-data-fusion/README.md +++ b/java-data-fusion/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-data-fusion - 1.96.0 + 1.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-data-fusion' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-data-fusion:1.96.0' +implementation 'com.google.cloud:google-cloud-data-fusion:1.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-data-fusion" % "1.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-data-fusion" % "1.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-data-fusion/latest/overview [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-data-fusion.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-data-fusion/1.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-data-fusion/1.97.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-databasecenter/README.md b/java-databasecenter/README.md index 4e3f5923bced..fad888ba43fc 100644 --- a/java-databasecenter/README.md +++ b/java-databasecenter/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-databasecenter - 0.17.0 + 0.18.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-databasecenter' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-databasecenter:0.17.0' +implementation 'com.google.cloud:google-cloud-databasecenter:0.18.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-databasecenter" % "0.17.0" +libraryDependencies += "com.google.cloud" % "google-cloud-databasecenter" % "0.18.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-databasecenter.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-databasecenter/0.17.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-databasecenter/0.18.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-dataflow/README.md b/java-dataflow/README.md index 90d16c42e89c..d1da337a2a0e 100644 --- a/java-dataflow/README.md +++ b/java-dataflow/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dataflow - 0.100.0 + 0.101.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-dataflow' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dataflow:0.100.0' +implementation 'com.google.cloud:google-cloud-dataflow:0.101.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataflow" % "0.100.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dataflow" % "0.101.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-dataflow/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dataflow.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataflow/0.100.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataflow/0.101.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-dataform/README.md b/java-dataform/README.md index 01e50886bb2a..87b79dffe45a 100644 --- a/java-dataform/README.md +++ b/java-dataform/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dataform - 0.95.0 + 0.96.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-dataform' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dataform:0.95.0' +implementation 'com.google.cloud:google-cloud-dataform:0.96.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataform" % "0.95.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dataform" % "0.96.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-dataform/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dataform.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataform/0.95.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataform/0.96.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-datalineage/README.md b/java-datalineage/README.md index ad8f7c6f46ae..f3bb334569a5 100644 --- a/java-datalineage/README.md +++ b/java-datalineage/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-datalineage - 0.88.0 + 0.89.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-datalineage' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-datalineage:0.88.0' +implementation 'com.google.cloud:google-cloud-datalineage:0.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-datalineage" % "0.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-datalineage" % "0.89.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-datalineage/latest/overview [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-datalineage.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datalineage/0.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datalineage/0.89.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-datamanager/README.md b/java-datamanager/README.md index b09c2cc548c3..b7662e5f07ac 100644 --- a/java-datamanager/README.md +++ b/java-datamanager/README.md @@ -21,20 +21,20 @@ If you are using Maven, add this to your pom.xml file: com.google.api-ads data-manager - 0.17.0 + 0.18.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.api-ads:data-manager:0.17.0' +implementation 'com.google.api-ads:data-manager:0.18.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.api-ads" % "data-manager" % "0.17.0" +libraryDependencies += "com.google.api-ads" % "data-manager" % "0.18.0" ``` ## Authentication @@ -155,7 +155,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/data-manager/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.api-ads/data-manager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.api-ads/data-manager/0.17.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.api-ads/data-manager/0.18.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-dataplex/README.md b/java-dataplex/README.md index 70d6d74894bd..810e67d8d2aa 100644 --- a/java-dataplex/README.md +++ b/java-dataplex/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dataplex - 1.94.0 + 1.95.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-dataplex' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dataplex:1.94.0' +implementation 'com.google.cloud:google-cloud-dataplex:1.95.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataplex" % "1.94.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dataplex" % "1.95.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-dataplex/latest/overview [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-dataplex.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataplex/1.94.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataplex/1.95.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-dataproc-metastore/README.md b/java-dataproc-metastore/README.md index 39c4d9ada8cc..d39ccf43289a 100644 --- a/java-dataproc-metastore/README.md +++ b/java-dataproc-metastore/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dataproc-metastore - 2.97.0 + 2.98.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-dataproc-metastore' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dataproc-metastore:2.97.0' +implementation 'com.google.cloud:google-cloud-dataproc-metastore:2.98.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataproc-metastore" % "2.97.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dataproc-metastore" % "2.98.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-dataproc-metastore/latest/overview [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-dataproc-metastore.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataproc-metastore/2.97.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataproc-metastore/2.98.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-dataproc/README.md b/java-dataproc/README.md index 732201fb18fd..c234ea4241f2 100644 --- a/java-dataproc/README.md +++ b/java-dataproc/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dataproc - 4.93.0 + 4.94.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-dataproc' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dataproc:4.93.0' +implementation 'com.google.cloud:google-cloud-dataproc:4.94.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "4.93.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "4.94.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-dataproc/latest/overview [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-dataproc.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataproc/4.93.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataproc/4.94.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-datastore/README.md b/java-datastore/README.md index 83f5908948ae..45ea2a529227 100644 --- a/java-datastore/README.md +++ b/java-datastore/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-datastore - 3.4.0 + 3.5.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-datastore' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-datastore:3.4.0' +implementation 'com.google.cloud:google-cloud-datastore:3.5.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-datastore" % "3.4.0" +libraryDependencies += "com.google.cloud" % "google-cloud-datastore" % "3.5.0" ``` ## Authentication @@ -473,7 +473,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-datastore/latest/history [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-datastore.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datastore/3.4.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datastore/3.5.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-datastream/README.md b/java-datastream/README.md index b23ee0e66083..975402132017 100644 --- a/java-datastream/README.md +++ b/java-datastream/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-datastream - 1.95.0 + 1.96.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-datastream' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-datastream:1.95.0' +implementation 'com.google.cloud:google-cloud-datastream:1.96.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-datastream" % "1.95.0" +libraryDependencies += "com.google.cloud" % "google-cloud-datastream" % "1.96.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-datastream/latest/overview [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-datastream.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datastream/1.95.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datastream/1.96.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-deploy/README.md b/java-deploy/README.md index 22b773303c2a..80453884c92f 100644 --- a/java-deploy/README.md +++ b/java-deploy/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-deploy - 1.94.0 + 1.95.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-deploy' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-deploy:1.94.0' +implementation 'com.google.cloud:google-cloud-deploy:1.95.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-deploy" % "1.94.0" +libraryDependencies += "com.google.cloud" % "google-cloud-deploy" % "1.95.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-deploy/latest/overview [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-deploy.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-deploy/1.94.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-deploy/1.95.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-developerconnect/README.md b/java-developerconnect/README.md index ce92fba79b2f..7394a9832e54 100644 --- a/java-developerconnect/README.md +++ b/java-developerconnect/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-developerconnect - 0.53.0 + 0.54.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-developerconnect' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-developerconnect:0.53.0' +implementation 'com.google.cloud:google-cloud-developerconnect:0.54.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-developerconnect" % "0.53.0" +libraryDependencies += "com.google.cloud" % "google-cloud-developerconnect" % "0.54.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-developerconnect/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-developerconnect.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-developerconnect/0.53.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-developerconnect/0.54.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-developerknowledge/README.md b/java-developerknowledge/README.md index d951b2d9af57..3e3b0d3725e7 100644 --- a/java-developerknowledge/README.md +++ b/java-developerknowledge/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-developer-knowledge - 0.4.0 + 0.5.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-developer-knowledge' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-developer-knowledge:0.4.0' +implementation 'com.google.cloud:google-cloud-developer-knowledge:0.5.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-developer-knowledge" % "0.4.0" +libraryDependencies += "com.google.cloud" % "google-cloud-developer-knowledge" % "0.5.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-developer-knowledge/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-developer-knowledge.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-developer-knowledge/0.4.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-developer-knowledge/0.5.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-devicestreaming/README.md b/java-devicestreaming/README.md index a30d1cc03676..806ce12e3bc1 100644 --- a/java-devicestreaming/README.md +++ b/java-devicestreaming/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-devicestreaming - 0.36.0 + 0.37.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-devicestreaming' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-devicestreaming:0.36.0' +implementation 'com.google.cloud:google-cloud-devicestreaming:0.37.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-devicestreaming" % "0.36.0" +libraryDependencies += "com.google.cloud" % "google-cloud-devicestreaming" % "0.37.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-devicestreaming/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-devicestreaming.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-devicestreaming/0.36.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-devicestreaming/0.37.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-dialogflow-cx/README.md b/java-dialogflow-cx/README.md index 4ee07d468f75..510aa8b04445 100644 --- a/java-dialogflow-cx/README.md +++ b/java-dialogflow-cx/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dialogflow-cx - 0.107.0 + 0.108.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-dialogflow-cx' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dialogflow-cx:0.107.0' +implementation 'com.google.cloud:google-cloud-dialogflow-cx:0.108.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow-cx" % "0.107.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow-cx" % "0.108.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-dialogflow-cx/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dialogflow-cx.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dialogflow-cx/0.107.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dialogflow-cx/0.108.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-dialogflow/README.md b/java-dialogflow/README.md index 628416489576..33ae00073e95 100644 --- a/java-dialogflow/README.md +++ b/java-dialogflow/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dialogflow - 4.102.0 + 4.103.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-dialogflow' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dialogflow:4.102.0' +implementation 'com.google.cloud:google-cloud-dialogflow:4.103.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow" % "4.102.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow" % "4.103.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-dialogflow/latest/overview [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-dialogflow.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dialogflow/4.102.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dialogflow/4.103.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-discoveryengine/README.md b/java-discoveryengine/README.md index 3002aaf31248..c13771cc983f 100644 --- a/java-discoveryengine/README.md +++ b/java-discoveryengine/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-discoveryengine - 0.92.0 + 0.93.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-discoveryengine' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-discoveryengine:0.92.0' +implementation 'com.google.cloud:google-cloud-discoveryengine:0.93.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-discoveryengine" % "0.92.0" +libraryDependencies += "com.google.cloud" % "google-cloud-discoveryengine" % "0.93.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-discoveryengine/latest/overview [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-discoveryengine.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-discoveryengine/0.92.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-discoveryengine/0.93.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-distributedcloudedge/README.md b/java-distributedcloudedge/README.md index 9e2fa704834d..1d341ba07429 100644 --- a/java-distributedcloudedge/README.md +++ b/java-distributedcloudedge/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-distributedcloudedge - 0.93.0 + 0.94.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-distributedcloudedge' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-distributedcloudedge:0.93.0' +implementation 'com.google.cloud:google-cloud-distributedcloudedge:0.94.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-distributedcloudedge" % "0.93.0" +libraryDependencies += "com.google.cloud" % "google-cloud-distributedcloudedge" % "0.94.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-distributedcloudedge/latest/overview [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-distributedcloudedge.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-distributedcloudedge/0.93.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-distributedcloudedge/0.94.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-dlp/README.md b/java-dlp/README.md index b9f13b79d9f8..96d22e0c6af4 100644 --- a/java-dlp/README.md +++ b/java-dlp/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dlp - 3.100.0 + 3.101.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-dlp' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dlp:3.100.0' +implementation 'com.google.cloud:google-cloud-dlp:3.101.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dlp" % "3.100.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dlp" % "3.101.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-dlp/latest/overview [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-dlp.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dlp/3.100.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dlp/3.101.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-dms/README.md b/java-dms/README.md index a9e30670293b..7a2095dac266 100644 --- a/java-dms/README.md +++ b/java-dms/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dms - 2.95.0 + 2.96.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-dms' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dms:2.95.0' +implementation 'com.google.cloud:google-cloud-dms:2.96.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dms" % "2.95.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dms" % "2.96.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-dms/latest/overview [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-dms.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dms/2.95.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dms/2.96.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-document-ai/README.md b/java-document-ai/README.md index 688e9667a900..450d44ec727a 100644 --- a/java-document-ai/README.md +++ b/java-document-ai/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-document-ai - 2.100.0 + 2.101.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-document-ai' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-document-ai:2.100.0' +implementation 'com.google.cloud:google-cloud-document-ai:2.101.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-document-ai" % "2.100.0" +libraryDependencies += "com.google.cloud" % "google-cloud-document-ai" % "2.101.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-document-ai/latest/overview [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-document-ai.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-document-ai/2.100.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-document-ai/2.101.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-domains/README.md b/java-domains/README.md index f52d7e4575bb..9a65652de4f2 100644 --- a/java-domains/README.md +++ b/java-domains/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-domains - 1.93.0 + 1.94.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-domains' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-domains:1.93.0' +implementation 'com.google.cloud:google-cloud-domains:1.94.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-domains" % "1.93.0" +libraryDependencies += "com.google.cloud" % "google-cloud-domains" % "1.94.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-domains/latest/overview [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-domains.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-domains/1.93.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-domains/1.94.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-edgenetwork/README.md b/java-edgenetwork/README.md index 93d9fd03d1df..a0d34112ab62 100644 --- a/java-edgenetwork/README.md +++ b/java-edgenetwork/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-edgenetwork - 0.64.0 + 0.65.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-edgenetwork' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-edgenetwork:0.64.0' +implementation 'com.google.cloud:google-cloud-edgenetwork:0.65.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-edgenetwork" % "0.64.0" +libraryDependencies += "com.google.cloud" % "google-cloud-edgenetwork" % "0.65.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-edgenetwork/latest/overview [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-edgenetwork.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-edgenetwork/0.64.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-edgenetwork/0.65.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-enterpriseknowledgegraph/README.md b/java-enterpriseknowledgegraph/README.md index b73919ee09f9..59cbd60d5001 100644 --- a/java-enterpriseknowledgegraph/README.md +++ b/java-enterpriseknowledgegraph/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-enterpriseknowledgegraph - 0.92.0 + 0.93.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-enterpriseknowledgegraph' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-enterpriseknowledgegraph:0.92.0' +implementation 'com.google.cloud:google-cloud-enterpriseknowledgegraph:0.93.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-enterpriseknowledgegraph" % "0.92.0" +libraryDependencies += "com.google.cloud" % "google-cloud-enterpriseknowledgegraph" % "0.93.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-enterpriseknowledgegraph/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-enterpriseknowledgegraph.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-enterpriseknowledgegraph/0.92.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-enterpriseknowledgegraph/0.93.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-errorreporting/README.md b/java-errorreporting/README.md index 63a76dc1d3b5..917a01d4546b 100644 --- a/java-errorreporting/README.md +++ b/java-errorreporting/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-errorreporting - 0.217.0-beta + 0.218.0-beta ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-errorreporting' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-errorreporting:0.217.0-beta' +implementation 'com.google.cloud:google-cloud-errorreporting:0.218.0-beta' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-errorreporting" % "0.217.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-errorreporting" % "0.218.0-beta" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-errorreporting/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-errorreporting.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-errorreporting/0.217.0-beta +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-errorreporting/0.218.0-beta [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-essential-contacts/README.md b/java-essential-contacts/README.md index 1077243b5ccd..62d2656803f5 100644 --- a/java-essential-contacts/README.md +++ b/java-essential-contacts/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-essential-contacts - 2.96.0 + 2.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-essential-contacts' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-essential-contacts:2.96.0' +implementation 'com.google.cloud:google-cloud-essential-contacts:2.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-essential-contacts" % "2.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-essential-contacts" % "2.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-essential-contacts/latest/overview [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-essential-contacts.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-essential-contacts/2.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-essential-contacts/2.97.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-eventarc-publishing/README.md b/java-eventarc-publishing/README.md index fc4d91ff4c37..c2c3c5b3e4f4 100644 --- a/java-eventarc-publishing/README.md +++ b/java-eventarc-publishing/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-eventarc-publishing - 0.96.0 + 0.97.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-eventarc-publishing' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-eventarc-publishing:0.96.0' +implementation 'com.google.cloud:google-cloud-eventarc-publishing:0.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-eventarc-publishing" % "0.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-eventarc-publishing" % "0.97.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-eventarc-publishing/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-eventarc-publishing.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-eventarc-publishing/0.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-eventarc-publishing/0.97.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-eventarc/README.md b/java-eventarc/README.md index 0a69249f7534..84996bfa01a3 100644 --- a/java-eventarc/README.md +++ b/java-eventarc/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-eventarc - 1.96.0 + 1.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-eventarc' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-eventarc:1.96.0' +implementation 'com.google.cloud:google-cloud-eventarc:1.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-eventarc" % "1.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-eventarc" % "1.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-eventarc/latest/overview [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-eventarc.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-eventarc/1.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-eventarc/1.97.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-filestore/README.md b/java-filestore/README.md index e04f591a4a8c..3cacff38be8e 100644 --- a/java-filestore/README.md +++ b/java-filestore/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-filestore - 1.97.0 + 1.98.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-filestore' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-filestore:1.97.0' +implementation 'com.google.cloud:google-cloud-filestore:1.98.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-filestore" % "1.97.0" +libraryDependencies += "com.google.cloud" % "google-cloud-filestore" % "1.98.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-filestore/latest/overview [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-filestore.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-filestore/1.97.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-filestore/1.98.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-financialservices/README.md b/java-financialservices/README.md index c76c97f35424..e928bba9c516 100644 --- a/java-financialservices/README.md +++ b/java-financialservices/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-financialservices - 0.37.0 + 0.38.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-financialservices' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-financialservices:0.37.0' +implementation 'com.google.cloud:google-cloud-financialservices:0.38.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-financialservices" % "0.37.0" +libraryDependencies += "com.google.cloud" % "google-cloud-financialservices" % "0.38.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-financialservices/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-financialservices.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-financialservices/0.37.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-financialservices/0.38.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-firestore/README.md b/java-firestore/README.md index e3069da12104..c953445d38d2 100644 --- a/java-firestore/README.md +++ b/java-firestore/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-firestore - 3.46.0 + 3.47.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-firestore' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-firestore:3.46.0' +implementation 'com.google.cloud:google-cloud-firestore:3.47.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-firestore" % "3.46.0" +libraryDependencies += "com.google.cloud" % "google-cloud-firestore" % "3.47.0" ``` ## Authentication @@ -197,7 +197,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-firestore/latest/history [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-firestore.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-firestore/3.46.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-firestore/3.47.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-ftp/README.md b/java-ftp/README.md index 52a121774b59..e78de3536235 100644 --- a/java-ftp/README.md +++ b/java-ftp/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-ftp - 0.1.0 + 0.2.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-ftp' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-ftp:0.1.0' +implementation 'com.google.cloud:google-cloud-ftp:0.2.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-ftp" % "0.1.0" +libraryDependencies += "com.google.cloud" % "google-cloud-ftp" % "0.2.0" ``` ## Authentication @@ -187,7 +187,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-ftp/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-ftp.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-ftp/0.1.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-ftp/0.2.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-functions/README.md b/java-functions/README.md index 5b2ee494b976..c93373039907 100644 --- a/java-functions/README.md +++ b/java-functions/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-functions - 2.98.0 + 2.99.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-functions' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-functions:2.98.0' +implementation 'com.google.cloud:google-cloud-functions:2.99.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-functions" % "2.98.0" +libraryDependencies += "com.google.cloud" % "google-cloud-functions" % "2.99.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-functions/latest/overview [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-functions.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-functions/2.98.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-functions/2.99.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-gdchardwaremanagement/README.md b/java-gdchardwaremanagement/README.md index 7201f544b805..8e3a16caf72d 100644 --- a/java-gdchardwaremanagement/README.md +++ b/java-gdchardwaremanagement/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-gdchardwaremanagement - 0.51.0 + 0.52.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-gdchardwaremanagement' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-gdchardwaremanagement:0.51.0' +implementation 'com.google.cloud:google-cloud-gdchardwaremanagement:0.52.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gdchardwaremanagement" % "0.51.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gdchardwaremanagement" % "0.52.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-gdchardwaremanagement/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-gdchardwaremanagement.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gdchardwaremanagement/0.51.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gdchardwaremanagement/0.52.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-geminidataanalytics/README.md b/java-geminidataanalytics/README.md index 256068c96be1..ef400ae1e94e 100644 --- a/java-geminidataanalytics/README.md +++ b/java-geminidataanalytics/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-geminidataanalytics - 0.24.0 + 0.25.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-geminidataanalytics' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-geminidataanalytics:0.24.0' +implementation 'com.google.cloud:google-cloud-geminidataanalytics:0.25.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-geminidataanalytics" % "0.24.0" +libraryDependencies += "com.google.cloud" % "google-cloud-geminidataanalytics" % "0.25.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-geminidataanalytics/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-geminidataanalytics.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-geminidataanalytics/0.24.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-geminidataanalytics/0.25.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-gke-backup/README.md b/java-gke-backup/README.md index a5f5dfda2e6f..bd668654f0b8 100644 --- a/java-gke-backup/README.md +++ b/java-gke-backup/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-gke-backup - 0.95.0 + 0.96.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-gke-backup' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-gke-backup:0.95.0' +implementation 'com.google.cloud:google-cloud-gke-backup:0.96.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gke-backup" % "0.95.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gke-backup" % "0.96.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-gke-backup/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-gke-backup.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-backup/0.95.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-backup/0.96.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-gke-connect-gateway/README.md b/java-gke-connect-gateway/README.md index bf9184fc721a..643b93815a5f 100644 --- a/java-gke-connect-gateway/README.md +++ b/java-gke-connect-gateway/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-gke-connect-gateway - 0.97.0 + 0.98.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-gke-connect-gateway' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-gke-connect-gateway:0.97.0' +implementation 'com.google.cloud:google-cloud-gke-connect-gateway:0.98.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gke-connect-gateway" % "0.97.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gke-connect-gateway" % "0.98.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-gke-connect-gateway/latest/overview [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-gke-connect-gateway.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-connect-gateway/0.97.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-connect-gateway/0.98.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-gke-multi-cloud/README.md b/java-gke-multi-cloud/README.md index ca443ef699d6..e2c87265d485 100644 --- a/java-gke-multi-cloud/README.md +++ b/java-gke-multi-cloud/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-gke-multi-cloud - 0.95.0 + 0.96.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-gke-multi-cloud' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-gke-multi-cloud:0.95.0' +implementation 'com.google.cloud:google-cloud-gke-multi-cloud:0.96.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gke-multi-cloud" % "0.95.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gke-multi-cloud" % "0.96.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-gke-multi-cloud.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-multi-cloud/0.95.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-multi-cloud/0.96.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-gkehub/README.md b/java-gkehub/README.md index 64fceacfc32b..ef33fd8bdbf3 100644 --- a/java-gkehub/README.md +++ b/java-gkehub/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-gkehub - 1.96.0 + 1.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-gkehub' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-gkehub:1.96.0' +implementation 'com.google.cloud:google-cloud-gkehub:1.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gkehub" % "1.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gkehub" % "1.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-gkehub/latest/overview [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-gkehub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gkehub/1.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gkehub/1.97.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-gkerecommender/README.md b/java-gkerecommender/README.md index 970f39452a15..3cc8217ac058 100644 --- a/java-gkerecommender/README.md +++ b/java-gkerecommender/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-gkerecommender - 0.16.0 + 0.17.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-gkerecommender' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-gkerecommender:0.16.0' +implementation 'com.google.cloud:google-cloud-gkerecommender:0.17.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gkerecommender" % "0.16.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gkerecommender" % "0.17.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-gkerecommender/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-gkerecommender.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gkerecommender/0.16.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gkerecommender/0.17.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-grafeas/README.md b/java-grafeas/README.md index 32ac52f3520e..e5970019df3f 100644 --- a/java-grafeas/README.md +++ b/java-grafeas/README.md @@ -18,20 +18,20 @@ If you are using Maven, add this to your pom.xml file: io.grafeas grafeas - 2.97.0 + 2.98.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'io.grafeas:grafeas:2.97.0' +implementation 'io.grafeas:grafeas:2.98.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "io.grafeas" % "grafeas" % "2.97.0" +libraryDependencies += "io.grafeas" % "grafeas" % "2.98.0" ``` ## Authentication @@ -149,7 +149,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/grafeas/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/io.grafeas/grafeas.svg -[maven-version-link]: https://central.sonatype.com/artifact/io.grafeas/grafeas/2.97.0 +[maven-version-link]: https://central.sonatype.com/artifact/io.grafeas/grafeas/2.98.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-gsuite-addons/README.md b/java-gsuite-addons/README.md index eb20307882a8..f8e5b1261dd8 100644 --- a/java-gsuite-addons/README.md +++ b/java-gsuite-addons/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-gsuite-addons - 2.96.0 + 2.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-gsuite-addons' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-gsuite-addons:2.96.0' +implementation 'com.google.cloud:google-cloud-gsuite-addons:2.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gsuite-addons" % "2.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gsuite-addons" % "2.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-gsuite-addons/latest/overview [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-gsuite-addons.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gsuite-addons/2.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gsuite-addons/2.97.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-health/README.md b/java-health/README.md index b3de81d8c1c1..790d17de471b 100644 --- a/java-health/README.md +++ b/java-health/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-health - 0.5.0 + 0.6.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-health' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-health:0.5.0' +implementation 'com.google.cloud:google-cloud-health:0.6.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-health" % "0.5.0" +libraryDependencies += "com.google.cloud" % "google-cloud-health" % "0.6.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-health/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-health.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-health/0.5.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-health/0.6.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-hypercomputecluster/README.md b/java-hypercomputecluster/README.md index 795c08da69f2..bede5e3fad6e 100644 --- a/java-hypercomputecluster/README.md +++ b/java-hypercomputecluster/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-hypercomputecluster - 0.16.0 + 0.17.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-hypercomputecluster' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-hypercomputecluster:0.16.0' +implementation 'com.google.cloud:google-cloud-hypercomputecluster:0.17.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-hypercomputecluster" % "0.16.0" +libraryDependencies += "com.google.cloud" % "google-cloud-hypercomputecluster" % "0.17.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-hypercomputecluster/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-hypercomputecluster.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-hypercomputecluster/0.16.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-hypercomputecluster/0.17.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-iam-admin/README.md b/java-iam-admin/README.md index 68638d6a58f5..4426d11b64cc 100644 --- a/java-iam-admin/README.md +++ b/java-iam-admin/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-iam-admin - 3.91.0 + 3.92.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-iam-admin' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-iam-admin:3.91.0' +implementation 'com.google.cloud:google-iam-admin:3.92.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-iam-admin" % "3.91.0" +libraryDependencies += "com.google.cloud" % "google-iam-admin" % "3.92.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-iam-admin/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-iam-admin.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-iam-admin/3.91.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-iam-admin/3.92.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-iam-policy/README.md b/java-iam-policy/README.md index 62ade63888f7..56a91d22fe1d 100644 --- a/java-iam-policy/README.md +++ b/java-iam-policy/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-iam-policy - 1.93.0 + 1.94.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-iam-policy' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-iam-policy:1.93.0' +implementation 'com.google.cloud:google-iam-policy:1.94.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-iam-policy" % "1.93.0" +libraryDependencies += "com.google.cloud" % "google-iam-policy" % "1.94.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/proto-google-iam-v1/latest/history [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-iam-policy.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-iam-policy/1.93.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-iam-policy/1.94.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-iamcredentials/README.md b/java-iamcredentials/README.md index e07aecc49dbe..6ebad1aec90c 100644 --- a/java-iamcredentials/README.md +++ b/java-iamcredentials/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-iamcredentials - 2.96.0 + 2.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-iamcredentials' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-iamcredentials:2.96.0' +implementation 'com.google.cloud:google-cloud-iamcredentials:2.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-iamcredentials" % "2.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-iamcredentials" % "2.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-iamcredentials/latest/overview [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-iamcredentials.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-iamcredentials/2.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-iamcredentials/2.97.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-iap/README.md b/java-iap/README.md index 61c5802b66ce..9b19e7825be7 100644 --- a/java-iap/README.md +++ b/java-iap/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-iap - 0.52.0 + 0.53.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-iap' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-iap:0.52.0' +implementation 'com.google.cloud:google-cloud-iap:0.53.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-iap" % "0.52.0" +libraryDependencies += "com.google.cloud" % "google-cloud-iap" % "0.53.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-iap/latest/overview [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-iap.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-iap/0.52.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-iap/0.53.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-ids/README.md b/java-ids/README.md index 5de2c94e9e3c..a382f8842338 100644 --- a/java-ids/README.md +++ b/java-ids/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-ids - 1.95.0 + 1.96.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-ids' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-ids:1.95.0' +implementation 'com.google.cloud:google-cloud-ids:1.96.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-ids" % "1.95.0" +libraryDependencies += "com.google.cloud" % "google-cloud-ids" % "1.96.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-ids/latest/overview [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-ids.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-ids/1.95.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-ids/1.96.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-infra-manager/README.md b/java-infra-manager/README.md index 7e305c82b3a8..6f178c58d674 100644 --- a/java-infra-manager/README.md +++ b/java-infra-manager/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-infra-manager - 0.73.0 + 0.74.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-infra-manager' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-infra-manager:0.73.0' +implementation 'com.google.cloud:google-cloud-infra-manager:0.74.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-infra-manager" % "0.73.0" +libraryDependencies += "com.google.cloud" % "google-cloud-infra-manager" % "0.74.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-infra-manager/latest/overview [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-infra-manager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-infra-manager/0.73.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-infra-manager/0.74.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-iot/README.md b/java-iot/README.md index 4201697f3295..e111629008eb 100644 --- a/java-iot/README.md +++ b/java-iot/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-iot - 2.96.0 + 2.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-iot' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-iot:2.96.0' +implementation 'com.google.cloud:google-cloud-iot:2.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-iot" % "2.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-iot" % "2.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-iot/latest/overview [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-iot.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-iot/2.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-iot/2.97.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-java-shopping-merchant-issue-resolution/README.md b/java-java-shopping-merchant-issue-resolution/README.md index 8d1497e8ef34..52040518c071 100644 --- a/java-java-shopping-merchant-issue-resolution/README.md +++ b/java-java-shopping-merchant-issue-resolution/README.md @@ -18,20 +18,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-issue-resolution - 1.24.0 + 1.25.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-issue-resolution:1.24.0' +implementation 'com.google.shopping:google-shopping-merchant-issue-resolution:1.25.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-issue-resolution" % "1.24.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-issue-resolution" % "1.25.0" ``` ## Authentication @@ -149,7 +149,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-issue-resolution/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-issue-resolution.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-issue-resolution/1.24.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-issue-resolution/1.25.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-java-shopping-merchant-order-tracking/README.md b/java-java-shopping-merchant-order-tracking/README.md index ac55ad085e05..a6bc140bbad1 100644 --- a/java-java-shopping-merchant-order-tracking/README.md +++ b/java-java-shopping-merchant-order-tracking/README.md @@ -18,20 +18,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-order-tracking - 1.24.0 + 1.25.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-order-tracking:1.24.0' +implementation 'com.google.shopping:google-shopping-merchant-order-tracking:1.25.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-order-tracking" % "1.24.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-order-tracking" % "1.25.0" ``` ## Authentication @@ -149,7 +149,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-order-tracking/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-order-tracking.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-order-tracking/1.24.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-order-tracking/1.25.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-kms/README.md b/java-kms/README.md index 050c530c71e9..46c25f3b0441 100644 --- a/java-kms/README.md +++ b/java-kms/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-kms - 2.99.0 + 2.100.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-kms' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-kms:2.99.0' +implementation 'com.google.cloud:google-cloud-kms:2.100.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-kms" % "2.99.0" +libraryDependencies += "com.google.cloud" % "google-cloud-kms" % "2.100.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-kms/latest/overview [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-kms.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-kms/2.99.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-kms/2.100.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-kmsinventory/README.md b/java-kmsinventory/README.md index 3f8287f45ac0..4e897ad8b1a4 100644 --- a/java-kmsinventory/README.md +++ b/java-kmsinventory/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-kmsinventory - 0.85.0 + 0.86.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-kmsinventory' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-kmsinventory:0.85.0' +implementation 'com.google.cloud:google-cloud-kmsinventory:0.86.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-kmsinventory" % "0.85.0" +libraryDependencies += "com.google.cloud" % "google-cloud-kmsinventory" % "0.86.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-kmsinventory/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-kmsinventory.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-kmsinventory/0.85.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-kmsinventory/0.86.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-language/README.md b/java-language/README.md index 78bab1e7816f..7c4a2de1966a 100644 --- a/java-language/README.md +++ b/java-language/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-language - 2.97.0 + 2.98.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-language' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-language:2.97.0' +implementation 'com.google.cloud:google-cloud-language:2.98.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-language" % "2.97.0" +libraryDependencies += "com.google.cloud" % "google-cloud-language" % "2.98.0" ``` ## Authentication @@ -214,7 +214,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-language/latest/overview [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-language.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-language/2.97.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-language/2.98.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-licensemanager/README.md b/java-licensemanager/README.md index e54f4b5177e6..c32c0b1c1eba 100644 --- a/java-licensemanager/README.md +++ b/java-licensemanager/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-licensemanager - 0.29.0 + 0.30.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-licensemanager' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-licensemanager:0.29.0' +implementation 'com.google.cloud:google-cloud-licensemanager:0.30.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-licensemanager" % "0.29.0" +libraryDependencies += "com.google.cloud" % "google-cloud-licensemanager" % "0.30.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-licensemanager/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-licensemanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-licensemanager/0.29.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-licensemanager/0.30.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-life-sciences/README.md b/java-life-sciences/README.md index 4669684aca90..2fd20e7483f8 100644 --- a/java-life-sciences/README.md +++ b/java-life-sciences/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-life-sciences - 0.98.0 + 0.99.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-life-sciences' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-life-sciences:0.98.0' +implementation 'com.google.cloud:google-cloud-life-sciences:0.99.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-life-sciences" % "0.98.0" +libraryDependencies += "com.google.cloud" % "google-cloud-life-sciences" % "0.99.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-life-sciences.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-life-sciences/0.98.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-life-sciences/0.99.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-locationfinder/README.md b/java-locationfinder/README.md index 1b5b56209c75..e2678202115f 100644 --- a/java-locationfinder/README.md +++ b/java-locationfinder/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-locationfinder - 0.21.0 + 0.22.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-locationfinder' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-locationfinder:0.21.0' +implementation 'com.google.cloud:google-cloud-locationfinder:0.22.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-locationfinder" % "0.21.0" +libraryDependencies += "com.google.cloud" % "google-cloud-locationfinder" % "0.22.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-locationfinder/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-locationfinder.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-locationfinder/0.21.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-locationfinder/0.22.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-logging/README.md b/java-logging/README.md index 269463be1ceb..c622f483fe85 100644 --- a/java-logging/README.md +++ b/java-logging/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-logging - 3.37.0 + 3.38.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-logging' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-logging:3.37.0' +implementation 'com.google.cloud:google-cloud-logging:3.38.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-logging" % "3.37.0" +libraryDependencies += "com.google.cloud" % "google-cloud-logging" % "3.38.0" ``` ## Authentication @@ -440,7 +440,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-logging/latest/history [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-logging.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-logging/3.37.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-logging/3.38.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-lustre/README.md b/java-lustre/README.md index b0c7e8aeab9f..3e9d222e43e7 100644 --- a/java-lustre/README.md +++ b/java-lustre/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-lustre - 0.36.0 + 0.37.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-lustre' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-lustre:0.36.0' +implementation 'com.google.cloud:google-cloud-lustre:0.37.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-lustre" % "0.36.0" +libraryDependencies += "com.google.cloud" % "google-cloud-lustre" % "0.37.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-lustre/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-lustre.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-lustre/0.36.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-lustre/0.37.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-maintenance/README.md b/java-maintenance/README.md index 80e7f6e52052..03d00a6c228a 100644 --- a/java-maintenance/README.md +++ b/java-maintenance/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-maintenance - 0.30.0 + 0.31.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-maintenance' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-maintenance:0.30.0' +implementation 'com.google.cloud:google-cloud-maintenance:0.31.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-maintenance" % "0.30.0" +libraryDependencies += "com.google.cloud" % "google-cloud-maintenance" % "0.31.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-maintenance/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-maintenance.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-maintenance/0.30.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-maintenance/0.31.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-managed-identities/README.md b/java-managed-identities/README.md index ba6d1bb70cc8..068871fe81b4 100644 --- a/java-managed-identities/README.md +++ b/java-managed-identities/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-managed-identities - 1.94.0 + 1.95.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-managed-identities' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-managed-identities:1.94.0' +implementation 'com.google.cloud:google-cloud-managed-identities:1.95.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-managed-identities" % "1.94.0" +libraryDependencies += "com.google.cloud" % "google-cloud-managed-identities" % "1.95.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-managed-identities/latest/overview [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-managed-identities.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-managed-identities/1.94.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-managed-identities/1.95.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-managedkafka/README.md b/java-managedkafka/README.md index 195195f5cdce..25f333e44f2a 100644 --- a/java-managedkafka/README.md +++ b/java-managedkafka/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-managedkafka - 0.52.0 + 0.53.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-managedkafka' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-managedkafka:0.52.0' +implementation 'com.google.cloud:google-cloud-managedkafka:0.53.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-managedkafka" % "0.52.0" +libraryDependencies += "com.google.cloud" % "google-cloud-managedkafka" % "0.53.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-managedkafka/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-managedkafka.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-managedkafka/0.52.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-managedkafka/0.53.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-maps-addressvalidation/README.md b/java-maps-addressvalidation/README.md index 680a71850df1..e2ef78f3bec6 100644 --- a/java-maps-addressvalidation/README.md +++ b/java-maps-addressvalidation/README.md @@ -21,20 +21,20 @@ If you are using Maven, add this to your pom.xml file: com.google.maps google-maps-addressvalidation - 0.90.0 + 0.91.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-addressvalidation:0.90.0' +implementation 'com.google.maps:google-maps-addressvalidation:0.91.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-addressvalidation" % "0.90.0" +libraryDependencies += "com.google.maps" % "google-maps-addressvalidation" % "0.91.0" ``` ## Authentication @@ -155,7 +155,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-maps-addressvalidation/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-addressvalidation.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-addressvalidation/0.90.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-addressvalidation/0.91.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-maps-area-insights/README.md b/java-maps-area-insights/README.md index f940dd0e1b79..ab5cfb86b749 100644 --- a/java-maps-area-insights/README.md +++ b/java-maps-area-insights/README.md @@ -21,20 +21,20 @@ If you are using Maven, add this to your pom.xml file: com.google.maps google-maps-area-insights - 0.47.0 + 0.48.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-area-insights:0.47.0' +implementation 'com.google.maps:google-maps-area-insights:0.48.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-area-insights" % "0.47.0" +libraryDependencies += "com.google.maps" % "google-maps-area-insights" % "0.48.0" ``` ## Authentication @@ -155,7 +155,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-maps-area-insights/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-area-insights.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-area-insights/0.47.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-area-insights/0.48.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-maps-fleetengine-delivery/README.md b/java-maps-fleetengine-delivery/README.md index bc7103b26054..7c961d1c8f38 100644 --- a/java-maps-fleetengine-delivery/README.md +++ b/java-maps-fleetengine-delivery/README.md @@ -21,20 +21,20 @@ If you are using Maven, add this to your pom.xml file: com.google.maps google-maps-fleetengine-delivery - 0.43.0 + 0.44.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-fleetengine-delivery:0.43.0' +implementation 'com.google.maps:google-maps-fleetengine-delivery:0.44.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-fleetengine-delivery" % "0.43.0" +libraryDependencies += "com.google.maps" % "google-maps-fleetengine-delivery" % "0.44.0" ``` ## Authentication @@ -155,7 +155,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-maps-fleetengine-delivery/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-fleetengine-delivery.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-fleetengine-delivery/0.43.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-fleetengine-delivery/0.44.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-maps-fleetengine/README.md b/java-maps-fleetengine/README.md index eadec5abc788..b1e22ddd40ab 100644 --- a/java-maps-fleetengine/README.md +++ b/java-maps-fleetengine/README.md @@ -21,20 +21,20 @@ If you are using Maven, add this to your pom.xml file: com.google.maps google-maps-fleetengine - 0.43.0 + 0.44.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-fleetengine:0.43.0' +implementation 'com.google.maps:google-maps-fleetengine:0.44.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-fleetengine" % "0.43.0" +libraryDependencies += "com.google.maps" % "google-maps-fleetengine" % "0.44.0" ``` ## Authentication @@ -155,7 +155,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-maps-fleetengine/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-fleetengine.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-fleetengine/0.43.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-fleetengine/0.44.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-maps-geocode/README.md b/java-maps-geocode/README.md index 14cd362f815f..a85180ce597c 100644 --- a/java-maps-geocode/README.md +++ b/java-maps-geocode/README.md @@ -21,20 +21,20 @@ If you are using Maven, add this to your pom.xml file: com.google.maps google-maps-geocode - 0.8.0 + 0.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-geocode:0.8.0' +implementation 'com.google.maps:google-maps-geocode:0.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-geocode" % "0.8.0" +libraryDependencies += "com.google.maps" % "google-maps-geocode" % "0.9.0" ``` ## Authentication @@ -155,7 +155,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-maps-geocode/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-geocode.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-geocode/0.8.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-geocode/0.9.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-maps-isochrones/README.md b/java-maps-isochrones/README.md index 3aee81212bda..cb24d62e725f 100644 --- a/java-maps-isochrones/README.md +++ b/java-maps-isochrones/README.md @@ -21,20 +21,20 @@ If you are using Maven, add this to your pom.xml file: com.google.maps google-maps-isochrones - 0.2.0 + 0.3.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-isochrones:0.2.0' +implementation 'com.google.maps:google-maps-isochrones:0.3.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-isochrones" % "0.2.0" +libraryDependencies += "com.google.maps" % "google-maps-isochrones" % "0.3.0" ``` ## Authentication @@ -155,7 +155,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-maps-isochrones/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-isochrones.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-isochrones/0.2.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-isochrones/0.3.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-maps-mapmanagement/README.md b/java-maps-mapmanagement/README.md index 4278318ea41d..d299f7d0aabf 100644 --- a/java-maps-mapmanagement/README.md +++ b/java-maps-mapmanagement/README.md @@ -21,20 +21,20 @@ If you are using Maven, add this to your pom.xml file: com.google.maps google-maps-mapmanagement - 0.5.0 + 0.6.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-mapmanagement:0.5.0' +implementation 'com.google.maps:google-maps-mapmanagement:0.6.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-mapmanagement" % "0.5.0" +libraryDependencies += "com.google.maps" % "google-maps-mapmanagement" % "0.6.0" ``` ## Authentication @@ -155,7 +155,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-maps-mapmanagement/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-mapmanagement.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-mapmanagement/0.5.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-mapmanagement/0.6.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-maps-mapsplatformdatasets/README.md b/java-maps-mapsplatformdatasets/README.md index c53c9bcd3954..9c00e6664e6c 100644 --- a/java-maps-mapsplatformdatasets/README.md +++ b/java-maps-mapsplatformdatasets/README.md @@ -21,20 +21,20 @@ If you are using Maven, add this to your pom.xml file: com.google.maps google-maps-mapsplatformdatasets - 0.85.0 + 0.86.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-mapsplatformdatasets:0.85.0' +implementation 'com.google.maps:google-maps-mapsplatformdatasets:0.86.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-mapsplatformdatasets" % "0.85.0" +libraryDependencies += "com.google.maps" % "google-maps-mapsplatformdatasets" % "0.86.0" ``` ## Authentication @@ -156,7 +156,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-maps-mapsplatformdatasets/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-mapsplatformdatasets.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-mapsplatformdatasets/0.85.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-mapsplatformdatasets/0.86.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-maps-navconnect/README.md b/java-maps-navconnect/README.md index 3fc719ce329a..c82970e6e761 100644 --- a/java-maps-navconnect/README.md +++ b/java-maps-navconnect/README.md @@ -21,20 +21,20 @@ If you are using Maven, add this to your pom.xml file: com.google.maps google-maps-navconnect - 0.2.0 + 0.3.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-navconnect:0.2.0' +implementation 'com.google.maps:google-maps-navconnect:0.3.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-navconnect" % "0.2.0" +libraryDependencies += "com.google.maps" % "google-maps-navconnect" % "0.3.0" ``` ## Authentication @@ -155,7 +155,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-maps-navconnect/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-navconnect.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-navconnect/0.2.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-navconnect/0.3.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-maps-places/README.md b/java-maps-places/README.md index 954d7ff28ca3..7c531a7efce6 100644 --- a/java-maps-places/README.md +++ b/java-maps-places/README.md @@ -21,20 +21,20 @@ If you are using Maven, add this to your pom.xml file: com.google.maps google-maps-places - 0.67.0 + 0.68.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-places:0.67.0' +implementation 'com.google.maps:google-maps-places:0.68.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-places" % "0.67.0" +libraryDependencies += "com.google.maps" % "google-maps-places" % "0.68.0" ``` ## Authentication @@ -161,7 +161,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-maps-places/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-places.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-places/0.67.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-places/0.68.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-maps-routeoptimization/README.md b/java-maps-routeoptimization/README.md index 12d553387567..ed49584528bc 100644 --- a/java-maps-routeoptimization/README.md +++ b/java-maps-routeoptimization/README.md @@ -21,20 +21,20 @@ If you are using Maven, add this to your pom.xml file: com.google.maps google-maps-routeoptimization - 0.54.0 + 0.55.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-routeoptimization:0.54.0' +implementation 'com.google.maps:google-maps-routeoptimization:0.55.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-routeoptimization" % "0.54.0" +libraryDependencies += "com.google.maps" % "google-maps-routeoptimization" % "0.55.0" ``` ## Authentication @@ -155,7 +155,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-maps-routeoptimization/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-routeoptimization.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-routeoptimization/0.54.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-routeoptimization/0.55.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-maps-routing/README.md b/java-maps-routing/README.md index 9c04907cc575..c64e0d864021 100644 --- a/java-maps-routing/README.md +++ b/java-maps-routing/README.md @@ -18,20 +18,20 @@ If you are using Maven, add this to your pom.xml file: com.google.maps google-maps-routing - 1.81.0 + 1.82.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-routing:1.81.0' +implementation 'com.google.maps:google-maps-routing:1.82.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-routing" % "1.81.0" +libraryDependencies += "com.google.maps" % "google-maps-routing" % "1.82.0" ``` ## Authentication @@ -149,7 +149,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-maps-routing/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-routing.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-routing/1.81.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-routing/1.82.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-maps-solar/README.md b/java-maps-solar/README.md index 44326b7ec86d..4c071d2172a9 100644 --- a/java-maps-solar/README.md +++ b/java-maps-solar/README.md @@ -21,20 +21,20 @@ If you are using Maven, add this to your pom.xml file: com.google.maps google-maps-solar - 0.55.0 + 0.56.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-solar:0.55.0' +implementation 'com.google.maps:google-maps-solar:0.56.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-solar" % "0.55.0" +libraryDependencies += "com.google.maps" % "google-maps-solar" % "0.56.0" ``` ## Authentication @@ -155,7 +155,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-maps-solar/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-solar.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-solar/0.55.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-solar/0.56.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-marketingplatformadminapi/README.md b/java-marketingplatformadminapi/README.md index b114f434752d..35096d89bfb3 100644 --- a/java-marketingplatformadminapi/README.md +++ b/java-marketingplatformadminapi/README.md @@ -21,20 +21,20 @@ If you are using Maven, add this to your pom.xml file: com.google.ads-marketingplatform admin - 0.45.0 + 0.46.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.ads-marketingplatform:admin:0.45.0' +implementation 'com.google.ads-marketingplatform:admin:0.46.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.ads-marketingplatform" % "admin" % "0.45.0" +libraryDependencies += "com.google.ads-marketingplatform" % "admin" % "0.46.0" ``` ## Authentication @@ -155,7 +155,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/admin/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.ads-marketingplatform/admin.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.ads-marketingplatform/admin/0.45.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.ads-marketingplatform/admin/0.46.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-mediatranslation/README.md b/java-mediatranslation/README.md index 3dd51866307b..740b8aae6289 100644 --- a/java-mediatranslation/README.md +++ b/java-mediatranslation/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-mediatranslation - 0.102.0 + 0.103.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-mediatranslation' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-mediatranslation:0.102.0' +implementation 'com.google.cloud:google-cloud-mediatranslation:0.103.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-mediatranslation" % "0.102.0" +libraryDependencies += "com.google.cloud" % "google-cloud-mediatranslation" % "0.103.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-mediatranslation/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-mediatranslation.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-mediatranslation/0.102.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-mediatranslation/0.103.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-meet/README.md b/java-meet/README.md index 5c20fc7bd768..20971b090733 100644 --- a/java-meet/README.md +++ b/java-meet/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-meet - 0.63.0 + 0.64.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-meet' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-meet:0.63.0' +implementation 'com.google.cloud:google-cloud-meet:0.64.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-meet" % "0.63.0" +libraryDependencies += "com.google.cloud" % "google-cloud-meet" % "0.64.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-meet/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-meet.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-meet/0.63.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-meet/0.64.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-memcache/README.md b/java-memcache/README.md index 7d39d3162d85..512266c129f3 100644 --- a/java-memcache/README.md +++ b/java-memcache/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-memcache - 2.96.0 + 2.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-memcache' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-memcache:2.96.0' +implementation 'com.google.cloud:google-cloud-memcache:2.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-memcache" % "2.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-memcache" % "2.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-memcache/latest/overview [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-memcache.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-memcache/2.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-memcache/2.97.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-migrationcenter/README.md b/java-migrationcenter/README.md index 69289a0488a3..aba94f850596 100644 --- a/java-migrationcenter/README.md +++ b/java-migrationcenter/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-migrationcenter - 0.78.0 + 0.79.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-migrationcenter' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-migrationcenter:0.78.0' +implementation 'com.google.cloud:google-cloud-migrationcenter:0.79.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-migrationcenter" % "0.78.0" +libraryDependencies += "com.google.cloud" % "google-cloud-migrationcenter" % "0.79.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-migrationcenter/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-migrationcenter.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-migrationcenter/0.78.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-migrationcenter/0.79.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-modelarmor/README.md b/java-modelarmor/README.md index 864df3646f8f..2e72e36766d1 100644 --- a/java-modelarmor/README.md +++ b/java-modelarmor/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-modelarmor - 0.37.0 + 0.38.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-modelarmor' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-modelarmor:0.37.0' +implementation 'com.google.cloud:google-cloud-modelarmor:0.38.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-modelarmor" % "0.37.0" +libraryDependencies += "com.google.cloud" % "google-cloud-modelarmor" % "0.38.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-modelarmor/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-modelarmor.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-modelarmor/0.37.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-modelarmor/0.38.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-monitoring-dashboards/README.md b/java-monitoring-dashboards/README.md index dd61b8d95c84..3d2699a9ba74 100644 --- a/java-monitoring-dashboards/README.md +++ b/java-monitoring-dashboards/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-monitoring-dashboard - 2.98.0 + 2.99.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-monitoring-dashboard' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-monitoring-dashboard:2.98.0' +implementation 'com.google.cloud:google-cloud-monitoring-dashboard:2.99.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-monitoring-dashboard" % "2.98.0" +libraryDependencies += "com.google.cloud" % "google-cloud-monitoring-dashboard" % "2.99.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-monitoring-dashboard/latest/overview [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-monitoring-dashboard.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring-dashboard/2.98.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring-dashboard/2.99.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-monitoring-metricsscope/README.md b/java-monitoring-metricsscope/README.md index ef55ba0e82e4..257121e2003b 100644 --- a/java-monitoring-metricsscope/README.md +++ b/java-monitoring-metricsscope/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-monitoring-metricsscope - 0.90.0 + 0.91.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-monitoring-metricsscope' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-monitoring-metricsscope:0.90.0' +implementation 'com.google.cloud:google-cloud-monitoring-metricsscope:0.91.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-monitoring-metricsscope" % "0.90.0" +libraryDependencies += "com.google.cloud" % "google-cloud-monitoring-metricsscope" % "0.91.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-monitoring-metricsscope/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-monitoring-metricsscope.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring-metricsscope/0.90.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring-metricsscope/0.91.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-monitoring/README.md b/java-monitoring/README.md index e2530a9580a2..a0ca16df2c29 100644 --- a/java-monitoring/README.md +++ b/java-monitoring/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-monitoring - 3.97.0 + 3.98.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-monitoring' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-monitoring:3.97.0' +implementation 'com.google.cloud:google-cloud-monitoring:3.98.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-monitoring" % "3.97.0" +libraryDependencies += "com.google.cloud" % "google-cloud-monitoring" % "3.98.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-monitoring/latest/overview [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-monitoring.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring/3.97.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring/3.98.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-netapp/README.md b/java-netapp/README.md index a83efaa92651..546d5d98258a 100644 --- a/java-netapp/README.md +++ b/java-netapp/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-netapp - 0.75.0 + 0.76.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-netapp' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-netapp:0.75.0' +implementation 'com.google.cloud:google-cloud-netapp:0.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-netapp" % "0.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-netapp" % "0.76.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-netapp/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-netapp.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-netapp/0.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-netapp/0.76.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-network-management/README.md b/java-network-management/README.md index 6750468c3d98..7896fc1d1134 100644 --- a/java-network-management/README.md +++ b/java-network-management/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-network-management - 1.97.0 + 1.98.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-network-management' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-network-management:1.97.0' +implementation 'com.google.cloud:google-cloud-network-management:1.98.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-network-management" % "1.97.0" +libraryDependencies += "com.google.cloud" % "google-cloud-network-management" % "1.98.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-network-management/latest/overview [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-network-management.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-network-management/1.97.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-network-management/1.98.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-network-security/README.md b/java-network-security/README.md index 68acfde37c4a..e8b56a11ded1 100644 --- a/java-network-security/README.md +++ b/java-network-security/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-network-security - 0.99.0 + 0.100.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-network-security' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-network-security:0.99.0' +implementation 'com.google.cloud:google-cloud-network-security:0.100.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-network-security" % "0.99.0" +libraryDependencies += "com.google.cloud" % "google-cloud-network-security" % "0.100.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-network-security/latest/overview [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-network-security.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-network-security/0.99.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-network-security/0.100.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-networkconnectivity/README.md b/java-networkconnectivity/README.md index aa7eaf27a01c..764a06fadae7 100644 --- a/java-networkconnectivity/README.md +++ b/java-networkconnectivity/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-networkconnectivity - 1.95.0 + 1.96.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-networkconnectivity' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-networkconnectivity:1.95.0' +implementation 'com.google.cloud:google-cloud-networkconnectivity:1.96.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-networkconnectivity" % "1.95.0" +libraryDependencies += "com.google.cloud" % "google-cloud-networkconnectivity" % "1.96.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-networkconnectivity/latest/overview [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-networkconnectivity.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-networkconnectivity/1.95.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-networkconnectivity/1.96.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-networkservices/README.md b/java-networkservices/README.md index 1c591ca3342d..a65981228610 100644 --- a/java-networkservices/README.md +++ b/java-networkservices/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-networkservices - 0.52.0 + 0.53.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-networkservices' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-networkservices:0.52.0' +implementation 'com.google.cloud:google-cloud-networkservices:0.53.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-networkservices" % "0.52.0" +libraryDependencies += "com.google.cloud" % "google-cloud-networkservices" % "0.53.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-networkservices/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-networkservices.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-networkservices/0.52.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-networkservices/0.53.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-notebooks/README.md b/java-notebooks/README.md index ebffe5504d55..4d373be47c9c 100644 --- a/java-notebooks/README.md +++ b/java-notebooks/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-notebooks - 1.94.0 + 1.95.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-notebooks' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-notebooks:1.94.0' +implementation 'com.google.cloud:google-cloud-notebooks:1.95.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-notebooks" % "1.94.0" +libraryDependencies += "com.google.cloud" % "google-cloud-notebooks" % "1.95.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/overview [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-notebooks.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-notebooks/1.94.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-notebooks/1.95.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-optimization/README.md b/java-optimization/README.md index f9838b64936d..bc936e6c136c 100644 --- a/java-optimization/README.md +++ b/java-optimization/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-optimization - 1.94.0 + 1.95.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-optimization' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-optimization:1.94.0' +implementation 'com.google.cloud:google-cloud-optimization:1.95.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-optimization" % "1.94.0" +libraryDependencies += "com.google.cloud" % "google-cloud-optimization" % "1.95.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-optimization/latest/overview [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-optimization.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-optimization/1.94.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-optimization/1.95.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-oracledatabase/README.md b/java-oracledatabase/README.md index 1a181660737b..5274348a0a7f 100644 --- a/java-oracledatabase/README.md +++ b/java-oracledatabase/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-oracledatabase - 0.45.0 + 0.46.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-oracledatabase' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-oracledatabase:0.45.0' +implementation 'com.google.cloud:google-cloud-oracledatabase:0.46.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-oracledatabase" % "0.45.0" +libraryDependencies += "com.google.cloud" % "google-cloud-oracledatabase" % "0.46.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-oracledatabase.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-oracledatabase/0.45.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-oracledatabase/0.46.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-orchestration-airflow/README.md b/java-orchestration-airflow/README.md index ed01129b616e..5d21272deb64 100644 --- a/java-orchestration-airflow/README.md +++ b/java-orchestration-airflow/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-orchestration-airflow - 1.96.0 + 1.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-orchestration-airflow' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-orchestration-airflow:1.96.0' +implementation 'com.google.cloud:google-cloud-orchestration-airflow:1.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-orchestration-airflow" % "1.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-orchestration-airflow" % "1.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-orchestration-airflow/latest/overview [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-orchestration-airflow.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-orchestration-airflow/1.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-orchestration-airflow/1.97.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-orgpolicy/README.md b/java-orgpolicy/README.md index 788de92f21bf..c2a811be0d57 100644 --- a/java-orgpolicy/README.md +++ b/java-orgpolicy/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-orgpolicy - 2.96.0 + 2.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-orgpolicy' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-orgpolicy:2.96.0' +implementation 'com.google.cloud:google-cloud-orgpolicy:2.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-orgpolicy" % "2.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-orgpolicy" % "2.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/proto-google-cloud-orgpolicy-v1/latest/overview [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-orgpolicy.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-orgpolicy/2.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-orgpolicy/2.97.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-os-config/README.md b/java-os-config/README.md index 2dd302138d21..fae3740ca02f 100644 --- a/java-os-config/README.md +++ b/java-os-config/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-os-config - 2.98.0 + 2.99.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-os-config' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-os-config:2.98.0' +implementation 'com.google.cloud:google-cloud-os-config:2.99.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-os-config" % "2.98.0" +libraryDependencies += "com.google.cloud" % "google-cloud-os-config" % "2.99.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-os-config/latest/overview [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-os-config.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-os-config/2.98.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-os-config/2.99.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-os-login/README.md b/java-os-login/README.md index bad67eda5e01..f5912212cefb 100644 --- a/java-os-login/README.md +++ b/java-os-login/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-os-login - 2.95.0 + 2.96.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-os-login' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-os-login:2.95.0' +implementation 'com.google.cloud:google-cloud-os-login:2.96.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-os-login" % "2.95.0" +libraryDependencies += "com.google.cloud" % "google-cloud-os-login" % "2.96.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-os-login/latest/overview [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-os-login.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-os-login/2.95.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-os-login/2.96.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-parallelstore/README.md b/java-parallelstore/README.md index b433395f9ae4..29084eac3b37 100644 --- a/java-parallelstore/README.md +++ b/java-parallelstore/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-parallelstore - 0.59.0 + 0.60.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-parallelstore' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-parallelstore:0.59.0' +implementation 'com.google.cloud:google-cloud-parallelstore:0.60.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-parallelstore" % "0.59.0" +libraryDependencies += "com.google.cloud" % "google-cloud-parallelstore" % "0.60.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-parallelstore/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-parallelstore.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-parallelstore/0.59.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-parallelstore/0.60.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-parametermanager/README.md b/java-parametermanager/README.md index 5f82039fd19f..310a4eea86d7 100644 --- a/java-parametermanager/README.md +++ b/java-parametermanager/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-parametermanager - 0.40.0 + 0.41.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-parametermanager' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-parametermanager:0.40.0' +implementation 'com.google.cloud:google-cloud-parametermanager:0.41.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-parametermanager" % "0.40.0" +libraryDependencies += "com.google.cloud" % "google-cloud-parametermanager" % "0.41.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-parametermanager/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-parametermanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-parametermanager/0.40.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-parametermanager/0.41.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-phishingprotection/README.md b/java-phishingprotection/README.md index 34109c8ea1a4..170539ec5082 100644 --- a/java-phishingprotection/README.md +++ b/java-phishingprotection/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-phishingprotection - 0.127.0 + 0.128.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-phishingprotection' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-phishingprotection:0.127.0' +implementation 'com.google.cloud:google-cloud-phishingprotection:0.128.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-phishingprotection" % "0.127.0" +libraryDependencies += "com.google.cloud" % "google-cloud-phishingprotection" % "0.128.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-phishingprotection/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-phishingprotection.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-phishingprotection/0.127.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-phishingprotection/0.128.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-policy-troubleshooter/README.md b/java-policy-troubleshooter/README.md index 9295d79bdc82..a90abd1de686 100644 --- a/java-policy-troubleshooter/README.md +++ b/java-policy-troubleshooter/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-policy-troubleshooter - 1.95.0 + 1.96.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-policy-troubleshooter' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-policy-troubleshooter:1.95.0' +implementation 'com.google.cloud:google-cloud-policy-troubleshooter:1.96.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-policy-troubleshooter" % "1.95.0" +libraryDependencies += "com.google.cloud" % "google-cloud-policy-troubleshooter" % "1.96.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-policy-troubleshooter/latest/overview [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-policy-troubleshooter.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-policy-troubleshooter/1.95.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-policy-troubleshooter/1.96.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-policysimulator/README.md b/java-policysimulator/README.md index f457e7e67ff7..b4cb70a614ad 100644 --- a/java-policysimulator/README.md +++ b/java-policysimulator/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-policysimulator - 0.75.0 + 0.76.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-policysimulator' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-policysimulator:0.75.0' +implementation 'com.google.cloud:google-cloud-policysimulator:0.76.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-policysimulator" % "0.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-policysimulator" % "0.76.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-policysimulator/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-policysimulator.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-policysimulator/0.75.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-policysimulator/0.76.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-private-catalog/README.md b/java-private-catalog/README.md index d3e181deef84..3065f02205d7 100644 --- a/java-private-catalog/README.md +++ b/java-private-catalog/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-private-catalog - 0.98.0 + 0.99.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-private-catalog' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-private-catalog:0.98.0' +implementation 'com.google.cloud:google-cloud-private-catalog:0.99.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-private-catalog" % "0.98.0" +libraryDependencies += "com.google.cloud" % "google-cloud-private-catalog" % "0.99.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-private-catalog/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-private-catalog.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-private-catalog/0.98.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-private-catalog/0.99.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-privilegedaccessmanager/README.md b/java-privilegedaccessmanager/README.md index 779c395123e0..29f4b51a9600 100644 --- a/java-privilegedaccessmanager/README.md +++ b/java-privilegedaccessmanager/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-privilegedaccessmanager - 0.50.0 + 0.51.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-privilegedaccessmanager' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-privilegedaccessmanager:0.50.0' +implementation 'com.google.cloud:google-cloud-privilegedaccessmanager:0.51.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-privilegedaccessmanager" % "0.50.0" +libraryDependencies += "com.google.cloud" % "google-cloud-privilegedaccessmanager" % "0.51.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-privilegedaccessmanager/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-privilegedaccessmanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-privilegedaccessmanager/0.50.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-privilegedaccessmanager/0.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-productregistry/README.md b/java-productregistry/README.md index 0c1264e314a1..5b05326fac3e 100644 --- a/java-productregistry/README.md +++ b/java-productregistry/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-productregistry - 0.2.0 + 0.3.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-productregistry' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-productregistry:0.2.0' +implementation 'com.google.cloud:google-cloud-productregistry:0.3.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-productregistry" % "0.2.0" +libraryDependencies += "com.google.cloud" % "google-cloud-productregistry" % "0.3.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-productregistry/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-productregistry.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-productregistry/0.2.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-productregistry/0.3.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-profiler/README.md b/java-profiler/README.md index f0140c75a566..c48f467feb87 100644 --- a/java-profiler/README.md +++ b/java-profiler/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-profiler - 2.96.0 + 2.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-profiler' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-profiler:2.96.0' +implementation 'com.google.cloud:google-cloud-profiler:2.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-profiler" % "2.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-profiler" % "2.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-profiler/latest/overview [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-profiler.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-profiler/2.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-profiler/2.97.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-publicca/README.md b/java-publicca/README.md index 9e1ddc353c0c..afd94b4bf67b 100644 --- a/java-publicca/README.md +++ b/java-publicca/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-publicca - 0.93.0 + 0.94.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-publicca' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-publicca:0.93.0' +implementation 'com.google.cloud:google-cloud-publicca:0.94.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-publicca" % "0.93.0" +libraryDependencies += "com.google.cloud" % "google-cloud-publicca" % "0.94.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-publicca/latest/overview [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-publicca.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-publicca/0.93.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-publicca/0.94.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-pubsub/README.md b/java-pubsub/README.md index ef87e4e9fd88..fd0a6a98870c 100644 --- a/java-pubsub/README.md +++ b/java-pubsub/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-pubsub - 1.154.0 + 1.155.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-pubsub' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-pubsub:1.154.0' +implementation 'com.google.cloud:google-cloud-pubsub:1.155.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.154.0" +libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.155.0" ``` ## Authentication @@ -397,7 +397,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/history [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-pubsub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.154.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.155.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-rapidmigrationassessment/README.md b/java-rapidmigrationassessment/README.md index 716d5d5b0d6d..c9dbb539b290 100644 --- a/java-rapidmigrationassessment/README.md +++ b/java-rapidmigrationassessment/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-rapidmigrationassessment - 0.79.0 + 0.80.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-rapidmigrationassessment' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-rapidmigrationassessment:0.79.0' +implementation 'com.google.cloud:google-cloud-rapidmigrationassessment:0.80.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-rapidmigrationassessment" % "0.79.0" +libraryDependencies += "com.google.cloud" % "google-cloud-rapidmigrationassessment" % "0.80.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-rapidmigrationassessment/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-rapidmigrationassessment.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-rapidmigrationassessment/0.79.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-rapidmigrationassessment/0.80.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/README.md b/java-recaptchaenterprise/README.md index a21800595bf2..a5e5df4c42df 100644 --- a/java-recaptchaenterprise/README.md +++ b/java-recaptchaenterprise/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-recaptchaenterprise - 3.93.0 + 3.94.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-recaptchaenterprise' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-recaptchaenterprise:3.93.0' +implementation 'com.google.cloud:google-cloud-recaptchaenterprise:3.94.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-recaptchaenterprise" % "3.93.0" +libraryDependencies += "com.google.cloud" % "google-cloud-recaptchaenterprise" % "3.94.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-recaptchaenterprise/latest/overview [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.93.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recaptchaenterprise/3.94.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-recommendations-ai/README.md b/java-recommendations-ai/README.md index 3bc769b265c2..efcee3b2c75e 100644 --- a/java-recommendations-ai/README.md +++ b/java-recommendations-ai/README.md @@ -45,7 +45,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-recommendations-ai - 0.103.0 + 0.104.0 ``` @@ -60,13 +60,13 @@ implementation 'com.google.cloud:google-cloud-recommendations-ai' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-recommendations-ai:0.103.0' +implementation 'com.google.cloud:google-cloud-recommendations-ai:0.104.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-recommendations-ai" % "0.103.0" +libraryDependencies += "com.google.cloud" % "google-cloud-recommendations-ai" % "0.104.0" ``` ## Authentication @@ -187,7 +187,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-recommendations-ai/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-recommendations-ai.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recommendations-ai/0.103.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recommendations-ai/0.104.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-recommender/README.md b/java-recommender/README.md index 3d919d5855c2..1176d7f4e957 100644 --- a/java-recommender/README.md +++ b/java-recommender/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-recommender - 2.98.0 + 2.99.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-recommender' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-recommender:2.98.0' +implementation 'com.google.cloud:google-cloud-recommender:2.99.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-recommender" % "2.98.0" +libraryDependencies += "com.google.cloud" % "google-cloud-recommender" % "2.99.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-recommender/latest/overview [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-recommender.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recommender/2.98.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recommender/2.99.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-redis-cluster/README.md b/java-redis-cluster/README.md index 786eab6123a4..96725d32113e 100644 --- a/java-redis-cluster/README.md +++ b/java-redis-cluster/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-redis-cluster - 0.68.0 + 0.69.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-redis-cluster' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-redis-cluster:0.68.0' +implementation 'com.google.cloud:google-cloud-redis-cluster:0.69.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-redis-cluster" % "0.68.0" +libraryDependencies += "com.google.cloud" % "google-cloud-redis-cluster" % "0.69.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-redis-cluster/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-redis-cluster.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-redis-cluster/0.68.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-redis-cluster/0.69.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-redis/README.md b/java-redis/README.md index 59b8e201228a..9a29213e5021 100644 --- a/java-redis/README.md +++ b/java-redis/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-redis - 2.99.0 + 2.100.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-redis' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-redis:2.99.0' +implementation 'com.google.cloud:google-cloud-redis:2.100.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-redis" % "2.99.0" +libraryDependencies += "com.google.cloud" % "google-cloud-redis" % "2.100.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-redis/latest/overview [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-redis.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-redis/2.99.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-redis/2.100.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-resourcemanager/README.md b/java-resourcemanager/README.md index 31f8be84d0c4..3f12b9e82606 100644 --- a/java-resourcemanager/README.md +++ b/java-resourcemanager/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-resourcemanager - 1.98.0 + 1.99.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-resourcemanager' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-resourcemanager:1.98.0' +implementation 'com.google.cloud:google-cloud-resourcemanager:1.99.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-resourcemanager" % "1.98.0" +libraryDependencies += "com.google.cloud" % "google-cloud-resourcemanager" % "1.99.0" ``` ## Authentication @@ -323,7 +323,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-resourcemanager/latest/overview [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-resourcemanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-resourcemanager/1.98.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-resourcemanager/1.99.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-retail/README.md b/java-retail/README.md index 7c3d33fa5071..185ac7482ba8 100644 --- a/java-retail/README.md +++ b/java-retail/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-retail - 2.98.0 + 2.99.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-retail' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-retail:2.98.0' +implementation 'com.google.cloud:google-cloud-retail:2.99.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-retail" % "2.98.0" +libraryDependencies += "com.google.cloud" % "google-cloud-retail" % "2.99.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-retail/latest/overview [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-retail.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-retail/2.98.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-retail/2.99.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-run/README.md b/java-run/README.md index cd10c347db6e..545a88bc1c9e 100644 --- a/java-run/README.md +++ b/java-run/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-run - 0.96.0 + 0.97.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-run' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-run:0.96.0' +implementation 'com.google.cloud:google-cloud-run:0.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-run" % "0.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-run" % "0.97.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-run/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-run.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-run/0.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-run/0.97.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-saasservicemgmt/README.md b/java-saasservicemgmt/README.md index bdb357761216..21c741792a51 100644 --- a/java-saasservicemgmt/README.md +++ b/java-saasservicemgmt/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-saasservicemgmt - 0.26.0 + 0.27.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-saasservicemgmt' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-saasservicemgmt:0.26.0' +implementation 'com.google.cloud:google-cloud-saasservicemgmt:0.27.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-saasservicemgmt" % "0.26.0" +libraryDependencies += "com.google.cloud" % "google-cloud-saasservicemgmt" % "0.27.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-saasservicemgmt/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-saasservicemgmt.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-saasservicemgmt/0.26.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-saasservicemgmt/0.27.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-scheduler/README.md b/java-scheduler/README.md index 309ce44e95db..8f50709212f9 100644 --- a/java-scheduler/README.md +++ b/java-scheduler/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-scheduler - 2.96.0 + 2.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-scheduler' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-scheduler:2.96.0' +implementation 'com.google.cloud:google-cloud-scheduler:2.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-scheduler" % "2.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-scheduler" % "2.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-scheduler/latest/overview [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-scheduler.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-scheduler/2.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-scheduler/2.97.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-secretmanager/README.md b/java-secretmanager/README.md index 1467a008a1a2..ff6af5ea0a9d 100644 --- a/java-secretmanager/README.md +++ b/java-secretmanager/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-secretmanager - 2.96.0 + 2.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-secretmanager' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-secretmanager:2.96.0' +implementation 'com.google.cloud:google-cloud-secretmanager:2.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-secretmanager" % "2.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-secretmanager" % "2.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-secretmanager/latest/overview [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-secretmanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-secretmanager/2.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-secretmanager/2.97.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-securesourcemanager/README.md b/java-securesourcemanager/README.md index 1be291002aa0..2778d0256235 100644 --- a/java-securesourcemanager/README.md +++ b/java-securesourcemanager/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-securesourcemanager - 0.66.0 + 0.67.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-securesourcemanager' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-securesourcemanager:0.66.0' +implementation 'com.google.cloud:google-cloud-securesourcemanager:0.67.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securesourcemanager" % "0.66.0" +libraryDependencies += "com.google.cloud" % "google-cloud-securesourcemanager" % "0.67.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-securesourcemanager/latest/overview [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-securesourcemanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securesourcemanager/0.66.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securesourcemanager/0.67.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-security-private-ca/README.md b/java-security-private-ca/README.md index 5ed473f2ad08..0264d143d231 100644 --- a/java-security-private-ca/README.md +++ b/java-security-private-ca/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-security-private-ca - 2.98.0 + 2.99.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-security-private-ca' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-security-private-ca:2.98.0' +implementation 'com.google.cloud:google-cloud-security-private-ca:2.99.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-security-private-ca" % "2.98.0" +libraryDependencies += "com.google.cloud" % "google-cloud-security-private-ca" % "2.99.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-security-private-ca/latest/overview [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-security-private-ca.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-security-private-ca/2.98.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-security-private-ca/2.99.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-securitycenter-settings/README.md b/java-securitycenter-settings/README.md index 974dec1e3110..df09b61239d4 100644 --- a/java-securitycenter-settings/README.md +++ b/java-securitycenter-settings/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-securitycenter-settings - 0.99.0 + 0.100.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-securitycenter-settings' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-securitycenter-settings:0.99.0' +implementation 'com.google.cloud:google-cloud-securitycenter-settings:0.100.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter-settings" % "0.99.0" +libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter-settings" % "0.100.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-securitycenter-settings/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-securitycenter-settings.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycenter-settings/0.99.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycenter-settings/0.100.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-securitycenter/README.md b/java-securitycenter/README.md index b60e5d888b15..c1f2aee35c85 100644 --- a/java-securitycenter/README.md +++ b/java-securitycenter/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-securitycenter - 2.104.0 + 2.105.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-securitycenter' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-securitycenter:2.104.0' +implementation 'com.google.cloud:google-cloud-securitycenter:2.105.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter" % "2.104.0" +libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter" % "2.105.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-securitycenter/latest/overview [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-securitycenter.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycenter/2.104.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycenter/2.105.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-securitycentermanagement/README.md b/java-securitycentermanagement/README.md index 62a29f438d35..d378337749fb 100644 --- a/java-securitycentermanagement/README.md +++ b/java-securitycentermanagement/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-securitycentermanagement - 0.64.0 + 0.65.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-securitycentermanagement' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-securitycentermanagement:0.64.0' +implementation 'com.google.cloud:google-cloud-securitycentermanagement:0.65.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securitycentermanagement" % "0.64.0" +libraryDependencies += "com.google.cloud" % "google-cloud-securitycentermanagement" % "0.65.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-securitycentermanagement/latest/overview [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-securitycentermanagement.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycentermanagement/0.64.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycentermanagement/0.65.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-securityposture/README.md b/java-securityposture/README.md index 46a201dbf560..aa7eaf12d01b 100644 --- a/java-securityposture/README.md +++ b/java-securityposture/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-securityposture - 0.61.0 + 0.62.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-securityposture' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-securityposture:0.61.0' +implementation 'com.google.cloud:google-cloud-securityposture:0.62.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securityposture" % "0.61.0" +libraryDependencies += "com.google.cloud" % "google-cloud-securityposture" % "0.62.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-securityposture/latest/overview [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-securityposture.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securityposture/0.61.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securityposture/0.62.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-service-control/README.md b/java-service-control/README.md index 41d19e3eabf6..4d45f32f530b 100644 --- a/java-service-control/README.md +++ b/java-service-control/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-service-control - 1.96.0 + 1.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-service-control' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-service-control:1.96.0' +implementation 'com.google.cloud:google-cloud-service-control:1.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-service-control" % "1.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-service-control" % "1.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-service-control/latest/overview [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-service-control.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-control/1.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-control/1.97.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-service-management/README.md b/java-service-management/README.md index 96616bd23af7..d84ebf767a3f 100644 --- a/java-service-management/README.md +++ b/java-service-management/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-service-management - 3.94.0 + 3.95.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-service-management' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-service-management:3.94.0' +implementation 'com.google.cloud:google-cloud-service-management:3.95.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-service-management" % "3.94.0" +libraryDependencies += "com.google.cloud" % "google-cloud-service-management" % "3.95.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-service-management/latest/overview [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-service-management.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-management/3.94.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-management/3.95.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-service-usage/README.md b/java-service-usage/README.md index c336f44ea1ae..636c396494b7 100644 --- a/java-service-usage/README.md +++ b/java-service-usage/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-service-usage - 2.96.0 + 2.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-service-usage' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-service-usage:2.96.0' +implementation 'com.google.cloud:google-cloud-service-usage:2.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-service-usage" % "2.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-service-usage" % "2.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-service-usage/latest/overview [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-service-usage.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-usage/2.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-usage/2.97.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-servicedirectory/README.md b/java-servicedirectory/README.md index 7e68f06b7733..ba44c0a23bf1 100644 --- a/java-servicedirectory/README.md +++ b/java-servicedirectory/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-servicedirectory - 2.97.0 + 2.98.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-servicedirectory' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-servicedirectory:2.97.0' +implementation 'com.google.cloud:google-cloud-servicedirectory:2.98.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-servicedirectory" % "2.97.0" +libraryDependencies += "com.google.cloud" % "google-cloud-servicedirectory" % "2.98.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-servicedirectory/latest/overview [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-servicedirectory.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-servicedirectory/2.97.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-servicedirectory/2.98.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-servicehealth/README.md b/java-servicehealth/README.md index 40d0929d5dbb..a03a622082af 100644 --- a/java-servicehealth/README.md +++ b/java-servicehealth/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-servicehealth - 0.63.0 + 0.64.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-servicehealth' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-servicehealth:0.63.0' +implementation 'com.google.cloud:google-cloud-servicehealth:0.64.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-servicehealth" % "0.63.0" +libraryDependencies += "com.google.cloud" % "google-cloud-servicehealth" % "0.64.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-servicehealth/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-servicehealth.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-servicehealth/0.63.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-servicehealth/0.64.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-shell/README.md b/java-shell/README.md index 07322c6fc172..94823851c162 100644 --- a/java-shell/README.md +++ b/java-shell/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-shell - 2.95.0 + 2.96.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-shell' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-shell:2.95.0' +implementation 'com.google.cloud:google-cloud-shell:2.96.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-shell" % "2.95.0" +libraryDependencies += "com.google.cloud" % "google-cloud-shell" % "2.96.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-shell/latest/overview [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-shell.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-shell/2.95.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-shell/2.96.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-shopping-css/README.md b/java-shopping-css/README.md index b7d825d6bc2b..d3aa2fd2ee1c 100644 --- a/java-shopping-css/README.md +++ b/java-shopping-css/README.md @@ -21,20 +21,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-css - 0.64.0 + 0.65.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-css:0.64.0' +implementation 'com.google.shopping:google-shopping-css:0.65.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-css" % "0.64.0" +libraryDependencies += "com.google.shopping" % "google-shopping-css" % "0.65.0" ``` ## Authentication @@ -155,7 +155,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-css/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-css.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-css/0.64.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-css/0.65.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-shopping-merchant-accounts/README.md b/java-shopping-merchant-accounts/README.md index 61e15a5c041a..5a668adfd70d 100644 --- a/java-shopping-merchant-accounts/README.md +++ b/java-shopping-merchant-accounts/README.md @@ -18,20 +18,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-accounts - 1.24.0 + 1.25.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-accounts:1.24.0' +implementation 'com.google.shopping:google-shopping-merchant-accounts:1.25.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-accounts" % "1.24.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-accounts" % "1.25.0" ``` ## Authentication @@ -149,7 +149,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-accounts.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-accounts/1.24.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-accounts/1.25.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-shopping-merchant-conversions/README.md b/java-shopping-merchant-conversions/README.md index 169442da0353..f71c556a56e2 100644 --- a/java-shopping-merchant-conversions/README.md +++ b/java-shopping-merchant-conversions/README.md @@ -18,20 +18,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-conversions - 1.24.0 + 1.25.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-conversions:1.24.0' +implementation 'com.google.shopping:google-shopping-merchant-conversions:1.25.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-conversions" % "1.24.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-conversions" % "1.25.0" ``` ## Authentication @@ -149,7 +149,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-conversions/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-conversions.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-conversions/1.24.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-conversions/1.25.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-shopping-merchant-datasources/README.md b/java-shopping-merchant-datasources/README.md index 7c58be1da24c..c144734e4ae8 100644 --- a/java-shopping-merchant-datasources/README.md +++ b/java-shopping-merchant-datasources/README.md @@ -18,20 +18,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-datasources - 1.24.0 + 1.25.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-datasources:1.24.0' +implementation 'com.google.shopping:google-shopping-merchant-datasources:1.25.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-datasources" % "1.24.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-datasources" % "1.25.0" ``` ## Authentication @@ -149,7 +149,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-datasources/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-datasources.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-datasources/1.24.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-datasources/1.25.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-shopping-merchant-inventories/README.md b/java-shopping-merchant-inventories/README.md index ba76d06bef49..c3b8e84fb56f 100644 --- a/java-shopping-merchant-inventories/README.md +++ b/java-shopping-merchant-inventories/README.md @@ -18,20 +18,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-inventories - 1.24.0 + 1.25.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-inventories:1.24.0' +implementation 'com.google.shopping:google-shopping-merchant-inventories:1.25.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-inventories" % "1.24.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-inventories" % "1.25.0" ``` ## Authentication @@ -149,7 +149,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-inventories/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-inventories.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-inventories/1.24.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-inventories/1.25.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-shopping-merchant-lfp/README.md b/java-shopping-merchant-lfp/README.md index 1d6944a3db95..35cb88ef89d9 100644 --- a/java-shopping-merchant-lfp/README.md +++ b/java-shopping-merchant-lfp/README.md @@ -18,20 +18,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-lfp - 1.24.0 + 1.25.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-lfp:1.24.0' +implementation 'com.google.shopping:google-shopping-merchant-lfp:1.25.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-lfp" % "1.24.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-lfp" % "1.25.0" ``` ## Authentication @@ -149,7 +149,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-lfp/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-lfp.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-lfp/1.24.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-lfp/1.25.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-shopping-merchant-loyaltycustomers/README.md b/java-shopping-merchant-loyaltycustomers/README.md index 040a54a87b6a..659ca94f0616 100644 --- a/java-shopping-merchant-loyaltycustomers/README.md +++ b/java-shopping-merchant-loyaltycustomers/README.md @@ -21,20 +21,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-loyaltycustomers - 0.0.0 + 0.1.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-loyaltycustomers:0.0.0' +implementation 'com.google.shopping:google-shopping-merchant-loyaltycustomers:0.1.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-loyaltycustomers" % "0.0.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-loyaltycustomers" % "0.1.0" ``` ## Authentication @@ -155,7 +155,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-loyaltycustomers/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-loyaltycustomers.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-loyaltycustomers/0.0.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-loyaltycustomers/0.1.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-shopping-merchant-loyaltycustomers/proto-google-shopping-merchant-loyaltycustomers-v1/src/main/java/com/google/shopping/merchant/loyaltycustomers/v1/LoyaltyCustomerProto.java b/java-shopping-merchant-loyaltycustomers/proto-google-shopping-merchant-loyaltycustomers-v1/src/main/java/com/google/shopping/merchant/loyaltycustomers/v1/LoyaltyCustomerProto.java index 8e72f86d9042..4812616237c2 100644 --- a/java-shopping-merchant-loyaltycustomers/proto-google-shopping-merchant-loyaltycustomers-v1/src/main/java/com/google/shopping/merchant/loyaltycustomers/v1/LoyaltyCustomerProto.java +++ b/java-shopping-merchant-loyaltycustomers/proto-google-shopping-merchant-loyaltycustomers-v1/src/main/java/com/google/shopping/merchant/loyaltycustomers/v1/LoyaltyCustomerProto.java @@ -118,10 +118,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "eLoyaltyCustomerMatchResponse\"K\202\323\344\223\002E\"@/" + "loyaltyCustomers/v1/{parent=accounts/*}/" + "loyaltyCustomers:manage:\001*\032G\312A\032merchanta" - + "pi.googleapis.com\322A\'https://www.googleapis.com/auth/contentB\351\001\n" + + "pi.googleapis.com\322A\'https://www.googleapis.com/auth/contentB\372\002\n" + "0com.google.shopping.merchant.loyaltycustomers.v1B\024Loyalt" - + "yCustomerProtoP\001Zbcloud.google.com/go/sh" - + "opping/merchant/loyaltycustomers/apiv1/loyaltycustomerspb;loyaltycustomerspb\352A8\n" + + "yCustomerProtoP\001Zbcloud.google.com/go/shopping/merchant/loyaltycustomers/apiv1/l" + + "oyaltycustomerspb;loyaltycustomerspb\252\002,Google.Shopping.Merchant.LoyaltyCustomers" + + ".V1\312\002,Google\\Shopping\\Merchant\\LoyaltyCu" + + "stomers\\V1\352\0020Google::Shopping::Merchant::LoyaltyCustomers::V1\352A8\n" + "\"merchantapi.googleapis.com/Account\022\022accounts/{account}b\006proto3" }; descriptor = diff --git a/java-shopping-merchant-loyaltycustomers/proto-google-shopping-merchant-loyaltycustomers-v1/src/main/proto/google/shopping/merchant/loyaltycustomers/v1/loyalty_customer.proto b/java-shopping-merchant-loyaltycustomers/proto-google-shopping-merchant-loyaltycustomers-v1/src/main/proto/google/shopping/merchant/loyaltycustomers/v1/loyalty_customer.proto index 3d462ac8f44e..921a447bf12b 100644 --- a/java-shopping-merchant-loyaltycustomers/proto-google-shopping-merchant-loyaltycustomers-v1/src/main/proto/google/shopping/merchant/loyaltycustomers/v1/loyalty_customer.proto +++ b/java-shopping-merchant-loyaltycustomers/proto-google-shopping-merchant-loyaltycustomers-v1/src/main/proto/google/shopping/merchant/loyaltycustomers/v1/loyalty_customer.proto @@ -21,10 +21,13 @@ import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +option csharp_namespace = "Google.Shopping.Merchant.LoyaltyCustomers.V1"; option go_package = "cloud.google.com/go/shopping/merchant/loyaltycustomers/apiv1/loyaltycustomerspb;loyaltycustomerspb"; option java_multiple_files = true; option java_outer_classname = "LoyaltyCustomerProto"; option java_package = "com.google.shopping.merchant.loyaltycustomers.v1"; +option php_namespace = "Google\\Shopping\\Merchant\\LoyaltyCustomers\\V1"; +option ruby_package = "Google::Shopping::Merchant::LoyaltyCustomers::V1"; option (google.api.resource_definition) = { type: "merchantapi.googleapis.com/Account" pattern: "accounts/{account}" diff --git a/java-shopping-merchant-notifications/README.md b/java-shopping-merchant-notifications/README.md index c75ff3e81864..f9a1aa5bc9ee 100644 --- a/java-shopping-merchant-notifications/README.md +++ b/java-shopping-merchant-notifications/README.md @@ -18,20 +18,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-notifications - 1.24.0 + 1.25.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-notifications:1.24.0' +implementation 'com.google.shopping:google-shopping-merchant-notifications:1.25.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-notifications" % "1.24.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-notifications" % "1.25.0" ``` ## Authentication @@ -149,7 +149,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-notifications/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-notifications.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-notifications/1.24.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-notifications/1.25.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-shopping-merchant-product-studio/README.md b/java-shopping-merchant-product-studio/README.md index 471585d3ac38..2f00af07540b 100644 --- a/java-shopping-merchant-product-studio/README.md +++ b/java-shopping-merchant-product-studio/README.md @@ -21,20 +21,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-productstudio - 0.36.0 + 0.37.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-productstudio:0.36.0' +implementation 'com.google.shopping:google-shopping-merchant-productstudio:0.37.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-productstudio" % "0.36.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-productstudio" % "0.37.0" ``` ## Authentication @@ -155,7 +155,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-productstudio/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-productstudio.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-productstudio/0.36.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-productstudio/0.37.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-shopping-merchant-products/README.md b/java-shopping-merchant-products/README.md index c26133cdb746..a600a00da268 100644 --- a/java-shopping-merchant-products/README.md +++ b/java-shopping-merchant-products/README.md @@ -18,20 +18,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-products - 1.24.0 + 1.25.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-products:1.24.0' +implementation 'com.google.shopping:google-shopping-merchant-products:1.25.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-products" % "1.24.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-products" % "1.25.0" ``` ## Authentication @@ -149,7 +149,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-products/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-products.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-products/1.24.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-products/1.25.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-shopping-merchant-promotions/README.md b/java-shopping-merchant-promotions/README.md index fe9fecbb89b7..0591066eff94 100644 --- a/java-shopping-merchant-promotions/README.md +++ b/java-shopping-merchant-promotions/README.md @@ -18,20 +18,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-promotions - 1.24.0 + 1.25.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-promotions:1.24.0' +implementation 'com.google.shopping:google-shopping-merchant-promotions:1.25.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-promotions" % "1.24.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-promotions" % "1.25.0" ``` ## Authentication @@ -149,7 +149,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-promotions/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-promotions.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-promotions/1.24.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-promotions/1.25.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-shopping-merchant-quota/README.md b/java-shopping-merchant-quota/README.md index e2d0e7148e66..083b77b639eb 100644 --- a/java-shopping-merchant-quota/README.md +++ b/java-shopping-merchant-quota/README.md @@ -18,20 +18,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-quota - 1.24.0 + 1.25.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-quota:1.24.0' +implementation 'com.google.shopping:google-shopping-merchant-quota:1.25.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-quota" % "1.24.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-quota" % "1.25.0" ``` ## Authentication @@ -149,7 +149,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-quota/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-quota.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-quota/1.24.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-quota/1.25.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-shopping-merchant-reports/README.md b/java-shopping-merchant-reports/README.md index cb19e4f90946..38bcaca4c38c 100644 --- a/java-shopping-merchant-reports/README.md +++ b/java-shopping-merchant-reports/README.md @@ -18,20 +18,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-reports - 1.24.0 + 1.25.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-reports:1.24.0' +implementation 'com.google.shopping:google-shopping-merchant-reports:1.25.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-reports" % "1.24.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-reports" % "1.25.0" ``` ## Authentication @@ -149,7 +149,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-reports/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-reports.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-reports/1.24.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-reports/1.25.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-shopping-merchant-reviews/README.md b/java-shopping-merchant-reviews/README.md index 1789be1b0eb5..497107b0e722 100644 --- a/java-shopping-merchant-reviews/README.md +++ b/java-shopping-merchant-reviews/README.md @@ -21,20 +21,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-reviews - 0.42.0 + 0.43.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-reviews:0.42.0' +implementation 'com.google.shopping:google-shopping-merchant-reviews:0.43.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-reviews" % "0.42.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-reviews" % "0.43.0" ``` ## Authentication @@ -155,7 +155,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-reviews/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-reviews.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-reviews/0.42.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-reviews/0.43.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-spanner/README.md b/java-spanner/README.md index 35476ac38631..8152894f0633 100644 --- a/java-spanner/README.md +++ b/java-spanner/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-spanner - 6.121.0 + 6.122.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-spanner' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-spanner:6.121.0' +implementation 'com.google.cloud:google-cloud-spanner:6.122.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-spanner" % "6.121.0" +libraryDependencies += "com.google.cloud" % "google-cloud-spanner" % "6.122.0" ``` ## Authentication @@ -589,7 +589,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-spanner/latest/history [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-spanner.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-spanner/6.121.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-spanner/6.122.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-spanneradapter/README.md b/java-spanneradapter/README.md index 78d074611ad7..3d50f286136a 100644 --- a/java-spanneradapter/README.md +++ b/java-spanneradapter/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-spanneradapter - 0.32.0 + 0.33.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-spanneradapter' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-spanneradapter:0.32.0' +implementation 'com.google.cloud:google-cloud-spanneradapter:0.33.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-spanneradapter" % "0.32.0" +libraryDependencies += "com.google.cloud" % "google-cloud-spanneradapter" % "0.33.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-spanneradapter/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-spanneradapter.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-spanneradapter/0.32.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-spanneradapter/0.33.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-speech/README.md b/java-speech/README.md index c7249e49ecb9..5fe8dcbca2fe 100644 --- a/java-speech/README.md +++ b/java-speech/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-speech - 4.91.0 + 4.92.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-speech' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-speech:4.91.0' +implementation 'com.google.cloud:google-cloud-speech:4.92.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-speech" % "4.91.0" +libraryDependencies += "com.google.cloud" % "google-cloud-speech" % "4.92.0" ``` ## Authentication @@ -218,7 +218,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-speech/latest/overview [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-speech.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-speech/4.91.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-speech/4.92.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-storage-transfer/README.md b/java-storage-transfer/README.md index e10b2f007e14..745e2cb2adbc 100644 --- a/java-storage-transfer/README.md +++ b/java-storage-transfer/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-storage-transfer - 1.96.0 + 1.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-storage-transfer' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-storage-transfer:1.96.0' +implementation 'com.google.cloud:google-cloud-storage-transfer:1.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-storage-transfer" % "1.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-storage-transfer" % "1.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-storage-transfer/latest/overview [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-storage-transfer.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storage-transfer/1.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storage-transfer/1.97.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-storage/README.md b/java-storage/README.md index dd6fb575b18c..fa05b3d6ecff 100644 --- a/java-storage/README.md +++ b/java-storage/README.md @@ -45,12 +45,12 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-storage - 2.72.0 + 2.73.0 com.google.cloud google-cloud-storage-control - 2.72.0 + 2.73.0 ``` @@ -65,13 +65,13 @@ implementation 'com.google.cloud:google-cloud-storage' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-storage:2.72.0' +implementation 'com.google.cloud:google-cloud-storage:2.73.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "2.72.0" +libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "2.73.0" ``` ## Authentication @@ -472,7 +472,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-storage/latest/history [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-storage.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storage/2.72.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storage/2.73.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-storage/google-cloud-storage/src/test/java/com/google/cloud/storage/it/StorageNativeCanary.java b/java-storage/google-cloud-storage/src/test/java/com/google/cloud/storage/it/StorageNativeCanary.java index bfbde133584d..a047fae3cbde 100644 --- a/java-storage/google-cloud-storage/src/test/java/com/google/cloud/storage/it/StorageNativeCanary.java +++ b/java-storage/google-cloud-storage/src/test/java/com/google/cloud/storage/it/StorageNativeCanary.java @@ -145,7 +145,8 @@ private static void assertBehaviorOfPrimaryStorageActions(Storage storage) throw || se.getMessage().contains("storage.buckets.create") || se.getMessage().contains("Forbidden")))) { assumeNoException( - "Skipping StorageNativeCanary: GCP credentials/permissions not configured for bucket creation", + "Skipping StorageNativeCanary: GCP credentials/permissions not configured for bucket" + + " creation", storageException); } } diff --git a/java-storagebatchoperations/README.md b/java-storagebatchoperations/README.md index 25f9eedccd43..f66003a7a688 100644 --- a/java-storagebatchoperations/README.md +++ b/java-storagebatchoperations/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-storagebatchoperations - 0.36.0 + 0.37.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-storagebatchoperations' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-storagebatchoperations:0.36.0' +implementation 'com.google.cloud:google-cloud-storagebatchoperations:0.37.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-storagebatchoperations" % "0.36.0" +libraryDependencies += "com.google.cloud" % "google-cloud-storagebatchoperations" % "0.37.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-storagebatchoperations/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-storagebatchoperations.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storagebatchoperations/0.36.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storagebatchoperations/0.37.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-storageinsights/README.md b/java-storageinsights/README.md index bab05ccbc37d..20b72930d5f2 100644 --- a/java-storageinsights/README.md +++ b/java-storageinsights/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-storageinsights - 0.81.0 + 0.82.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-storageinsights' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-storageinsights:0.81.0' +implementation 'com.google.cloud:google-cloud-storageinsights:0.82.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-storageinsights" % "0.81.0" +libraryDependencies += "com.google.cloud" % "google-cloud-storageinsights" % "0.82.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-storageinsights/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-storageinsights.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storageinsights/0.81.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storageinsights/0.82.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-talent/README.md b/java-talent/README.md index aa98fea476e8..40b6668d84e9 100644 --- a/java-talent/README.md +++ b/java-talent/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-talent - 2.97.0 + 2.98.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-talent' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-talent:2.97.0' +implementation 'com.google.cloud:google-cloud-talent:2.98.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-talent" % "2.97.0" +libraryDependencies += "com.google.cloud" % "google-cloud-talent" % "2.98.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-talent/latest/overview [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-talent.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-talent/2.97.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-talent/2.98.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-tasks/README.md b/java-tasks/README.md index 0ccc64a74c45..398817c31c3f 100644 --- a/java-tasks/README.md +++ b/java-tasks/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-tasks - 2.96.0 + 2.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-tasks' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-tasks:2.96.0' +implementation 'com.google.cloud:google-cloud-tasks:2.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-tasks" % "2.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-tasks" % "2.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-tasks/latest/overview [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-tasks.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-tasks/2.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-tasks/2.97.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-telcoautomation/README.md b/java-telcoautomation/README.md index 49a22a91d120..c17f142fee45 100644 --- a/java-telcoautomation/README.md +++ b/java-telcoautomation/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-telcoautomation - 0.66.0 + 0.67.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-telcoautomation' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-telcoautomation:0.66.0' +implementation 'com.google.cloud:google-cloud-telcoautomation:0.67.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-telcoautomation" % "0.66.0" +libraryDependencies += "com.google.cloud" % "google-cloud-telcoautomation" % "0.67.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-telcoautomation/latest/overview [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-telcoautomation.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-telcoautomation/0.66.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-telcoautomation/0.67.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-texttospeech/README.md b/java-texttospeech/README.md index 262d58616fe8..a7be7d6abeeb 100644 --- a/java-texttospeech/README.md +++ b/java-texttospeech/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-texttospeech - 2.97.0 + 2.98.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-texttospeech' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-texttospeech:2.97.0' +implementation 'com.google.cloud:google-cloud-texttospeech:2.98.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-texttospeech" % "2.97.0" +libraryDependencies += "com.google.cloud" % "google-cloud-texttospeech" % "2.98.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-texttospeech/latest/overview [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-texttospeech.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-texttospeech/2.97.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-texttospeech/2.98.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-tpu/README.md b/java-tpu/README.md index 5b782b1aeca8..48294f991011 100644 --- a/java-tpu/README.md +++ b/java-tpu/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-tpu - 2.97.0 + 2.98.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-tpu' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-tpu:2.97.0' +implementation 'com.google.cloud:google-cloud-tpu:2.98.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-tpu" % "2.97.0" +libraryDependencies += "com.google.cloud" % "google-cloud-tpu" % "2.98.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-tpu/latest/overview [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-tpu.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-tpu/2.97.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-tpu/2.98.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-trace/README.md b/java-trace/README.md index d344a414cb80..871e0a397c5e 100644 --- a/java-trace/README.md +++ b/java-trace/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-trace - 2.96.0 + 2.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-trace' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-trace:2.96.0' +implementation 'com.google.cloud:google-cloud-trace:2.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-trace" % "2.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-trace" % "2.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-trace/latest/overview [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-trace.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-trace/2.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-trace/2.97.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-translate/README.md b/java-translate/README.md index 9175eb6f0c1b..d4246dc8253b 100644 --- a/java-translate/README.md +++ b/java-translate/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-translate - 2.96.0 + 2.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-translate' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-translate:2.96.0' +implementation 'com.google.cloud:google-cloud-translate:2.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-translate" % "2.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-translate" % "2.97.0" ``` ## Authentication @@ -259,7 +259,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-translate/latest/overview [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-translate.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-translate/2.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-translate/2.97.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-valkey/README.md b/java-valkey/README.md index 125dd7080595..976d5824b25b 100644 --- a/java-valkey/README.md +++ b/java-valkey/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-valkey - 0.42.0 + 0.43.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-valkey' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-valkey:0.42.0' +implementation 'com.google.cloud:google-cloud-valkey:0.43.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-valkey" % "0.42.0" +libraryDependencies += "com.google.cloud" % "google-cloud-valkey" % "0.43.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-memorystore/latest/overview [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-valkey.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-valkey/0.42.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-valkey/0.43.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-vectorsearch/README.md b/java-vectorsearch/README.md index 5fae81a06223..4bb53a1d3b94 100644 --- a/java-vectorsearch/README.md +++ b/java-vectorsearch/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-vectorsearch - 0.18.0 + 0.19.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-vectorsearch' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-vectorsearch:0.18.0' +implementation 'com.google.cloud:google-cloud-vectorsearch:0.19.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vectorsearch" % "0.18.0" +libraryDependencies += "com.google.cloud" % "google-cloud-vectorsearch" % "0.19.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-vectorsearch/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-vectorsearch.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vectorsearch/0.18.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vectorsearch/0.19.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-video-intelligence/README.md b/java-video-intelligence/README.md index f888fd72e7ee..ac19fe023012 100644 --- a/java-video-intelligence/README.md +++ b/java-video-intelligence/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-video-intelligence - 2.95.0 + 2.96.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-video-intelligence' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-video-intelligence:2.95.0' +implementation 'com.google.cloud:google-cloud-video-intelligence:2.96.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-video-intelligence" % "2.95.0" +libraryDependencies += "com.google.cloud" % "google-cloud-video-intelligence" % "2.96.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-video-intelligence/latest/overview [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-video-intelligence.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-intelligence/2.95.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-intelligence/2.96.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-video-live-stream/README.md b/java-video-live-stream/README.md index cd2a35966a77..4b1abb88a076 100644 --- a/java-video-live-stream/README.md +++ b/java-video-live-stream/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-live-stream - 0.98.0 + 0.99.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-live-stream' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-live-stream:0.98.0' +implementation 'com.google.cloud:google-cloud-live-stream:0.99.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-live-stream" % "0.98.0" +libraryDependencies += "com.google.cloud" % "google-cloud-live-stream" % "0.99.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-live-stream/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-live-stream.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-live-stream/0.98.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-live-stream/0.99.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-video-stitcher/README.md b/java-video-stitcher/README.md index bad02d12207e..eb31d6d47ae2 100644 --- a/java-video-stitcher/README.md +++ b/java-video-stitcher/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-video-stitcher - 0.96.0 + 0.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-video-stitcher' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-video-stitcher:0.96.0' +implementation 'com.google.cloud:google-cloud-video-stitcher:0.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-video-stitcher" % "0.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-video-stitcher" % "0.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-video-stitcher/latest/overview [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-video-stitcher.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-stitcher/0.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-stitcher/0.97.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-video-transcoder/README.md b/java-video-transcoder/README.md index 6f78ea354d5c..7ca24f821ac7 100644 --- a/java-video-transcoder/README.md +++ b/java-video-transcoder/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-video-transcoder - 1.95.0 + 1.96.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-video-transcoder' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-video-transcoder:1.95.0' +implementation 'com.google.cloud:google-cloud-video-transcoder:1.96.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-video-transcoder" % "1.95.0" +libraryDependencies += "com.google.cloud" % "google-cloud-video-transcoder" % "1.96.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-video-transcoder/latest/overview [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-video-transcoder.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-transcoder/1.95.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-transcoder/1.96.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-vision/README.md b/java-vision/README.md index 180d3b2390aa..0ec4bf85f9f7 100644 --- a/java-vision/README.md +++ b/java-vision/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-vision - 3.94.0 + 3.95.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-vision' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-vision:3.94.0' +implementation 'com.google.cloud:google-cloud-vision:3.95.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vision" % "3.94.0" +libraryDependencies += "com.google.cloud" % "google-cloud-vision" % "3.95.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-vision/latest/overview [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-vision.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vision/3.94.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vision/3.95.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-visionai/README.md b/java-visionai/README.md index 3fdf2feca280..41dbc3515079 100644 --- a/java-visionai/README.md +++ b/java-visionai/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-visionai - 0.53.0 + 0.54.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-visionai' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-visionai:0.53.0' +implementation 'com.google.cloud:google-cloud-visionai:0.54.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-visionai" % "0.53.0" +libraryDependencies += "com.google.cloud" % "google-cloud-visionai" % "0.54.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-visionai/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-visionai.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-visionai/0.53.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-visionai/0.54.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-vmmigration/README.md b/java-vmmigration/README.md index fe464ad60cb7..d5f475f380cf 100644 --- a/java-vmmigration/README.md +++ b/java-vmmigration/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-vmmigration - 1.96.0 + 1.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-vmmigration' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-vmmigration:1.96.0' +implementation 'com.google.cloud:google-cloud-vmmigration:1.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vmmigration" % "1.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-vmmigration" % "1.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-vmmigration/latest/overview [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-vmmigration.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vmmigration/1.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vmmigration/1.97.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-vmwareengine/README.md b/java-vmwareengine/README.md index ed6e101c4f43..01629b14639e 100644 --- a/java-vmwareengine/README.md +++ b/java-vmwareengine/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-vmwareengine - 0.90.0 + 0.91.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-vmwareengine' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-vmwareengine:0.90.0' +implementation 'com.google.cloud:google-cloud-vmwareengine:0.91.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vmwareengine" % "0.90.0" +libraryDependencies += "com.google.cloud" % "google-cloud-vmwareengine" % "0.91.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-vmwareengine/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-vmwareengine.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vmwareengine/0.90.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vmwareengine/0.91.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-vpcaccess/README.md b/java-vpcaccess/README.md index 17a9562b3afa..75028e7c30c5 100644 --- a/java-vpcaccess/README.md +++ b/java-vpcaccess/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-vpcaccess - 2.97.0 + 2.98.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-vpcaccess' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-vpcaccess:2.97.0' +implementation 'com.google.cloud:google-cloud-vpcaccess:2.98.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vpcaccess" % "2.97.0" +libraryDependencies += "com.google.cloud" % "google-cloud-vpcaccess" % "2.98.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-vpcaccess/latest/overview [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-vpcaccess.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vpcaccess/2.97.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vpcaccess/2.98.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-webrisk/README.md b/java-webrisk/README.md index a234778f57d3..56cd8f17e961 100644 --- a/java-webrisk/README.md +++ b/java-webrisk/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-webrisk - 2.95.0 + 2.96.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-webrisk' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-webrisk:2.95.0' +implementation 'com.google.cloud:google-cloud-webrisk:2.96.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-webrisk" % "2.95.0" +libraryDependencies += "com.google.cloud" % "google-cloud-webrisk" % "2.96.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-webrisk/latest/overview [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-webrisk.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-webrisk/2.95.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-webrisk/2.96.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-websecurityscanner/README.md b/java-websecurityscanner/README.md index 48beaa4937e3..ca31a3b8117b 100644 --- a/java-websecurityscanner/README.md +++ b/java-websecurityscanner/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-websecurityscanner - 2.96.0 + 2.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-websecurityscanner' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-websecurityscanner:2.96.0' +implementation 'com.google.cloud:google-cloud-websecurityscanner:2.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-websecurityscanner" % "2.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-websecurityscanner" % "2.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/overview [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-websecurityscanner.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-websecurityscanner/2.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-websecurityscanner/2.97.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-workflow-executions/README.md b/java-workflow-executions/README.md index e6647c9e8aec..d98fc93303ff 100644 --- a/java-workflow-executions/README.md +++ b/java-workflow-executions/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-workflow-executions - 2.96.0 + 2.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-workflow-executions' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-workflow-executions:2.96.0' +implementation 'com.google.cloud:google-cloud-workflow-executions:2.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-workflow-executions" % "2.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-workflow-executions" % "2.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-workflow-executions/latest/overview [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-workflow-executions.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workflow-executions/2.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workflow-executions/2.97.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-workflows/README.md b/java-workflows/README.md index 54d1b8d5c8eb..424f6ec8e50a 100644 --- a/java-workflows/README.md +++ b/java-workflows/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-workflows - 2.96.0 + 2.97.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-workflows' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-workflows:2.96.0' +implementation 'com.google.cloud:google-cloud-workflows:2.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-workflows" % "2.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-workflows" % "2.97.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-workflows/latest/overview [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-workflows.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workflows/2.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workflows/2.97.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-workloadidentity/README.md b/java-workloadidentity/README.md index 5c4f9b4bc004..1a5c1fb9a3a2 100644 --- a/java-workloadidentity/README.md +++ b/java-workloadidentity/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-workloadidentity - 0.1.0 + 0.2.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-workloadidentity' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-workloadidentity:0.1.0' +implementation 'com.google.cloud:google-cloud-workloadidentity:0.2.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-workloadidentity" % "0.1.0" +libraryDependencies += "com.google.cloud" % "google-cloud-workloadidentity" % "0.2.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-workloadidentity/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-workloadidentity.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workloadidentity/0.1.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workloadidentity/0.2.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-workloadmanager/README.md b/java-workloadmanager/README.md index c646efca3675..6c56f50a5f41 100644 --- a/java-workloadmanager/README.md +++ b/java-workloadmanager/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-workloadmanager - 0.12.0 + 0.13.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-workloadmanager' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-workloadmanager:0.12.0' +implementation 'com.google.cloud:google-cloud-workloadmanager:0.13.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-workloadmanager" % "0.12.0" +libraryDependencies += "com.google.cloud" % "google-cloud-workloadmanager" % "0.13.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-workloadmanager/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-workloadmanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workloadmanager/0.12.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workloadmanager/0.13.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-workspaceevents/README.md b/java-workspaceevents/README.md index f8f0ea9786a9..c2f1a612154d 100644 --- a/java-workspaceevents/README.md +++ b/java-workspaceevents/README.md @@ -44,7 +44,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-workspaceevents - 0.60.0 + 0.61.0 ``` @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-workspaceevents' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-workspaceevents:0.60.0' +implementation 'com.google.cloud:google-cloud-workspaceevents:0.61.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-workspaceevents" % "0.60.0" +libraryDependencies += "com.google.cloud" % "google-cloud-workspaceevents" % "0.61.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-workspaceevents/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-workspaceevents.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workspaceevents/0.60.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workspaceevents/0.61.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-workstations/README.md b/java-workstations/README.md index 21fccc4d0d03..f419109d5eec 100644 --- a/java-workstations/README.md +++ b/java-workstations/README.md @@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-workstations - 0.84.0 + 0.85.0 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-workstations' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-workstations:0.84.0' +implementation 'com.google.cloud:google-cloud-workstations:0.85.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-workstations" % "0.84.0" +libraryDependencies += "com.google.cloud" % "google-cloud-workstations" % "0.85.0" ``` ## Authentication @@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-workstations/latest/overview [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-workstations.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workstations/0.84.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workstations/0.85.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/librarian.yaml b/librarian.yaml index fed37e3a7d09..b609c31e4aef 100644 --- a/librarian.yaml +++ b/librarian.yaml @@ -16,8 +16,8 @@ version: v0.40.0 repo: googleapis/google-cloud-java sources: googleapis: - commit: 02fc2b28bc702c8bb45735631ea0ad66893067fb - sha256: a9d046e9177c69bc0fb4874926fdd96164210d7fb3c557a951924bf34614b658 + commit: c1f9e8530214e6e808959d5294b75a909c663591 + sha256: 919836033ae445dda6f3e8cc82f8baceabf3934d03c2fe8b09bfad899ad76efc showcase: commit: f97fd357084b9e85ef5dd02ba084551c3f85191c sha256: b5d293831e6895ca139d9a0a92eec75a82e73398978b140af8f7c5e91c7c969a @@ -57,9 +57,9 @@ libraries: - path: google/cloud/accessapproval/v1 java: api_description_override: enables controlling access to your organization's data by Google personnel. + released_version: 2.98.0 name_pretty_override: Access Approval product_documentation_override: https://cloud.google.com/access-approval/docs/ - released_version: 2.98.0 - name: accesscontextmanager version: 1.98.0 apis: @@ -74,9 +74,9 @@ libraries: java: api_description_override: n/a artifact_id: google-identity-accesscontextmanager + released_version: 1.98.0 name_pretty_override: Identity Access Context Manager product_documentation_override: n/a - released_version: 1.98.0 - name: admanager version: 0.56.0 apis: @@ -86,10 +86,10 @@ libraries: api_description_override: The Ad Manager API enables an app to integrate with Google Ad Manager. You can read Ad Manager data and run reports using the API. artifact_id: ad-manager client_documentation_override: https://cloud.google.com/java/docs/reference/ad-manager/latest/overview + released_version: 0.56.0 library_type_override: GAPIC_AUTO name_pretty_override: Google Ad Manager API product_documentation_override: https://developers.google.com/ad-manager/api/beta - released_version: 0.56.0 - name: advisorynotifications version: 0.86.0 apis: @@ -98,9 +98,9 @@ libraries: omit_common_resources: true java: api_description_override: An API for accessing Advisory Notifications in Google Cloud. + released_version: 0.86.0 name_pretty_override: Advisory Notifications API product_documentation_override: https://cloud.google.com/advisory-notifications/ - released_version: 0.86.0 - name: agentidentity version: 0.3.0 apis: @@ -153,11 +153,11 @@ libraries: - google-cloud-aiplatform/src/test/java/com/google/iam/v1/MockIAMPolicyImpl.java java: api_description_override: is an integrated suite of machine learning tools and services for building and using ML models with AutoML or custom code. It offers both novices and experts the best workbench for the entire machine learning development lifecycle. + released_version: 3.98.0 name_pretty_override: Vertex AI product_documentation_override: https://cloud.google.com/vertex-ai/docs rest_documentation: https://cloud.google.com/vertex-ai/docs/reference/rest rpc_documentation: https://cloud.google.com/vertex-ai/docs/reference/rpc - released_version: 3.98.0 - name: alloydb version: 0.86.0 apis: @@ -178,10 +178,10 @@ libraries: - path: google/iam/v1/iam_policy.proto java: api_description_override: AlloyDB is a fully managed, PostgreSQL-compatible database service with industry-leading performance, availability, and scale. + released_version: 0.86.0 name_pretty_override: AlloyDB product_documentation_override: https://cloud.google.com/alloydb/ rest_documentation: https://cloud.google.com/alloydb/docs/reference/rest - released_version: 0.86.0 - name: alloydb-connectors version: 0.75.0 apis: @@ -209,11 +209,11 @@ libraries: java: api_id_override: connectors.googleapis.com api_description_override: AlloyDB is a fully-managed, PostgreSQL-compatible database for demanding transactional workloads. It provides enterprise-grade performance and availability while maintaining 100% compatibility with open-source PostgreSQL. + released_version: 0.75.0 name_pretty_override: AlloyDB connectors product_documentation_override: https://cloud.google.com/alloydb/docs rest_documentation: https://cloud.google.com/alloydb/docs/reference/rest transport_override: grpc - released_version: 0.75.0 - name: analytics-admin version: 0.107.0 apis: @@ -223,9 +223,9 @@ libraries: api_description_override: allows you to manage Google Analytics accounts and properties. artifact_id: google-analytics-admin codeowner_team: '@googleapis/analytics-dpe' + released_version: 0.107.0 name_pretty_override: Analytics Admin product_documentation_override: https://developers.google.com/analytics - released_version: 0.107.0 - name: analytics-data version: 0.108.0 apis: @@ -236,18 +236,18 @@ libraries: api_description_override: provides programmatic methods to access report data in Google Analytics App+Web properties. artifact_id: google-analytics-data codeowner_team: '@googleapis/analytics-dpe' + released_version: 0.108.0 name_pretty_override: Analytics Data product_documentation_override: https://developers.google.com/analytics/trusted-testing/analytics-data - released_version: 0.108.0 - name: analyticshub version: 0.94.0 apis: - path: google/cloud/bigquery/analyticshub/v1 java: api_description_override: TBD + released_version: 0.94.0 name_pretty_override: Analytics Hub API product_documentation_override: https://cloud.google.com/bigquery/TBD - released_version: 0.94.0 - name: api-gateway version: 2.97.0 apis: @@ -255,19 +255,19 @@ libraries: java: api_id_override: apigateway.googleapis.com api_description_override: enables you to provide secure access to your backend services through a well-defined REST API that is consistent across all of your services, regardless of the service implementation. Clients consume your REST APIS to implement standalone apps for a mobile device or tablet, through apps running in a browser, or through any other type of app that can make a request to an HTTP endpoint. + released_version: 2.97.0 name_pretty_override: API Gateway product_documentation_override: https://cloud.google.com/api-gateway/docs rest_documentation: https://cloud.google.com/api-gateway/docs/reference/rest - released_version: 2.97.0 - name: apigee-connect version: 2.97.0 apis: - path: google/cloud/apigeeconnect/v1 java: api_description_override: allows the Apigee hybrid management plane to connect securely to the MART service in the runtime plane without requiring you to expose the MART endpoint on the internet. + released_version: 2.97.0 name_pretty_override: Apigee Connect product_documentation_override: https://cloud.google.com/apigee/docs/hybrid/v1.3/apigee-connect/ - released_version: 2.97.0 - name: apihub version: 0.50.0 apis: @@ -279,19 +279,19 @@ libraries: api_id_override: apihub.googleapis.com api_description_override: API hub lets you consolidate and organize information about all of the APIs of interest to your organization. API hub lets you capture critical information about APIs that allows developers to discover and evaluate them easily and leverage the work of other teams wherever possible. API platform teams can use API hub to have visibility into and manage their portfolio of APIs. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-apihub/latest/overview + released_version: 0.50.0 library_type_override: GAPIC_AUTO name_pretty_override: API hub API product_documentation_override: https://cloud.google.com/apigee/docs/apihub/what-is-api-hub - released_version: 0.50.0 - name: apikeys version: 0.95.0 apis: - path: google/api/apikeys/v2 java: api_description_override: API Keys lets you create and manage your API keys for your projects. + released_version: 0.95.0 name_pretty_override: API Keys API product_documentation_override: https://cloud.google.com/api-keys/ - released_version: 0.95.0 - name: appengine-admin version: 2.97.0 apis: @@ -299,9 +299,9 @@ libraries: java: api_description_override: you to manage your App Engine applications. codeowner_team: '@googleapis/aap-dpes' + released_version: 2.97.0 name_pretty_override: App Engine Admin API product_documentation_override: https://cloud.google.com/appengine/docs/admin-api/ - released_version: 2.97.0 - name: apphub version: 0.61.0 apis: @@ -312,10 +312,10 @@ libraries: - path: google/iam/v1/iam_policy.proto java: api_description_override: App Hub simplifies the process of building, running, and managing applications on Google Cloud. + released_version: 0.61.0 name_pretty_override: App Hub API product_documentation_override: https://cloud.google.com/app-hub/docs/overview rpc_documentation: https://cloud.google.com/app-hub/docs/reference/rpc - released_version: 0.61.0 - name: appoptimize version: 0.7.0 apis: @@ -327,10 +327,10 @@ libraries: api_id_override: appoptimize.googleapis.com api_description_override: The App Optimize API provides developers and platform teams with tools to monitor, analyze, and improve the performance and cost-efficiency of their cloud applications. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-appoptimize/latest/overview + released_version: 0.7.0 library_type_override: GAPIC_AUTO name_pretty_override: App Optimize API product_documentation_override: https://docs.cloud.google.com/app-optimize/overview - released_version: 0.7.0 - name: apptopology version: 0.1.0 apis: @@ -348,9 +348,9 @@ libraries: api_description_override: provides programmatic methods to the Area 120 Tables API. artifact_id: google-area120-tables group_id: com.google.area120 + released_version: 0.101.0 name_pretty_override: Area 120 Tables product_documentation_override: https://area120.google.com/ - released_version: 0.101.0 - name: artifact-registry version: 1.96.0 apis: @@ -365,11 +365,11 @@ libraries: java: api_description_override: provides a single place for your organization to manage container images and language packages (such as Maven and npm). It is fully integrated with Google Cloud's tooling and runtimes and comes with support for native artifact protocols. This makes it simple to integrate it with your CI/CD tooling to set up automated pipelines. codeowner_team: '@googleapis/aap-dpes' + released_version: 1.96.0 name_pretty_override: Artifact Registry product_documentation_override: https://cloud.google.com/artifact-registry rest_documentation: https://cloud.google.com/artifact-registry/docs/reference/rest rpc_documentation: https://cloud.google.com/artifact-registry/docs/reference/rpc - released_version: 1.96.0 - name: asset version: 3.101.0 apis: @@ -385,9 +385,9 @@ libraries: api_reference: https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview api_description_override: provides inventory services based on a time series database. This database keeps a five week history of Google Cloud asset metadata. The Cloud Asset Inventory export service allows you to export all asset metadata at a certain timestamp or export event change history during a timeframe. issue_tracker_override: https://issuetracker.google.com/issues/new?component=187210 + released_version: 3.101.0 name_pretty_override: Cloud Asset Inventory product_documentation_override: https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview - released_version: 3.101.0 - name: assured-workloads version: 2.97.0 apis: @@ -395,10 +395,10 @@ libraries: - path: google/cloud/assuredworkloads/v1beta1 java: api_description_override: allows you to secure your government workloads and accelerate your path to running compliant workloads on Google Cloud with Assured Workloads for Government. + released_version: 2.97.0 name_pretty_override: Assured Workloads for Government product_documentation_override: https://cloud.google.com/assured-workloads/ rest_documentation: https://cloud.google.com/assured-workloads/docs/reference/rest - released_version: 2.97.0 - name: auditmanager version: 0.15.0 apis: @@ -410,10 +410,10 @@ libraries: api_id_override: auditmanager.googleapis.com api_description_override: Lists information about the supported locations for this service. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-auditmanager/latest/overview + released_version: 0.15.0 library_type_override: GAPIC_AUTO name_pretty_override: Audit Manager API product_documentation_override: https://cloud.google.com/audit-manager/docs - released_version: 0.15.0 - name: automl version: 2.97.0 apis: @@ -422,11 +422,11 @@ libraries: java: api_description_override: makes the power of machine learning available to you even if you have limited knowledge of machine learning. You can use AutoML to build on Google's machine learning capabilities to create your own custom machine learning models that are tailored to your business needs, and then integrate those models into your applications and web sites. issue_tracker_override: https://issuetracker.google.com/savedsearches/559744 + released_version: 2.97.0 name_pretty_override: Cloud Auto ML product_documentation_override: https://cloud.google.com/automl/docs/ rest_documentation: https://cloud.google.com/automl/docs/reference/rest rpc_documentation: https://cloud.google.com/automl/docs/reference/rpc - released_version: 2.97.0 - name: backstory version: 0.5.0 apis: @@ -440,10 +440,10 @@ libraries: api_id_override: backstory.googleapis.com api_description_override: Common Universal Data Model (UDM) and Entity protos used by Chronicle. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-backstory/latest/overview + released_version: 0.5.0 library_type_override: GAPIC_AUTO name_pretty_override: Malachite Common Protos product_documentation_override: https://cloud.google.com/chronicle/docs/secops/secops-overview - released_version: 0.5.0 - name: backupdr version: 0.56.0 apis: @@ -456,10 +456,10 @@ libraries: api_id_override: backupdr.googleapis.com api_description_override: 'Backup and DR Service is a powerful, centralized, cloud-first backup and disaster recovery solution for cloud-based and hybrid workloads. ' client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-backupdr/latest/overview + released_version: 0.56.0 library_type_override: GAPIC_AUTO name_pretty_override: Backup and DR Service API product_documentation_override: https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-dr - released_version: 0.56.0 - name: bare-metal-solution version: 0.97.0 apis: @@ -470,11 +470,11 @@ libraries: - path: google/iam/v1/iam_policy.proto java: api_description_override: Bring your Oracle workloads to Google Cloud with Bare Metal Solution and jumpstart your cloud journey with minimal risk. + released_version: 0.97.0 name_pretty_override: Bare Metal Solution product_documentation_override: https://cloud.google.com/bare-metal/docs rest_documentation: https://cloud.google.com/bare-metal/docs/reference/rest rpc_documentation: https://cloud.google.com/bare-metal/docs/reference/rpc - released_version: 0.97.0 - name: batch version: 0.97.0 apis: @@ -489,9 +489,9 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: n/a + released_version: 0.97.0 name_pretty_override: Cloud Batch product_documentation_override: https://cloud.google.com/ - released_version: 0.97.0 - name: beyondcorp-appconnections version: 0.95.0 apis: @@ -503,9 +503,9 @@ libraries: java: api_description_override: is Google's implementation of the zero trust model. It builds upon a decade of experience at Google, combined with ideas and best practices from the community. By shifting access controls from the network perimeter to individual users, BeyondCorp enables secure work from virtually any location without the need for a traditional VPN. api_shortname_override: beyondcorp-appconnections + released_version: 0.95.0 name_pretty_override: BeyondCorp AppConnections product_documentation_override: https://cloud.google.com/beyondcorp-enterprise/ - released_version: 0.95.0 - name: beyondcorp-appconnectors version: 0.95.0 apis: @@ -517,9 +517,9 @@ libraries: java: api_description_override: provides methods to manage (create/read/update/delete) BeyondCorp AppConnectors. api_shortname_override: beyondcorp-appconnectors + released_version: 0.95.0 name_pretty_override: BeyondCorp AppConnectors product_documentation_override: cloud.google.com/beyondcorp-enterprise/ - released_version: 0.95.0 - name: beyondcorp-appgateways version: 0.95.0 apis: @@ -532,9 +532,9 @@ libraries: api_id_override: beyondcorp.googleapis.com api_description_override: A zero trust solution that enables secure access to applications and resources, and offers integrated threat and data protection. api_shortname_override: beyondcorp-appgateways + released_version: 0.95.0 name_pretty_override: BeyondCorp AppGateways product_documentation_override: https://cloud.google.com/beyondcorp-enterprise/ - released_version: 0.95.0 - name: beyondcorp-clientconnectorservices version: 0.95.0 apis: @@ -547,9 +547,9 @@ libraries: api_id_override: beyondcorp.googleapis.com api_description_override: A zero trust solution that enables secure access to applications and resources, and offers integrated threat and data protection. api_shortname_override: beyondcorp-clientconnectorservices + released_version: 0.95.0 name_pretty_override: BeyondCorp ClientConnectorServices product_documentation_override: https://cloud.google.com/beyondcorp-enterprise/ - released_version: 0.95.0 - name: beyondcorp-clientgateways version: 0.95.0 apis: @@ -562,9 +562,9 @@ libraries: api_id_override: beyondcorp.googleapis.com api_description_override: A zero trust solution that enables secure access to applications and resources, and offers integrated threat and data protection. api_shortname_override: beyondcorp-clientgateways + released_version: 0.95.0 name_pretty_override: BeyondCorp ClientGateways product_documentation_override: https://cloud.google.com/beyondcorp-enterprise/ - released_version: 0.95.0 - name: biglake version: 0.85.0 apis: @@ -574,9 +574,9 @@ libraries: - path: google/cloud/bigquery/biglake/v1alpha1 java: api_description_override: The BigLake API provides access to BigLake Metastore, a serverless, fully managed, and highly available metastore for open-source data that can be used for querying Apache Iceberg tables in BigQuery. + released_version: 0.85.0 name_pretty_override: BigLake product_documentation_override: https://cloud.google.com/biglake - released_version: 0.85.0 - name: biglake-hive version: 0.2.0 apis: @@ -592,9 +592,9 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: is a data exchange that allows you to efficiently and securely exchange data assets across organizations to address challenges of data reliability and cost. + released_version: 2.92.0 name_pretty_override: Analytics Hub product_documentation_override: https://cloud.google.com/analytics-hub - released_version: 2.92.0 - name: bigqueryconnection version: 2.99.0 apis: @@ -603,9 +603,9 @@ libraries: java: api_description_override: allows users to manage BigQuery connections to external data sources. client_documentation_override: https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1beta1 + released_version: 2.99.0 name_pretty_override: Cloud BigQuery Connection product_documentation_override: https://cloud.google.com/bigquery/docs/reference/bigqueryconnection/rest - released_version: 2.99.0 - name: bigquerydatapolicy version: 0.94.0 apis: @@ -615,9 +615,9 @@ libraries: - path: google/cloud/bigquery/datapolicies/v1beta1 java: api_description_override: Allows users to manage BigQuery data policies. + released_version: 0.94.0 name_pretty_override: BigQuery DataPolicy API product_documentation_override: https://cloud.google.com/bigquery/docs/reference/datapolicy/ - released_version: 0.94.0 - name: bigquerydatatransfer version: 2.97.0 apis: @@ -650,9 +650,9 @@ libraries: java: api_description_override: transfers data from partner SaaS applications to Google BigQuery on a scheduled, managed basis. issue_tracker_override: https://issuetracker.google.com/savedsearches/559654 + released_version: 2.97.0 name_pretty_override: BigQuery Data Transfer Service product_documentation_override: https://cloud.google.com/bigquery/transfer/ - released_version: 2.97.0 - name: bigquerymigration version: 0.100.0 apis: @@ -660,19 +660,19 @@ libraries: - path: google/cloud/bigquery/migration/v2alpha java: api_description_override: BigQuery Migration API + released_version: 0.100.0 name_pretty_override: BigQuery Migration product_documentation_override: https://cloud.google.com/bigquery/docs rest_documentation: https://cloud.google.com/bigquery/docs/reference/rest - released_version: 0.100.0 - name: bigqueryreservation version: 2.98.0 apis: - path: google/cloud/bigquery/reservation/v1 java: api_description_override: allows users to manage their flat-rate BigQuery reservations. + released_version: 2.98.0 name_pretty_override: Cloud BigQuery Reservation product_documentation_override: https://cloud.google.com/bigquery/docs/reference/reservations/rpc - released_version: 2.98.0 - name: bigquerystorage version: 3.33.0 apis: @@ -798,12 +798,12 @@ libraries: client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-bigquerystorage/latest/history codeowner_team: '@googleapis/bigquery-team' issue_tracker_override: https://issuetracker.google.com/savedsearches/559654 + released_version: 3.33.0 library_type_override: GAPIC_COMBO name_pretty_override: BigQuery Storage product_documentation_override: https://cloud.google.com/bigquery/docs/reference/storage/ recommended_package: com.google.cloud.bigquery.storage.v1 transport_override: grpc - released_version: 3.33.0 - name: bigtable version: 2.83.0 apis: @@ -895,11 +895,11 @@ libraries: - google-cloud-bigtable-bom extra_versioned_modules: google-cloud-bigtable-emulator,google-cloud-bigtable-emulator-core issue_tracker_override: https://issuetracker.google.com/savedsearches/559777 + released_version: 2.83.0 library_type_override: GAPIC_COMBO name_pretty_override: Cloud Bigtable product_documentation_override: https://cloud.google.com/bigtable recommended_package: com.google.cloud.bigtable - released_version: 2.83.0 - name: billing version: 2.97.0 apis: @@ -911,11 +911,11 @@ libraries: java: api_description_override: allows developers to manage their billing accounts or browse the catalog of SKUs and pricing. issue_tracker_override: https://issuetracker.google.com/savedsearches/559770 + released_version: 2.97.0 name_pretty_override: Cloud Billing product_documentation_override: https://cloud.google.com/billing/docs rest_documentation: https://cloud.google.com/billing/docs/reference/rest rpc_documentation: https://cloud.google.com/billing/docs/reference/rpc - released_version: 2.97.0 - name: billingbudgets version: 2.97.0 apis: @@ -923,9 +923,9 @@ libraries: - path: google/cloud/billing/budgets/v1beta1 java: api_description_override: allows you to avoid surprises on your bill by creating budgets to monitor all your Google Cloud charges in one place. + released_version: 2.97.0 name_pretty_override: Cloud Billing Budgets product_documentation_override: https://cloud.google.com/billing/docs/how-to/budgets - released_version: 2.97.0 - name: binary-authorization version: 1.96.0 apis: @@ -935,11 +935,11 @@ libraries: api_id_override: binaryauthorization.googleapis.com api_description_override: ' is a service on Google Cloud that provides centralized software supply-chain security for applications that run on Google Kubernetes Engine (GKE) and Anthos clusters on VMware' codeowner_team: '@googleapis/aap-dpes' + released_version: 1.96.0 name_pretty_override: Binary Authorization product_documentation_override: https://cloud.google.com/binary-authorization/docs rest_documentation: https://cloud.google.com/binary-authorization/docs/reference/rest rpc_documentation: https://cloud.google.com/binary-authorization/docs/reference/rpc - released_version: 1.96.0 - name: capacityplanner version: 0.20.0 apis: @@ -948,10 +948,10 @@ libraries: api_id_override: capacityplanner.googleapis.com api_description_override: Provides programmatic access to Capacity Planner features. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-capacityplanner/latest/overview + released_version: 0.20.0 library_type_override: GAPIC_AUTO name_pretty_override: Capacity Planner API product_documentation_override: https://cloud.google.com/capacity-planner/docs - released_version: 0.20.0 - name: certificate-manager version: 0.100.0 apis: @@ -962,9 +962,9 @@ libraries: java: api_id_override: certificatemanager.googleapis.com api_description_override: lets you acquire and manage TLS (SSL) certificates for use with Cloud Load Balancing. + released_version: 0.100.0 name_pretty_override: Certificate Manager product_documentation_override: https://cloud.google.com/certificate-manager/docs - released_version: 0.100.0 - name: ces version: 0.13.0 apis: @@ -980,32 +980,32 @@ libraries: api_id_override: ces.googleapis.com api_description_override: Customer Experience Agent Studio (CX Agent Studio) is a minimal code conversational agent builder. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-ces/latest/overview + released_version: 0.13.0 library_type_override: GAPIC_AUTO name_pretty_override: Gemini Enterprise for Customer Experience API product_documentation_override: https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps rpc_documentation: https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/reference/rpc - released_version: 0.13.0 - name: channel version: 3.101.0 apis: - path: google/cloud/channel/v1 java: api_description_override: With Channel Services, Google Cloud partners and resellers have a single unified resale platform, with a unified resale catalog, customer management, order management, billing management, policy and authorization management, and cost management. + released_version: 3.101.0 name_pretty_override: Channel Services product_documentation_override: https://cloud.google.com/channel/docs rest_documentation: https://cloud.google.com/channel/docs/reference/rest rpc_documentation: https://cloud.google.com/channel/docs/reference/rpc - released_version: 3.101.0 - name: chat version: 0.61.0 apis: - path: google/chat/v1 java: api_description_override: The Google Chat API lets you build Chat apps to integrate your services with Google Chat and manage Chat resources such as spaces, members, and messages. + released_version: 0.61.0 name_pretty_override: Google Chat API product_documentation_override: https://developers.google.com/chat/concepts rest_documentation: https://developers.google.com/chat/api/reference/rest - released_version: 0.61.0 - name: chronicle version: 0.35.0 apis: @@ -1014,10 +1014,10 @@ libraries: api_id_override: chronicle.googleapis.com api_description_override: The Google Cloud Security Operations API, popularly known as the Chronicle API, serves endpoints that enable security analysts to analyze and mitigate a security threat throughout its lifecycle client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-chronicle/latest/overview + released_version: 0.35.0 library_type_override: GAPIC_AUTO name_pretty_override: Chronicle API product_documentation_override: https://cloud.google.com/chronicle/docs/secops/secops-overview - released_version: 0.35.0 - name: cloudapiregistry version: 0.16.0 apis: @@ -1033,10 +1033,10 @@ libraries: api_id_override: cloudapiregistry.googleapis.com api_description_override: Cloud API Registry lets you discover, govern, use, and monitor Model Context Protocol (MCP) servers and tools provided by Google, or by your organization through Apigee API hub. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-cloudapiregistry/latest/overview + released_version: 0.16.0 library_type_override: GAPIC_AUTO name_pretty_override: Cloud API Registry API product_documentation_override: https://docs.cloud.google.com/api-registry/docs/overview - released_version: 0.16.0 - name: cloudbuild version: 3.99.0 apis: @@ -1051,9 +1051,9 @@ libraries: artifact_id: google-cloud-build codeowner_team: '@googleapis/aap-dpes' issue_tracker_override: https://issuetracker.google.com/savedsearches/5226584 + released_version: 3.99.0 name_pretty_override: Cloud Build product_documentation_override: https://cloud.google.com/cloud-build/ - released_version: 3.99.0 - name: cloudcommerceconsumerprocurement version: 0.95.0 apis: @@ -1061,9 +1061,9 @@ libraries: - path: google/cloud/commerce/consumer/procurement/v1alpha1 java: api_description_override: Find top solutions integrated with Google Cloud to accelerate your digital transformation. Scale and simplify procurement for your organization with online discovery, flexible purchasing, and fulfillment of enterprise-grade cloud solutions. + released_version: 0.95.0 name_pretty_override: Cloud Commerce Consumer Procurement product_documentation_override: https://cloud.google.com/marketplace/ - released_version: 0.95.0 - name: cloudcontrolspartner version: 0.61.0 apis: @@ -1071,9 +1071,9 @@ libraries: - path: google/cloud/cloudcontrolspartner/v1beta java: api_description_override: Provides insights about your customers and their Assured Workloads based on your Sovereign Controls by Partners offering. + released_version: 0.61.0 name_pretty_override: Cloud Controls Partner API product_documentation_override: https://cloud.google.com/sovereign-controls-by-partners/docs/sovereign-partners - released_version: 0.61.0 - name: cloudquotas version: 0.65.0 apis: @@ -1088,9 +1088,9 @@ libraries: Cloud Quotas API provides GCP service consumers with management and observability for resource usage, quotas, and restrictions of the services they consume. + released_version: 0.65.0 name_pretty_override: Cloud Quotas API product_documentation_override: https://cloud.google.com/cloudquotas/docs/ - released_version: 0.65.0 - name: cloudsecuritycompliance version: 0.24.0 apis: @@ -1102,10 +1102,10 @@ libraries: api_id_override: cloudsecuritycompliance.googleapis.com api_description_override: Compliance Manager uses software-defined controls that let you assess support for multiple compliance programs and security requirements within a Google Cloud organization client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-cloudsecuritycompliance/latest/overview + released_version: 0.24.0 library_type_override: GAPIC_AUTO name_pretty_override: Cloud Security Compliance API product_documentation_override: https://cloud.google.com/security-command-center/docs/compliance-manager-overview - released_version: 0.24.0 - name: cloudsupport version: 0.81.0 apis: @@ -1113,9 +1113,9 @@ libraries: - path: google/cloud/support/v2beta java: api_description_override: Manages Google Cloud technical support cases for Customer Care support offerings. + released_version: 0.81.0 name_pretty_override: Google Cloud Support API product_documentation_override: https://cloud.google.com/support/docs/reference/support-api/ - released_version: 0.81.0 - name: commerceproducer version: 0.3.0 apis: @@ -1225,13 +1225,13 @@ libraries: - proto-google-common-protos-bom - proto-google-common-protos group_id: com.google.api.grpc + released_version: 2.76.0 library_type_override: OTHER name_pretty_override: Common Protos product_documentation_override: https://github.com/googleapis/api-common-protos transport_override: grpc skip_pom_updates: true skip_api_id: true - released_version: 2.76.0 - name: compute version: 1.107.0 apis: @@ -1248,9 +1248,9 @@ libraries: api_description_override: 'delivers virtual machines running in Google''s innovative data centers and worldwide fiber network. Compute Engine''s tooling and workflow support enable scaling from single instances to global, load-balanced cloud computing. Compute Engine''s VMs boot quickly, come with persistent disk storage, deliver consistent performance and are available in many configurations. ' excluded_poms: - grpc-google-cloud-compute-v1 + released_version: 1.107.0 name_pretty_override: Compute Engine product_documentation_override: https://cloud.google.com/compute/ - released_version: 1.107.0 - name: confidentialcomputing version: 0.83.0 apis: @@ -1264,9 +1264,9 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: Protect data in-use with Confidential VMs, Confidential GKE, Confidential Dataproc, and Confidential Space. + released_version: 0.83.0 name_pretty_override: Confidential Computing API product_documentation_override: https://cloud.google.com/confidential-computing/ - released_version: 0.83.0 - name: configdelivery version: 0.31.0 apis: @@ -1282,11 +1282,11 @@ libraries: api_id_override: configdelivery.googleapis.com api_description_override: ConfigDelivery service manages the deployment of kubernetes configuration to a fleet of kubernetes clusters. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-configdelivery/latest/overview + released_version: 0.31.0 library_type_override: GAPIC_AUTO name_pretty_override: Config Delivery API product_documentation_override: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/concepts/fleet-packages rest_documentation: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/reference/rest - released_version: 0.31.0 - name: connectgateway version: 0.49.0 apis: @@ -1295,10 +1295,10 @@ libraries: api_id_override: connectgateway.googleapis.com api_description_override: The Connect Gateway service allows connectivity from external parties to connected Kubernetes clusters. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-connectgateway/latest/overview + released_version: 0.49.0 library_type_override: GAPIC_AUTO name_pretty_override: Connect Gateway API product_documentation_override: https://cloud.google.com/kubernetes-engine/enterprise/multicluster-management/gateway - released_version: 0.49.0 - name: contact-center-insights version: 2.97.0 apis: @@ -1306,9 +1306,9 @@ libraries: java: api_description_override: ' helps users detect and visualize patterns in their contact center data.' codeowner_team: '@googleapis/api-contact-center-insights' + released_version: 2.97.0 name_pretty_override: CCAI Insights product_documentation_override: https://cloud.google.com/dialogflow/priv/docs/insights/ - released_version: 2.97.0 - name: container version: 2.100.0 apis: @@ -1321,10 +1321,10 @@ libraries: api_description_override: is an enterprise-grade platform for containerized applications, including stateful and stateless, AI and ML, Linux and Windows, complex and simple web apps, API, and backend services. Leverage industry-first features like four-way auto-scaling and no-stress management. Optimize GPU and TPU provisioning, use integrated developer tools, and get multi-cluster support from SREs. codeowner_team: '@googleapis/cloud-sdk-java-team' issue_tracker_override: https://issuetracker.google.com/savedsearches/559777 + released_version: 2.100.0 name_pretty_override: Kubernetes Engine product_documentation_override: https://cloud.google.com/kubernetes-engine/ rest_documentation: https://cloud.google.com/kubernetes-engine/docs/reference/rest - released_version: 2.100.0 - name: containeranalysis version: 2.98.0 apis: @@ -1362,18 +1362,18 @@ libraries: api_description_override: is a service that provides vulnerability scanning and metadata storage for software artifacts. The service performs vulnerability scans on built software artifacts, such as the images in Container Registry, then stores the resulting metadata and makes it available for consumption through an API. The metadata may come from several sources, including vulnerability scanning, other Cloud services, and third-party providers. codeowner_team: '@googleapis/aap-dpes' issue_tracker_override: https://issuetracker.google.com/savedsearches/559777 + released_version: 2.98.0 name_pretty_override: Cloud Container Analysis product_documentation_override: https://cloud.google.com/container-registry/docs/container-analysis - released_version: 2.98.0 - name: contentwarehouse version: 0.93.0 apis: - path: google/cloud/contentwarehouse/v1 java: api_description_override: Document AI Warehouse is an integrated cloud-native GCP platform to store, search, organize, govern and analyze documents and their structured metadata. + released_version: 0.93.0 name_pretty_override: Document AI Warehouse product_documentation_override: https://cloud.google.com/document-warehouse/docs/overview - released_version: 0.93.0 - name: data-fusion version: 1.97.0 apis: @@ -1381,10 +1381,10 @@ libraries: - path: google/cloud/datafusion/v1beta1 java: api_description_override: is a fully managed, cloud-native, enterprise data integration service for quickly building and managing data pipelines. + released_version: 1.97.0 name_pretty_override: Cloud Data Fusion product_documentation_override: https://cloud.google.com/data-fusion/docs rest_documentation: https://cloud.google.com/data-fusion/docs/reference/rest - released_version: 1.97.0 - name: databasecenter version: 0.18.0 apis: @@ -1393,21 +1393,21 @@ libraries: api_id_override: databasecenter.googleapis.com api_description_override: Database Center provides an organization-wide, cross-product fleet health platform to eliminate the overhead, complexity, and risk associated with aggregating and summarizing health signals through custom dashboards. Through Database Center's fleet health dashboard and API, database platform teams that are responsible for reliability, compliance, security, cost, and administration of database fleets will now have a single pane of glass that pinpoints issues relevant to each team. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/overview + released_version: 0.18.0 library_type_override: GAPIC_AUTO name_pretty_override: Database Center API product_documentation_override: https://cloud.google.com/database-center/docs/overview - released_version: 0.18.0 - name: dataflow version: 0.101.0 apis: - path: google/dataflow/v1beta3 java: api_description_override: is a managed service for executing a wide variety of data processing patterns. + released_version: 0.101.0 name_pretty_override: Dataflow product_documentation_override: https://cloud.google.com/dataflow/docs rest_documentation: https://cloud.google.com/dataflow/docs/reference/rest rpc_documentation: https://cloud.google.com/dataflow/docs/reference/rpc - released_version: 0.101.0 - name: dataform version: 0.96.0 apis: @@ -1423,9 +1423,9 @@ libraries: - path: google/iam/v1/iam_policy.proto java: api_description_override: Help analytics teams manage data inside BigQuery using SQL. + released_version: 0.96.0 name_pretty_override: Cloud Dataform product_documentation_override: https://cloud.google.com/dataform/docs - released_version: 0.96.0 - name: datalineage version: 0.89.0 apis: @@ -1433,9 +1433,9 @@ libraries: - path: google/cloud/datacatalog/lineage/configmanagement/v1 java: api_description_override: Lineage is used to track data flows between assets over time. + released_version: 0.89.0 name_pretty_override: Data Lineage product_documentation_override: https://cloud.google.com/dataplex/docs/about-data-lineage - released_version: 0.89.0 - name: datamanager version: 0.18.0 apis: @@ -1445,11 +1445,11 @@ libraries: api_description_override: A unified ingestion API for data partners, agencies and advertisers to connect first-party data across Google advertising products. artifact_id: data-manager client_documentation_override: https://cloud.google.com/java/docs/reference/data-manager/latest/overview + released_version: 0.18.0 library_type_override: GAPIC_AUTO name_pretty_override: Data Manager API product_documentation_override: https://developers.google.com/data-manager rpc_documentation: https://developers.google.com/data-manager/api/reference/rpc - released_version: 0.18.0 - name: dataplex version: 1.95.0 apis: @@ -1460,11 +1460,11 @@ libraries: - path: google/iam/v1/iam_policy.proto java: api_description_override: provides intelligent data fabric that enables organizations to centrally manage, monitor, and govern their data across data lakes, data warehouses, and data marts with consistent controls, providing access to trusted data and powering analytics at scale. + released_version: 1.95.0 name_pretty_override: Cloud Dataplex product_documentation_override: https://cloud.google.com/dataplex rest_documentation: https://cloud.google.com/dataplex/docs/reference/rest rpc_documentation: https://cloud.google.com/dataplex/docs/reference/rpc - released_version: 1.95.0 - name: dataproc version: 4.94.0 apis: @@ -1476,11 +1476,11 @@ libraries: api_description_override: is a faster, easier, more cost-effective way to run Apache Spark and Apache Hadoop. codeowner_team: '@googleapis/api-dataproc' issue_tracker_override: https://issuetracker.google.com/savedsearches/559745 + released_version: 4.94.0 name_pretty_override: Dataproc product_documentation_override: https://cloud.google.com/dataproc rest_documentation: https://cloud.google.com/dataproc/docs/reference/rest rpc_documentation: https://cloud.google.com/dataproc/docs/reference/rpc - released_version: 4.94.0 - name: dataproc-metastore version: 2.98.0 apis: @@ -1501,11 +1501,11 @@ libraries: - path: google/iam/v1/iam_policy.proto java: api_description_override: is a fully managed, highly available, autoscaled, autohealing, OSS-native metastore service that greatly simplifies technical metadata management. Dataproc Metastore service is based on Apache Hive metastore and serves as a critical component towards enterprise data lakes. + released_version: 2.98.0 name_pretty_override: Dataproc Metastore product_documentation_override: https://cloud.google.com/dataproc-metastore/docs rest_documentation: https://cloud.google.com/dataproc-metastore/docs/reference/rest rpc_documentation: https://cloud.google.com/dataproc-metastore/docs/reference/rpc - released_version: 2.98.0 - name: datastore version: 3.5.0 apis: @@ -1525,11 +1525,11 @@ libraries: - grpc-google-cloud-datastore-v1 extra_versioned_modules: datastore-v1-proto-client issue_tracker_override: https://issuetracker.google.com/savedsearches/559768 + released_version: 3.5.0 library_type_override: GAPIC_COMBO name_pretty_override: Cloud Datastore product_documentation_override: https://cloud.google.com/datastore recommended_package: com.google.cloud.datastore - released_version: 3.5.0 - name: datastream version: 1.96.0 apis: @@ -1541,10 +1541,10 @@ libraries: - path: google/cloud/datastream/v1alpha1 java: api_description_override: is a serverless and easy-to-use change data capture (CDC) and replication service. It allows you to synchronize data across heterogeneous databases and applications reliably, and with minimal latency and downtime. + released_version: 1.96.0 name_pretty_override: Datastream product_documentation_override: https://cloud.google.com/datastream/docs rest_documentation: https://cloud.google.com/datastream/docs/reference/rest - released_version: 1.96.0 - name: deploy version: 1.95.0 apis: @@ -1556,9 +1556,9 @@ libraries: java: api_description_override: is a service that automates delivery of your applications to a series of target environments in a defined sequence codeowner_team: '@googleapis/aap-dpes' + released_version: 1.95.0 name_pretty_override: Google Cloud Deploy product_documentation_override: https://cloud.google.com/deploy/docs - released_version: 1.95.0 - name: developerconnect version: 0.54.0 apis: @@ -1570,10 +1570,10 @@ libraries: api_id_override: developerconnect.googleapis.com api_description_override: Connect third-party source code management to Google client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-developerconnect/latest/overview + released_version: 0.54.0 library_type_override: GAPIC_AUTO name_pretty_override: Developer Connect API product_documentation_override: https://cloud.google.com/developer-connect/docs/overview - released_version: 0.54.0 - name: developerknowledge version: 0.5.0 apis: @@ -1583,10 +1583,10 @@ libraries: api_description_override: The Developer Knowledge API provides access to Google's developer knowledge artifact_id: google-cloud-developer-knowledge client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-developer-knowledge/latest/overview + released_version: 0.5.0 library_type_override: GAPIC_AUTO name_pretty_override: Developer Knowledge API product_documentation_override: https://developers.google.com/knowledge - released_version: 0.5.0 - name: devicestreaming version: 0.37.0 apis: @@ -1595,10 +1595,10 @@ libraries: api_id_override: devicestreaming.googleapis.com api_description_override: The Cloud API for device streaming usage. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-devicestreaming/latest/overview + released_version: 0.37.0 library_type_override: GAPIC_AUTO name_pretty_override: Device Streaming API product_documentation_override: https://cloud.google.com/device-streaming/docs - released_version: 0.37.0 - name: dialogflow version: 4.103.0 apis: @@ -1671,9 +1671,9 @@ libraries: java: api_description_override: is an end-to-end, build-once deploy-everywhere development suite for creating conversational interfaces for websites, mobile applications, popular messaging platforms, and IoT devices. You can use it to build interfaces (such as chatbots and conversational IVR) that enable natural and rich interactions between your users and your business. Dialogflow Enterprise Edition users have access to Google Cloud Support and a service level agreement (SLA) for production deployments. issue_tracker_override: https://issuetracker.google.com/savedsearches/5300385 + released_version: 4.103.0 name_pretty_override: Dialogflow API product_documentation_override: https://cloud.google.com/dialogflow-enterprise/ - released_version: 4.103.0 - name: dialogflow-cx version: 0.108.0 apis: @@ -1688,11 +1688,11 @@ libraries: java: api_description_override: provides a new way of designing agents, taking a state machine approach to agent design. This gives you clear and explicit control over a conversation, a better end-user experience, and a better development workflow. api_shortname_override: dialogflow-cx + released_version: 0.108.0 name_pretty_override: Dialogflow CX product_documentation_override: https://cloud.google.com/dialogflow/cx/docs rest_documentation: https://cloud.google.com/dialogflow/cx/docs/reference/rest rpc_documentation: https://cloud.google.com/dialogflow/cx/docs/reference/rpc - released_version: 0.108.0 - name: discoveryengine version: 0.93.0 apis: @@ -1710,9 +1710,9 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: A Cloud API that offers search and recommendation discoverability for documents from different industry verticals (e.g. media, retail, etc.). + released_version: 0.93.0 name_pretty_override: Discovery Engine API product_documentation_override: https://cloud.google.com/discovery-engine/media/docs - released_version: 0.93.0 - name: distributedcloudedge version: 0.94.0 apis: @@ -1724,9 +1724,9 @@ libraries: api_id_override: edgecontainer.googleapis.com api_description_override: Google Distributed Cloud Edge allows you to run Kubernetes clusters on dedicated hardware provided and maintained by Google that is separate from the Google Cloud data center. api_shortname_override: distributedcloudedge + released_version: 0.94.0 name_pretty_override: Google Distributed Cloud Edge product_documentation_override: https://cloud.google.com/distributed-cloud/edge/latest/ - released_version: 0.94.0 - name: dlp version: 3.101.0 apis: @@ -1769,11 +1769,11 @@ libraries: java: api_description_override: provides programmatic access to a powerful detection engine for personally identifiable information and other privacy-sensitive data in unstructured data streams, like text blocks and images. issue_tracker_override: https://issuetracker.google.com/savedsearches/5548083 + released_version: 3.101.0 name_pretty_override: Cloud Data Loss Prevention product_documentation_override: https://cloud.google.com/dlp/docs/ rest_documentation: https://cloud.google.com/dlp/docs/reference/rest rpc_documentation: https://cloud.google.com/dlp/docs/reference/rpc - released_version: 3.101.0 - name: dms version: 2.96.0 apis: @@ -1781,10 +1781,10 @@ libraries: java: api_id_override: datamigration.googleapis.com api_description_override: makes it easier for you to migrate your data to Google Cloud. This service helps you lift and shift your MySQL and PostgreSQL workloads into Cloud SQL. + released_version: 2.96.0 name_pretty_override: Database Migration Service product_documentation_override: https://cloud.google.com/database-migration/docs rest_documentation: https://cloud.google.com/database-migration/docs/reference/rest - released_version: 2.96.0 - name: document-ai version: 2.101.0 apis: @@ -1799,9 +1799,9 @@ libraries: java: api_description_override: allows developers to unlock insights from your documents with machine learning. issue_tracker_override: https://issuetracker.google.com/savedsearches/559755 + released_version: 2.101.0 name_pretty_override: Document AI product_documentation_override: https://cloud.google.com/compute/docs/documentai/ - released_version: 2.101.0 - name: domains version: 1.94.0 apis: @@ -1810,9 +1810,9 @@ libraries: - path: google/cloud/domains/v1alpha2 java: api_description_override: allows you to register and manage domains by using Cloud Domains. + released_version: 1.94.0 name_pretty_override: Cloud Domains product_documentation_override: https://cloud.google.com/domains - released_version: 1.94.0 - name: edgenetwork version: 0.65.0 apis: @@ -1822,18 +1822,18 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: Network management API for Distributed Cloud Edge. + released_version: 0.65.0 name_pretty_override: Distributed Cloud Edge Network API product_documentation_override: https://cloud.google.com/distributed-cloud/edge/latest/docs/overview - released_version: 0.65.0 - name: enterpriseknowledgegraph version: 0.93.0 apis: - path: google/cloud/enterpriseknowledgegraph/v1 java: api_description_override: Enterprise Knowledge Graph organizes siloed information into organizational knowledge, which involves consolidating, standardizing, and reconciling data in an efficient and useful way. + released_version: 0.93.0 name_pretty_override: Enterprise Knowledge Graph product_documentation_override: https://cloud.google.com/enterprise-knowledge-graph/docs/overview - released_version: 0.93.0 - name: errorreporting version: 0.218.0-beta apis: @@ -1885,19 +1885,19 @@ libraries: java: api_description_override: 'counts, analyzes, and aggregates the crashes in your running cloud services. A centralized error management interface displays the results with sorting and filtering capabilities. A dedicated view shows the error details: time chart, occurrences, affected user count, first- and last-seen dates and a cleaned exception stack trace. Opt in to receive email and mobile alerts on new errors.' issue_tracker_override: https://issuetracker.google.com/savedsearches/559780 + released_version: 0.218.0-beta name_pretty_override: Error Reporting product_documentation_override: https://cloud.google.com/error-reporting billing_not_required: true - released_version: 0.218.0-beta - name: essential-contacts version: 2.97.0 apis: - path: google/cloud/essentialcontacts/v1 java: api_description_override: helps you customize who receives notifications by providing your own list of contacts in many Google Cloud services. + released_version: 2.97.0 name_pretty_override: Essential Contacts API product_documentation_override: https://cloud.google.com/resource-manager/docs/managing-notification-contacts/ - released_version: 2.97.0 - name: eventarc version: 1.97.0 apis: @@ -1909,11 +1909,11 @@ libraries: java: api_description_override: lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. Eventarc requires no infrastructure management, you can optimize productivity and costs while building a modern, event-driven solution. codeowner_team: '@googleapis/aap-dpes' + released_version: 1.97.0 name_pretty_override: Eventarc product_documentation_override: https://cloud.google.com/eventarc/docs rest_documentation: https://cloud.google.com/eventarc/docs/reference/rest rpc_documentation: https://cloud.google.com/eventarc/docs/reference/rpc - released_version: 1.97.0 - name: eventarc-publishing version: 0.97.0 apis: @@ -1921,11 +1921,11 @@ libraries: java: api_id_override: eventarc-publishing.googleapis.com api_description_override: lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. + released_version: 0.97.0 name_pretty_override: Eventarc Publishing product_documentation_override: https://cloud.google.com/eventarc/docs rest_documentation: https://cloud.google.com/eventarc/docs/reference/rest rpc_documentation: https://cloud.google.com/eventarc/docs/reference/rpc - released_version: 0.97.0 - name: filestore version: 1.98.0 apis: @@ -1941,10 +1941,10 @@ libraries: generate_proto_classes: true java: api_description_override: instances are fully managed NFS file servers on Google Cloud for use with applications running on Compute Engine virtual machines (VMs) instances or Google Kubernetes Engine clusters. + released_version: 1.98.0 name_pretty_override: Cloud Filestore API product_documentation_override: https://cloud.google.com/filestore/docs rest_documentation: https://cloud.google.com/filestore/docs/reference/rest - released_version: 1.98.0 - name: financialservices version: 0.38.0 apis: @@ -1956,10 +1956,10 @@ libraries: api_id_override: financialservices.googleapis.com api_description_override: Google Cloud's Anti Money Laundering AI (AML AI) product is an API that scores AML risk. Use it to identify more risk, more defensibly, with fewer false positives and reduced time per review. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-financialservices/latest/overview + released_version: 0.38.0 library_type_override: GAPIC_AUTO name_pretty_override: Financial Services API product_documentation_override: https://cloud.google.com/financial-services/anti-money-laundering/docs/concepts/overview - released_version: 0.38.0 - name: firestore version: 3.47.0 apis: @@ -2020,13 +2020,13 @@ libraries: - google-cloud-firestore - google-cloud-firestore-bom issue_tracker_override: https://issuetracker.google.com/savedsearches/5337669 + released_version: 3.47.0 library_type_override: GAPIC_COMBO name_pretty_override: Cloud Firestore product_documentation_override: https://cloud.google.com/firestore recommended_package: com.google.cloud.firestore transport_override: grpc skip_pom_updates: true - released_version: 3.47.0 - name: ftp version: 0.2.0 apis: @@ -2062,11 +2062,11 @@ libraries: java: api_description_override: is a scalable pay as you go Functions-as-a-Service (FaaS) to run your code with zero server management. codeowner_team: '@googleapis/aap-dpes' + released_version: 2.99.0 name_pretty_override: Cloud Functions product_documentation_override: https://cloud.google.com/functions rest_documentation: https://cloud.google.com/functions/docs/reference/rest rpc_documentation: https://cloud.google.com/functions/docs/reference/rpc - released_version: 2.99.0 - name: gdchardwaremanagement version: 0.52.0 apis: @@ -2078,11 +2078,11 @@ libraries: api_id_override: gdchardwaremanagement.googleapis.com api_description_override: Google Distributed Cloud connected allows you to run Kubernetes clusters on dedicated hardware provided and maintained by Google that is separate from the Google Cloud data center. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-gdchardwaremanagement/latest/overview + released_version: 0.52.0 library_type_override: GAPIC_AUTO name_pretty_override: GDC Hardware Management API product_documentation_override: https://cloud.google.com/distributed-cloud/edge/latest/docs rpc_documentation: https://cloud.google.com/distributed-cloud/edge/latest/docs/reference/hardware/rpc - released_version: 0.52.0 - name: geminidataanalytics version: 0.25.0 apis: @@ -2098,11 +2098,11 @@ libraries: api_id_override: geminidataanalytics.googleapis.com api_description_override: Use Conversational Analytics API to build an artificial intelligence (AI)-powered chat interface, or data agent, that answers questions about structured data using natural language. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-geminidataanalytics/latest/overview + released_version: 0.25.0 library_type_override: GAPIC_AUTO name_pretty_override: Data Analytics API with Gemini product_documentation_override: https://cloud.google.com/gemini/docs/conversational-analytics-api/overview rpc_documentation: https://cloud.google.com/gemini/docs/conversational-analytics-api/reference - released_version: 0.25.0 - name: gke-backup version: 0.96.0 apis: @@ -2115,18 +2115,18 @@ libraries: api_id_override: gkebackup.googleapis.com api_description_override: is a service for backing up and restoring workloads in GKE. api_shortname_override: gke-backup + released_version: 0.96.0 name_pretty_override: Backup for GKE product_documentation_override: 'https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/concepts/backup-for-gke ' - released_version: 0.96.0 - name: gke-connect-gateway version: 0.98.0 apis: - path: google/cloud/gkeconnect/gateway/v1beta1 java: api_description_override: builds on the power of fleets to let Anthos users connect to and run commands against registered Anthos clusters in a simple, consistent, and secured way, whether the clusters are on Google Cloud, other public clouds, or on premises, and makes it easier to automate DevOps processes across all your clusters. + released_version: 0.98.0 name_pretty_override: Connect Gateway API product_documentation_override: https://cloud.google.com/anthos/multicluster-management/gateway/ - released_version: 0.98.0 - name: gke-multi-cloud version: 0.96.0 apis: @@ -2135,9 +2135,9 @@ libraries: api_id_override: gkemulticloud.googleapis.com api_description_override: enables you to provision and manage GKE clusters running on AWS and Azure infrastructure through a centralized Google Cloud backed control plane. api_shortname_override: gke-multi-cloud + released_version: 0.96.0 name_pretty_override: Anthos Multicloud product_documentation_override: https://cloud.google.com/anthos/clusters/docs/multi-cloud - released_version: 0.96.0 - name: gkehub version: 1.97.0 apis: @@ -2167,9 +2167,9 @@ libraries: samples: false java: api_description_override: provides a unified way to work with Kubernetes clusters as part of Anthos, extending GKE to work in multiple environments. You have consistent, unified, and secure infrastructure, cluster, and container management, whether you're using Anthos on Google Cloud (with traditional GKE), hybrid cloud, or multiple public clouds. + released_version: 1.97.0 name_pretty_override: GKE Hub API product_documentation_override: https://cloud.google.com/anthos/gke/docs/ - released_version: 1.97.0 - name: gkerecommender version: 0.17.0 apis: @@ -2178,10 +2178,10 @@ libraries: api_id_override: gkerecommender.googleapis.com api_description_override: lets you analyze the performance and cost-efficiency of your inference workloads, and make data-driven decisions about resource allocation and model deployment strategies. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-gkerecommender/latest/overview + released_version: 0.17.0 library_type_override: GAPIC_AUTO name_pretty_override: GKE Recommender API product_documentation_override: https://cloud.google.com/kubernetes-engine/docs/how-to/machine-learning/inference-quickstart - released_version: 0.17.0 - name: google-cloud-java version: 1.91.0 skip_generate: true @@ -2217,10 +2217,10 @@ libraries: client_documentation_override: https://cloud.google.com/java/docs/reference/grafeas/latest/overview codeowner_team: '@googleapis/aap-dpes' group_id: io.grafeas + released_version: 2.98.0 name_pretty_override: Grafeas product_documentation_override: https://grafeas.io skip_pom_updates: true - released_version: 2.98.0 - name: gsuite-addons version: 2.97.0 apis: @@ -2275,9 +2275,9 @@ libraries: samples: false java: api_description_override: are customized applications that integrate with Google Workspace productivity applications. + released_version: 2.97.0 name_pretty_override: Google Workspace Add-ons API product_documentation_override: https://developers.google.com/workspace/add-ons/overview - released_version: 2.97.0 - name: health version: 0.6.0 apis: @@ -2286,11 +2286,11 @@ libraries: api_id_override: health.googleapis.com api_description_override: The Google Health API lets you view and manage health and fitness metrics and measurement data. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-health/latest/overview + released_version: 0.6.0 library_type_override: GAPIC_AUTO name_pretty_override: Google Health API product_documentation_override: https://developers.google.com/health/api rpc_documentation: https://developers.google.com/health/api/reference/rpc - released_version: 0.6.0 - name: hypercomputecluster version: 0.17.0 apis: @@ -2306,10 +2306,10 @@ libraries: api_id_override: hypercomputecluster.googleapis.com api_description_override: simplifies cluster management across compute, network, and storage client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-hypercomputecluster/latest/overview + released_version: 0.17.0 library_type_override: GAPIC_AUTO name_pretty_override: Cluster Director API product_documentation_override: https://cloud.google.com/blog/products/compute/managed-slurm-and-other-cluster-director-enhancements - released_version: 0.17.0 - name: iam version: 1.71.0 apis: @@ -2360,11 +2360,11 @@ libraries: - google-iam-policy - proto-google-iam-v1 group_id: com.google.api.grpc + released_version: 1.71.0 library_type_override: OTHER name_pretty_override: IAM product_documentation_override: https://cloud.google.com/iam skip_api_id: true - released_version: 1.71.0 - name: iam-admin version: 3.92.0 apis: @@ -2374,9 +2374,9 @@ libraries: api_description_override: you to manage your Service Accounts and IAM bindings. api_shortname_override: iam-admin artifact_id: google-iam-admin + released_version: 3.92.0 name_pretty_override: IAM Admin API product_documentation_override: https://cloud.google.com/iam/docs/apis - released_version: 3.92.0 - name: iam-policy version: 1.94.0 apis: @@ -2418,9 +2418,9 @@ libraries: - proto-google-iam-v1-bom - google-iam-policy - proto-google-iam-v1 + released_version: 1.94.0 name_pretty_override: Cloud IAM Policy product_documentation_override: n/a - released_version: 1.94.0 - name: iamcredentials version: 2.97.0 apis: @@ -2428,10 +2428,10 @@ libraries: java: api_description_override: creates short-lived, limited-privilege credentials for IAM service accounts. issue_tracker_override: https://issuetracker.google.com/issues/new?component=187161 + released_version: 2.97.0 name_pretty_override: IAM Service Account Credentials API product_documentation_override: https://cloud.google.com/iam/credentials/reference/rest/ billing_not_required: true - released_version: 2.97.0 - name: iap version: 0.53.0 apis: @@ -2440,19 +2440,19 @@ libraries: api_id_override: iap.googleapis.com api_description_override: Controls access to cloud applications running on Google Cloud Platform. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-iap/latest/overview + released_version: 0.53.0 library_type_override: GAPIC_AUTO name_pretty_override: Cloud Identity-Aware Proxy API product_documentation_override: https://cloud.google.com/iap - released_version: 0.53.0 - name: ids version: 1.96.0 apis: - path: google/cloud/ids/v1 java: api_description_override: ' monitors your networks, and it alerts you when it detects malicious activity. Cloud IDS is powered by Palo Alto Networks.' + released_version: 1.96.0 name_pretty_override: Intrusion Detection System product_documentation_override: https://cloud.google.com/intrusion-detection-system/docs - released_version: 1.96.0 - name: infra-manager version: 0.74.0 apis: @@ -2464,9 +2464,9 @@ libraries: java: api_id_override: config.googleapis.com api_description_override: Creates and manages Google Cloud Platform resources and infrastructure. + released_version: 0.74.0 name_pretty_override: Infrastructure Manager API product_documentation_override: https://cloud.google.com/infrastructure-manager/docs/overview - released_version: 0.74.0 - name: iot version: 2.97.0 apis: @@ -2474,9 +2474,9 @@ libraries: java: api_description_override: is a complete set of tools to connect, process, store, and analyze data both at the edge and in the cloud. The platform consists of scalable, fully-managed cloud services; an integrated software stack for edge/on-premises computing with machine learning capabilities for all your IoT needs. issue_tracker_override: https://issuetracker.google.com/issues?q=status:open%20componentid:310170 + released_version: 2.97.0 name_pretty_override: Cloud Internet of Things (IoT) Core product_documentation_override: https://cloud.google.com/iot - released_version: 2.97.0 - name: java-shopping-merchant-issue-resolution version: 1.25.0 apis: @@ -2487,10 +2487,10 @@ libraries: api_description_override: Programatically manage your Merchant Issues artifact_id: google-shopping-merchant-issue-resolution client_documentation_override: https://cloud.google.com/java/docs/reference/google-shopping-merchant-issue-resolution/latest/overview + released_version: 1.25.0 library_type_override: GAPIC_AUTO name_pretty_override: Merchant Issue Resolution API product_documentation_override: https://developers.google.com/merchant/api - released_version: 1.25.0 - name: java-shopping-merchant-order-tracking version: 1.25.0 apis: @@ -2501,10 +2501,10 @@ libraries: api_description_override: Programmatically manage your Merchant Center Accounts artifact_id: google-shopping-merchant-order-tracking client_documentation_override: https://cloud.google.com/java/docs/reference/google-shopping-merchant-order-tracking/latest/overview + released_version: 1.25.0 library_type_override: GAPIC_AUTO name_pretty_override: Merchant Order Tracking API product_documentation_override: https://developers.google.com/merchant/api - released_version: 1.25.0 - name: kms version: 2.100.0 apis: @@ -2728,20 +2728,20 @@ libraries: java: api_description_override: a cloud-hosted key management service that lets you manage cryptographic keys for your cloud services the same way you do on-premises. You can generate, use, rotate, and destroy AES256, RSA 2048, RSA 3072, RSA 4096, EC P256, and EC P384 cryptographic keys. Cloud KMS is integrated with Cloud IAM and Cloud Audit Logging so that you can manage permissions on individual keys and monitor how these are used. Use Cloud KMS to protect secrets and other sensitive data that you need to store in Google Cloud Platform. issue_tracker_override: https://issuetracker.google.com/savedsearches/5264932 + released_version: 2.100.0 name_pretty_override: Cloud Key Management Service product_documentation_override: https://cloud.google.com/kms - released_version: 2.100.0 - name: kmsinventory version: 0.86.0 apis: - path: google/cloud/kms/inventory/v1 java: api_description_override: KMS Inventory API. + released_version: 0.86.0 name_pretty_override: KMS Inventory API product_documentation_override: https://cloud.google.com/kms/docs/ rest_documentation: https://cloud.google.com/kms/docs/reference/rest rpc_documentation: https://cloud.google.com/kms/docs/reference/rpc - released_version: 0.86.0 - name: language version: 2.98.0 apis: @@ -2751,11 +2751,11 @@ libraries: java: api_description_override: provides natural language understanding technologies to developers, including sentiment analysis, entity analysis, entity sentiment analysis, content classification, and syntax analysis. This API is part of the larger Cloud Machine Learning API family. issue_tracker_override: https://issuetracker.google.com/savedsearches/559753 + released_version: 2.98.0 name_pretty_override: Natural Language product_documentation_override: https://cloud.google.com/natural-language/docs/ rest_documentation: https://cloud.google.com/natural-language/docs/reference/rest rpc_documentation: https://cloud.google.com/natural-language/docs/reference/rpc - released_version: 2.98.0 - name: licensemanager version: 0.30.0 apis: @@ -2767,10 +2767,10 @@ libraries: api_id_override: licensemanager.googleapis.com api_description_override: License Manager is a tool to manage and track third-party licenses on Google Cloud. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-licensemanager/latest/overview + released_version: 0.30.0 library_type_override: GAPIC_AUTO name_pretty_override: License Manager API product_documentation_override: https://cloud.google.com/compute/docs/instances/windows/ms-licensing - released_version: 0.30.0 - name: life-sciences version: 0.99.0 apis: @@ -2780,11 +2780,11 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: is a suite of services and tools for managing, processing, and transforming life sciences data. + released_version: 0.99.0 name_pretty_override: Cloud Life Sciences product_documentation_override: https://cloud.google.com/life-sciences/docs rest_documentation: https://cloud.google.com/life-sciences/docs/reference/rest rpc_documentation: https://cloud.google.com/life-sciences/docs/reference/rpc - released_version: 0.99.0 - name: locationfinder version: 0.22.0 apis: @@ -2793,11 +2793,11 @@ libraries: api_id_override: locationfinder.googleapis.com api_description_override: Cloud Location Finder is a public API that offers a repository of all Google Cloud and Google Distributed Cloud locations, as well as cloud locations for other cloud providers. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-locationfinder/latest/overview + released_version: 0.22.0 library_type_override: GAPIC_AUTO name_pretty_override: Cloud Location Finder API product_documentation_override: https://cloud.google.com/location-finder/docs/overview rpc_documentation: https://cloud.google.com/locationfinder/docs/reference/rest - released_version: 0.22.0 - name: logging version: 3.38.0 apis: @@ -2957,12 +2957,12 @@ libraries: client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-logging/latest/history codeowner_team: '@googleapis/cloud-sdk-java-team' issue_tracker_override: https://issuetracker.google.com/savedsearches/559764 + released_version: 3.38.0 library_type_override: GAPIC_COMBO name_pretty_override: Cloud Logging product_documentation_override: https://cloud.google.com/logging/docs recommended_package: com.google.cloud.logging transport_override: grpc - released_version: 3.38.0 - name: lustre version: 0.37.0 apis: @@ -2974,10 +2974,10 @@ libraries: api_id_override: lustre.googleapis.com api_description_override: Google Cloud Managed Lustre delivers a high-performance, fully managed parallel file system optimized for AI and HPC applications. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-lustre/latest/overview + released_version: 0.37.0 library_type_override: GAPIC_AUTO name_pretty_override: Google Cloud Managed Lustre API product_documentation_override: https://cloud.google.com/managed-lustre/docs - released_version: 0.37.0 - name: maintenance version: 0.31.0 apis: @@ -2993,11 +2993,11 @@ libraries: api_id_override: maintenance.googleapis.com api_description_override: The Maintenance API provides a centralized view of planned disruptive maintenance events across supported Google Cloud products. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-maintenance/latest/overview + released_version: 0.31.0 library_type_override: GAPIC_AUTO name_pretty_override: Maintenance API product_documentation_override: https://cloud.google.com/unified-maintenance/docs/overview rpc_documentation: https://cloud.google.com/unified-maintenance/docs/reference/rpc - released_version: 0.31.0 - name: managed-identities version: 1.95.0 apis: @@ -3005,9 +3005,9 @@ libraries: java: api_id_override: managedidentities.googleapis.com api_description_override: is a highly available, hardened Google Cloud service running actual Microsoft AD that enables you to manage authentication and authorization for your AD-dependent workloads, automate AD server maintenance and security configuration, and connect your on-premises AD domain to the cloud. + released_version: 1.95.0 name_pretty_override: Managed Service for Microsoft Active Directory product_documentation_override: https://cloud.google.com/managed-microsoft-ad/ - released_version: 1.95.0 - name: managedkafka version: 0.53.0 apis: @@ -3019,10 +3019,10 @@ libraries: api_id_override: managedkafka.googleapis.com api_description_override: Manage Apache Kafka clusters and resources. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-managedkafka/latest/overview + released_version: 0.53.0 library_type_override: GAPIC_AUTO name_pretty_override: Managed Service for Apache Kafka product_documentation_override: https://cloud.google.com/managed-kafka - released_version: 0.53.0 - name: maps-addressvalidation version: 0.91.0 apis: @@ -3032,9 +3032,9 @@ libraries: api_description_override: The Address Validation API allows developers to verify the accuracy of addresses. Given an address, it returns information about the correctness of the components of the parsed address, a geocode, and a verdict on the deliverability of the parsed address. api_shortname_override: maps-addressvalidation artifact_id: google-maps-addressvalidation + released_version: 0.91.0 name_pretty_override: Address Validation API product_documentation_override: https://developers.google.com/maps/documentation/address-validation/ - released_version: 0.91.0 - name: maps-area-insights version: 0.48.0 apis: @@ -3045,10 +3045,10 @@ libraries: api_shortname_override: maps-area-insights artifact_id: google-maps-area-insights client_documentation_override: https://cloud.google.com/java/docs/reference/google-maps-area-insights/latest/overview + released_version: 0.48.0 library_type_override: GAPIC_AUTO name_pretty_override: Places Insights API product_documentation_override: https://developers.google.com/maps/documentation/places-insights - released_version: 0.48.0 - name: maps-fleetengine version: 0.44.0 apis: @@ -3059,10 +3059,10 @@ libraries: api_shortname_override: maps-fleetengine artifact_id: google-maps-fleetengine client_documentation_override: https://cloud.google.com/java/docs/reference/google-maps-fleetengine/latest/overview + released_version: 0.44.0 library_type_override: GAPIC_AUTO name_pretty_override: Local Rides and Deliveries API product_documentation_override: https://developers.google.com/maps/documentation/transportation-logistics/mobility - released_version: 0.44.0 - name: maps-fleetengine-delivery version: 0.44.0 apis: @@ -3073,10 +3073,10 @@ libraries: api_shortname_override: maps-fleetengine-delivery artifact_id: google-maps-fleetengine-delivery client_documentation_override: https://cloud.google.com/java/docs/reference/google-maps-fleetengine-delivery/latest/overview + released_version: 0.44.0 library_type_override: GAPIC_AUTO name_pretty_override: Last Mile Fleet Solution Delivery API product_documentation_override: https://developers.google.com/maps/documentation/transportation-logistics/mobility - released_version: 0.44.0 - name: maps-geocode version: 0.9.0 apis: @@ -3086,10 +3086,10 @@ libraries: api_description_override: The Geocoding API is a service that accepts a place as an address, latitude and longitude coordinates, or Place ID. artifact_id: google-maps-geocode client_documentation_override: https://cloud.google.com/java/docs/reference/google-maps-geocode/latest/overview + released_version: 0.9.0 library_type_override: GAPIC_AUTO name_pretty_override: Geocoding API product_documentation_override: https://developers.google.com/maps/documentation/geocoding/overview - released_version: 0.9.0 - name: maps-isochrones version: 0.3.0 apis: @@ -3109,10 +3109,10 @@ libraries: artifact_id: google-maps-mapmanagement client_documentation_override: https://cloud.google.com/java/docs/reference/google-maps-mapmanagement/latest/overview group_id: com.google.maps + released_version: 0.6.0 library_type_override: GAPIC_AUTO name_pretty_override: Map Management API product_documentation_override: https://developers.google.com/maps/documentation/mapmanagement/overview - released_version: 0.6.0 - name: maps-mapsplatformdatasets version: 0.86.0 apis: @@ -3124,9 +3124,9 @@ libraries: that they can use to enrich their experience of Maps Platform solutions (e.g. styling, routing). api_shortname_override: maps-mapsplatformdatasets artifact_id: google-maps-mapsplatformdatasets + released_version: 0.86.0 name_pretty_override: Maps Platform Datasets API product_documentation_override: https://developers.google.com/maps/documentation - released_version: 0.86.0 - name: maps-navconnect version: 0.3.0 apis: @@ -3146,9 +3146,9 @@ libraries: api_description_override: The Places API allows developers to access a variety of search and retrieval endpoints for a Place. api_shortname_override: maps-places artifact_id: google-maps-places + released_version: 0.68.0 name_pretty_override: Places API (New) product_documentation_override: https://developers.google.com/maps/documentation/places/web-service/ - released_version: 0.68.0 - name: maps-routeoptimization version: 0.55.0 apis: @@ -3158,12 +3158,12 @@ libraries: api_description_override: The Route Optimization API assigns tasks and routes to a vehicle fleet, optimizing against the objectives and constraints that you supply for your transportation goals. artifact_id: google-maps-routeoptimization client_documentation_override: https://cloud.google.com/java/docs/reference/google-maps-routeoptimization/latest/overview + released_version: 0.55.0 library_type_override: GAPIC_AUTO name_pretty_override: Route Optimization API product_documentation_override: https://developers.google.com/maps/documentation/route-optimization rest_documentation: https://developers.google.com/maps/documentation/route-optimization/reference/rest/ rpc_documentation: https://developers.google.com/maps/documentation/route-optimization/reference/rpc - released_version: 0.55.0 - name: maps-routing version: 1.82.0 apis: @@ -3173,9 +3173,9 @@ libraries: api_description_override: Routes API is the next generation, performance optimized version of the existing Directions API and Distance Matrix API. It helps you find the ideal route from A to Z, calculates ETAs and distances for matrices of origin and destination locations, and also offers new features. api_shortname_override: maps-routing artifact_id: google-maps-routing + released_version: 1.82.0 name_pretty_override: Routes API product_documentation_override: https://developers.google.com/maps/documentation/routes - released_version: 1.82.0 - name: maps-solar version: 0.56.0 apis: @@ -3186,11 +3186,11 @@ libraries: api_shortname_override: maps-solar artifact_id: google-maps-solar client_documentation_override: https://cloud.google.com/java/docs/reference/google-maps-solar/latest/overview + released_version: 0.56.0 library_type_override: GAPIC_AUTO name_pretty_override: Solar API product_documentation_override: https://developers.google.com/maps/documentation/solar/overview rpc_documentation: https://developers.google.com/maps/documentation/solar/reference/rest - released_version: 0.56.0 - name: marketingplatformadminapi version: 0.46.0 apis: @@ -3203,20 +3203,20 @@ libraries: artifact_id: admin client_documentation_override: https://cloud.google.com/java/docs/reference/admin/latest/overview group_id: com.google.ads-marketingplatform + released_version: 0.46.0 library_type_override: GAPIC_AUTO name_pretty_override: Google Marketing Platform Admin API product_documentation_override: https://developers.google.com/analytics/devguides/config/gmp/v1 - released_version: 0.46.0 - name: mediatranslation version: 0.103.0 apis: - path: google/cloud/mediatranslation/v1beta1 java: api_description_override: provides enterprise quality translation from/to various media types. + released_version: 0.103.0 name_pretty_override: Media Translation API product_documentation_override: https://cloud.google.com/ billing_not_required: true - released_version: 0.103.0 - name: meet version: 0.64.0 apis: @@ -3224,9 +3224,9 @@ libraries: - path: google/apps/meet/v2beta java: api_description_override: The Google Meet REST API lets you create and manage meetings for Google Meet and offers entry points to your users directly from your app + released_version: 0.64.0 name_pretty_override: Google Meet API product_documentation_override: https://developers.google.com/meet/api/guides/overview - released_version: 0.64.0 - name: memcache version: 2.97.0 apis: @@ -3240,10 +3240,10 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: is a fully-managed in-memory data store service for Memcache. + released_version: 2.97.0 name_pretty_override: Cloud Memcache product_documentation_override: https://cloud.google.com/memorystore/ billing_not_required: true - released_version: 2.97.0 - name: migrationcenter version: 0.79.0 apis: @@ -3253,9 +3253,9 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: Google Cloud Migration Center is a unified platform that helps you accelerate your end-to-end cloud journey from your current on-premises or cloud environments to Google Cloud + released_version: 0.79.0 name_pretty_override: Migration Center API product_documentation_override: https://cloud.google.com/migration-center/docs/migration-center-overview - released_version: 0.79.0 - name: modelarmor version: 0.38.0 apis: @@ -3271,10 +3271,10 @@ libraries: api_id_override: modelarmor.googleapis.com api_description_override: Model Armor helps you protect against risks like prompt injection, harmful content, and data leakage in generative AI applications by letting you define policies that filter user prompts and model responses. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-modelarmor/latest/overview + released_version: 0.38.0 library_type_override: GAPIC_AUTO name_pretty_override: Model Armor API product_documentation_override: https://cloud.google.com/security-command-center/docs/model-armor-overview - released_version: 0.38.0 - name: monitoring version: 3.98.0 apis: @@ -3322,9 +3322,9 @@ libraries: java: api_description_override: collects metrics, events, and metadata from Google Cloud, Amazon Web Services (AWS), hosted uptime probes, and application instrumentation. Using the BindPlane service, you can also collect this data from over 150 common application components, on-premise systems, and hybrid cloud systems. Stackdriver ingests that data and generates insights via dashboards, charts, and alerts. BindPlane is included with your Google Cloud project at no additional cost. issue_tracker_override: https://issuetracker.google.com/savedsearches/559785 + released_version: 3.98.0 name_pretty_override: Stackdriver Monitoring product_documentation_override: https://cloud.google.com/monitoring/docs - released_version: 3.98.0 - name: monitoring-dashboards version: 2.99.0 apis: @@ -3338,9 +3338,9 @@ libraries: api_description_override: are one way for you to view and analyze metric data. The Cloud Console provides predefined dashboards that require no setup or configuration. You can also define custom dashboards. With custom dashboards, you have complete control over the charts that are displayed and their configuration. api_shortname_override: monitoring-dashboards artifact_id: google-cloud-monitoring-dashboard + released_version: 2.99.0 name_pretty_override: Monitoring Dashboards product_documentation_override: https://cloud.google.com/monitoring/charts/dashboards - released_version: 2.99.0 - name: monitoring-metricsscope version: 0.91.0 apis: @@ -3349,9 +3349,9 @@ libraries: api_id_override: monitoring.googleapis.com api_description_override: The metrics scope defines the set of Google Cloud projects whose metrics the current Google Cloud project can access. api_shortname_override: monitoring-metricsscope + released_version: 0.91.0 name_pretty_override: Monitoring Metrics Scopes product_documentation_override: https://cloud.google.com/monitoring/api/ref_v3/rest/v1/locations.global.metricsScopes - released_version: 0.91.0 - name: netapp version: 0.76.0 apis: @@ -3361,9 +3361,9 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: Google Cloud NetApp Volumes is a fully-managed, cloud-based data storage service that provides advanced data management capabilities and highly scalable performance with global availability. + released_version: 0.76.0 name_pretty_override: NetApp API product_documentation_override: https://cloud.google.com/netapp/volumes/docs/discover/overview - released_version: 0.76.0 - name: network-management version: 1.98.0 apis: @@ -3617,9 +3617,9 @@ libraries: public void testIamPermissionsTest() throws Exception { java: api_description_override: provides a collection of network performance monitoring and diagnostic capabilities. + released_version: 1.98.0 name_pretty_override: Network Management API product_documentation_override: https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/reference/networkmanagement/rest/ - released_version: 1.98.0 - name: network-security version: 0.100.0 apis: @@ -3635,9 +3635,9 @@ libraries: - path: google/iam/v1/iam_policy.proto java: api_description_override: n/a + released_version: 0.100.0 name_pretty_override: Network Security API product_documentation_override: https://cloud.google.com/traffic-director/docs/reference/network-security/rest - released_version: 0.100.0 - name: networkconnectivity version: 1.96.0 apis: @@ -3654,9 +3654,9 @@ libraries: - path: google/cloud/networkconnectivity/v1alpha1 java: api_description_override: Google's suite of products that provide enterprise connectivity from your on-premises network or from another cloud provider to your Virtual Private Cloud (VPC) network + released_version: 1.96.0 name_pretty_override: Network Connectivity Center product_documentation_override: https://cloud.google.com/network-connectivity/docs - released_version: 1.96.0 - name: networkservices version: 0.53.0 apis: @@ -3669,10 +3669,10 @@ libraries: api_id_override: networkservices.googleapis.com api_description_override: Google Cloud offers a broad portfolio of networking services built on top of planet-scale infrastructure that leverages automation, advanced AI, and programmability, enabling enterprises to connect, scale, secure, modernize and optimize their infrastructure. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-networkservices/latest/overview + released_version: 0.53.0 library_type_override: GAPIC_AUTO name_pretty_override: Network Services API product_documentation_override: https://cloud.google.com/products/networking - released_version: 0.53.0 - name: notebooks version: 1.95.0 apis: @@ -3693,20 +3693,20 @@ libraries: - path: google/iam/v1/iam_policy.proto java: api_description_override: is a managed service that offers an integrated and secure JupyterLab environment for data scientists and machine learning developers to experiment, develop, and deploy models into production. Users can create instances running JupyterLab that come pre-installed with the latest data science and machine learning frameworks in a single click. + released_version: 1.95.0 name_pretty_override: AI Platform Notebooks product_documentation_override: https://cloud.google.com/ai-platform-notebooks - released_version: 1.95.0 - name: optimization version: 1.95.0 apis: - path: google/cloud/optimization/v1 java: api_description_override: is a managed routing service that takes your list of orders, vehicles, constraints, and objectives and returns the most efficient plan for your entire fleet in near real-time. + released_version: 1.95.0 name_pretty_override: Cloud Fleet Routing product_documentation_override: https://cloud.google.com/optimization/docs rest_documentation: https://cloud.google.com/optimization/docs/reference/rest rpc_documentation: https://cloud.google.com/optimization/docs/reference/rpc - released_version: 1.95.0 - name: oracledatabase version: 0.46.0 apis: @@ -3718,10 +3718,10 @@ libraries: api_id_override: oracledatabase.googleapis.com api_description_override: The Oracle Database@Google Cloud API provides a set of APIs to manage Oracle database services, such as Exadata and Autonomous Databases. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/overview + released_version: 0.46.0 library_type_override: GAPIC_AUTO name_pretty_override: Oracle Database@Google Cloud API product_documentation_override: https://cloud.google.com/oracle/database/docs - released_version: 0.46.0 - name: orchestration-airflow version: 1.97.0 apis: @@ -3731,11 +3731,11 @@ libraries: api_id_override: composer.googleapis.com api_description_override: is a managed Apache Airflow service that helps you create, schedule, monitor and manage workflows. Cloud Composer automation helps you create Airflow environments quickly and use Airflow-native tools, such as the powerful Airflow web interface and command line tools, so you can focus on your workflows and not your infrastructure. api_shortname_override: orchestration-airflow + released_version: 1.97.0 name_pretty_override: Cloud Composer product_documentation_override: https://cloud.google.com/composer/docs rest_documentation: https://cloud.google.com/composer/docs/reference/rest rpc_documentation: https://cloud.google.com/composer/docs/reference/rpc - released_version: 1.97.0 - name: orgpolicy version: 2.97.0 apis: @@ -3749,9 +3749,9 @@ libraries: java: api_description_override: n/a client_documentation_override: https://cloud.google.com/java/docs/reference/proto-google-cloud-orgpolicy-v1/latest/overview + released_version: 2.97.0 name_pretty_override: Cloud Organization Policy product_documentation_override: n/a - released_version: 2.97.0 - name: os-config version: 2.99.0 apis: @@ -3761,10 +3761,10 @@ libraries: java: api_id_override: osconfig.googleapis.com api_description_override: provides OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances. + released_version: 2.99.0 name_pretty_override: OS Config API product_documentation_override: https://cloud.google.com/compute/docs/os-patch-management billing_not_required: true - released_version: 2.99.0 - name: os-login version: 2.96.0 apis: @@ -3838,9 +3838,9 @@ libraries: java: api_description_override: manages OS login configuration for Directory API users. issue_tracker_override: https://issuetracker.google.com/savedsearches/559755 + released_version: 2.96.0 name_pretty_override: Cloud OS Login product_documentation_override: https://cloud.google.com/compute/docs/oslogin/ - released_version: 2.96.0 - name: parallelstore version: 0.60.0 apis: @@ -3856,10 +3856,10 @@ libraries: api_id_override: parallelstore.googleapis.com api_description_override: 'Parallelstore is based on Intel DAOS and delivers up to 6.3x greater read throughput performance compared to competitive Lustre scratch offerings. ' client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-parallelstore/latest/overview + released_version: 0.60.0 library_type_override: GAPIC_AUTO name_pretty_override: Parallelstore API product_documentation_override: https://cloud/parallelstore?hl=en - released_version: 0.60.0 - name: parametermanager version: 0.41.0 apis: @@ -3871,20 +3871,20 @@ libraries: api_id_override: parametermanager.googleapis.com api_description_override: (Public Preview) Parameter Manager is a single source of truth to store, access and manage the lifecycle of your workload parameters. Parameter Manager aims to make management of sensitive application parameters effortless for customers without diminishing focus on security. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-parametermanager/latest/overview + released_version: 0.41.0 library_type_override: GAPIC_AUTO name_pretty_override: Parameter Manager API product_documentation_override: https://cloud.google.com/secret-manager/parameter-manager/docs/overview - released_version: 0.41.0 - name: phishingprotection version: 0.128.0 apis: - path: google/cloud/phishingprotection/v1beta1 java: api_description_override: helps prevent users from accessing phishing sites by identifying various signals associated with malicious content, including the use of your brand assets, classifying malicious content that uses your brand and reporting the unsafe URLs to Google Safe Browsing. Once a site is propagated to Safe Browsing, users will see warnings across more than 4 billion devices. + released_version: 0.128.0 name_pretty_override: Phishing Protection product_documentation_override: https://cloud.google.com/phishing-protection/docs/ billing_not_required: true - released_version: 0.128.0 - name: policy-troubleshooter version: 1.96.0 apis: @@ -3893,18 +3893,18 @@ libraries: java: api_id_override: policytroubleshooter.googleapis.com api_description_override: makes it easier to understand why a user has access to a resource or doesn't have permission to call an API. Given an email, resource, and permission, Policy Troubleshooter examines all Identity and Access Management (IAM) policies that apply to the resource. It then reveals whether the member's roles include the permission on that resource and, if so, which policies bind the member to those roles. + released_version: 1.96.0 name_pretty_override: IAM Policy Troubleshooter API product_documentation_override: https://cloud.google.com/iam/docs/troubleshooting-access - released_version: 1.96.0 - name: policysimulator version: 0.76.0 apis: - path: google/cloud/policysimulator/v1 java: api_description_override: Policy Simulator is a collection of endpoints for creating, running, and viewing a Replay. + released_version: 0.76.0 name_pretty_override: Policy Simulator API product_documentation_override: https://cloud.google.com/policysimulator/docs/overview - released_version: 0.76.0 - name: private-catalog version: 0.99.0 apis: @@ -3912,9 +3912,9 @@ libraries: java: api_id_override: privatecatalog.googleapis.com api_description_override: allows developers and cloud admins to make their solutions discoverable to their internal enterprise users. Cloud admins can manage their solutions and ensure their users are always launching the latest versions. + released_version: 0.99.0 name_pretty_override: Private Catalog product_documentation_override: https://cloud.google.com/private-catalog/docs - released_version: 0.99.0 - name: privilegedaccessmanager version: 0.51.0 apis: @@ -3926,11 +3926,11 @@ libraries: api_id_override: privilegedaccessmanager.googleapis.com api_description_override: Privileged Access Manager (PAM) helps you on your journey towards least privilege and helps mitigate risks tied to privileged access misuse orabuse. PAM allows you to shift from always-on standing privileges towards on-demand access with just-in-time, time-bound, and approval-based access elevations. PAM allows IAM administrators to create entitlements that can grant just-in-time, temporary access to any resource scope. Requesters can explore eligible entitlements and request the access needed for their task. Approvers are notified when approvals await their decision. Streamlined workflows facilitated by using PAM can support various use cases, including emergency access for incident responders, time-boxed access for developers for critical deployment or maintenance, temporary access for operators for data ingestion and audits, JIT access to service accounts for automated tasks, and more. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-privilegedaccessmanager/latest/overview + released_version: 0.51.0 library_type_override: GAPIC_AUTO name_pretty_override: Privileged Access Manager API product_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-privilegedaccessmanager/latest/overview rpc_documentation: https://cloud.google.com/iam/docs/reference/pam/rpc - released_version: 0.51.0 - name: productregistry version: 0.3.0 apis: @@ -3944,9 +3944,9 @@ libraries: java: api_id_override: cloudprofiler.googleapis.com api_description_override: is a statistical, low-overhead profiler that continuously gathers CPU usage and memory-allocation information from your production applications. It attributes that information to the application's source code, helping you identify the parts of the application consuming the most resources, and otherwise illuminating the performance characteristics of the code. + released_version: 2.97.0 name_pretty_override: Cloud Profiler product_documentation_override: https://cloud.google.com/profiler/docs - released_version: 2.97.0 - name: publicca version: 0.94.0 apis: @@ -3954,10 +3954,10 @@ libraries: - path: google/cloud/security/publicca/v1beta1 java: api_description_override: The Public Certificate Authority API may be used to create and manage ACME external account binding keys associated with Google Trust Services' publicly trusted certificate authority. + released_version: 0.94.0 name_pretty_override: Public Certificate Authority API product_documentation_override: https://cloud.google.com/certificate-manager/docs/public-ca rpc_documentation: https://cloud.google.com/certificate-manager/docs/reference/public-ca/rpc - released_version: 0.94.0 - name: pubsub version: 1.155.0 apis: @@ -5115,11 +5115,11 @@ libraries: client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/history codeowner_team: '@googleapis/pubsub-team' issue_tracker_override: https://issuetracker.google.com/savedsearches/559741 + released_version: 1.155.0 library_type_override: GAPIC_COMBO name_pretty_override: Cloud Pub/Sub product_documentation_override: https://cloud.google.com/pubsub/docs/ recommended_package: com.google.cloud.pubsub.v1 - released_version: 1.155.0 - name: rapidmigrationassessment version: 0.80.0 apis: @@ -5129,9 +5129,9 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: Rapid Migration Assessment API + released_version: 0.80.0 name_pretty_override: Rapid Migration Assessment API product_documentation_override: https://cloud.google.com/migration-center/docs - released_version: 0.80.0 - name: recaptchaenterprise version: 3.94.0 apis: @@ -5139,21 +5139,21 @@ libraries: - path: google/cloud/recaptchaenterprise/v1beta1 java: api_description_override: is a service that protects your site from spam and abuse. + released_version: 3.94.0 name_pretty_override: reCAPTCHA Enterprise product_documentation_override: https://cloud.google.com/recaptcha-enterprise/docs/ billing_not_required: true rest_documentation: https://cloud.google.com/recaptcha-enterprise/docs/reference/rest rpc_documentation: https://cloud.google.com/recaptcha-enterprise/docs/reference/rpc - released_version: 3.94.0 - name: recommendations-ai version: 0.104.0 apis: - path: google/cloud/recommendationengine/v1beta1 java: api_description_override: delivers highly personalized product recommendations at scale. + released_version: 0.104.0 name_pretty_override: Recommendations AI product_documentation_override: https://cloud.google.com/recommendations-ai/ - released_version: 0.104.0 - name: recommender version: 2.99.0 apis: @@ -5161,9 +5161,9 @@ libraries: - path: google/cloud/recommender/v1beta1 java: api_description_override: delivers highly personalized product recommendations at scale. + released_version: 2.99.0 name_pretty_override: Recommender product_documentation_override: https://cloud.google.com/recommendations/ - released_version: 2.99.0 - name: redis version: 2.100.0 apis: @@ -5175,9 +5175,9 @@ libraries: java: api_description_override: is a fully managed Redis service for the Google Cloud. Applications running on Google Cloud can achieve extreme performance by leveraging the highly scalable, available, secure Redis service without the burden of managing complex Redis deployments. issue_tracker_override: https://issuetracker.google.com/savedsearches/5169231 + released_version: 2.100.0 name_pretty_override: Cloud Redis product_documentation_override: https://cloud.google.com/memorystore/docs/redis/ - released_version: 2.100.0 - name: redis-cluster version: 0.69.0 apis: @@ -5192,9 +5192,9 @@ libraries: java: api_description_override: Creates and manages Redis instances on the Google Cloud Platform. api_shortname_override: redis-cluster + released_version: 0.69.0 name_pretty_override: Google Cloud Memorystore for Redis API product_documentation_override: https://cloud.google.com/memorystore/docs/cluster - released_version: 0.69.0 - name: resourcemanager version: 1.99.0 apis: @@ -5204,10 +5204,10 @@ libraries: java: api_description_override: enables you to programmatically manage resources by project, folder, and organization. issue_tracker_override: https://issuetracker.google.com/savedsearches/559757 + released_version: 1.99.0 name_pretty_override: Resource Manager API product_documentation_override: https://cloud.google.com/resource-manager billing_not_required: true - released_version: 1.99.0 - name: retail version: 2.99.0 apis: @@ -5225,9 +5225,9 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: Retail solutions API. + released_version: 2.99.0 name_pretty_override: Cloud Retail product_documentation_override: https://cloud.google.com/solutions/retail - released_version: 2.99.0 - name: run version: 0.97.0 apis: @@ -5237,11 +5237,11 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: is a managed compute platform that enables you to run containers that are invocable via requests or events. + released_version: 0.97.0 name_pretty_override: Cloud Run product_documentation_override: https://cloud.google.com/run/docs rest_documentation: https://cloud.google.com/run/docs/reference/rest rpc_documentation: https://cloud.google.com/run/docs/reference/rpc - released_version: 0.97.0 - name: saasservicemgmt version: 0.27.0 apis: @@ -5253,11 +5253,11 @@ libraries: api_id_override: saasservicemgmt.googleapis.com api_description_override: "Model, deploy, and operate your SaaS at scale.\t" client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-saasservicemgmt/latest/overview + released_version: 0.27.0 library_type_override: GAPIC_AUTO name_pretty_override: App Lifecycle Manager product_documentation_override: https://cloud.google.com/saas-runtime/docs/overview rpc_documentation: https://cloud.google.com/saas-runtime/docs/apis - released_version: 0.27.0 - name: scheduler version: 2.97.0 apis: @@ -5275,12 +5275,12 @@ libraries: java: api_description_override: lets you set up scheduled units of work to be executed at defined times or regular intervals. These work units are commonly known as cron jobs. Typical use cases might include sending out a report email on a daily basis, updating some cached data every 10 minutes, or updating some summary information once an hour. issue_tracker_override: https://issuetracker.google.com/savedsearches/5411429 + released_version: 2.97.0 name_pretty_override: Google Cloud Scheduler product_documentation_override: https://cloud.google.com/scheduler/docs billing_not_required: true rest_documentation: https://cloud.google.com/scheduler/docs/reference/rest rpc_documentation: https://cloud.google.com/scheduler/docs/reference/rpc - released_version: 2.97.0 - name: secretmanager version: 2.97.0 apis: @@ -5295,10 +5295,10 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: allows you to encrypt, store, manage, and audit infrastructure and application-level secrets. + released_version: 2.97.0 name_pretty_override: Secret Management product_documentation_override: https://cloud.google.com/solutions/secrets-management/ billing_not_required: true - released_version: 2.97.0 - name: securesourcemanager version: 0.67.0 apis: @@ -5311,9 +5311,9 @@ libraries: api_description_override: |- Regionally deployed, single-tenant managed source code repository hosted on Google Cloud. + released_version: 0.67.0 name_pretty_override: Secure Source Manager API product_documentation_override: https://cloud.google.com/secure-source-manager/docs/overview - released_version: 0.67.0 - name: security-private-ca version: 2.99.0 apis: @@ -5326,11 +5326,11 @@ libraries: java: api_id_override: privateca.googleapis.com api_description_override: simplifies the deployment and management of private CAs without managing infrastructure. + released_version: 2.99.0 name_pretty_override: Certificate Authority Service product_documentation_override: https://cloud.google.com/certificate-authority-service/docs rest_documentation: https://cloud.google.com/certificate-authority-service/docs/reference/rest rpc_documentation: https://cloud.google.com/certificate-authority-service/docs/reference/rpc - released_version: 2.99.0 - name: securitycenter version: 2.105.0 apis: @@ -5347,11 +5347,11 @@ libraries: java: api_description_override: makes it easier for you to prevent, detect, and respond to threats. Identify security misconfigurations in virtual machines, networks, applications, and storage buckets from a centralized dashboard. Take action on them before they can potentially result in business damage or loss. Built-in capabilities can quickly surface suspicious activity in your Stackdriver security logs or indicate compromised virtual machines. Respond to threats by following actionable recommendations or exporting logs to your SIEM for further investigation. issue_tracker_override: https://issuetracker.google.com/savedsearches/559748 + released_version: 2.105.0 name_pretty_override: Security Command Center product_documentation_override: https://cloud.google.com/security-command-center billing_not_required: true rest_documentation: https://cloud.google.com/security-command-center/docs/reference/rest - released_version: 2.105.0 - name: securitycenter-settings version: 0.100.0 apis: @@ -5359,11 +5359,11 @@ libraries: java: api_id_override: securitycenter-settings.googleapis.com api_description_override: is the canonical security and data risk database for Google Cloud. Security Command Center enables you to understand your security and data attack surface by providing asset inventory, discovery, search, and management. + released_version: 0.100.0 name_pretty_override: Security Command Center Settings API product_documentation_override: https://cloud.google.com/security-command-center/ billing_not_required: true rest_documentation: https://cloud.google.com/security-command-center/docs/reference/rest - released_version: 0.100.0 - name: securitycentermanagement version: 0.65.0 apis: @@ -5373,9 +5373,9 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: Security Center Management API + released_version: 0.65.0 name_pretty_override: Security Center Management API product_documentation_override: https://cloud.google.com/securitycentermanagement/docs/overview - released_version: 0.65.0 - name: securityposture version: 0.62.0 apis: @@ -5385,9 +5385,9 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: Security Posture is a comprehensive framework of policy sets that empowers organizations to define, assess early, deploy, and monitor their security measures in a unified way and helps simplify governance and reduces administrative toil. + released_version: 0.62.0 name_pretty_override: Security Posture API product_documentation_override: https://cloud.google.com/security-command-center/docs/security-posture-overview - released_version: 0.62.0 - name: service-control version: 1.97.0 apis: @@ -5395,9 +5395,9 @@ libraries: - path: google/api/servicecontrol/v1 java: api_description_override: ' is a foundational platform for creating, managing, securing, and consuming APIs and services across organizations. It is used by Google APIs, Cloud APIs, Cloud Endpoints, and API Gateway.' + released_version: 1.97.0 name_pretty_override: Service Control API product_documentation_override: https://cloud.google.com/service-infrastructure/docs/overview/ - released_version: 1.97.0 - name: service-management version: 3.95.0 apis: @@ -5410,9 +5410,9 @@ libraries: java: api_id_override: servicemanagement.googleapis.com api_description_override: is a foundational platform for creating, managing, securing, and consuming APIs and services across organizations. It is used by Google APIs, Cloud APIs, Cloud Endpoints, and API Gateway. Service Infrastructure provides a wide range of features to service consumers and service producers, including authentication, authorization, auditing, rate limiting, analytics, billing, logging, and monitoring. + released_version: 3.95.0 name_pretty_override: Service Management API product_documentation_override: https://cloud.google.com/service-infrastructure/docs/overview/ - released_version: 3.95.0 - name: service-usage version: 2.97.0 apis: @@ -5420,9 +5420,9 @@ libraries: - path: google/api/serviceusage/v1beta1 java: api_description_override: is an infrastructure service of Google Cloud that lets you list and manage other APIs and services in your Cloud projects. + released_version: 2.97.0 name_pretty_override: Service Usage product_documentation_override: https://cloud.google.com/service-usage/docs/overview - released_version: 2.97.0 - name: servicedirectory version: 2.98.0 apis: @@ -5436,12 +5436,12 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: allows the registration and lookup of service endpoints. + released_version: 2.98.0 name_pretty_override: Service Directory product_documentation_override: https://cloud.google.com/service-directory/ billing_not_required: true rest_documentation: https://cloud.google.com/service-directory/docs/reference/rest rpc_documentation: https://cloud.google.com/service-directory/docs/reference/rpc - released_version: 2.98.0 - name: servicehealth version: 0.64.0 apis: @@ -5451,10 +5451,10 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: Personalized Service Health helps you gain visibility into disruptive events impacting Google Cloud products. + released_version: 0.64.0 name_pretty_override: Service Health API product_documentation_override: https://cloud.google.com/service-health/docs/overview rpc_documentation: https://cloud.google.com/service-health/docs/reference/rpc - released_version: 0.64.0 - name: shell version: 2.96.0 apis: @@ -5462,11 +5462,11 @@ libraries: java: api_description_override: is an interactive shell environment for Google Cloud that makes it easy for you to learn and experiment with Google Cloud and manage your projects and resources from your web browser. codeowner_team: '@googleapis/aap-dpes' + released_version: 2.96.0 name_pretty_override: Cloud Shell product_documentation_override: https://cloud.google.com/shell/docs rest_documentation: https://cloud.google.com/shell/docs/reference/rest rpc_documentation: https://cloud.google.com/shell/docs/reference/rpc - released_version: 2.96.0 - name: shopping-css version: 0.65.0 apis: @@ -5474,9 +5474,9 @@ libraries: java: api_description_override: The CSS API is used to manage your CSS and control your CSS Products portfolio artifact_id: google-shopping-css + released_version: 0.65.0 name_pretty_override: CSS API product_documentation_override: https://developers.google.com/comparison-shopping-services/api - released_version: 0.65.0 - name: shopping-merchant-accounts version: 1.25.0 apis: @@ -5487,10 +5487,10 @@ libraries: api_description_override: Programmatically manage your Merchant Center accounts. artifact_id: google-shopping-merchant-accounts client_documentation_override: https://cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/overview + released_version: 1.25.0 library_type_override: GAPIC_AUTO name_pretty_override: Merchant API product_documentation_override: https://developers.google.com/merchant/api - released_version: 1.25.0 - name: shopping-merchant-conversions version: 1.25.0 apis: @@ -5502,10 +5502,10 @@ libraries: api_shortname_override: shopping-merchant-conversions artifact_id: google-shopping-merchant-conversions client_documentation_override: https://cloud.google.com/java/docs/reference/google-shopping-merchant-conversions/latest/overview + released_version: 1.25.0 library_type_override: GAPIC_AUTO name_pretty_override: Merchant Conversions API product_documentation_override: https://developers.google.com/merchant/api - released_version: 1.25.0 - name: shopping-merchant-datasources version: 1.25.0 apis: @@ -5516,10 +5516,10 @@ libraries: api_description_override: Programmatically manage your Merchant Center accounts. artifact_id: google-shopping-merchant-datasources client_documentation_override: https://cloud.google.com/java/docs/reference/google-shopping-merchant-datasources/latest/overview + released_version: 1.25.0 library_type_override: GAPIC_AUTO name_pretty_override: Merchant API product_documentation_override: https://developers.google.com/merchant/api - released_version: 1.25.0 - name: shopping-merchant-inventories version: 1.25.0 apis: @@ -5528,9 +5528,9 @@ libraries: java: api_description_override: Programmatically manage your Merchant Center accounts. artifact_id: google-shopping-merchant-inventories + released_version: 1.25.0 name_pretty_override: Merchant API product_documentation_override: https://developers.google.com/merchant/api - released_version: 1.25.0 - name: shopping-merchant-lfp version: 1.25.0 apis: @@ -5542,10 +5542,10 @@ libraries: api_shortname_override: shopping-merchant-lfp artifact_id: google-shopping-merchant-lfp client_documentation_override: https://cloud.google.com/java/docs/reference/google-shopping-merchant-lfp/latest/overview + released_version: 1.25.0 library_type_override: GAPIC_AUTO name_pretty_override: Merchant LFP API product_documentation_override: https://developers.google.com/merchant/api - released_version: 1.25.0 - name: shopping-merchant-loyaltycustomers version: 0.1.0 apis: @@ -5565,10 +5565,10 @@ libraries: api_shortname_override: shopping-merchant-notifications artifact_id: google-shopping-merchant-notifications client_documentation_override: https://cloud.google.com/java/docs/reference/google-shopping-merchant-notifications/latest/overview + released_version: 1.25.0 library_type_override: GAPIC_AUTO name_pretty_override: Merchant Notifications API product_documentation_override: https://developers.google.com/merchant/api - released_version: 1.25.0 - name: shopping-merchant-product-studio version: 0.37.0 apis: @@ -5578,10 +5578,10 @@ libraries: api_description_override: Programmatically manage your products. artifact_id: google-shopping-merchant-productstudio client_documentation_override: https://cloud.google.com/java/docs/reference/google-shopping-merchant-productstudio/latest/overview + released_version: 0.37.0 library_type_override: GAPIC_AUTO name_pretty_override: Merchant API product_documentation_override: https://developers.google.com/merchant/api - released_version: 0.37.0 - name: shopping-merchant-products version: 1.25.0 apis: @@ -5592,10 +5592,10 @@ libraries: api_description_override: Programmatically manage your Merchant Center accounts. artifact_id: google-shopping-merchant-products client_documentation_override: https://cloud.google.com/java/docs/reference/google-shopping-merchant-products/latest/overview + released_version: 1.25.0 library_type_override: GAPIC_AUTO name_pretty_override: Merchant API product_documentation_override: https://developers.google.com/merchant/api - released_version: 1.25.0 - name: shopping-merchant-promotions version: 1.25.0 apis: @@ -5606,10 +5606,10 @@ libraries: api_description_override: Programmatically manage your Merchant Center accounts. artifact_id: google-shopping-merchant-promotions client_documentation_override: https://cloud.google.com/java/docs/reference/google-shopping-merchant-promotions/latest/overview + released_version: 1.25.0 library_type_override: GAPIC_AUTO name_pretty_override: Merchant API product_documentation_override: https://developers.google.com/merchant/api - released_version: 1.25.0 - name: shopping-merchant-quota version: 1.25.0 apis: @@ -5621,10 +5621,10 @@ libraries: api_shortname_override: shopping-merchant-quota artifact_id: google-shopping-merchant-quota client_documentation_override: https://cloud.google.com/java/docs/reference/google-shopping-merchant-quota/latest/overview + released_version: 1.25.0 library_type_override: GAPIC_AUTO name_pretty_override: Merchant Quota API product_documentation_override: https://developers.google.com/merchant/api - released_version: 1.25.0 - name: shopping-merchant-reports version: 1.25.0 apis: @@ -5634,9 +5634,9 @@ libraries: java: api_description_override: Programmatically manage your Merchant Center accounts. artifact_id: google-shopping-merchant-reports + released_version: 1.25.0 name_pretty_override: Merchant API product_documentation_override: https://developers.google.com/merchant/api - released_version: 1.25.0 - name: shopping-merchant-reviews version: 0.43.0 apis: @@ -5645,10 +5645,10 @@ libraries: api_description_override: Programmatically manage your Merchant Center Accounts. artifact_id: google-shopping-merchant-reviews client_documentation_override: https://cloud.google.com/java/docs/reference/google-shopping-merchant-reviews/latest/overview + released_version: 0.43.0 library_type_override: GAPIC_AUTO name_pretty_override: Merchant API product_documentation_override: https://developers.google.com/merchant/api - released_version: 0.43.0 - name: showcase version: 0.0.1-SNAPSHOT apis: @@ -5711,13 +5711,13 @@ libraries: - google-cloud-spanner-bom - google-cloud-spanner issue_tracker_override: https://issuetracker.google.com/issues?q=componentid:190851%2B%20status:open + released_version: 6.122.0 library_type_override: GAPIC_COMBO min_java_version: 8 name_pretty_override: Cloud Spanner product_documentation_override: https://cloud.google.com/spanner/docs/ recommended_package: com.google.cloud.spanner transport_override: grpc - released_version: 6.122.0 - name: spanneradapter version: 0.33.0 apis: @@ -5727,10 +5727,10 @@ libraries: api_description_override: The Cloud Spanner Adapter service allows native drivers of supported database dialects to interact directly with Cloud Spanner by wrapping the underlying wire protocol used by the driver in a gRPC stream. api_shortname_override: spanneradapter client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-spanneradapter/latest/overview + released_version: 0.33.0 library_type_override: GAPIC_AUTO name_pretty_override: Cloud Spanner Adapter API product_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-spanneradapter/latest/overview - released_version: 0.33.0 - name: speech version: 4.92.0 apis: @@ -5748,12 +5748,12 @@ libraries: java: api_description_override: enables easy integration of Google speech recognition technologies into developer applications. Send audio and receive a text transcription from the Speech-to-Text API service. issue_tracker_override: https://issuetracker.google.com/savedsearches/559758 + released_version: 4.92.0 name_pretty_override: Cloud Speech product_documentation_override: https://cloud.google.com/speech-to-text/docs/ billing_not_required: true rest_documentation: https://cloud.google.com/speech-to-text/docs/reference/rest rpc_documentation: https://cloud.google.com/speech-to-text/docs/reference/rpc - released_version: 4.92.0 - name: sql version: 0.3.0 apis: @@ -5802,21 +5802,21 @@ libraries: - google-cloud-storage extra_versioned_modules: gapic-google-cloud-storage-v2 issue_tracker_override: https://issuetracker.google.com/savedsearches/559782 + released_version: 2.73.0 library_type_override: GAPIC_COMBO name_pretty_override: Cloud Storage product_documentation_override: https://cloud.google.com/storage recommended_package: com.google.cloud.storage transport_override: rest - released_version: 2.73.0 - name: storage-transfer version: 1.97.0 apis: - path: google/storagetransfer/v1 java: api_description_override: Secure, low-cost services for transferring data from cloud or on-premises sources. + released_version: 1.97.0 name_pretty_override: Storage Transfer Service product_documentation_override: https://cloud.google.com/storage-transfer-service - released_version: 1.97.0 - name: storagebatchoperations version: 0.37.0 apis: @@ -5828,10 +5828,10 @@ libraries: api_id_override: storagebatchoperations.googleapis.com api_description_override: Storage batch operations is a Cloud Storage management feature that performs operations on billions of Cloud Storage objects in a serverless manner. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-storagebatchoperations/latest/overview + released_version: 0.37.0 library_type_override: GAPIC_AUTO name_pretty_override: Storage Batch Operations API product_documentation_override: https://cloud.google.com/storage/docs/batch-operations/overview - released_version: 0.37.0 - name: storageinsights version: 0.82.0 apis: @@ -5841,9 +5841,9 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: Provides insights capability on Google Cloud Storage + released_version: 0.82.0 name_pretty_override: Storage Insights API product_documentation_override: https://cloud.google.com/storage/docs/insights/storage-insights/ - released_version: 0.82.0 - name: talent version: 2.98.0 apis: @@ -5852,9 +5852,9 @@ libraries: java: api_description_override: allows you to transform your job search and candidate matching capabilities with Cloud Talent Solution, designed to support enterprise talent acquisition technology and evolve with your growing needs. This AI solution includes features such as Job Search and Profile Search (Beta) to provide candidates and employers with an enhanced talent acquisition experience. Learn more about Cloud Talent Solution from the product overview page. issue_tracker_override: https://issuetracker.google.com/savedsearches/559664 + released_version: 2.98.0 name_pretty_override: Talent Solution product_documentation_override: https://cloud.google.com/solutions/talent-solution/ - released_version: 2.98.0 - name: tasks version: 2.97.0 apis: @@ -5965,11 +5965,11 @@ libraries: api_description_override: a fully managed service that allows you to manage the execution, dispatch and delivery of a large number of distributed tasks. You can asynchronously perform work outside of a user request. Your tasks can be executed on App Engine or any arbitrary HTTP endpoint. codeowner_team: '@googleapis/aap-dpes' issue_tracker_override: https://issuetracker.google.com/savedsearches/5433985 + released_version: 2.97.0 name_pretty_override: Cloud Tasks product_documentation_override: https://cloud.google.com/tasks/docs/ rest_documentation: https://cloud.google.com/tasks/docs/reference/rest rpc_documentation: https://cloud.google.com/tasks/docs/reference/rpc - released_version: 2.97.0 - name: telcoautomation version: 0.67.0 apis: @@ -5983,9 +5983,9 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: APIs to automate 5G deployment and management of cloud infrastructure and network functions. + released_version: 0.67.0 name_pretty_override: Telco Automation API product_documentation_override: https://cloud.google.com/telecom-network-automation - released_version: 0.67.0 - name: texttospeech version: 2.98.0 apis: @@ -5997,12 +5997,12 @@ libraries: java: api_description_override: enables easy integration of Google text recognition technologies into developer applications. Send text and receive synthesized audio output from the Cloud Text-to-Speech API service. issue_tracker_override: https://issuetracker.google.com/savedsearches/5235428 + released_version: 2.98.0 name_pretty_override: Cloud Text-to-Speech product_documentation_override: https://cloud.google.com/text-to-speech billing_not_required: true rest_documentation: https://cloud.google.com/text-to-speech/docs/reference/rest rpc_documentation: https://cloud.google.com/text-to-speech/docs/reference/rpc - released_version: 2.98.0 - name: tpu version: 2.98.0 apis: @@ -6020,10 +6020,10 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: are Google's custom-developed application-specific integrated circuits (ASICs) used to accelerate machine learning workloads. + released_version: 2.98.0 name_pretty_override: Cloud TPU product_documentation_override: https://cloud.google.com/tpu/docs rest_documentation: https://cloud.google.com/tpu/docs/reference/rest - released_version: 2.98.0 - name: trace version: 2.97.0 apis: @@ -6034,10 +6034,10 @@ libraries: - google-cloud-trace/src/test/java/com/google/cloud/trace/v2/VPCServiceControlTest.java java: api_description_override: is a distributed tracing system that collects latency data from your applications and displays it in the Google Cloud Platform Console. You can track how requests propagate through your application and receive detailed near real-time performance insights. + released_version: 2.97.0 name_pretty_override: Stackdriver Trace product_documentation_override: https://cloud.google.com/trace/docs/ billing_not_required: true - released_version: 2.97.0 - name: translate version: 2.97.0 apis: @@ -6047,11 +6047,11 @@ libraries: api_id_override: translate.googleapis.com api_description_override: can dynamically translate text between thousands of language pairs. Translation lets websites and programs programmatically integrate with the translation service. issue_tracker_override: https://issuetracker.google.com/savedsearches/559749 + released_version: 2.97.0 name_pretty_override: Cloud Translation product_documentation_override: https://cloud.google.com/translate/docs/ rest_documentation: https://cloud.google.com/translate/docs/reference/rest rpc_documentation: https://cloud.google.com/translate/docs/reference/rpc - released_version: 2.97.0 - name: valkey version: 0.43.0 apis: @@ -6067,11 +6067,11 @@ libraries: api_id_override: memorystore.googleapis.com api_description_override: Memorystore for Valkey is a fully managed Valkey Cluster service for Google Cloud. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-memorystore/latest/overview + released_version: 0.43.0 library_type_override: GAPIC_AUTO name_pretty_override: Memorystore API product_documentation_override: https://cloud.google.com/memorystore/docs/valkey rest_documentation: https://cloud.google.com/memorystore/docs/valkey/reference/rest - released_version: 0.43.0 - name: vectorsearch version: 0.19.0 apis: @@ -6087,10 +6087,10 @@ libraries: api_id_override: vectorsearch.googleapis.com api_description_override: The Vector Search API provides a fully-managed, highly performant, and scalable vector database designed to power next-generation search, recommendation, and generative AI applications. It allows you to store, index, and query your data and its corresponding vector embeddings through a simple, intuitive interface. With Vector Search, you can define custom schemas for your data, insert objects with associated metadata, automatically generate embeddings from your data, and perform fast approximate nearest neighbor (ANN) searches to find semantically similar items at scale. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-vectorsearch/latest/overview + released_version: 0.19.0 library_type_override: GAPIC_AUTO name_pretty_override: Vector Search API product_documentation_override: https://docs.cloud.google.com/vertex-ai/docs/vector-search/overview - released_version: 0.19.0 - name: video-intelligence version: 2.96.0 apis: @@ -6102,11 +6102,11 @@ libraries: java: api_description_override: allows developers to use Google video analysis technology as part of their applications. issue_tracker_override: https://issuetracker.google.com/savedsearches/5084810 + released_version: 2.96.0 name_pretty_override: Cloud Video Intelligence product_documentation_override: https://cloud.google.com/video-intelligence/docs/ rest_documentation: https://cloud.google.com/video-intelligence/docs/reference/rest rpc_documentation: https://cloud.google.com/video-intelligence/docs/reference/rpc - released_version: 2.96.0 - name: video-live-stream version: 0.99.0 apis: @@ -6117,18 +6117,18 @@ libraries: java: api_description_override: transcodes mezzanine live signals into direct-to-consumer streaming formats, including Dynamic Adaptive Streaming over HTTP (DASH/MPEG-DASH), and HTTP Live Streaming (HLS), for multiple device platforms. artifact_id: google-cloud-live-stream + released_version: 0.99.0 name_pretty_override: Live Stream API product_documentation_override: https://cloud.google.com/livestream/ - released_version: 0.99.0 - name: video-stitcher version: 0.97.0 apis: - path: google/cloud/video/stitcher/v1 java: api_description_override: allows you to manipulate video content to dynamically insert ads prior to delivery to client devices. + released_version: 0.97.0 name_pretty_override: Video Stitcher API product_documentation_override: https://cloud.google.com/video-stitcher/ - released_version: 0.97.0 - name: video-transcoder version: 1.96.0 apis: @@ -6136,11 +6136,11 @@ libraries: java: api_id_override: transcoder.googleapis.com api_description_override: allows you to transcode videos into a variety of formats. The Transcoder API benefits broadcasters, production companies, businesses, and individuals looking to transform their video content for use across a variety of user devices. + released_version: 1.96.0 name_pretty_override: Video Transcoder product_documentation_override: https://cloud.google.com/transcoder/docs rest_documentation: https://cloud.google.com/transcoder/docs/reference/rest rpc_documentation: https://cloud.google.com/transcoder/docs/reference/rpc - released_version: 1.96.0 - name: vision version: 3.95.0 apis: @@ -6162,11 +6162,11 @@ libraries: java: api_description_override: allows developers to easily integrate vision detection features within applications, including image labeling, face and landmark detection, optical character recognition (OCR), and tagging of explicit content. issue_tracker_override: https://issuetracker.google.com/issues?q=status:open%20componentid:187174 + released_version: 3.95.0 name_pretty_override: Cloud Vision product_documentation_override: https://cloud.google.com/vision/docs/ rest_documentation: https://cloud.google.com/vision/docs/reference/rest rpc_documentation: https://cloud.google.com/vision/docs/reference/rpc - released_version: 3.95.0 - name: visionai version: 0.54.0 apis: @@ -6179,11 +6179,11 @@ libraries: api_id_override: visionai.googleapis.com api_description_override: Vertex AI Vision is an AI-powered platform to ingest, analyze and store video data. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-visionai/latest/overview + released_version: 0.54.0 library_type_override: GAPIC_AUTO name_pretty_override: Vision AI API product_documentation_override: https://cloud.google.com/vision-ai/docs rpc_documentation: https://cloud.google.com/vision-ai/docs/reference/rpc - released_version: 0.54.0 - name: vmmigration version: 1.97.0 apis: @@ -6194,9 +6194,9 @@ libraries: - path: google/iam/v1/iam_policy.proto java: api_description_override: helps customers migrating VMs to GCP at no additional cost, as well as an extensive ecosystem of partners to help with discovery and assessment, planning, migration, special use cases, and more. + released_version: 1.97.0 name_pretty_override: VM Migration product_documentation_override: n/a - released_version: 1.97.0 - name: vmwareengine version: 0.91.0 apis: @@ -6207,10 +6207,10 @@ libraries: - path: google/iam/v1/iam_policy.proto java: api_description_override: Easily lift and shift your VMware-based applications to Google Cloud without changes to your apps, tools, or processes. + released_version: 0.91.0 name_pretty_override: Google Cloud VMware Engine product_documentation_override: https://cloud.google.com/vmware-engine/ rest_documentation: https://cloud.google.com/vmware-engine/docs/reference/rest - released_version: 0.91.0 - name: vpcaccess version: 2.98.0 apis: @@ -6220,9 +6220,9 @@ libraries: - path: google/cloud/location/locations.proto java: api_description_override: enables you to connect from a serverless environment on Google Cloud directly to your VPC network. This connection makes it possible for your serverless environment to access resources in your VPC network via internal IP addresses. + released_version: 2.98.0 name_pretty_override: Serverless VPC Access product_documentation_override: https://cloud.google.com/vpc/docs/serverless-vpc-access - released_version: 2.98.0 - name: webrisk version: 2.96.0 apis: @@ -6230,12 +6230,12 @@ libraries: - path: google/cloud/webrisk/v1beta1 java: api_description_override: is a Google Cloud service that lets client applications check URLs against Google's constantly updated lists of unsafe web resources. Unsafe web resources include social engineering sites - such as phishing and deceptive sites - and sites that host malware or unwanted software. With the Web Risk API, you can quickly identify known bad sites, warn users before they click infected links, and prevent users from posting links to known infected pages from your site. The Web Risk API includes data on more than a million unsafe URLs and stays up to date by examining billions of URLs each day. + released_version: 2.96.0 name_pretty_override: Web Risk product_documentation_override: https://cloud.google.com/web-risk/docs/ billing_not_required: true rest_documentation: https://cloud.google.com/web-risk/docs/reference/rest rpc_documentation: https://cloud.google.com/web-risk/docs/reference/rpc - released_version: 2.96.0 - name: websecurityscanner version: 2.97.0 apis: @@ -6248,10 +6248,10 @@ libraries: java: api_description_override: identifies security vulnerabilities in your App Engine, Compute Engine, and Google Kubernetes Engine web applications. It crawls your application, following all links within the scope of your starting URLs, and attempts to exercise as many user inputs and event handlers as possible. issue_tracker_override: https://issuetracker.google.com/savedsearches/559748 + released_version: 2.97.0 name_pretty_override: Cloud Security Scanner product_documentation_override: https://cloud.google.com/security-scanner/docs/ billing_not_required: true - released_version: 2.97.0 - name: workflow-executions version: 2.97.0 apis: @@ -6260,10 +6260,10 @@ libraries: java: api_description_override: allows you to ochestrate and automate Google Cloud and HTTP-based API services with serverless workflows. codeowner_team: '@googleapis/aap-dpes' + released_version: 2.97.0 name_pretty_override: Cloud Workflow Executions product_documentation_override: https://cloud.google.com/workflows rest_documentation: https://cloud.google.com/workflows/docs/reference/rest - released_version: 2.97.0 - name: workflows version: 2.97.0 apis: @@ -6278,10 +6278,10 @@ libraries: java: api_description_override: allows you to ochestrate and automate Google Cloud and HTTP-based API services with serverless workflows. codeowner_team: '@googleapis/aap-dpes' + released_version: 2.97.0 name_pretty_override: Cloud Workflows product_documentation_override: https://cloud.google.com/workflows rest_documentation: https://cloud.google.com/workflows/docs/reference/rest - released_version: 2.97.0 - name: workloadidentity version: 0.2.0 apis: @@ -6302,11 +6302,11 @@ libraries: api_id_override: workloadmanager.googleapis.com api_description_override: Workload Manager is a service that provides tooling for enterprise workloads to automate the deployment and validation of your workloads against best practices and recommendations. client_documentation_override: https://cloud.google.com/java/docs/reference/google-cloud-workloadmanager/latest/overview + released_version: 0.13.0 library_type_override: GAPIC_AUTO name_pretty_override: Workload Manager API product_documentation_override: https://docs.cloud.google.com/workload-manager/docs rpc_documentation: https://docs.cloud.google.com/workload-manager/docs/reference/rest - released_version: 0.13.0 - name: workspaceevents version: 0.61.0 apis: @@ -6314,10 +6314,10 @@ libraries: - path: google/apps/events/subscriptions/v1beta java: api_description_override: The Google Workspace Events API lets you subscribe to events and manage change notifications across Google Workspace applications. + released_version: 0.61.0 name_pretty_override: Google Workspace Events API product_documentation_override: https://developers.google.com/workspace/events rest_documentation: https://developers.google.com/workspace/events/reference/rest - released_version: 0.61.0 - name: workstations version: 0.85.0 apis: @@ -6333,8 +6333,8 @@ libraries: - path: google/iam/v1/iam_policy.proto java: api_description_override: Fully managed development environments built to meet the needs of security-sensitive enterprises. It enhances the security of development environments while accelerating developer onboarding and productivity. + released_version: 0.85.0 name_pretty_override: Cloud Workstations product_documentation_override: https://cloud.google.com/workstations rest_documentation: https://cloud.google.com/workstations/docs/reference/rest rpc_documentation: https://cloud.google.com/workstations/docs/reference/rpc - released_version: 0.85.0